pulumi-azuredevops 3.5.0a1735017670__py3-none-any.whl → 3.6.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. pulumi_azuredevops/__init__.py +109 -0
  2. pulumi_azuredevops/_inputs.py +455 -175
  3. pulumi_azuredevops/area_permissions.py +49 -49
  4. pulumi_azuredevops/branch_policy_auto_reviewers.py +7 -7
  5. pulumi_azuredevops/branch_policy_build_validation.py +7 -7
  6. pulumi_azuredevops/branch_policy_comment_resolution.py +7 -7
  7. pulumi_azuredevops/branch_policy_merge_types.py +7 -7
  8. pulumi_azuredevops/branch_policy_status_check.py +7 -7
  9. pulumi_azuredevops/branch_policy_work_item_linking.py +7 -7
  10. pulumi_azuredevops/build_definition.py +196 -23
  11. pulumi_azuredevops/check_branch_control.py +7 -7
  12. pulumi_azuredevops/check_business_hours.py +7 -7
  13. pulumi_azuredevops/check_exclusive_lock.py +7 -7
  14. pulumi_azuredevops/check_rest_api.py +986 -0
  15. pulumi_azuredevops/feed.py +8 -8
  16. pulumi_azuredevops/feed_permission.py +9 -9
  17. pulumi_azuredevops/feed_retention_policy.py +422 -0
  18. pulumi_azuredevops/get_agent_queue.py +2 -2
  19. pulumi_azuredevops/get_area.py +1 -1
  20. pulumi_azuredevops/get_client_config.py +3 -0
  21. pulumi_azuredevops/get_feed.py +4 -4
  22. pulumi_azuredevops/get_git_repository.py +8 -8
  23. pulumi_azuredevops/get_group.py +4 -4
  24. pulumi_azuredevops/get_groups.py +3 -3
  25. pulumi_azuredevops/get_identity_group.py +3 -0
  26. pulumi_azuredevops/get_identity_groups.py +1 -1
  27. pulumi_azuredevops/get_identity_users.py +5 -5
  28. pulumi_azuredevops/get_pool.py +14 -2
  29. pulumi_azuredevops/get_pools.py +3 -3
  30. pulumi_azuredevops/get_project.py +32 -0
  31. pulumi_azuredevops/get_projects.py +4 -4
  32. pulumi_azuredevops/get_repositories.py +7 -3
  33. pulumi_azuredevops/get_securityrole_definitions.py +4 -4
  34. pulumi_azuredevops/get_service_endpoint_azure_rm.py +31 -17
  35. pulumi_azuredevops/get_service_endpoint_github.py +6 -6
  36. pulumi_azuredevops/get_service_principal.py +153 -0
  37. pulumi_azuredevops/get_serviceendpoint_azurecr.py +1 -1
  38. pulumi_azuredevops/get_serviceendpoint_bitbucket.py +6 -6
  39. pulumi_azuredevops/get_serviceendpoint_npm.py +3 -3
  40. pulumi_azuredevops/get_serviceendpoint_sonarcloud.py +2 -2
  41. pulumi_azuredevops/get_team.py +4 -3
  42. pulumi_azuredevops/get_teams.py +2 -3
  43. pulumi_azuredevops/get_users.py +5 -9
  44. pulumi_azuredevops/git.py +7 -7
  45. pulumi_azuredevops/git_permissions.py +21 -28
  46. pulumi_azuredevops/git_repository_file.py +7 -14
  47. pulumi_azuredevops/group.py +21 -7
  48. pulumi_azuredevops/group_entitlement.py +16 -20
  49. pulumi_azuredevops/group_membership.py +35 -50
  50. pulumi_azuredevops/iterative_permissions.py +34 -34
  51. pulumi_azuredevops/library_permissions.py +75 -75
  52. pulumi_azuredevops/outputs.py +353 -143
  53. pulumi_azuredevops/pipeline_authorization.py +7 -7
  54. pulumi_azuredevops/pool.py +4 -4
  55. pulumi_azuredevops/project.py +114 -63
  56. pulumi_azuredevops/project_features.py +87 -45
  57. pulumi_azuredevops/project_permissions.py +7 -7
  58. pulumi_azuredevops/project_pipeline_settings.py +28 -35
  59. pulumi_azuredevops/project_tags.py +263 -0
  60. pulumi_azuredevops/pulumi-plugin.json +1 -1
  61. pulumi_azuredevops/queue.py +7 -14
  62. pulumi_azuredevops/repository_policy_author_email_pattern.py +21 -14
  63. pulumi_azuredevops/repository_policy_max_file_size.py +7 -7
  64. pulumi_azuredevops/resource_authorization.py +35 -35
  65. pulumi_azuredevops/securityrole_assignment.py +7 -7
  66. pulumi_azuredevops/service_endpoint_artifactory.py +24 -18
  67. pulumi_azuredevops/service_endpoint_aws.py +86 -41
  68. pulumi_azuredevops/service_endpoint_azure_ecr.py +13 -15
  69. pulumi_azuredevops/service_endpoint_azure_rm.py +99 -52
  70. pulumi_azuredevops/service_endpoint_bit_bucket.py +4 -4
  71. pulumi_azuredevops/service_endpoint_docker_registry.py +2 -2
  72. pulumi_azuredevops/service_endpoint_generic.py +2 -6
  73. pulumi_azuredevops/service_endpoint_generic_git.py +4 -8
  74. pulumi_azuredevops/service_endpoint_git_hub.py +15 -2
  75. pulumi_azuredevops/service_endpoint_git_hub_enterprise.py +15 -2
  76. pulumi_azuredevops/service_endpoint_git_lab.py +479 -0
  77. pulumi_azuredevops/service_endpoint_kubernetes.py +23 -23
  78. pulumi_azuredevops/service_endpoint_npm.py +4 -4
  79. pulumi_azuredevops/service_endpoint_pipeline.py +4 -4
  80. pulumi_azuredevops/service_endpoint_service_fabric.py +48 -9
  81. pulumi_azuredevops/service_endpoint_sonar_cloud.py +11 -11
  82. pulumi_azuredevops/service_endpoint_sonar_qube.py +11 -11
  83. pulumi_azuredevops/service_endpoint_ssh.py +2 -6
  84. pulumi_azuredevops/service_principal_entitlement.py +386 -0
  85. pulumi_azuredevops/serviceendpoint_argocd.py +2 -2
  86. pulumi_azuredevops/serviceendpoint_azure_service_bus.py +429 -0
  87. pulumi_azuredevops/serviceendpoint_checkmarx_one.py +627 -0
  88. pulumi_azuredevops/serviceendpoint_checkmarx_sast.py +575 -0
  89. pulumi_azuredevops/serviceendpoint_checkmarx_sca.py +674 -0
  90. pulumi_azuredevops/serviceendpoint_dynamics_lifecycle_services.py +579 -0
  91. pulumi_azuredevops/serviceendpoint_externaltfs.py +63 -11
  92. pulumi_azuredevops/serviceendpoint_gcp_terraform.py +2 -2
  93. pulumi_azuredevops/serviceendpoint_incomingwebhook.py +2 -2
  94. pulumi_azuredevops/serviceendpoint_jenkins.py +2 -2
  95. pulumi_azuredevops/serviceendpoint_jfrog_artifactory_v2.py +18 -18
  96. pulumi_azuredevops/serviceendpoint_jfrog_distribution_v2.py +18 -18
  97. pulumi_azuredevops/serviceendpoint_jfrog_platform_v2.py +18 -18
  98. pulumi_azuredevops/serviceendpoint_jfrog_xray_v2.py +18 -18
  99. pulumi_azuredevops/serviceendpoint_maven.py +2 -2
  100. pulumi_azuredevops/serviceendpoint_nexus.py +2 -2
  101. pulumi_azuredevops/serviceendpoint_nuget.py +2 -2
  102. pulumi_azuredevops/serviceendpoint_octopusdeploy.py +2 -2
  103. pulumi_azuredevops/serviceendpoint_permissions.py +40 -40
  104. pulumi_azuredevops/serviceendpoint_snyk.py +429 -0
  105. pulumi_azuredevops/serviceendpoint_visualstudiomarketplace.py +541 -0
  106. pulumi_azuredevops/servicehook_permissions.py +51 -51
  107. pulumi_azuredevops/servicehook_storage_queue_pipelines.py +4 -4
  108. pulumi_azuredevops/tagging_permissions.py +49 -49
  109. pulumi_azuredevops/team.py +76 -56
  110. pulumi_azuredevops/team_administrators.py +83 -56
  111. pulumi_azuredevops/team_members.py +56 -49
  112. pulumi_azuredevops/user.py +22 -2
  113. pulumi_azuredevops/variable_group.py +4 -2
  114. pulumi_azuredevops/variable_group_permissions.py +75 -75
  115. pulumi_azuredevops/wiki.py +15 -2
  116. pulumi_azuredevops/wiki_page.py +2 -2
  117. pulumi_azuredevops/work_item_query_permissions.py +7 -7
  118. {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/METADATA +2 -2
  119. pulumi_azuredevops-3.6.0.dist-info/RECORD +148 -0
  120. {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/WHEEL +1 -1
  121. pulumi_azuredevops-3.5.0a1735017670.dist-info/RECORD +0 -135
  122. {pulumi_azuredevops-3.5.0a1735017670.dist-info → pulumi_azuredevops-3.6.0.dist-info}/top_level.txt +0 -0
@@ -24,6 +24,7 @@ class BuildDefinitionArgs:
24
24
  project_id: pulumi.Input[str],
25
25
  repository: pulumi.Input['BuildDefinitionRepositoryArgs'],
26
26
  agent_pool_name: Optional[pulumi.Input[str]] = None,
27
+ build_completion_triggers: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]] = None,
27
28
  ci_trigger: Optional[pulumi.Input['BuildDefinitionCiTriggerArgs']] = None,
