pulumi-azuredevops 3.6.0a1737091250__py3-none-any.whl → 3.6.0a1737710622__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 +64 -0
- pulumi_azuredevops/_inputs.py +120 -117
- 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 +7 -7
- 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 +5 -5
- 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 +14 -21
- 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 +129 -102
- 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/service_endpoint_artifactory.py +24 -18
- pulumi_azuredevops/service_endpoint_aws.py +2 -2
- pulumi_azuredevops/service_endpoint_azure_ecr.py +13 -15
- pulumi_azuredevops/service_endpoint_azure_rm.py +25 -25
- pulumi_azuredevops/service_endpoint_bit_bucket.py +2 -2
- pulumi_azuredevops/service_endpoint_docker_registry.py +2 -2
- pulumi_azuredevops/service_endpoint_generic.py +2 -2
- 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_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 +2 -2
- 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 +2 -2
- 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 +2 -2
- pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +4 -6
- 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/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.6.0a1737091250.dist-info → pulumi_azuredevops-3.6.0a1737710622.dist-info}/METADATA +1 -1
- pulumi_azuredevops-3.6.0a1737710622.dist-info/RECORD +148 -0
- pulumi_azuredevops-3.6.0a1737091250.dist-info/RECORD +0 -140
- {pulumi_azuredevops-3.6.0a1737091250.dist-info → pulumi_azuredevops-3.6.0a1737710622.dist-info}/WHEEL +0 -0
- {pulumi_azuredevops-3.6.0a1737091250.dist-info → pulumi_azuredevops-3.6.0a1737710622.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,386 @@
|
|
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__ = ['ServicePrincipalEntitlementArgs', 'ServicePrincipalEntitlement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ServicePrincipalEntitlementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
origin_id: pulumi.Input[str],
|
23
|
+
account_license_type: Optional[pulumi.Input[str]] = None,
|
24
|
+
licensing_source: Optional[pulumi.Input[str]] = None,
|
25
|
+
origin: Optional[pulumi.Input[str]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a ServicePrincipalEntitlement resource.
|
28
|
+
:param pulumi.Input[str] origin_id: The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
29
|
+
:param pulumi.Input[str] account_license_type: Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
30
|
+
:param pulumi.Input[str] licensing_source: The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
31
|
+
:param pulumi.Input[str] origin: The type of source provider for the origin identifier.
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "origin_id", origin_id)
|
34
|
+
if account_license_type is not None:
|
35
|
+
pulumi.set(__self__, "account_license_type", account_license_type)
|
36
|
+
if licensing_source is not None:
|
37
|
+
pulumi.set(__self__, "licensing_source", licensing_source)
|
38
|
+
if origin is not None:
|
39
|
+
pulumi.set(__self__, "origin", origin)
|
40
|
+
|
41
|
+
@property
|
42
|
+
@pulumi.getter(name="originId")
|
43
|
+
def origin_id(self) -> pulumi.Input[str]:
|
44
|
+
"""
|
45
|
+
The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
46
|
+
"""
|
47
|
+
return pulumi.get(self, "origin_id")
|
48
|
+
|
49
|
+
@origin_id.setter
|
50
|
+
def origin_id(self, value: pulumi.Input[str]):
|
51
|
+
pulumi.set(self, "origin_id", value)
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="accountLicenseType")
|
55
|
+
def account_license_type(self) -> Optional[pulumi.Input[str]]:
|
56
|
+
"""
|
57
|
+
Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "account_license_type")
|
60
|
+
|
61
|
+
@account_license_type.setter
|
62
|
+
def account_license_type(self, value: Optional[pulumi.Input[str]]):
|
63
|
+
pulumi.set(self, "account_license_type", value)
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="licensingSource")
|
67
|
+
def licensing_source(self) -> Optional[pulumi.Input[str]]:
|
68
|
+
"""
|
69
|
+
The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "licensing_source")
|
72
|
+
|
73
|
+
@licensing_source.setter
|
74
|
+
def licensing_source(self, value: Optional[pulumi.Input[str]]):
|
75
|
+
pulumi.set(self, "licensing_source", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def origin(self) -> Optional[pulumi.Input[str]]:
|
80
|
+
"""
|
81
|
+
The type of source provider for the origin identifier.
|
82
|
+
"""
|
83
|
+
return pulumi.get(self, "origin")
|
84
|
+
|
85
|
+
@origin.setter
|
86
|
+
def origin(self, value: Optional[pulumi.Input[str]]):
|
87
|
+
pulumi.set(self, "origin", value)
|
88
|
+
|
89
|
+
|
90
|
+
@pulumi.input_type
|
91
|
+
class _ServicePrincipalEntitlementState:
|
92
|
+
def __init__(__self__, *,
|
93
|
+
account_license_type: Optional[pulumi.Input[str]] = None,
|
94
|
+
descriptor: Optional[pulumi.Input[str]] = None,
|
95
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
96
|
+
licensing_source: Optional[pulumi.Input[str]] = None,
|
97
|
+
origin: Optional[pulumi.Input[str]] = None,
|
98
|
+
origin_id: Optional[pulumi.Input[str]] = None):
|
99
|
+
"""
|
100
|
+
Input properties used for looking up and filtering ServicePrincipalEntitlement resources.
|
101
|
+
:param pulumi.Input[str] account_license_type: Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
102
|
+
:param pulumi.Input[str] descriptor: The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
|
103
|
+
:param pulumi.Input[str] display_name: The display name of service principal.
|
104
|
+
:param pulumi.Input[str] licensing_source: The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
105
|
+
:param pulumi.Input[str] origin: The type of source provider for the origin identifier.
|
106
|
+
:param pulumi.Input[str] origin_id: The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
107
|
+
"""
|
108
|
+
if account_license_type is not None:
|
109
|
+
pulumi.set(__self__, "account_license_type", account_license_type)
|
110
|
+
if descriptor is not None:
|
111
|
+
pulumi.set(__self__, "descriptor", descriptor)
|
112
|
+
if display_name is not None:
|
113
|
+
pulumi.set(__self__, "display_name", display_name)
|
114
|
+
if licensing_source is not None:
|
115
|
+
pulumi.set(__self__, "licensing_source", licensing_source)
|
116
|
+
if origin is not None:
|
117
|
+
pulumi.set(__self__, "origin", origin)
|
118
|
+
if origin_id is not None:
|
119
|
+
pulumi.set(__self__, "origin_id", origin_id)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="accountLicenseType")
|
123
|
+
def account_license_type(self) -> Optional[pulumi.Input[str]]:
|
124
|
+
"""
|
125
|
+
Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "account_license_type")
|
128
|
+
|
129
|
+
@account_license_type.setter
|
130
|
+
def account_license_type(self, value: Optional[pulumi.Input[str]]):
|
131
|
+
pulumi.set(self, "account_license_type", value)
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter
|
135
|
+
def descriptor(self) -> Optional[pulumi.Input[str]]:
|
136
|
+
"""
|
137
|
+
The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "descriptor")
|
140
|
+
|
141
|
+
@descriptor.setter
|
142
|
+
def descriptor(self, value: Optional[pulumi.Input[str]]):
|
143
|
+
pulumi.set(self, "descriptor", value)
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="displayName")
|
147
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
148
|
+
"""
|
149
|
+
The display name of service principal.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "display_name")
|
152
|
+
|
153
|
+
@display_name.setter
|
154
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
155
|
+
pulumi.set(self, "display_name", value)
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter(name="licensingSource")
|
159
|
+
def licensing_source(self) -> Optional[pulumi.Input[str]]:
|
160
|
+
"""
|
161
|
+
The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
162
|
+
"""
|
163
|
+
return pulumi.get(self, "licensing_source")
|
164
|
+
|
165
|
+
@licensing_source.setter
|
166
|
+
def licensing_source(self, value: Optional[pulumi.Input[str]]):
|
167
|
+
pulumi.set(self, "licensing_source", value)
|
168
|
+
|
169
|
+
@property
|
170
|
+
@pulumi.getter
|
171
|
+
def origin(self) -> Optional[pulumi.Input[str]]:
|
172
|
+
"""
|
173
|
+
The type of source provider for the origin identifier.
|
174
|
+
"""
|
175
|
+
return pulumi.get(self, "origin")
|
176
|
+
|
177
|
+
@origin.setter
|
178
|
+
def origin(self, value: Optional[pulumi.Input[str]]):
|
179
|
+
pulumi.set(self, "origin", value)
|
180
|
+
|
181
|
+
@property
|
182
|
+
@pulumi.getter(name="originId")
|
183
|
+
def origin_id(self) -> Optional[pulumi.Input[str]]:
|
184
|
+
"""
|
185
|
+
The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "origin_id")
|
188
|
+
|
189
|
+
@origin_id.setter
|
190
|
+
def origin_id(self, value: Optional[pulumi.Input[str]]):
|
191
|
+
pulumi.set(self, "origin_id", value)
|
192
|
+
|
193
|
+
|
194
|
+
class ServicePrincipalEntitlement(pulumi.CustomResource):
|
195
|
+
@overload
|
196
|
+
def __init__(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
account_license_type: Optional[pulumi.Input[str]] = None,
|
200
|
+
licensing_source: Optional[pulumi.Input[str]] = None,
|
201
|
+
origin: Optional[pulumi.Input[str]] = None,
|
202
|
+
origin_id: Optional[pulumi.Input[str]] = None,
|
203
|
+
__props__=None):
|
204
|
+
"""
|
205
|
+
Manages a Service Principal Entitlement.
|
206
|
+
|
207
|
+
## Example Usage
|
208
|
+
|
209
|
+
```python
|
210
|
+
import pulumi
|
211
|
+
import pulumi_azuredevops as azuredevops
|
212
|
+
|
213
|
+
example = azuredevops.ServicePrincipalEntitlement("example", origin_id="00000000-0000-0000-0000-000000000000")
|
214
|
+
```
|
215
|
+
|
216
|
+
## Import
|
217
|
+
|
218
|
+
Service Principal Entitlements can be imported using the `resource id`.
|
219
|
+
|
220
|
+
The `resource id` can be found using DEV Tools in the `Users` section of the ADO organization.
|
221
|
+
|
222
|
+
```sh
|
223
|
+
$ pulumi import azuredevops:index/servicePrincipalEntitlement:ServicePrincipalEntitlement example 8480c6eb-ce60-47e9-88df-eca3c801638b
|
224
|
+
```
|
225
|
+
|
226
|
+
:param str resource_name: The name of the resource.
|
227
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
228
|
+
:param pulumi.Input[str] account_license_type: Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
229
|
+
:param pulumi.Input[str] licensing_source: The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
230
|
+
:param pulumi.Input[str] origin: The type of source provider for the origin identifier.
|
231
|
+
:param pulumi.Input[str] origin_id: The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
232
|
+
"""
|
233
|
+
...
|
234
|
+
@overload
|
235
|
+
def __init__(__self__,
|
236
|
+
resource_name: str,
|
237
|
+
args: ServicePrincipalEntitlementArgs,
|
238
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
239
|
+
"""
|
240
|
+
Manages a Service Principal Entitlement.
|
241
|
+
|
242
|
+
## Example Usage
|
243
|
+
|
244
|
+
```python
|
245
|
+
import pulumi
|
246
|
+
import pulumi_azuredevops as azuredevops
|
247
|
+
|
248
|
+
example = azuredevops.ServicePrincipalEntitlement("example", origin_id="00000000-0000-0000-0000-000000000000")
|
249
|
+
```
|
250
|
+
|
251
|
+
## Import
|
252
|
+
|
253
|
+
Service Principal Entitlements can be imported using the `resource id`.
|
254
|
+
|
255
|
+
The `resource id` can be found using DEV Tools in the `Users` section of the ADO organization.
|
256
|
+
|
257
|
+
```sh
|
258
|
+
$ pulumi import azuredevops:index/servicePrincipalEntitlement:ServicePrincipalEntitlement example 8480c6eb-ce60-47e9-88df-eca3c801638b
|
259
|
+
```
|
260
|
+
|
261
|
+
:param str resource_name: The name of the resource.
|
262
|
+
:param ServicePrincipalEntitlementArgs args: The arguments to use to populate this resource's properties.
|
263
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
264
|
+
"""
|
265
|
+
...
|
266
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
267
|
+
resource_args, opts = _utilities.get_resource_args_opts(ServicePrincipalEntitlementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
268
|
+
if resource_args is not None:
|
269
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
270
|
+
else:
|
271
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
272
|
+
|
273
|
+
def _internal_init(__self__,
|
274
|
+
resource_name: str,
|
275
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
276
|
+
account_license_type: Optional[pulumi.Input[str]] = None,
|
277
|
+
licensing_source: Optional[pulumi.Input[str]] = None,
|
278
|
+
origin: Optional[pulumi.Input[str]] = None,
|
279
|
+
origin_id: Optional[pulumi.Input[str]] = None,
|
280
|
+
__props__=None):
|
281
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
282
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
283
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
284
|
+
if opts.id is None:
|
285
|
+
if __props__ is not None:
|
286
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
287
|
+
__props__ = ServicePrincipalEntitlementArgs.__new__(ServicePrincipalEntitlementArgs)
|
288
|
+
|
289
|
+
__props__.__dict__["account_license_type"] = account_license_type
|
290
|
+
__props__.__dict__["licensing_source"] = licensing_source
|
291
|
+
__props__.__dict__["origin"] = origin
|
292
|
+
if origin_id is None and not opts.urn:
|
293
|
+
raise TypeError("Missing required property 'origin_id'")
|
294
|
+
__props__.__dict__["origin_id"] = origin_id
|
295
|
+
__props__.__dict__["descriptor"] = None
|
296
|
+
__props__.__dict__["display_name"] = None
|
297
|
+
super(ServicePrincipalEntitlement, __self__).__init__(
|
298
|
+
'azuredevops:index/servicePrincipalEntitlement:ServicePrincipalEntitlement',
|
299
|
+
resource_name,
|
300
|
+
__props__,
|
301
|
+
opts)
|
302
|
+
|
303
|
+
@staticmethod
|
304
|
+
def get(resource_name: str,
|
305
|
+
id: pulumi.Input[str],
|
306
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
307
|
+
account_license_type: Optional[pulumi.Input[str]] = None,
|
308
|
+
descriptor: Optional[pulumi.Input[str]] = None,
|
309
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
310
|
+
licensing_source: Optional[pulumi.Input[str]] = None,
|
311
|
+
origin: Optional[pulumi.Input[str]] = None,
|
312
|
+
origin_id: Optional[pulumi.Input[str]] = None) -> 'ServicePrincipalEntitlement':
|
313
|
+
"""
|
314
|
+
Get an existing ServicePrincipalEntitlement resource's state with the given name, id, and optional extra
|
315
|
+
properties used to qualify the lookup.
|
316
|
+
|
317
|
+
:param str resource_name: The unique name of the resulting resource.
|
318
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
319
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
320
|
+
:param pulumi.Input[str] account_license_type: Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
321
|
+
:param pulumi.Input[str] descriptor: The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
|
322
|
+
:param pulumi.Input[str] display_name: The display name of service principal.
|
323
|
+
:param pulumi.Input[str] licensing_source: The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
324
|
+
:param pulumi.Input[str] origin: The type of source provider for the origin identifier.
|
325
|
+
:param pulumi.Input[str] origin_id: The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
326
|
+
"""
|
327
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
328
|
+
|
329
|
+
__props__ = _ServicePrincipalEntitlementState.__new__(_ServicePrincipalEntitlementState)
|
330
|
+
|
331
|
+
__props__.__dict__["account_license_type"] = account_license_type
|
332
|
+
__props__.__dict__["descriptor"] = descriptor
|
333
|
+
__props__.__dict__["display_name"] = display_name
|
334
|
+
__props__.__dict__["licensing_source"] = licensing_source
|
335
|
+
__props__.__dict__["origin"] = origin
|
336
|
+
__props__.__dict__["origin_id"] = origin_id
|
337
|
+
return ServicePrincipalEntitlement(resource_name, opts=opts, __props__=__props__)
|
338
|
+
|
339
|
+
@property
|
340
|
+
@pulumi.getter(name="accountLicenseType")
|
341
|
+
def account_license_type(self) -> pulumi.Output[Optional[str]]:
|
342
|
+
"""
|
343
|
+
Type of Account License. Possible values are: `advanced`, `earlyAdopter`, `express`, `none`, `professional`, or `stakeholder`. Defaults to `express`. In addition the value `basic` is allowed which is an alias for `express` and reflects the name of the `express` license used in the Azure DevOps web interface.
|
344
|
+
"""
|
345
|
+
return pulumi.get(self, "account_license_type")
|
346
|
+
|
347
|
+
@property
|
348
|
+
@pulumi.getter
|
349
|
+
def descriptor(self) -> pulumi.Output[str]:
|
350
|
+
"""
|
351
|
+
The descriptor is the primary way to reference the graph subject while the system is running. This field will uniquely identify the user graph subject.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "descriptor")
|
354
|
+
|
355
|
+
@property
|
356
|
+
@pulumi.getter(name="displayName")
|
357
|
+
def display_name(self) -> pulumi.Output[str]:
|
358
|
+
"""
|
359
|
+
The display name of service principal.
|
360
|
+
"""
|
361
|
+
return pulumi.get(self, "display_name")
|
362
|
+
|
363
|
+
@property
|
364
|
+
@pulumi.getter(name="licensingSource")
|
365
|
+
def licensing_source(self) -> pulumi.Output[Optional[str]]:
|
366
|
+
"""
|
367
|
+
The source of the licensing (e.g. Account. MSDN etc.) Possible values are: `account` (Default), `auto`, `msdn`, `none`, `profile`, `trial`
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "licensing_source")
|
370
|
+
|
371
|
+
@property
|
372
|
+
@pulumi.getter
|
373
|
+
def origin(self) -> pulumi.Output[str]:
|
374
|
+
"""
|
375
|
+
The type of source provider for the origin identifier.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "origin")
|
378
|
+
|
379
|
+
@property
|
380
|
+
@pulumi.getter(name="originId")
|
381
|
+
def origin_id(self) -> pulumi.Output[str]:
|
382
|
+
"""
|
383
|
+
The Object ID of the service principal in Entra ID. Changing this forces a new Service Principal Entitlement to be created.
|
384
|
+
"""
|
385
|
+
return pulumi.get(self, "origin_id")
|
386
|
+
|
@@ -321,7 +321,7 @@ class ServiceendpointArgocd(pulumi.CustomResource):
|
|
321
321
|
|
322
322
|
## Import
|
323
323
|
|
324
|
-
Azure DevOps Service Endpoint
|
324
|
+
Azure DevOps Argo CD Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
|
325
325
|
|
326
326
|
```sh
|
327
327
|
$ pulumi import azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -397,7 +397,7 @@ class ServiceendpointArgocd(pulumi.CustomResource):
|
|
397
397
|
|
398
398
|
## Import
|
399
399
|
|
400
|
-
Azure DevOps Service Endpoint
|
400
|
+
Azure DevOps Argo CD Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
|
401
401
|
|
402
402
|
```sh
|
403
403
|
$ pulumi import azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
|
@@ -217,7 +217,7 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
|
|
217
217
|
service_endpoint_name: Optional[pulumi.Input[str]] = None,
|
218
218
|
__props__=None):
|
219
219
|
"""
|
220
|
-
Manages an Azure Service Bus endpoint within Azure DevOps.
|
220
|
+
Manages an Azure Service Bus service endpoint within Azure DevOps.
|
221
221
|
|
222
222
|
## Example Usage
|
223
223
|
|
@@ -265,7 +265,7 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
|
|
265
265
|
args: ServiceendpointAzureServiceBusArgs,
|
266
266
|
opts: Optional[pulumi.ResourceOptions] = None):
|
267
267
|
"""
|
268
|
-
Manages an Azure Service Bus endpoint within Azure DevOps.
|
268
|
+
Manages an Azure Service Bus service endpoint within Azure DevOps.
|
269
269
|
|
270
270
|
## Example Usage
|
271
271
|
|