pulumi-azuredevops 3.9.0a1745040263__py3-none-any.whl → 3.10.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.
Files changed (121) hide show
  1. pulumi_azuredevops/__init__.py +29 -0
  2. pulumi_azuredevops/_inputs.py +206 -26
  3. pulumi_azuredevops/area_permissions.py +1 -0
  4. pulumi_azuredevops/branch_policy_auto_reviewers.py +1 -0
  5. pulumi_azuredevops/branch_policy_build_validation.py +1 -0
  6. pulumi_azuredevops/branch_policy_comment_resolution.py +1 -0
  7. pulumi_azuredevops/branch_policy_merge_types.py +1 -0
  8. pulumi_azuredevops/branch_policy_min_reviewers.py +1 -0
  9. pulumi_azuredevops/branch_policy_status_check.py +1 -0
  10. pulumi_azuredevops/branch_policy_work_item_linking.py +1 -0
  11. pulumi_azuredevops/build_definition.py +1 -0
  12. pulumi_azuredevops/build_definition_permissions.py +1 -0
  13. pulumi_azuredevops/build_folder.py +1 -0
  14. pulumi_azuredevops/build_folder_permissions.py +8 -0
  15. pulumi_azuredevops/check_approval.py +1 -0
  16. pulumi_azuredevops/check_branch_control.py +1 -0
  17. pulumi_azuredevops/check_business_hours.py +1 -0
  18. pulumi_azuredevops/check_exclusive_lock.py +1 -0
  19. pulumi_azuredevops/check_required_template.py +1 -0
  20. pulumi_azuredevops/check_rest_api.py +1 -0
  21. pulumi_azuredevops/dashboard.py +1 -0
  22. pulumi_azuredevops/elastic_pool.py +1 -0
  23. pulumi_azuredevops/environment.py +1 -0
  24. pulumi_azuredevops/environment_resource_kubernetes.py +1 -0
  25. pulumi_azuredevops/extension.py +427 -0
  26. pulumi_azuredevops/feed.py +1 -0
  27. pulumi_azuredevops/feed_permission.py +29 -0
  28. pulumi_azuredevops/feed_retention_policy.py +1 -0
  29. pulumi_azuredevops/get_git_repository_file.py +201 -0
  30. pulumi_azuredevops/get_group.py +1 -1
  31. pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +282 -0
  32. pulumi_azuredevops/git.py +1 -0
  33. pulumi_azuredevops/git_permissions.py +22 -0
  34. pulumi_azuredevops/git_repository_branch.py +1 -0
  35. pulumi_azuredevops/git_repository_file.py +257 -0
  36. pulumi_azuredevops/group.py +1 -0
  37. pulumi_azuredevops/group_entitlement.py +1 -0
  38. pulumi_azuredevops/group_membership.py +1 -0
  39. pulumi_azuredevops/iterative_permissions.py +1 -0
  40. pulumi_azuredevops/library_permissions.py +1 -0
  41. pulumi_azuredevops/outputs.py +156 -18
  42. pulumi_azuredevops/pipeline_authorization.py +1 -0
  43. pulumi_azuredevops/pool.py +1 -0
  44. pulumi_azuredevops/project.py +1 -0
  45. pulumi_azuredevops/project_features.py +1 -0
  46. pulumi_azuredevops/project_permissions.py +1 -0
  47. pulumi_azuredevops/project_pipeline_settings.py +1 -0
  48. pulumi_azuredevops/project_tags.py +1 -0
  49. pulumi_azuredevops/provider.py +21 -0
  50. pulumi_azuredevops/pulumi-plugin.json +1 -1
  51. pulumi_azuredevops/queue.py +1 -0
  52. pulumi_azuredevops/repository_policy_author_email_pattern.py +1 -0
  53. pulumi_azuredevops/repository_policy_case_enforcement.py +1 -0
  54. pulumi_azuredevops/repository_policy_check_credentials.py +1 -0
  55. pulumi_azuredevops/repository_policy_file_path_pattern.py +1 -0
  56. pulumi_azuredevops/repository_policy_max_file_size.py +1 -0
  57. pulumi_azuredevops/repository_policy_max_path_length.py +1 -0
  58. pulumi_azuredevops/repository_policy_reserved_names.py +1 -0
  59. pulumi_azuredevops/resource_authorization.py +1 -0
  60. pulumi_azuredevops/securityrole_assignment.py +1 -0
  61. pulumi_azuredevops/service_endpoint_artifactory.py +1 -0
  62. pulumi_azuredevops/service_endpoint_aws.py +1 -0
  63. pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -0
  64. pulumi_azuredevops/service_endpoint_azure_ecr.py +1 -0
  65. pulumi_azuredevops/service_endpoint_azure_rm.py +1 -0
  66. pulumi_azuredevops/service_endpoint_bit_bucket.py +1 -0
  67. pulumi_azuredevops/service_endpoint_docker_registry.py +1 -0
  68. pulumi_azuredevops/service_endpoint_generic.py +1 -0
  69. pulumi_azuredevops/service_endpoint_generic_git.py +1 -0
  70. pulumi_azuredevops/service_endpoint_git_hub.py +1 -0
  71. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +123 -31
  72. pulumi_azuredevops/service_endpoint_git_lab.py +1 -0
  73. pulumi_azuredevops/service_endpoint_kubernetes.py +1 -0
  74. pulumi_azuredevops/service_endpoint_npm.py +1 -0
  75. pulumi_azuredevops/service_endpoint_pipeline.py +1 -0
  76. pulumi_azuredevops/service_endpoint_service_fabric.py +1 -0
  77. pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -0
  78. pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -0
  79. pulumi_azuredevops/service_endpoint_ssh.py +1 -0
  80. pulumi_azuredevops/service_principal_entitlement.py +1 -0
  81. pulumi_azuredevops/serviceendpoint_argocd.py +1 -0
  82. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -0
  83. pulumi_azuredevops/serviceendpoint_black_duck.py +417 -0
  84. pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -0
  85. pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -0
  86. pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -0
  87. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -0
  88. pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -0
  89. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +8 -7
  90. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +1 -0
  91. pulumi_azuredevops/serviceendpoint_jenkins.py +1 -0
  92. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -0
  93. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -0
  94. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -0
  95. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -0
  96. pulumi_azuredevops/serviceendpoint_maven.py +1 -0
  97. pulumi_azuredevops/serviceendpoint_nexus.py +1 -0
  98. pulumi_azuredevops/serviceendpoint_nuget.py +1 -0
  99. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -0
  100. pulumi_azuredevops/serviceendpoint_openshift.py +689 -0
  101. pulumi_azuredevops/serviceendpoint_permissions.py +1 -0
  102. pulumi_azuredevops/serviceendpoint_snyk.py +1 -0
  103. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -0
  104. pulumi_azuredevops/servicehook_permissions.py +1 -0
  105. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +1 -0
  106. pulumi_azuredevops/tagging_permissions.py +1 -0
  107. pulumi_azuredevops/team.py +1 -0
  108. pulumi_azuredevops/team_administrators.py +1 -0
  109. pulumi_azuredevops/team_members.py +1 -0
  110. pulumi_azuredevops/user.py +1 -0
  111. pulumi_azuredevops/variable_group.py +1 -0
  112. pulumi_azuredevops/variable_group_permissions.py +1 -0
  113. pulumi_azuredevops/wiki.py +1 -0
  114. pulumi_azuredevops/wiki_page.py +1 -0
  115. pulumi_azuredevops/work_item_query_permissions.py +1 -0
  116. pulumi_azuredevops/workitem.py +166 -4
  117. {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0.dist-info}/METADATA +3 -3
  118. pulumi_azuredevops-3.10.0.dist-info/RECORD +158 -0
  119. {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0.dist-info}/WHEEL +1 -1
  120. pulumi_azuredevops-3.9.0a1745040263.dist-info/RECORD +0 -153
  121. {pulumi_azuredevops-3.9.0a1745040263.dist-info → pulumi_azuredevops-3.10.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,201 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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
+ 'GetGitRepositoryFileResult',
20
+ 'AwaitableGetGitRepositoryFileResult',
21
+ 'get_git_repository_file',
22
+ 'get_git_repository_file_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetGitRepositoryFileResult:
27
+ """
28
+ A collection of values returned by getGitRepositoryFile.
29
+ """
30
+ def __init__(__self__, branch=None, content=None, file=None, id=None, last_commit_message=None, repository_id=None, tag=None):
31
+ if branch and not isinstance(branch, str):
32
+ raise TypeError("Expected argument 'branch' to be a str")
33
+ pulumi.set(__self__, "branch", branch)
34
+ if content and not isinstance(content, str):
35
+ raise TypeError("Expected argument 'content' to be a str")
36
+ pulumi.set(__self__, "content", content)
37
+ if file and not isinstance(file, str):
38
+ raise TypeError("Expected argument 'file' to be a str")
39
+ pulumi.set(__self__, "file", file)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if last_commit_message and not isinstance(last_commit_message, str):
44
+ raise TypeError("Expected argument 'last_commit_message' to be a str")
45
+ pulumi.set(__self__, "last_commit_message", last_commit_message)
46
+ if repository_id and not isinstance(repository_id, str):
47
+ raise TypeError("Expected argument 'repository_id' to be a str")
48
+ pulumi.set(__self__, "repository_id", repository_id)
49
+ if tag and not isinstance(tag, str):
50
+ raise TypeError("Expected argument 'tag' to be a str")
51
+ pulumi.set(__self__, "tag", tag)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def branch(self) -> Optional[builtins.str]:
56
+ return pulumi.get(self, "branch")
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def content(self) -> builtins.str:
61
+ """
62
+ The file content.
63
+ """
64
+ return pulumi.get(self, "content")
65
+
66
+ @property
67
+ @pulumi.getter
68
+ def file(self) -> builtins.str:
69
+ return pulumi.get(self, "file")
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def id(self) -> builtins.str:
74
+ """
75
+ The provider-assigned unique ID for this managed resource.
76
+ """
77
+ return pulumi.get(self, "id")
78
+
79
+ @property
80
+ @pulumi.getter(name="lastCommitMessage")
81
+ def last_commit_message(self) -> builtins.str:
82
+ """
83
+ The commit message for the file.
84
+ """
85
+ return pulumi.get(self, "last_commit_message")
86
+
87
+ @property
88
+ @pulumi.getter(name="repositoryId")
89
+ def repository_id(self) -> builtins.str:
90
+ return pulumi.get(self, "repository_id")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def tag(self) -> Optional[builtins.str]:
95
+ return pulumi.get(self, "tag")
96
+
97
+
98
+ class AwaitableGetGitRepositoryFileResult(GetGitRepositoryFileResult):
99
+ # pylint: disable=using-constant-test
100
+ def __await__(self):
101
+ if False:
102
+ yield self
103
+ return GetGitRepositoryFileResult(
104
+ branch=self.branch,
105
+ content=self.content,
106
+ file=self.file,
107
+ id=self.id,
108
+ last_commit_message=self.last_commit_message,
109
+ repository_id=self.repository_id,
110
+ tag=self.tag)
111
+
112
+
113
+ def get_git_repository_file(branch: Optional[builtins.str] = None,
114
+ file: Optional[builtins.str] = None,
115
+ repository_id: Optional[builtins.str] = None,
116
+ tag: Optional[builtins.str] = None,
117
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGitRepositoryFileResult:
118
+ """
119
+ Use this data source to get an existing Git Repository File.
120
+
121
+ ## Example Usage
122
+
123
+ ```python
124
+ import pulumi
125
+ import pulumi_azuredevops as azuredevops
126
+
127
+ example = azuredevops.get_project(name="Example Project")
128
+ # Load a specific Git repository by name
129
+ example_get_git_repository = azuredevops.get_git_repository(project_id=example.id,
130
+ name="Example Repository")
131
+ example_get_git_repository_file = azuredevops.get_git_repository_file(repository_id=example_get_git_repository.id,
132
+ branch="refs/heads/main",
133
+ file="MyFile.txt")
134
+ ```
135
+
136
+
137
+ :param builtins.str branch: The git branch to use. Conflicts with `tag`; one or the other must be specified.
138
+ :param builtins.str file: The path of the file to get.
139
+ :param builtins.str repository_id: The ID of the Git repository.
140
+ :param builtins.str tag: The tag to use.Conflicts with `branch`; one or the other must be specified.
141
+ """
142
+ __args__ = dict()
143
+ __args__['branch'] = branch
144
+ __args__['file'] = file
145
+ __args__['repositoryId'] = repository_id
146
+ __args__['tag'] = tag
147
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
148
+ __ret__ = pulumi.runtime.invoke('azuredevops:index/getGitRepositoryFile:getGitRepositoryFile', __args__, opts=opts, typ=GetGitRepositoryFileResult).value
149
+
150
+ return AwaitableGetGitRepositoryFileResult(
151
+ branch=pulumi.get(__ret__, 'branch'),
152
+ content=pulumi.get(__ret__, 'content'),
153
+ file=pulumi.get(__ret__, 'file'),
154
+ id=pulumi.get(__ret__, 'id'),
155
+ last_commit_message=pulumi.get(__ret__, 'last_commit_message'),
156
+ repository_id=pulumi.get(__ret__, 'repository_id'),
157
+ tag=pulumi.get(__ret__, 'tag'))
158
+ def get_git_repository_file_output(branch: Optional[pulumi.Input[Optional[builtins.str]]] = None,
159
+ file: Optional[pulumi.Input[builtins.str]] = None,
160
+ repository_id: Optional[pulumi.Input[builtins.str]] = None,
161
+ tag: Optional[pulumi.Input[Optional[builtins.str]]] = None,
162
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGitRepositoryFileResult]:
163
+ """
164
+ Use this data source to get an existing Git Repository File.
165
+
166
+ ## Example Usage
167
+
168
+ ```python
169
+ import pulumi
170
+ import pulumi_azuredevops as azuredevops
171
+
172
+ example = azuredevops.get_project(name="Example Project")
173
+ # Load a specific Git repository by name
174
+ example_get_git_repository = azuredevops.get_git_repository(project_id=example.id,
175
+ name="Example Repository")
176
+ example_get_git_repository_file = azuredevops.get_git_repository_file(repository_id=example_get_git_repository.id,
177
+ branch="refs/heads/main",
178
+ file="MyFile.txt")
179
+ ```
180
+
181
+
182
+ :param builtins.str branch: The git branch to use. Conflicts with `tag`; one or the other must be specified.
183
+ :param builtins.str file: The path of the file to get.
184
+ :param builtins.str repository_id: The ID of the Git repository.
185
+ :param builtins.str tag: The tag to use.Conflicts with `branch`; one or the other must be specified.
186
+ """
187
+ __args__ = dict()
188
+ __args__['branch'] = branch
189
+ __args__['file'] = file
190
+ __args__['repositoryId'] = repository_id
191
+ __args__['tag'] = tag
192
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
193
+ __ret__ = pulumi.runtime.invoke_output('azuredevops:index/getGitRepositoryFile:getGitRepositoryFile', __args__, opts=opts, typ=GetGitRepositoryFileResult)
194
+ return __ret__.apply(lambda __response__: GetGitRepositoryFileResult(
195
+ branch=pulumi.get(__response__, 'branch'),
196
+ content=pulumi.get(__response__, 'content'),
197
+ file=pulumi.get(__response__, 'file'),
198
+ id=pulumi.get(__response__, 'id'),
199
+ last_commit_message=pulumi.get(__response__, 'last_commit_message'),
200
+ repository_id=pulumi.get(__response__, 'repository_id'),
201
+ tag=pulumi.get(__response__, 'tag')))
@@ -54,7 +54,7 @@ class GetGroupResult:
54
54
  @pulumi.getter
55
55
  def descriptor(self) -> builtins.str:
56
56
  """
57
- The Descriptor is the primary way to reference the graph subject. This field will uniquely identify the same graph subject across both Accounts and Organizations.
57
+ The Descriptor is the primary way to reference the graph subject. This field will uniquely identify the same graph subject across both Accounts and Organizations. In format of `vssgp.xxxxxxxxxxxxxxxxxxx`
58
58
  """
59
59
  return pulumi.get(self, "descriptor")
60
60
 
@@ -0,0 +1,282 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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')))
pulumi_azuredevops/git.py CHANGED
@@ -321,6 +321,7 @@ class _GitState:
321
321
  pulumi.set(self, "web_url", value)
322
322
 
323
323
 
324
+ @pulumi.type_token("azuredevops:index/git:Git")
324
325
  class Git(pulumi.CustomResource):
325
326
  @overload
326
327
  def __init__(__self__,
@@ -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
 
@@ -306,6 +318,7 @@ class _GitPermissionsState:
306
318
  pulumi.set(self, "repository_id", value)
307
319
 
308
320
 
321
+ @pulumi.type_token("azuredevops:index/gitPermissions:GitPermissions")
309
322
  class GitPermissions(pulumi.CustomResource):
310
323
  @overload
311
324
  def __init__(__self__,
@@ -517,6 +530,9 @@ class GitPermissions(pulumi.CustomResource):
517
530
  | PullRequestContribute | Contribute to pull requests |
518
531
  | PullRequestBypassPolicy | Bypass policies when completing pull requests |
519
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.
520
536
  :param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
521
537
  :param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
522
538
  :param pulumi.Input[builtins.str] repository_id: The ID of the GIT repository to assign the permissions
@@ -789,6 +805,9 @@ class GitPermissions(pulumi.CustomResource):
789
805
  | PullRequestContribute | Contribute to pull requests |
790
806
  | PullRequestBypassPolicy | Bypass policies when completing pull requests |
791
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.
792
811
  :param pulumi.Input[builtins.str] project_id: The ID of the project to assign the permissions.
793
812
  :param pulumi.Input[builtins.bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
794
813
  :param pulumi.Input[builtins.str] repository_id: The ID of the GIT repository to assign the permissions
@@ -847,6 +866,9 @@ class GitPermissions(pulumi.CustomResource):
847
866
  def principal(self) -> pulumi.Output[builtins.str]:
848
867
  """
849
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.
850
872
  """
851
873
  return pulumi.get(self, "principal")
852
874
 
@@ -208,6 +208,7 @@ class _GitRepositoryBranchState:
208
208
  pulumi.set(self, "repository_id", value)
209
209
 
210
210
 
211
+ @pulumi.type_token("azuredevops:index/gitRepositoryBranch:GitRepositoryBranch")
211
212
  class GitRepositoryBranch(pulumi.CustomResource):
212
213
  @overload
213
214
  def __init__(__self__,