pulumi-azuredevops 3.6.0a1737523387__py3-none-any.whl → 3.6.0a1737710622__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 +64 -0
- pulumi_azuredevops/_inputs.py +120 -117
- 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/feed.py +8 -8
- pulumi_azuredevops/feed_permission.py +9 -9
- pulumi_azuredevops/feed_retention_policy.py +422 -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_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 +3 -0
- pulumi_azuredevops/get_identity_groups.py +1 -1
- pulumi_azuredevops/get_identity_users.py +5 -5
- 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_team.py +4 -3
- pulumi_azuredevops/get_teams.py +2 -3
- 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 +129 -102
- 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 +24 -18
- pulumi_azuredevops/service_endpoint_aws.py +2 -2
- pulumi_azuredevops/service_endpoint_azure_ecr.py +13 -15
- pulumi_azuredevops/service_endpoint_azure_rm.py +25 -25
- pulumi_azuredevops/service_endpoint_bit_bucket.py +2 -2
- pulumi_azuredevops/service_endpoint_docker_registry.py +2 -2
- pulumi_azuredevops/service_endpoint_generic.py +2 -2
- pulumi_azuredevops/service_endpoint_generic_git.py +4 -8
- pulumi_azuredevops/service_endpoint_git_hub.py +15 -2
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +15 -2
- pulumi_azuredevops/service_endpoint_kubernetes.py +23 -23
- pulumi_azuredevops/service_endpoint_npm.py +4 -4
- pulumi_azuredevops/service_endpoint_pipeline.py +4 -4
- pulumi_azuredevops/service_endpoint_service_fabric.py +48 -9
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +11 -11
- pulumi_azuredevops/service_endpoint_sonar_qube.py +11 -11
- pulumi_azuredevops/service_endpoint_ssh.py +2 -6
- pulumi_azuredevops/service_principal_entitlement.py +386 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +2 -2
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +2 -2
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +627 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +575 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +674 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +2 -2
- pulumi_azuredevops/serviceendpoint_externaltfs.py +63 -11
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +2 -2
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +2 -2
- pulumi_azuredevops/serviceendpoint_jenkins.py +2 -2
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_maven.py +2 -2
- pulumi_azuredevops/serviceendpoint_nexus.py +2 -2
- pulumi_azuredevops/serviceendpoint_nuget.py +2 -2
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +2 -2
- pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
- pulumi_azuredevops/serviceendpoint_snyk.py +2 -2
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +4 -6
- 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.6.0a1737710622.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.6.0a1737710622.dist-info/RECORD +148 -0
- pulumi_azuredevops-3.6.0a1737523387.dist-info/RECORD +0 -140
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.6.0a1737710622.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.6.0a1737710622.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ class PipelineAuthorizationArgs:
|
|
28
28
|
The set of arguments for constructing a PipelineAuthorization resource.
|
29
29
|
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
30
30
|
:param pulumi.Input[str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
31
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
31
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
32
32
|
|
33
33
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
34
34
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -73,7 +73,7 @@ class PipelineAuthorizationArgs:
|
|
73
73
|
@pulumi.getter
|
74
74
|
def type(self) -> pulumi.Input[str]:
|
75
75
|
"""
|
76
|
-
The type of the resource to authorize.
|
76
|
+
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
77
77
|
|
78
78
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
79
79
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -125,7 +125,7 @@ class _PipelineAuthorizationState:
|
|
125
125
|
:param pulumi.Input[str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
126
126
|
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
127
127
|
:param pulumi.Input[str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
128
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
128
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
129
129
|
|
130
130
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
131
131
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -195,7 +195,7 @@ class _PipelineAuthorizationState:
|
|
195
195
|
@pulumi.getter
|
196
196
|
def type(self) -> Optional[pulumi.Input[str]]:
|
197
197
|
"""
|
198
|
-
The type of the resource to authorize.
|
198
|
+
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
199
199
|
|
200
200
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
201
201
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -300,7 +300,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
300
300
|
:param pulumi.Input[str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
301
301
|
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
302
302
|
:param pulumi.Input[str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
303
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
303
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
304
304
|
|
305
305
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
306
306
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -453,7 +453,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
453
453
|
:param pulumi.Input[str] pipeline_project_id: The ID of the project where the pipeline exists. Defaults to `project_id` if not specified. Changing this forces a new resource to be created
|
454
454
|
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
455
455
|
:param pulumi.Input[str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
456
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
456
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
457
457
|
|
458
458
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
459
459
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -507,7 +507,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
507
507
|
@pulumi.getter
|
508
508
|
def type(self) -> pulumi.Output[str]:
|
509
509
|
"""
|
510
|
-
The type of the resource to authorize.
|
510
|
+
The type of the resource to authorize. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
511
511
|
|
512
512
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
513
513
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
pulumi_azuredevops/pool.py
CHANGED
@@ -189,12 +189,12 @@ class Pool(pulumi.CustomResource):
|
|
189
189
|
|
190
190
|
- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
191
191
|
|
192
|
-
## Import
|
192
|
+
## Import*
|
193
193
|
|
194
194
|
Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.
|
195
195
|
|
196
196
|
```sh
|
197
|
-
|
197
|
+
terraform import azuredevops_agent_pool.example 0
|
198
198
|
```
|
199
199
|
|
200
200
|
:param str resource_name: The name of the resource.
|
@@ -229,12 +229,12 @@ class Pool(pulumi.CustomResource):
|
|
229
229
|
|
230
230
|
- [Azure DevOps Service REST API 7.0 - Agent Pools](https://docs.microsoft.com/en-us/rest/api/azure/devops/distributedtask/pools?view=azure-devops-rest-7.0)
|
231
231
|
|
232
|
-
## Import
|
232
|
+
## Import*
|
233
233
|
|
234
234
|
Azure DevOps Agent Pools can be imported using the agent pool ID, e.g.
|
235
235
|
|
236
236
|
```sh
|
237
|
-
|
237
|
+
terraform import azuredevops_agent_pool.example 0
|
238
238
|
```
|
239
239
|
|
240
240
|
:param str resource_name: The name of the resource.
|
pulumi_azuredevops/project.py
CHANGED
@@ -28,17 +28,24 @@ class ProjectArgs:
|
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a Project resource.
|
30
30
|
:param pulumi.Input[str] description: The Description of the Project.
|
31
|
-
|
32
|
-
|
31
|
+
*
|
32
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
33
33
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
34
|
+
| Features | Possible Values |
|
35
|
+
|--------------|-------------------|
|
36
|
+
| boards | enabled, disabled |
|
37
|
+
| repositories | enabled, disabled |
|
38
|
+
| pipelines | enabled, disabled |
|
39
|
+
| testplans | enabled, disabled |
|
40
|
+
| artifacts | enabled, disabled |
|
41
|
+
|
42
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
43
|
+
via the `features` block by using the `Project` resource.
|
44
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
38
45
|
:param pulumi.Input[str] name: The Project Name.
|
39
|
-
:param pulumi.Input[str] version_control: Specifies the version control system.
|
40
|
-
:param pulumi.Input[str] visibility: Specifies the visibility of the Project.
|
41
|
-
:param pulumi.Input[str] work_item_template: Specifies the work item template.
|
46
|
+
:param pulumi.Input[str] version_control: Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
47
|
+
:param pulumi.Input[str] visibility: Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
48
|
+
:param pulumi.Input[str] work_item_template: Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
42
49
|
"""
|
43
50
|
if description is not None:
|
44
51
|
pulumi.set(__self__, "description", description)
|
@@ -58,6 +65,7 @@ class ProjectArgs:
|
|
58
65
|
def description(self) -> Optional[pulumi.Input[str]]:
|
59
66
|
"""
|
60
67
|
The Description of the Project.
|
68
|
+
*
|
61
69
|
"""
|
62
70
|
return pulumi.get(self, "description")
|
63
71
|
|
@@ -69,13 +77,19 @@ class ProjectArgs:
|
|
69
77
|
@pulumi.getter
|
70
78
|
def features(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
71
79
|
"""
|
72
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
73
|
-
|
80
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
81
|
+
|
82
|
+
| Features | Possible Values |
|
83
|
+
|--------------|-------------------|
|
84
|
+
| boards | enabled, disabled |
|
85
|
+
| repositories | enabled, disabled |
|
86
|
+
| pipelines | enabled, disabled |
|
87
|
+
| testplans | enabled, disabled |
|
88
|
+
| artifacts | enabled, disabled |
|
74
89
|
|
75
|
-
> **NOTE:**
|
76
|
-
|
77
|
-
|
78
|
-
> However it's not possible to use both methods to manage features, since there'll be conflicts.
|
90
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
91
|
+
via the `features` block by using the `Project` resource.
|
92
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
79
93
|
"""
|
80
94
|
return pulumi.get(self, "features")
|
81
95
|
|
@@ -99,7 +113,7 @@ class ProjectArgs:
|
|
99
113
|
@pulumi.getter(name="versionControl")
|
100
114
|
def version_control(self) -> Optional[pulumi.Input[str]]:
|
101
115
|
"""
|
102
|
-
Specifies the version control system.
|
116
|
+
Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
103
117
|
"""
|
104
118
|
return pulumi.get(self, "version_control")
|
105
119
|
|
@@ -111,7 +125,7 @@ class ProjectArgs:
|
|
111
125
|
@pulumi.getter
|
112
126
|
def visibility(self) -> Optional[pulumi.Input[str]]:
|
113
127
|
"""
|
114
|
-
Specifies the visibility of the Project.
|
128
|
+
Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
115
129
|
"""
|
116
130
|
return pulumi.get(self, "visibility")
|
117
131
|
|
@@ -123,7 +137,7 @@ class ProjectArgs:
|
|
123
137
|
@pulumi.getter(name="workItemTemplate")
|
124
138
|
def work_item_template(self) -> Optional[pulumi.Input[str]]:
|
125
139
|
"""
|
126
|
-
Specifies the work item template.
|
140
|
+
Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
127
141
|
"""
|
128
142
|
return pulumi.get(self, "work_item_template")
|
129
143
|
|
@@ -145,18 +159,25 @@ class _ProjectState:
|
|
145
159
|
"""
|
146
160
|
Input properties used for looking up and filtering Project resources.
|
147
161
|
:param pulumi.Input[str] description: The Description of the Project.
|
148
|
-
|
149
|
-
|
162
|
+
*
|
163
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
150
164
|
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
165
|
+
| Features | Possible Values |
|
166
|
+
|--------------|-------------------|
|
167
|
+
| boards | enabled, disabled |
|
168
|
+
| repositories | enabled, disabled |
|
169
|
+
| pipelines | enabled, disabled |
|
170
|
+
| testplans | enabled, disabled |
|
171
|
+
| artifacts | enabled, disabled |
|
172
|
+
|
173
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
174
|
+
via the `features` block by using the `Project` resource.
|
175
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
155
176
|
:param pulumi.Input[str] name: The Project Name.
|
156
177
|
:param pulumi.Input[str] process_template_id: The Process Template ID used by the Project.
|
157
|
-
:param pulumi.Input[str] version_control: Specifies the version control system.
|
158
|
-
:param pulumi.Input[str] visibility: Specifies the visibility of the Project.
|
159
|
-
:param pulumi.Input[str] work_item_template: Specifies the work item template.
|
178
|
+
:param pulumi.Input[str] version_control: Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
179
|
+
:param pulumi.Input[str] visibility: Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
180
|
+
:param pulumi.Input[str] work_item_template: Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
160
181
|
"""
|
161
182
|
if description is not None:
|
162
183
|
pulumi.set(__self__, "description", description)
|
@@ -178,6 +199,7 @@ class _ProjectState:
|
|
178
199
|
def description(self) -> Optional[pulumi.Input[str]]:
|
179
200
|
"""
|
180
201
|
The Description of the Project.
|
202
|
+
*
|
181
203
|
"""
|
182
204
|
return pulumi.get(self, "description")
|
183
205
|
|
@@ -189,13 +211,19 @@ class _ProjectState:
|
|
189
211
|
@pulumi.getter
|
190
212
|
def features(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
191
213
|
"""
|
192
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
193
|
-
|
214
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
215
|
+
|
216
|
+
| Features | Possible Values |
|
217
|
+
|--------------|-------------------|
|
218
|
+
| boards | enabled, disabled |
|
219
|
+
| repositories | enabled, disabled |
|
220
|
+
| pipelines | enabled, disabled |
|
221
|
+
| testplans | enabled, disabled |
|
222
|
+
| artifacts | enabled, disabled |
|
194
223
|
|
195
|
-
> **NOTE:**
|
196
|
-
|
197
|
-
|
198
|
-
> However it's not possible to use both methods to manage features, since there'll be conflicts.
|
224
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
225
|
+
via the `features` block by using the `Project` resource.
|
226
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
199
227
|
"""
|
200
228
|
return pulumi.get(self, "features")
|
201
229
|
|
@@ -231,7 +259,7 @@ class _ProjectState:
|
|
231
259
|
@pulumi.getter(name="versionControl")
|
232
260
|
def version_control(self) -> Optional[pulumi.Input[str]]:
|
233
261
|
"""
|
234
|
-
Specifies the version control system.
|
262
|
+
Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
235
263
|
"""
|
236
264
|
return pulumi.get(self, "version_control")
|
237
265
|
|
@@ -243,7 +271,7 @@ class _ProjectState:
|
|
243
271
|
@pulumi.getter
|
244
272
|
def visibility(self) -> Optional[pulumi.Input[str]]:
|
245
273
|
"""
|
246
|
-
Specifies the visibility of the Project.
|
274
|
+
Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
247
275
|
"""
|
248
276
|
return pulumi.get(self, "visibility")
|
249
277
|
|
@@ -255,7 +283,7 @@ class _ProjectState:
|
|
255
283
|
@pulumi.getter(name="workItemTemplate")
|
256
284
|
def work_item_template(self) -> Optional[pulumi.Input[str]]:
|
257
285
|
"""
|
258
|
-
Specifies the work item template.
|
286
|
+
Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
259
287
|
"""
|
260
288
|
return pulumi.get(self, "work_item_template")
|
261
289
|
|
@@ -304,6 +332,7 @@ class Project(pulumi.CustomResource):
|
|
304
332
|
## PAT Permissions Required
|
305
333
|
|
306
334
|
- **Project & Team**: Read, Write, & Manage
|
335
|
+
- **Work Items**: Read
|
307
336
|
|
308
337
|
## Import
|
309
338
|
|
@@ -322,17 +351,24 @@ class Project(pulumi.CustomResource):
|
|
322
351
|
:param str resource_name: The name of the resource.
|
323
352
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
324
353
|
:param pulumi.Input[str] description: The Description of the Project.
|
325
|
-
|
326
|
-
|
354
|
+
*
|
355
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
327
356
|
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
357
|
+
| Features | Possible Values |
|
358
|
+
|--------------|-------------------|
|
359
|
+
| boards | enabled, disabled |
|
360
|
+
| repositories | enabled, disabled |
|
361
|
+
| pipelines | enabled, disabled |
|
362
|
+
| testplans | enabled, disabled |
|
363
|
+
| artifacts | enabled, disabled |
|
364
|
+
|
365
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
366
|
+
via the `features` block by using the `Project` resource.
|
367
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
332
368
|
:param pulumi.Input[str] name: The Project Name.
|
333
|
-
:param pulumi.Input[str] version_control: Specifies the version control system.
|
334
|
-
:param pulumi.Input[str] visibility: Specifies the visibility of the Project.
|
335
|
-
:param pulumi.Input[str] work_item_template: Specifies the work item template.
|
369
|
+
:param pulumi.Input[str] version_control: Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
370
|
+
:param pulumi.Input[str] visibility: Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
371
|
+
:param pulumi.Input[str] work_item_template: Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
336
372
|
"""
|
337
373
|
...
|
338
374
|
@overload
|
@@ -368,6 +404,7 @@ class Project(pulumi.CustomResource):
|
|
368
404
|
## PAT Permissions Required
|
369
405
|
|
370
406
|
- **Project & Team**: Read, Write, & Manage
|
407
|
+
- **Work Items**: Read
|
371
408
|
|
372
409
|
## Import
|
373
410
|
|
@@ -445,18 +482,25 @@ class Project(pulumi.CustomResource):
|
|
445
482
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
446
483
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
447
484
|
:param pulumi.Input[str] description: The Description of the Project.
|
448
|
-
|
449
|
-
|
485
|
+
*
|
486
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
487
|
+
|
488
|
+
| Features | Possible Values |
|
489
|
+
|--------------|-------------------|
|
490
|
+
| boards | enabled, disabled |
|
491
|
+
| repositories | enabled, disabled |
|
492
|
+
| pipelines | enabled, disabled |
|
493
|
+
| testplans | enabled, disabled |
|
494
|
+
| artifacts | enabled, disabled |
|
450
495
|
|
451
|
-
> **NOTE:**
|
452
|
-
|
453
|
-
|
454
|
-
> However it's not possible to use both methods to manage features, since there'll be conflicts.
|
496
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
497
|
+
via the `features` block by using the `Project` resource.
|
498
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
455
499
|
:param pulumi.Input[str] name: The Project Name.
|
456
500
|
:param pulumi.Input[str] process_template_id: The Process Template ID used by the Project.
|
457
|
-
:param pulumi.Input[str] version_control: Specifies the version control system.
|
458
|
-
:param pulumi.Input[str] visibility: Specifies the visibility of the Project.
|
459
|
-
:param pulumi.Input[str] work_item_template: Specifies the work item template.
|
501
|
+
:param pulumi.Input[str] version_control: Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
502
|
+
:param pulumi.Input[str] visibility: Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
503
|
+
:param pulumi.Input[str] work_item_template: Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
460
504
|
"""
|
461
505
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
462
506
|
|
@@ -476,6 +520,7 @@ class Project(pulumi.CustomResource):
|
|
476
520
|
def description(self) -> pulumi.Output[Optional[str]]:
|
477
521
|
"""
|
478
522
|
The Description of the Project.
|
523
|
+
*
|
479
524
|
"""
|
480
525
|
return pulumi.get(self, "description")
|
481
526
|
|
@@ -483,13 +528,19 @@ class Project(pulumi.CustomResource):
|
|
483
528
|
@pulumi.getter
|
484
529
|
def features(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
485
530
|
"""
|
486
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
487
|
-
|
531
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features are `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
532
|
+
|
533
|
+
| Features | Possible Values |
|
534
|
+
|--------------|-------------------|
|
535
|
+
| boards | enabled, disabled |
|
536
|
+
| repositories | enabled, disabled |
|
537
|
+
| pipelines | enabled, disabled |
|
538
|
+
| testplans | enabled, disabled |
|
539
|
+
| artifacts | enabled, disabled |
|
488
540
|
|
489
|
-
> **NOTE:**
|
490
|
-
|
491
|
-
|
492
|
-
> However it's not possible to use both methods to manage features, since there'll be conflicts.
|
541
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
542
|
+
via the `features` block by using the `Project` resource.
|
543
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
493
544
|
"""
|
494
545
|
return pulumi.get(self, "features")
|
495
546
|
|
@@ -513,7 +564,7 @@ class Project(pulumi.CustomResource):
|
|
513
564
|
@pulumi.getter(name="versionControl")
|
514
565
|
def version_control(self) -> pulumi.Output[Optional[str]]:
|
515
566
|
"""
|
516
|
-
Specifies the version control system.
|
567
|
+
Specifies the version control system. Possbile values are: `Git` or `Tfvc`. Defaults to `Git`.
|
517
568
|
"""
|
518
569
|
return pulumi.get(self, "version_control")
|
519
570
|
|
@@ -521,7 +572,7 @@ class Project(pulumi.CustomResource):
|
|
521
572
|
@pulumi.getter
|
522
573
|
def visibility(self) -> pulumi.Output[Optional[str]]:
|
523
574
|
"""
|
524
|
-
Specifies the visibility of the Project.
|
575
|
+
Specifies the visibility of the Project. Possible values are: `private` or `public`. Defaults to `private`.
|
525
576
|
"""
|
526
577
|
return pulumi.get(self, "visibility")
|
527
578
|
|
@@ -529,7 +580,7 @@ class Project(pulumi.CustomResource):
|
|
529
580
|
@pulumi.getter(name="workItemTemplate")
|
530
581
|
def work_item_template(self) -> pulumi.Output[Optional[str]]:
|
531
582
|
"""
|
532
|
-
Specifies the work item template.
|
583
|
+
Specifies the work item template. Possible values are: `Agile`, `Basic`, `CMMI`, `Scrum` or a custom, pre-existing one. Defaults to `Agile`. An empty string will use the parent organization default.
|
533
584
|
"""
|
534
585
|
return pulumi.get(self, "work_item_template")
|
535
586
|
|
@@ -23,13 +23,19 @@ class ProjectFeaturesArgs:
|
|
23
23
|
project_id: pulumi.Input[str]):
|
24
24
|
"""
|
25
25
|
The set of arguments for constructing a ProjectFeatures resource.
|
26
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features.
|
27
|
-
Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
26
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
28
27
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
28
|
+
| Features | Possible Values |
|
29
|
+
|--------------|-------------------|
|
30
|
+
| boards | enabled, disabled |
|
31
|
+
| repositories | enabled, disabled |
|
32
|
+
| pipelines | enabled, disabled |
|
33
|
+
| testplans | enabled, disabled |
|
34
|
+
| artifacts | enabled, disabled |
|
35
|
+
|
36
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
37
|
+
via the `features` block by using the `Project` resource.
|
38
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
33
39
|
"""
|
34
40
|
pulumi.set(__self__, "features", features)
|
35
41
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -38,13 +44,19 @@ class ProjectFeaturesArgs:
|
|
38
44
|
@pulumi.getter
|
39
45
|
def features(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
40
46
|
"""
|
41
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
47
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
48
|
+
|
49
|
+
| Features | Possible Values |
|
50
|
+
|--------------|-------------------|
|
51
|
+
| boards | enabled, disabled |
|
52
|
+
| repositories | enabled, disabled |
|
53
|
+
| pipelines | enabled, disabled |
|
54
|
+
| testplans | enabled, disabled |
|
55
|
+
| artifacts | enabled, disabled |
|
56
|
+
|
57
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
58
|
+
via the `features` block by using the `Project` resource.
|
59
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
48
60
|
"""
|
49
61
|
return pulumi.get(self, "features")
|
50
62
|
|
@@ -69,13 +81,19 @@ class _ProjectFeaturesState:
|
|
69
81
|
project_id: Optional[pulumi.Input[str]] = None):
|
70
82
|
"""
|
71
83
|
Input properties used for looking up and filtering ProjectFeatures resources.
|
72
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features.
|
73
|
-
Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
84
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
74
85
|
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
86
|
+
| Features | Possible Values |
|
87
|
+
|--------------|-------------------|
|
88
|
+
| boards | enabled, disabled |
|
89
|
+
| repositories | enabled, disabled |
|
90
|
+
| pipelines | enabled, disabled |
|
91
|
+
| testplans | enabled, disabled |
|
92
|
+
| artifacts | enabled, disabled |
|
93
|
+
|
94
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
95
|
+
via the `features` block by using the `Project` resource.
|
96
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
79
97
|
"""
|
80
98
|
if features is not None:
|
81
99
|
pulumi.set(__self__, "features", features)
|
@@ -86,13 +104,19 @@ class _ProjectFeaturesState:
|
|
86
104
|
@pulumi.getter
|
87
105
|
def features(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
88
106
|
"""
|
89
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
107
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
108
|
+
|
109
|
+
| Features | Possible Values |
|
110
|
+
|--------------|-------------------|
|
111
|
+
| boards | enabled, disabled |
|
112
|
+
| repositories | enabled, disabled |
|
113
|
+
| pipelines | enabled, disabled |
|
114
|
+
| testplans | enabled, disabled |
|
115
|
+
| artifacts | enabled, disabled |
|
116
|
+
|
117
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
118
|
+
via the `features` block by using the `Project` resource.
|
119
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
96
120
|
"""
|
97
121
|
return pulumi.get(self, "features")
|
98
122
|
|
@@ -159,13 +183,19 @@ class ProjectFeatures(pulumi.CustomResource):
|
|
159
183
|
|
160
184
|
:param str resource_name: The name of the resource.
|
161
185
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
162
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features.
|
163
|
-
Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
186
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
164
187
|
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
188
|
+
| Features | Possible Values |
|
189
|
+
|--------------|-------------------|
|
190
|
+
| boards | enabled, disabled |
|
191
|
+
| repositories | enabled, disabled |
|
192
|
+
| pipelines | enabled, disabled |
|
193
|
+
| testplans | enabled, disabled |
|
194
|
+
| artifacts | enabled, disabled |
|
195
|
+
|
196
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
197
|
+
via the `features` block by using the `Project` resource.
|
198
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
169
199
|
"""
|
170
200
|
...
|
171
201
|
@overload
|
@@ -263,13 +293,19 @@ class ProjectFeatures(pulumi.CustomResource):
|
|
263
293
|
:param str resource_name: The unique name of the resulting resource.
|
264
294
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
265
295
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
266
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features.
|
267
|
-
|
296
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] features: Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
297
|
+
|
298
|
+
| Features | Possible Values |
|
299
|
+
|--------------|-------------------|
|
300
|
+
| boards | enabled, disabled |
|
301
|
+
| repositories | enabled, disabled |
|
302
|
+
| pipelines | enabled, disabled |
|
303
|
+
| testplans | enabled, disabled |
|
304
|
+
| artifacts | enabled, disabled |
|
268
305
|
|
269
|
-
> **NOTE:**
|
270
|
-
|
271
|
-
|
272
|
-
> However it's not possible to use both methods to manage features, since there'll be conflicts.
|
306
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
307
|
+
via the `features` block by using the `Project` resource.
|
308
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
273
309
|
"""
|
274
310
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
275
311
|
|
@@ -283,13 +319,19 @@ class ProjectFeatures(pulumi.CustomResource):
|
|
283
319
|
@pulumi.getter
|
284
320
|
def features(self) -> pulumi.Output[Mapping[str, str]]:
|
285
321
|
"""
|
286
|
-
Defines the status (`enabled`, `disabled`) of the project features.
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
322
|
+
Defines the status (`enabled`, `disabled`) of the project features. Valid features `boards`, `repositories`, `pipelines`, `testplans`, `artifacts`
|
323
|
+
|
324
|
+
| Features | Possible Values |
|
325
|
+
|--------------|-------------------|
|
326
|
+
| boards | enabled, disabled |
|
327
|
+
| repositories | enabled, disabled |
|
328
|
+
| pipelines | enabled, disabled |
|
329
|
+
| testplans | enabled, disabled |
|
330
|
+
| artifacts | enabled, disabled |
|
331
|
+
|
332
|
+
> **NOTE:** It's possible to define project features both within the `ProjectFeatures` resource and
|
333
|
+
via the `features` block by using the `Project` resource.
|
334
|
+
However it's not possible to use both methods to manage features, since there'll be conflicts.
|
293
335
|
"""
|
294
336
|
return pulumi.get(self, "features")
|
295
337
|
|