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
@@ -1,1170 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import pulumi
8
- import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
10
- from .. import _utilities
11
- from . import outputs
12
-
13
- __all__ = [
14
- 'BuildDefinitionCiTrigger',
15
- 'BuildDefinitionCiTriggerOverride',
16
- 'BuildDefinitionCiTriggerOverrideBranchFilter',
17
- 'BuildDefinitionCiTriggerOverridePathFilter',
18
- 'BuildDefinitionFeature',
19
- 'BuildDefinitionPullRequestTrigger',
20
- 'BuildDefinitionPullRequestTriggerForks',
21
- 'BuildDefinitionPullRequestTriggerOverride',
22
- 'BuildDefinitionPullRequestTriggerOverrideBranchFilter',
23
- 'BuildDefinitionPullRequestTriggerOverridePathFilter',
24
- 'BuildDefinitionRepository',
25
- 'BuildDefinitionSchedule',
26
- 'BuildDefinitionScheduleBranchFilter',
27
- 'BuildDefinitionVariable',
28
- ]
29
-
30
- @pulumi.output_type
31
- class BuildDefinitionCiTrigger(dict):
32
- @staticmethod
33
- def __key_warning(key: str):
34
- suggest = None
35
- if key == "useYaml":
36
- suggest = "use_yaml"
37
-
38
- if suggest:
39
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionCiTrigger. Access the value via the '{suggest}' property getter instead.")
40
-
41
- def __getitem__(self, key: str) -> Any:
42
- BuildDefinitionCiTrigger.__key_warning(key)
43
- return super().__getitem__(key)
44
-
45
- def get(self, key: str, default = None) -> Any:
46
- BuildDefinitionCiTrigger.__key_warning(key)
47
- return super().get(key, default)
48
-
49
- def __init__(__self__, *,
50
- override: Optional['outputs.BuildDefinitionCiTriggerOverride'] = None,
51
- use_yaml: Optional[bool] = None):
52
- """
53
- :param 'BuildDefinitionCiTriggerOverrideArgs' override: Override the azure-pipeline file and use a this configuration for all builds.
54
- :param bool use_yaml: Use the azure-pipeline file for the build configuration. Defaults to `false`.
55
- """
56
- if override is not None:
57
- pulumi.set(__self__, "override", override)
58
- if use_yaml is not None:
59
- pulumi.set(__self__, "use_yaml", use_yaml)
60
-
61
- @property
62
- @pulumi.getter
63
- def override(self) -> Optional['outputs.BuildDefinitionCiTriggerOverride']:
64
- """
65
- Override the azure-pipeline file and use a this configuration for all builds.
66
- """
67
- return pulumi.get(self, "override")
68
-
69
- @property
70
- @pulumi.getter(name="useYaml")
71
- def use_yaml(self) -> Optional[bool]:
72
- """
73
- Use the azure-pipeline file for the build configuration. Defaults to `false`.
74
- """
75
- return pulumi.get(self, "use_yaml")
76
-
77
-
78
- @pulumi.output_type
79
- class BuildDefinitionCiTriggerOverride(dict):
80
- @staticmethod
81
- def __key_warning(key: str):
82
- suggest = None
83
- if key == "branchFilters":
84
- suggest = "branch_filters"
85
- elif key == "maxConcurrentBuildsPerBranch":
86
- suggest = "max_concurrent_builds_per_branch"
87
- elif key == "pathFilters":
88
- suggest = "path_filters"
89
- elif key == "pollingInterval":
90
- suggest = "polling_interval"
91
- elif key == "pollingJobId":
92
- suggest = "polling_job_id"
93
-
94
- if suggest:
95
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionCiTriggerOverride. Access the value via the '{suggest}' property getter instead.")
96
-
97
- def __getitem__(self, key: str) -> Any:
98
- BuildDefinitionCiTriggerOverride.__key_warning(key)
99
- return super().__getitem__(key)
100
-
101
- def get(self, key: str, default = None) -> Any:
102
- BuildDefinitionCiTriggerOverride.__key_warning(key)
103
- return super().get(key, default)
104
-
105
- def __init__(__self__, *,
106
- batch: Optional[bool] = None,
107
- branch_filters: Optional[Sequence['outputs.BuildDefinitionCiTriggerOverrideBranchFilter']] = None,
108
- max_concurrent_builds_per_branch: Optional[int] = None,
109
- path_filters: Optional[Sequence['outputs.BuildDefinitionCiTriggerOverridePathFilter']] = None,
110
- polling_interval: Optional[int] = None,
111
- polling_job_id: Optional[str] = None):
112
- """
113
- :param bool batch: If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
114
- :param Sequence['BuildDefinitionCiTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger.
115
- :param int max_concurrent_builds_per_branch: The number of max builds per branch. Defaults to `1`.
116
- :param Sequence['BuildDefinitionCiTriggerOverridePathFilterArgs'] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
117
- :param int polling_interval: How often the external repository is polled. Defaults to `0`.
118
- :param str polling_job_id: This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
119
- """
120
- if batch is not None:
121
- pulumi.set(__self__, "batch", batch)
122
- if branch_filters is not None:
123
- pulumi.set(__self__, "branch_filters", branch_filters)
124
- if max_concurrent_builds_per_branch is not None:
125
- pulumi.set(__self__, "max_concurrent_builds_per_branch", max_concurrent_builds_per_branch)
126
- if path_filters is not None:
127
- pulumi.set(__self__, "path_filters", path_filters)
128
- if polling_interval is not None:
129
- pulumi.set(__self__, "polling_interval", polling_interval)
130
- if polling_job_id is not None:
131
- pulumi.set(__self__, "polling_job_id", polling_job_id)
132
-
133
- @property
134
- @pulumi.getter
135
- def batch(self) -> Optional[bool]:
136
- """
137
- If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built. Defaults to `true`.
138
- """
139
- return pulumi.get(self, "batch")
140
-
141
- @property
142
- @pulumi.getter(name="branchFilters")
143
- def branch_filters(self) -> Optional[Sequence['outputs.BuildDefinitionCiTriggerOverrideBranchFilter']]:
144
- """
145
- The branches to include and exclude from the trigger.
146
- """
147
- return pulumi.get(self, "branch_filters")
148
-
149
- @property
150
- @pulumi.getter(name="maxConcurrentBuildsPerBranch")
151
- def max_concurrent_builds_per_branch(self) -> Optional[int]:
152
- """
153
- The number of max builds per branch. Defaults to `1`.
154
- """
155
- return pulumi.get(self, "max_concurrent_builds_per_branch")
156
-
157
- @property
158
- @pulumi.getter(name="pathFilters")
159
- def path_filters(self) -> Optional[Sequence['outputs.BuildDefinitionCiTriggerOverridePathFilter']]:
160
- """
161
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
162
- """
163
- return pulumi.get(self, "path_filters")
164
-
165
- @property
166
- @pulumi.getter(name="pollingInterval")
167
- def polling_interval(self) -> Optional[int]:
168
- """
169
- How often the external repository is polled. Defaults to `0`.
170
- """
171
- return pulumi.get(self, "polling_interval")
172
-
173
- @property
174
- @pulumi.getter(name="pollingJobId")
175
- def polling_job_id(self) -> Optional[str]:
176
- """
177
- This is the ID of the polling job that polls the external repository. Once the build definition is saved/updated, this value is set.
178
- """
179
- return pulumi.get(self, "polling_job_id")
180
-
181
-
182
- @pulumi.output_type
183
- class BuildDefinitionCiTriggerOverrideBranchFilter(dict):
184
- def __init__(__self__, *,
185
- excludes: Optional[Sequence[str]] = None,
186
- includes: Optional[Sequence[str]] = None):
187
- """
188
- :param Sequence[str] excludes: List of branch patterns to exclude.
189
- :param Sequence[str] includes: List of branch patterns to include.
190
- """
191
- if excludes is not None:
192
- pulumi.set(__self__, "excludes", excludes)
193
- if includes is not None:
194
- pulumi.set(__self__, "includes", includes)
195
-
196
- @property
197
- @pulumi.getter
198
- def excludes(self) -> Optional[Sequence[str]]:
199
- """
200
- List of branch patterns to exclude.
201
- """
202
- return pulumi.get(self, "excludes")
203
-
204
- @property
205
- @pulumi.getter
206
- def includes(self) -> Optional[Sequence[str]]:
207
- """
208
- List of branch patterns to include.
209
- """
210
- return pulumi.get(self, "includes")
211
-
212
-
213
- @pulumi.output_type
214
- class BuildDefinitionCiTriggerOverridePathFilter(dict):
215
- def __init__(__self__, *,
216
- excludes: Optional[Sequence[str]] = None,
217
- includes: Optional[Sequence[str]] = None):
218
- """
219
- :param Sequence[str] excludes: List of path patterns to exclude.
220
- :param Sequence[str] includes: List of path patterns to include.
221
- """
222
- if excludes is not None:
223
- pulumi.set(__self__, "excludes", excludes)
224
- if includes is not None:
225
- pulumi.set(__self__, "includes", includes)
226
-
227
- @property
228
- @pulumi.getter
229
- def excludes(self) -> Optional[Sequence[str]]:
230
- """
231
- List of path patterns to exclude.
232
- """
233
- return pulumi.get(self, "excludes")
234
-
235
- @property
236
- @pulumi.getter
237
- def includes(self) -> Optional[Sequence[str]]:
238
- """
239
- List of path patterns to include.
240
- """
241
- return pulumi.get(self, "includes")
242
-
243
-
244
- @pulumi.output_type
245
- class BuildDefinitionFeature(dict):
246
- @staticmethod
247
- def __key_warning(key: str):
248
- suggest = None
249
- if key == "skipFirstRun":
250
- suggest = "skip_first_run"
251
-
252
- if suggest:
253
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionFeature. Access the value via the '{suggest}' property getter instead.")
254
-
255
- def __getitem__(self, key: str) -> Any:
256
- BuildDefinitionFeature.__key_warning(key)
257
- return super().__getitem__(key)
258
-
259
- def get(self, key: str, default = None) -> Any:
260
- BuildDefinitionFeature.__key_warning(key)
261
- return super().get(key, default)
262
-
263
- def __init__(__self__, *,
264
- skip_first_run: Optional[bool] = None):
265
- """
266
- :param bool skip_first_run: Trigger the pipeline to run after the creation. Defaults to `true`.
267
-
268
- > **Note** The first run(`skip_first_run = false`) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
269
- """
270
- if skip_first_run is not None:
271
- pulumi.set(__self__, "skip_first_run", skip_first_run)
272
-
273
- @property
274
- @pulumi.getter(name="skipFirstRun")
275
- def skip_first_run(self) -> Optional[bool]:
276
- """
277
- Trigger the pipeline to run after the creation. Defaults to `true`.
278
-
279
- > **Note** The first run(`skip_first_run = false`) will only be triggered on create. If the first run fails, the build definition will still be marked as successfully created. A warning message indicating the inability to run pipeline will be displayed.
280
- """
281
- return pulumi.get(self, "skip_first_run")
282
-
283
-
284
- @pulumi.output_type
285
- class BuildDefinitionPullRequestTrigger(dict):
286
- @staticmethod
287
- def __key_warning(key: str):
288
- suggest = None
289
- if key == "commentRequired":
290
- suggest = "comment_required"
291
- elif key == "initialBranch":
292
- suggest = "initial_branch"
293
- elif key == "useYaml":
294
- suggest = "use_yaml"
295
-
296
- if suggest:
297
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionPullRequestTrigger. Access the value via the '{suggest}' property getter instead.")
298
-
299
- def __getitem__(self, key: str) -> Any:
300
- BuildDefinitionPullRequestTrigger.__key_warning(key)
301
- return super().__getitem__(key)
302
-
303
- def get(self, key: str, default = None) -> Any:
304
- BuildDefinitionPullRequestTrigger.__key_warning(key)
305
- return super().get(key, default)
306
-
307
- def __init__(__self__, *,
308
- forks: 'outputs.BuildDefinitionPullRequestTriggerForks',
309
- comment_required: Optional[str] = None,
310
- initial_branch: Optional[str] = None,
311
- override: Optional['outputs.BuildDefinitionPullRequestTriggerOverride'] = None,
312
- use_yaml: Optional[bool] = None):
313
- """
314
- :param 'BuildDefinitionPullRequestTriggerForksArgs' forks: Set permissions for Forked repositories.
315
- :param 'BuildDefinitionPullRequestTriggerOverrideArgs' override: Override the azure-pipeline file and use this configuration for all builds.
316
- :param bool use_yaml: Use the azure-pipeline file for the build configuration. Defaults to `false`.
317
- """
318
- pulumi.set(__self__, "forks", forks)
319
- if comment_required is not None:
320
- pulumi.set(__self__, "comment_required", comment_required)
321
- if initial_branch is not None:
322
- pulumi.set(__self__, "initial_branch", initial_branch)
323
- if override is not None:
324
- pulumi.set(__self__, "override", override)
325
- if use_yaml is not None:
326
- pulumi.set(__self__, "use_yaml", use_yaml)
327
-
328
- @property
329
- @pulumi.getter
330
- def forks(self) -> 'outputs.BuildDefinitionPullRequestTriggerForks':
331
- """
332
- Set permissions for Forked repositories.
333
- """
334
- return pulumi.get(self, "forks")
335
-
336
- @property
337
- @pulumi.getter(name="commentRequired")
338
- def comment_required(self) -> Optional[str]:
339
- return pulumi.get(self, "comment_required")
340
-
341
- @property
342
- @pulumi.getter(name="initialBranch")
343
- def initial_branch(self) -> Optional[str]:
344
- return pulumi.get(self, "initial_branch")
345
-
346
- @property
347
- @pulumi.getter
348
- def override(self) -> Optional['outputs.BuildDefinitionPullRequestTriggerOverride']:
349
- """
350
- Override the azure-pipeline file and use this configuration for all builds.
351
- """
352
- return pulumi.get(self, "override")
353
-
354
- @property
355
- @pulumi.getter(name="useYaml")
356
- def use_yaml(self) -> Optional[bool]:
357
- """
358
- Use the azure-pipeline file for the build configuration. Defaults to `false`.
359
- """
360
- return pulumi.get(self, "use_yaml")
361
-
362
-
363
- @pulumi.output_type
364
- class BuildDefinitionPullRequestTriggerForks(dict):
365
- @staticmethod
366
- def __key_warning(key: str):
367
- suggest = None
368
- if key == "shareSecrets":
369
- suggest = "share_secrets"
370
-
371
- if suggest:
372
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionPullRequestTriggerForks. Access the value via the '{suggest}' property getter instead.")
373
-
374
- def __getitem__(self, key: str) -> Any:
375
- BuildDefinitionPullRequestTriggerForks.__key_warning(key)
376
- return super().__getitem__(key)
377
-
378
- def get(self, key: str, default = None) -> Any:
379
- BuildDefinitionPullRequestTriggerForks.__key_warning(key)
380
- return super().get(key, default)
381
-
382
- def __init__(__self__, *,
383
- enabled: bool,
384
- share_secrets: bool):
385
- """
386
- :param bool enabled: Build pull requests from forks of this repository.
387
- :param bool share_secrets: Make secrets available to builds of forks.
388
- """
389
- pulumi.set(__self__, "enabled", enabled)
390
- pulumi.set(__self__, "share_secrets", share_secrets)
391
-
392
- @property
393
- @pulumi.getter
394
- def enabled(self) -> bool:
395
- """
396
- Build pull requests from forks of this repository.
397
- """
398
- return pulumi.get(self, "enabled")
399
-
400
- @property
401
- @pulumi.getter(name="shareSecrets")
402
- def share_secrets(self) -> bool:
403
- """
404
- Make secrets available to builds of forks.
405
- """
406
- return pulumi.get(self, "share_secrets")
407
-
408
-
409
- @pulumi.output_type
410
- class BuildDefinitionPullRequestTriggerOverride(dict):
411
- @staticmethod
412
- def __key_warning(key: str):
413
- suggest = None
414
- if key == "autoCancel":
415
- suggest = "auto_cancel"
416
- elif key == "branchFilters":
417
- suggest = "branch_filters"
418
- elif key == "pathFilters":
419
- suggest = "path_filters"
420
-
421
- if suggest:
422
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionPullRequestTriggerOverride. Access the value via the '{suggest}' property getter instead.")
423
-
424
- def __getitem__(self, key: str) -> Any:
425
- BuildDefinitionPullRequestTriggerOverride.__key_warning(key)
426
- return super().__getitem__(key)
427
-
428
- def get(self, key: str, default = None) -> Any:
429
- BuildDefinitionPullRequestTriggerOverride.__key_warning(key)
430
- return super().get(key, default)
431
-
432
- def __init__(__self__, *,
433
- auto_cancel: Optional[bool] = None,
434
- branch_filters: Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter']] = None,
435
- path_filters: Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverridePathFilter']] = None):
436
- """
437
- :param bool auto_cancel: . Defaults to `true`.
438
- :param Sequence['BuildDefinitionPullRequestTriggerOverrideBranchFilterArgs'] branch_filters: The branches to include and exclude from the trigger.
439
- :param Sequence['BuildDefinitionPullRequestTriggerOverridePathFilterArgs'] path_filters: Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
440
- """
441
- if auto_cancel is not None:
442
- pulumi.set(__self__, "auto_cancel", auto_cancel)
443
- if branch_filters is not None:
444
- pulumi.set(__self__, "branch_filters", branch_filters)
445
- if path_filters is not None:
446
- pulumi.set(__self__, "path_filters", path_filters)
447
-
448
- @property
449
- @pulumi.getter(name="autoCancel")
450
- def auto_cancel(self) -> Optional[bool]:
451
- """
452
- . Defaults to `true`.
453
- """
454
- return pulumi.get(self, "auto_cancel")
455
-
456
- @property
457
- @pulumi.getter(name="branchFilters")
458
- def branch_filters(self) -> Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverrideBranchFilter']]:
459
- """
460
- The branches to include and exclude from the trigger.
461
- """
462
- return pulumi.get(self, "branch_filters")
463
-
464
- @property
465
- @pulumi.getter(name="pathFilters")
466
- def path_filters(self) -> Optional[Sequence['outputs.BuildDefinitionPullRequestTriggerOverridePathFilter']]:
467
- """
468
- Specify file paths to include or exclude. Note that the wildcard syntax is different between branches/tags and file paths.
469
- """
470
- return pulumi.get(self, "path_filters")
471
-
472
-
473
- @pulumi.output_type
474
- class BuildDefinitionPullRequestTriggerOverrideBranchFilter(dict):
475
- def __init__(__self__, *,
476
- excludes: Optional[Sequence[str]] = None,
477
- includes: Optional[Sequence[str]] = None):
478
- """
479
- :param Sequence[str] excludes: List of branch patterns to exclude.
480
- :param Sequence[str] includes: List of branch patterns to include.
481
- """
482
- if excludes is not None:
483
- pulumi.set(__self__, "excludes", excludes)
484
- if includes is not None:
485
- pulumi.set(__self__, "includes", includes)
486
-
487
- @property
488
- @pulumi.getter
489
- def excludes(self) -> Optional[Sequence[str]]:
490
- """
491
- List of branch patterns to exclude.
492
- """
493
- return pulumi.get(self, "excludes")
494
-
495
- @property
496
- @pulumi.getter
497
- def includes(self) -> Optional[Sequence[str]]:
498
- """
499
- List of branch patterns to include.
500
- """
501
- return pulumi.get(self, "includes")
502
-
503
-
504
- @pulumi.output_type
505
- class BuildDefinitionPullRequestTriggerOverridePathFilter(dict):
506
- def __init__(__self__, *,
507
- excludes: Optional[Sequence[str]] = None,
508
- includes: Optional[Sequence[str]] = None):
509
- """
510
- :param Sequence[str] excludes: List of path patterns to exclude.
511
- :param Sequence[str] includes: List of path patterns to include.
512
- """
513
- if excludes is not None:
514
- pulumi.set(__self__, "excludes", excludes)
515
- if includes is not None:
516
- pulumi.set(__self__, "includes", includes)
517
-
518
- @property
519
- @pulumi.getter
520
- def excludes(self) -> Optional[Sequence[str]]:
521
- """
522
- List of path patterns to exclude.
523
- """
524
- return pulumi.get(self, "excludes")
525
-
526
- @property
527
- @pulumi.getter
528
- def includes(self) -> Optional[Sequence[str]]:
529
- """
530
- List of path patterns to include.
531
- """
532
- return pulumi.get(self, "includes")
533
-
534
-
535
- @pulumi.output_type
536
- class BuildDefinitionRepository(dict):
537
- @staticmethod
538
- def __key_warning(key: str):
539
- suggest = None
540
- if key == "repoId":
541
- suggest = "repo_id"
542
- elif key == "repoType":
543
- suggest = "repo_type"
544
- elif key == "ymlPath":
545
- suggest = "yml_path"
546
- elif key == "branchName":
547
- suggest = "branch_name"
548
- elif key == "githubEnterpriseUrl":
549
- suggest = "github_enterprise_url"
550
- elif key == "reportBuildStatus":
551
- suggest = "report_build_status"
552
- elif key == "serviceConnectionId":
553
- suggest = "service_connection_id"
554
-
555
- if suggest:
556
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionRepository. Access the value via the '{suggest}' property getter instead.")
557
-
558
- def __getitem__(self, key: str) -> Any:
559
- BuildDefinitionRepository.__key_warning(key)
560
- return super().__getitem__(key)
561
-
562
- def get(self, key: str, default = None) -> Any:
563
- BuildDefinitionRepository.__key_warning(key)
564
- return super().get(key, default)
565
-
566
- def __init__(__self__, *,
567
- repo_id: str,
568
- repo_type: str,
569
- yml_path: str,
570
- branch_name: Optional[str] = None,
571
- github_enterprise_url: Optional[str] = None,
572
- report_build_status: Optional[bool] = None,
573
- service_connection_id: Optional[str] = None):
574
- """
575
- :param str repo_id: The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.
576
- :param str repo_type: The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
577
- :param str yml_path: The path of the Yaml file describing the build definition.
578
- :param str branch_name: The branch name for which builds are triggered. Defaults to `master`.
579
- :param str github_enterprise_url: The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`.
580
- :param bool report_build_status: Report build status. Default is true.
581
- :param str service_connection_id: The service connection ID. Used if the `repo_type` is `GitHub` or `GitHubEnterprise`.
582
- """
583
- pulumi.set(__self__, "repo_id", repo_id)
584
- pulumi.set(__self__, "repo_type", repo_type)
585
- pulumi.set(__self__, "yml_path", yml_path)
586
- if branch_name is not None:
587
- pulumi.set(__self__, "branch_name", branch_name)
588
- if github_enterprise_url is not None:
589
- pulumi.set(__self__, "github_enterprise_url", github_enterprise_url)
590
- if report_build_status is not None:
591
- pulumi.set(__self__, "report_build_status", report_build_status)
592
- if service_connection_id is not None:
593
- pulumi.set(__self__, "service_connection_id", service_connection_id)
594
-
595
- @property
596
- @pulumi.getter(name="repoId")
597
- def repo_id(self) -> str:
598
- """
599
- The id of the repository. For `TfsGit` repos, this is simply the ID of the repository. For `Github` repos, this will take the form of `<GitHub Org>/<Repo Name>`. For `Bitbucket` repos, this will take the form of `<Workspace ID>/<Repo Name>`.
600
- """
601
- return pulumi.get(self, "repo_id")
602
-
603
- @property
604
- @pulumi.getter(name="repoType")
605
- def repo_type(self) -> str:
606
- """
607
- The repository type. Valid values: `GitHub` or `TfsGit` or `Bitbucket` or `GitHub Enterprise`. Defaults to `GitHub`. If `repo_type` is `GitHubEnterprise`, must use existing project and GitHub Enterprise service connection.
608
- """
609
- return pulumi.get(self, "repo_type")
610
-
611
- @property
612
- @pulumi.getter(name="ymlPath")
613
- def yml_path(self) -> str:
614
- """
615
- The path of the Yaml file describing the build definition.
616
- """
617
- return pulumi.get(self, "yml_path")
618
-
619
- @property
620
- @pulumi.getter(name="branchName")
621
- def branch_name(self) -> Optional[str]:
622
- """
623
- The branch name for which builds are triggered. Defaults to `master`.
624
- """
625
- return pulumi.get(self, "branch_name")
626
-
627
- @property
628
- @pulumi.getter(name="githubEnterpriseUrl")
629
- def github_enterprise_url(self) -> Optional[str]:
630
- """
631
- The Github Enterprise URL. Used if `repo_type` is `GithubEnterprise`.
632
- """
633
- return pulumi.get(self, "github_enterprise_url")
634
-
635
- @property
636
- @pulumi.getter(name="reportBuildStatus")
637
- def report_build_status(self) -> Optional[bool]:
638
- """
639
- Report build status. Default is true.
640
- """
641
- return pulumi.get(self, "report_build_status")
642
-
643
- @property
644
- @pulumi.getter(name="serviceConnectionId")
645
- def service_connection_id(self) -> Optional[str]:
646
- """
647
- The service connection ID. Used if the `repo_type` is `GitHub` or `GitHubEnterprise`.
648
- """
649
- return pulumi.get(self, "service_connection_id")
650
-
651
-
652
- @pulumi.output_type
653
- class BuildDefinitionSchedule(dict):
654
- @staticmethod
655
- def __key_warning(key: str):
656
- suggest = None
657
- if key == "daysToBuilds":
658
- suggest = "days_to_builds"
659
- elif key == "branchFilters":
660
- suggest = "branch_filters"
661
- elif key == "scheduleJobId":
662
- suggest = "schedule_job_id"
663
- elif key == "scheduleOnlyWithChanges":
664
- suggest = "schedule_only_with_changes"
665
- elif key == "startHours":
666
- suggest = "start_hours"
667
- elif key == "startMinutes":
668
- suggest = "start_minutes"
669
- elif key == "timeZone":
670
- suggest = "time_zone"
671
-
672
- if suggest:
673
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionSchedule. Access the value via the '{suggest}' property getter instead.")
674
-
675
- def __getitem__(self, key: str) -> Any:
676
- BuildDefinitionSchedule.__key_warning(key)
677
- return super().__getitem__(key)
678
-
679
- def get(self, key: str, default = None) -> Any:
680
- BuildDefinitionSchedule.__key_warning(key)
681
- return super().get(key, default)
682
-
683
- def __init__(__self__, *,
684
- days_to_builds: Sequence[str],
685
- branch_filters: Optional[Sequence['outputs.BuildDefinitionScheduleBranchFilter']] = None,
686
- schedule_job_id: Optional[str] = None,
687
- schedule_only_with_changes: Optional[bool] = None,
688
- start_hours: Optional[int] = None,
689
- start_minutes: Optional[int] = None,
690
- time_zone: Optional[str] = None):
691
- """
692
- :param Sequence[str] days_to_builds: When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
693
- :param Sequence['BuildDefinitionScheduleBranchFilterArgs'] branch_filters: block supports the following:
694
- :param str schedule_job_id: The ID of the schedule job
695
- :param bool schedule_only_with_changes: Schedule builds if the source or pipeline has changed. Defaults to `true`.
696
- :param int start_hours: Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
697
- :param int start_minutes: Build start minute. Defaults to `0`. Valid values: `0 ~ 59`.
698
- :param str time_zone: Build time zone. Defaults to `(UTC) Coordinated Universal Time`. Valid values:
699
- `(UTC-12:00) International Date Line West`,
700
- `(UTC-11:00) Coordinated Universal Time-11`,
701
- `(UTC-10:00) Aleutian Islands`,
702
- `(UTC-10:00) Hawaii`,
703
- `(UTC-09:30) Marquesas Islands`,
704
- `(UTC-09:00) Alaska`,
705
- `(UTC-09:00) Coordinated Universal Time-09`,
706
- `(UTC-08:00) Baja California`,
707
- `(UTC-08:00) Coordinated Universal Time-08`,
708
- `(UTC-08:00) Pacific Time (US &Canada)`,
709
- `(UTC-07:00) Arizona`,
710
- `(UTC-07:00) Chihuahua, La Paz, Mazatlan`,
711
- `(UTC-07:00) Mountain Time (US &Canada)`,
712
- `(UTC-07:00) Yukon`,
713
- `(UTC-06:00) Central America`,
714
- `(UTC-06:00) Central Time (US &Canada)`,
715
- `(UTC-06:00) Easter Island`,
716
- `(UTC-06:00) Guadalajara, Mexico City, Monterrey`,
717
- `(UTC-06:00) Saskatchewan`,
718
- `(UTC-05:00) Bogota, Lima, Quito, Rio Branco`,
719
- `(UTC-05:00) Chetumal`,
720
- `(UTC-05:00) Eastern Time (US &Canada)`,
721
- `(UTC-05:00) Haiti`,
722
- `(UTC-05:00) Havana`,
723
- `(UTC-05:00) Indiana (East)`,
724
- `(UTC-05:00) Turks and Caicos`,
725
- `(UTC-04:00) Asuncion`,
726
- `(UTC-04:00) Atlantic Time (Canada)`,
727
- `(UTC-04:00) Caracas`,
728
- `(UTC-04:00) Cuiaba`,
729
- `(UTC-04:00) Georgetown, La Paz, Manaus, San Juan`,
730
- `(UTC-04:00) Santiago`,
731
- `(UTC-03:30) Newfoundland`,
732
- `(UTC-03:00) Araguaina`,
733
- `(UTC-03:00) Brasilia`,
734
- `(UTC-03:00) Cayenne, Fortaleza`,
735
- `(UTC-03:00) City of Buenos Aires`,
736
- `(UTC-03:00) Greenland`,
737
- `(UTC-03:00) Montevideo`,
738
- `(UTC-03:00) Punta Arenas`,
739
- `(UTC-03:00) Saint Pierre and Miquelon`,
740
- `(UTC-03:00) Salvador`,
741
- `(UTC-02:00) Coordinated Universal Time-02`,
742
- `(UTC-02:00) Mid-Atlantic - Old`,
743
- `(UTC-01:00) Azores`,
744
- `(UTC-01:00) Cabo Verde Is.`,
745
- `(UTC) Coordinated Universal Time`,
746
- `(UTC+00:00) Dublin, Edinburgh, Lisbon, London`,
747
- `(UTC+00:00) Monrovia, Reykjavik`,
748
- `(UTC+00:00) Sao Tome`,
749
- `(UTC+01:00) Casablanca`,
750
- `(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna`,
751
- `(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague`,
752
- `(UTC+01:00) Brussels, Copenhagen, Madrid, Paris`,
753
- `(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb`,
754
- `(UTC+01:00) West Central Africa`,
755
- `(UTC+02:00) Amman`,
756
- `(UTC+02:00) Athens, Bucharest`,
757
- `(UTC+02:00) Beirut`,
758
- `(UTC+02:00) Cairo`,
759
- `(UTC+02:00) Chisinau`,
760
- `(UTC+02:00) Damascus`,
761
- `(UTC+02:00) Gaza, Hebron`,
762
- `(UTC+02:00) Harare, Pretoria`,
763
- `(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius`,
764
- `(UTC+02:00) Jerusalem`,
765
- `(UTC+02:00) Juba`,
766
- `(UTC+02:00) Kaliningrad`,
767
- `(UTC+02:00) Khartoum`,
768
- `(UTC+02:00) Tripoli`,
769
- `(UTC+02:00) Windhoek`,
770
- `(UTC+03:00) Baghdad`,
771
- `(UTC+03:00) Istanbul`,
772
- `(UTC+03:00) Kuwait, Riyadh`,
773
- `(UTC+03:00) Minsk`,
774
- `(UTC+03:00) Moscow, St. Petersburg`,
775
- `(UTC+03:00) Nairobi`,
776
- `(UTC+03:00) Volgograd`,
777
- `(UTC+03:30) Tehran`,
778
- `(UTC+04:00) Abu Dhabi, Muscat`,
779
- `(UTC+04:00) Astrakhan, Ulyanovsk`,
780
- `(UTC+04:00) Baku`,
781
- `(UTC+04:00) Izhevsk, Samara`,
782
- `(UTC+04:00) Port Louis`,
783
- `(UTC+04:00) Saratov`,
784
- `(UTC+04:00) Tbilisi`,
785
- `(UTC+04:00) Yerevan`,
786
- `(UTC+04:30) Kabul`,
787
- `(UTC+05:00) Ashgabat, Tashkent`,
788
- `(UTC+05:00) Ekaterinburg`,
789
- `(UTC+05:00) Islamabad, Karachi`,
790
- `(UTC+05:00) Qyzylorda`,
791
- `(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi`,
792
- `(UTC+05:30) Sri Jayawardenepura`,
793
- `(UTC+05:45) Kathmandu`,
794
- `(UTC+06:00) Astana`,
795
- `(UTC+06:00) Dhaka`,
796
- `(UTC+06:00) Omsk`,
797
- `(UTC+06:30) Yangon (Rangoon)`,
798
- `(UTC+07:00) Bangkok, Hanoi, Jakarta`,
799
- `(UTC+07:00) Barnaul, Gorno-Altaysk`,
800
- `(UTC+07:00) Hovd`,
801
- `(UTC+07:00) Krasnoyarsk`,
802
- `(UTC+07:00) Novosibirsk`,
803
- `(UTC+07:00) Tomsk`,
804
- `(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi`,
805
- `(UTC+08:00) Irkutsk`,
806
- `(UTC+08:00) Kuala Lumpur, Singapore`,
807
- `(UTC+08:00) Perth`,
808
- `(UTC+08:00) Taipei`,
809
- `(UTC+08:00) Ulaanbaatar`,
810
- `(UTC+08:45) Eucla`,
811
- `(UTC+09:00) Chita`,
812
- `(UTC+09:00) Osaka, Sapporo, Tokyo`,
813
- `(UTC+09:00) Pyongyang`,
814
- `(UTC+09:00) Seoul`,
815
- `(UTC+09:00) Yakutsk`,
816
- `(UTC+09:30) Adelaide`,
817
- `(UTC+09:30) Darwin`,
818
- `(UTC+10:00) Brisbane`,
819
- `(UTC+10:00) Canberra, Melbourne, Sydney`,
820
- `(UTC+10:00) Guam, Port Moresby`,
821
- `(UTC+10:00) Hobart`,
822
- `(UTC+10:00) Vladivostok`,
823
- `(UTC+10:30) Lord Howe Island`,
824
- `(UTC+11:00) Bougainville Island`,
825
- `(UTC+11:00) Chokurdakh`,
826
- `(UTC+11:00) Magadan`,
827
- `(UTC+11:00) Norfolk Island`,
828
- `(UTC+11:00) Sakhalin`,
829
- `(UTC+11:00) Solomon Is., New Caledonia`,
830
- `(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky`,
831
- `(UTC+12:00) Auckland, Wellington`,
832
- `(UTC+12:00) Coordinated Universal Time+12`,
833
- `(UTC+12:00) Fiji`,
834
- `(UTC+12:00) Petropavlovsk-Kamchatsky - Old`,
835
- `(UTC+12:45) Chatham Islands`,
836
- `(UTC+13:00) Coordinated Universal Time+13`,
837
- `(UTC+13:00) Nuku'alofa`,
838
- `(UTC+13:00) Samoa`,
839
- `(UTC+14:00) Kiritimati Island`.
840
- """
841
- pulumi.set(__self__, "days_to_builds", days_to_builds)
842
- if branch_filters is not None:
843
- pulumi.set(__self__, "branch_filters", branch_filters)
844
- if schedule_job_id is not None:
845
- pulumi.set(__self__, "schedule_job_id", schedule_job_id)
846
- if schedule_only_with_changes is not None:
847
- pulumi.set(__self__, "schedule_only_with_changes", schedule_only_with_changes)
848
- if start_hours is not None:
849
- pulumi.set(__self__, "start_hours", start_hours)
850
- if start_minutes is not None:
851
- pulumi.set(__self__, "start_minutes", start_minutes)
852
- if time_zone is not None:
853
- pulumi.set(__self__, "time_zone", time_zone)
854
-
855
- @property
856
- @pulumi.getter(name="daysToBuilds")
857
- def days_to_builds(self) -> Sequence[str]:
858
- """
859
- When to build. Valid values: `Mon`, `Tue`, `Wed`, `Thu`, `Fri`, `Sat`, `Sun`.
860
- """
861
- return pulumi.get(self, "days_to_builds")
862
-
863
- @property
864
- @pulumi.getter(name="branchFilters")
865
- def branch_filters(self) -> Optional[Sequence['outputs.BuildDefinitionScheduleBranchFilter']]:
866
- """
867
- block supports the following:
868
- """
869
- return pulumi.get(self, "branch_filters")
870
-
871
- @property
872
- @pulumi.getter(name="scheduleJobId")
873
- def schedule_job_id(self) -> Optional[str]:
874
- """
875
- The ID of the schedule job
876
- """
877
- return pulumi.get(self, "schedule_job_id")
878
-
879
- @property
880
- @pulumi.getter(name="scheduleOnlyWithChanges")
881
- def schedule_only_with_changes(self) -> Optional[bool]:
882
- """
883
- Schedule builds if the source or pipeline has changed. Defaults to `true`.
884
- """
885
- return pulumi.get(self, "schedule_only_with_changes")
886
-
887
- @property
888
- @pulumi.getter(name="startHours")
889
- def start_hours(self) -> Optional[int]:
890
- """
891
- Build start hour. Defaults to `0`. Valid values: `0 ~ 23`.
892
- """
893
- return pulumi.get(self, "start_hours")
894
-
895
- @property
896
- @pulumi.getter(name="startMinutes")
897
- def start_minutes(self) -> Optional[int]:
898
- """
899
- Build start minute. Defaults to `0`. Valid values: `0 ~ 59`.
900
- """
901
- return pulumi.get(self, "start_minutes")
902
-
903
- @property
904
- @pulumi.getter(name="timeZone")
905
- def time_zone(self) -> Optional[str]:
906
- """
907
- Build time zone. Defaults to `(UTC) Coordinated Universal Time`. Valid values:
908
- `(UTC-12:00) International Date Line West`,
909
- `(UTC-11:00) Coordinated Universal Time-11`,
910
- `(UTC-10:00) Aleutian Islands`,
911
- `(UTC-10:00) Hawaii`,
912
- `(UTC-09:30) Marquesas Islands`,
913
- `(UTC-09:00) Alaska`,
914
- `(UTC-09:00) Coordinated Universal Time-09`,
915
- `(UTC-08:00) Baja California`,
916
- `(UTC-08:00) Coordinated Universal Time-08`,
917
- `(UTC-08:00) Pacific Time (US &Canada)`,
918
- `(UTC-07:00) Arizona`,
919
- `(UTC-07:00) Chihuahua, La Paz, Mazatlan`,
920
- `(UTC-07:00) Mountain Time (US &Canada)`,
921
- `(UTC-07:00) Yukon`,
922
- `(UTC-06:00) Central America`,
923
- `(UTC-06:00) Central Time (US &Canada)`,
924
- `(UTC-06:00) Easter Island`,
925
- `(UTC-06:00) Guadalajara, Mexico City, Monterrey`,
926
- `(UTC-06:00) Saskatchewan`,
927
- `(UTC-05:00) Bogota, Lima, Quito, Rio Branco`,
928
- `(UTC-05:00) Chetumal`,
929
- `(UTC-05:00) Eastern Time (US &Canada)`,
930
- `(UTC-05:00) Haiti`,
931
- `(UTC-05:00) Havana`,
932
- `(UTC-05:00) Indiana (East)`,
933
- `(UTC-05:00) Turks and Caicos`,
934
- `(UTC-04:00) Asuncion`,
935
- `(UTC-04:00) Atlantic Time (Canada)`,
936
- `(UTC-04:00) Caracas`,
937
- `(UTC-04:00) Cuiaba`,
938
- `(UTC-04:00) Georgetown, La Paz, Manaus, San Juan`,
939
- `(UTC-04:00) Santiago`,
940
- `(UTC-03:30) Newfoundland`,
941
- `(UTC-03:00) Araguaina`,
942
- `(UTC-03:00) Brasilia`,
943
- `(UTC-03:00) Cayenne, Fortaleza`,
944
- `(UTC-03:00) City of Buenos Aires`,
945
- `(UTC-03:00) Greenland`,
946
- `(UTC-03:00) Montevideo`,
947
- `(UTC-03:00) Punta Arenas`,
948
- `(UTC-03:00) Saint Pierre and Miquelon`,
949
- `(UTC-03:00) Salvador`,
950
- `(UTC-02:00) Coordinated Universal Time-02`,
951
- `(UTC-02:00) Mid-Atlantic - Old`,
952
- `(UTC-01:00) Azores`,
953
- `(UTC-01:00) Cabo Verde Is.`,
954
- `(UTC) Coordinated Universal Time`,
955
- `(UTC+00:00) Dublin, Edinburgh, Lisbon, London`,
956
- `(UTC+00:00) Monrovia, Reykjavik`,
957
- `(UTC+00:00) Sao Tome`,
958
- `(UTC+01:00) Casablanca`,
959
- `(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna`,
960
- `(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague`,
961
- `(UTC+01:00) Brussels, Copenhagen, Madrid, Paris`,
962
- `(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb`,
963
- `(UTC+01:00) West Central Africa`,
964
- `(UTC+02:00) Amman`,
965
- `(UTC+02:00) Athens, Bucharest`,
966
- `(UTC+02:00) Beirut`,
967
- `(UTC+02:00) Cairo`,
968
- `(UTC+02:00) Chisinau`,
969
- `(UTC+02:00) Damascus`,
970
- `(UTC+02:00) Gaza, Hebron`,
971
- `(UTC+02:00) Harare, Pretoria`,
972
- `(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius`,
973
- `(UTC+02:00) Jerusalem`,
974
- `(UTC+02:00) Juba`,
975
- `(UTC+02:00) Kaliningrad`,
976
- `(UTC+02:00) Khartoum`,
977
- `(UTC+02:00) Tripoli`,
978
- `(UTC+02:00) Windhoek`,
979
- `(UTC+03:00) Baghdad`,
980
- `(UTC+03:00) Istanbul`,
981
- `(UTC+03:00) Kuwait, Riyadh`,
982
- `(UTC+03:00) Minsk`,
983
- `(UTC+03:00) Moscow, St. Petersburg`,
984
- `(UTC+03:00) Nairobi`,
985
- `(UTC+03:00) Volgograd`,
986
- `(UTC+03:30) Tehran`,
987
- `(UTC+04:00) Abu Dhabi, Muscat`,
988
- `(UTC+04:00) Astrakhan, Ulyanovsk`,
989
- `(UTC+04:00) Baku`,
990
- `(UTC+04:00) Izhevsk, Samara`,
991
- `(UTC+04:00) Port Louis`,
992
- `(UTC+04:00) Saratov`,
993
- `(UTC+04:00) Tbilisi`,
994
- `(UTC+04:00) Yerevan`,
995
- `(UTC+04:30) Kabul`,
996
- `(UTC+05:00) Ashgabat, Tashkent`,
997
- `(UTC+05:00) Ekaterinburg`,
998
- `(UTC+05:00) Islamabad, Karachi`,
999
- `(UTC+05:00) Qyzylorda`,
1000
- `(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi`,
1001
- `(UTC+05:30) Sri Jayawardenepura`,
1002
- `(UTC+05:45) Kathmandu`,
1003
- `(UTC+06:00) Astana`,
1004
- `(UTC+06:00) Dhaka`,
1005
- `(UTC+06:00) Omsk`,
1006
- `(UTC+06:30) Yangon (Rangoon)`,
1007
- `(UTC+07:00) Bangkok, Hanoi, Jakarta`,
1008
- `(UTC+07:00) Barnaul, Gorno-Altaysk`,
1009
- `(UTC+07:00) Hovd`,
1010
- `(UTC+07:00) Krasnoyarsk`,
1011
- `(UTC+07:00) Novosibirsk`,
1012
- `(UTC+07:00) Tomsk`,
1013
- `(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi`,
1014
- `(UTC+08:00) Irkutsk`,
1015
- `(UTC+08:00) Kuala Lumpur, Singapore`,
1016
- `(UTC+08:00) Perth`,
1017
- `(UTC+08:00) Taipei`,
1018
- `(UTC+08:00) Ulaanbaatar`,
1019
- `(UTC+08:45) Eucla`,
1020
- `(UTC+09:00) Chita`,
1021
- `(UTC+09:00) Osaka, Sapporo, Tokyo`,
1022
- `(UTC+09:00) Pyongyang`,
1023
- `(UTC+09:00) Seoul`,
1024
- `(UTC+09:00) Yakutsk`,
1025
- `(UTC+09:30) Adelaide`,
1026
- `(UTC+09:30) Darwin`,
1027
- `(UTC+10:00) Brisbane`,
1028
- `(UTC+10:00) Canberra, Melbourne, Sydney`,
1029
- `(UTC+10:00) Guam, Port Moresby`,
1030
- `(UTC+10:00) Hobart`,
1031
- `(UTC+10:00) Vladivostok`,
1032
- `(UTC+10:30) Lord Howe Island`,
1033
- `(UTC+11:00) Bougainville Island`,
1034
- `(UTC+11:00) Chokurdakh`,
1035
- `(UTC+11:00) Magadan`,
1036
- `(UTC+11:00) Norfolk Island`,
1037
- `(UTC+11:00) Sakhalin`,
1038
- `(UTC+11:00) Solomon Is., New Caledonia`,
1039
- `(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky`,
1040
- `(UTC+12:00) Auckland, Wellington`,
1041
- `(UTC+12:00) Coordinated Universal Time+12`,
1042
- `(UTC+12:00) Fiji`,
1043
- `(UTC+12:00) Petropavlovsk-Kamchatsky - Old`,
1044
- `(UTC+12:45) Chatham Islands`,
1045
- `(UTC+13:00) Coordinated Universal Time+13`,
1046
- `(UTC+13:00) Nuku'alofa`,
1047
- `(UTC+13:00) Samoa`,
1048
- `(UTC+14:00) Kiritimati Island`.
1049
- """
1050
- return pulumi.get(self, "time_zone")
1051
-
1052
-
1053
- @pulumi.output_type
1054
- class BuildDefinitionScheduleBranchFilter(dict):
1055
- def __init__(__self__, *,
1056
- excludes: Optional[Sequence[str]] = None,
1057
- includes: Optional[Sequence[str]] = None):
1058
- """
1059
- :param Sequence[str] excludes: List of branch patterns to exclude.
1060
- :param Sequence[str] includes: List of branch patterns to include.
1061
- """
1062
- if excludes is not None:
1063
- pulumi.set(__self__, "excludes", excludes)
1064
- if includes is not None:
1065
- pulumi.set(__self__, "includes", includes)
1066
-
1067
- @property
1068
- @pulumi.getter
1069
- def excludes(self) -> Optional[Sequence[str]]:
1070
- """
1071
- List of branch patterns to exclude.
1072
- """
1073
- return pulumi.get(self, "excludes")
1074
-
1075
- @property
1076
- @pulumi.getter
1077
- def includes(self) -> Optional[Sequence[str]]:
1078
- """
1079
- List of branch patterns to include.
1080
- """
1081
- return pulumi.get(self, "includes")
1082
-
1083
-
1084
- @pulumi.output_type
1085
- class BuildDefinitionVariable(dict):
1086
- @staticmethod
1087
- def __key_warning(key: str):
1088
- suggest = None
1089
- if key == "allowOverride":
1090
- suggest = "allow_override"
1091
- elif key == "isSecret":
1092
- suggest = "is_secret"
1093
- elif key == "secretValue":
1094
- suggest = "secret_value"
1095
-
1096
- if suggest:
1097
- pulumi.log.warn(f"Key '{key}' not found in BuildDefinitionVariable. Access the value via the '{suggest}' property getter instead.")
1098
-
1099
- def __getitem__(self, key: str) -> Any:
1100
- BuildDefinitionVariable.__key_warning(key)
1101
- return super().__getitem__(key)
1102
-
1103
- def get(self, key: str, default = None) -> Any:
1104
- BuildDefinitionVariable.__key_warning(key)
1105
- return super().get(key, default)
1106
-
1107
- def __init__(__self__, *,
1108
- name: str,
1109
- allow_override: Optional[bool] = None,
1110
- is_secret: Optional[bool] = None,
1111
- secret_value: Optional[str] = None,
1112
- value: Optional[str] = None):
1113
- """
1114
- :param str name: The name of the variable.
1115
- :param bool allow_override: True if the variable can be overridden. Defaults to `true`.
1116
- :param bool is_secret: True if the variable is a secret. Defaults to `false`.
1117
- :param str secret_value: The secret value of the variable. Used when `is_secret` set to `true`.
1118
- :param str value: The value of the variable.
1119
- """
1120
- pulumi.set(__self__, "name", name)
1121
- if allow_override is not None:
1122
- pulumi.set(__self__, "allow_override", allow_override)
1123
- if is_secret is not None:
1124
- pulumi.set(__self__, "is_secret", is_secret)
1125
- if secret_value is not None:
1126
- pulumi.set(__self__, "secret_value", secret_value)
1127
- if value is not None:
1128
- pulumi.set(__self__, "value", value)
1129
-
1130
- @property
1131
- @pulumi.getter
1132
- def name(self) -> str:
1133
- """
1134
- The name of the variable.
1135
- """
1136
- return pulumi.get(self, "name")
1137
-
1138
- @property
1139
- @pulumi.getter(name="allowOverride")
1140
- def allow_override(self) -> Optional[bool]:
1141
- """
1142
- True if the variable can be overridden. Defaults to `true`.
1143
- """
1144
- return pulumi.get(self, "allow_override")
1145
-
1146
- @property
1147
- @pulumi.getter(name="isSecret")
1148
- def is_secret(self) -> Optional[bool]:
1149
- """
1150
- True if the variable is a secret. Defaults to `false`.
1151
- """
1152
- return pulumi.get(self, "is_secret")
1153
-
1154
- @property
1155
- @pulumi.getter(name="secretValue")
1156
- def secret_value(self) -> Optional[str]:
1157
- """
1158
- The secret value of the variable. Used when `is_secret` set to `true`.
1159
- """
1160
- return pulumi.get(self, "secret_value")
1161
-
1162
- @property
1163
- @pulumi.getter
1164
- def value(self) -> Optional[str]:
1165
- """
1166
- The value of the variable.
1167
- """
1168
- return pulumi.get(self, "value")
1169
-
1170
-