28
29
  features: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionFeatureArgs']]]] = None,
29
30
  name: Optional[pulumi.Input[str]] = None,
@@ -38,12 +39,13 @@ class BuildDefinitionArgs:
38
39
  :param pulumi.Input[str] project_id: The project ID or project name.
39
40
  :param pulumi.Input['BuildDefinitionRepositoryArgs'] repository: A `repository` block as documented below.
40
41
  :param pulumi.Input[str] agent_pool_name: The agent pool that should execute the build. Defaults to `Azure Pipelines`.
41
- :param pulumi.Input['BuildDefinitionCiTriggerArgs'] ci_trigger: Continuous Integration trigger.
42
+ :param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]] build_completion_triggers: A `build_completion_trigger` block as documented below.
43
+ :param pulumi.Input['BuildDefinitionCiTriggerArgs'] ci_trigger: A `ci_trigger` block as documented below.
42
44
  :param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionFeatureArgs']]] features: A `features` blocks as documented below.
43
45
  :param pulumi.Input[str] name: The name of the build definition.
44
46
  :param pulumi.Input[str] path: The folder path of the build definition.
45
- :param pulumi.Input['BuildDefinitionPullRequestTriggerArgs'] pull_request_trigger: Pull Request Integration trigger.
46
- :param pulumi.Input[str] queue_status: The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
47
+ :param pulumi.Input['BuildDefinitionPullRequestTriggerArgs'] pull_request_trigger: A `pull_request_trigger` block as documented below.
48
+ :param pulumi.Input[str] queue_status: The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
47
49
  :param pulumi.Input[Sequence[pulumi.Input[int]]] variable_groups: A list of variable group IDs (integers) to link to the build definition.
