pulumi-azuredevops 3.9.0a1745292941__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 (120) hide show
  1. pulumi_azuredevops/__init__.py +10 -0
  2. pulumi_azuredevops/_inputs.py +54 -0
  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 +1 -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 +1 -0
  26. pulumi_azuredevops/feed.py +1 -0
  27. pulumi_azuredevops/feed_permission.py +1 -0
  28. pulumi_azuredevops/feed_retention_policy.py +1 -0
  29. pulumi_azuredevops/get_group.py +1 -1
  30. pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +282 -0
  31. pulumi_azuredevops/git.py +1 -0
  32. pulumi_azuredevops/git_permissions.py +22 -0
  33. pulumi_azuredevops/git_repository_branch.py +1 -0
  34. pulumi_azuredevops/git_repository_file.py +1 -0
  35. pulumi_azuredevops/group.py +1 -0
  36. pulumi_azuredevops/group_entitlement.py +1 -0
  37. pulumi_azuredevops/group_membership.py +1 -0
  38. pulumi_azuredevops/iterative_permissions.py +1 -0
  39. pulumi_azuredevops/library_permissions.py +1 -0
  40. pulumi_azuredevops/outputs.py +34 -2
  41. pulumi_azuredevops/pipeline_authorization.py +1 -0
  42. pulumi_azuredevops/pool.py +1 -0
  43. pulumi_azuredevops/project.py +1 -0
  44. pulumi_azuredevops/project_features.py +1 -0
  45. pulumi_azuredevops/project_permissions.py +1 -0
  46. pulumi_azuredevops/project_pipeline_settings.py +1 -0
  47. pulumi_azuredevops/project_tags.py +1 -0
  48. pulumi_azuredevops/provider.py +21 -0
  49. pulumi_azuredevops/pulumi-plugin.json +1 -1
  50. pulumi_azuredevops/queue.py +1 -0
  51. pulumi_azuredevops/repository_policy_author_email_pattern.py +1 -0
  52. pulumi_azuredevops/repository_policy_case_enforcement.py +1 -0
  53. pulumi_azuredevops/repository_policy_check_credentials.py +1 -0
  54. pulumi_azuredevops/repository_policy_file_path_pattern.py +1 -0
  55. pulumi_azuredevops/repository_policy_max_file_size.py +1 -0
  56. pulumi_azuredevops/repository_policy_max_path_length.py +1 -0
  57. pulumi_azuredevops/repository_policy_reserved_names.py +1 -0
  58. pulumi_azuredevops/resource_authorization.py +1 -0
  59. pulumi_azuredevops/securityrole_assignment.py +1 -0
  60. pulumi_azuredevops/service_endpoint_artifactory.py +1 -0
  61. pulumi_azuredevops/service_endpoint_aws.py +1 -0
  62. pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -0
  63. pulumi_azuredevops/service_endpoint_azure_ecr.py +1 -0
  64. pulumi_azuredevops/service_endpoint_azure_rm.py +1 -0
  65. pulumi_azuredevops/service_endpoint_bit_bucket.py +1 -0
  66. pulumi_azuredevops/service_endpoint_docker_registry.py +1 -0
  67. pulumi_azuredevops/service_endpoint_generic.py +1 -0
  68. pulumi_azuredevops/service_endpoint_generic_git.py +1 -0
  69. pulumi_azuredevops/service_endpoint_git_hub.py +1 -0
  70. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +1 -0
  71. pulumi_azuredevops/service_endpoint_git_lab.py +1 -0
  72. pulumi_azuredevops/service_endpoint_kubernetes.py +1 -0
  73. pulumi_azuredevops/service_endpoint_npm.py +1 -0
  74. pulumi_azuredevops/service_endpoint_pipeline.py +1 -0
  75. pulumi_azuredevops/service_endpoint_service_fabric.py +1 -0
  76. pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -0
  77. pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -0
  78. pulumi_azuredevops/service_endpoint_ssh.py +1 -0
  79. pulumi_azuredevops/service_principal_entitlement.py +1 -0
  80. pulumi_azuredevops/serviceendpoint_argocd.py +1 -0
  81. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -0
  82. pulumi_azuredevops/serviceendpoint_black_duck.py +417 -0
  83. pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -0
  84. pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -0
  85. pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -0
  86. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -0
  87. pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -0
  88. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +8 -7
  89. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +1 -0
  90. pulumi_azuredevops/serviceendpoint_jenkins.py +1 -0
  91. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -0
  92. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -0
  93. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -0
  94. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -0
  95. pulumi_azuredevops/serviceendpoint_maven.py +1 -0
  96. pulumi_azuredevops/serviceendpoint_nexus.py +1 -0
  97. pulumi_azuredevops/serviceendpoint_nuget.py +1 -0
  98. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -0
  99. pulumi_azuredevops/serviceendpoint_openshift.py +1 -0
  100. pulumi_azuredevops/serviceendpoint_permissions.py +1 -0
  101. pulumi_azuredevops/serviceendpoint_snyk.py +1 -0
  102. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -0
  103. pulumi_azuredevops/servicehook_permissions.py +1 -0
  104. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +1 -0
  105. pulumi_azuredevops/tagging_permissions.py +1 -0
  106. pulumi_azuredevops/team.py +1 -0
  107. pulumi_azuredevops/team_administrators.py +1 -0
  108. pulumi_azuredevops/team_members.py +1 -0
  109. pulumi_azuredevops/user.py +1 -0
  110. pulumi_azuredevops/variable_group.py +1 -0
  111. pulumi_azuredevops/variable_group_permissions.py +1 -0
  112. pulumi_azuredevops/wiki.py +1 -0
  113. pulumi_azuredevops/wiki_page.py +1 -0
  114. pulumi_azuredevops/work_item_query_permissions.py +1 -0
  115. pulumi_azuredevops/workitem.py +166 -4
  116. {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/METADATA +3 -3
  117. pulumi_azuredevops-3.10.0.dist-info/RECORD +158 -0
  118. {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/WHEEL +1 -1
  119. pulumi_azuredevops-3.9.0a1745292941.dist-info/RECORD +0 -156
  120. {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/top_level.txt +0 -0
@@ -59,6 +59,7 @@ from .get_service_endpoint_github import *
59
59
  from .get_service_principal import *
60
60
  from .get_serviceendpoint_azurecr import *
61
61
  from .get_serviceendpoint_bitbucket import *
62
+ from .get_serviceendpoint_dockerregistry import *
62
63
  from .get_serviceendpoint_npm import *
63
64
  from .get_serviceendpoint_sonarcloud import *
64
65
  from .get_storage_key import *
@@ -116,6 +117,7 @@ from .service_endpoint_ssh import *
116
117
  from .service_principal_entitlement import *
117
118
  from .serviceendpoint_argocd import *
118
119
  from .serviceendpoint_azure_service_bus import *
120
+ from .serviceendpoint_black_duck import *
119
121
  from .serviceendpoint_checkmarx_one import *
120
122
  from .serviceendpoint_checkmarx_sast import *
121
123
  from .serviceendpoint_checkmarx_sca import *
@@ -754,6 +756,14 @@ _utilities.register(
754
756
  "azuredevops:index/serviceendpointAzureServiceBus:ServiceendpointAzureServiceBus": "ServiceendpointAzureServiceBus"
755
757
  }
756
758
  },
759
+ {
760
+ "pkg": "azuredevops",
761
+ "mod": "index/serviceendpointBlackDuck",
762
+ "fqn": "pulumi_azuredevops",
763
+ "classes": {
764
+ "azuredevops:index/serviceendpointBlackDuck:ServiceendpointBlackDuck": "ServiceendpointBlackDuck"
765
+ }
766
+ },
757
767
  {
758
768
  "pkg": "azuredevops",
759
769
  "mod": "index/serviceendpointCheckmarxOne",
@@ -166,6 +166,8 @@ __all__ = [
166
166
  'VariableGroupKeyVaultArgsDict',
167
167
  'VariableGroupVariableArgs',
168
168
  'VariableGroupVariableArgsDict',
169
+ 'WorkitemRelationArgs',
170
+ 'WorkitemRelationArgsDict',
169
171
  'GetUsersFeaturesArgs',
170
172
  'GetUsersFeaturesArgsDict',
171
173
  ]
@@ -5813,6 +5815,58 @@ class VariableGroupVariableArgs:
5813
5815
  pulumi.set(self, "value", value)
5814
5816
 
5815
5817
 
5818
+ if not MYPY:
5819
+ class WorkitemRelationArgsDict(TypedDict):
5820
+ rel: NotRequired[pulumi.Input[builtins.str]]
5821
+ """
5822
+ 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).
5823
+ """
5824
+ url: NotRequired[pulumi.Input[builtins.str]]
5825
+ """
5826
+ The URL of the Work Item.
5827
+ """
5828
+ elif False:
5829
+ WorkitemRelationArgsDict: TypeAlias = Mapping[str, Any]
5830
+
5831
+ @pulumi.input_type
5832
+ class WorkitemRelationArgs:
5833
+ def __init__(__self__, *,
5834
+ rel: Optional[pulumi.Input[builtins.str]] = None,
5835
+ url: Optional[pulumi.Input[builtins.str]] = None):
5836
+ """
5837
+ :param pulumi.Input[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).
5838
+ :param pulumi.Input[builtins.str] url: The URL of the Work Item.
5839
+ """
5840
+ if rel is not None:
5841
+ pulumi.set(__self__, "rel", rel)
5842
+ if url is not None:
5843
+ pulumi.set(__self__, "url", url)
5844
+
5845
+ @property
5846
+ @pulumi.getter
5847
+ def rel(self) -> Optional[pulumi.Input[builtins.str]]:
5848
+ """
5849
+ 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).
5850
+ """
5851
+ return pulumi.get(self, "rel")
5852
+
5853
+ @rel.setter
5854
+ def rel(self, value: Optional[pulumi.Input[builtins.str]]):
5855
+ pulumi.set(self, "rel", value)
5856
+
5857
+ @property
5858
+ @pulumi.getter
5859
+ def url(self) -> Optional[pulumi.Input[builtins.str]]:
5860
+ """
5861
+ The URL of the Work Item.
5862
+ """
5863
+ return pulumi.get(self, "url")
5864
+
5865
+ @url.setter
5866
+ def url(self, value: Optional[pulumi.Input[builtins.str]]):
5867
+ pulumi.set(self, "url", value)
5868
+
5869
+
5816
5870
  if not MYPY:
5817
5871
  class GetUsersFeaturesArgsDict(TypedDict):
5818
5872
  concurrent_workers: NotRequired[builtins.int]
@@ -238,6 +238,7 @@ class _AreaPermissionsState:
238
238
  pulumi.set(self, "replace", value)
239
239
 
240
240
 
241
+ @pulumi.type_token("azuredevops:index/areaPermissions:AreaPermissions")
241
242
  class AreaPermissions(pulumi.CustomResource):
242
243
  @overload
243
244
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyAutoReviewersState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyAutoReviewers:BranchPolicyAutoReviewers")
164
165
  class BranchPolicyAutoReviewers(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyBuildValidationState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyBuildValidation:BranchPolicyBuildValidation")
164
165
  class BranchPolicyBuildValidation(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyCommentResolutionState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyCommentResolution:BranchPolicyCommentResolution")
164
165
  class BranchPolicyCommentResolution(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyMergeTypesState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyMergeTypes:BranchPolicyMergeTypes")
164
165
  class BranchPolicyMergeTypes(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyMinReviewersState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyMinReviewers:BranchPolicyMinReviewers")
164
165
  class BranchPolicyMinReviewers(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyStatusCheckState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyStatusCheck:BranchPolicyStatusCheck")
164
165
  class BranchPolicyStatusCheck(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -161,6 +161,7 @@ class _BranchPolicyWorkItemLinkingState:
161
161
  pulumi.set(self, "settings", value)
162
162
 
163
163
 
164
+ @pulumi.type_token("azuredevops:index/branchPolicyWorkItemLinking:BranchPolicyWorkItemLinking")
164
165
  class BranchPolicyWorkItemLinking(pulumi.CustomResource):
165
166
  @overload
166
167
  def __init__(__self__,
@@ -561,6 +561,7 @@ class _BuildDefinitionState:
561
561
  pulumi.set(self, "variables", value)
562
562
 
563
563
 
564
+ @pulumi.type_token("azuredevops:index/buildDefinition:BuildDefinition")
564
565
  class BuildDefinition(pulumi.CustomResource):
565
566
  @overload
566
567
  def __init__(__self__,
@@ -269,6 +269,7 @@ class _BuildDefinitionPermissionsState:
269
269
  pulumi.set(self, "replace", value)
270
270
 
271
271
 
272
+ @pulumi.type_token("azuredevops:index/buildDefinitionPermissions:BuildDefinitionPermissions")
272
273
  class BuildDefinitionPermissions(pulumi.CustomResource):
273
274
  @overload
274
275
  def __init__(__self__,
@@ -127,6 +127,7 @@ class _BuildFolderState:
127
127
  pulumi.set(self, "project_id", value)
128
128
 
129
129
 
130
+ @pulumi.type_token("azuredevops:index/buildFolder:BuildFolder")
130
131
  class BuildFolder(pulumi.CustomResource):
131
132
  @overload
132
133
  def __init__(__self__,
@@ -265,6 +265,7 @@ class _BuildFolderPermissionsState:
265
265
  pulumi.set(self, "replace", value)
266
266
 
267
267
 
268
+ @pulumi.type_token("azuredevops:index/buildFolderPermissions:BuildFolderPermissions")
268
269
  class BuildFolderPermissions(pulumi.CustomResource):
269
270
  @overload
270
271
  def __init__(__self__,
@@ -301,6 +301,7 @@ class _CheckApprovalState:
301
301
  pulumi.set(self, "version", value)
302
302
 
303
303
 
304
+ @pulumi.type_token("azuredevops:index/checkApproval:CheckApproval")
304
305
  class CheckApproval(pulumi.CustomResource):
305
306
  @overload
306
307
  def __init__(__self__,
@@ -302,6 +302,7 @@ class _CheckBranchControlState:
302
302
  pulumi.set(self, "version", value)
303
303
 
304
304
 
305
+ @pulumi.type_token("azuredevops:index/checkBranchControl:CheckBranchControl")
305
306
  class CheckBranchControl(pulumi.CustomResource):
306
307
  @overload
307
308
  def __init__(__self__,
@@ -523,6 +523,7 @@ class _CheckBusinessHoursState:
523
523
  pulumi.set(self, "wednesday", value)
524
524
 
525
525
 
526
+ @pulumi.type_token("azuredevops:index/checkBusinessHours:CheckBusinessHours")
526
527
  class CheckBusinessHours(pulumi.CustomResource):
527
528
  @overload
528
529
  def __init__(__self__,
@@ -174,6 +174,7 @@ class _CheckExclusiveLockState:
174
174
  pulumi.set(self, "version", value)
175
175
 
176
176
 
177
+ @pulumi.type_token("azuredevops:index/checkExclusiveLock:CheckExclusiveLock")
177
178
  class CheckExclusiveLock(pulumi.CustomResource):
178
179
  @overload
179
180
  def __init__(__self__,
@@ -175,6 +175,7 @@ class _CheckRequiredTemplateState:
175
175
  pulumi.set(self, "version", value)
176
176
 
177
177
 
178
+ @pulumi.type_token("azuredevops:index/checkRequiredTemplate:CheckRequiredTemplate")
178
179
  class CheckRequiredTemplate(pulumi.CustomResource):
179
180
  @overload
180
181
  def __init__(__self__,
@@ -542,6 +542,7 @@ class _CheckRestApiState:
542
542
  pulumi.set(self, "version", value)
543
543
 
544
544
 
545
+ @pulumi.type_token("azuredevops:index/checkRestApi:CheckRestApi")
545
546
  class CheckRestApi(pulumi.CustomResource):
546
547
  @overload
547
548
  def __init__(__self__,
@@ -208,6 +208,7 @@ class _DashboardState:
208
208
  pulumi.set(self, "team_id", value)
209
209
 
210
210
 
211
+ @pulumi.type_token("azuredevops:index/dashboard:Dashboard")
211
212
  class Dashboard(pulumi.CustomResource):
212
213
  @overload
213
214
  def __init__(__self__,
@@ -412,6 +412,7 @@ class _ElasticPoolState:
412
412
  pulumi.set(self, "time_to_live_minutes", value)
413
413
 
414
414
 
415
+ @pulumi.type_token("azuredevops:index/elasticPool:ElasticPool")
415
416
  class ElasticPool(pulumi.CustomResource):
416
417
  @overload
417
418
  def __init__(__self__,
@@ -128,6 +128,7 @@ class _EnvironmentState:
128
128
  pulumi.set(self, "project_id", value)
129
129
 
130
130
 
131
+ @pulumi.type_token("azuredevops:index/environment:Environment")
131
132
  class Environment(pulumi.CustomResource):
132
133
  @overload
133
134
  def __init__(__self__,
@@ -253,6 +253,7 @@ class _EnvironmentResourceKubernetesState:
253
253
  pulumi.set(self, "tags", value)
254
254
 
255
255
 
256
+ @pulumi.type_token("azuredevops:index/environmentResourceKubernetes:EnvironmentResourceKubernetes")
256
257
  class EnvironmentResourceKubernetes(pulumi.CustomResource):
257
258
  @overload
258
259
  def __init__(__self__,
@@ -207,6 +207,7 @@ class _ExtensionState:
207
207
  pulumi.set(self, "version", value)
208
208
 
209
209
 
210
+ @pulumi.type_token("azuredevops:index/extension:Extension")
210
211
  class Extension(pulumi.CustomResource):
211
212
  @overload
212
213
  def __init__(__self__,
@@ -139,6 +139,7 @@ class _FeedState:
139
139
  pulumi.set(self, "project_id", value)
140
140
 
141
141
 
142
+ @pulumi.type_token("azuredevops:index/feed:Feed")
142
143
  class Feed(pulumi.CustomResource):
143
144
  @overload
144
145
  def __init__(__self__,
@@ -206,6 +206,7 @@ class _FeedPermissionState:
206
206
  pulumi.set(self, "role", value)
207
207
 
208
208
 
209
+ @pulumi.type_token("azuredevops:index/feedPermission:FeedPermission")
209
210
  class FeedPermission(pulumi.CustomResource):
210
211
  @overload
211
212
  def __init__(__self__,
@@ -158,6 +158,7 @@ class _FeedRetentionPolicyState:
158
158
  pulumi.set(self, "project_id", value)
159
159
 
160
160
 
161
+ @pulumi.type_token("azuredevops:index/feedRetentionPolicy:FeedRetentionPolicy")
161
162
  class FeedRetentionPolicy(pulumi.CustomResource):
162
163
  @overload
163
164
  def __init__(__self__,
@@ -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__,