pulumi-azuredevops 3.5.0a1735017670__py3-none-any.whl → 3.6.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 +109 -0
- pulumi_azuredevops/_inputs.py +455 -175
- pulumi_azuredevops/area_permissions.py +49 -49
- pulumi_azuredevops/branch_policy_auto_reviewers.py +7 -7
- pulumi_azuredevops/branch_policy_build_validation.py +7 -7
- pulumi_azuredevops/branch_policy_comment_resolution.py +7 -7
- pulumi_azuredevops/branch_policy_merge_types.py +7 -7
- pulumi_azuredevops/branch_policy_status_check.py +7 -7
- pulumi_azuredevops/branch_policy_work_item_linking.py +7 -7
- pulumi_azuredevops/build_definition.py +196 -23
- pulumi_azuredevops/check_branch_control.py +7 -7
- pulumi_azuredevops/check_business_hours.py +7 -7
- pulumi_azuredevops/check_exclusive_lock.py +7 -7
- pulumi_azuredevops/check_rest_api.py +986 -0
- pulumi_azuredevops/feed.py +8 -8
- pulumi_azuredevops/feed_permission.py +9 -9
- pulumi_azuredevops/feed_retention_policy.py +422 -0
- pulumi_azuredevops/get_agent_queue.py +2 -2
- pulumi_azuredevops/get_area.py +1 -1
- pulumi_azuredevops/get_client_config.py +3 -0
- pulumi_azuredevops/get_feed.py +4 -4
- pulumi_azuredevops/get_git_repository.py +8 -8
- pulumi_azuredevops/get_group.py +4 -4
- pulumi_azuredevops/get_groups.py +3 -3
- pulumi_azuredevops/get_identity_group.py +3 -0
- pulumi_azuredevops/get_identity_groups.py +1 -1
- pulumi_azuredevops/get_identity_users.py +5 -5
- pulumi_azuredevops/get_pool.py +14 -2
- pulumi_azuredevops/get_pools.py +3 -3
- pulumi_azuredevops/get_project.py +32 -0
- pulumi_azuredevops/get_projects.py +4 -4
- pulumi_azuredevops/get_repositories.py +7 -3
- pulumi_azuredevops/get_securityrole_definitions.py +4 -4
- pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -17
- pulumi_azuredevops/get_service_endpoint_github.py +6 -6
- pulumi_azuredevops/get_service_principal.py +153 -0
- pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
- pulumi_azuredevops/get_serviceendpoint_bitbucket.py +6 -6
- pulumi_azuredevops/get_serviceendpoint_npm.py +3 -3
- pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +2 -2
- pulumi_azuredevops/get_team.py +4 -3
- pulumi_azuredevops/get_teams.py +2 -3
- pulumi_azuredevops/get_users.py +5 -9
- pulumi_azuredevops/git.py +7 -7
- pulumi_azuredevops/git_permissions.py +21 -28
- pulumi_azuredevops/git_repository_file.py +7 -14
- pulumi_azuredevops/group.py +21 -7
- pulumi_azuredevops/group_entitlement.py +16 -20
- pulumi_azuredevops/group_membership.py +35 -50
- pulumi_azuredevops/iterative_permissions.py +34 -34
- pulumi_azuredevops/library_permissions.py +75 -75
- pulumi_azuredevops/outputs.py +353 -143
- pulumi_azuredevops/pipeline_authorization.py +7 -7
- pulumi_azuredevops/pool.py +4 -4
- pulumi_azuredevops/project.py +114 -63
- pulumi_azuredevops/project_features.py +87 -45
- pulumi_azuredevops/project_permissions.py +7 -7
- pulumi_azuredevops/project_pipeline_settings.py +28 -35
- pulumi_azuredevops/project_tags.py +263 -0
- pulumi_azuredevops/pulumi-plugin.json +1 -1
- pulumi_azuredevops/queue.py +7 -14
- pulumi_azuredevops/repository_policy_author_email_pattern.py +21 -14
- pulumi_azuredevops/repository_policy_max_file_size.py +7 -7
- pulumi_azuredevops/resource_authorization.py +35 -35
- pulumi_azuredevops/securityrole_assignment.py +7 -7
- pulumi_azuredevops/service_endpoint_artifactory.py +24 -18
- pulumi_azuredevops/service_endpoint_aws.py +86 -41
- pulumi_azuredevops/service_endpoint_azure_ecr.py +13 -15
- pulumi_azuredevops/service_endpoint_azure_rm.py +99 -52
- pulumi_azuredevops/service_endpoint_bit_bucket.py +4 -4
- pulumi_azuredevops/service_endpoint_docker_registry.py +2 -2
- pulumi_azuredevops/service_endpoint_generic.py +2 -6
- pulumi_azuredevops/service_endpoint_generic_git.py +4 -8
- pulumi_azuredevops/service_endpoint_git_hub.py +15 -2
- pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +15 -2
- pulumi_azuredevops/service_endpoint_git_lab.py +479 -0
- pulumi_azuredevops/service_endpoint_kubernetes.py +23 -23
- pulumi_azuredevops/service_endpoint_npm.py +4 -4
- pulumi_azuredevops/service_endpoint_pipeline.py +4 -4
- pulumi_azuredevops/service_endpoint_service_fabric.py +48 -9
- pulumi_azuredevops/service_endpoint_sonar_cloud.py +11 -11
- pulumi_azuredevops/service_endpoint_sonar_qube.py +11 -11
- pulumi_azuredevops/service_endpoint_ssh.py +2 -6
- pulumi_azuredevops/service_principal_entitlement.py +386 -0
- pulumi_azuredevops/serviceendpoint_argocd.py +2 -2
- pulumi_azuredevops/serviceendpoint_azure_service_bus.py +429 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_one.py +627 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +575 -0
- pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +674 -0
- pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +579 -0
- pulumi_azuredevops/serviceendpoint_externaltfs.py +63 -11
- pulumi_azuredevops/serviceendpoint_gcp_terraform.py +2 -2
- pulumi_azuredevops/serviceendpoint_incomingwebhook.py +2 -2
- pulumi_azuredevops/serviceendpoint_jenkins.py +2 -2
- pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +18 -18
- pulumi_azuredevops/serviceendpoint_maven.py +2 -2
- pulumi_azuredevops/serviceendpoint_nexus.py +2 -2
- pulumi_azuredevops/serviceendpoint_nuget.py +2 -2
- pulumi_azuredevops/serviceendpoint_octopusdeploy.py +2 -2
- pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
- pulumi_azuredevops/serviceendpoint_snyk.py +429 -0
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +541 -0
- pulumi_azuredevops/servicehook_permissions.py +51 -51
- pulumi_azuredevops/servicehook_storage_queue_pipelines.py +4 -4
- pulumi_azuredevops/tagging_permissions.py +49 -49
- pulumi_azuredevops/team.py +76 -56
- pulumi_azuredevops/team_administrators.py +83 -56
- pulumi_azuredevops/team_members.py +56 -49
- pulumi_azuredevops/user.py +22 -2
- pulumi_azuredevops/variable_group.py +4 -2
- pulumi_azuredevops/variable_group_permissions.py +75 -75
- pulumi_azuredevops/wiki.py +15 -2
- pulumi_azuredevops/wiki_page.py +2 -2
- pulumi_azuredevops/work_item_query_permissions.py +7 -7
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/METADATA +2 -2
- pulumi_azuredevops-3.6.0.dist-info/RECORD +148 -0
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/WHEEL +1 -1
- pulumi_azuredevops-3.5.0a1735017670.dist-info/RECORD +0 -135
- {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,153 @@
|
|
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
|
+
'GetServicePrincipalResult',
|
19
|
+
'AwaitableGetServicePrincipalResult',
|
20
|
+
'get_service_principal',
|
21
|
+
'get_service_principal_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetServicePrincipalResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getServicePrincipal.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, descriptor=None, display_name=None, id=None, origin=None, origin_id=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 id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if origin and not isinstance(origin, str):
|
40
|
+
raise TypeError("Expected argument 'origin' to be a str")
|
41
|
+
pulumi.set(__self__, "origin", origin)
|
42
|
+
if origin_id and not isinstance(origin_id, str):
|
43
|
+
raise TypeError("Expected argument 'origin_id' to be a str")
|
44
|
+
pulumi.set(__self__, "origin_id", origin_id)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter
|
48
|
+
def descriptor(self) -> str:
|
49
|
+
"""
|
50
|
+
The descriptor of the Service Principal.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "descriptor")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="displayName")
|
56
|
+
def display_name(self) -> str:
|
57
|
+
return pulumi.get(self, "display_name")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def id(self) -> str:
|
62
|
+
"""
|
63
|
+
The provider-assigned unique ID for this managed resource.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "id")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def origin(self) -> str:
|
70
|
+
"""
|
71
|
+
The origin of the Service Principal.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "origin")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="originId")
|
77
|
+
def origin_id(self) -> str:
|
78
|
+
"""
|
79
|
+
The origin ID of the Service Principal..
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "origin_id")
|
82
|
+
|
83
|
+
|
84
|
+
class AwaitableGetServicePrincipalResult(GetServicePrincipalResult):
|
85
|
+
# pylint: disable=using-constant-test
|
86
|
+
def __await__(self):
|
87
|
+
if False:
|
88
|
+
yield self
|
89
|
+
return GetServicePrincipalResult(
|
90
|
+
descriptor=self.descriptor,
|
91
|
+
display_name=self.display_name,
|
92
|
+
id=self.id,
|
93
|
+
origin=self.origin,
|
94
|
+
origin_id=self.origin_id)
|
95
|
+
|
96
|
+
|
97
|
+
def get_service_principal(display_name: Optional[str] = None,
|
98
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicePrincipalResult:
|
99
|
+
"""
|
100
|
+
Use this data source to access information about an existing Service Principal.
|
101
|
+
|
102
|
+
## Example Usage
|
103
|
+
|
104
|
+
```python
|
105
|
+
import pulumi
|
106
|
+
import pulumi_azuredevops as azuredevops
|
107
|
+
|
108
|
+
example = azuredevops.get_service_principal(display_name="existing")
|
109
|
+
pulumi.export("id", example.id)
|
110
|
+
```
|
111
|
+
|
112
|
+
|
113
|
+
:param str display_name: The Display Name of the Service Principal. Changing this forces a new Service Principal to be created.
|
114
|
+
"""
|
115
|
+
__args__ = dict()
|
116
|
+
__args__['displayName'] = display_name
|
117
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
118
|
+
__ret__ = pulumi.runtime.invoke('azuredevops:index/getServicePrincipal:getServicePrincipal', __args__, opts=opts, typ=GetServicePrincipalResult).value
|
119
|
+
|
120
|
+
return AwaitableGetServicePrincipalResult(
|
121
|
+
descriptor=pulumi.get(__ret__, 'descriptor'),
|
122
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
123
|
+
id=pulumi.get(__ret__, 'id'),
|
124
|
+
origin=pulumi.get(__ret__, 'origin'),
|
125
|
+
origin_id=pulumi.get(__ret__, 'origin_id'))
|
126
|
+
def get_service_principal_output(display_name: Optional[pulumi.Input[str]] = None,
|
127
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServicePrincipalResult]:
|
128
|
+
"""
|
129
|
+
Use this data source to access information about an existing Service Principal.
|
130
|
+
|
131
|
+
## Example Usage
|
132
|
+
|
133
|
+
```python
|
134
|
+
import pulumi
|
135
|
+
import pulumi_azuredevops as azuredevops
|
136
|
+
|
137
|
+
example = azuredevops.get_service_principal(display_name="existing")
|
138
|
+
pulumi.export("id", example.id)
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
:param str display_name: The Display Name of the Service Principal. Changing this forces a new Service Principal to be created.
|
143
|
+
"""
|
144
|
+
__args__ = dict()
|
145
|
+
__args__['displayName'] = display_name
|
146
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
147
|
+
__ret__ = pulumi.runtime.invoke_output('azuredevops:index/getServicePrincipal:getServicePrincipal', __args__, opts=opts, typ=GetServicePrincipalResult)
|
148
|
+
return __ret__.apply(lambda __response__: GetServicePrincipalResult(
|
149
|
+
descriptor=pulumi.get(__response__, 'descriptor'),
|
150
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
151
|
+
id=pulumi.get(__response__, 'id'),
|
152
|
+
origin=pulumi.get(__response__, 'origin'),
|
153
|
+
origin_id=pulumi.get(__response__, 'origin_id')))
|
@@ -50,7 +50,7 @@ class GetServiceendpointBitbucketResult:
|
|
50
50
|
@pulumi.getter
|
51
51
|
def authorization(self) -> Mapping[str, str]:
|
52
52
|
"""
|
53
|
-
|
53
|
+
The Authorization scheme.
|
54
54
|
"""
|
55
55
|
return pulumi.get(self, "authorization")
|
56
56
|
|
@@ -58,7 +58,7 @@ class GetServiceendpointBitbucketResult:
|
|
58
58
|
@pulumi.getter
|
59
59
|
def description(self) -> str:
|
60
60
|
"""
|
61
|
-
|
61
|
+
The description of the Service Endpoint.
|
62
62
|
"""
|
63
63
|
return pulumi.get(self, "description")
|
64
64
|
|
@@ -142,8 +142,8 @@ def get_serviceendpoint_bitbucket(project_id: Optional[str] = None,
|
|
142
142
|
:param str service_endpoint_id: the ID of the Service Endpoint.
|
143
143
|
:param str service_endpoint_name: the Name of the Service Endpoint.
|
144
144
|
|
145
|
-
> **NOTE:** One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
146
|
-
>
|
145
|
+
> **NOTE:** 1. One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
146
|
+
<br>2. When supplying `service_endpoint_name`, take care to ensure that this is a unique name.
|
147
147
|
"""
|
148
148
|
__args__ = dict()
|
149
149
|
__args__['projectId'] = project_id
|
@@ -201,8 +201,8 @@ def get_serviceendpoint_bitbucket_output(project_id: Optional[pulumi.Input[str]]
|
|
201
201
|
:param str service_endpoint_id: the ID of the Service Endpoint.
|
202
202
|
:param str service_endpoint_name: the Name of the Service Endpoint.
|
203
203
|
|
204
|
-
> **NOTE:** One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
205
|
-
>
|
204
|
+
> **NOTE:** 1. One of either `service_endpoint_id` or `service_endpoint_name` must be specified.
|
205
|
+
<br>2. When supplying `service_endpoint_name`, take care to ensure that this is a unique name.
|
206
206
|
"""
|
207
207
|
__args__ = dict()
|
208
208
|
__args__['projectId'] = project_id
|
@@ -53,7 +53,7 @@ class GetServiceendpointNpmResult:
|
|
53
53
|
@pulumi.getter
|
54
54
|
def authorization(self) -> Mapping[str, str]:
|
55
55
|
"""
|
56
|
-
|
56
|
+
The Authorization scheme.
|
57
57
|
"""
|
58
58
|
return pulumi.get(self, "authorization")
|
59
59
|
|
@@ -61,7 +61,7 @@ class GetServiceendpointNpmResult:
|
|
61
61
|
@pulumi.getter
|
62
62
|
def description(self) -> str:
|
63
63
|
"""
|
64
|
-
|
64
|
+
The description of the Service Endpoint.
|
65
65
|
"""
|
66
66
|
return pulumi.get(self, "description")
|
67
67
|
|
@@ -92,7 +92,7 @@ class GetServiceendpointNpmResult:
|
|
92
92
|
@pulumi.getter
|
93
93
|
def url(self) -> str:
|
94
94
|
"""
|
95
|
-
|
95
|
+
The URL of the NPM registry to connect with.
|
96
96
|
"""
|
97
97
|
return pulumi.get(self, "url")
|
98
98
|
|
@@ -50,7 +50,7 @@ class GetServiceendpointSonarcloudResult:
|
|
50
50
|
@pulumi.getter
|
51
51
|
def authorization(self) -> Mapping[str, str]:
|
52
52
|
"""
|
53
|
-
|
53
|
+
The Authorization scheme.
|
54
54
|
"""
|
55
55
|
return pulumi.get(self, "authorization")
|
56
56
|
|
@@ -58,7 +58,7 @@ class GetServiceendpointSonarcloudResult:
|
|
58
58
|
@pulumi.getter
|
59
59
|
def description(self) -> str:
|
60
60
|
"""
|
61
|
-
|
61
|
+
The description of the Service Endpoint.
|
62
62
|
"""
|
63
63
|
return pulumi.get(self, "description")
|
64
64
|
|
pulumi_azuredevops/get_team.py
CHANGED
@@ -64,7 +64,7 @@ class GetTeamResult:
|
|
64
64
|
@pulumi.getter
|
65
65
|
def description(self) -> str:
|
66
66
|
"""
|
67
|
-
|
67
|
+
The description of the team.
|
68
68
|
"""
|
69
69
|
return pulumi.get(self, "description")
|
70
70
|
|
@@ -104,6 +104,7 @@ class GetTeamResult:
|
|
104
104
|
|
105
105
|
@property
|
106
106
|
@pulumi.getter
|
107
|
+
@_utilities.deprecated("""This property is deprecated and will be removed in the feature""")
|
107
108
|
def top(self) -> Optional[int]:
|
108
109
|
return pulumi.get(self, "top")
|
109
110
|
|
@@ -158,7 +159,7 @@ def get_team(name: Optional[str] = None,
|
|
158
159
|
|
159
160
|
:param str name: The name of the Team.
|
160
161
|
:param str project_id: The Project ID.
|
161
|
-
:param int top: The maximum number of teams to return. Defaults to `100`.
|
162
|
+
:param int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
|
162
163
|
"""
|
163
164
|
__args__ = dict()
|
164
165
|
__args__['name'] = name
|
@@ -210,7 +211,7 @@ def get_team_output(name: Optional[pulumi.Input[str]] = None,
|
|
210
211
|
|
211
212
|
:param str name: The name of the Team.
|
212
213
|
:param str project_id: The Project ID.
|
213
|
-
:param int top: The maximum number of teams to return. Defaults to `100`.
|
214
|
+
:param int top: The maximum number of teams to return. Defaults to `100`. This property is deprecated and will be removed in the feature
|
214
215
|
"""
|
215
216
|
__args__ = dict()
|
216
217
|
__args__['name'] = name
|
pulumi_azuredevops/get_teams.py
CHANGED
@@ -53,8 +53,7 @@ class GetTeamsResult:
|
|
53
53
|
@pulumi.getter(name="projectId")
|
54
54
|
def project_id(self) -> Optional[str]:
|
55
55
|
"""
|
56
|
-
Project
|
57
|
-
- `id - Team identifier
|
56
|
+
The ID of the Project.
|
58
57
|
"""
|
59
58
|
return pulumi.get(self, "project_id")
|
60
59
|
|
@@ -62,7 +61,7 @@ class GetTeamsResult:
|
|
62
61
|
@pulumi.getter
|
63
62
|
def teams(self) -> Sequence['outputs.GetTeamsTeamResult']:
|
64
63
|
"""
|
65
|
-
A list of existing projects in your Azure DevOps Organization with details about every project which includes:
|
64
|
+
A list of `teams` blocks as documented below. A list of existing projects in your Azure DevOps Organization with details about every project which includes:
|
66
65
|
"""
|
67
66
|
return pulumi.get(self, "teams")
|
68
67
|
|
pulumi_azuredevops/get_users.py
CHANGED
@@ -97,7 +97,7 @@ class GetUsersResult:
|
|
97
97
|
@pulumi.getter
|
98
98
|
def users(self) -> Sequence['outputs.GetUsersUserResult']:
|
99
99
|
"""
|
100
|
-
A set of existing users in your Azure DevOps Organization with details about every single user
|
100
|
+
A `users` block as defined below. A set of existing users in your Azure DevOps Organization with details about every single user.
|
101
101
|
"""
|
102
102
|
return pulumi.get(self, "users")
|
103
103
|
|
@@ -128,14 +128,12 @@ def get_users(features: Optional[Union['GetUsersFeaturesArgs', 'GetUsersFeatures
|
|
128
128
|
|
129
129
|
|
130
130
|
:param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
|
131
|
-
|
132
|
-
DataSource without specifying any arguments will return all users inside an organization.
|
133
|
-
|
134
|
-
List of possible subject types
|
135
131
|
:param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
132
|
+
<pre>List of possible origins
|
136
133
|
:param str origin_id: The unique identifier from the system of origin.
|
137
134
|
:param str principal_name: The PrincipalName of this graph member from the source provider.
|
138
135
|
:param Sequence[str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
|
136
|
+
<pre>List of possible subject types
|
139
137
|
"""
|
140
138
|
__args__ = dict()
|
141
139
|
__args__['features'] = features
|
@@ -165,14 +163,12 @@ def get_users_output(features: Optional[pulumi.Input[Optional[Union['GetUsersFea
|
|
165
163
|
|
166
164
|
|
167
165
|
:param Union['GetUsersFeaturesArgs', 'GetUsersFeaturesArgsDict'] features: A `features` block as defined below.
|
168
|
-
|
169
|
-
DataSource without specifying any arguments will return all users inside an organization.
|
170
|
-
|
171
|
-
List of possible subject types
|
172
166
|
:param str origin: The type of source provider for the `origin_id` parameter (ex:AD, AAD, MSA) The supported origins are listed below.
|
167
|
+
<pre>List of possible origins
|
173
168
|
:param str origin_id: The unique identifier from the system of origin.
|
174
169
|
:param str principal_name: The PrincipalName of this graph member from the source provider.
|
175
170
|
:param Sequence[str] subject_types: A list of user subject subtypes to reduce the retrieved results, e.g. `msa`, `aad`, `svc` (service identity), `imp` (imported identity), etc. The supported subject types are listed below.
|
171
|
+
<pre>List of possible subject types
|
176
172
|
"""
|
177
173
|
__args__ = dict()
|
178
174
|
__args__['features'] = features
|
pulumi_azuredevops/git.py
CHANGED
@@ -29,7 +29,7 @@ class GitArgs:
|
|
29
29
|
parent_repository_id: Optional[pulumi.Input[str]] = None):
|
30
30
|
"""
|
31
31
|
The set of arguments for constructing a Git resource.
|
32
|
-
:param pulumi.Input['GitInitializationArgs'] initialization:
|
32
|
+
:param pulumi.Input['GitInitializationArgs'] initialization: A `initialization` block as documented below.
|
33
33
|
:param pulumi.Input[str] project_id: The project ID or project name.
|
34
34
|
:param pulumi.Input[str] default_branch: The ref of the default branch. Will be used as the branch name for initialized repositories.
|
35
35
|
:param pulumi.Input[bool] disabled: The ability to disable or enable the repository. Defaults to `false`.
|
@@ -51,7 +51,7 @@ class GitArgs:
|
|
51
51
|
@pulumi.getter
|
52
52
|
def initialization(self) -> pulumi.Input['GitInitializationArgs']:
|
53
53
|
"""
|
54
|
-
|
54
|
+
A `initialization` block as documented below.
|
55
55
|
"""
|
56
56
|
return pulumi.get(self, "initialization")
|
57
57
|
|
@@ -139,7 +139,7 @@ class _GitState:
|
|
139
139
|
Input properties used for looking up and filtering Git resources.
|
140
140
|
:param pulumi.Input[str] default_branch: The ref of the default branch. Will be used as the branch name for initialized repositories.
|
141
141
|
:param pulumi.Input[bool] disabled: The ability to disable or enable the repository. Defaults to `false`.
|
142
|
-
:param pulumi.Input['GitInitializationArgs'] initialization:
|
142
|
+
:param pulumi.Input['GitInitializationArgs'] initialization: A `initialization` block as documented below.
|
143
143
|
:param pulumi.Input[bool] is_fork: True if the repository was created as a fork.
|
144
144
|
:param pulumi.Input[str] name: The name of the git repository.
|
145
145
|
:param pulumi.Input[str] parent_repository_id: The ID of a Git project from which a fork is to be created.
|
@@ -203,7 +203,7 @@ class _GitState:
|
|
203
203
|
@pulumi.getter
|
204
204
|
def initialization(self) -> Optional[pulumi.Input['GitInitializationArgs']]:
|
205
205
|
"""
|
206
|
-
|
206
|
+
A `initialization` block as documented below.
|
207
207
|
"""
|
208
208
|
return pulumi.get(self, "initialization")
|
209
209
|
|
@@ -351,7 +351,7 @@ class Git(pulumi.CustomResource):
|
|
351
351
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
352
352
|
:param pulumi.Input[str] default_branch: The ref of the default branch. Will be used as the branch name for initialized repositories.
|
353
353
|
:param pulumi.Input[bool] disabled: The ability to disable or enable the repository. Defaults to `false`.
|
354
|
-
:param pulumi.Input[Union['GitInitializationArgs', 'GitInitializationArgsDict']] initialization:
|
354
|
+
:param pulumi.Input[Union['GitInitializationArgs', 'GitInitializationArgsDict']] initialization: A `initialization` block as documented below.
|
355
355
|
:param pulumi.Input[str] name: The name of the git repository.
|
356
356
|
:param pulumi.Input[str] parent_repository_id: The ID of a Git project from which a fork is to be created.
|
357
357
|
:param pulumi.Input[str] project_id: The project ID or project name.
|
@@ -454,7 +454,7 @@ class Git(pulumi.CustomResource):
|
|
454
454
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
455
455
|
:param pulumi.Input[str] default_branch: The ref of the default branch. Will be used as the branch name for initialized repositories.
|
456
456
|
:param pulumi.Input[bool] disabled: The ability to disable or enable the repository. Defaults to `false`.
|
457
|
-
:param pulumi.Input[Union['GitInitializationArgs', 'GitInitializationArgsDict']] initialization:
|
457
|
+
:param pulumi.Input[Union['GitInitializationArgs', 'GitInitializationArgsDict']] initialization: A `initialization` block as documented below.
|
458
458
|
:param pulumi.Input[bool] is_fork: True if the repository was created as a fork.
|
459
459
|
:param pulumi.Input[str] name: The name of the git repository.
|
460
460
|
:param pulumi.Input[str] parent_repository_id: The ID of a Git project from which a fork is to be created.
|
@@ -503,7 +503,7 @@ class Git(pulumi.CustomResource):
|
|
503
503
|
@pulumi.getter
|
504
504
|
def initialization(self) -> pulumi.Output['outputs.GitInitialization']:
|
505
505
|
"""
|
506
|
-
|
506
|
+
A `initialization` block as documented below.
|
507
507
|
"""
|
508
508
|
return pulumi.get(self, "initialization")
|
509
509
|
|
@@ -27,8 +27,7 @@ class GitPermissionsArgs:
|
|
27
27
|
repository_id: Optional[pulumi.Input[str]] = None):
|
28
28
|
"""
|
29
29
|
The set of arguments for constructing a GitPermissions resource.
|
30
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The
|
31
|
-
|
30
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available
|
32
31
|
|
33
32
|
| Permissions | Description |
|
34
33
|
|-------------------------|--------------------------------------------------------|
|
@@ -50,9 +49,9 @@ class GitPermissionsArgs:
|
|
50
49
|
| PullRequestBypassPolicy | Bypass policies when completing pull requests |
|
51
50
|
:param pulumi.Input[str] principal: The **group** principal to assign the permissions.
|
52
51
|
:param pulumi.Input[str] project_id: The ID of the project to assign the permissions.
|
53
|
-
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
52
|
+
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
54
53
|
|
55
|
-
> **Note**
|
54
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
56
55
|
:param pulumi.Input[bool] replace: Replace (`true`) or merge (`false`) the permissions. Default: `true`
|
57
56
|
:param pulumi.Input[str] repository_id: The ID of the GIT repository to assign the permissions
|
58
57
|
"""
|
@@ -70,8 +69,7 @@ class GitPermissionsArgs:
|
|
70
69
|
@pulumi.getter
|
71
70
|
def permissions(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]:
|
72
71
|
"""
|
73
|
-
the permissions to assign. The
|
74
|
-
|
72
|
+
the permissions to assign. The following permissions are available
|
75
73
|
|
76
74
|
| Permissions | Description |
|
77
75
|
|-------------------------|--------------------------------------------------------|
|
@@ -126,9 +124,9 @@ class GitPermissionsArgs:
|
|
126
124
|
@pulumi.getter(name="branchName")
|
127
125
|
def branch_name(self) -> Optional[pulumi.Input[str]]:
|
128
126
|
"""
|
129
|
-
The name of the branch to assign the permissions.
|
127
|
+
The name of the branch to assign the permissions.
|
130
128
|
|
131
|
-
> **Note**
|
129
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
132
130
|
"""
|
133
131
|
return pulumi.get(self, "branch_name")
|
134
132
|
|
@@ -172,11 +170,10 @@ class _GitPermissionsState:
|
|
172
170
|
repository_id: Optional[pulumi.Input[str]] = None):
|
173
171
|
"""
|
174
172
|
Input properties used for looking up and filtering GitPermissions resources.
|
175
|
-
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
176
|
-
|
177
|
-
> **Note** to assign permissions to a branch, the `repository_id` must be set as well.
|
178
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The follwing permissions are available
|
173
|
+
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
179
174
|
|
175
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
176
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available
|
180
177
|
|
181
178
|
| Permissions | Description |
|
182
179
|
|-------------------------|--------------------------------------------------------|
|
@@ -218,9 +215,9 @@ class _GitPermissionsState:
|
|
218
215
|
@pulumi.getter(name="branchName")
|
219
216
|
def branch_name(self) -> Optional[pulumi.Input[str]]:
|
220
217
|
"""
|
221
|
-
The name of the branch to assign the permissions.
|
218
|
+
The name of the branch to assign the permissions.
|
222
219
|
|
223
|
-
> **Note**
|
220
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
224
221
|
"""
|
225
222
|
return pulumi.get(self, "branch_name")
|
226
223
|
|
@@ -232,8 +229,7 @@ class _GitPermissionsState:
|
|
232
229
|
@pulumi.getter
|
233
230
|
def permissions(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
234
231
|
"""
|
235
|
-
the permissions to assign. The
|
236
|
-
|
232
|
+
the permissions to assign. The following permissions are available
|
237
233
|
|
238
234
|
| Permissions | Description |
|
239
235
|
|-------------------------|--------------------------------------------------------|
|
@@ -496,11 +492,10 @@ class GitPermissions(pulumi.CustomResource):
|
|
496
492
|
|
497
493
|
:param str resource_name: The name of the resource.
|
498
494
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
499
|
-
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
500
|
-
|
501
|
-
> **Note** to assign permissions to a branch, the `repository_id` must be set as well.
|
502
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The follwing permissions are available
|
495
|
+
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
503
496
|
|
497
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
498
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available
|
504
499
|
|
505
500
|
| Permissions | Description |
|
506
501
|
|-------------------------|--------------------------------------------------------|
|
@@ -769,11 +764,10 @@ class GitPermissions(pulumi.CustomResource):
|
|
769
764
|
:param str resource_name: The unique name of the resulting resource.
|
770
765
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
771
766
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
772
|
-
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
773
|
-
|
774
|
-
> **Note** to assign permissions to a branch, the `repository_id` must be set as well.
|
775
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The follwing permissions are available
|
767
|
+
:param pulumi.Input[str] branch_name: The name of the branch to assign the permissions.
|
776
768
|
|
769
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
770
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] permissions: the permissions to assign. The following permissions are available
|
777
771
|
|
778
772
|
| Permissions | Description |
|
779
773
|
|-------------------------|--------------------------------------------------------|
|
@@ -814,9 +808,9 @@ class GitPermissions(pulumi.CustomResource):
|
|
814
808
|
@pulumi.getter(name="branchName")
|
815
809
|
def branch_name(self) -> pulumi.Output[Optional[str]]:
|
816
810
|
"""
|
817
|
-
The name of the branch to assign the permissions.
|
811
|
+
The name of the branch to assign the permissions.
|
818
812
|
|
819
|
-
> **Note**
|
813
|
+
> **Note** To assign permissions to a branch, the `repository_id` must be set as well.
|
820
814
|
"""
|
821
815
|
return pulumi.get(self, "branch_name")
|
822
816
|
|
@@ -824,8 +818,7 @@ class GitPermissions(pulumi.CustomResource):
|
|
824
818
|
@pulumi.getter
|
825
819
|
def permissions(self) -> pulumi.Output[Mapping[str, str]]:
|
826
820
|
"""
|
827
|
-
the permissions to assign. The
|
828
|
-
|
821
|
+
the permissions to assign. The following permissions are available
|
829
822
|
|
830
823
|
| Permissions | Description |
|
831
824
|
|-------------------------|--------------------------------------------------------|
|
@@ -30,8 +30,7 @@ class GitRepositoryFileArgs:
|
|
30
30
|
:param pulumi.Input[str] content: The file content.
|
31
31
|
:param pulumi.Input[str] file: The path of the file to manage.
|
32
32
|
:param pulumi.Input[str] repository_id: The ID of the Git repository.
|
33
|
-
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
34
|
-
does not already exist.
|
33
|
+
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
35
34
|
:param pulumi.Input[str] commit_message: Commit message when adding or updating the managed file.
|
36
35
|
:param pulumi.Input[bool] overwrite_on_create: Enable overwriting existing files (defaults to `false`).
|
37
36
|
"""
|
@@ -85,8 +84,7 @@ class GitRepositoryFileArgs:
|
|
85
84
|
@pulumi.getter
|
86
85
|
def branch(self) -> Optional[pulumi.Input[str]]:
|
87
86
|
"""
|
88
|
-
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
89
|
-
does not already exist.
|
87
|
+
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
90
88
|
"""
|
91
89
|
return pulumi.get(self, "branch")
|
92
90
|
|
@@ -130,8 +128,7 @@ class _GitRepositoryFileState:
|
|
130
128
|
repository_id: Optional[pulumi.Input[str]] = None):
|
131
129
|
"""
|
132
130
|
Input properties used for looking up and filtering GitRepositoryFile resources.
|
133
|
-
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
134
|
-
does not already exist.
|
131
|
+
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
135
132
|
:param pulumi.Input[str] commit_message: Commit message when adding or updating the managed file.
|
136
133
|
:param pulumi.Input[str] content: The file content.
|
137
134
|
:param pulumi.Input[str] file: The path of the file to manage.
|
@@ -155,8 +152,7 @@ class _GitRepositoryFileState:
|
|
155
152
|
@pulumi.getter
|
156
153
|
def branch(self) -> Optional[pulumi.Input[str]]:
|
157
154
|
"""
|
158
|
-
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
159
|
-
does not already exist.
|
155
|
+
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
160
156
|
"""
|
161
157
|
return pulumi.get(self, "branch")
|
162
158
|
|
@@ -286,8 +282,7 @@ class GitRepositoryFile(pulumi.CustomResource):
|
|
286
282
|
|
287
283
|
:param str resource_name: The name of the resource.
|
288
284
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
289
|
-
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
290
|
-
does not already exist.
|
285
|
+
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
291
286
|
:param pulumi.Input[str] commit_message: Commit message when adding or updating the managed file.
|
292
287
|
:param pulumi.Input[str] content: The file content.
|
293
288
|
:param pulumi.Input[str] file: The path of the file to manage.
|
@@ -412,8 +407,7 @@ class GitRepositoryFile(pulumi.CustomResource):
|
|
412
407
|
:param str resource_name: The unique name of the resulting resource.
|
413
408
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
414
409
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
415
|
-
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
416
|
-
does not already exist.
|
410
|
+
:param pulumi.Input[str] branch: Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
417
411
|
:param pulumi.Input[str] commit_message: Commit message when adding or updating the managed file.
|
418
412
|
:param pulumi.Input[str] content: The file content.
|
419
413
|
:param pulumi.Input[str] file: The path of the file to manage.
|
@@ -436,8 +430,7 @@ class GitRepositoryFile(pulumi.CustomResource):
|
|
436
430
|
@pulumi.getter
|
437
431
|
def branch(self) -> pulumi.Output[Optional[str]]:
|
438
432
|
"""
|
439
|
-
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it
|
440
|
-
does not already exist.
|
433
|
+
Git branch (defaults to `refs/heads/master`). The branch must already exist, it will not be created if it does not already exist.
|
441
434
|
"""
|
442
435
|
return pulumi.get(self, "branch")
|
443
436
|
|