48
50
  :param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionVariableArgs']]] variables: A list of `variable` blocks, as documented below.
49
51
  """
@@ -51,6 +53,8 @@ class BuildDefinitionArgs:
51
53
  pulumi.set(__self__, "repository", repository)
52
54
  if agent_pool_name is not None:
53
55
  pulumi.set(__self__, "agent_pool_name", agent_pool_name)
56
+ if build_completion_triggers is not None:
57
+ pulumi.set(__self__, "build_completion_triggers", build_completion_triggers)
54
58
  if ci_trigger is not None:
55
59
  pulumi.set(__self__, "ci_trigger", ci_trigger)
56
60
  if features is not None:
@@ -106,11 +110,23 @@ class BuildDefinitionArgs:
106
110
  def agent_pool_name(self, value: Optional[pulumi.Input[str]]):
107
111
  pulumi.set(self, "agent_pool_name", value)
108
112
 
113
+ @property
114
+ @pulumi.getter(name="buildCompletionTriggers")
115
+ def build_completion_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]]:
116
+ """
117
+ A `build_completion_trigger` block as documented below.
118
+ """
119
+ return pulumi.get(self, "build_completion_triggers")
120
+
121
+ @build_completion_triggers.setter
122
+ def build_completion_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]]):
123
+ pulumi.set(self, "build_completion_triggers", value)
124
+
109
125
  @property
110
126
  @pulumi.getter(name="ciTrigger")
111
127
  def ci_trigger(self) -> Optional[pulumi.Input['BuildDefinitionCiTriggerArgs']]:
112
128
  """
113
- Continuous Integration trigger.
129
+ A `ci_trigger` block as documented below.
114
130
  """
115
131
  return pulumi.get(self, "ci_trigger")
116
132
 
@@ -158,7 +174,7 @@ class BuildDefinitionArgs:
158
174
  @pulumi.getter(name="pullRequestTrigger")
159
175
  def pull_request_trigger(self) -> Optional[pulumi.Input['BuildDefinitionPullRequestTriggerArgs']]:
160
176
  """
161
- Pull Request Integration trigger.
177
+ A `pull_request_trigger` block as documented below.
162
178
  """
163
179
  return pulumi.get(self, "pull_request_trigger")
164
180
 
@@ -170,7 +186,7 @@ class BuildDefinitionArgs:
170
186
  @pulumi.getter(name="queueStatus")
171
187
  def queue_status(self) -> Optional[pulumi.Input[str]]:
172
188
  """
173
- The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
189
+ The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
174
190
  """
175
191
  return pulumi.get(self, "queue_status")
176
192
 
@@ -216,6 +232,7 @@ class BuildDefinitionArgs:
216
232
  class _BuildDefinitionState:
217
233
  def __init__(__self__, *,
218
234
  agent_pool_name: Optional[pulumi.Input[str]] = None,
235
+ build_completion_triggers: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]] = None,
219
236
  ci_trigger: Optional[pulumi.Input['BuildDefinitionCiTriggerArgs']] = None,
220
237
  features: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionFeatureArgs']]]] = None,
221
238
  name: Optional[pulumi.Input[str]] = None,
@@ -231,13 +248,14 @@ class _BuildDefinitionState:
231
248
  """
232
249
  Input properties used for looking up and filtering BuildDefinition resources.
233
250
  :param pulumi.Input[str] agent_pool_name: The agent pool that should execute the build. Defaults to `Azure Pipelines`.
234
- :param pulumi.Input['BuildDefinitionCiTriggerArgs'] ci_trigger: Continuous Integration trigger.
251
+ :param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]] build_completion_triggers: A `build_completion_trigger` block as documented below.
252
+ :param pulumi.Input['BuildDefinitionCiTriggerArgs'] ci_trigger: A `ci_trigger` block as documented below.
235
253
  :param pulumi.Input[Sequence[pulumi.Input['BuildDefinitionFeatureArgs']]] features: A `features` blocks as documented below.
236
254
  :param pulumi.Input[str] name: The name of the build definition.
237
255
  :param pulumi.Input[str] path: The folder path of the build definition.
238
256
  :param pulumi.Input[str] project_id: The project ID or project name.
239
- :param pulumi.Input['BuildDefinitionPullRequestTriggerArgs'] pull_request_trigger: Pull Request Integration trigger.
240
- :param pulumi.Input[str] queue_status: The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
257
+ :param pulumi.Input['BuildDefinitionPullRequestTriggerArgs'] pull_request_trigger: A `pull_request_trigger` block as documented below.
258
+ :param pulumi.Input[str] queue_status: The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
241
259
  :param pulumi.Input['BuildDefinitionRepositoryArgs'] repository: A `repository` block as documented below.
242
260
  :param pulumi.Input[int] revision: The revision of the build definition
243
261
  :param pulumi.Input[Sequence[pulumi.Input[int]]] variable_groups: A list of variable group IDs (integers) to link to the build definition.
