pulumi-azuredevops 3.7.0a1741238592__py3-none-any.whl → 3.8.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 +13 -0
- pulumi_azuredevops/_inputs.py +435 -26
- pulumi_azuredevops/build_definition.py +335 -0
- pulumi_azuredevops/dashboard.py +475 -0
- pulumi_azuredevops/feed_retention_policy.py +0 -22
- pulumi_azuredevops/get_build_definition.py +43 -1
- pulumi_azuredevops/get_client_config.py +61 -5
- pulumi_azuredevops/get_descriptor.py +133 -0
- pulumi_azuredevops/get_group_membership.py +131 -0
- pulumi_azuredevops/get_identity_group.py +20 -6
- pulumi_azuredevops/get_identity_groups.py +2 -2
- pulumi_azuredevops/get_identity_users.py +19 -5
- pulumi_azuredevops/get_storage_key.py +133 -0
- pulumi_azuredevops/get_teams.py +2 -2
- pulumi_azuredevops/get_user.py +193 -0
- pulumi_azuredevops/get_users.py +4 -0
- pulumi_azuredevops/outputs.py +558 -19
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/service_endpoint_artifactory.py +1 -15
- pulumi_azuredevops/service_endpoint_aws.py +1 -15
- pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -15
- pulumi_azuredevops/service_endpoint_azure_ecr.py +13 -27
- pulumi_azuredevops/service_endpoint_azure_rm.py +9 -15
- pulumi_azuredevops/service_endpoint_bit_bucket.py +1 -15
- pulumi_azuredevops/service_endpoint_docker_registry.py +1 -15
- pulumi_azuredevops/service_endpoint_generic.py +1 -15
- pulumi_azuredevops/service_endpoint_generic_git.py +1 -15
- pulumi_azuredevops/service_endpoint_git_hub.py +1 -15
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +1 -15
- pulumi_azuredevops/service_endpoint_git_lab.py +1 -15
- pulumi_azuredevops/service_endpoint_kubernetes.py +1 -15
- pulumi_azuredevops/service_endpoint_npm.py +1 -15
- pulumi_azuredevops/service_endpoint_pipeline.py +1 -15
- pulumi_azuredevops/service_endpoint_service_fabric.py +1 -15
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +1 -15
- pulumi_azuredevops/service_endpoint_sonar_qube.py +1 -15
- pulumi_azuredevops/service_endpoint_ssh.py +1 -15
- pulumi_azuredevops/serviceendpoint_argocd.py +1 -15
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +1 -15
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +1 -15
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +1 -15
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +1 -15
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +1 -15
- pulumi_azuredevops/serviceendpoint_externaltfs.py +1 -15
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +1 -15
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +1 -15
- pulumi_azuredevops/serviceendpoint_jenkins.py +1 -15
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +1 -15
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +1 -15
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +1 -15
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +1 -15
- pulumi_azuredevops/serviceendpoint_maven.py +1 -15
- pulumi_azuredevops/serviceendpoint_nexus.py +1 -15
- pulumi_azuredevops/serviceendpoint_nuget.py +1 -15
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +1 -15
- pulumi_azuredevops/serviceendpoint_snyk.py +1 -15
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +1 -15
- {pulumi_azuredevops-3.7.0a1741238592.dist-info → pulumi_azuredevops-3.8.0.dist-info}/METADATA +1 -1
- {pulumi_azuredevops-3.7.0a1741238592.dist-info → pulumi_azuredevops-3.8.0.dist-info}/RECORD +61 -56
- {pulumi_azuredevops-3.7.0a1741238592.dist-info → pulumi_azuredevops-3.8.0.dist-info}/WHEEL +1 -1
- {pulumi_azuredevops-3.7.0a1741238592.dist-info → pulumi_azuredevops-3.8.0.dist-info}/top_level.txt +0 -0
pulumi_azuredevops/get_teams.py
CHANGED
@@ -98,7 +98,7 @@ def get_teams(project_id: Optional[str] = None,
|
|
98
98
|
example = azuredevops.get_teams()
|
99
99
|
pulumi.export("projectId", [__item.project_id for __item in example.teams])
|
100
100
|
pulumi.export("name", [__item.name for __item in example.teams])
|
101
|
-
pulumi.export("
|
101
|
+
pulumi.export("allAdministrators", [__item.administrators for __item in example.teams])
|
102
102
|
pulumi.export("administrators", [__item.members for __item in example.teams])
|
103
103
|
```
|
104
104
|
|
@@ -140,7 +140,7 @@ def get_teams_output(project_id: Optional[pulumi.Input[Optional[str]]] = None,
|
|
140
140
|
example = azuredevops.get_teams()
|
141
141
|
pulumi.export("projectId", [__item.project_id for __item in example.teams])
|
142
142
|
pulumi.export("name", [__item.name for __item in example.teams])
|
143
|
-
pulumi.export("
|
143
|
+
pulumi.export("allAdministrators", [__item.administrators for __item in example.teams])
|
144
144
|
pulumi.export("administrators", [__item.members for __item in example.teams])
|
145
145
|
```
|
146
146
|
|
@@ -0,0 +1,193 @@
|
|
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 copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from . import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetUserResult',
|
19
|
+
'AwaitableGetUserResult',
|
20
|
+
'get_user',
|
21
|
+
'get_user_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetUserResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getUser.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, descriptor=None, display_name=None, domain=None, id=None, mail_address=None, origin=None, origin_id=None, principal_name=None, subject_kind=None):
|
30
|
+
if descriptor and not isinstance(descriptor, str):
|
31
|
+
raise TypeError("Expected argument 'descriptor' to be a str")
|
32
|
+
pulumi.set(__self__, "descriptor", descriptor)
|
33
|
+
if display_name and not isinstance(display_name, str):
|
34
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
35
|
+
pulumi.set(__self__, "display_name", display_name)
|
36
|
+
if domain and not isinstance(domain, str):
|
37
|
+
raise TypeError("Expected argument 'domain' to be a str")
|
38
|
+
pulumi.set(__self__, "domain", domain)
|
39
|
+
if id and not isinstance(id, str):
|
40
|
+
raise TypeError("Expected argument 'id' to be a str")
|
41
|
+
pulumi.set(__self__, "id", id)
|
42
|
+
if mail_address and not isinstance(mail_address, str):
|
43
|
+
raise TypeError("Expected argument 'mail_address' to be a str")
|
44
|
+
pulumi.set(__self__, "mail_address", mail_address)
|
45
|
+
if origin and not isinstance(origin, str):
|
46
|
+
raise TypeError("Expected argument 'origin' to be a str")
|
47
|
+
pulumi.set(__self__, "origin", origin)
|
48
|
+
if origin_id and not isinstance(origin_id, str):
|
49
|
+
raise TypeError("Expected argument 'origin_id' to be a str")
|
50
|
+
pulumi.set(__self__, "origin_id", origin_id)
|
51
|
+
if principal_name and not isinstance(principal_name, str):
|
52
|
+
raise TypeError("Expected argument 'principal_name' to be a str")
|
53
|
+
pulumi.set(__self__, "principal_name", principal_name)
|
54
|
+
if subject_kind and not isinstance(subject_kind, str):
|
55
|
+
raise TypeError("Expected argument 'subject_kind' to be a str")
|
56
|
+
pulumi.set(__self__, "subject_kind", subject_kind)
|
57
|
+
|
58
|
+
@property
|
59
|
+
@pulumi.getter
|
60
|
+
def descriptor(self) -> str:
|
61
|
+
return pulumi.get(self, "descriptor")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="displayName")
|
65
|
+
def display_name(self) -> str:
|
66
|
+
"""
|
67
|
+
The display name of the User.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "display_name")
|
70
|
+
|
71
|
+
@property
|
72
|
+
@pulumi.getter
|
73
|
+
def domain(self) -> str:
|
74
|
+
"""
|
75
|
+
The domain of the user.
|
76
|
+
"""
|
77
|
+
return pulumi.get(self, "domain")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter
|
81
|
+
def id(self) -> str:
|
82
|
+
"""
|
83
|
+
The provider-assigned unique ID for this managed resource.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "id")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter(name="mailAddress")
|
89
|
+
def mail_address(self) -> str:
|
90
|
+
"""
|
91
|
+
The email address of the user.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "mail_address")
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def origin(self) -> str:
|
98
|
+
"""
|
99
|
+
The type of source provider for the origin identifier (ex:`AD`, `AAD`, `MSA`).
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "origin")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter(name="originId")
|
105
|
+
def origin_id(self) -> str:
|
106
|
+
"""
|
107
|
+
The origin ID of the user.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "origin_id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="principalName")
|
113
|
+
def principal_name(self) -> str:
|
114
|
+
"""
|
115
|
+
The principal name of the user.
|
116
|
+
"""
|
117
|
+
return pulumi.get(self, "principal_name")
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter(name="subjectKind")
|
121
|
+
def subject_kind(self) -> str:
|
122
|
+
"""
|
123
|
+
The subject kind of the user (ex: `Group`, `Scope`, `User`).
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "subject_kind")
|
126
|
+
|
127
|
+
|
128
|
+
class AwaitableGetUserResult(GetUserResult):
|
129
|
+
# pylint: disable=using-constant-test
|
130
|
+
def __await__(self):
|
131
|
+
if False:
|
132
|
+
yield self
|
133
|
+
return GetUserResult(
|
134
|
+
descriptor=self.descriptor,
|
135
|
+
display_name=self.display_name,
|
136
|
+
domain=self.domain,
|
137
|
+
id=self.id,
|
138
|
+
mail_address=self.mail_address,
|
139
|
+
origin=self.origin,
|
140
|
+
origin_id=self.origin_id,
|
141
|
+
principal_name=self.principal_name,
|
142
|
+
subject_kind=self.subject_kind)
|
143
|
+
|
144
|
+
|
145
|
+
def get_user(descriptor: Optional[str] = None,
|
146
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult:
|
147
|
+
"""
|
148
|
+
Use this data source to access information about an existing user within Azure DevOps.
|
149
|
+
|
150
|
+
~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `get_descriptor` to resolve the Storage Key(UUID) to a `descriptor`.
|
151
|
+
|
152
|
+
|
153
|
+
:param str descriptor: The descriptor of the user.
|
154
|
+
"""
|
155
|
+
__args__ = dict()
|
156
|
+
__args__['descriptor'] = descriptor
|
157
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
158
|
+
__ret__ = pulumi.runtime.invoke('azuredevops:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult).value
|
159
|
+
|
160
|
+
return AwaitableGetUserResult(
|
161
|
+
descriptor=pulumi.get(__ret__, 'descriptor'),
|
162
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
163
|
+
domain=pulumi.get(__ret__, 'domain'),
|
164
|
+
id=pulumi.get(__ret__, 'id'),
|
165
|
+
mail_address=pulumi.get(__ret__, 'mail_address'),
|
166
|
+
origin=pulumi.get(__ret__, 'origin'),
|
167
|
+
origin_id=pulumi.get(__ret__, 'origin_id'),
|
168
|
+
principal_name=pulumi.get(__ret__, 'principal_name'),
|
169
|
+
subject_kind=pulumi.get(__ret__, 'subject_kind'))
|
170
|
+
def get_user_output(descriptor: Optional[pulumi.Input[str]] = None,
|
171
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]:
|
172
|
+
"""
|
173
|
+
Use this data source to access information about an existing user within Azure DevOps.
|
174
|
+
|
175
|
+
~>**NOTE:** If you only have the Storage Key(UUID) of the user, you can use `get_descriptor` to resolve the Storage Key(UUID) to a `descriptor`.
|
176
|
+
|
177
|
+
|
178
|
+
:param str descriptor: The descriptor of the user.
|
179
|
+
"""
|
180
|
+
__args__ = dict()
|
181
|
+
__args__['descriptor'] = descriptor
|
182
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
183
|
+
__ret__ = pulumi.runtime.invoke_output('azuredevops:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult)
|
184
|
+
return __ret__.apply(lambda __response__: GetUserResult(
|
185
|
+
descriptor=pulumi.get(__response__, 'descriptor'),
|
186
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
187
|
+
domain=pulumi.get(__response__, 'domain'),
|
188
|
+
id=pulumi.get(__response__, 'id'),
|
189
|
+
mail_address=pulumi.get(__response__, 'mail_address'),
|
190
|
+
origin=pulumi.get(__response__, 'origin'),
|
191
|
+
origin_id=pulumi.get(__response__, 'origin_id'),
|
192
|
+
principal_name=pulumi.get(__response__, 'principal_name'),
|
193
|
+
subject_kind=pulumi.get(__response__, 'subject_kind')))
|
pulumi_azuredevops/get_users.py
CHANGED
@@ -126,6 +126,8 @@ def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeatures
|
|
126
126
|
"""
|
127
127
|
Use this data source to access information about an existing users within Azure DevOps.
|
128
128
|
|
129
|
+
> **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `get_identity_users`, `get_user` can be used to replace this resource.
|
130
|
+
|
129
131
|
|
130
132
|
:param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
|
131
133
|
:param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
@@ -161,6 +163,8 @@ def get_users_output(features: Optional[pulumi.Input[Optional[Union['GetUsersFea
|
|
161
163
|
"""
|
162
164
|
Use this data source to access information about an existing users within Azure DevOps.
|
163
165
|
|
166
|
+
> **NOTE:** This resource will try to get all the users within the organization which may result in poor performance. `get_identity_users`, `get_user` can be used to replace this resource.
|
167
|
+
|
164
168
|
|
165
169
|
:param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
|
166
170
|
:param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|