pulumi-azuredevops 2.16.0a1710156155__py3-none-any.whl → 3.6.0a1736832240__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 (188) hide show
  1. pulumi_azuredevops/__init__.py +123 -174
  2. pulumi_azuredevops/_inputs.py +1742 -110
  3. pulumi_azuredevops/_utilities.py +41 -5
  4. pulumi_azuredevops/area_permissions.py +9 -6
  5. pulumi_azuredevops/branch_policy_auto_reviewers.py +52 -49
  6. pulumi_azuredevops/branch_policy_build_validation.py +86 -79
  7. pulumi_azuredevops/branch_policy_comment_resolution.py +60 -57
  8. pulumi_azuredevops/branch_policy_merge_types.py +68 -65
  9. pulumi_azuredevops/branch_policy_min_reviewers.py +72 -71
  10. pulumi_azuredevops/branch_policy_status_check.py +66 -61
  11. pulumi_azuredevops/branch_policy_work_item_linking.py +60 -57
  12. pulumi_azuredevops/build_definition.py +380 -200
  13. pulumi_azuredevops/build_definition_permissions.py +186 -165
  14. pulumi_azuredevops/build_folder.py +13 -10
  15. pulumi_azuredevops/build_folder_permissions.py +33 -32
  16. pulumi_azuredevops/check_approval.py +49 -16
  17. pulumi_azuredevops/check_branch_control.py +139 -110
  18. pulumi_azuredevops/check_business_hours.py +137 -108
  19. pulumi_azuredevops/check_exclusive_lock.py +107 -30
  20. pulumi_azuredevops/check_required_template.py +96 -67
  21. pulumi_azuredevops/config/__init__.pyi +87 -0
  22. pulumi_azuredevops/config/vars.py +125 -0
  23. pulumi_azuredevops/elastic_pool.py +78 -26
  24. pulumi_azuredevops/environment.py +17 -10
  25. pulumi_azuredevops/environment_resource_kubernetes.py +534 -0
  26. pulumi_azuredevops/feed.py +372 -0
  27. pulumi_azuredevops/feed_permission.py +415 -0
  28. pulumi_azuredevops/get_agent_queue.py +28 -19
  29. pulumi_azuredevops/get_area.py +28 -15
  30. pulumi_azuredevops/get_build_definition.py +32 -15
  31. pulumi_azuredevops/get_client_config.py +12 -9
  32. pulumi_azuredevops/get_environment.py +72 -5
  33. pulumi_azuredevops/get_feed.py +186 -0
  34. pulumi_azuredevops/get_git_repository.py +39 -10
  35. pulumi_azuredevops/get_group.py +55 -22
  36. pulumi_azuredevops/get_groups.py +18 -9
  37. pulumi_azuredevops/get_identity_group.py +152 -0
  38. pulumi_azuredevops/get_identity_groups.py +140 -0
  39. pulumi_azuredevops/get_identity_users.py +122 -0
  40. pulumi_azuredevops/get_iteration.py +24 -11
  41. pulumi_azuredevops/get_pool.py +16 -9
  42. pulumi_azuredevops/get_pools.py +12 -9
  43. pulumi_azuredevops/get_project.py +22 -10
  44. pulumi_azuredevops/get_projects.py +16 -9
  45. pulumi_azuredevops/get_repositories.py +22 -9
  46. pulumi_azuredevops/get_securityrole_definitions.py +141 -0
  47. pulumi_azuredevops/get_service_endpoint_azure_rm.py +70 -26
  48. pulumi_azuredevops/get_service_endpoint_github.py +19 -13
  49. pulumi_azuredevops/get_serviceendpoint_azurecr.py +31 -11
  50. pulumi_azuredevops/get_serviceendpoint_bitbucket.py +219 -0
  51. pulumi_azuredevops/get_serviceendpoint_npm.py +22 -11
  52. pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +21 -11
  53. pulumi_azuredevops/get_team.py +29 -15
  54. pulumi_azuredevops/get_teams.py +16 -9
  55. pulumi_azuredevops/get_users.py +26 -87
  56. pulumi_azuredevops/get_variable_group.py +27 -17
  57. pulumi_azuredevops/git.py +57 -99
  58. pulumi_azuredevops/git_permissions.py +78 -75
  59. pulumi_azuredevops/git_repository_branch.py +29 -20
  60. pulumi_azuredevops/git_repository_file.py +23 -18
  61. pulumi_azuredevops/group.py +43 -16
  62. pulumi_azuredevops/group_entitlement.py +5 -8
  63. pulumi_azuredevops/group_membership.py +57 -30
  64. pulumi_azuredevops/iterative_permissions.py +9 -6
  65. pulumi_azuredevops/library_permissions.py +451 -0
  66. pulumi_azuredevops/outputs.py +460 -56
  67. pulumi_azuredevops/pipeline_authorization.py +136 -47
  68. pulumi_azuredevops/pool.py +7 -6
  69. pulumi_azuredevops/project.py +19 -18
  70. pulumi_azuredevops/project_features.py +9 -8
  71. pulumi_azuredevops/project_permissions.py +9 -6
  72. pulumi_azuredevops/project_pipeline_settings.py +15 -12
  73. pulumi_azuredevops/provider.py +491 -2
  74. pulumi_azuredevops/pulumi-plugin.json +2 -1
  75. pulumi_azuredevops/queue.py +23 -24
  76. pulumi_azuredevops/repository_policy_author_email_pattern.py +37 -34
  77. pulumi_azuredevops/repository_policy_case_enforcement.py +37 -34
  78. pulumi_azuredevops/repository_policy_check_credentials.py +37 -34
  79. pulumi_azuredevops/repository_policy_file_path_pattern.py +31 -28
  80. pulumi_azuredevops/repository_policy_max_file_size.py +44 -41
  81. pulumi_azuredevops/repository_policy_max_path_length.py +37 -34
  82. pulumi_azuredevops/repository_policy_reserved_names.py +37 -34
  83. pulumi_azuredevops/resource_authorization.py +23 -20
  84. pulumi_azuredevops/securityrole_assignment.py +295 -0
  85. pulumi_azuredevops/service_endpoint_artifactory.py +49 -48
  86. pulumi_azuredevops/service_endpoint_aws.py +99 -51
  87. pulumi_azuredevops/service_endpoint_azure_dev_ops.py +17 -14
  88. pulumi_azuredevops/service_endpoint_azure_ecr.py +275 -33
  89. pulumi_azuredevops/service_endpoint_azure_rm.py +236 -114
  90. pulumi_azuredevops/service_endpoint_bit_bucket.py +19 -18
  91. pulumi_azuredevops/service_endpoint_docker_registry.py +17 -16
  92. pulumi_azuredevops/service_endpoint_generic.py +19 -20
  93. pulumi_azuredevops/service_endpoint_generic_git.py +17 -14
  94. pulumi_azuredevops/service_endpoint_git_hub.py +57 -60
  95. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +26 -23
  96. pulumi_azuredevops/{serviceendpoint/bit_bucket.py → service_endpoint_git_lab.py} +147 -100
  97. pulumi_azuredevops/service_endpoint_kubernetes.py +160 -17
  98. pulumi_azuredevops/service_endpoint_npm.py +17 -14
  99. pulumi_azuredevops/service_endpoint_pipeline.py +28 -25
  100. pulumi_azuredevops/service_endpoint_service_fabric.py +42 -95
  101. pulumi_azuredevops/service_endpoint_sonar_cloud.py +17 -14
  102. pulumi_azuredevops/service_endpoint_sonar_qube.py +17 -14
  103. pulumi_azuredevops/service_endpoint_ssh.py +17 -14
  104. pulumi_azuredevops/serviceendpoint_argocd.py +51 -50
  105. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +429 -0
  106. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +579 -0
  107. pulumi_azuredevops/serviceendpoint_externaltfs.py +10 -5
  108. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +17 -14
  109. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +17 -14
  110. pulumi_azuredevops/serviceendpoint_jenkins.py +15 -12
  111. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +53 -52
  112. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +53 -52
  113. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +53 -52
  114. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +53 -52
  115. pulumi_azuredevops/serviceendpoint_maven.py +49 -48
  116. pulumi_azuredevops/serviceendpoint_nexus.py +15 -12
  117. pulumi_azuredevops/serviceendpoint_nuget.py +17 -14
  118. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +17 -14
  119. pulumi_azuredevops/serviceendpoint_permissions.py +21 -18
  120. pulumi_azuredevops/serviceendpoint_snyk.py +429 -0
  121. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +543 -0
  122. pulumi_azuredevops/servicehook_permissions.py +9 -6
  123. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +55 -48
  124. pulumi_azuredevops/tagging_permissions.py +9 -6
  125. pulumi_azuredevops/team.py +21 -16
  126. pulumi_azuredevops/team_administrators.py +19 -12
  127. pulumi_azuredevops/team_members.py +19 -12
  128. pulumi_azuredevops/user.py +27 -8
  129. pulumi_azuredevops/variable_group.py +91 -88
  130. pulumi_azuredevops/variable_group_permissions.py +517 -0
  131. pulumi_azuredevops/wiki.py +509 -0
  132. pulumi_azuredevops/wiki_page.py +377 -0
  133. pulumi_azuredevops/work_item_query_permissions.py +17 -18
  134. pulumi_azuredevops/workitem.py +25 -24
  135. {pulumi_azuredevops-2.16.0a1710156155.dist-info → pulumi_azuredevops-3.6.0a1736832240.dist-info}/METADATA +9 -8
  136. pulumi_azuredevops-3.6.0a1736832240.dist-info/RECORD +140 -0
  137. {pulumi_azuredevops-2.16.0a1710156155.dist-info → pulumi_azuredevops-3.6.0a1736832240.dist-info}/WHEEL +1 -1
  138. pulumi_azuredevops/agent/__init__.py +0 -12
  139. pulumi_azuredevops/agent/get_pool.py +0 -155
  140. pulumi_azuredevops/agent/get_pools.py +0 -120
  141. pulumi_azuredevops/agent/outputs.py +0 -73
  142. pulumi_azuredevops/agent/pool.py +0 -342
  143. pulumi_azuredevops/agent/queue.py +0 -376
  144. pulumi_azuredevops/build/__init__.py +0 -10
  145. pulumi_azuredevops/build/_inputs.py +0 -1164
  146. pulumi_azuredevops/build/build_definition.py +0 -987
  147. pulumi_azuredevops/build/outputs.py +0 -1170
  148. pulumi_azuredevops/core/__init__.py +0 -13
  149. pulumi_azuredevops/core/get_client_config.py +0 -102
  150. pulumi_azuredevops/core/get_project.py +0 -194
  151. pulumi_azuredevops/core/get_projects.py +0 -166
  152. pulumi_azuredevops/core/outputs.py +0 -70
  153. pulumi_azuredevops/core/project.py +0 -538
  154. pulumi_azuredevops/core/project_features.py +0 -303
  155. pulumi_azuredevops/entitlement/__init__.py +0 -8
  156. pulumi_azuredevops/entitlement/user.py +0 -429
  157. pulumi_azuredevops/identities/__init__.py +0 -13
  158. pulumi_azuredevops/identities/_inputs.py +0 -42
  159. pulumi_azuredevops/identities/get_group.py +0 -185
  160. pulumi_azuredevops/identities/get_users.py +0 -257
  161. pulumi_azuredevops/identities/group.py +0 -632
  162. pulumi_azuredevops/identities/group_membership.py +0 -333
  163. pulumi_azuredevops/identities/outputs.py +0 -124
  164. pulumi_azuredevops/pipeline/__init__.py +0 -10
  165. pulumi_azuredevops/pipeline/_inputs.py +0 -175
  166. pulumi_azuredevops/pipeline/outputs.py +0 -175
  167. pulumi_azuredevops/pipeline/variable_group.py +0 -594
  168. pulumi_azuredevops/policy/__init__.py +0 -11
  169. pulumi_azuredevops/policy/_inputs.py +0 -382
  170. pulumi_azuredevops/policy/branch_policy_build_validation.py +0 -424
  171. pulumi_azuredevops/policy/branch_policy_min_reviewers.py +0 -406
  172. pulumi_azuredevops/policy/outputs.py +0 -397
  173. pulumi_azuredevops/repository/__init__.py +0 -11
  174. pulumi_azuredevops/repository/_inputs.py +0 -85
  175. pulumi_azuredevops/repository/get_repositories.py +0 -177
  176. pulumi_azuredevops/repository/git.py +0 -627
  177. pulumi_azuredevops/repository/outputs.py +0 -199
  178. pulumi_azuredevops/security/__init__.py +0 -8
  179. pulumi_azuredevops/security/resource_authorization.py +0 -404
  180. pulumi_azuredevops/serviceendpoint/__init__.py +0 -14
  181. pulumi_azuredevops/serviceendpoint/_inputs.py +0 -341
  182. pulumi_azuredevops/serviceendpoint/azure_rm.py +0 -1140
  183. pulumi_azuredevops/serviceendpoint/docker_registry.py +0 -595
  184. pulumi_azuredevops/serviceendpoint/git_hub.py +0 -489
  185. pulumi_azuredevops/serviceendpoint/kubernetes.py +0 -523
  186. pulumi_azuredevops/serviceendpoint/outputs.py +0 -370
  187. pulumi_azuredevops-2.16.0a1710156155.dist-info/RECORD +0 -171
  188. {pulumi_azuredevops-2.16.0a1710156155.dist-info → pulumi_azuredevops-3.6.0a1736832240.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -255,8 +260,8 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
255
260
  def __init__(__self__,
256
261
  resource_name: str,
257
262
  opts: Optional[pulumi.ResourceOptions] = None,
258
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs']]] = None,
259
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs']]] = None,
263
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs', 'ServiceendpointJfrogDistributionV2AuthenticationBasicArgsDict']]] = None,
264
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs', 'ServiceendpointJfrogDistributionV2AuthenticationTokenArgsDict']]] = None,
260
265
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
261
266
  description: Optional[pulumi.Input[str]] = None,
262
267
  project_id: Optional[pulumi.Input[str]] = None,
@@ -270,49 +275,47 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
270
275
 
271
276
  ## Example Usage
272
277
 
273
- <!--Start PulumiCodeChooser -->
274
278
  ```python
275
279
  import pulumi
276
280
  import pulumi_azuredevops as azuredevops
277
281
 
278
- example_project = azuredevops.Project("exampleProject",
282
+ example = azuredevops.Project("example",
283
+ name="Example Project",
279
284
  visibility="private",
280
285
  version_control="Git",
281
286
  work_item_template="Agile",
282
- description="Managed by Terraform")
283
- example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("exampleServiceendpointJfrogDistributionV2",
284
- project_id=example_project.id,
287
+ description="Managed by Pulumi")
288
+ example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("example",
289
+ project_id=example.id,
285
290
  service_endpoint_name="Example JFrog Distribution V2",
286
- description="Managed by Terraform",
291
+ description="Managed by Pulumi",
287
292
  url="https://artifactory.my.com",
288
- authentication_token=azuredevops.ServiceendpointJfrogDistributionV2AuthenticationTokenArgs(
289
- token="0000000000000000000000000000000000000000",
290
- ))
293
+ authentication_token={
294
+ "token": "0000000000000000000000000000000000000000",
295
+ })
291
296
  ```
292
- <!--End PulumiCodeChooser -->
293
297
  Alternatively a username and password may be used.
294
298
 
295
- <!--Start PulumiCodeChooser -->
296
299
  ```python
297
300
  import pulumi
298
301
  import pulumi_azuredevops as azuredevops
299
302
 
300
- example_project = azuredevops.Project("exampleProject",
303
+ example = azuredevops.Project("example",
304
+ name="Example Project",
301
305
  visibility="private",
302
306
  version_control="Git",
303
307
  work_item_template="Agile",
304
- description="Managed by Terraform")
305
- example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("exampleServiceendpointJfrogDistributionV2",
306
- project_id=example_project.id,
308
+ description="Managed by Pulumi")
309
+ example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("example",
310
+ project_id=example.id,
307
311
  service_endpoint_name="Example JFrog Distribution V2",
308
- description="Managed by Terraform",
312
+ description="Managed by Pulumi",
309
313
  url="https://artifactory.my.com",
310
- authentication_basic=azuredevops.ServiceendpointJfrogDistributionV2AuthenticationBasicArgs(
311
- username="username",
312
- password="password",
313
- ))
314
+ authentication_basic={
315
+ "username": "username",
316
+ "password": "password",
317
+ })
314
318
  ```
315
- <!--End PulumiCodeChooser -->
316
319
 
317
320
  ## Relevant Links
318
321
 
@@ -329,8 +332,8 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
329
332
 
330
333
  :param str resource_name: The name of the resource.
331
334
  :param pulumi.ResourceOptions opts: Options for the resource.
332
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
333
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
335
+ :param pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs', 'ServiceendpointJfrogDistributionV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
336
+ :param pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs', 'ServiceendpointJfrogDistributionV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
334
337
  :param pulumi.Input[str] description: The Service Endpoint description.
335
338
  :param pulumi.Input[str] project_id: The ID of the project.
336
339
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
@@ -351,49 +354,47 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
351
354
 
352
355
  ## Example Usage
353
356
 
354
- <!--Start PulumiCodeChooser -->
355
357
  ```python
356
358
  import pulumi
357
359
  import pulumi_azuredevops as azuredevops
358
360
 
359
- example_project = azuredevops.Project("exampleProject",
361
+ example = azuredevops.Project("example",
362
+ name="Example Project",
360
363
  visibility="private",
361
364
  version_control="Git",
362
365
  work_item_template="Agile",
363
- description="Managed by Terraform")
364
- example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("exampleServiceendpointJfrogDistributionV2",
365
- project_id=example_project.id,
366
+ description="Managed by Pulumi")
367
+ example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("example",
368
+ project_id=example.id,
366
369
  service_endpoint_name="Example JFrog Distribution V2",
367
- description="Managed by Terraform",
370
+ description="Managed by Pulumi",
368
371
  url="https://artifactory.my.com",
369
- authentication_token=azuredevops.ServiceendpointJfrogDistributionV2AuthenticationTokenArgs(
370
- token="0000000000000000000000000000000000000000",
371
- ))
372
+ authentication_token={
373
+ "token": "0000000000000000000000000000000000000000",
374
+ })
372
375
  ```
373
- <!--End PulumiCodeChooser -->
374
376
  Alternatively a username and password may be used.
375
377
 
376
- <!--Start PulumiCodeChooser -->
377
378
  ```python
378
379
  import pulumi
379
380
  import pulumi_azuredevops as azuredevops
380
381
 
381
- example_project = azuredevops.Project("exampleProject",
382
+ example = azuredevops.Project("example",
383
+ name="Example Project",
382
384
  visibility="private",
383
385
  version_control="Git",
384
386
  work_item_template="Agile",
385
- description="Managed by Terraform")
386
- example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("exampleServiceendpointJfrogDistributionV2",
387
- project_id=example_project.id,
387
+ description="Managed by Pulumi")
388
+ example_serviceendpoint_jfrog_distribution_v2 = azuredevops.ServiceendpointJfrogDistributionV2("example",
389
+ project_id=example.id,
388
390
  service_endpoint_name="Example JFrog Distribution V2",
389
- description="Managed by Terraform",
391
+ description="Managed by Pulumi",
390
392
  url="https://artifactory.my.com",
391
- authentication_basic=azuredevops.ServiceendpointJfrogDistributionV2AuthenticationBasicArgs(
392
- username="username",
393
- password="password",
394
- ))
393
+ authentication_basic={
394
+ "username": "username",
395
+ "password": "password",
396
+ })
395
397
  ```
396
- <!--End PulumiCodeChooser -->
397
398
 
398
399
  ## Relevant Links
399
400
 
@@ -423,8 +424,8 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
423
424
  def _internal_init(__self__,
424
425
  resource_name: str,
425
426
  opts: Optional[pulumi.ResourceOptions] = None,
426
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs']]] = None,
427
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs']]] = None,
427
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs', 'ServiceendpointJfrogDistributionV2AuthenticationBasicArgsDict']]] = None,
428
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs', 'ServiceendpointJfrogDistributionV2AuthenticationTokenArgsDict']]] = None,
428
429
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
429
430
  description: Optional[pulumi.Input[str]] = None,
430
431
  project_id: Optional[pulumi.Input[str]] = None,
@@ -462,8 +463,8 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
462
463
  def get(resource_name: str,
463
464
  id: pulumi.Input[str],
464
465
  opts: Optional[pulumi.ResourceOptions] = None,
465
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs']]] = None,
466
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs']]] = None,
466
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs', 'ServiceendpointJfrogDistributionV2AuthenticationBasicArgsDict']]] = None,
467
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs', 'ServiceendpointJfrogDistributionV2AuthenticationTokenArgsDict']]] = None,
467
468
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
468
469
  description: Optional[pulumi.Input[str]] = None,
469
470
  project_id: Optional[pulumi.Input[str]] = None,
@@ -476,8 +477,8 @@ class ServiceendpointJfrogDistributionV2(pulumi.CustomResource):
476
477
  :param str resource_name: The unique name of the resulting resource.
477
478
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
478
479
  :param pulumi.ResourceOptions opts: Options for the resource.
479
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
480
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
480
+ :param pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationBasicArgs', 'ServiceendpointJfrogDistributionV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
481
+ :param pulumi.Input[Union['ServiceendpointJfrogDistributionV2AuthenticationTokenArgs', 'ServiceendpointJfrogDistributionV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
481
482
  :param pulumi.Input[str] description: The Service Endpoint description.
482
483
  :param pulumi.Input[str] project_id: The ID of the project.
483
484
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -255,8 +260,8 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
255
260
  def __init__(__self__,
256
261
  resource_name: str,
257
262
  opts: Optional[pulumi.ResourceOptions] = None,
258
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs']]] = None,
259
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs']]] = None,
263
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs', 'ServiceendpointJfrogPlatformV2AuthenticationBasicArgsDict']]] = None,
264
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs', 'ServiceendpointJfrogPlatformV2AuthenticationTokenArgsDict']]] = None,
260
265
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
261
266
  description: Optional[pulumi.Input[str]] = None,
262
267
  project_id: Optional[pulumi.Input[str]] = None,
@@ -270,49 +275,47 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
270
275
 
271
276
  ## Example Usage
272
277
 
273
- <!--Start PulumiCodeChooser -->
274
278
  ```python
275
279
  import pulumi
276
280
  import pulumi_azuredevops as azuredevops
277
281
 
278
- example_project = azuredevops.Project("exampleProject",
282
+ example = azuredevops.Project("example",
283
+ name="Example Project",
279
284
  visibility="private",
280
285
  version_control="Git",
281
286
  work_item_template="Agile",
282
- description="Managed by Terraform")
283
- example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("exampleServiceendpointJfrogPlatformV2",
284
- project_id=example_project.id,
287
+ description="Managed by Pulumi")
288
+ example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("example",
289
+ project_id=example.id,
285
290
  service_endpoint_name="Example Artifactory",
286
- description="Managed by Terraform",
291
+ description="Managed by Pulumi",
287
292
  url="https://artifactory.my.com",
288
- authentication_token=azuredevops.ServiceendpointJfrogPlatformV2AuthenticationTokenArgs(
289
- token="0000000000000000000000000000000000000000",
290
- ))
293
+ authentication_token={
294
+ "token": "0000000000000000000000000000000000000000",
295
+ })
291
296
  ```
292
- <!--End PulumiCodeChooser -->
293
297
  Alternatively a username and password may be used.
294
298
 
295
- <!--Start PulumiCodeChooser -->
296
299
  ```python
297
300
  import pulumi
298
301
  import pulumi_azuredevops as azuredevops
299
302
 
300
- example_project = azuredevops.Project("exampleProject",
303
+ example = azuredevops.Project("example",
304
+ name="Example Project",
301
305
  visibility="private",
302
306
  version_control="Git",
303
307
  work_item_template="Agile",
304
- description="Managed by Terraform")
305
- example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("exampleServiceendpointJfrogPlatformV2",
306
- project_id=example_project.id,
308
+ description="Managed by Pulumi")
309
+ example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("example",
310
+ project_id=example.id,
307
311
  service_endpoint_name="Example Artifactory",
308
- description="Managed by Terraform",
312
+ description="Managed by Pulumi",
309
313
  url="https://artifactory.my.com",
310
- authentication_basic=azuredevops.ServiceendpointJfrogPlatformV2AuthenticationBasicArgs(
311
- username="username",
312
- password="password",
313
- ))
314
+ authentication_basic={
315
+ "username": "username",
316
+ "password": "password",
317
+ })
314
318
  ```
315
- <!--End PulumiCodeChooser -->
316
319
 
317
320
  ## Relevant Links
318
321
 
@@ -329,8 +332,8 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
329
332
 
330
333
  :param str resource_name: The name of the resource.
331
334
  :param pulumi.ResourceOptions opts: Options for the resource.
332
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
333
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
335
+ :param pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs', 'ServiceendpointJfrogPlatformV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
336
+ :param pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs', 'ServiceendpointJfrogPlatformV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
334
337
  :param pulumi.Input[str] description: The Service Endpoint description.
335
338
  :param pulumi.Input[str] project_id: The ID of the project.
336
339
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
@@ -351,49 +354,47 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
351
354
 
352
355
  ## Example Usage
353
356
 
354
- <!--Start PulumiCodeChooser -->
355
357
  ```python
356
358
  import pulumi
357
359
  import pulumi_azuredevops as azuredevops
358
360
 
359
- example_project = azuredevops.Project("exampleProject",
361
+ example = azuredevops.Project("example",
362
+ name="Example Project",
360
363
  visibility="private",
361
364
  version_control="Git",
362
365
  work_item_template="Agile",
363
- description="Managed by Terraform")
364
- example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("exampleServiceendpointJfrogPlatformV2",
365
- project_id=example_project.id,
366
+ description="Managed by Pulumi")
367
+ example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("example",
368
+ project_id=example.id,
366
369
  service_endpoint_name="Example Artifactory",
367
- description="Managed by Terraform",
370
+ description="Managed by Pulumi",
368
371
  url="https://artifactory.my.com",
369
- authentication_token=azuredevops.ServiceendpointJfrogPlatformV2AuthenticationTokenArgs(
370
- token="0000000000000000000000000000000000000000",
371
- ))
372
+ authentication_token={
373
+ "token": "0000000000000000000000000000000000000000",
374
+ })
372
375
  ```
373
- <!--End PulumiCodeChooser -->
374
376
  Alternatively a username and password may be used.
375
377
 
376
- <!--Start PulumiCodeChooser -->
377
378
  ```python
378
379
  import pulumi
379
380
  import pulumi_azuredevops as azuredevops
380
381
 
381
- example_project = azuredevops.Project("exampleProject",
382
+ example = azuredevops.Project("example",
383
+ name="Example Project",
382
384
  visibility="private",
383
385
  version_control="Git",
384
386
  work_item_template="Agile",
385
- description="Managed by Terraform")
386
- example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("exampleServiceendpointJfrogPlatformV2",
387
- project_id=example_project.id,
387
+ description="Managed by Pulumi")
388
+ example_serviceendpoint_jfrog_platform_v2 = azuredevops.ServiceendpointJfrogPlatformV2("example",
389
+ project_id=example.id,
388
390
  service_endpoint_name="Example Artifactory",
389
- description="Managed by Terraform",
391
+ description="Managed by Pulumi",
390
392
  url="https://artifactory.my.com",
391
- authentication_basic=azuredevops.ServiceendpointJfrogPlatformV2AuthenticationBasicArgs(
392
- username="username",
393
- password="password",
394
- ))
393
+ authentication_basic={
394
+ "username": "username",
395
+ "password": "password",
396
+ })
395
397
  ```
396
- <!--End PulumiCodeChooser -->
397
398
 
398
399
  ## Relevant Links
399
400
 
@@ -423,8 +424,8 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
423
424
  def _internal_init(__self__,
424
425
  resource_name: str,
425
426
  opts: Optional[pulumi.ResourceOptions] = None,
426
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs']]] = None,
427
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs']]] = None,
427
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs', 'ServiceendpointJfrogPlatformV2AuthenticationBasicArgsDict']]] = None,
428
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs', 'ServiceendpointJfrogPlatformV2AuthenticationTokenArgsDict']]] = None,
428
429
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
429
430
  description: Optional[pulumi.Input[str]] = None,
430
431
  project_id: Optional[pulumi.Input[str]] = None,
@@ -462,8 +463,8 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
462
463
  def get(resource_name: str,
463
464
  id: pulumi.Input[str],
464
465
  opts: Optional[pulumi.ResourceOptions] = None,
465
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs']]] = None,
466
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs']]] = None,
466
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs', 'ServiceendpointJfrogPlatformV2AuthenticationBasicArgsDict']]] = None,
467
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs', 'ServiceendpointJfrogPlatformV2AuthenticationTokenArgsDict']]] = None,
467
468
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
468
469
  description: Optional[pulumi.Input[str]] = None,
469
470
  project_id: Optional[pulumi.Input[str]] = None,
@@ -476,8 +477,8 @@ class ServiceendpointJfrogPlatformV2(pulumi.CustomResource):
476
477
  :param str resource_name: The unique name of the resulting resource.
477
478
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
478
479
  :param pulumi.ResourceOptions opts: Options for the resource.
479
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
480
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
480
+ :param pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationBasicArgs', 'ServiceendpointJfrogPlatformV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
481
+ :param pulumi.Input[Union['ServiceendpointJfrogPlatformV2AuthenticationTokenArgs', 'ServiceendpointJfrogPlatformV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
481
482
  :param pulumi.Input[str] description: The Service Endpoint description.
482
483
  :param pulumi.Input[str] project_id: The ID of the project.
483
484
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
  from ._inputs import *
@@ -255,8 +260,8 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
255
260
  def __init__(__self__,
256
261
  resource_name: str,
257
262
  opts: Optional[pulumi.ResourceOptions] = None,
258
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationBasicArgs']]] = None,
259
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationTokenArgs']]] = None,
263
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationBasicArgs', 'ServiceendpointJfrogXrayV2AuthenticationBasicArgsDict']]] = None,
264
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationTokenArgs', 'ServiceendpointJfrogXrayV2AuthenticationTokenArgsDict']]] = None,
260
265
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
261
266
  description: Optional[pulumi.Input[str]] = None,
262
267
  project_id: Optional[pulumi.Input[str]] = None,
@@ -270,49 +275,47 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
270
275
 
271
276
  ## Example Usage
272
277
 
273
- <!--Start PulumiCodeChooser -->
274
278
  ```python
275
279
  import pulumi
276
280
  import pulumi_azuredevops as azuredevops
277
281
 
278
- example_project = azuredevops.Project("exampleProject",
282
+ example = azuredevops.Project("example",
283
+ name="Example Project",
279
284
  visibility="private",
280
285
  version_control="Git",
281
286
  work_item_template="Agile",
282
- description="Managed by Terraform")
283
- example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2",
284
- project_id=example_project.id,
287
+ description="Managed by Pulumi")
288
+ example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
289
+ project_id=example.id,
285
290
  service_endpoint_name="Example Artifactory",
286
- description="Managed by Terraform",
291
+ description="Managed by Pulumi",
287
292
  url="https://artifactory.my.com",
288
- authentication_token=azuredevops.ServiceendpointJfrogXrayV2AuthenticationTokenArgs(
289
- token="0000000000000000000000000000000000000000",
290
- ))
293
+ authentication_token={
294
+ "token": "0000000000000000000000000000000000000000",
295
+ })
291
296
  ```
292
- <!--End PulumiCodeChooser -->
293
297
  Alternatively a username and password may be used.
294
298
 
295
- <!--Start PulumiCodeChooser -->
296
299
  ```python
297
300
  import pulumi
298
301
  import pulumi_azuredevops as azuredevops
299
302
 
300
- example_project = azuredevops.Project("exampleProject",
303
+ example = azuredevops.Project("example",
304
+ name="Example Project",
301
305
  visibility="private",
302
306
  version_control="Git",
303
307
  work_item_template="Agile",
304
- description="Managed by Terraform")
305
- example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2",
306
- project_id=example_project.id,
308
+ description="Managed by Pulumi")
309
+ example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
310
+ project_id=example.id,
307
311
  service_endpoint_name="Example Artifactory",
308
- description="Managed by Terraform",
312
+ description="Managed by Pulumi",
309
313
  url="https://artifactory.my.com",
310
- authentication_basic=azuredevops.ServiceendpointJfrogXrayV2AuthenticationBasicArgs(
311
- username="username",
312
- password="password",
313
- ))
314
+ authentication_basic={
315
+ "username": "username",
316
+ "password": "password",
317
+ })
314
318
  ```
315
- <!--End PulumiCodeChooser -->
316
319
 
317
320
  ## Relevant Links
318
321
 
@@ -329,8 +332,8 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
329
332
 
330
333
  :param str resource_name: The name of the resource.
331
334
  :param pulumi.ResourceOptions opts: Options for the resource.
332
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
333
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
335
+ :param pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationBasicArgs', 'ServiceendpointJfrogXrayV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
336
+ :param pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationTokenArgs', 'ServiceendpointJfrogXrayV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
334
337
  :param pulumi.Input[str] description: The Service Endpoint description.
335
338
  :param pulumi.Input[str] project_id: The ID of the project.
336
339
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.
@@ -351,49 +354,47 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
351
354
 
352
355
  ## Example Usage
353
356
 
354
- <!--Start PulumiCodeChooser -->
355
357
  ```python
356
358
  import pulumi
357
359
  import pulumi_azuredevops as azuredevops
358
360
 
359
- example_project = azuredevops.Project("exampleProject",
361
+ example = azuredevops.Project("example",
362
+ name="Example Project",
360
363
  visibility="private",
361
364
  version_control="Git",
362
365
  work_item_template="Agile",
363
- description="Managed by Terraform")
364
- example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2",
365
- project_id=example_project.id,
366
+ description="Managed by Pulumi")
367
+ example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
368
+ project_id=example.id,
366
369
  service_endpoint_name="Example Artifactory",
367
- description="Managed by Terraform",
370
+ description="Managed by Pulumi",
368
371
  url="https://artifactory.my.com",
369
- authentication_token=azuredevops.ServiceendpointJfrogXrayV2AuthenticationTokenArgs(
370
- token="0000000000000000000000000000000000000000",
371
- ))
372
+ authentication_token={
373
+ "token": "0000000000000000000000000000000000000000",
374
+ })
372
375
  ```
373
- <!--End PulumiCodeChooser -->
374
376
  Alternatively a username and password may be used.
375
377
 
376
- <!--Start PulumiCodeChooser -->
377
378
  ```python
378
379
  import pulumi
379
380
  import pulumi_azuredevops as azuredevops
380
381
 
381
- example_project = azuredevops.Project("exampleProject",
382
+ example = azuredevops.Project("example",
383
+ name="Example Project",
382
384
  visibility="private",
383
385
  version_control="Git",
384
386
  work_item_template="Agile",
385
- description="Managed by Terraform")
386
- example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2",
387
- project_id=example_project.id,
387
+ description="Managed by Pulumi")
388
+ example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
389
+ project_id=example.id,
388
390
  service_endpoint_name="Example Artifactory",
389
- description="Managed by Terraform",
391
+ description="Managed by Pulumi",
390
392
  url="https://artifactory.my.com",
391
- authentication_basic=azuredevops.ServiceendpointJfrogXrayV2AuthenticationBasicArgs(
392
- username="username",
393
- password="password",
394
- ))
393
+ authentication_basic={
394
+ "username": "username",
395
+ "password": "password",
396
+ })
395
397
  ```
396
- <!--End PulumiCodeChooser -->
397
398
 
398
399
  ## Relevant Links
399
400
 
@@ -423,8 +424,8 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
423
424
  def _internal_init(__self__,
424
425
  resource_name: str,
425
426
  opts: Optional[pulumi.ResourceOptions] = None,
426
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationBasicArgs']]] = None,
427
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationTokenArgs']]] = None,
427
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationBasicArgs', 'ServiceendpointJfrogXrayV2AuthenticationBasicArgsDict']]] = None,
428
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationTokenArgs', 'ServiceendpointJfrogXrayV2AuthenticationTokenArgsDict']]] = None,
428
429
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
429
430
  description: Optional[pulumi.Input[str]] = None,
430
431
  project_id: Optional[pulumi.Input[str]] = None,
@@ -462,8 +463,8 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
462
463
  def get(resource_name: str,
463
464
  id: pulumi.Input[str],
464
465
  opts: Optional[pulumi.ResourceOptions] = None,
465
- authentication_basic: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationBasicArgs']]] = None,
466
- authentication_token: Optional[pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationTokenArgs']]] = None,
466
+ authentication_basic: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationBasicArgs', 'ServiceendpointJfrogXrayV2AuthenticationBasicArgsDict']]] = None,
467
+ authentication_token: Optional[pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationTokenArgs', 'ServiceendpointJfrogXrayV2AuthenticationTokenArgsDict']]] = None,
467
468
  authorization: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
468
469
  description: Optional[pulumi.Input[str]] = None,
469
470
  project_id: Optional[pulumi.Input[str]] = None,
@@ -476,8 +477,8 @@ class ServiceendpointJfrogXrayV2(pulumi.CustomResource):
476
477
  :param str resource_name: The unique name of the resulting resource.
477
478
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
478
479
  :param pulumi.ResourceOptions opts: Options for the resource.
479
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationBasicArgs']] authentication_basic: A `authentication_basic` block as documented below.
480
- :param pulumi.Input[pulumi.InputType['ServiceendpointJfrogXrayV2AuthenticationTokenArgs']] authentication_token: A `authentication_token` block as documented below.
480
+ :param pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationBasicArgs', 'ServiceendpointJfrogXrayV2AuthenticationBasicArgsDict']] authentication_basic: A `authentication_basic` block as documented below.
481
+ :param pulumi.Input[Union['ServiceendpointJfrogXrayV2AuthenticationTokenArgs', 'ServiceendpointJfrogXrayV2AuthenticationTokenArgsDict']] authentication_token: A `authentication_token` block as documented below.
481
482
  :param pulumi.Input[str] description: The Service Endpoint description.
482
483
  :param pulumi.Input[str] project_id: The ID of the project.
483
484
  :param pulumi.Input[str] service_endpoint_name: The Service Endpoint name.