@@ -245,6 +263,8 @@ class _BuildDefinitionState:
245
263
  """
246
264
  if agent_pool_name is not None:
247
265
  pulumi.set(__self__, "agent_pool_name", agent_pool_name)
266
+ if build_completion_triggers is not None:
267
+ pulumi.set(__self__, "build_completion_triggers", build_completion_triggers)
248
268
  if ci_trigger is not None:
249
269
  pulumi.set(__self__, "ci_trigger", ci_trigger)
250
270
  if features is not None:
@@ -282,11 +302,23 @@ class _BuildDefinitionState:
282
302
  def agent_pool_name(self, value: Optional[pulumi.Input[str]]):
283
303
  pulumi.set(self, "agent_pool_name", value)
284
304
 
305
+ @property
306
+ @pulumi.getter(name="buildCompletionTriggers")
307
+ def build_completion_triggers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]]:
308
+ """
309
+ A `build_completion_trigger` block as documented below.
310
+ """
311
+ return pulumi.get(self, "build_completion_triggers")
312
+
313
+ @build_completion_triggers.setter
314
+ def build_completion_triggers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BuildDefinitionBuildCompletionTriggerArgs']]]]):
315
+ pulumi.set(self, "build_completion_triggers", value)
316
+
285
317
  @property
286
318
  @pulumi.getter(name="ciTrigger")
287
319
  def ci_trigger(self) -> Optional[pulumi.Input['BuildDefinitionCiTriggerArgs']]:
288
320
  """
289
- Continuous Integration trigger.
321
+ A `ci_trigger` block as documented below.
290
322
  """
291
323
  return pulumi.get(self, "ci_trigger")
292
324
 
@@ -346,7 +378,7 @@ class _BuildDefinitionState:
346
378
  @pulumi.getter(name="pullRequestTrigger")
347
379
  def pull_request_trigger(self) -> Optional[pulumi.Input['BuildDefinitionPullRequestTriggerArgs']]:
348
380
  """
349
- Pull Request Integration trigger.
381
+ A `pull_request_trigger` block as documented below.
350
382
  """
351
383
  return pulumi.get(self, "pull_request_trigger")
352
384
 
@@ -358,7 +390,7 @@ class _BuildDefinitionState:
358
390
  @pulumi.getter(name="queueStatus")
359
391
  def queue_status(self) -> Optional[pulumi.Input[str]]:
360
392
  """
