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.
- pulumi_azuredevops/__init__.py +10 -0
- pulumi_azuredevops/_inputs.py +54 -0
- pulumi_azuredevops/area_permissions.py +1 -0
- pulumi_azuredevops/branch_policy_auto_reviewers.py +1 -0
- pulumi_azuredevops/branch_policy_build_validation.py +1 -0
- pulumi_azuredevops/branch_policy_comment_resolution.py +1 -0
- pulumi_azuredevops/branch_policy_merge_types.py +1 -0
- pulumi_azuredevops/branch_policy_min_reviewers.py +1 -0
- pulumi_azuredevops/branch_policy_status_check.py +1 -0
- pulumi_azuredevops/branch_policy_work_item_linking.py +1 -0
- pulumi_azuredevops/build_definition.py +1 -0
- pulumi_azuredevops/build_definition_permissions.py +1 -0
- pulumi_azuredevops/build_folder.py +1 -0
- pulumi_azuredevops/build_folder_permissions.py +1 -0
- pulumi_azuredevops/check_approval.py +1 -0
- pulumi_azuredevops/check_branch_control.py +1 -0
- pulumi_azuredevops/check_business_hours.py +1 -0
- pulumi_azuredevops/check_exclusive_lock.py +1 -0
- pulumi_azuredevops/check_required_template.py +1 -0
- pulumi_azuredevops/check_rest_api.py +1 -0
- pulumi_azuredevops/dashboard.py +1 -0
- pulumi_azuredevops/elastic_pool.py +1 -0
- pulumi_azuredevops/environment.py +1 -0
- pulumi_azuredevops/environment_resource_kubernetes.py +1 -0
- pulumi_azuredevops/extension.py +1 -0
- pulumi_azuredevops/feed.py +1 -0
- pulumi_azuredevops/feed_permission.py +1 -0
- pulumi_azuredevops/feed_retention_policy.py +1 -0
- pulumi_azuredevops/get_group.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_dockerregistry.py +282 -0
- pulumi_azuredevops/git.py +1 -0
- pulumi_azuredevops/git_permissions.py +22 -0
- pulumi_azuredevops/git_repository_branch.py +1 -0
- pulumi_azuredevops/git_repository_file.py +1 -0
- pulumi_azuredevops/group.py +1 -0
- pulumi_azuredevops/group_entitlement.py +1 -0
- pulumi_azuredevops/group_membership.py +1 -0
- pulumi_azuredevops/iterative_permissions.py +1 -0
- pulumi_azuredevops/library_permissions.py +1 -0
- pulumi_azuredevops/outputs.py +34 -2
- pulumi_azuredevops/pipeline_authorization.py +1 -0
- pulumi_azuredevops/pool.py +1 -0
- pulumi_azuredevops/project.py +1 -0
- pulumi_azuredevops/project_features.py +1 -0
- pulumi_azuredevops/project_permissions.py +1 -0
- pulumi_azuredevops/project_pipeline_settings.py +1 -0
- pulumi_azuredevops/project_tags.py +1 -0
- pulumi_azuredevops/provider.py +21 -0
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +1 -0
- pulumi_azuredevops/repository_policy_author_email_pattern.py +1 -0
- pulumi_azuredevops/repository_policy_case_enforcement.py +1 -0
- pulumi_azuredevops/repository_policy_check_credentials.py +1 -0
- pulumi_azuredevops/repository_policy_file_path_pattern.py +1 -0
- pulumi_azuredevops/repository_policy_max_file_size.py +1 -0
- pulumi_azuredevops/repository_policy_max_path_length.py +1 -0
- pulumi_azuredevops/repository_policy_reserved_names.py +1 -0
- pulumi_azuredevops/resource_authorization.py +1 -0
- pulumi_azuredevops/securityrole_assignment.py +1 -0
- pulumi_azuredevops/service_endpoint_artifactory.py +1 -0
- pulumi_azuredevops/service_endpoint_aws.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_ecr.py +1 -0
- pulumi_azuredevops/service_endpoint_azure_rm.py +1 -0
- pulumi_azuredevops/service_endpoint_bit_bucket.py +1 -0
- pulumi_azuredevops/service_endpoint_docker_registry.py +1 -0
- pulumi_azuredevops/service_endpoint_generic.py +1 -0
- pulumi_azuredevops/service_endpoint_generic_git.py +1 -0
- pulumi_azuredevops/service_endpoint_git_hub.py +1 -0
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +1 -0
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -0
- pulumi_azuredevops/service_endpoint_kubernetes.py +1 -0
- pulumi_azuredevops/service_endpoint_npm.py +1 -0
- pulumi_azuredevops/service_endpoint_pipeline.py +1 -0
- pulumi_azuredevops/service_endpoint_service_fabric.py +1 -0
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -0
- pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -0
- pulumi_azuredevops/service_endpoint_ssh.py +1 -0
- pulumi_azuredevops/service_principal_entitlement.py +1 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +1 -0
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -0
- pulumi_azuredevops/serviceendpoint_black_duck.py +417 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -0
- pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -0
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +8 -7
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +1 -0
- pulumi_azuredevops/serviceendpoint_jenkins.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -0
- pulumi_azuredevops/serviceendpoint_maven.py +1 -0
- pulumi_azuredevops/serviceendpoint_nexus.py +1 -0
- pulumi_azuredevops/serviceendpoint_nuget.py +1 -0
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -0
- pulumi_azuredevops/serviceendpoint_openshift.py +1 -0
- pulumi_azuredevops/serviceendpoint_permissions.py +1 -0
- pulumi_azuredevops/serviceendpoint_snyk.py +1 -0
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -0
- pulumi_azuredevops/servicehook_permissions.py +1 -0
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +1 -0
- pulumi_azuredevops/tagging_permissions.py +1 -0
- pulumi_azuredevops/team.py +1 -0
- pulumi_azuredevops/team_administrators.py +1 -0
- pulumi_azuredevops/team_members.py +1 -0
- pulumi_azuredevops/user.py +1 -0
- pulumi_azuredevops/variable_group.py +1 -0
- pulumi_azuredevops/variable_group_permissions.py +1 -0
- pulumi_azuredevops/wiki.py +1 -0
- pulumi_azuredevops/wiki_page.py +1 -0
- pulumi_azuredevops/work_item_query_permissions.py +1 -0
- pulumi_azuredevops/workitem.py +166 -4
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/METADATA +3 -3
- pulumi_azuredevops-3.10.0.dist-info/RECORD +158 -0
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.9.0a1745292941.dist-info/RECORD +0 -156
- {pulumi_azuredevops-3.9.0a1745292941.dist-info → pulumi_azuredevops-3.10.0.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/__init__.py
CHANGED
@@ -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",
|
pulumi_azuredevops/_inputs.py
CHANGED
@@ -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]
|
@@ -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__,
|
@@ -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__,
|
@@ -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__,
|
@@ -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__,
|
pulumi_azuredevops/dashboard.py
CHANGED
@@ -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__,
|
pulumi_azuredevops/extension.py
CHANGED
pulumi_azuredevops/feed.py
CHANGED
@@ -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__,
|
pulumi_azuredevops/get_group.py
CHANGED
@@ -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')))
|