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
@@ -26,7 +26,7 @@ class RepositoryPolicyMaxFileSizeArgs:
|
|
26
26
|
repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a RepositoryPolicyMaxFileSize resource.
|
29
|
-
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit.
|
29
|
+
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
30
30
|
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
31
31
|
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
32
32
|
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
@@ -45,7 +45,7 @@ class RepositoryPolicyMaxFileSizeArgs:
|
|
45
45
|
@pulumi.getter(name="maxFileSize")
|
46
46
|
def max_file_size(self) -> pulumi.Input[int]:
|
47
47
|
"""
|
48
|
-
Block pushes that contain new or updated files larger than this limit.
|
48
|
+
Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
49
49
|
"""
|
50
50
|
return pulumi.get(self, "max_file_size")
|
51
51
|
|
@@ -114,7 +114,7 @@ class _RepositoryPolicyMaxFileSizeState:
|
|
114
114
|
Input properties used for looking up and filtering RepositoryPolicyMaxFileSize resources.
|
115
115
|
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
116
116
|
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
117
|
-
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit.
|
117
|
+
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
118
118
|
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
119
119
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
120
120
|
"""
|
@@ -157,7 +157,7 @@ class _RepositoryPolicyMaxFileSizeState:
|
|
157
157
|
@pulumi.getter(name="maxFileSize")
|
158
158
|
def max_file_size(self) -> Optional[pulumi.Input[int]]:
|
159
159
|
"""
|
160
|
-
Block pushes that contain new or updated files larger than this limit.
|
160
|
+
Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
161
161
|
"""
|
162
162
|
return pulumi.get(self, "max_file_size")
|
163
163
|
|
@@ -266,7 +266,7 @@ class RepositoryPolicyMaxFileSize(pulumi.CustomResource):
|
|
266
266
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
267
267
|
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
268
268
|
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
269
|
-
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit.
|
269
|
+
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
270
270
|
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
271
271
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
272
272
|
"""
|
@@ -399,7 +399,7 @@ class RepositoryPolicyMaxFileSize(pulumi.CustomResource):
|
|
399
399
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
400
400
|
:param pulumi.Input[bool] blocking: A flag indicating if the policy should be blocking. Defaults to `true`.
|
401
401
|
:param pulumi.Input[bool] enabled: A flag indicating if the policy should be enabled. Defaults to `true`.
|
402
|
-
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit.
|
402
|
+
:param pulumi.Input[int] max_file_size: Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
403
403
|
:param pulumi.Input[str] project_id: The ID of the project in which the policy will be created.
|
404
404
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] repository_ids: Control whether the policy is enabled for the repository or the project. If `repository_ids` not configured, the policy will be set to the project.
|
405
405
|
"""
|
@@ -434,7 +434,7 @@ class RepositoryPolicyMaxFileSize(pulumi.CustomResource):
|
|
434
434
|
@pulumi.getter(name="maxFileSize")
|
435
435
|
def max_file_size(self) -> pulumi.Output[int]:
|
436
436
|
"""
|
437
|
-
Block pushes that contain new or updated files larger than this limit.
|
437
|
+
Block pushes that contain new or updated files larger than this limit. Possible values are: `1, 2, 5, 10, 50, 100, 200` (MB).
|
438
438
|
"""
|
439
439
|
return pulumi.get(self, "max_file_size")
|
440
440
|
|
@@ -26,11 +26,11 @@ class ResourceAuthorizationArgs:
|
|
26
26
|
type: Optional[pulumi.Input[str]] = None):
|
27
27
|
"""
|
28
28
|
The set of arguments for constructing a ResourceAuthorization resource.
|
29
|
-
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
30
|
-
:param pulumi.Input[str] project_id: The project ID or project name.
|
31
|
-
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
32
|
-
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
33
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
29
|
+
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
30
|
+
:param pulumi.Input[str] project_id: The project ID or project name.
|
31
|
+
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
32
|
+
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
33
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
34
34
|
"""
|
35
35
|
pulumi.set(__self__, "authorized", authorized)
|
36
36
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -44,7 +44,7 @@ class ResourceAuthorizationArgs:
|
|
44
44
|
@pulumi.getter
|
45
45
|
def authorized(self) -> pulumi.Input[bool]:
|
46
46
|
"""
|
47
|
-
Set to true to allow public access in the project.
|
47
|
+
Set to true to allow public access in the project.
|
48
48
|
"""
|
49
49
|
return pulumi.get(self, "authorized")
|
50
50
|
|
@@ -56,7 +56,7 @@ class ResourceAuthorizationArgs:
|
|
56
56
|
@pulumi.getter(name="projectId")
|
57
57
|
def project_id(self) -> pulumi.Input[str]:
|
58
58
|
"""
|
59
|
-
The project ID or project name.
|
59
|
+
The project ID or project name.
|
60
60
|
"""
|
61
61
|
return pulumi.get(self, "project_id")
|
62
62
|
|
@@ -68,7 +68,7 @@ class ResourceAuthorizationArgs:
|
|
68
68
|
@pulumi.getter(name="resourceId")
|
69
69
|
def resource_id(self) -> pulumi.Input[str]:
|
70
70
|
"""
|
71
|
-
The ID of the resource to authorize.
|
71
|
+
The ID of the resource to authorize.
|
72
72
|
"""
|
73
73
|
return pulumi.get(self, "resource_id")
|
74
74
|
|
@@ -80,7 +80,7 @@ class ResourceAuthorizationArgs:
|
|
80
80
|
@pulumi.getter(name="definitionId")
|
81
81
|
def definition_id(self) -> Optional[pulumi.Input[int]]:
|
82
82
|
"""
|
83
|
-
The ID of the build definition to authorize.
|
83
|
+
The ID of the build definition to authorize.
|
84
84
|
"""
|
85
85
|
return pulumi.get(self, "definition_id")
|
86
86
|
|
@@ -92,7 +92,7 @@ class ResourceAuthorizationArgs:
|
|
92
92
|
@pulumi.getter
|
93
93
|
def type(self) -> Optional[pulumi.Input[str]]:
|
94
94
|
"""
|
95
|
-
The type of the resource to authorize.
|
95
|
+
The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
96
96
|
"""
|
97
97
|
return pulumi.get(self, "type")
|
98
98
|
|
@@ -111,11 +111,11 @@ class _ResourceAuthorizationState:
|
|
111
111
|
type: Optional[pulumi.Input[str]] = None):
|
112
112
|
"""
|
113
113
|
Input properties used for looking up and filtering ResourceAuthorization resources.
|
114
|
-
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
115
|
-
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
116
|
-
:param pulumi.Input[str] project_id: The project ID or project name.
|
117
|
-
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
118
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
114
|
+
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
115
|
+
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
116
|
+
:param pulumi.Input[str] project_id: The project ID or project name.
|
117
|
+
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
118
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
119
119
|
"""
|
120
120
|
if authorized is not None:
|
121
121
|
pulumi.set(__self__, "authorized", authorized)
|
@@ -132,7 +132,7 @@ class _ResourceAuthorizationState:
|
|
132
132
|
@pulumi.getter
|
133
133
|
def authorized(self) -> Optional[pulumi.Input[bool]]:
|
134
134
|
"""
|
135
|
-
Set to true to allow public access in the project.
|
135
|
+
Set to true to allow public access in the project.
|
136
136
|
"""
|
137
137
|
return pulumi.get(self, "authorized")
|
138
138
|
|
@@ -144,7 +144,7 @@ class _ResourceAuthorizationState:
|
|
144
144
|
@pulumi.getter(name="definitionId")
|
145
145
|
def definition_id(self) -> Optional[pulumi.Input[int]]:
|
146
146
|
"""
|
147
|
-
The ID of the build definition to authorize.
|
147
|
+
The ID of the build definition to authorize.
|
148
148
|
"""
|
149
149
|
return pulumi.get(self, "definition_id")
|
150
150
|
|
@@ -156,7 +156,7 @@ class _ResourceAuthorizationState:
|
|
156
156
|
@pulumi.getter(name="projectId")
|
157
157
|
def project_id(self) -> Optional[pulumi.Input[str]]:
|
158
158
|
"""
|
159
|
-
The project ID or project name.
|
159
|
+
The project ID or project name.
|
160
160
|
"""
|
161
161
|
return pulumi.get(self, "project_id")
|
162
162
|
|
@@ -168,7 +168,7 @@ class _ResourceAuthorizationState:
|
|
168
168
|
@pulumi.getter(name="resourceId")
|
169
169
|
def resource_id(self) -> Optional[pulumi.Input[str]]:
|
170
170
|
"""
|
171
|
-
The ID of the resource to authorize.
|
171
|
+
The ID of the resource to authorize.
|
172
172
|
"""
|
173
173
|
return pulumi.get(self, "resource_id")
|
174
174
|
|
@@ -180,7 +180,7 @@ class _ResourceAuthorizationState:
|
|
180
180
|
@pulumi.getter
|
181
181
|
def type(self) -> Optional[pulumi.Input[str]]:
|
182
182
|
"""
|
183
|
-
The type of the resource to authorize.
|
183
|
+
The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
184
184
|
"""
|
185
185
|
return pulumi.get(self, "type")
|
186
186
|
|
@@ -235,11 +235,11 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
235
235
|
|
236
236
|
:param str resource_name: The name of the resource.
|
237
237
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
238
|
-
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
239
|
-
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
240
|
-
:param pulumi.Input[str] project_id: The project ID or project name.
|
241
|
-
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
242
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
238
|
+
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
239
|
+
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
240
|
+
:param pulumi.Input[str] project_id: The project ID or project name.
|
241
|
+
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
242
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
243
243
|
"""
|
244
244
|
...
|
245
245
|
@overload
|
@@ -344,11 +344,11 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
344
344
|
:param str resource_name: The unique name of the resulting resource.
|
345
345
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
346
346
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
347
|
-
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
348
|
-
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
349
|
-
:param pulumi.Input[str] project_id: The project ID or project name.
|
350
|
-
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
351
|
-
:param pulumi.Input[str] type: The type of the resource to authorize.
|
347
|
+
:param pulumi.Input[bool] authorized: Set to true to allow public access in the project.
|
348
|
+
:param pulumi.Input[int] definition_id: The ID of the build definition to authorize.
|
349
|
+
:param pulumi.Input[str] project_id: The project ID or project name.
|
350
|
+
:param pulumi.Input[str] resource_id: The ID of the resource to authorize.
|
351
|
+
:param pulumi.Input[str] type: The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
352
352
|
"""
|
353
353
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
354
354
|
|
@@ -365,7 +365,7 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
365
365
|
@pulumi.getter
|
366
366
|
def authorized(self) -> pulumi.Output[bool]:
|
367
367
|
"""
|
368
|
-
Set to true to allow public access in the project.
|
368
|
+
Set to true to allow public access in the project.
|
369
369
|
"""
|
370
370
|
return pulumi.get(self, "authorized")
|
371
371
|
|
@@ -373,7 +373,7 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
373
373
|
@pulumi.getter(name="definitionId")
|
374
374
|
def definition_id(self) -> pulumi.Output[Optional[int]]:
|
375
375
|
"""
|
376
|
-
The ID of the build definition to authorize.
|
376
|
+
The ID of the build definition to authorize.
|
377
377
|
"""
|
378
378
|
return pulumi.get(self, "definition_id")
|
379
379
|
|
@@ -381,7 +381,7 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
381
381
|
@pulumi.getter(name="projectId")
|
382
382
|
def project_id(self) -> pulumi.Output[str]:
|
383
383
|
"""
|
384
|
-
The project ID or project name.
|
384
|
+
The project ID or project name.
|
385
385
|
"""
|
386
386
|
return pulumi.get(self, "project_id")
|
387
387
|
|
@@ -389,7 +389,7 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
389
389
|
@pulumi.getter(name="resourceId")
|
390
390
|
def resource_id(self) -> pulumi.Output[str]:
|
391
391
|
"""
|
392
|
-
The ID of the resource to authorize.
|
392
|
+
The ID of the resource to authorize.
|
393
393
|
"""
|
394
394
|
return pulumi.get(self, "resource_id")
|
395
395
|
|
@@ -397,7 +397,7 @@ class ResourceAuthorization(pulumi.CustomResource):
|
|
397
397
|
@pulumi.getter
|
398
398
|
def type(self) -> pulumi.Output[Optional[str]]:
|
399
399
|
"""
|
400
|
-
The type of the resource to authorize.
|
400
|
+
The type of the resource to authorize. Possible values: `endpoint`, `queue`, `variablegroup`. Defaults to value: `endpoint`.
|
401
401
|
"""
|
402
402
|
return pulumi.get(self, "type")
|
403
403
|
|
@@ -26,7 +26,6 @@ class ServiceEndpointArtifactoryArgs:
|
|
26
26
|
url: pulumi.Input[str],
|
27
27
|
authentication_basic: Optional[pulumi.Input['ServiceEndpointArtifactoryAuthenticationBasicArgs']] = None,
|
28
28
|
authentication_token: Optional[pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs']] = None,
|
29
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
29
|
description: Optional[pulumi.Input[str]] = None):
|
31
30
|
"""
|
32
31
|
The set of arguments for constructing a ServiceEndpointArtifactory resource.
|
@@ -34,8 +33,8 @@ class ServiceEndpointArtifactoryArgs:
|
|
34
33
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
|
35
34
|
:param pulumi.Input[str] url: URL of the Artifactory server to connect with.
|
36
35
|
|
37
|
-
|
38
|
-
|
36
|
+
_**Note: URL should not end in a slash character.**_
|
37
|
+
:param pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs'] authentication_token: A `authentication_basic` block as defined below.
|
39
38
|
:param pulumi.Input[str] description: The Service Endpoint description.
|
40
39
|
"""
|
41
40
|
pulumi.set(__self__, "project_id", project_id)
|
@@ -45,8 +44,6 @@ class ServiceEndpointArtifactoryArgs:
|
|
45
44
|
pulumi.set(__self__, "authentication_basic", authentication_basic)
|
46
45
|
if authentication_token is not None:
|
47
46
|
pulumi.set(__self__, "authentication_token", authentication_token)
|
48
|
-
if authorization is not None:
|
49
|
-
pulumi.set(__self__, "authorization", authorization)
|
50
47
|
if description is not None:
|
51
48
|
pulumi.set(__self__, "description", description)
|
52
49
|
|
@@ -80,8 +77,7 @@ class ServiceEndpointArtifactoryArgs:
|
|
80
77
|
"""
|
81
78
|
URL of the Artifactory server to connect with.
|
82
79
|
|
83
|
-
|
84
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
80
|
+
_**Note: URL should not end in a slash character.**_
|
85
81
|
"""
|
86
82
|
return pulumi.get(self, "url")
|
87
83
|
|
@@ -101,21 +97,15 @@ class ServiceEndpointArtifactoryArgs:
|
|
101
97
|
@property
|
102
98
|
@pulumi.getter(name="authenticationToken")
|
103
99
|
def authentication_token(self) -> Optional[pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs']]:
|
100
|
+
"""
|
101
|
+
A `authentication_basic` block as defined below.
|
102
|
+
"""
|
104
103
|
return pulumi.get(self, "authentication_token")
|
105
104
|
|
106
105
|
@authentication_token.setter
|
107
106
|
def authentication_token(self, value: Optional[pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs']]):
|
108
107
|
pulumi.set(self, "authentication_token", value)
|
109
108
|
|
110
|
-
@property
|
111
|
-
@pulumi.getter
|
112
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
113
|
-
return pulumi.get(self, "authorization")
|
114
|
-
|
115
|
-
@authorization.setter
|
116
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
117
|
-
pulumi.set(self, "authorization", value)
|
118
|
-
|
119
109
|
@property
|
120
110
|
@pulumi.getter
|
121
111
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -141,13 +131,13 @@ class _ServiceEndpointArtifactoryState:
|
|
141
131
|
url: Optional[pulumi.Input[str]] = None):
|
142
132
|
"""
|
143
133
|
Input properties used for looking up and filtering ServiceEndpointArtifactory resources.
|
134
|
+
:param pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs'] authentication_token: A `authentication_basic` block as defined below.
|
144
135
|
:param pulumi.Input[str] description: The Service Endpoint description.
|
145
136
|
:param pulumi.Input[str] project_id: The ID of the project.
|
146
137
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
|
147
138
|
:param pulumi.Input[str] url: URL of the Artifactory server to connect with.
|
148
139
|
|
149
|
-
|
150
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
140
|
+
_**Note: URL should not end in a slash character.**_
|
151
141
|
"""
|
152
142
|
if authentication_basic is not None:
|
153
143
|
pulumi.set(__self__, "authentication_basic", authentication_basic)
|
@@ -176,6 +166,9 @@ class _ServiceEndpointArtifactoryState:
|
|
176
166
|
@property
|
177
167
|
@pulumi.getter(name="authenticationToken")
|
178
168
|
def authentication_token(self) -> Optional[pulumi.Input['ServiceEndpointArtifactoryAuthenticationTokenArgs']]:
|
169
|
+
"""
|
170
|
+
A `authentication_basic` block as defined below.
|
171
|
+
"""
|
179
172
|
return pulumi.get(self, "authentication_token")
|
180
173
|
|
181
174
|
@authentication_token.setter
|
@@ -233,8 +226,7 @@ class _ServiceEndpointArtifactoryState:
|
|
233
226
|
"""
|
234
227
|
URL of the Artifactory server to connect with.
|
235
228
|
|
236
|
-
|
237
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
229
|
+
_**Note: URL should not end in a slash character.**_
|
238
230
|
"""
|
239
231
|
return pulumi.get(self, "url")
|
240
232
|
|
@@ -250,14 +242,13 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
250
242
|
opts: Optional[pulumi.ResourceOptions] = None,
|
251
243
|
authentication_basic: Optional[pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationBasicArgs', 'ServiceEndpointArtifactoryAuthenticationBasicArgsDict']]] = None,
|
252
244
|
authentication_token: Optional[pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationTokenArgs', 'ServiceEndpointArtifactoryAuthenticationTokenArgsDict']]] = None,
|
253
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
254
245
|
description: Optional[pulumi.Input[str]] = None,
|
255
246
|
project_id: Optional[pulumi.Input[str]] = None,
|
256
247
|
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
257
248
|
url: Optional[pulumi.Input[str]] = None,
|
258
249
|
__props__=None):
|
259
250
|
"""
|
260
|
-
Manages an Artifactory server endpoint within an Azure DevOps organization. Using this service endpoint requires you to first install [JFrog Artifactory Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-artifactory-vsts-extension).
|
251
|
+
Manages an JFrog Artifactory server endpoint within an Azure DevOps organization. Using this service endpoint requires you to first install [JFrog Artifactory Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-artifactory-vsts-extension).
|
261
252
|
|
262
253
|
## Example Usage
|
263
254
|
|
@@ -310,7 +301,7 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
310
301
|
|
311
302
|
## Import
|
312
303
|
|
313
|
-
Azure DevOps Service Endpoint
|
304
|
+
Azure DevOps JFrog Artifactory Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
|
314
305
|
|
315
306
|
```sh
|
316
307
|
$ pulumi import azuredevops:index/serviceEndpointArtifactory:ServiceEndpointArtifactory example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -318,13 +309,13 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
318
309
|
|
319
310
|
:param str resource_name: The name of the resource.
|
320
311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
312
|
+
:param pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationTokenArgs', 'ServiceEndpointArtifactoryAuthenticationTokenArgsDict']] authentication_token: A `authentication_basic` block as defined below.
|
321
313
|
:param pulumi.Input[str] description: The Service Endpoint description.
|
322
314
|
:param pulumi.Input[str] project_id: The ID of the project.
|
323
315
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
|
324
316
|
:param pulumi.Input[str] url: URL of the Artifactory server to connect with.
|
325
317
|
|
326
|
-
|
327
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
318
|
+
_**Note: URL should not end in a slash character.**_
|
328
319
|
"""
|
329
320
|
...
|
330
321
|
@overload
|
@@ -333,7 +324,7 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
333
324
|
args: ServiceEndpointArtifactoryArgs,
|
334
325
|
opts: Optional[pulumi.ResourceOptions] = None):
|
335
326
|
"""
|
336
|
-
Manages an Artifactory server endpoint within an Azure DevOps organization. Using this service endpoint requires you to first install [JFrog Artifactory Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-artifactory-vsts-extension).
|
327
|
+
Manages an JFrog Artifactory server endpoint within an Azure DevOps organization. Using this service endpoint requires you to first install [JFrog Artifactory Extension](https://marketplace.visualstudio.com/items?itemName=JFrog.jfrog-artifactory-vsts-extension).
|
337
328
|
|
338
329
|
## Example Usage
|
339
330
|
|
@@ -386,7 +377,7 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
386
377
|
|
387
378
|
## Import
|
388
379
|
|
389
|
-
Azure DevOps Service Endpoint
|
380
|
+
Azure DevOps JFrog Artifactory Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
|
390
381
|
|
391
382
|
```sh
|
392
383
|
$ pulumi import azuredevops:index/serviceEndpointArtifactory:ServiceEndpointArtifactory example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -409,7 +400,6 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
409
400
|
opts: Optional[pulumi.ResourceOptions] = None,
|
410
401
|
authentication_basic: Optional[pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationBasicArgs', 'ServiceEndpointArtifactoryAuthenticationBasicArgsDict']]] = None,
|
411
402
|
authentication_token: Optional[pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationTokenArgs', 'ServiceEndpointArtifactoryAuthenticationTokenArgsDict']]] = None,
|
412
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
413
403
|
description: Optional[pulumi.Input[str]] = None,
|
414
404
|
project_id: Optional[pulumi.Input[str]] = None,
|
415
405
|
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
@@ -425,7 +415,6 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
425
415
|
|
426
416
|
__props__.__dict__["authentication_basic"] = authentication_basic
|
427
417
|
__props__.__dict__["authentication_token"] = authentication_token
|
428
|
-
__props__.__dict__["authorization"] = authorization
|
429
418
|
__props__.__dict__["description"] = description
|
430
419
|
if project_id is None and not opts.urn:
|
431
420
|
raise TypeError("Missing required property 'project_id'")
|
@@ -436,6 +425,7 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
436
425
|
if url is None and not opts.urn:
|
437
426
|
raise TypeError("Missing required property 'url'")
|
438
427
|
__props__.__dict__["url"] = url
|
428
|
+
__props__.__dict__["authorization"] = None
|
439
429
|
super(ServiceEndpointArtifactory, __self__).__init__(
|
440
430
|
'azuredevops:index/serviceEndpointArtifactory:ServiceEndpointArtifactory',
|
441
431
|
resource_name,
|
@@ -460,13 +450,13 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
460
450
|
:param str resource_name: The unique name of the resulting resource.
|
461
451
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
462
452
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
453
|
+
:param pulumi.Input[Union['ServiceEndpointArtifactoryAuthenticationTokenArgs', 'ServiceEndpointArtifactoryAuthenticationTokenArgsDict']] authentication_token: A `authentication_basic` block as defined below.
|
463
454
|
:param pulumi.Input[str] description: The Service Endpoint description.
|
464
455
|
:param pulumi.Input[str] project_id: The ID of the project.
|
465
456
|
:param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
|
466
457
|
:param pulumi.Input[str] url: URL of the Artifactory server to connect with.
|
467
458
|
|
468
|
-
|
469
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
459
|
+
_**Note: URL should not end in a slash character.**_
|
470
460
|
"""
|
471
461
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
472
462
|
|
@@ -489,6 +479,9 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
489
479
|
@property
|
490
480
|
@pulumi.getter(name="authenticationToken")
|
491
481
|
def authentication_token(self) -> pulumi.Output[Optional['outputs.ServiceEndpointArtifactoryAuthenticationToken']]:
|
482
|
+
"""
|
483
|
+
A `authentication_basic` block as defined below.
|
484
|
+
"""
|
492
485
|
return pulumi.get(self, "authentication_token")
|
493
486
|
|
494
487
|
@property
|
@@ -526,8 +519,7 @@ class ServiceEndpointArtifactory(pulumi.CustomResource):
|
|
526
519
|
"""
|
527
520
|
URL of the Artifactory server to connect with.
|
528
521
|
|
529
|
-
|
530
|
-
* either `authentication_token` or `authentication_basic` (one is required)
|
522
|
+
_**Note: URL should not end in a slash character.**_
|
531
523
|
"""
|
532
524
|
return pulumi.get(self, "url")
|
533
525
|
|
@@ -22,7 +22,6 @@ class ServiceEndpointAwsArgs:
|
|
22
22
|
project_id: pulumi.Input[str],
|
23
23
|
service_endpoint_name: pulumi.Input[str],
|
24
24
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
25
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
26
25
|
description: Optional[pulumi.Input[str]] = None,
|
27
26
|
external_id: Optional[pulumi.Input[str]] = None,
|
28
27
|
role_session_name: Optional[pulumi.Input[str]] = None,
|
@@ -46,8 +45,6 @@ class ServiceEndpointAwsArgs:
|
|
46
45
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
47
46
|
if access_key_id is not None:
|
48
47
|
pulumi.set(__self__, "access_key_id", access_key_id)
|
49
|
-
if authorization is not None:
|
50
|
-
pulumi.set(__self__, "authorization", authorization)
|
51
48
|
if description is not None:
|
52
49
|
pulumi.set(__self__, "description", description)
|
53
50
|
if external_id is not None:
|
@@ -99,15 +96,6 @@ class ServiceEndpointAwsArgs:
|
|
99
96
|
def access_key_id(self, value: Optional[pulumi.Input[str]]):
|
100
97
|
pulumi.set(self, "access_key_id", value)
|
101
98
|
|
102
|
-
@property
|
103
|
-
@pulumi.getter
|
104
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
105
|
-
return pulumi.get(self, "authorization")
|
106
|
-
|
107
|
-
@authorization.setter
|
108
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
109
|
-
pulumi.set(self, "authorization", value)
|
110
|
-
|
111
99
|
@property
|
112
100
|
@pulumi.getter
|
113
101
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -372,7 +360,6 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
372
360
|
resource_name: str,
|
373
361
|
opts: Optional[pulumi.ResourceOptions] = None,
|
374
362
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
375
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
376
363
|
description: Optional[pulumi.Input[str]] = None,
|
377
364
|
external_id: Optional[pulumi.Input[str]] = None,
|
378
365
|
project_id: Optional[pulumi.Input[str]] = None,
|
@@ -413,7 +400,7 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
413
400
|
|
414
401
|
## Import
|
415
402
|
|
416
|
-
Azure DevOps Service Endpoint
|
403
|
+
Azure DevOps AWS Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
417
404
|
|
418
405
|
```sh
|
419
406
|
$ pulumi import azuredevops:index/serviceEndpointAws:ServiceEndpointAws azuredevops_serviceendpoint_aws.example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -467,7 +454,7 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
467
454
|
|
468
455
|
## Import
|
469
456
|
|
470
|
-
Azure DevOps Service Endpoint
|
457
|
+
Azure DevOps AWS Service Endpoint can be imported using **projectID/serviceEndpointID** or **projectName/serviceEndpointID**
|
471
458
|
|
472
459
|
```sh
|
473
460
|
$ pulumi import azuredevops:index/serviceEndpointAws:ServiceEndpointAws azuredevops_serviceendpoint_aws.example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -489,7 +476,6 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
489
476
|
resource_name: str,
|
490
477
|
opts: Optional[pulumi.ResourceOptions] = None,
|
491
478
|
access_key_id: Optional[pulumi.Input[str]] = None,
|
492
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
493
479
|
description: Optional[pulumi.Input[str]] = None,
|
494
480
|
external_id: Optional[pulumi.Input[str]] = None,
|
495
481
|
project_id: Optional[pulumi.Input[str]] = None,
|
@@ -509,7 +495,6 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
509
495
|
__props__ = ServiceEndpointAwsArgs.__new__(ServiceEndpointAwsArgs)
|
510
496
|
|
511
497
|
__props__.__dict__["access_key_id"] = access_key_id
|
512
|
-
__props__.__dict__["authorization"] = authorization
|
513
498
|
__props__.__dict__["description"] = description
|
514
499
|
__props__.__dict__["external_id"] = external_id
|
515
500
|
if project_id is None and not opts.urn:
|
@@ -523,6 +508,7 @@ class ServiceEndpointAws(pulumi.CustomResource):
|
|
523
508
|
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
524
509
|
__props__.__dict__["session_token"] = None if session_token is None else pulumi.Output.secret(session_token)
|
525
510
|
__props__.__dict__["use_oidc"] = use_oidc
|
511
|
+
__props__.__dict__["authorization"] = None
|
526
512
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["secretAccessKey", "sessionToken"])
|
527
513
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
528
514
|
super(ServiceEndpointAws, __self__).__init__(
|
@@ -24,7 +24,6 @@ class ServiceEndpointAzureDevOpsArgs:
|
|
24
24
|
project_id: pulumi.Input[str],
|
25
25
|
release_api_url: pulumi.Input[str],
|
26
26
|
service_endpoint_name: pulumi.Input[str],
|
27
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
27
|
description: Optional[pulumi.Input[str]] = None):
|
29
28
|
"""
|
30
29
|
The set of arguments for constructing a ServiceEndpointAzureDevOps resource.
|
@@ -39,8 +38,6 @@ class ServiceEndpointAzureDevOpsArgs:
|
|
39
38
|
pulumi.set(__self__, "project_id", project_id)
|
40
39
|
pulumi.set(__self__, "release_api_url", release_api_url)
|
41
40
|
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
42
|
-
if authorization is not None:
|
43
|
-
pulumi.set(__self__, "authorization", authorization)
|
44
41
|
if description is not None:
|
45
42
|
pulumi.set(__self__, "description", description)
|
46
43
|
|
@@ -104,15 +101,6 @@ class ServiceEndpointAzureDevOpsArgs:
|
|
104
101
|
def service_endpoint_name(self, value: pulumi.Input[str]):
|
105
102
|
pulumi.set(self, "service_endpoint_name", value)
|
106
103
|
|
107
|
-
@property
|
108
|
-
@pulumi.getter
|
109
|
-
def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
110
|
-
return pulumi.get(self, "authorization")
|
111
|
-
|
112
|
-
@authorization.setter
|
113
|
-
def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
114
|
-
pulumi.set(self, "authorization", value)
|
115
|
-
|
116
104
|
@property
|
117
105
|
@pulumi.getter
|
118
106
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -240,7 +228,6 @@ class ServiceEndpointAzureDevOps(pulumi.CustomResource):
|
|
240
228
|
def __init__(__self__,
|
241
229
|
resource_name: str,
|
242
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
243
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
244
231
|
description: Optional[pulumi.Input[str]] = None,
|
245
232
|
org_url: Optional[pulumi.Input[str]] = None,
|
246
233
|
personal_access_token: Optional[pulumi.Input[str]] = None,
|
@@ -357,7 +344,6 @@ class ServiceEndpointAzureDevOps(pulumi.CustomResource):
|
|
357
344
|
def _internal_init(__self__,
|
358
345
|
resource_name: str,
|
359
346
|
opts: Optional[pulumi.ResourceOptions] = None,
|
360
|
-
authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
361
347
|
description: Optional[pulumi.Input[str]] = None,
|
362
348
|
org_url: Optional[pulumi.Input[str]] = None,
|
363
349
|
personal_access_token: Optional[pulumi.Input[str]] = None,
|
@@ -373,7 +359,6 @@ class ServiceEndpointAzureDevOps(pulumi.CustomResource):
|
|
373
359
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
374
360
|
__props__ = ServiceEndpointAzureDevOpsArgs.__new__(ServiceEndpointAzureDevOpsArgs)
|
375
361
|
|
376
|
-
__props__.__dict__["authorization"] = authorization
|
377
362
|
__props__.__dict__["description"] = description
|
378
363
|
if org_url is None and not opts.urn:
|
379
364
|
raise TypeError("Missing required property 'org_url'")
|
@@ -390,6 +375,7 @@ class ServiceEndpointAzureDevOps(pulumi.CustomResource):
|
|
390
375
|
if service_endpoint_name is None and not opts.urn:
|
391
376
|
raise TypeError("Missing required property 'service_endpoint_name'")
|
392
377
|
__props__.__dict__["service_endpoint_name"] = service_endpoint_name
|
378
|
+
__props__.__dict__["authorization"] = None
|
393
379
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["personalAccessToken"])
|
394
380
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
395
381
|
super(ServiceEndpointAzureDevOps, __self__).__init__(
|