361
- The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
393
+ The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
362
394
  """
363
395
  return pulumi.get(self, "queue_status")
364
396
 
@@ -430,6 +462,7 @@ class BuildDefinition(pulumi.CustomResource):
430
462
  resource_name: str,
431
463
  opts: Optional[pulumi.ResourceOptions] = None,
432
464
  agent_pool_name: Optional[pulumi.Input[str]] = None,
465
+ build_completion_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionBuildCompletionTriggerArgs', 'BuildDefinitionBuildCompletionTriggerArgsDict']]]]] = None,
433
466
  ci_trigger: Optional[pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']]] = None,
434
467
  features: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionFeatureArgs', 'BuildDefinitionFeatureArgsDict']]]]] = None,
435
468
  name: Optional[pulumi.Input[str]] = None,
@@ -447,7 +480,7 @@ class BuildDefinition(pulumi.CustomResource):
447
480
 
448
481
  ## Example Usage
449
482
 
450
- ### Tfs
483
+ ### Azure DevOps
451
484
  ```python
452
485
  import pulumi
453
486
  import pulumi_azuredevops as azuredevops
@@ -568,6 +601,69 @@ class BuildDefinition(pulumi.CustomResource):
568
601
  }])
569
602
  ```
570
603
 
604
+ ### Build Completion Trigger
605
+ ```python
606
+ import pulumi
607
+ import pulumi_azuredevops as azuredevops
608
+
609
+ example = azuredevops.BuildDefinition("example",
610
+ project_id=example_azuredevops_project["id"],
611
+ name="Example Build Definition",
612
+ path="\\\\ExampleFolder",
613
+ ci_trigger={
614
+ "use_yaml": False,
615
+ },
616
+ repository={
617
+ "repo_type": "GitHubEnterprise",
618
+ "repo_id": "<GitHub Org>/<Repo Name>",
619
+ "github_enterprise_url": "https://github.company.com",
620
+ "branch_name": "main",
621
+ "yml_path": "azure-pipelines.yml",
622
+ "service_connection_id": example_azuredevops_serviceendpoint_github_enterprise["id"],
623
+ },
624
+ build_completion_triggers=[{
625
+ "build_definition_id": 10,
626
+ "branch_filters": [{
627
+ "includes": ["main"],
628
+ "excludes": ["test"],
629
+ }],
630
+ }])
631
+ ```
632
+
633
+ ### Pull Request Trigger
634
+ ```python
635
+ import pulumi
636
+ import pulumi_azuredevops as azuredevops
637
+
638
+ example = azuredevops.get_service_endpoint_github(project_id=example_azuredevops_project["id"],
639
+ service_endpoint_id="00000000-0000-0000-0000-000000000000")
640
+ example_build_definition = azuredevops.BuildDefinition("example",
641
+ project_id=example_azuredevops_project2["id"],
642
+ name="Example Build Definition",
643
+ path="\\\\ExampleFolder",
644
+ ci_trigger={
645
+ "use_yaml": False,
646
+ },
647
+ repository={
648
+ "repo_type": "GitHub",
649
+ "repo_id": "<GitHub Org>/<Repo Name>",
650
+ "branch_name": "main",
651
+ "yml_path": "azure-pipelines.yml",
652
+ "service_connection_id": example.id,
653
+ },
654
+ pull_request_trigger={
655
+ "override": {
656
+ "branch_filters": [{
657
+ "includes": ["main"],
658
+ }],
659
+ },
660
+ "forks": {
661
+ "enabled": False,
662
+ "share_secrets": False,
663
+ },
664
+ })
665
+ ```
666
+
571
667
  ## Remarks
572
668
 
573
669
  The path attribute can not end in `\\` unless the path is the root value of `\\`.
@@ -600,13 +696,14 @@ class BuildDefinition(pulumi.CustomResource):
600
696
  :param str resource_name: The name of the resource.
601
697
  :param pulumi.ResourceOptions opts: Options for the resource.
602
698
  :param pulumi.Input[str] agent_pool_name: The agent pool that should execute the build. Defaults to `Azure Pipelines`.
603
- :param pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']] ci_trigger: Continuous Integration trigger.
699
+ :param pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionBuildCompletionTriggerArgs', 'BuildDefinitionBuildCompletionTriggerArgsDict']]]] build_completion_triggers: A `build_completion_trigger` block as documented below.
700
+ :param pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']] ci_trigger: A `ci_trigger` block as documented below.
604
701
  :param pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionFeatureArgs', 'BuildDefinitionFeatureArgsDict']]]] features: A `features` blocks as documented below.
605
702
  :param pulumi.Input[str] name: The name of the build definition.
606
703
  :param pulumi.Input[str] path: The folder path of the build definition.
607
704
  :param pulumi.Input[str] project_id: The project ID or project name.
608
- :param pulumi.Input[Union['BuildDefinitionPullRequestTriggerArgs', 'BuildDefinitionPullRequestTriggerArgsDict']] pull_request_trigger: Pull Request Integration trigger.
609
- :param pulumi.Input[str] queue_status: The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
705
+ :param pulumi.Input[Union['BuildDefinitionPullRequestTriggerArgs', 'BuildDefinitionPullRequestTriggerArgsDict']] pull_request_trigger: A `pull_request_trigger` block as documented below.
706
+ :param pulumi.Input[str] queue_status: The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
610
707
  :param pulumi.Input[Union['BuildDefinitionRepositoryArgs', 'BuildDefinitionRepositoryArgsDict']] repository: A `repository` block as documented below.
611
708
  :param pulumi.Input[Sequence[pulumi.Input[int]]] variable_groups: A list of variable group IDs (integers) to link to the build definition.
612
709
  :param pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionVariableArgs', 'BuildDefinitionVariableArgsDict']]]] variables: A list of `variable` blocks, as documented below.
@@ -622,7 +719,7 @@ class BuildDefinition(pulumi.CustomResource):
622
719
 
623
720
  ## Example Usage
624
721
 
625
- ### Tfs
722
+ ### Azure DevOps
626
723
  ```python
627
724
  import pulumi
628
725
  import pulumi_azuredevops as azuredevops
@@ -743,6 +840,69 @@ class BuildDefinition(pulumi.CustomResource):
743
840
  }])
744
841
  ```
745
842
 
843
+ ### Build Completion Trigger
844
+ ```python
845
+ import pulumi
846
+ import pulumi_azuredevops as azuredevops
847
+
848
+ example = azuredevops.BuildDefinition("example",
849
+ project_id=example_azuredevops_project["id"],
850
+ name="Example Build Definition",
851
+ path="\\\\ExampleFolder",
852
+ ci_trigger={
853
+ "use_yaml": False,
854
+ },
855
+ repository={
856
+ "repo_type": "GitHubEnterprise",
857
+ "repo_id": "<GitHub Org>/<Repo Name>",
858
+ "github_enterprise_url": "https://github.company.com",
859
+ "branch_name": "main",
860
+ "yml_path": "azure-pipelines.yml",
861
+ "service_connection_id": example_azuredevops_serviceendpoint_github_enterprise["id"],
862
+ },
863
+ build_completion_triggers=[{
864
+ "build_definition_id": 10,
865
+ "branch_filters": [{
866
+ "includes": ["main"],
867
+ "excludes": ["test"],
868
+ }],
869
+ }])
870
+ ```
871
+
872
+ ### Pull Request Trigger
873
+ ```python
874
+ import pulumi
875
+ import pulumi_azuredevops as azuredevops
876
+
877
+ example = azuredevops.get_service_endpoint_github(project_id=example_azuredevops_project["id"],
878
+ service_endpoint_id="00000000-0000-0000-0000-000000000000")
879
+ example_build_definition = azuredevops.BuildDefinition("example",
880
+ project_id=example_azuredevops_project2["id"],
881
+ name="Example Build Definition",
882
+ path="\\\\ExampleFolder",
883
+ ci_trigger={
884
+ "use_yaml": False,
885
+ },
886
+ repository={
887
+ "repo_type": "GitHub",
888
+ "repo_id": "<GitHub Org>/<Repo Name>",
889
+ "branch_name": "main",
890
+ "yml_path": "azure-pipelines.yml",
891
+ "service_connection_id": example.id,
892
+ },
893
+ pull_request_trigger={
894
+ "override": {
895
+ "branch_filters": [{
896
+ "includes": ["main"],
897
+ }],
898
+ },
899
+ "forks": {
900
+ "enabled": False,
901
+ "share_secrets": False,
902
+ },
903
+ })
904
+ ```
905
+
746
906
  ## Remarks
747
907
 
748
908
  The path attribute can not end in `\\` unless the path is the root value of `\\`.
@@ -788,6 +948,7 @@ class BuildDefinition(pulumi.CustomResource):
788
948
  resource_name: str,
789
949
  opts: Optional[pulumi.ResourceOptions] = None,
790
950
  agent_pool_name: Optional[pulumi.Input[str]] = None,
951
+ build_completion_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionBuildCompletionTriggerArgs', 'BuildDefinitionBuildCompletionTriggerArgsDict']]]]] = None,
791
952
  ci_trigger: Optional[pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']]] = None,
792
953
  features: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionFeatureArgs', 'BuildDefinitionFeatureArgsDict']]]]] = None,
793
954
  name: Optional[pulumi.Input[str]] = None,
@@ -809,6 +970,7 @@ class BuildDefinition(pulumi.CustomResource):
809
970
  __props__ = BuildDefinitionArgs.__new__(BuildDefinitionArgs)
810
971
 
811
972
  __props__.__dict__["agent_pool_name"] = agent_pool_name
973
+ __props__.__dict__["build_completion_triggers"] = build_completion_triggers
812
974
  __props__.__dict__["ci_trigger"] = ci_trigger
813
975
  __props__.__dict__["features"] = features
814
976
  __props__.__dict__["name"] = name
@@ -836,6 +998,7 @@ class BuildDefinition(pulumi.CustomResource):
836
998
  id: pulumi.Input[str],
837
999
  opts: Optional[pulumi.ResourceOptions] = None,
838
1000
  agent_pool_name: Optional[pulumi.Input[str]] = None,
1001
+ build_completion_triggers: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionBuildCompletionTriggerArgs', 'BuildDefinitionBuildCompletionTriggerArgsDict']]]]] = None,
839
1002
  ci_trigger: Optional[pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']]] = None,
840
1003
  features: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionFeatureArgs', 'BuildDefinitionFeatureArgsDict']]]]] = None,
841
1004
  name: Optional[pulumi.Input[str]] = None,
@@ -856,13 +1019,14 @@ class BuildDefinition(pulumi.CustomResource):
856
1019
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
857
1020
  :param pulumi.ResourceOptions opts: Options for the resource.
858
1021
  :param pulumi.Input[str] agent_pool_name: The agent pool that should execute the build. Defaults to `Azure Pipelines`.
859
- :param pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']] ci_trigger: Continuous Integration trigger.
1022
+ :param pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionBuildCompletionTriggerArgs', 'BuildDefinitionBuildCompletionTriggerArgsDict']]]] build_completion_triggers: A `build_completion_trigger` block as documented below.
1023
+ :param pulumi.Input[Union['BuildDefinitionCiTriggerArgs', 'BuildDefinitionCiTriggerArgsDict']] ci_trigger: A `ci_trigger` block as documented below.
860
1024
  :param pulumi.Input[Sequence[pulumi.Input[Union['BuildDefinitionFeatureArgs', 'BuildDefinitionFeatureArgsDict']]]] features: A `features` blocks as documented below.
861
1025
  :param pulumi.Input[str] name: The name of the build definition.
862
1026
  :param pulumi.Input[str] path: The folder path of the build definition.
863
1027
  :param pulumi.Input[str] project_id: The project ID or project name.
864
- :param pulumi.Input[Union['BuildDefinitionPullRequestTriggerArgs', 'BuildDefinitionPullRequestTriggerArgsDict']] pull_request_trigger: Pull Request Integration trigger.
865
- :param pulumi.Input[str] queue_status: The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
1028
+ :param pulumi.Input[Union['BuildDefinitionPullRequestTriggerArgs', 'BuildDefinitionPullRequestTriggerArgsDict']] pull_request_trigger: A `pull_request_trigger` block as documented below.
1029
+ :param pulumi.Input[str] queue_status: The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
866
1030
  :param pulumi.Input[Union['BuildDefinitionRepositoryArgs', 'BuildDefinitionRepositoryArgsDict']] repository: A `repository` block as documented below.
867
1031
  :param pulumi.Input[int] revision: The revision of the build definition
868
1032
  :param pulumi.Input[Sequence[pulumi.Input[int]]] variable_groups: A list of variable group IDs (integers) to link to the build definition.
@@ -873,6 +1037,7 @@ class BuildDefinition(pulumi.CustomResource):
873
1037
  __props__ = _BuildDefinitionState.__new__(_BuildDefinitionState)
874
1038
 
875
1039
  __props__.__dict__["agent_pool_name"] = agent_pool_name
1040
+ __props__.__dict__["build_completion_triggers"] = build_completion_triggers
876
1041
  __props__.__dict__["ci_trigger"] = ci_trigger
877
1042
  __props__.__dict__["features"] = features
878
1043
  __props__.__dict__["name"] = name
@@ -895,11 +1060,19 @@ class BuildDefinition(pulumi.CustomResource):
895
1060
  """
