pulumi-azuredevops 3.6.0a1737523387__py3-none-any.whl → 3.7.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. pulumi_azuredevops/__init__.py +76 -0
  2. pulumi_azuredevops/_inputs.py +120 -117
  3. pulumi_azuredevops/_utilities.py +8 -4
  4. pulumi_azuredevops/area_permissions.py +49 -49
  5. pulumi_azuredevops/branch_policy_auto_reviewers.py +7 -7
  6. pulumi_azuredevops/branch_policy_build_validation.py +7 -7
  7. pulumi_azuredevops/branch_policy_comment_resolution.py +7 -7
  8. pulumi_azuredevops/branch_policy_merge_types.py +7 -7
  9. pulumi_azuredevops/branch_policy_status_check.py +7 -7
  10. pulumi_azuredevops/branch_policy_work_item_linking.py +7 -7
  11. pulumi_azuredevops/build_definition.py +7 -7
  12. pulumi_azuredevops/check_branch_control.py +7 -7
  13. pulumi_azuredevops/check_business_hours.py +7 -7
  14. pulumi_azuredevops/check_exclusive_lock.py +7 -7
  15. pulumi_azuredevops/check_rest_api.py +986 -0
  16. pulumi_azuredevops/dashboard.py +475 -0
  17. pulumi_azuredevops/feed.py +8 -8
  18. pulumi_azuredevops/feed_permission.py +9 -9
  19. pulumi_azuredevops/feed_retention_policy.py +400 -0
  20. pulumi_azuredevops/get_agent_queue.py +2 -2
  21. pulumi_azuredevops/get_area.py +1 -1
  22. pulumi_azuredevops/get_client_config.py +3 -0
  23. pulumi_azuredevops/get_descriptor.py +133 -0
  24. pulumi_azuredevops/get_feed.py +4 -4
  25. pulumi_azuredevops/get_git_repository.py +8 -8
  26. pulumi_azuredevops/get_group.py +4 -4
  27. pulumi_azuredevops/get_groups.py +3 -3
  28. pulumi_azuredevops/get_identity_group.py +23 -6
  29. pulumi_azuredevops/get_identity_groups.py +3 -3
  30. pulumi_azuredevops/get_identity_users.py +23 -9
  31. pulumi_azuredevops/get_pool.py +14 -2
  32. pulumi_azuredevops/get_pools.py +3 -3
  33. pulumi_azuredevops/get_project.py +32 -0
  34. pulumi_azuredevops/get_projects.py +4 -4
  35. pulumi_azuredevops/get_repositories.py +7 -3
  36. pulumi_azuredevops/get_securityrole_definitions.py +4 -4
  37. pulumi_azuredevops/get_service_endpoint_azure_rm.py +5 -5
  38. pulumi_azuredevops/get_service_endpoint_github.py +6 -6
  39. pulumi_azuredevops/get_service_principal.py +153 -0
  40. pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
  41. pulumi_azuredevops/get_serviceendpoint_bitbucket.py +6 -6
  42. pulumi_azuredevops/get_serviceendpoint_npm.py +3 -3
  43. pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +2 -2
  44. pulumi_azuredevops/get_storage_key.py +133 -0
  45. pulumi_azuredevops/get_team.py +4 -3
  46. pulumi_azuredevops/get_teams.py +2 -3
  47. pulumi_azuredevops/get_user.py +193 -0
  48. pulumi_azuredevops/get_users.py +5 -9
  49. pulumi_azuredevops/git.py +7 -7
  50. pulumi_azuredevops/git_permissions.py +14 -21
  51. pulumi_azuredevops/git_repository_file.py +7 -14
  52. pulumi_azuredevops/group.py +21 -7
  53. pulumi_azuredevops/group_entitlement.py +16 -20
  54. pulumi_azuredevops/group_membership.py +35 -50
  55. pulumi_azuredevops/iterative_permissions.py +34 -34
  56. pulumi_azuredevops/library_permissions.py +75 -75
  57. pulumi_azuredevops/outputs.py +141 -103
  58. pulumi_azuredevops/pipeline_authorization.py +7 -7
  59. pulumi_azuredevops/pool.py +4 -4
  60. pulumi_azuredevops/project.py +114 -63
  61. pulumi_azuredevops/project_features.py +87 -45
  62. pulumi_azuredevops/project_permissions.py +7 -7
  63. pulumi_azuredevops/project_pipeline_settings.py +28 -35
  64. pulumi_azuredevops/project_tags.py +263 -0
  65. pulumi_azuredevops/pulumi-plugin.json +1 -1
  66. pulumi_azuredevops/queue.py +7 -14
  67. pulumi_azuredevops/repository_policy_author_email_pattern.py +21 -14
  68. pulumi_azuredevops/repository_policy_max_file_size.py +7 -7
  69. pulumi_azuredevops/resource_authorization.py +35 -35
  70. pulumi_azuredevops/service_endpoint_artifactory.py +25 -33
  71. pulumi_azuredevops/service_endpoint_aws.py +3 -17
  72. pulumi_azuredevops/service_endpoint_azure_dev_ops.py +1 -15
  73. pulumi_azuredevops/service_endpoint_azure_ecr.py +14 -30
  74. pulumi_azuredevops/service_endpoint_azure_rm.py +26 -40
  75. pulumi_azuredevops/service_endpoint_bit_bucket.py +3 -17
  76. pulumi_azuredevops/service_endpoint_docker_registry.py +3 -17
  77. pulumi_azuredevops/service_endpoint_generic.py +3 -17
  78. pulumi_azuredevops/service_endpoint_generic_git.py +5 -23
  79. pulumi_azuredevops/service_endpoint_git_hub.py +16 -17
  80. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +16 -17
  81. pulumi_azuredevops/service_endpoint_git_lab.py +1 -15
  82. pulumi_azuredevops/service_endpoint_kubernetes.py +24 -38
  83. pulumi_azuredevops/service_endpoint_npm.py +5 -19
  84. pulumi_azuredevops/service_endpoint_pipeline.py +5 -19
  85. pulumi_azuredevops/service_endpoint_service_fabric.py +49 -24
  86. pulumi_azuredevops/service_endpoint_sonar_cloud.py +12 -26
  87. pulumi_azuredevops/service_endpoint_sonar_qube.py +12 -26
  88. pulumi_azuredevops/service_endpoint_ssh.py +3 -21
  89. pulumi_azuredevops/service_principal_entitlement.py +386 -0
  90. pulumi_azuredevops/serviceendpoint_argocd.py +3 -17
  91. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +3 -17
  92. pulumi_azuredevops/serviceendpoint_checkmarx_one.py +613 -0
  93. pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +561 -0
  94. pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +660 -0
  95. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +3 -17
  96. pulumi_azuredevops/serviceendpoint_externaltfs.py +64 -26
  97. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +3 -17
  98. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +3 -17
  99. pulumi_azuredevops/serviceendpoint_jenkins.py +3 -17
  100. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +19 -33
  101. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +19 -33
  102. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +19 -33
  103. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +19 -33
  104. pulumi_azuredevops/serviceendpoint_maven.py +3 -17
  105. pulumi_azuredevops/serviceendpoint_nexus.py +3 -17
  106. pulumi_azuredevops/serviceendpoint_nuget.py +3 -17
  107. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +3 -17
  108. pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
  109. pulumi_azuredevops/serviceendpoint_snyk.py +3 -17
  110. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +5 -21
  111. pulumi_azuredevops/servicehook_permissions.py +51 -51
  112. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +4 -4
  113. pulumi_azuredevops/tagging_permissions.py +49 -49
  114. pulumi_azuredevops/team.py +76 -56
  115. pulumi_azuredevops/team_administrators.py +83 -56
  116. pulumi_azuredevops/team_members.py +56 -49
  117. pulumi_azuredevops/variable_group.py +4 -2
  118. pulumi_azuredevops/variable_group_permissions.py +75 -75
  119. pulumi_azuredevops/wiki.py +15 -2
  120. pulumi_azuredevops/wiki_page.py +2 -2
  121. pulumi_azuredevops/work_item_query_permissions.py +7 -7
  122. {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/METADATA +1 -1
  123. pulumi_azuredevops-3.7.0.dist-info/RECORD +152 -0
  124. {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.dist-info}/WHEEL +1 -1
  125. pulumi_azuredevops-3.6.0a1737523387.dist-info/RECORD +0 -140
  126. {pulumi_azuredevops-3.6.0a1737523387.dist-info → pulumi_azuredevops-3.7.0.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
+
@@ -26,7 +26,6 @@ class ServiceendpointArgocdArgs:
26
26
  url: pulumi.Input[str],
27
27
  authentication_basic: Optional[pulumi.Input['ServiceendpointArgocdAuthenticationBasicArgs']] = None,
28
28
  authentication_token: Optional[pulumi.Input['ServiceendpointArgocdAuthenticationTokenArgs']] = None,
29
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
30
29
  description: Optional[pulumi.Input[str]] = None):
31
30
  """
32
31
  The set of arguments for constructing a ServiceendpointArgocd resource.
@@ -46,8 +45,6 @@ class ServiceendpointArgocdArgs:
46
45
  pulumi.set(__self__, "authentication_basic", authentication_basic)
47
46
  if authentication_token is not None:
48
47
  pulumi.set(__self__, "authentication_token", authentication_token)
49
- if authorization is not None:
50
- pulumi.set(__self__, "authorization", authorization)
51
48
  if description is not None:
52
49
  pulumi.set(__self__, "description", description)
53
50
 
@@ -113,15 +110,6 @@ class ServiceendpointArgocdArgs:
113
110
  def authentication_token(self, value: Optional[pulumi.Input['ServiceendpointArgocdAuthenticationTokenArgs']]):
114
111
  pulumi.set(self, "authentication_token", value)
115
112
 
116
- @property
117
- @pulumi.getter
118
- def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
119
- return pulumi.get(self, "authorization")
120
-
121
- @authorization.setter
122
- def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
123
- pulumi.set(self, "authorization", value)
124
-
125
113
  @property
126
114
  @pulumi.getter
127
115
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -262,7 +250,6 @@ class ServiceendpointArgocd(pulumi.CustomResource):
262
250
  opts: Optional[pulumi.ResourceOptions] = None,
263
251
  authentication_basic: Optional[pulumi.Input[Union['ServiceendpointArgocdAuthenticationBasicArgs', 'ServiceendpointArgocdAuthenticationBasicArgsDict']]] = None,
264
252
  authentication_token: Optional[pulumi.Input[Union['ServiceendpointArgocdAuthenticationTokenArgs', 'ServiceendpointArgocdAuthenticationTokenArgsDict']]] = None,
265
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
266
253
  description: Optional[pulumi.Input[str]] = None,
267
254
  project_id: Optional[pulumi.Input[str]] = None,
268
255
  service_endpoint_name: Optional[pulumi.Input[str]] = None,
@@ -321,7 +308,7 @@ class ServiceendpointArgocd(pulumi.CustomResource):
321
308
 
322
309
  ## Import
323
310
 
324
- Azure DevOps Service Endpoint ArgoCD can be imported using the **projectID/serviceEndpointID**, e.g.
311
+ Azure DevOps Argo CD Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
325
312
 
326
313
  ```sh
327
314
  $ pulumi import azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
@@ -397,7 +384,7 @@ class ServiceendpointArgocd(pulumi.CustomResource):
397
384
 
398
385
  ## Import
399
386
 
400
- Azure DevOps Service Endpoint ArgoCD can be imported using the **projectID/serviceEndpointID**, e.g.
387
+ Azure DevOps Argo CD Service Endpoint can be imported using the **projectID/serviceEndpointID**, e.g.
401
388
 
402
389
  ```sh
403
390
  $ pulumi import azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
@@ -420,7 +407,6 @@ class ServiceendpointArgocd(pulumi.CustomResource):
420
407
  opts: Optional[pulumi.ResourceOptions] = None,
421
408
  authentication_basic: Optional[pulumi.Input[Union['ServiceendpointArgocdAuthenticationBasicArgs', 'ServiceendpointArgocdAuthenticationBasicArgsDict']]] = None,
422
409
  authentication_token: Optional[pulumi.Input[Union['ServiceendpointArgocdAuthenticationTokenArgs', 'ServiceendpointArgocdAuthenticationTokenArgsDict']]] = None,
423
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
424
410
  description: Optional[pulumi.Input[str]] = None,
425
411
  project_id: Optional[pulumi.Input[str]] = None,
426
412
  service_endpoint_name: Optional[pulumi.Input[str]] = None,
@@ -436,7 +422,6 @@ class ServiceendpointArgocd(pulumi.CustomResource):
436
422
 
437
423
  __props__.__dict__["authentication_basic"] = authentication_basic
438
424
  __props__.__dict__["authentication_token"] = authentication_token
439
- __props__.__dict__["authorization"] = authorization
440
425
  __props__.__dict__["description"] = description
441
426
  if project_id is None and not opts.urn:
442
427
  raise TypeError("Missing required property 'project_id'")
@@ -447,6 +432,7 @@ class ServiceendpointArgocd(pulumi.CustomResource):
447
432
  if url is None and not opts.urn:
448
433
  raise TypeError("Missing required property 'url'")
449
434
  __props__.__dict__["url"] = url
435
+ __props__.__dict__["authorization"] = None
450
436
  super(ServiceendpointArgocd, __self__).__init__(
451
437
  'azuredevops:index/serviceendpointArgocd:ServiceendpointArgocd',
452
438
  resource_name,
@@ -23,7 +23,6 @@ class ServiceendpointAzureServiceBusArgs:
23
23
  project_id: pulumi.Input[str],
24
24
  queue_name: pulumi.Input[str],
25
25
  service_endpoint_name: pulumi.Input[str],
26
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
27
26
  description: Optional[pulumi.Input[str]] = None):
28
27
  """
29
28
  The set of arguments for constructing a ServiceendpointAzureServiceBus resource.
@@ -36,8 +35,6 @@ class ServiceendpointAzureServiceBusArgs:
36
35
  pulumi.set(__self__, "project_id", project_id)
37
36
  pulumi.set(__self__, "queue_name", queue_name)
38
37
  pulumi.set(__self__, "service_endpoint_name", service_endpoint_name)
39
- if authorization is not None:
40
- pulumi.set(__self__, "authorization", authorization)
41
38
  if description is not None:
42
39
  pulumi.set(__self__, "description", description)
43
40
 
@@ -89,15 +86,6 @@ class ServiceendpointAzureServiceBusArgs:
89
86
  def service_endpoint_name(self, value: pulumi.Input[str]):
90
87
  pulumi.set(self, "service_endpoint_name", value)
91
88
 
92
- @property
93
- @pulumi.getter
94
- def authorization(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
95
- return pulumi.get(self, "authorization")
96
-
97
- @authorization.setter
98
- def authorization(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
99
- pulumi.set(self, "authorization", value)
100
-
101
89
  @property
102
90
  @pulumi.getter
103
91
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -209,7 +197,6 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
209
197
  def __init__(__self__,
210
198
  resource_name: str,
211
199
  opts: Optional[pulumi.ResourceOptions] = None,
212
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
213
200
  connection_string: Optional[pulumi.Input[str]] = None,
214
201
  description: Optional[pulumi.Input[str]] = None,
215
202
  project_id: Optional[pulumi.Input[str]] = None,
@@ -217,7 +204,7 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
217
204
  service_endpoint_name: Optional[pulumi.Input[str]] = None,
218
205
  __props__=None):
219
206
  """
220
- Manages an Azure Service Bus endpoint within Azure DevOps.
207
+ Manages an Azure Service Bus service endpoint within Azure DevOps.
221
208
 
222
209
  ## Example Usage
223
210
 
@@ -265,7 +252,7 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
265
252
  args: ServiceendpointAzureServiceBusArgs,
266
253
  opts: Optional[pulumi.ResourceOptions] = None):
267
254
  """
268
- Manages an Azure Service Bus endpoint within Azure DevOps.
255
+ Manages an Azure Service Bus service endpoint within Azure DevOps.
269
256
 
270
257
  ## Example Usage
271
258
 
@@ -314,7 +301,6 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
314
301
  def _internal_init(__self__,
315
302
  resource_name: str,
316
303
  opts: Optional[pulumi.ResourceOptions] = None,
317
- authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
318
304
  connection_string: Optional[pulumi.Input[str]] = None,
319
305
  description: Optional[pulumi.Input[str]] = None,
320
306
  project_id: Optional[pulumi.Input[str]] = None,
@@ -329,7 +315,6 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
329
315
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
330
316
  __props__ = ServiceendpointAzureServiceBusArgs.__new__(ServiceendpointAzureServiceBusArgs)
331
317
 
332
- __props__.__dict__["authorization"] = authorization
333
318
  if connection_string is None and not opts.urn:
334
319
  raise TypeError("Missing required property 'connection_string'")
335
320
  __props__.__dict__["connection_string"] = None if connection_string is None else pulumi.Output.secret(connection_string)
@@ -343,6 +328,7 @@ class ServiceendpointAzureServiceBus(pulumi.CustomResource):
343
328
  if service_endpoint_name is None and not opts.urn:
344
329
  raise TypeError("Missing required property 'service_endpoint_name'")
345
330
  __props__.__dict__["service_endpoint_name"] = service_endpoint_name
331
+ __props__.__dict__["authorization"] = None
346
332
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["connectionString"])
347
333
  opts = pulumi.ResourceOptions.merge(opts, secret_opts)
348
334
  super(ServiceendpointAzureServiceBus, __self__).__init__(