pulumi-azuredevops 3.9.0a1743485168__py3-none-any.whl → 3.9.0a1744198018__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 +1 -0
- pulumi_azuredevops/_inputs.py +993 -992
- pulumi_azuredevops/area_permissions.py +71 -70
- pulumi_azuredevops/branch_policy_auto_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_build_validation.py +43 -42
- pulumi_azuredevops/branch_policy_comment_resolution.py +43 -42
- pulumi_azuredevops/branch_policy_merge_types.py +43 -42
- pulumi_azuredevops/branch_policy_min_reviewers.py +43 -42
- pulumi_azuredevops/branch_policy_status_check.py +43 -42
- pulumi_azuredevops/branch_policy_work_item_linking.py +43 -42
- pulumi_azuredevops/build_definition.py +120 -119
- pulumi_azuredevops/build_definition_permissions.py +71 -70
- pulumi_azuredevops/build_folder.py +43 -42
- pulumi_azuredevops/build_folder_permissions.py +71 -70
- pulumi_azuredevops/check_approval.py +120 -119
- pulumi_azuredevops/check_branch_control.py +120 -119
- pulumi_azuredevops/check_business_hours.py +218 -217
- pulumi_azuredevops/check_exclusive_lock.py +64 -63
- pulumi_azuredevops/check_required_template.py +50 -49
- pulumi_azuredevops/check_rest_api.py +218 -217
- pulumi_azuredevops/config/__init__.py +1 -0
- pulumi_azuredevops/config/__init__.pyi +1 -0
- pulumi_azuredevops/config/vars.py +1 -0
- pulumi_azuredevops/dashboard.py +78 -77
- pulumi_azuredevops/elastic_pool.py +169 -168
- pulumi_azuredevops/environment.py +43 -42
- pulumi_azuredevops/environment_resource_kubernetes.py +99 -98
- pulumi_azuredevops/feed.py +29 -28
- pulumi_azuredevops/feed_permission.py +78 -77
- pulumi_azuredevops/feed_retention_policy.py +57 -56
- pulumi_azuredevops/get_agent_queue.py +13 -12
- pulumi_azuredevops/get_area.py +19 -18
- pulumi_azuredevops/get_build_definition.py +23 -22
- pulumi_azuredevops/get_client_config.py +7 -6
- pulumi_azuredevops/get_descriptor.py +8 -7
- pulumi_azuredevops/get_environment.py +18 -17
- pulumi_azuredevops/get_feed.py +17 -16
- pulumi_azuredevops/get_git_repository.py +20 -19
- pulumi_azuredevops/get_group.py +16 -15
- pulumi_azuredevops/get_group_membership.py +8 -7
- pulumi_azuredevops/get_groups.py +7 -6
- pulumi_azuredevops/get_identity_group.py +14 -13
- pulumi_azuredevops/get_identity_groups.py +7 -6
- pulumi_azuredevops/get_identity_users.py +14 -13
- pulumi_azuredevops/get_iteration.py +19 -18
- pulumi_azuredevops/get_pool.py +10 -9
- pulumi_azuredevops/get_pools.py +2 -1
- pulumi_azuredevops/get_project.py +18 -17
- pulumi_azuredevops/get_projects.py +12 -11
- pulumi_azuredevops/get_repositories.py +17 -16
- pulumi_azuredevops/get_securityrole_definitions.py +7 -6
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -30
- pulumi_azuredevops/get_service_endpoint_github.py +19 -18
- pulumi_azuredevops/get_service_principal.py +10 -9
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +29 -28
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +19 -18
- pulumi_azuredevops/get_serviceendpoint_npm.py +20 -19
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +19 -18
- pulumi_azuredevops/get_storage_key.py +8 -7
- pulumi_azuredevops/get_team.py +21 -20
- pulumi_azuredevops/get_teams.py +12 -11
- pulumi_azuredevops/get_user.py +14 -13
- pulumi_azuredevops/get_users.py +84 -21
- pulumi_azuredevops/get_variable_group.py +14 -13
- pulumi_azuredevops/git.py +113 -112
- pulumi_azuredevops/git_permissions.py +85 -84
- pulumi_azuredevops/git_repository_branch.py +78 -77
- pulumi_azuredevops/git_repository_file.py +85 -84
- pulumi_azuredevops/group.py +134 -133
- pulumi_azuredevops/group_entitlement.py +85 -84
- pulumi_azuredevops/group_membership.py +43 -42
- pulumi_azuredevops/iterative_permissions.py +71 -70
- pulumi_azuredevops/library_permissions.py +57 -56
- pulumi_azuredevops/outputs.py +999 -982
- pulumi_azuredevops/pipeline_authorization.py +71 -70
- pulumi_azuredevops/pool.py +57 -56
- pulumi_azuredevops/project.py +92 -91
- pulumi_azuredevops/project_features.py +25 -24
- pulumi_azuredevops/project_permissions.py +57 -56
- pulumi_azuredevops/project_pipeline_settings.py +99 -98
- pulumi_azuredevops/project_tags.py +29 -28
- pulumi_azuredevops/provider.py +157 -156
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +43 -42
- pulumi_azuredevops/repository_policy_author_email_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_case_enforcement.py +71 -70
- pulumi_azuredevops/repository_policy_check_credentials.py +57 -56
- pulumi_azuredevops/repository_policy_file_path_pattern.py +71 -70
- pulumi_azuredevops/repository_policy_max_file_size.py +71 -70
- pulumi_azuredevops/repository_policy_max_path_length.py +71 -70
- pulumi_azuredevops/repository_policy_reserved_names.py +57 -56
- pulumi_azuredevops/resource_authorization.py +71 -70
- pulumi_azuredevops/securityrole_assignment.py +57 -56
- pulumi_azuredevops/service_endpoint_artifactory.py +62 -61
- pulumi_azuredevops/service_endpoint_aws.py +144 -143
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +86 -85
- pulumi_azuredevops/service_endpoint_azure_ecr.py +169 -168
- pulumi_azuredevops/service_endpoint_azure_rm.py +195 -194
- pulumi_azuredevops/service_endpoint_bit_bucket.py +72 -71
- pulumi_azuredevops/service_endpoint_docker_registry.py +114 -113
- pulumi_azuredevops/service_endpoint_generic.py +86 -85
- pulumi_azuredevops/service_endpoint_generic_git.py +100 -99
- pulumi_azuredevops/service_endpoint_git_hub.py +44 -43
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +58 -57
- pulumi_azuredevops/service_endpoint_git_lab.py +86 -85
- pulumi_azuredevops/service_endpoint_kubernetes.py +72 -71
- pulumi_azuredevops/service_endpoint_npm.py +76 -75
- pulumi_azuredevops/service_endpoint_pipeline.py +58 -57
- pulumi_azuredevops/service_endpoint_service_fabric.py +58 -57
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +62 -61
- pulumi_azuredevops/service_endpoint_sonar_qube.py +76 -75
- pulumi_azuredevops/service_endpoint_ssh.py +114 -113
- pulumi_azuredevops/service_principal_entitlement.py +71 -70
- pulumi_azuredevops/serviceendpoint_argocd.py +62 -61
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +72 -71
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +114 -113
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +142 -141
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +114 -113
- pulumi_azuredevops/serviceendpoint_externaltfs.py +58 -57
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +116 -115
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +86 -85
- pulumi_azuredevops/serviceendpoint_jenkins.py +100 -99
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +62 -61
- pulumi_azuredevops/serviceendpoint_maven.py +72 -71
- pulumi_azuredevops/serviceendpoint_nexus.py +86 -85
- pulumi_azuredevops/serviceendpoint_nuget.py +114 -113
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +86 -85
- pulumi_azuredevops/serviceendpoint_permissions.py +71 -70
- pulumi_azuredevops/serviceendpoint_snyk.py +72 -71
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +58 -57
- pulumi_azuredevops/servicehook_permissions.py +57 -56
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +85 -84
- pulumi_azuredevops/tagging_permissions.py +57 -56
- pulumi_azuredevops/team.py +78 -77
- pulumi_azuredevops/team_administrators.py +57 -56
- pulumi_azuredevops/team_members.py +57 -56
- pulumi_azuredevops/user.py +78 -77
- pulumi_azuredevops/variable_group.py +57 -56
- pulumi_azuredevops/variable_group_permissions.py +71 -70
- pulumi_azuredevops/wiki.py +99 -98
- pulumi_azuredevops/wiki_page.py +67 -66
- pulumi_azuredevops/work_item_query_permissions.py +71 -70
- pulumi_azuredevops/workitem.py +113 -112
- {pulumi_azuredevops-3.9.0a1743485168.dist-info → pulumi_azuredevops-3.9.0a1744198018.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.9.0a1744198018.dist-info/RECORD +153 -0
- pulumi_azuredevops-3.9.0a1743485168.dist-info/RECORD +0 -153
- {pulumi_azuredevops-3.9.0a1743485168.dist-info → pulumi_azuredevops-3.9.0a1744198018.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.9.0a1743485168.dist-info → pulumi_azuredevops-3.9.0a1744198018.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -19,23 +20,23 @@ __all__ = ['PipelineAuthorizationArgs', 'PipelineAuthorization']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class PipelineAuthorizationArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
project_id: pulumi.Input[str],
|
23
|
-
resource_id: pulumi.Input[str],
|
24
|
-
type: pulumi.Input[str],
|
25
|
-
pipeline_id: Optional[pulumi.Input[int]] = None,
|
26
|
-
pipeline_project_id: Optional[pulumi.Input[str]] = None):
|
23
|
+
project_id: pulumi.Input[builtins.str],
|
24
|
+
resource_id: pulumi.Input[builtins.str],
|
25
|
+
type: pulumi.Input[builtins.str],
|
26
|
+
pipeline_id: Optional[pulumi.Input[builtins.int]] = None,
|
27
|
+
pipeline_project_id: Optional[pulumi.Input[builtins.str]] = None):
|
27
28
|
"""
|
28
29
|
The set of arguments for constructing a PipelineAuthorization resource.
|
29
|
-
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
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. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
30
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
31
|
+
:param pulumi.Input[builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
32
|
+
:param pulumi.Input[builtins.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
33
|
|
33
34
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
34
35
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
35
36
|
Typical process for connecting to GitHub:
|
36
37
|
**Pipeline <----> Service Connection(`endpoint`) <----> GitHub Repository**
|
37
|
-
:param pulumi.Input[int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
38
|
-
: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
|
38
|
+
:param pulumi.Input[builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
39
|
+
:param pulumi.Input[builtins.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
|
39
40
|
"""
|
40
41
|
pulumi.set(__self__, "project_id", project_id)
|
41
42
|
pulumi.set(__self__, "resource_id", resource_id)
|
@@ -47,31 +48,31 @@ class PipelineAuthorizationArgs:
|
|
47
48
|
|
48
49
|
@property
|
49
50
|
@pulumi.getter(name="projectId")
|
50
|
-
def project_id(self) -> pulumi.Input[str]:
|
51
|
+
def project_id(self) -> pulumi.Input[builtins.str]:
|
51
52
|
"""
|
52
53
|
The ID of the project. Changing this forces a new resource to be created
|
53
54
|
"""
|
54
55
|
return pulumi.get(self, "project_id")
|
55
56
|
|
56
57
|
@project_id.setter
|
57
|
-
def project_id(self, value: pulumi.Input[str]):
|
58
|
+
def project_id(self, value: pulumi.Input[builtins.str]):
|
58
59
|
pulumi.set(self, "project_id", value)
|
59
60
|
|
60
61
|
@property
|
61
62
|
@pulumi.getter(name="resourceId")
|
62
|
-
def resource_id(self) -> pulumi.Input[str]:
|
63
|
+
def resource_id(self) -> pulumi.Input[builtins.str]:
|
63
64
|
"""
|
64
65
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
65
66
|
"""
|
66
67
|
return pulumi.get(self, "resource_id")
|
67
68
|
|
68
69
|
@resource_id.setter
|
69
|
-
def resource_id(self, value: pulumi.Input[str]):
|
70
|
+
def resource_id(self, value: pulumi.Input[builtins.str]):
|
70
71
|
pulumi.set(self, "resource_id", value)
|
71
72
|
|
72
73
|
@property
|
73
74
|
@pulumi.getter
|
74
|
-
def type(self) -> pulumi.Input[str]:
|
75
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
75
76
|
"""
|
76
77
|
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
78
|
|
@@ -83,49 +84,49 @@ class PipelineAuthorizationArgs:
|
|
83
84
|
return pulumi.get(self, "type")
|
84
85
|
|
85
86
|
@type.setter
|
86
|
-
def type(self, value: pulumi.Input[str]):
|
87
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
87
88
|
pulumi.set(self, "type", value)
|
88
89
|
|
89
90
|
@property
|
90
91
|
@pulumi.getter(name="pipelineId")
|
91
|
-
def pipeline_id(self) -> Optional[pulumi.Input[int]]:
|
92
|
+
def pipeline_id(self) -> Optional[pulumi.Input[builtins.int]]:
|
92
93
|
"""
|
93
94
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
94
95
|
"""
|
95
96
|
return pulumi.get(self, "pipeline_id")
|
96
97
|
|
97
98
|
@pipeline_id.setter
|
98
|
-
def pipeline_id(self, value: Optional[pulumi.Input[int]]):
|
99
|
+
def pipeline_id(self, value: Optional[pulumi.Input[builtins.int]]):
|
99
100
|
pulumi.set(self, "pipeline_id", value)
|
100
101
|
|
101
102
|
@property
|
102
103
|
@pulumi.getter(name="pipelineProjectId")
|
103
|
-
def pipeline_project_id(self) -> Optional[pulumi.Input[str]]:
|
104
|
+
def pipeline_project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
104
105
|
"""
|
105
106
|
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
|
106
107
|
"""
|
107
108
|
return pulumi.get(self, "pipeline_project_id")
|
108
109
|
|
109
110
|
@pipeline_project_id.setter
|
110
|
-
def pipeline_project_id(self, value: Optional[pulumi.Input[str]]):
|
111
|
+
def pipeline_project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
111
112
|
pulumi.set(self, "pipeline_project_id", value)
|
112
113
|
|
113
114
|
|
114
115
|
@pulumi.input_type
|
115
116
|
class _PipelineAuthorizationState:
|
116
117
|
def __init__(__self__, *,
|
117
|
-
pipeline_id: Optional[pulumi.Input[int]] = None,
|
118
|
-
pipeline_project_id: Optional[pulumi.Input[str]] = None,
|
119
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
120
|
-
resource_id: Optional[pulumi.Input[str]] = None,
|
121
|
-
type: Optional[pulumi.Input[str]] = None):
|
118
|
+
pipeline_id: Optional[pulumi.Input[builtins.int]] = None,
|
119
|
+
pipeline_project_id: Optional[pulumi.Input[builtins.str]] = None,
|
120
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
121
|
+
resource_id: Optional[pulumi.Input[builtins.str]] = None,
|
122
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
122
123
|
"""
|
123
124
|
Input properties used for looking up and filtering PipelineAuthorization resources.
|
124
|
-
:param pulumi.Input[int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
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
|
-
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
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. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
125
|
+
:param pulumi.Input[builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
126
|
+
:param pulumi.Input[builtins.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
|
127
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
128
|
+
:param pulumi.Input[builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
129
|
+
:param pulumi.Input[builtins.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
130
|
|
130
131
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
131
132
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -145,55 +146,55 @@ class _PipelineAuthorizationState:
|
|
145
146
|
|
146
147
|
@property
|
147
148
|
@pulumi.getter(name="pipelineId")
|
148
|
-
def pipeline_id(self) -> Optional[pulumi.Input[int]]:
|
149
|
+
def pipeline_id(self) -> Optional[pulumi.Input[builtins.int]]:
|
149
150
|
"""
|
150
151
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
151
152
|
"""
|
152
153
|
return pulumi.get(self, "pipeline_id")
|
153
154
|
|
154
155
|
@pipeline_id.setter
|
155
|
-
def pipeline_id(self, value: Optional[pulumi.Input[int]]):
|
156
|
+
def pipeline_id(self, value: Optional[pulumi.Input[builtins.int]]):
|
156
157
|
pulumi.set(self, "pipeline_id", value)
|
157
158
|
|
158
159
|
@property
|
159
160
|
@pulumi.getter(name="pipelineProjectId")
|
160
|
-
def pipeline_project_id(self) -> Optional[pulumi.Input[str]]:
|
161
|
+
def pipeline_project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
161
162
|
"""
|
162
163
|
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
|
163
164
|
"""
|
164
165
|
return pulumi.get(self, "pipeline_project_id")
|
165
166
|
|
166
167
|
@pipeline_project_id.setter
|
167
|
-
def pipeline_project_id(self, value: Optional[pulumi.Input[str]]):
|
168
|
+
def pipeline_project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
168
169
|
pulumi.set(self, "pipeline_project_id", value)
|
169
170
|
|
170
171
|
@property
|
171
172
|
@pulumi.getter(name="projectId")
|
172
|
-
def project_id(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
def project_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
173
174
|
"""
|
174
175
|
The ID of the project. Changing this forces a new resource to be created
|
175
176
|
"""
|
176
177
|
return pulumi.get(self, "project_id")
|
177
178
|
|
178
179
|
@project_id.setter
|
179
|
-
def project_id(self, value: Optional[pulumi.Input[str]]):
|
180
|
+
def project_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
180
181
|
pulumi.set(self, "project_id", value)
|
181
182
|
|
182
183
|
@property
|
183
184
|
@pulumi.getter(name="resourceId")
|
184
|
-
def resource_id(self) -> Optional[pulumi.Input[str]]:
|
185
|
+
def resource_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
185
186
|
"""
|
186
187
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
187
188
|
"""
|
188
189
|
return pulumi.get(self, "resource_id")
|
189
190
|
|
190
191
|
@resource_id.setter
|
191
|
-
def resource_id(self, value: Optional[pulumi.Input[str]]):
|
192
|
+
def resource_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
192
193
|
pulumi.set(self, "resource_id", value)
|
193
194
|
|
194
195
|
@property
|
195
196
|
@pulumi.getter
|
196
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
197
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
197
198
|
"""
|
198
199
|
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
200
|
|
@@ -205,7 +206,7 @@ class _PipelineAuthorizationState:
|
|
205
206
|
return pulumi.get(self, "type")
|
206
207
|
|
207
208
|
@type.setter
|
208
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
209
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
209
210
|
pulumi.set(self, "type", value)
|
210
211
|
|
211
212
|
|
@@ -214,11 +215,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
214
215
|
def __init__(__self__,
|
215
216
|
resource_name: str,
|
216
217
|
opts: Optional[pulumi.ResourceOptions] = None,
|
217
|
-
pipeline_id: Optional[pulumi.Input[int]] = None,
|
218
|
-
pipeline_project_id: Optional[pulumi.Input[str]] = None,
|
219
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
220
|
-
resource_id: Optional[pulumi.Input[str]] = None,
|
221
|
-
type: Optional[pulumi.Input[str]] = None,
|
218
|
+
pipeline_id: Optional[pulumi.Input[builtins.int]] = None,
|
219
|
+
pipeline_project_id: Optional[pulumi.Input[builtins.str]] = None,
|
220
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
221
|
+
resource_id: Optional[pulumi.Input[builtins.str]] = None,
|
222
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
222
223
|
__props__=None):
|
223
224
|
"""
|
224
225
|
Manage pipeline access permissions to resources.
|
@@ -296,11 +297,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
296
297
|
|
297
298
|
:param str resource_name: The name of the resource.
|
298
299
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
299
|
-
:param pulumi.Input[int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
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
|
-
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
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. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
300
|
+
:param pulumi.Input[builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
301
|
+
:param pulumi.Input[builtins.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
|
302
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
303
|
+
:param pulumi.Input[builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
304
|
+
:param pulumi.Input[builtins.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
305
|
|
305
306
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
306
307
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -402,11 +403,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
402
403
|
def _internal_init(__self__,
|
403
404
|
resource_name: str,
|
404
405
|
opts: Optional[pulumi.ResourceOptions] = None,
|
405
|
-
pipeline_id: Optional[pulumi.Input[int]] = None,
|
406
|
-
pipeline_project_id: Optional[pulumi.Input[str]] = None,
|
407
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
408
|
-
resource_id: Optional[pulumi.Input[str]] = None,
|
409
|
-
type: Optional[pulumi.Input[str]] = None,
|
406
|
+
pipeline_id: Optional[pulumi.Input[builtins.int]] = None,
|
407
|
+
pipeline_project_id: Optional[pulumi.Input[builtins.str]] = None,
|
408
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
409
|
+
resource_id: Optional[pulumi.Input[builtins.str]] = None,
|
410
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
410
411
|
__props__=None):
|
411
412
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
412
413
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -437,11 +438,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
437
438
|
def get(resource_name: str,
|
438
439
|
id: pulumi.Input[str],
|
439
440
|
opts: Optional[pulumi.ResourceOptions] = None,
|
440
|
-
pipeline_id: Optional[pulumi.Input[int]] = None,
|
441
|
-
pipeline_project_id: Optional[pulumi.Input[str]] = None,
|
442
|
-
project_id: Optional[pulumi.Input[str]] = None,
|
443
|
-
resource_id: Optional[pulumi.Input[str]] = None,
|
444
|
-
type: Optional[pulumi.Input[str]] = None) -> 'PipelineAuthorization':
|
441
|
+
pipeline_id: Optional[pulumi.Input[builtins.int]] = None,
|
442
|
+
pipeline_project_id: Optional[pulumi.Input[builtins.str]] = None,
|
443
|
+
project_id: Optional[pulumi.Input[builtins.str]] = None,
|
444
|
+
resource_id: Optional[pulumi.Input[builtins.str]] = None,
|
445
|
+
type: Optional[pulumi.Input[builtins.str]] = None) -> 'PipelineAuthorization':
|
445
446
|
"""
|
446
447
|
Get an existing PipelineAuthorization resource's state with the given name, id, and optional extra
|
447
448
|
properties used to qualify the lookup.
|
@@ -449,11 +450,11 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
449
450
|
:param str resource_name: The unique name of the resulting resource.
|
450
451
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
451
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
452
|
-
:param pulumi.Input[int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
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
|
-
:param pulumi.Input[str] project_id: The ID of the project. Changing this forces a new resource to be created
|
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. Possible values are: `endpoint`, `queue`, `variablegroup`, `environment`, `repository`. Changing this forces a new resource to be created
|
453
|
+
:param pulumi.Input[builtins.int] pipeline_id: The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
454
|
+
:param pulumi.Input[builtins.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
|
455
|
+
:param pulumi.Input[builtins.str] project_id: The ID of the project. Changing this forces a new resource to be created
|
456
|
+
:param pulumi.Input[builtins.str] resource_id: The ID of the resource to authorize. Changing this forces a new resource to be created
|
457
|
+
:param pulumi.Input[builtins.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
458
|
|
458
459
|
> **Note** `repository` is for AzureDevOps repository. To authorize repository other than
|
459
460
|
Azure DevOps like GitHub you need to use service connection(`endpoint`) to connect and authorize.
|
@@ -473,7 +474,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
473
474
|
|
474
475
|
@property
|
475
476
|
@pulumi.getter(name="pipelineId")
|
476
|
-
def pipeline_id(self) -> pulumi.Output[Optional[int]]:
|
477
|
+
def pipeline_id(self) -> pulumi.Output[Optional[builtins.int]]:
|
477
478
|
"""
|
478
479
|
The ID of the pipeline. If not configured, all pipelines will be authorized. Changing this forces a new resource to be created.
|
479
480
|
"""
|
@@ -481,7 +482,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
481
482
|
|
482
483
|
@property
|
483
484
|
@pulumi.getter(name="pipelineProjectId")
|
484
|
-
def pipeline_project_id(self) -> pulumi.Output[Optional[str]]:
|
485
|
+
def pipeline_project_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
485
486
|
"""
|
486
487
|
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
|
487
488
|
"""
|
@@ -489,7 +490,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
489
490
|
|
490
491
|
@property
|
491
492
|
@pulumi.getter(name="projectId")
|
492
|
-
def project_id(self) -> pulumi.Output[str]:
|
493
|
+
def project_id(self) -> pulumi.Output[builtins.str]:
|
493
494
|
"""
|
494
495
|
The ID of the project. Changing this forces a new resource to be created
|
495
496
|
"""
|
@@ -497,7 +498,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
497
498
|
|
498
499
|
@property
|
499
500
|
@pulumi.getter(name="resourceId")
|
500
|
-
def resource_id(self) -> pulumi.Output[str]:
|
501
|
+
def resource_id(self) -> pulumi.Output[builtins.str]:
|
501
502
|
"""
|
502
503
|
The ID of the resource to authorize. Changing this forces a new resource to be created
|
503
504
|
"""
|
@@ -505,7 +506,7 @@ class PipelineAuthorization(pulumi.CustomResource):
|
|
505
506
|
|
506
507
|
@property
|
507
508
|
@pulumi.getter
|
508
|
-
def type(self) -> pulumi.Output[str]:
|
509
|
+
def type(self) -> pulumi.Output[builtins.str]:
|
509
510
|
"""
|
510
511
|
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
512
|
|
pulumi_azuredevops/pool.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
|
+
import builtins
|
5
6
|
import copy
|
6
7
|
import warnings
|
7
8
|
import sys
|
@@ -19,16 +20,16 @@ __all__ = ['PoolArgs', 'Pool']
|
|
19
20
|
@pulumi.input_type
|
20
21
|
class PoolArgs:
|
21
22
|
def __init__(__self__, *,
|
22
|
-
auto_provision: Optional[pulumi.Input[bool]] = None,
|
23
|
-
auto_update: Optional[pulumi.Input[bool]] = None,
|
24
|
-
name: Optional[pulumi.Input[str]] = None,
|
25
|
-
pool_type: Optional[pulumi.Input[str]] = None):
|
23
|
+
auto_provision: Optional[pulumi.Input[builtins.bool]] = None,
|
24
|
+
auto_update: Optional[pulumi.Input[builtins.bool]] = None,
|
25
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
26
|
+
pool_type: Optional[pulumi.Input[builtins.str]] = None):
|
26
27
|
"""
|
27
28
|
The set of arguments for constructing a Pool resource.
|
28
|
-
:param pulumi.Input[bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
29
|
-
:param pulumi.Input[bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
30
|
-
:param pulumi.Input[str] name: The name of the agent pool.
|
31
|
-
:param pulumi.Input[str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
29
|
+
:param pulumi.Input[builtins.bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
30
|
+
:param pulumi.Input[builtins.bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
31
|
+
:param pulumi.Input[builtins.str] name: The name of the agent pool.
|
32
|
+
:param pulumi.Input[builtins.str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
32
33
|
"""
|
33
34
|
if auto_provision is not None:
|
34
35
|
pulumi.set(__self__, "auto_provision", auto_provision)
|
@@ -41,66 +42,66 @@ class PoolArgs:
|
|
41
42
|
|
42
43
|
@property
|
43
44
|
@pulumi.getter(name="autoProvision")
|
44
|
-
def auto_provision(self) -> Optional[pulumi.Input[bool]]:
|
45
|
+
def auto_provision(self) -> Optional[pulumi.Input[builtins.bool]]:
|
45
46
|
"""
|
46
47
|
Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
47
48
|
"""
|
48
49
|
return pulumi.get(self, "auto_provision")
|
49
50
|
|
50
51
|
@auto_provision.setter
|
51
|
-
def auto_provision(self, value: Optional[pulumi.Input[bool]]):
|
52
|
+
def auto_provision(self, value: Optional[pulumi.Input[builtins.bool]]):
|
52
53
|
pulumi.set(self, "auto_provision", value)
|
53
54
|
|
54
55
|
@property
|
55
56
|
@pulumi.getter(name="autoUpdate")
|
56
|
-
def auto_update(self) -> Optional[pulumi.Input[bool]]:
|
57
|
+
def auto_update(self) -> Optional[pulumi.Input[builtins.bool]]:
|
57
58
|
"""
|
58
59
|
Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
59
60
|
"""
|
60
61
|
return pulumi.get(self, "auto_update")
|
61
62
|
|
62
63
|
@auto_update.setter
|
63
|
-
def auto_update(self, value: Optional[pulumi.Input[bool]]):
|
64
|
+
def auto_update(self, value: Optional[pulumi.Input[builtins.bool]]):
|
64
65
|
pulumi.set(self, "auto_update", value)
|
65
66
|
|
66
67
|
@property
|
67
68
|
@pulumi.getter
|
68
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
69
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
69
70
|
"""
|
70
71
|
The name of the agent pool.
|
71
72
|
"""
|
72
73
|
return pulumi.get(self, "name")
|
73
74
|
|
74
75
|
@name.setter
|
75
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
76
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
76
77
|
pulumi.set(self, "name", value)
|
77
78
|
|
78
79
|
@property
|
79
80
|
@pulumi.getter(name="poolType")
|
80
|
-
def pool_type(self) -> Optional[pulumi.Input[str]]:
|
81
|
+
def pool_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
81
82
|
"""
|
82
83
|
Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
83
84
|
"""
|
84
85
|
return pulumi.get(self, "pool_type")
|
85
86
|
|
86
87
|
@pool_type.setter
|
87
|
-
def pool_type(self, value: Optional[pulumi.Input[str]]):
|
88
|
+
def pool_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
88
89
|
pulumi.set(self, "pool_type", value)
|
89
90
|
|
90
91
|
|
91
92
|
@pulumi.input_type
|
92
93
|
class _PoolState:
|
93
94
|
def __init__(__self__, *,
|
94
|
-
auto_provision: Optional[pulumi.Input[bool]] = None,
|
95
|
-
auto_update: Optional[pulumi.Input[bool]] = None,
|
96
|
-
name: Optional[pulumi.Input[str]] = None,
|
97
|
-
pool_type: Optional[pulumi.Input[str]] = None):
|
95
|
+
auto_provision: Optional[pulumi.Input[builtins.bool]] = None,
|
96
|
+
auto_update: Optional[pulumi.Input[builtins.bool]] = None,
|
97
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
98
|
+
pool_type: Optional[pulumi.Input[builtins.str]] = None):
|
98
99
|
"""
|
99
100
|
Input properties used for looking up and filtering Pool resources.
|
100
|
-
:param pulumi.Input[bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
101
|
-
:param pulumi.Input[bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
102
|
-
:param pulumi.Input[str] name: The name of the agent pool.
|
103
|
-
:param pulumi.Input[str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
101
|
+
:param pulumi.Input[builtins.bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
102
|
+
:param pulumi.Input[builtins.bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
103
|
+
:param pulumi.Input[builtins.str] name: The name of the agent pool.
|
104
|
+
:param pulumi.Input[builtins.str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
104
105
|
"""
|
105
106
|
if auto_provision is not None:
|
106
107
|
pulumi.set(__self__, "auto_provision", auto_provision)
|
@@ -113,50 +114,50 @@ class _PoolState:
|
|
113
114
|
|
114
115
|
@property
|
115
116
|
@pulumi.getter(name="autoProvision")
|
116
|
-
def auto_provision(self) -> Optional[pulumi.Input[bool]]:
|
117
|
+
def auto_provision(self) -> Optional[pulumi.Input[builtins.bool]]:
|
117
118
|
"""
|
118
119
|
Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
119
120
|
"""
|
120
121
|
return pulumi.get(self, "auto_provision")
|
121
122
|
|
122
123
|
@auto_provision.setter
|
123
|
-
def auto_provision(self, value: Optional[pulumi.Input[bool]]):
|
124
|
+
def auto_provision(self, value: Optional[pulumi.Input[builtins.bool]]):
|
124
125
|
pulumi.set(self, "auto_provision", value)
|
125
126
|
|
126
127
|
@property
|
127
128
|
@pulumi.getter(name="autoUpdate")
|
128
|
-
def auto_update(self) -> Optional[pulumi.Input[bool]]:
|
129
|
+
def auto_update(self) -> Optional[pulumi.Input[builtins.bool]]:
|
129
130
|
"""
|
130
131
|
Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
131
132
|
"""
|
132
133
|
return pulumi.get(self, "auto_update")
|
133
134
|
|
134
135
|
@auto_update.setter
|
135
|
-
def auto_update(self, value: Optional[pulumi.Input[bool]]):
|
136
|
+
def auto_update(self, value: Optional[pulumi.Input[builtins.bool]]):
|
136
137
|
pulumi.set(self, "auto_update", value)
|
137
138
|
|
138
139
|
@property
|
139
140
|
@pulumi.getter
|
140
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
141
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
141
142
|
"""
|
142
143
|
The name of the agent pool.
|
143
144
|
"""
|
144
145
|
return pulumi.get(self, "name")
|
145
146
|
|
146
147
|
@name.setter
|
147
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
148
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
148
149
|
pulumi.set(self, "name", value)
|
149
150
|
|
150
151
|
@property
|
151
152
|
@pulumi.getter(name="poolType")
|
152
|
-
def pool_type(self) -> Optional[pulumi.Input[str]]:
|
153
|
+
def pool_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
153
154
|
"""
|
154
155
|
Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
155
156
|
"""
|
156
157
|
return pulumi.get(self, "pool_type")
|
157
158
|
|
158
159
|
@pool_type.setter
|
159
|
-
def pool_type(self, value: Optional[pulumi.Input[str]]):
|
160
|
+
def pool_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
160
161
|
pulumi.set(self, "pool_type", value)
|
161
162
|
|
162
163
|
|
@@ -165,10 +166,10 @@ class Pool(pulumi.CustomResource):
|
|
165
166
|
def __init__(__self__,
|
166
167
|
resource_name: str,
|
167
168
|
opts: Optional[pulumi.ResourceOptions] = None,
|
168
|
-
auto_provision: Optional[pulumi.Input[bool]] = None,
|
169
|
-
auto_update: Optional[pulumi.Input[bool]] = None,
|
170
|
-
name: Optional[pulumi.Input[str]] = None,
|
171
|
-
pool_type: Optional[pulumi.Input[str]] = None,
|
169
|
+
auto_provision: Optional[pulumi.Input[builtins.bool]] = None,
|
170
|
+
auto_update: Optional[pulumi.Input[builtins.bool]] = None,
|
171
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
172
|
+
pool_type: Optional[pulumi.Input[builtins.str]] = None,
|
172
173
|
__props__=None):
|
173
174
|
"""
|
174
175
|
Manages an agent pool within Azure DevOps.
|
@@ -199,10 +200,10 @@ class Pool(pulumi.CustomResource):
|
|
199
200
|
|
200
201
|
:param str resource_name: The name of the resource.
|
201
202
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
202
|
-
:param pulumi.Input[bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
203
|
-
:param pulumi.Input[bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
204
|
-
:param pulumi.Input[str] name: The name of the agent pool.
|
205
|
-
:param pulumi.Input[str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
203
|
+
:param pulumi.Input[builtins.bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
204
|
+
:param pulumi.Input[builtins.bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
205
|
+
:param pulumi.Input[builtins.str] name: The name of the agent pool.
|
206
|
+
:param pulumi.Input[builtins.str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
206
207
|
"""
|
207
208
|
...
|
208
209
|
@overload
|
@@ -252,10 +253,10 @@ class Pool(pulumi.CustomResource):
|
|
252
253
|
def _internal_init(__self__,
|
253
254
|
resource_name: str,
|
254
255
|
opts: Optional[pulumi.ResourceOptions] = None,
|
255
|
-
auto_provision: Optional[pulumi.Input[bool]] = None,
|
256
|
-
auto_update: Optional[pulumi.Input[bool]] = None,
|
257
|
-
name: Optional[pulumi.Input[str]] = None,
|
258
|
-
pool_type: Optional[pulumi.Input[str]] = None,
|
256
|
+
auto_provision: Optional[pulumi.Input[builtins.bool]] = None,
|
257
|
+
auto_update: Optional[pulumi.Input[builtins.bool]] = None,
|
258
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
259
|
+
pool_type: Optional[pulumi.Input[builtins.str]] = None,
|
259
260
|
__props__=None):
|
260
261
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
261
262
|
if not isinstance(opts, pulumi.ResourceOptions):
|
@@ -279,10 +280,10 @@ class Pool(pulumi.CustomResource):
|
|
279
280
|
def get(resource_name: str,
|
280
281
|
id: pulumi.Input[str],
|
281
282
|
opts: Optional[pulumi.ResourceOptions] = None,
|
282
|
-
auto_provision: Optional[pulumi.Input[bool]] = None,
|
283
|
-
auto_update: Optional[pulumi.Input[bool]] = None,
|
284
|
-
name: Optional[pulumi.Input[str]] = None,
|
285
|
-
pool_type: Optional[pulumi.Input[str]] = None) -> 'Pool':
|
283
|
+
auto_provision: Optional[pulumi.Input[builtins.bool]] = None,
|
284
|
+
auto_update: Optional[pulumi.Input[builtins.bool]] = None,
|
285
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
286
|
+
pool_type: Optional[pulumi.Input[builtins.str]] = None) -> 'Pool':
|
286
287
|
"""
|
287
288
|
Get an existing Pool resource's state with the given name, id, and optional extra
|
288
289
|
properties used to qualify the lookup.
|
@@ -290,10 +291,10 @@ class Pool(pulumi.CustomResource):
|
|
290
291
|
:param str resource_name: The unique name of the resulting resource.
|
291
292
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
292
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
293
|
-
:param pulumi.Input[bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
294
|
-
:param pulumi.Input[bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
295
|
-
:param pulumi.Input[str] name: The name of the agent pool.
|
296
|
-
:param pulumi.Input[str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
294
|
+
:param pulumi.Input[builtins.bool] auto_provision: Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
295
|
+
:param pulumi.Input[builtins.bool] auto_update: Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
296
|
+
:param pulumi.Input[builtins.str] name: The name of the agent pool.
|
297
|
+
:param pulumi.Input[builtins.str] pool_type: Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
297
298
|
"""
|
298
299
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
299
300
|
|
@@ -307,7 +308,7 @@ class Pool(pulumi.CustomResource):
|
|
307
308
|
|
308
309
|
@property
|
309
310
|
@pulumi.getter(name="autoProvision")
|
310
|
-
def auto_provision(self) -> pulumi.Output[Optional[bool]]:
|
311
|
+
def auto_provision(self) -> pulumi.Output[Optional[builtins.bool]]:
|
311
312
|
"""
|
312
313
|
Specifies whether a queue should be automatically provisioned for each project collection. Defaults to `false`.
|
313
314
|
"""
|
@@ -315,7 +316,7 @@ class Pool(pulumi.CustomResource):
|
|
315
316
|
|
316
317
|
@property
|
317
318
|
@pulumi.getter(name="autoUpdate")
|
318
|
-
def auto_update(self) -> pulumi.Output[Optional[bool]]:
|
319
|
+
def auto_update(self) -> pulumi.Output[Optional[builtins.bool]]:
|
319
320
|
"""
|
320
321
|
Specifies whether or not agents within the pool should be automatically updated. Defaults to `true`.
|
321
322
|
"""
|
@@ -323,7 +324,7 @@ class Pool(pulumi.CustomResource):
|
|
323
324
|
|
324
325
|
@property
|
325
326
|
@pulumi.getter
|
326
|
-
def name(self) -> pulumi.Output[str]:
|
327
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
327
328
|
"""
|
328
329
|
The name of the agent pool.
|
329
330
|
"""
|
@@ -331,7 +332,7 @@ class Pool(pulumi.CustomResource):
|
|
331
332
|
|
332
333
|
@property
|
333
334
|
@pulumi.getter(name="poolType")
|
334
|
-
def pool_type(self) -> pulumi.Output[Optional[str]]:
|
335
|
+
def pool_type(self) -> pulumi.Output[Optional[builtins.str]]:
|
335
336
|
"""
|
336
337
|
Specifies whether the agent pool type is Automation or Deployment. Defaults to `automation`.
|
337
338
|
"""
|