896
1061
  return pulumi.get(self, "agent_pool_name")
897
1062
 
1063
+ @property
1064
+ @pulumi.getter(name="buildCompletionTriggers")
1065
+ def build_completion_triggers(self) -> pulumi.Output[Optional[Sequence['outputs.BuildDefinitionBuildCompletionTrigger']]]:
1066
+ """
1067
+ A `build_completion_trigger` block as documented below.
1068
+ """
1069
+ return pulumi.get(self, "build_completion_triggers")
1070
+
898
1071
  @property
899
1072
  @pulumi.getter(name="ciTrigger")
900
1073
  def ci_trigger(self) -> pulumi.Output[Optional['outputs.BuildDefinitionCiTrigger']]:
901
1074
  """
902
- Continuous Integration trigger.
1075
+ A `ci_trigger` block as documented below.
903
1076
  """
904
1077
  return pulumi.get(self, "ci_trigger")
905
1078
 
@@ -939,7 +1112,7 @@ class BuildDefinition(pulumi.CustomResource):
939
1112
  @pulumi.getter(name="pullRequestTrigger")
940
1113
  def pull_request_trigger(self) -> pulumi.Output[Optional['outputs.BuildDefinitionPullRequestTrigger']]:
941
1114
  """
942
- Pull Request Integration trigger.
1115
+ A `pull_request_trigger` block as documented below.
943
1116
  """
