pulumi-azuredevops 3.10.0a1747977999__py3-none-any.whl → 3.11.0a1748900713__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 +11 -1
- pulumi_azuredevops/_inputs.py +55 -1
- pulumi_azuredevops/_utilities.py +1 -1
- pulumi_azuredevops/area_permissions.py +1 -1
- pulumi_azuredevops/branch_policy_auto_reviewers.py +1 -1
- pulumi_azuredevops/branch_policy_build_validation.py +1 -1
- pulumi_azuredevops/branch_policy_comment_resolution.py +1 -1
- pulumi_azuredevops/branch_policy_merge_types.py +1 -1
- pulumi_azuredevops/branch_policy_min_reviewers.py +1 -1
- pulumi_azuredevops/branch_policy_status_check.py +1 -1
- pulumi_azuredevops/branch_policy_work_item_linking.py +1 -1
- pulumi_azuredevops/build_definition.py +1 -1
- pulumi_azuredevops/build_definition_permissions.py +1 -1
- pulumi_azuredevops/build_folder.py +1 -1
- pulumi_azuredevops/build_folder_permissions.py +1 -1
- pulumi_azuredevops/check_approval.py +1 -1
- pulumi_azuredevops/check_branch_control.py +1 -1
- pulumi_azuredevops/check_business_hours.py +1 -1
- pulumi_azuredevops/check_exclusive_lock.py +1 -1
- pulumi_azuredevops/check_required_template.py +1 -1
- pulumi_azuredevops/check_rest_api.py +1 -1
- pulumi_azuredevops/config/__init__.py +1 -1
- pulumi_azuredevops/config/__init__.pyi +1 -1
- pulumi_azuredevops/config/vars.py +1 -1
- pulumi_azuredevops/dashboard.py +1 -1
- pulumi_azuredevops/elastic_pool.py +1 -1
- pulumi_azuredevops/environment.py +1 -1
- pulumi_azuredevops/environment_resource_kubernetes.py +1 -1
- pulumi_azuredevops/extension.py +1 -1
- pulumi_azuredevops/feed.py +1 -1
- pulumi_azuredevops/feed_permission.py +1 -1
- pulumi_azuredevops/feed_retention_policy.py +1 -1
- pulumi_azuredevops/get_agent_queue.py +1 -1
- pulumi_azuredevops/get_area.py +1 -1
- pulumi_azuredevops/get_build_definition.py +1 -1
- pulumi_azuredevops/get_client_config.py +1 -1
- pulumi_azuredevops/get_descriptor.py +1 -1
- pulumi_azuredevops/get_environment.py +1 -1
- pulumi_azuredevops/get_feed.py +1 -1
- pulumi_azuredevops/get_git_repository.py +1 -1
- pulumi_azuredevops/get_git_repository_file.py +1 -1
- pulumi_azuredevops/get_group.py +2 -2
- pulumi_azuredevops/get_group_membership.py +1 -1
- pulumi_azuredevops/get_groups.py +1 -1
- pulumi_azuredevops/get_identity_group.py +1 -1
- pulumi_azuredevops/get_identity_groups.py +1 -1
- pulumi_azuredevops/get_identity_users.py +1 -1
- pulumi_azuredevops/get_iteration.py +1 -1
- pulumi_azuredevops/get_pool.py +1 -1
- pulumi_azuredevops/get_pools.py +1 -1
- pulumi_azuredevops/get_project.py +1 -1
- pulumi_azuredevops/get_projects.py +1 -1
- pulumi_azuredevops/get_repositories.py +1 -1
- pulumi_azuredevops/get_securityrole_definitions.py +1 -1
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +1 -1
- pulumi_azuredevops/get_service_endpoint_github.py +1 -1
- pulumi_azuredevops/get_service_principal.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +282 -0
- pulumi_azuredevops/get_serviceendpoint_npm.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +1 -1
- pulumi_azuredevops/get_storage_key.py +1 -1
- pulumi_azuredevops/get_team.py +1 -1
- pulumi_azuredevops/get_teams.py +1 -1
- pulumi_azuredevops/get_user.py +1 -1
- pulumi_azuredevops/get_users.py +1 -1
- pulumi_azuredevops/get_variable_group.py +1 -1
- pulumi_azuredevops/git.py +1 -1
- pulumi_azuredevops/git_permissions.py +22 -1
- pulumi_azuredevops/git_repository_branch.py +1 -1
- pulumi_azuredevops/git_repository_file.py +1 -1
- pulumi_azuredevops/group.py +1 -1
- pulumi_azuredevops/group_entitlement.py +1 -1
- pulumi_azuredevops/group_membership.py +1 -1
- pulumi_azuredevops/iterative_permissions.py +1 -1
- pulumi_azuredevops/library_permissions.py +1 -1
- pulumi_azuredevops/outputs.py +35 -3
- pulumi_azuredevops/pipeline_authorization.py +1 -1
- pulumi_azuredevops/pool.py +1 -1
- pulumi_azuredevops/project.py +1 -1
- pulumi_azuredevops/project_features.py +1 -1
- pulumi_azuredevops/project_permissions.py +1 -1
- pulumi_azuredevops/project_pipeline_settings.py +1 -1
- pulumi_azuredevops/project_tags.py +1 -1
- pulumi_azuredevops/provider.py +1 -1
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +1 -1
- pulumi_azuredevops/repository_policy_author_email_pattern.py +1 -1
- pulumi_azuredevops/repository_policy_case_enforcement.py +1 -1
- pulumi_azuredevops/repository_policy_check_credentials.py +1 -1
- pulumi_azuredevops/repository_policy_file_path_pattern.py +1 -1
- pulumi_azuredevops/repository_policy_max_file_size.py +1 -1
- pulumi_azuredevops/repository_policy_max_path_length.py +1 -1
- pulumi_azuredevops/repository_policy_reserved_names.py +1 -1
- pulumi_azuredevops/resource_authorization.py +1 -1
- pulumi_azuredevops/securityrole_assignment.py +1 -1
- pulumi_azuredevops/service_endpoint_artifactory.py +1 -1
- pulumi_azuredevops/service_endpoint_aws.py +1 -1
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +49 -52
- pulumi_azuredevops/service_endpoint_azure_ecr.py +47 -51
- pulumi_azuredevops/service_endpoint_azure_rm.py +17 -18
- pulumi_azuredevops/service_endpoint_bit_bucket.py +32 -34
- pulumi_azuredevops/service_endpoint_docker_registry.py +34 -36
- pulumi_azuredevops/service_endpoint_generic.py +1 -1
- pulumi_azuredevops/service_endpoint_generic_git.py +1 -1
- pulumi_azuredevops/service_endpoint_git_hub.py +1 -1
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +1 -1
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -1
- pulumi_azuredevops/service_endpoint_kubernetes.py +1 -1
- pulumi_azuredevops/service_endpoint_npm.py +1 -1
- pulumi_azuredevops/service_endpoint_pipeline.py +1 -1
- pulumi_azuredevops/service_endpoint_service_fabric.py +1 -1
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -1
- pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -1
- pulumi_azuredevops/service_endpoint_ssh.py +1 -1
- pulumi_azuredevops/service_principal_entitlement.py +1 -1
- pulumi_azuredevops/serviceendpoint_argocd.py +1 -1
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -1
- pulumi_azuredevops/serviceendpoint_black_duck.py +417 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -1
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -1
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -1
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -1
- pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -1
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +55 -58
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +18 -19
- pulumi_azuredevops/serviceendpoint_jenkins.py +1 -1
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -1
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -1
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -1
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -1
- pulumi_azuredevops/serviceendpoint_maven.py +1 -1
- pulumi_azuredevops/serviceendpoint_nexus.py +1 -1
- pulumi_azuredevops/serviceendpoint_nuget.py +1 -1
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -1
- pulumi_azuredevops/serviceendpoint_openshift.py +1 -1
- pulumi_azuredevops/serviceendpoint_permissions.py +1 -1
- pulumi_azuredevops/serviceendpoint_snyk.py +1 -1
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -1
- pulumi_azuredevops/servicehook_permissions.py +1 -1
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +1 -1
- pulumi_azuredevops/tagging_permissions.py +1 -1
- pulumi_azuredevops/team.py +1 -1
- pulumi_azuredevops/team_administrators.py +1 -1
- pulumi_azuredevops/team_members.py +1 -1
- pulumi_azuredevops/user.py +1 -1
- pulumi_azuredevops/variable_group.py +1 -1
- pulumi_azuredevops/variable_group_permissions.py +1 -1
- pulumi_azuredevops/wiki.py +1 -1
- pulumi_azuredevops/wiki_page.py +1 -1
- pulumi_azuredevops/work_item_query_permissions.py +1 -1
- pulumi_azuredevops/workitem.py +166 -5
- {pulumi_azuredevops-3.10.0a1747977999.dist-info → pulumi_azuredevops-3.11.0a1748900713.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.11.0a1748900713.dist-info/RECORD +158 -0
- {pulumi_azuredevops-3.10.0a1747977999.dist-info → pulumi_azuredevops-3.11.0a1748900713.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.10.0a1747977999.dist-info/RECORD +0 -156
- {pulumi_azuredevops-3.10.0a1747977999.dist-info → pulumi_azuredevops-3.11.0a1748900713.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,282 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from . import _utilities
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetServiceendpointDockerregistryResult',
|
20
|
+
'AwaitableGetServiceendpointDockerregistryResult',
|
21
|
+
'get_serviceendpoint_dockerregistry',
|
22
|
+
'get_serviceendpoint_dockerregistry_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetServiceendpointDockerregistryResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getServiceendpointDockerregistry.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, authorization=None, description=None, docker_email=None, docker_password=None, docker_registry=None, docker_username=None, id=None, project_id=None, registry_type=None, service_endpoint_id=None, service_endpoint_name=None):
|
31
|
+
if authorization and not isinstance(authorization, dict):
|
32
|
+
raise TypeError("Expected argument 'authorization' to be a dict")
|
33
|
+
pulumi.set(__self__, "authorization", authorization)
|
34
|
+
if description and not isinstance(description, str):
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
36
|
+
pulumi.set(__self__, "description", description)
|
37
|
+
if docker_email and not isinstance(docker_email, str):
|
38
|
+
raise TypeError("Expected argument 'docker_email' to be a str")
|
39
|
+
pulumi.set(__self__, "docker_email", docker_email)
|
40
|
+
if docker_password and not isinstance(docker_password, str):
|
41
|
+
raise TypeError("Expected argument 'docker_password' to be a str")
|
42
|
+
pulumi.set(__self__, "docker_password", docker_password)
|
43
|
+
if docker_registry and not isinstance(docker_registry, str):
|
44
|
+
raise TypeError("Expected argument 'docker_registry' to be a str")
|
45
|
+
pulumi.set(__self__, "docker_registry", docker_registry)
|
46
|
+
if docker_username and not isinstance(docker_username, str):
|
47
|
+
raise TypeError("Expected argument 'docker_username' to be a str")
|
48
|
+
pulumi.set(__self__, "docker_username", docker_username)
|
49
|
+
if id and not isinstance(id, str):
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
51
|
+
pulumi.set(__self__, "id", id)
|
52
|
+
if project_id and not isinstance(project_id, str):
|
53
|
+
raise TypeError("Expected argument 'project_id' to be a str")
|
54
|
+
pulumi.set(__self__, "project_id", project_id)
|
55
|
+
if registry_type and not isinstance(registry_type, str):
|
56
|
+
raise TypeError("Expected argument 'registry_type' to be a str")
|
57
|
+
pulumi.set(__self__, "registry_type", registry_type)
|
58
|
+
if service_endpoint_id and not isinstance(service_endpoint_id, str):
|
59
|
+
raise TypeError("Expected argument 'service_endpoint_id' to be a str")
|
60
|
+
pulumi.set(__self__, "service_endpoint_id", service_endpoint_id)
|
61
|
+
if service_endpoint_name and not isinstance(service_endpoint_name, str):
|
62
|
+
raise TypeError("Expected argument 'service_endpoint_name' to be a str")
|
63
|
+
pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter
|
67
|
+
def authorization(self) -> Mapping[str, builtins.str]:
|
68
|
+
"""
|
69
|
+
The Authorization scheme.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "authorization")
|
72
|
+
|
73
|
+
@property
|
74
|
+
@pulumi.getter
|
75
|
+
def description(self) -> builtins.str:
|
76
|
+
"""
|
77
|
+
The Service Endpoint description.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "description")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="dockerEmail")
|
83
|
+
def docker_email(self) -> builtins.str:
|
84
|
+
"""
|
85
|
+
The email for Docker account user.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "docker_email")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter(name="dockerPassword")
|
91
|
+
def docker_password(self) -> builtins.str:
|
92
|
+
"""
|
93
|
+
The password for the account user identified above.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "docker_password")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="dockerRegistry")
|
99
|
+
def docker_registry(self) -> builtins.str:
|
100
|
+
"""
|
101
|
+
The URL of the Docker registry.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "docker_registry")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="dockerUsername")
|
107
|
+
def docker_username(self) -> builtins.str:
|
108
|
+
"""
|
109
|
+
The identifier of the Docker account user.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "docker_username")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter
|
115
|
+
def id(self) -> builtins.str:
|
116
|
+
"""
|
117
|
+
The provider-assigned unique ID for this managed resource.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="projectId")
|
123
|
+
def project_id(self) -> builtins.str:
|
124
|
+
return pulumi.get(self, "project_id")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="registryType")
|
128
|
+
def registry_type(self) -> builtins.str:
|
129
|
+
"""
|
130
|
+
Can be "DockerHub" or "Others" (Default "DockerHub")
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "registry_type")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="serviceEndpointId")
|
136
|
+
def service_endpoint_id(self) -> builtins.str:
|
137
|
+
return pulumi.get(self, "service_endpoint_id")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="serviceEndpointName")
|
141
|
+
def service_endpoint_name(self) -> builtins.str:
|
142
|
+
return pulumi.get(self, "service_endpoint_name")
|
143
|
+
|
144
|
+
|
145
|
+
class AwaitableGetServiceendpointDockerregistryResult(GetServiceendpointDockerregistryResult):
|
146
|
+
# pylint: disable=using-constant-test
|
147
|
+
def __await__(self):
|
148
|
+
if False:
|
149
|
+
yield self
|
150
|
+
return GetServiceendpointDockerregistryResult(
|
151
|
+
authorization=self.authorization,
|
152
|
+
description=self.description,
|
153
|
+
docker_email=self.docker_email,
|
154
|
+
docker_password=self.docker_password,
|
155
|
+
docker_registry=self.docker_registry,
|
156
|
+
docker_username=self.docker_username,
|
157
|
+
id=self.id,
|
158
|
+
project_id=self.project_id,
|
159
|
+
registry_type=self.registry_type,
|
160
|
+
service_endpoint_id=self.service_endpoint_id,
|
161
|
+
service_endpoint_name=self.service_endpoint_name)
|
162
|
+
|
163
|
+
|
164
|
+
def get_serviceendpoint_dockerregistry(project_id: Optional[builtins.str] = None,
|
165
|
+
service_endpoint_id: Optional[builtins.str] = None,
|
166
|
+
service_endpoint_name: Optional[builtins.str] = None,
|
167
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceendpointDockerregistryResult:
|
168
|
+
"""
|
169
|
+
Use this data source to access information about an existing Docker Registry Service Endpoint.
|
170
|
+
|
171
|
+
## Example Usage
|
172
|
+
|
173
|
+
### By Service Endpoint ID
|
174
|
+
|
175
|
+
```python
|
176
|
+
import pulumi
|
177
|
+
import pulumi_azuredevops as azuredevops
|
178
|
+
|
179
|
+
example = azuredevops.get_project(name="Example Project")
|
180
|
+
example_get_serviceendpoint_dockerregistry = azuredevops.get_serviceendpoint_dockerregistry(project_id=example.id,
|
181
|
+
service_endpoint_id="00000000-0000-0000-0000-000000000000")
|
182
|
+
pulumi.export("serviceEndpointName", example_get_serviceendpoint_dockerregistry.service_endpoint_name)
|
183
|
+
```
|
184
|
+
|
185
|
+
### By Service Endpoint Name
|
186
|
+
|
187
|
+
```python
|
188
|
+
import pulumi
|
189
|
+
import pulumi_azuredevops as azuredevops
|
190
|
+
|
191
|
+
example = azuredevops.get_project(name="Example Project")
|
192
|
+
example_get_serviceendpoint_dockerregistry = azuredevops.get_serviceendpoint_dockerregistry(project_id=example.id,
|
193
|
+
service_endpoint_name="Example-Service-Endpoint")
|
194
|
+
pulumi.export("serviceEndpointId", serviceendpoint["id"])
|
195
|
+
```
|
196
|
+
|
197
|
+
|
198
|
+
:param builtins.str project_id: The ID of the project.
|
199
|
+
:param builtins.str service_endpoint_id: the ID of the Service Endpoint.
|
200
|
+
:param builtins.str service_endpoint_name: the Name of the Service Endpoint.
|
201
|
+
|
202
|
+
> **NOTE:** 1. One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
203
|
+
<br>2. When supplying `service_endpoint_name`, take care to ensure that this is a unique name.
|
204
|
+
"""
|
205
|
+
__args__ = dict()
|
206
|
+
__args__['projectId'] = project_id
|
207
|
+
__args__['serviceEndpointId'] = service_endpoint_id
|
208
|
+
__args__['serviceEndpointName'] = service_endpoint_name
|
209
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
210
|
+
__ret__ = pulumi.runtime.invoke('azuredevops:index/getServiceendpointDockerregistry:getServiceendpointDockerregistry', __args__, opts=opts, typ=GetServiceendpointDockerregistryResult).value
|
211
|
+
|
212
|
+
return AwaitableGetServiceendpointDockerregistryResult(
|
213
|
+
authorization=pulumi.get(__ret__, 'authorization'),
|
214
|
+
description=pulumi.get(__ret__, 'description'),
|
215
|
+
docker_email=pulumi.get(__ret__, 'docker_email'),
|
216
|
+
docker_password=pulumi.get(__ret__, 'docker_password'),
|
217
|
+
docker_registry=pulumi.get(__ret__, 'docker_registry'),
|
218
|
+
docker_username=pulumi.get(__ret__, 'docker_username'),
|
219
|
+
id=pulumi.get(__ret__, 'id'),
|
220
|
+
project_id=pulumi.get(__ret__, 'project_id'),
|
221
|
+
registry_type=pulumi.get(__ret__, 'registry_type'),
|
222
|
+
service_endpoint_id=pulumi.get(__ret__, 'service_endpoint_id'),
|
223
|
+
service_endpoint_name=pulumi.get(__ret__, 'service_endpoint_name'))
|
224
|
+
def get_serviceendpoint_dockerregistry_output(project_id: Optional[pulumi.Input[builtins.str]] = None,
|
225
|
+
service_endpoint_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
226
|
+
service_endpoint_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
227
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceendpointDockerregistryResult]:
|
228
|
+
"""
|
229
|
+
Use this data source to access information about an existing Docker Registry Service Endpoint.
|
230
|
+
|
231
|
+
## Example Usage
|
232
|
+
|
233
|
+
### By Service Endpoint ID
|
234
|
+
|
235
|
+
```python
|
236
|
+
import pulumi
|
237
|
+
import pulumi_azuredevops as azuredevops
|
238
|
+
|
239
|
+
example = azuredevops.get_project(name="Example Project")
|
240
|
+
example_get_serviceendpoint_dockerregistry = azuredevops.get_serviceendpoint_dockerregistry(project_id=example.id,
|
241
|
+
service_endpoint_id="00000000-0000-0000-0000-000000000000")
|
242
|
+
pulumi.export("serviceEndpointName", example_get_serviceendpoint_dockerregistry.service_endpoint_name)
|
243
|
+
```
|
244
|
+
|
245
|
+
### By Service Endpoint Name
|
246
|
+
|
247
|
+
```python
|
248
|
+
import pulumi
|
249
|
+
import pulumi_azuredevops as azuredevops
|
250
|
+
|
251
|
+
example = azuredevops.get_project(name="Example Project")
|
252
|
+
example_get_serviceendpoint_dockerregistry = azuredevops.get_serviceendpoint_dockerregistry(project_id=example.id,
|
253
|
+
service_endpoint_name="Example-Service-Endpoint")
|
254
|
+
pulumi.export("serviceEndpointId", serviceendpoint["id"])
|
255
|
+
```
|
256
|
+
|
257
|
+
|
258
|
+
:param builtins.str project_id: The ID of the project.
|
259
|
+
:param builtins.str service_endpoint_id: the ID of the Service Endpoint.
|
260
|
+
:param builtins.str service_endpoint_name: the Name of the Service Endpoint.
|
261
|
+
|
262
|
+
> **NOTE:** 1. One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
263
|
+
<br>2. When supplying `service_endpoint_name`, take care to ensure that this is a unique name.
|
264
|
+
"""
|
265
|
+
__args__ = dict()
|
266
|
+
__args__['projectId'] = project_id
|
267
|
+
__args__['serviceEndpointId'] = service_endpoint_id
|
268
|
+
__args__['serviceEndpointName'] = service_endpoint_name
|
269
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
270
|
+
__ret__ = pulumi.runtime.invoke_output('azuredevops:index/getServiceendpointDockerregistry:getServiceendpointDockerregistry', __args__, opts=opts, typ=GetServiceendpointDockerregistryResult)
|
271
|
+
return __ret__.apply(lambda __response__: GetServiceendpointDockerregistryResult(
|
272
|
+
authorization=pulumi.get(__response__, 'authorization'),
|
273
|
+
description=pulumi.get(__response__, 'description'),
|
274
|
+
docker_email=pulumi.get(__response__, 'docker_email'),
|
275
|
+
docker_password=pulumi.get(__response__, 'docker_password'),
|
276
|
+
docker_registry=pulumi.get(__response__, 'docker_registry'),
|
277
|
+
docker_username=pulumi.get(__response__, 'docker_username'),
|
278
|
+
id=pulumi.get(__response__, 'id'),
|
279
|
+
project_id=pulumi.get(__response__, 'project_id'),
|
280
|
+
registry_type=pulumi.get(__response__, 'registry_type'),
|
281
|
+
service_endpoint_id=pulumi.get(__response__, 'service_endpoint_id'),
|
282
|
+
service_endpoint_name=pulumi.get(__response__, 'service_endpoint_name')))
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/get_team.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/get_teams.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/get_user.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/get_users.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/git.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -49,6 +49,9 @@ class GitPermissionsArgs:
|
|
49
49
|
| PullRequestContribute | Contribute to pull requests |
|
50
50
|
| PullRequestBypassPolicy | Bypass policies when completing pull requests |
|
51
51
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
52
|
+
|
53
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
54
|
+
as resource ID. It is recommended to check before use.
|
52
55
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
53
56
|
:param pulumi.Input[builtins.str] branch_name: The name of the branch to assign the permissions.
|
54
57
|
|
@@ -102,6 +105,9 @@ class GitPermissionsArgs:
|
|
102
105
|
def principal(self) -> pulumi.Input[builtins.str]:
|
103
106
|
"""
|
104
107
|
The **group** principal to assign the permissions.
|
108
|
+
|
109
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
110
|
+
as resource ID. It is recommended to check before use.
|
105
111
|
"""
|
106
112
|
return pulumi.get(self, "principal")
|
107
113
|
|
@@ -195,6 +201,9 @@ class _GitPermissionsState:
|
|
195
201
|
| PullRequestContribute | Contribute to pull requests |
|
196
202
|
| PullRequestBypassPolicy | Bypass policies when completing pull requests |
|
197
203
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
204
|
+
|
205
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
206
|
+
as resource ID. It is recommended to check before use.
|
198
207
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
199
208
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
200
209
|
:param pulumi.Input[builtins.str] repository_id: The ID of the GIT repository to assign the permissions
|
@@ -262,6 +271,9 @@ class _GitPermissionsState:
|
|
262
271
|
def principal(self) -> Optional[pulumi.Input[builtins.str]]:
|
263
272
|
"""
|
264
273
|
The **group** principal to assign the permissions.
|
274
|
+
|
275
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
276
|
+
as resource ID. It is recommended to check before use.
|
265
277
|
"""
|
266
278
|
return pulumi.get(self, "principal")
|
267
279
|
|
@@ -518,6 +530,9 @@ class GitPermissions(pulumi.CustomResource):
|
|
518
530
|
| PullRequestContribute | Contribute to pull requests |
|
519
531
|
| PullRequestBypassPolicy | Bypass policies when completing pull requests |
|
520
532
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
533
|
+
|
534
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
535
|
+
as resource ID. It is recommended to check before use.
|
521
536
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
522
537
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
523
538
|
:param pulumi.Input[builtins.str] repository_id: The ID of the GIT repository to assign the permissions
|
@@ -790,6 +805,9 @@ class GitPermissions(pulumi.CustomResource):
|
|
790
805
|
| PullRequestContribute | Contribute to pull requests |
|
791
806
|
| PullRequestBypassPolicy | Bypass policies when completing pull requests |
|
792
807
|
:param pulumi.Input[builtins.str] principal: The **group** principal to assign the permissions.
|
808
|
+
|
809
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
810
|
+
as resource ID. It is recommended to check before use.
|
793
811
|
:param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
|
794
812
|
:param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
795
813
|
:param pulumi.Input[builtins.str] repository_id: The ID of the GIT repository to assign the permissions
|
@@ -848,6 +866,9 @@ class GitPermissions(pulumi.CustomResource):
|
|
848
866
|
def principal(self) -> pulumi.Output[builtins.str]:
|
849
867
|
"""
|
850
868
|
The **group** principal to assign the permissions.
|
869
|
+
|
870
|
+
> **Note** The `descriptor` of the user/group not the `ID`. Some resources in this provider use the `descriptor`
|
871
|
+
as resource ID. It is recommended to check before use.
|
851
872
|
"""
|
852
873
|
return pulumi.get(self, "principal")
|
853
874
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/group.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/outputs.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -92,6 +92,7 @@ __all__ = [
|
|
92
92
|
'ServicehookStorageQueuePipelinesStageStateChangedEvent',
|
93
93
|
'VariableGroupKeyVault',
|
94
94
|
'VariableGroupVariable',
|
95
|
+
'WorkitemRelation',
|
95
96
|
'GetAreaChildrenResult',
|
96
97
|
'GetBuildDefinitionCiTriggerResult',
|
97
98
|
'GetBuildDefinitionCiTriggerOverrideResult',
|
@@ -4438,6 +4439,37 @@ class VariableGroupVariable(dict):
|
|
4438
4439
|
return pulumi.get(self, "value")
|
4439
4440
|
|
4440
4441
|
|
4442
|
+
@pulumi.output_type
|
4443
|
+
class WorkitemRelation(dict):
|
4444
|
+
def __init__(__self__, *,
|
4445
|
+
rel: Optional[builtins.str] = None,
|
4446
|
+
url: Optional[builtins.str] = None):
|
4447
|
+
"""
|
4448
|
+
:param builtins.str rel: The type of relationship. For example: `System.LinkTypes.Hierarchy-Reverse` is a parent relationship. More details [item link type](https://learn.microsoft.com/en-us/azure/devops/boards/queries/link-type-reference?view=azure-devops#example).
|
4449
|
+
:param builtins.str url: The URL of the Work Item.
|
4450
|
+
"""
|
4451
|
+
if rel is not None:
|
4452
|
+
pulumi.set(__self__, "rel", rel)
|
4453
|
+
if url is not None:
|
4454
|
+
pulumi.set(__self__, "url", url)
|
4455
|
+
|
4456
|
+
@property
|
4457
|
+
@pulumi.getter
|
4458
|
+
def rel(self) -> Optional[builtins.str]:
|
4459
|
+
"""
|
4460
|
+
The type of relationship. For example: `System.LinkTypes.Hierarchy-Reverse` is a parent relationship. More details [item link type](https://learn.microsoft.com/en-us/azure/devops/boards/queries/link-type-reference?view=azure-devops#example).
|
4461
|
+
"""
|
4462
|
+
return pulumi.get(self, "rel")
|
4463
|
+
|
4464
|
+
@property
|
4465
|
+
@pulumi.getter
|
4466
|
+
def url(self) -> Optional[builtins.str]:
|
4467
|
+
"""
|
4468
|
+
The URL of the Work Item.
|
4469
|
+
"""
|
4470
|
+
return pulumi.get(self, "url")
|
4471
|
+
|
4472
|
+
|
4441
4473
|
@pulumi.output_type
|
4442
4474
|
class GetAreaChildrenResult(dict):
|
4443
4475
|
def __init__(__self__, *,
|
@@ -5346,7 +5378,7 @@ class GetGroupsGroupResult(dict):
|
|
5346
5378
|
"""
|
5347
5379
|
:param builtins.str descriptor: The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the same graph subject across both Accounts and Organizations.
|
5348
5380
|
:param builtins.str domain: This represents the name of the container of origin for a graph member. (For MSA this is "Windows Live ID", for AD the name of the domain, for AAD the tenantID of the directory, for VSTS groups the ScopeId, etc)
|
5349
|
-
:param builtins.str id: The ID of the group.
|
5381
|
+
:param builtins.str id: The ID(UUID format) of the group.
|
5350
5382
|
:param builtins.str origin: The type of source provider for the origin identifier (ex:AD, AAD, MSA)
|
5351
5383
|
:param builtins.str principal_name: This is the PrincipalName of this graph member from the source provider. The source provider may change this field over time and it is not guaranteed to be immutable for the life of the graph member by VSTS.
|
5352
5384
|
:param builtins.str url: This url is the full route to the source resource of this graph subject.
|
@@ -5390,7 +5422,7 @@ class GetGroupsGroupResult(dict):
|
|
5390
5422
|
@pulumi.getter
|
5391
5423
|
def id(self) -> builtins.str:
|
5392
5424
|
"""
|
5393
|
-
The ID of the group.
|
5425
|
+
The ID(UUID format) of the group.
|
5394
5426
|
"""
|
5395
5427
|
return pulumi.get(self, "id")
|
5396
5428
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/pool.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/project.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/provider.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
pulumi_azuredevops/queue.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
4
|
|
5
5
|
import builtins
|