pulumi-azuredevops 3.6.0a1737523387__py3-none-any.whl → 3.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_azuredevops/__init__.py +76 -0
- pulumi_azuredevops/_inputs.py +120 -117
- pulumi_azuredevops/_utilities.py +8 -4
- pulumi_azuredevops/area_permissions.py +49 -49
- pulumi_azuredevops/branch_policy_auto_reviewers.py +7 -7
- pulumi_azuredevops/branch_policy_build_validation.py +7 -7
- pulumi_azuredevops/branch_policy_comment_resolution.py +7 -7
- pulumi_azuredevops/branch_policy_merge_types.py +7 -7
- pulumi_azuredevops/branch_policy_status_check.py +7 -7
- pulumi_azuredevops/branch_policy_work_item_linking.py +7 -7
- pulumi_azuredevops/build_definition.py +7 -7
- pulumi_azuredevops/check_branch_control.py +7 -7
- pulumi_azuredevops/check_business_hours.py +7 -7
- pulumi_azuredevops/check_exclusive_lock.py +7 -7
- pulumi_azuredevops/check_rest_api.py +986 -0
- pulumi_azuredevops/dashboard.py +475 -0
- pulumi_azuredevops/feed.py +8 -8
- pulumi_azuredevops/feed_permission.py +9 -9
- pulumi_azuredevops/feed_retention_policy.py +400 -0
- pulumi_azuredevops/get_agent_queue.py +2 -2
- pulumi_azuredevops/get_area.py +1 -1
- pulumi_azuredevops/get_client_config.py +3 -0
- pulumi_azuredevops/get_descriptor.py +133 -0
- pulumi_azuredevops/get_feed.py +4 -4
- pulumi_azuredevops/get_git_repository.py +8 -8
- pulumi_azuredevops/get_group.py +4 -4
- pulumi_azuredevops/get_groups.py +3 -3
- pulumi_azuredevops/get_identity_group.py +23 -6
- pulumi_azuredevops/get_identity_groups.py +3 -3
- pulumi_azuredevops/get_identity_users.py +23 -9
- pulumi_azuredevops/get_pool.py +14 -2
- pulumi_azuredevops/get_pools.py +3 -3
- pulumi_azuredevops/get_project.py +32 -0
- pulumi_azuredevops/get_projects.py +4 -4
- pulumi_azuredevops/get_repositories.py +7 -3
- pulumi_azuredevops/get_securityrole_definitions.py +4 -4
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +5 -5
- pulumi_azuredevops/get_service_endpoint_github.py +6 -6
- pulumi_azuredevops/get_service_principal.py +153 -0
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +6 -6
- pulumi_azuredevops/get_serviceendpoint_npm.py +3 -3
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +2 -2
- pulumi_azuredevops/get_storage_key.py +133 -0
- pulumi_azuredevops/get_team.py +4 -3
- pulumi_azuredevops/get_teams.py +2 -3
- pulumi_azuredevops/get_user.py +193 -0
- pulumi_azuredevops/get_users.py +5 -9
- pulumi_azuredevops/git.py +7 -7
- pulumi_azuredevops/git_permissions.py +14 -21
- pulumi_azuredevops/git_repository_file.py +7 -14
- pulumi_azuredevops/group.py +21 -7
- pulumi_azuredevops/group_entitlement.py +16 -20
- pulumi_azuredevops/group_membership.py +35 -50
- pulumi_azuredevops/iterative_permissions.py +34 -34
- pulumi_azuredevops/library_permissions.py +75 -75
- pulumi_azuredevops/outputs.py +141 -103
- pulumi_azuredevops/pipeline_authorization.py +7 -7
- pulumi_azuredevops/pool.py +4 -4
- pulumi_azuredevops/project.py +114 -63
- pulumi_azuredevops/project_features.py +87 -45
- pulumi_azuredevops/project_permissions.py +7 -7
- pulumi_azuredevops/project_pipeline_settings.py +28 -35
- pulumi_azuredevops/project_tags.py +263 -0
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +7 -14
- pulumi_azuredevops/repository_policy_author_email_pattern.py +21 -14
- pulumi_azuredevops/repository_policy_max_file_size.py +7 -7
- pulumi_azuredevops/resource_authorization.py +35 -35
- pulumi_azuredevops/service_endpoint_artifactory.py +25 -33
- pulumi_azuredevops/service_endpoint_aws.py +3 -17
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -15
- pulumi_azuredevops/service_endpoint_azure_ecr.py +14 -30
- pulumi_azuredevops/service_endpoint_azure_rm.py +26 -40
- pulumi_azuredevops/service_endpoint_bit_bucket.py +3 -17
- pulumi_azuredevops/service_endpoint_docker_registry.py +3 -17
- pulumi_azuredevops/service_endpoint_generic.py +3 -17
- pulumi_azuredevops/service_endpoint_generic_git.py +5 -23
- pulumi_azuredevops/service_endpoint_git_hub.py +16 -17
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +16 -17
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -15
- pulumi_azuredevops/service_endpoint_kubernetes.py +24 -38
- pulumi_azuredevops/service_endpoint_npm.py +5 -19
- pulumi_azuredevops/service_endpoint_pipeline.py +5 -19
- pulumi_azuredevops/service_endpoint_service_fabric.py +49 -24
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +12 -26
- pulumi_azuredevops/service_endpoint_sonar_qube.py +12 -26
- pulumi_azuredevops/service_endpoint_ssh.py +3 -21
- pulumi_azuredevops/service_principal_entitlement.py +386 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +3 -17
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +3 -17
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +613 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +561 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +660 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +3 -17
- pulumi_azuredevops/serviceendpoint_externaltfs.py +64 -26
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +3 -17
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +3 -17
- pulumi_azuredevops/serviceendpoint_jenkins.py +3 -17
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +19 -33
- pulumi_azuredevops/serviceendpoint_maven.py +3 -17
- pulumi_azuredevops/serviceendpoint_nexus.py +3 -17
- pulumi_azuredevops/serviceendpoint_nuget.py +3 -17
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +3 -17
- pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
- pulumi_azuredevops/serviceendpoint_snyk.py +3 -17
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +5 -21
- pulumi_azuredevops/servicehook_permissions.py +51 -51
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +4 -4
- pulumi_azuredevops/tagging_permissions.py +49 -49
- pulumi_azuredevops/team.py +76 -56
- pulumi_azuredevops/team_administrators.py +83 -56
- pulumi_azuredevops/team_members.py +56 -49
- pulumi_azuredevops/variable_group.py +4 -2
- pulumi_azuredevops/variable_group_permissions.py +75 -75
- pulumi_azuredevops/wiki.py +15 -2
- pulumi_azuredevops/wiki_page.py +2 -2
- pulumi_azuredevops/work_item_query_permissions.py +7 -7
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.7.0.dist-info/RECORD +152 -0
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.6.0a1737523387.dist-info/RECORD +0 -140
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/top_level.txt +0 -0
@@ -27,15 +27,16 @@ class TeamMembersArgs:
|
|
27
27
|
The set of arguments for constructing a TeamMembers resource.
|
28
28
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: List of subject descriptors to define members of the team.
|
29
29
|
|
30
|
-
> NOTE
|
31
|
-
|
32
|
-
|
33
|
-
|
30
|
+
> **NOTE:** It's possible to define team members both within the
|
31
|
+
`Team` resource via the `members` block and by using the
|
32
|
+
`TeamMembers` resource. However, it's not possible to use
|
33
|
+
both methods to manage team members, since there'll be conflicts.
|
34
34
|
:param pulumi.Input[str] project_id: The Project ID.
|
35
35
|
:param pulumi.Input[str] team_id: The ID of the Team.
|
36
|
-
:param pulumi.Input[str] mode: The mode how the resource manages team members.
|
37
|
-
|
38
|
-
|
36
|
+
:param pulumi.Input[str] mode: The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
37
|
+
|
38
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
39
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
39
40
|
"""
|
40
41
|
pulumi.set(__self__, "members", members)
|
41
42
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -49,10 +50,10 @@ class TeamMembersArgs:
|
|
49
50
|
"""
|
50
51
|
List of subject descriptors to define members of the team.
|
51
52
|
|
52
|
-
> NOTE
|
53
|
-
|
54
|
-
|
55
|
-
|
53
|
+
> **NOTE:** It's possible to define team members both within the
|
54
|
+
`Team` resource via the `members` block and by using the
|
55
|
+
`TeamMembers` resource. However, it's not possible to use
|
56
|
+
both methods to manage team members, since there'll be conflicts.
|
56
57
|
"""
|
57
58
|
return pulumi.get(self, "members")
|
58
59
|
|
@@ -88,9 +89,10 @@ class TeamMembersArgs:
|
|
88
89
|
@pulumi.getter
|
89
90
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
90
91
|
"""
|
91
|
-
The mode how the resource manages team members.
|
92
|
-
|
93
|
-
|
92
|
+
The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
93
|
+
|
94
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
95
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
94
96
|
"""
|
95
97
|
return pulumi.get(self, "mode")
|
96
98
|
|
@@ -110,13 +112,14 @@ class _TeamMembersState:
|
|
110
112
|
Input properties used for looking up and filtering TeamMembers resources.
|
111
113
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: List of subject descriptors to define members of the team.
|
112
114
|
|
113
|
-
> NOTE
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
:param pulumi.Input[str] mode: The mode how the resource manages team members.
|
118
|
-
|
119
|
-
|
115
|
+
> **NOTE:** It's possible to define team members both within the
|
116
|
+
`Team` resource via the `members` block and by using the
|
117
|
+
`TeamMembers` resource. However, it's not possible to use
|
118
|
+
both methods to manage team members, since there'll be conflicts.
|
119
|
+
:param pulumi.Input[str] mode: The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
120
|
+
|
121
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
122
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
120
123
|
:param pulumi.Input[str] project_id: The Project ID.
|
121
124
|
:param pulumi.Input[str] team_id: The ID of the Team.
|
122
125
|
"""
|
@@ -135,10 +138,10 @@ class _TeamMembersState:
|
|
135
138
|
"""
|
136
139
|
List of subject descriptors to define members of the team.
|
137
140
|
|
138
|
-
> NOTE
|
139
|
-
|
140
|
-
|
141
|
-
|
141
|
+
> **NOTE:** It's possible to define team members both within the
|
142
|
+
`Team` resource via the `members` block and by using the
|
143
|
+
`TeamMembers` resource. However, it's not possible to use
|
144
|
+
both methods to manage team members, since there'll be conflicts.
|
142
145
|
"""
|
143
146
|
return pulumi.get(self, "members")
|
144
147
|
|
@@ -150,9 +153,10 @@ class _TeamMembersState:
|
|
150
153
|
@pulumi.getter
|
151
154
|
def mode(self) -> Optional[pulumi.Input[str]]:
|
152
155
|
"""
|
153
|
-
The mode how the resource manages team members.
|
154
|
-
|
155
|
-
|
156
|
+
The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
157
|
+
|
158
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
159
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
156
160
|
"""
|
157
161
|
return pulumi.get(self, "mode")
|
158
162
|
|
@@ -238,13 +242,14 @@ class TeamMembers(pulumi.CustomResource):
|
|
238
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
239
243
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: List of subject descriptors to define members of the team.
|
240
244
|
|
241
|
-
> NOTE
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
:param pulumi.Input[str] mode: The mode how the resource manages team members.
|
246
|
-
|
247
|
-
|
245
|
+
> **NOTE:** It's possible to define team members both within the
|
246
|
+
`Team` resource via the `members` block and by using the
|
247
|
+
`TeamMembers` resource. However, it's not possible to use
|
248
|
+
both methods to manage team members, since there'll be conflicts.
|
249
|
+
:param pulumi.Input[str] mode: The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
250
|
+
|
251
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
252
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
248
253
|
:param pulumi.Input[str] project_id: The Project ID.
|
249
254
|
:param pulumi.Input[str] team_id: The ID of the Team.
|
250
255
|
"""
|
@@ -354,13 +359,14 @@ class TeamMembers(pulumi.CustomResource):
|
|
354
359
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
355
360
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] members: List of subject descriptors to define members of the team.
|
356
361
|
|
357
|
-
> NOTE
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
:param pulumi.Input[str] mode: The mode how the resource manages team members.
|
362
|
-
|
363
|
-
|
362
|
+
> **NOTE:** It's possible to define team members both within the
|
363
|
+
`Team` resource via the `members` block and by using the
|
364
|
+
`TeamMembers` resource. However, it's not possible to use
|
365
|
+
both methods to manage team members, since there'll be conflicts.
|
366
|
+
:param pulumi.Input[str] mode: The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
367
|
+
|
368
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
369
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
364
370
|
:param pulumi.Input[str] project_id: The Project ID.
|
365
371
|
:param pulumi.Input[str] team_id: The ID of the Team.
|
366
372
|
"""
|
@@ -380,10 +386,10 @@ class TeamMembers(pulumi.CustomResource):
|
|
380
386
|
"""
|
381
387
|
List of subject descriptors to define members of the team.
|
382
388
|
|
383
|
-
> NOTE
|
384
|
-
|
385
|
-
|
386
|
-
|
389
|
+
> **NOTE:** It's possible to define team members both within the
|
390
|
+
`Team` resource via the `members` block and by using the
|
391
|
+
`TeamMembers` resource. However, it's not possible to use
|
392
|
+
both methods to manage team members, since there'll be conflicts.
|
387
393
|
"""
|
388
394
|
return pulumi.get(self, "members")
|
389
395
|
|
@@ -391,9 +397,10 @@ class TeamMembers(pulumi.CustomResource):
|
|
391
397
|
@pulumi.getter
|
392
398
|
def mode(self) -> pulumi.Output[Optional[str]]:
|
393
399
|
"""
|
394
|
-
The mode how the resource manages team members.
|
395
|
-
|
396
|
-
|
400
|
+
The mode how the resource manages team members. Possible values: `add`, `overwrite`. Defaults to `add`.
|
401
|
+
|
402
|
+
> **NOTE:** 1. `mode = add`: the resource will ensure that all specified members will be part of the referenced team
|
403
|
+
<br>2. `mode = overwrite`: the resource will replace all existing members with the members specified within the `members` block
|
397
404
|
"""
|
398
405
|
return pulumi.get(self, "mode")
|
399
406
|
|
@@ -239,6 +239,7 @@ class VariableGroup(pulumi.CustomResource):
|
|
239
239
|
"""
|
240
240
|
## Example Usage
|
241
241
|
|
242
|
+
### Basic usage
|
242
243
|
```python
|
243
244
|
import pulumi
|
244
245
|
import pulumi_azuredevops as azuredevops
|
@@ -267,7 +268,7 @@ class VariableGroup(pulumi.CustomResource):
|
|
267
268
|
])
|
268
269
|
```
|
269
270
|
|
270
|
-
###
|
271
|
+
### Link to AzureRM Key Vault
|
271
272
|
|
272
273
|
```python
|
273
274
|
import pulumi
|
@@ -359,6 +360,7 @@ class VariableGroup(pulumi.CustomResource):
|
|
359
360
|
"""
|
360
361
|
## Example Usage
|
361
362
|
|
363
|
+
### Basic usage
|
362
364
|
```python
|
363
365
|
import pulumi
|
364
366
|
import pulumi_azuredevops as azuredevops
|
@@ -387,7 +389,7 @@ class VariableGroup(pulumi.CustomResource):
|
|
387
389
|
])
|
388
390
|
```
|
389
391
|
|
390
|
-
###
|
392
|
+
### Link to AzureRM Key Vault
|
391
393
|
|
392
394
|
```python
|
393
395
|
import pulumi
|
@@ -27,19 +27,19 @@ class VariableGroupPermissionsArgs:
|
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a VariableGroupPermissions resource.
|
29
29
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available.
|
30
|
+
|
31
|
+
| Permission | Description |
|
32
|
+
|-------------|---------------------------|
|
33
|
+
| View | View library item |
|
34
|
+
| Administer | Administer library item |
|
35
|
+
| Create | Create library item |
|
36
|
+
| ViewSecrets | View library item secrets |
|
37
|
+
| Use | Use library item |
|
38
|
+
| Owner | Owner library item |
|
30
39
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
31
40
|
:param pulumi.Input[str] project_id: The ID of the project.
|
32
41
|
:param pulumi.Input[str] variable_group_id: The id of the variable group to assign the permissions.
|
33
42
|
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
34
|
-
|
35
|
-
| Permission | Description |
|
36
|
-
| ----------------- | ----------------------------------- |
|
37
|
-
| View | View library item |
|
38
|
-
| Administer | Administer library item |
|
39
|
-
| Create | Create library item |
|
40
|
-
| ViewSecrets | View library item secrets |
|
41
|
-
| Use | Use library item |
|
42
|
-
| Owner | Owner library item |
|
43
43
|
"""
|
44
44
|
pulumi.set(__self__, "permissions", permissions)
|
45
45
|
pulumi.set(__self__, "principal", principal)
|
@@ -53,6 +53,15 @@ class VariableGroupPermissionsArgs:
|
|
53
53
|
def permissions(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
54
54
|
"""
|
55
55
|
the permissions to assign. The following permissions are available.
|
56
|
+
|
57
|
+
| Permission | Description |
|
58
|
+
|-------------|---------------------------|
|
59
|
+
| View | View library item |
|
60
|
+
| Administer | Administer library item |
|
61
|
+
| Create | Create library item |
|
62
|
+
| ViewSecrets | View library item secrets |
|
63
|
+
| Use | Use library item |
|
64
|
+
| Owner | Owner library item |
|
56
65
|
"""
|
57
66
|
return pulumi.get(self, "permissions")
|
58
67
|
|
@@ -101,15 +110,6 @@ class VariableGroupPermissionsArgs:
|
|
101
110
|
def replace(self) -> Optional[pulumi.Input[bool]]:
|
102
111
|
"""
|
103
112
|
Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
104
|
-
|
105
|
-
| Permission | Description |
|
106
|
-
| ----------------- | ----------------------------------- |
|
107
|
-
| View | View library item |
|
108
|
-
| Administer | Administer library item |
|
109
|
-
| Create | Create library item |
|
110
|
-
| ViewSecrets | View library item secrets |
|
111
|
-
| Use | Use library item |
|
112
|
-
| Owner | Owner library item |
|
113
113
|
"""
|
114
114
|
return pulumi.get(self, "replace")
|
115
115
|
|
@@ -129,18 +129,18 @@ class _VariableGroupPermissionsState:
|
|
129
129
|
"""
|
130
130
|
Input properties used for looking up and filtering VariableGroupPermissions resources.
|
131
131
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available.
|
132
|
+
|
133
|
+
| Permission | Description |
|
134
|
+
|-------------|---------------------------|
|
135
|
+
| View | View library item |
|
136
|
+
| Administer | Administer library item |
|
137
|
+
| Create | Create library item |
|
138
|
+
| ViewSecrets | View library item secrets |
|
139
|
+
| Use | Use library item |
|
140
|
+
| Owner | Owner library item |
|
132
141
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
133
142
|
:param pulumi.Input[str] project_id: The ID of the project.
|
134
143
|
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
135
|
-
|
136
|
-
| Permission | Description |
|
137
|
-
| ----------------- | ----------------------------------- |
|
138
|
-
| View | View library item |
|
139
|
-
| Administer | Administer library item |
|
140
|
-
| Create | Create library item |
|
141
|
-
| ViewSecrets | View library item secrets |
|
142
|
-
| Use | Use library item |
|
143
|
-
| Owner | Owner library item |
|
144
144
|
:param pulumi.Input[str] variable_group_id: The id of the variable group to assign the permissions.
|
145
145
|
"""
|
146
146
|
if permissions is not None:
|
@@ -159,6 +159,15 @@ class _VariableGroupPermissionsState:
|
|
159
159
|
def permissions(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
160
160
|
"""
|
161
161
|
the permissions to assign. The following permissions are available.
|
162
|
+
|
163
|
+
| Permission | Description |
|
164
|
+
|-------------|---------------------------|
|
165
|
+
| View | View library item |
|
166
|
+
| Administer | Administer library item |
|
167
|
+
| Create | Create library item |
|
168
|
+
| ViewSecrets | View library item secrets |
|
169
|
+
| Use | Use library item |
|
170
|
+
| Owner | Owner library item |
|
162
171
|
"""
|
163
172
|
return pulumi.get(self, "permissions")
|
164
173
|
|
@@ -195,15 +204,6 @@ class _VariableGroupPermissionsState:
|
|
195
204
|
def replace(self) -> Optional[pulumi.Input[bool]]:
|
196
205
|
"""
|
197
206
|
Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
198
|
-
|
199
|
-
| Permission | Description |
|
200
|
-
| ----------------- | ----------------------------------- |
|
201
|
-
| View | View library item |
|
202
|
-
| Administer | Administer library item |
|
203
|
-
| Create | Create library item |
|
204
|
-
| ViewSecrets | View library item secrets |
|
205
|
-
| Use | Use library item |
|
206
|
-
| Owner | Owner library item |
|
207
207
|
"""
|
208
208
|
return pulumi.get(self, "replace")
|
209
209
|
|
@@ -276,15 +276,15 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
276
276
|
|
277
277
|
The Azure DevOps UI uses roles to assign permissions for variable groups.
|
278
278
|
|
279
|
-
| Role | Allow Permissions
|
280
|
-
|
281
|
-
| Reader | View
|
282
|
-
| User | View, Use
|
283
|
-
| Administrator | View, Use, Administer
|
279
|
+
| Role | Allow Permissions |
|
280
|
+
|---------------|-----------------------|
|
281
|
+
| Reader | View |
|
282
|
+
| User | View, Use |
|
283
|
+
| Administrator | View, Use, Administer |
|
284
284
|
|
285
285
|
## Relevant Links
|
286
286
|
|
287
|
-
* [Azure DevOps Service REST API
|
287
|
+
* [Azure DevOps Service REST API 7.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-7.1)
|
288
288
|
|
289
289
|
## PAT Permissions Required
|
290
290
|
|
@@ -297,18 +297,18 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
297
297
|
:param str resource_name: The name of the resource.
|
298
298
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
299
299
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available.
|
300
|
+
|
301
|
+
| Permission | Description |
|
302
|
+
|-------------|---------------------------|
|
303
|
+
| View | View library item |
|
304
|
+
| Administer | Administer library item |
|
305
|
+
| Create | Create library item |
|
306
|
+
| ViewSecrets | View library item secrets |
|
307
|
+
| Use | Use library item |
|
308
|
+
| Owner | Owner library item |
|
300
309
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
301
310
|
:param pulumi.Input[str] project_id: The ID of the project.
|
302
311
|
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
303
|
-
|
304
|
-
| Permission | Description |
|
305
|
-
| ----------------- | ----------------------------------- |
|
306
|
-
| View | View library item |
|
307
|
-
| Administer | Administer library item |
|
308
|
-
| Create | Create library item |
|
309
|
-
| ViewSecrets | View library item secrets |
|
310
|
-
| Use | Use library item |
|
311
|
-
| Owner | Owner library item |
|
312
312
|
:param pulumi.Input[str] variable_group_id: The id of the variable group to assign the permissions.
|
313
313
|
"""
|
314
314
|
...
|
@@ -358,15 +358,15 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
358
358
|
|
359
359
|
The Azure DevOps UI uses roles to assign permissions for variable groups.
|
360
360
|
|
361
|
-
| Role | Allow Permissions
|
362
|
-
|
363
|
-
| Reader | View
|
364
|
-
| User | View, Use
|
365
|
-
| Administrator | View, Use, Administer
|
361
|
+
| Role | Allow Permissions |
|
362
|
+
|---------------|-----------------------|
|
363
|
+
| Reader | View |
|
364
|
+
| User | View, Use |
|
365
|
+
| Administrator | View, Use, Administer |
|
366
366
|
|
367
367
|
## Relevant Links
|
368
368
|
|
369
|
-
* [Azure DevOps Service REST API
|
369
|
+
* [Azure DevOps Service REST API 7.1 - Security](https://docs.microsoft.com/en-us/rest/api/azure/devops/security/?view=azure-devops-rest-7.1)
|
370
370
|
|
371
371
|
## PAT Permissions Required
|
372
372
|
|
@@ -441,18 +441,18 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
441
441
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
442
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
443
443
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available.
|
444
|
+
|
445
|
+
| Permission | Description |
|
446
|
+
|-------------|---------------------------|
|
447
|
+
| View | View library item |
|
448
|
+
| Administer | Administer library item |
|
449
|
+
| Create | Create library item |
|
450
|
+
| ViewSecrets | View library item secrets |
|
451
|
+
| Use | Use library item |
|
452
|
+
| Owner | Owner library item |
|
444
453
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
445
454
|
:param pulumi.Input[str] project_id: The ID of the project.
|
446
455
|
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
447
|
-
|
448
|
-
| Permission | Description |
|
449
|
-
| ----------------- | ----------------------------------- |
|
450
|
-
| View | View library item |
|
451
|
-
| Administer | Administer library item |
|
452
|
-
| Create | Create library item |
|
453
|
-
| ViewSecrets | View library item secrets |
|
454
|
-
| Use | Use library item |
|
455
|
-
| Owner | Owner library item |
|
456
456
|
:param pulumi.Input[str] variable_group_id: The id of the variable group to assign the permissions.
|
457
457
|
"""
|
458
458
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -471,6 +471,15 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
471
471
|
def permissions(self) -> pulumi.Output[Mapping[str, str]]:
|
472
472
|
"""
|
473
473
|
the permissions to assign. The following permissions are available.
|
474
|
+
|
475
|
+
| Permission | Description |
|
476
|
+
|-------------|---------------------------|
|
477
|
+
| View | View library item |
|
478
|
+
| Administer | Administer library item |
|
479
|
+
| Create | Create library item |
|
480
|
+
| ViewSecrets | View library item secrets |
|
481
|
+
| Use | Use library item |
|
482
|
+
| Owner | Owner library item |
|
474
483
|
"""
|
475
484
|
return pulumi.get(self, "permissions")
|
476
485
|
|
@@ -495,15 +504,6 @@ class VariableGroupPermissions(pulumi.CustomResource):
|
|
495
504
|
def replace(self) -> pulumi.Output[Optional[bool]]:
|
496
505
|
"""
|
497
506
|
Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
498
|
-
|
499
|
-
| Permission | Description |
|
500
|
-
| ----------------- | ----------------------------------- |
|
501
|
-
| View | View library item |
|
502
|
-
| Administer | Administer library item |
|
503
|
-
| Create | Create library item |
|
504
|
-
| ViewSecrets | View library item secrets |
|
505
|
-
| Use | Use library item |
|
506
|
-
| Owner | Owner library item |
|
507
507
|
"""
|
508
508
|
return pulumi.get(self, "replace")
|
509
509
|
|
pulumi_azuredevops/wiki.py
CHANGED
@@ -28,6 +28,7 @@ class WikiArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a Wiki resource.
|
30
30
|
:param pulumi.Input[str] type: The type of the wiki. Possible values are `codeWiki`, `projectWiki`.
|
31
|
+
:param pulumi.Input[str] mapped_path: Folder path inside repository which is shown as Wiki.
|
31
32
|
:param pulumi.Input[str] name: The name of the Wiki.
|
32
33
|
:param pulumi.Input[str] project_id: The ID of the Project.
|
33
34
|
:param pulumi.Input[str] repository_id: The ID of the repository.
|
@@ -60,6 +61,9 @@ class WikiArgs:
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter(name="mappedPath")
|
62
63
|
def mapped_path(self) -> Optional[pulumi.Input[str]]:
|
64
|
+
"""
|
65
|
+
Folder path inside repository which is shown as Wiki.
|
66
|
+
"""
|
63
67
|
return pulumi.get(self, "mapped_path")
|
64
68
|
|
65
69
|
@mapped_path.setter
|
@@ -128,6 +132,7 @@ class _WikiState:
|
|
128
132
|
version: Optional[pulumi.Input[str]] = None):
|
129
133
|
"""
|
130
134
|
Input properties used for looking up and filtering Wiki resources.
|
135
|
+
:param pulumi.Input[str] mapped_path: Folder path inside repository which is shown as Wiki.
|
131
136
|
:param pulumi.Input[str] name: The name of the Wiki.
|
132
137
|
:param pulumi.Input[str] project_id: The ID of the Project.
|
133
138
|
:param pulumi.Input[str] remote_url: The remote web url to the wiki.
|
@@ -156,6 +161,9 @@ class _WikiState:
|
|
156
161
|
@property
|
157
162
|
@pulumi.getter(name="mappedPath")
|
158
163
|
def mapped_path(self) -> Optional[pulumi.Input[str]]:
|
164
|
+
"""
|
165
|
+
Folder path inside repository which is shown as Wiki.
|
166
|
+
"""
|
159
167
|
return pulumi.get(self, "mapped_path")
|
160
168
|
|
161
169
|
@mapped_path.setter
|
@@ -287,7 +295,7 @@ class Wiki(pulumi.CustomResource):
|
|
287
295
|
repository_id=example_git.id,
|
288
296
|
version="main",
|
289
297
|
type="codeWiki",
|
290
|
-
|
298
|
+
mapped_path="/")
|
291
299
|
```
|
292
300
|
|
293
301
|
## Relevant Links
|
@@ -304,6 +312,7 @@ class Wiki(pulumi.CustomResource):
|
|
304
312
|
|
305
313
|
:param str resource_name: The name of the resource.
|
306
314
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
315
|
+
:param pulumi.Input[str] mapped_path: Folder path inside repository which is shown as Wiki.
|
307
316
|
:param pulumi.Input[str] name: The name of the Wiki.
|
308
317
|
:param pulumi.Input[str] project_id: The ID of the Project.
|
309
318
|
:param pulumi.Input[str] repository_id: The ID of the repository.
|
@@ -344,7 +353,7 @@ class Wiki(pulumi.CustomResource):
|
|
344
353
|
repository_id=example_git.id,
|
345
354
|
version="main",
|
346
355
|
type="codeWiki",
|
347
|
-
|
356
|
+
mapped_path="/")
|
348
357
|
```
|
349
358
|
|
350
359
|
## Relevant Links
|
@@ -424,6 +433,7 @@ class Wiki(pulumi.CustomResource):
|
|
424
433
|
:param str resource_name: The unique name of the resulting resource.
|
425
434
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
426
435
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
436
|
+
:param pulumi.Input[str] mapped_path: Folder path inside repository which is shown as Wiki.
|
427
437
|
:param pulumi.Input[str] name: The name of the Wiki.
|
428
438
|
:param pulumi.Input[str] project_id: The ID of the Project.
|
429
439
|
:param pulumi.Input[str] remote_url: The remote web url to the wiki.
|
@@ -449,6 +459,9 @@ class Wiki(pulumi.CustomResource):
|
|
449
459
|
@property
|
450
460
|
@pulumi.getter(name="mappedPath")
|
451
461
|
def mapped_path(self) -> pulumi.Output[str]:
|
462
|
+
"""
|
463
|
+
Folder path inside repository which is shown as Wiki.
|
464
|
+
"""
|
452
465
|
return pulumi.get(self, "mapped_path")
|
453
466
|
|
454
467
|
@property
|
pulumi_azuredevops/wiki_page.py
CHANGED
@@ -204,8 +204,8 @@ class WikiPage(pulumi.CustomResource):
|
|
204
204
|
name="Example Project",
|
205
205
|
description="Managed by Pulumi")
|
206
206
|
example_wiki = azuredevops.Wiki("example",
|
207
|
-
name="Example project wiki ",
|
208
207
|
project_id=example.id,
|
208
|
+
name="Example project wiki ",
|
209
209
|
type="projectWiki")
|
210
210
|
example_wiki_page = azuredevops.WikiPage("example",
|
211
211
|
project_id=example.id,
|
@@ -244,8 +244,8 @@ class WikiPage(pulumi.CustomResource):
|
|
244
244
|
name="Example Project",
|
245
245
|
description="Managed by Pulumi")
|
246
246
|
example_wiki = azuredevops.Wiki("example",
|
247
|
-
name="Example project wiki ",
|
248
247
|
project_id=example.id,
|
248
|
+
name="Example project wiki ",
|
249
249
|
type="projectWiki")
|
250
250
|
example_wiki_page = azuredevops.WikiPage("example",
|
251
251
|
project_id=example.id,
|
@@ -37,7 +37,7 @@ class WorkItemQueryPermissionsArgs:
|
|
37
37
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
38
38
|
:param pulumi.Input[str] project_id: The ID of the project to assign the permissions.
|
39
39
|
:param pulumi.Input[str] path: Path to a query or folder beneath `Shared Queries`
|
40
|
-
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions.
|
40
|
+
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
41
41
|
"""
|
42
42
|
pulumi.set(__self__, "permissions", permissions)
|
43
43
|
pulumi.set(__self__, "principal", principal)
|
@@ -106,7 +106,7 @@ class WorkItemQueryPermissionsArgs:
|
|
106
106
|
@pulumi.getter
|
107
107
|
def replace(self) -> Optional[pulumi.Input[bool]]:
|
108
108
|
"""
|
109
|
-
Replace (`true`) or merge (`false`) the permissions.
|
109
|
+
Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
110
110
|
"""
|
111
111
|
return pulumi.get(self, "replace")
|
112
112
|
|
@@ -136,7 +136,7 @@ class _WorkItemQueryPermissionsState:
|
|
136
136
|
| ManagePermissions | Manage Permissions |
|
137
137
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
138
138
|
:param pulumi.Input[str] project_id: The ID of the project to assign the permissions.
|
139
|
-
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions.
|
139
|
+
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
140
140
|
"""
|
141
141
|
if path is not None:
|
142
142
|
pulumi.set(__self__, "path", path)
|
@@ -208,7 +208,7 @@ class _WorkItemQueryPermissionsState:
|
|
208
208
|
@pulumi.getter
|
209
209
|
def replace(self) -> Optional[pulumi.Input[bool]]:
|
210
210
|
"""
|
211
|
-
Replace (`true`) or merge (`false`) the permissions.
|
211
|
+
Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
212
212
|
"""
|
213
213
|
return pulumi.get(self, "replace")
|
214
214
|
|
@@ -357,7 +357,7 @@ class WorkItemQueryPermissions(pulumi.CustomResource):
|
|
357
357
|
| ManagePermissions | Manage Permissions |
|
358
358
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
359
359
|
:param pulumi.Input[str] project_id: The ID of the project to assign the permissions.
|
360
|
-
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions.
|
360
|
+
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
361
361
|
"""
|
362
362
|
...
|
363
363
|
@overload
|
@@ -554,7 +554,7 @@ class WorkItemQueryPermissions(pulumi.CustomResource):
|
|
554
554
|
| ManagePermissions | Manage Permissions |
|
555
555
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
556
556
|
:param pulumi.Input[str] project_id: The ID of the project to assign the permissions.
|
557
|
-
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions.
|
557
|
+
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
558
558
|
"""
|
559
559
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
560
560
|
|
@@ -610,7 +610,7 @@ class WorkItemQueryPermissions(pulumi.CustomResource):
|
|
610
610
|
@pulumi.getter
|
611
611
|
def replace(self) -> pulumi.Output[Optional[bool]]:
|
612
612
|
"""
|
613
|
-
Replace (`true`) or merge (`false`) the permissions.
|
613
|
+
Replace (`true`) or merge (`false`) the permissions. Defaults to `true`
|
614
614
|
"""
|
615
615
|
return pulumi.get(self, "replace")
|
616
616
|
|