944
1117
  return pulumi.get(self, "pull_request_trigger")
945
1118
 
@@ -947,7 +1120,7 @@ class BuildDefinition(pulumi.CustomResource):
947
1120
  @pulumi.getter(name="queueStatus")
948
1121
  def queue_status(self) -> pulumi.Output[Optional[str]]:
949
1122
  """
950
- The queue status of the build definition. Valid values: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
1123
+ The queue status of the build definition. Possible values are: `enabled` or `paused` or `disabled`. Defaults to `enabled`.
951
1124
  """
952
1125
  return pulumi.get(self, "queue_status")
953
1126
 
@@ -31,7 +31,7 @@ class CheckBranchControlArgs:
31
31
  The set of arguments for constructing a CheckBranchControl resource.
32
32
  :param pulumi.Input[str] project_id: The project ID.
33
33
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
34
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
34
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
35
35
  :param pulumi.Input[str] allowed_branches: The branches allowed to use the resource. Specify a comma separated list of allowed branches in `refs/heads/branch_name` format. To allow deployments from all branches, specify ` * ` . `refs/heads/features/* , refs/heads/releases/*` restricts deployments to all branches under features/ or releases/ . Defaults to `*`.
36
36
  :param pulumi.Input[str] display_name: The name of the branch control check displayed in the web UI.
37
37
  :param pulumi.Input[bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
@@ -80,7 +80,7 @@ class CheckBranchControlArgs:
80
80
  @pulumi.getter(name="targetResourceType")
81
81
  def target_resource_type(self) -> pulumi.Input[str]:
82
82
  """
83
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
83
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
84
84
  """
85
85
  return pulumi.get(self, "target_resource_type")
86
86
 
@@ -168,7 +168,7 @@ class _CheckBranchControlState:
168
168
  :param pulumi.Input[bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
169
169
  :param pulumi.Input[str] project_id: The project ID.
170
170
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
171
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
171
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
172
172
  :param pulumi.Input[int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
173
173
  :param pulumi.Input[bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
174
174
  :param pulumi.Input[int] version: The version of the check.
@@ -256,7 +256,7 @@ class _CheckBranchControlState:
256
256
  @pulumi.getter(name="targetResourceType")
257
257
  def target_resource_type(self) -> Optional[pulumi.Input[str]]:
258
258
  """
259
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
259
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
260
260
  """
261
261
  return pulumi.get(self, "target_resource_type")
262
262
 
@@ -451,7 +451,7 @@ class CheckBranchControl(pulumi.CustomResource):
451
451
  :param pulumi.Input[bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
452
452
  :param pulumi.Input[str] project_id: The project ID.
453
453
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
454
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
454
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
455
455
  :param pulumi.Input[int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
456
456
  :param pulumi.Input[bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
457
457
  """
@@ -668,7 +668,7 @@ class CheckBranchControl(pulumi.CustomResource):
668
668
  :param pulumi.Input[bool] ignore_unknown_protection_status: Allow deployment from branches for which protection status could not be obtained. Only relevant when verify_branch_protection is `true`. Defaults to `false`.
669
669
  :param pulumi.Input[str] project_id: The project ID.
670
670
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
671
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
671
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
672
672
  :param pulumi.Input[int] timeout: The timeout in minutes for the branch control check. Defaults to `1440`.
673
673
  :param pulumi.Input[bool] verify_branch_protection: Validate the branches being deployed are protected. Defaults to `false`.
674
674
  :param pulumi.Input[int] version: The version of the check.
@@ -732,7 +732,7 @@ class CheckBranchControl(pulumi.CustomResource):
732
732
  @pulumi.getter(name="targetResourceType")
733
733
  def target_resource_type(self) -> pulumi.Output[str]:
734
734
  """
735
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
735
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
736
736
  """
737
737
  return pulumi.get(self, "target_resource_type")
738
738
 
@@ -40,7 +40,7 @@ class CheckBusinessHoursArgs:
40
40
  :param pulumi.Input[str] project_id: The project ID.
41
41
  :param pulumi.Input[str] start_time: The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
42
42
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
43
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
43
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
44
44
  :param pulumi.Input[str] time_zone: The time zone this check will be evaluated in. See below for supported values.
45
45
  :param pulumi.Input[str] display_name: The name of the business hours check displayed in the web UI.
46
46
  :param pulumi.Input[bool] friday: This check will pass on Fridays. Defaults to `false`.
@@ -129,7 +129,7 @@ class CheckBusinessHoursArgs:
129
129
  @pulumi.getter(name="targetResourceType")
130
130
  def target_resource_type(self) -> pulumi.Input[str]:
131
131
  """
132
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
132
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
133
133
  """
134
134
  return pulumi.get(self, "target_resource_type")
135
135
 
@@ -288,7 +288,7 @@ class _CheckBusinessHoursState:
288
288
  :param pulumi.Input[str] start_time: The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
289
289
  :param pulumi.Input[bool] sunday: This check will pass on Sundays. Defaults to `false`.
290
290
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
291
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
291
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
292
292
  :param pulumi.Input[bool] thursday: This check will pass on Thursdays. Defaults to `false`.
293
293
  :param pulumi.Input[str] time_zone: The time zone this check will be evaluated in. See below for supported values.
294
294
  :param pulumi.Input[int] timeout: The timeout in minutes for the business hours check. Defaults to `1440`.
@@ -441,7 +441,7 @@ class _CheckBusinessHoursState:
441
441
  @pulumi.getter(name="targetResourceType")
442
442
  def target_resource_type(self) -> Optional[pulumi.Input[str]]:
443
443
  """
444
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
444
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
445
445
  """
446
446
  return pulumi.get(self, "target_resource_type")
447
447
 
@@ -847,7 +847,7 @@ class CheckBusinessHours(pulumi.CustomResource):
847
847
  :param pulumi.Input[str] start_time: The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
848
848
  :param pulumi.Input[bool] sunday: This check will pass on Sundays. Defaults to `false`.
849
849
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
850
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
850
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
851
851
  :param pulumi.Input[bool] thursday: This check will pass on Thursdays. Defaults to `false`.
852
852
  :param pulumi.Input[str] time_zone: The time zone this check will be evaluated in. See below for supported values.
853
853
  :param pulumi.Input[int] timeout: The timeout in minutes for the business hours check. Defaults to `1440`.
@@ -1262,7 +1262,7 @@ class CheckBusinessHours(pulumi.CustomResource):
1262
1262
  :param pulumi.Input[str] start_time: The beginning of the time period that this check will be allowed to pass, specified as 24-hour time with leading zeros.
1263
1263
  :param pulumi.Input[bool] sunday: This check will pass on Sundays. Defaults to `false`.
1264
1264
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check.
1265
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
1265
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
1266
1266
  :param pulumi.Input[bool] thursday: This check will pass on Thursdays. Defaults to `false`.
1267
1267
  :param pulumi.Input[str] time_zone: The time zone this check will be evaluated in. See below for supported values.
1268
1268
  :param pulumi.Input[int] timeout: The timeout in minutes for the business hours check. Defaults to `1440`.
@@ -1368,7 +1368,7 @@ class CheckBusinessHours(pulumi.CustomResource):
1368
1368
  @pulumi.getter(name="targetResourceType")
1369
1369
  def target_resource_type(self) -> pulumi.Output[str]:
1370
1370
  """
1371
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
1371
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`.
1372
1372
  """
1373
1373
  return pulumi.get(self, "target_resource_type")
1374
1374
 
@@ -27,7 +27,7 @@ class CheckExclusiveLockArgs:
27
27
  The set of arguments for constructing a CheckExclusiveLock resource.
28
28
  :param pulumi.Input[str] project_id: The project ID. Changing this forces a new Exclusive Lock Check to be created.
29
29
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
30
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
30
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
31
31
  :param pulumi.Input[int] timeout: The timeout in minutes for the exclusive lock. Defaults to `43200`.
32
32
  """
33
33
  pulumi.set(__self__, "project_id", project_id)
@@ -64,7 +64,7 @@ class CheckExclusiveLockArgs:
64
64
  @pulumi.getter(name="targetResourceType")
65
65
  def target_resource_type(self) -> pulumi.Input[str]:
66
66
  """
67
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
67
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
68
68
  """
69
69
  return pulumi.get(self, "target_resource_type")
70
70
 
@@ -97,7 +97,7 @@ class _CheckExclusiveLockState:
97
97
  Input properties used for looking up and filtering CheckExclusiveLock resources.
98
98
  :param pulumi.Input[str] project_id: The project ID. Changing this forces a new Exclusive Lock Check to be created.
99
99
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
100
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
100
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
101
101
  :param pulumi.Input[int] timeout: The timeout in minutes for the exclusive lock. Defaults to `43200`.
102
102
  :param pulumi.Input[int] version: The version of the check.
103
103
  """
@@ -140,7 +140,7 @@ class _CheckExclusiveLockState:
140
140
  @pulumi.getter(name="targetResourceType")
141
141
  def target_resource_type(self) -> Optional[pulumi.Input[str]]:
142
142
  """
143
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
143
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
144
144
  """
145
145
  return pulumi.get(self, "target_resource_type")
146
146
 
@@ -260,7 +260,7 @@ class CheckExclusiveLock(pulumi.CustomResource):
260
260
  :param pulumi.ResourceOptions opts: Options for the resource.
261
261
  :param pulumi.Input[str] project_id: The project ID. Changing this forces a new Exclusive Lock Check to be created.
262
262
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
263
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
263
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
264
264
  :param pulumi.Input[int] timeout: The timeout in minutes for the exclusive lock. Defaults to `43200`.
265
265
  """
266
266
  ...
@@ -405,7 +405,7 @@ class CheckExclusiveLock(pulumi.CustomResource):
405
405
  :param pulumi.ResourceOptions opts: Options for the resource.
406
406
  :param pulumi.Input[str] project_id: The project ID. Changing this forces a new Exclusive Lock Check to be created.
407
407
  :param pulumi.Input[str] target_resource_id: The ID of the resource being protected by the check. Changing this forces a new Exclusive Lock to be created.
408
- :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
408
+ :param pulumi.Input[str] target_resource_type: The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
409
409
  :param pulumi.Input[int] timeout: The timeout in minutes for the exclusive lock. Defaults to `43200`.
410
410
  :param pulumi.Input[int] version: The version of the check.
411
411
  """
@@ -440,7 +440,7 @@ class CheckExclusiveLock(pulumi.CustomResource):
440
440
  @pulumi.getter(name="targetResourceType")
441
441
  def target_resource_type(self) -> pulumi.Output[str]:
442
442
  """
443
- The type of resource being protected by the check. Valid values: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
443
+ The type of resource being protected by the check. Possible values are: `endpoint`, `environment`, `queue`, `repository`, `securefile`, `variablegroup`. Changing this forces a new Exclusive Lock to be created.
444
444
  """
445
445
  return pulumi.get(self, "target_resource_type")
446
446