pulumi-digitalocean 4.39.0a1738086294__py3-none-any.whl → 4.39.0a1738250205__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.

Potentially problematic release.


This version of pulumi-digitalocean might be problematic. Click here for more details.

@@ -26,6 +26,7 @@ __all__ = [
26
26
  'AppSpecEnv',
27
27
  'AppSpecFunction',
28
28
  'AppSpecFunctionAlert',
29
+ 'AppSpecFunctionBitbucket',
29
30
  'AppSpecFunctionCors',
30
31
  'AppSpecFunctionCorsAllowOrigins',
31
32
  'AppSpecFunctionEnv',
@@ -49,6 +50,7 @@ __all__ = [
49
50
  'AppSpecIngressRuleRedirect',
50
51
  'AppSpecJob',
51
52
  'AppSpecJobAlert',
53
+ 'AppSpecJobBitbucket',
52
54
  'AppSpecJobEnv',
53
55
  'AppSpecJobGit',
54
56
  'AppSpecJobGithub',
@@ -67,6 +69,7 @@ __all__ = [
67
69
  'AppSpecServiceAutoscaling',
68
70
  'AppSpecServiceAutoscalingMetrics',
69
71
  'AppSpecServiceAutoscalingMetricsCpu',
72
+ 'AppSpecServiceBitbucket',
70
73
  'AppSpecServiceCors',
71
74
  'AppSpecServiceCorsAllowOrigins',
72
75
  'AppSpecServiceEnv',
@@ -85,6 +88,7 @@ __all__ = [
85
88
  'AppSpecServiceRoute',
86
89
  'AppSpecServiceTermination',
87
90
  'AppSpecStaticSite',
91
+ 'AppSpecStaticSiteBitbucket',
88
92
  'AppSpecStaticSiteCors',
89
93
  'AppSpecStaticSiteCorsAllowOrigins',
90
94
  'AppSpecStaticSiteEnv',
@@ -97,6 +101,7 @@ __all__ = [
97
101
  'AppSpecWorkerAutoscaling',
98
102
  'AppSpecWorkerAutoscalingMetrics',
99
103
  'AppSpecWorkerAutoscalingMetricsCpu',
104
+ 'AppSpecWorkerBitbucket',
100
105
  'AppSpecWorkerEnv',
101
106
  'AppSpecWorkerGit',
102
107
  'AppSpecWorkerGithub',
@@ -126,6 +131,7 @@ __all__ = [
126
131
  'FirewallInboundRule',
127
132
  'FirewallOutboundRule',
128
133
  'FirewallPendingChange',
134
+ 'KubernetesClusterControlPlaneFirewall',
129
135
  'KubernetesClusterKubeConfig',
130
136
  'KubernetesClusterMaintenancePolicy',
131
137
  'KubernetesClusterNodePool',
@@ -159,6 +165,7 @@ __all__ = [
159
165
  'GetAppSpecEnvResult',
160
166
  'GetAppSpecFunctionResult',
161
167
  'GetAppSpecFunctionAlertResult',
168
+ 'GetAppSpecFunctionBitbucketResult',
162
169
  'GetAppSpecFunctionCorsResult',
163
170
  'GetAppSpecFunctionCorsAllowOriginsResult',
164
171
  'GetAppSpecFunctionEnvResult',
@@ -182,6 +189,7 @@ __all__ = [
182
189
  'GetAppSpecIngressRuleRedirectResult',
183
190
  'GetAppSpecJobResult',
184
191
  'GetAppSpecJobAlertResult',
192
+ 'GetAppSpecJobBitbucketResult',
185
193
  'GetAppSpecJobEnvResult',
186
194
  'GetAppSpecJobGitResult',
187
195
  'GetAppSpecJobGithubResult',
@@ -200,6 +208,7 @@ __all__ = [
200
208
  'GetAppSpecServiceAutoscalingResult',
201
209
  'GetAppSpecServiceAutoscalingMetricsResult',
202
210
  'GetAppSpecServiceAutoscalingMetricsCpuResult',
211
+ 'GetAppSpecServiceBitbucketResult',
203
212
  'GetAppSpecServiceCorsResult',
204
213
  'GetAppSpecServiceCorsAllowOriginsResult',
205
214
  'GetAppSpecServiceEnvResult',
@@ -218,6 +227,7 @@ __all__ = [
218
227
  'GetAppSpecServiceRouteResult',
219
228
  'GetAppSpecServiceTerminationResult',
220
229
  'GetAppSpecStaticSiteResult',
230
+ 'GetAppSpecStaticSiteBitbucketResult',
221
231
  'GetAppSpecStaticSiteCorsResult',
222
232
  'GetAppSpecStaticSiteCorsAllowOriginsResult',
223
233
  'GetAppSpecStaticSiteEnvResult',
@@ -230,6 +240,7 @@ __all__ = [
230
240
  'GetAppSpecWorkerAutoscalingResult',
231
241
  'GetAppSpecWorkerAutoscalingMetricsResult',
232
242
  'GetAppSpecWorkerAutoscalingMetricsCpuResult',
243
+ 'GetAppSpecWorkerBitbucketResult',
233
244
  'GetAppSpecWorkerEnvResult',
234
245
  'GetAppSpecWorkerGitResult',
235
246
  'GetAppSpecWorkerGithubResult',
@@ -822,6 +833,7 @@ class AppSpecFunction(dict):
822
833
  def __init__(__self__, *,
823
834
  name: str,
824
835
  alerts: Optional[Sequence['outputs.AppSpecFunctionAlert']] = None,
836
+ bitbucket: Optional['outputs.AppSpecFunctionBitbucket'] = None,
825
837
  cors: Optional['outputs.AppSpecFunctionCors'] = None,
826
838
  envs: Optional[Sequence['outputs.AppSpecFunctionEnv']] = None,
827
839
  git: Optional['outputs.AppSpecFunctionGit'] = None,
@@ -833,6 +845,7 @@ class AppSpecFunction(dict):
833
845
  """
834
846
  :param str name: The name of the component.
835
847
  :param Sequence['AppSpecFunctionAlertArgs'] alerts: Describes an alert policy for the component.
848
+ :param 'AppSpecFunctionBitbucketArgs' bitbucket: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
836
849
  :param 'AppSpecFunctionCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
837
850
  :param Sequence['AppSpecFunctionEnvArgs'] envs: Describes an environment variable made available to an app competent.
838
851
  :param 'AppSpecFunctionGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
@@ -845,6 +858,8 @@ class AppSpecFunction(dict):
845
858
  pulumi.set(__self__, "name", name)
846
859
  if alerts is not None:
847
860
  pulumi.set(__self__, "alerts", alerts)
861
+ if bitbucket is not None:
862
+ pulumi.set(__self__, "bitbucket", bitbucket)
848
863
  if cors is not None:
849
864
  pulumi.set(__self__, "cors", cors)
850
865
  if envs is not None:
@@ -878,6 +893,14 @@ class AppSpecFunction(dict):
878
893
  """
879
894
  return pulumi.get(self, "alerts")
880
895
 
896
+ @property
897
+ @pulumi.getter
898
+ def bitbucket(self) -> Optional['outputs.AppSpecFunctionBitbucket']:
899
+ """
900
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
901
+ """
902
+ return pulumi.get(self, "bitbucket")
903
+
881
904
  @property
882
905
  @pulumi.getter
883
906
  @_utilities.deprecated("""Service level CORS rules are deprecated in favor of ingresses""")
@@ -1008,6 +1031,66 @@ class AppSpecFunctionAlert(dict):
1008
1031
  return pulumi.get(self, "disabled")
1009
1032
 
1010
1033
 
1034
+ @pulumi.output_type
1035
+ class AppSpecFunctionBitbucket(dict):
1036
+ @staticmethod
1037
+ def __key_warning(key: str):
1038
+ suggest = None
1039
+ if key == "deployOnPush":
1040
+ suggest = "deploy_on_push"
1041
+
1042
+ if suggest:
1043
+ pulumi.log.warn(f"Key '{key}' not found in AppSpecFunctionBitbucket. Access the value via the '{suggest}' property getter instead.")
1044
+
1045
+ def __getitem__(self, key: str) -> Any:
1046
+ AppSpecFunctionBitbucket.__key_warning(key)
1047
+ return super().__getitem__(key)
1048
+
1049
+ def get(self, key: str, default = None) -> Any:
1050
+ AppSpecFunctionBitbucket.__key_warning(key)
1051
+ return super().get(key, default)
1052
+
1053
+ def __init__(__self__, *,
1054
+ branch: Optional[str] = None,
1055
+ deploy_on_push: Optional[bool] = None,
1056
+ repo: Optional[str] = None):
1057
+ """
1058
+ :param str branch: The name of the branch to use.
1059
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
1060
+ :param str repo: The name of the repo in the format `owner/repo`.
1061
+ """
1062
+ if branch is not None:
1063
+ pulumi.set(__self__, "branch", branch)
1064
+ if deploy_on_push is not None:
1065
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
1066
+ if repo is not None:
1067
+ pulumi.set(__self__, "repo", repo)
1068
+
1069
+ @property
1070
+ @pulumi.getter
1071
+ def branch(self) -> Optional[str]:
1072
+ """
1073
+ The name of the branch to use.
1074
+ """
1075
+ return pulumi.get(self, "branch")
1076
+
1077
+ @property
1078
+ @pulumi.getter(name="deployOnPush")
1079
+ def deploy_on_push(self) -> Optional[bool]:
1080
+ """
1081
+ Whether to automatically deploy new commits made to the repo.
1082
+ """
1083
+ return pulumi.get(self, "deploy_on_push")
1084
+
1085
+ @property
1086
+ @pulumi.getter
1087
+ def repo(self) -> Optional[str]:
1088
+ """
1089
+ The name of the repo in the format `owner/repo`.
1090
+ """
1091
+ return pulumi.get(self, "repo")
1092
+
1093
+
1011
1094
  @pulumi.output_type
1012
1095
  class AppSpecFunctionCors(dict):
1013
1096
  @staticmethod
@@ -2143,6 +2226,7 @@ class AppSpecJob(dict):
2143
2226
  def __init__(__self__, *,
2144
2227
  name: str,
2145
2228
  alerts: Optional[Sequence['outputs.AppSpecJobAlert']] = None,
2229
+ bitbucket: Optional['outputs.AppSpecJobBitbucket'] = None,
2146
2230
  build_command: Optional[str] = None,
2147
2231
  dockerfile_path: Optional[str] = None,
2148
2232
  environment_slug: Optional[str] = None,
@@ -2161,6 +2245,7 @@ class AppSpecJob(dict):
2161
2245
  """
2162
2246
  :param str name: The name of the component.
2163
2247
  :param Sequence['AppSpecJobAlertArgs'] alerts: Describes an alert policy for the component.
2248
+ :param 'AppSpecJobBitbucketArgs' bitbucket: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
2164
2249
  :param str build_command: An optional build command to run while building this component from source.
2165
2250
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
2166
2251
  :param str environment_slug: An environment slug describing the type of this app.
@@ -2184,6 +2269,8 @@ class AppSpecJob(dict):
2184
2269
  pulumi.set(__self__, "name", name)
2185
2270
  if alerts is not None:
2186
2271
  pulumi.set(__self__, "alerts", alerts)
2272
+ if bitbucket is not None:
2273
+ pulumi.set(__self__, "bitbucket", bitbucket)
2187
2274
  if build_command is not None:
2188
2275
  pulumi.set(__self__, "build_command", build_command)
2189
2276
  if dockerfile_path is not None:
@@ -2231,6 +2318,14 @@ class AppSpecJob(dict):
2231
2318
  """
2232
2319
  return pulumi.get(self, "alerts")
2233
2320
 
2321
+ @property
2322
+ @pulumi.getter
2323
+ def bitbucket(self) -> Optional['outputs.AppSpecJobBitbucket']:
2324
+ """
2325
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
2326
+ """
2327
+ return pulumi.get(self, "bitbucket")
2328
+
2234
2329
  @property
2235
2330
  @pulumi.getter(name="buildCommand")
2236
2331
  def build_command(self) -> Optional[str]:
@@ -2419,6 +2514,66 @@ class AppSpecJobAlert(dict):
2419
2514
  return pulumi.get(self, "disabled")
2420
2515
 
2421
2516
 
2517
+ @pulumi.output_type
2518
+ class AppSpecJobBitbucket(dict):
2519
+ @staticmethod
2520
+ def __key_warning(key: str):
2521
+ suggest = None
2522
+ if key == "deployOnPush":
2523
+ suggest = "deploy_on_push"
2524
+
2525
+ if suggest:
2526
+ pulumi.log.warn(f"Key '{key}' not found in AppSpecJobBitbucket. Access the value via the '{suggest}' property getter instead.")
2527
+
2528
+ def __getitem__(self, key: str) -> Any:
2529
+ AppSpecJobBitbucket.__key_warning(key)
2530
+ return super().__getitem__(key)
2531
+
2532
+ def get(self, key: str, default = None) -> Any:
2533
+ AppSpecJobBitbucket.__key_warning(key)
2534
+ return super().get(key, default)
2535
+
2536
+ def __init__(__self__, *,
2537
+ branch: Optional[str] = None,
2538
+ deploy_on_push: Optional[bool] = None,
2539
+ repo: Optional[str] = None):
2540
+ """
2541
+ :param str branch: The name of the branch to use.
2542
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
2543
+ :param str repo: The name of the repo in the format `owner/repo`.
2544
+ """
2545
+ if branch is not None:
2546
+ pulumi.set(__self__, "branch", branch)
2547
+ if deploy_on_push is not None:
2548
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
2549
+ if repo is not None:
2550
+ pulumi.set(__self__, "repo", repo)
2551
+
2552
+ @property
2553
+ @pulumi.getter
2554
+ def branch(self) -> Optional[str]:
2555
+ """
2556
+ The name of the branch to use.
2557
+ """
2558
+ return pulumi.get(self, "branch")
2559
+
2560
+ @property
2561
+ @pulumi.getter(name="deployOnPush")
2562
+ def deploy_on_push(self) -> Optional[bool]:
2563
+ """
2564
+ Whether to automatically deploy new commits made to the repo.
2565
+ """
2566
+ return pulumi.get(self, "deploy_on_push")
2567
+
2568
+ @property
2569
+ @pulumi.getter
2570
+ def repo(self) -> Optional[str]:
2571
+ """
2572
+ The name of the repo in the format `owner/repo`.
2573
+ """
2574
+ return pulumi.get(self, "repo")
2575
+
2576
+
2422
2577
  @pulumi.output_type
2423
2578
  class AppSpecJobEnv(dict):
2424
2579
  def __init__(__self__, *,
@@ -3126,6 +3281,7 @@ class AppSpecService(dict):
3126
3281
  name: str,
3127
3282
  alerts: Optional[Sequence['outputs.AppSpecServiceAlert']] = None,
3128
3283
  autoscaling: Optional['outputs.AppSpecServiceAutoscaling'] = None,
3284
+ bitbucket: Optional['outputs.AppSpecServiceBitbucket'] = None,
3129
3285
  build_command: Optional[str] = None,
3130
3286
  cors: Optional['outputs.AppSpecServiceCors'] = None,
3131
3287
  dockerfile_path: Optional[str] = None,
@@ -3149,6 +3305,7 @@ class AppSpecService(dict):
3149
3305
  :param str name: The name of the component.
3150
3306
  :param Sequence['AppSpecServiceAlertArgs'] alerts: Describes an alert policy for the component.
3151
3307
  :param 'AppSpecServiceAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
3308
+ :param 'AppSpecServiceBitbucketArgs' bitbucket: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
3152
3309
  :param str build_command: An optional build command to run while building this component from source.
3153
3310
  :param 'AppSpecServiceCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
3154
3311
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
@@ -3174,6 +3331,8 @@ class AppSpecService(dict):
3174
3331
  pulumi.set(__self__, "alerts", alerts)
3175
3332
  if autoscaling is not None:
3176
3333
  pulumi.set(__self__, "autoscaling", autoscaling)
3334
+ if bitbucket is not None:
3335
+ pulumi.set(__self__, "bitbucket", bitbucket)
3177
3336
  if build_command is not None:
3178
3337
  pulumi.set(__self__, "build_command", build_command)
3179
3338
  if cors is not None:
@@ -3237,6 +3396,14 @@ class AppSpecService(dict):
3237
3396
  """
3238
3397
  return pulumi.get(self, "autoscaling")
3239
3398
 
3399
+ @property
3400
+ @pulumi.getter
3401
+ def bitbucket(self) -> Optional['outputs.AppSpecServiceBitbucket']:
3402
+ """
3403
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
3404
+ """
3405
+ return pulumi.get(self, "bitbucket")
3406
+
3240
3407
  @property
3241
3408
  @pulumi.getter(name="buildCommand")
3242
3409
  def build_command(self) -> Optional[str]:
@@ -3551,6 +3718,66 @@ class AppSpecServiceAutoscalingMetricsCpu(dict):
3551
3718
  return pulumi.get(self, "percent")
3552
3719
 
3553
3720
 
3721
+ @pulumi.output_type
3722
+ class AppSpecServiceBitbucket(dict):
3723
+ @staticmethod
3724
+ def __key_warning(key: str):
3725
+ suggest = None
3726
+ if key == "deployOnPush":
3727
+ suggest = "deploy_on_push"
3728
+
3729
+ if suggest:
3730
+ pulumi.log.warn(f"Key '{key}' not found in AppSpecServiceBitbucket. Access the value via the '{suggest}' property getter instead.")
3731
+
3732
+ def __getitem__(self, key: str) -> Any:
3733
+ AppSpecServiceBitbucket.__key_warning(key)
3734
+ return super().__getitem__(key)
3735
+
3736
+ def get(self, key: str, default = None) -> Any:
3737
+ AppSpecServiceBitbucket.__key_warning(key)
3738
+ return super().get(key, default)
3739
+
3740
+ def __init__(__self__, *,
3741
+ branch: Optional[str] = None,
3742
+ deploy_on_push: Optional[bool] = None,
3743
+ repo: Optional[str] = None):
3744
+ """
3745
+ :param str branch: The name of the branch to use.
3746
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
3747
+ :param str repo: The name of the repo in the format `owner/repo`.
3748
+ """
3749
+ if branch is not None:
3750
+ pulumi.set(__self__, "branch", branch)
3751
+ if deploy_on_push is not None:
3752
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
3753
+ if repo is not None:
3754
+ pulumi.set(__self__, "repo", repo)
3755
+
3756
+ @property
3757
+ @pulumi.getter
3758
+ def branch(self) -> Optional[str]:
3759
+ """
3760
+ The name of the branch to use.
3761
+ """
3762
+ return pulumi.get(self, "branch")
3763
+
3764
+ @property
3765
+ @pulumi.getter(name="deployOnPush")
3766
+ def deploy_on_push(self) -> Optional[bool]:
3767
+ """
3768
+ Whether to automatically deploy new commits made to the repo.
3769
+ """
3770
+ return pulumi.get(self, "deploy_on_push")
3771
+
3772
+ @property
3773
+ @pulumi.getter
3774
+ def repo(self) -> Optional[str]:
3775
+ """
3776
+ The name of the repo in the format `owner/repo`.
3777
+ """
3778
+ return pulumi.get(self, "repo")
3779
+
3780
+
3554
3781
  @pulumi.output_type
3555
3782
  class AppSpecServiceCors(dict):
3556
3783
  @staticmethod
@@ -4584,6 +4811,7 @@ class AppSpecStaticSite(dict):
4584
4811
 
4585
4812
  def __init__(__self__, *,
4586
4813
  name: str,
4814
+ bitbucket: Optional['outputs.AppSpecStaticSiteBitbucket'] = None,
4587
4815
  build_command: Optional[str] = None,
4588
4816
  catchall_document: Optional[str] = None,
4589
4817
  cors: Optional['outputs.AppSpecStaticSiteCors'] = None,
@@ -4600,6 +4828,7 @@ class AppSpecStaticSite(dict):
4600
4828
  source_dir: Optional[str] = None):
4601
4829
  """
4602
4830
  :param str name: The name of the component.
4831
+ :param 'AppSpecStaticSiteBitbucketArgs' bitbucket: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
4603
4832
  :param str build_command: An optional build command to run while building this component from source.
4604
4833
  :param str catchall_document: The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
4605
4834
  :param 'AppSpecStaticSiteCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
@@ -4616,6 +4845,8 @@ class AppSpecStaticSite(dict):
4616
4845
  :param str source_dir: An optional path to the working directory to use for the build.
4617
4846
  """
4618
4847
  pulumi.set(__self__, "name", name)
4848
+ if bitbucket is not None:
4849
+ pulumi.set(__self__, "bitbucket", bitbucket)
4619
4850
  if build_command is not None:
4620
4851
  pulumi.set(__self__, "build_command", build_command)
4621
4852
  if catchall_document is not None:
@@ -4653,6 +4884,14 @@ class AppSpecStaticSite(dict):
4653
4884
  """
4654
4885
  return pulumi.get(self, "name")
4655
4886
 
4887
+ @property
4888
+ @pulumi.getter
4889
+ def bitbucket(self) -> Optional['outputs.AppSpecStaticSiteBitbucket']:
4890
+ """
4891
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
4892
+ """
4893
+ return pulumi.get(self, "bitbucket")
4894
+
4656
4895
  @property
4657
4896
  @pulumi.getter(name="buildCommand")
4658
4897
  def build_command(self) -> Optional[str]:
@@ -4768,6 +5007,66 @@ class AppSpecStaticSite(dict):
4768
5007
  return pulumi.get(self, "source_dir")
4769
5008
 
4770
5009
 
5010
+ @pulumi.output_type
5011
+ class AppSpecStaticSiteBitbucket(dict):
5012
+ @staticmethod
5013
+ def __key_warning(key: str):
5014
+ suggest = None
5015
+ if key == "deployOnPush":
5016
+ suggest = "deploy_on_push"
5017
+
5018
+ if suggest:
5019
+ pulumi.log.warn(f"Key '{key}' not found in AppSpecStaticSiteBitbucket. Access the value via the '{suggest}' property getter instead.")
5020
+
5021
+ def __getitem__(self, key: str) -> Any:
5022
+ AppSpecStaticSiteBitbucket.__key_warning(key)
5023
+ return super().__getitem__(key)
5024
+
5025
+ def get(self, key: str, default = None) -> Any:
5026
+ AppSpecStaticSiteBitbucket.__key_warning(key)
5027
+ return super().get(key, default)
5028
+
5029
+ def __init__(__self__, *,
5030
+ branch: Optional[str] = None,
5031
+ deploy_on_push: Optional[bool] = None,
5032
+ repo: Optional[str] = None):
5033
+ """
5034
+ :param str branch: The name of the branch to use.
5035
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
5036
+ :param str repo: The name of the repo in the format `owner/repo`.
5037
+ """
5038
+ if branch is not None:
5039
+ pulumi.set(__self__, "branch", branch)
5040
+ if deploy_on_push is not None:
5041
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
5042
+ if repo is not None:
5043
+ pulumi.set(__self__, "repo", repo)
5044
+
5045
+ @property
5046
+ @pulumi.getter
5047
+ def branch(self) -> Optional[str]:
5048
+ """
5049
+ The name of the branch to use.
5050
+ """
5051
+ return pulumi.get(self, "branch")
5052
+
5053
+ @property
5054
+ @pulumi.getter(name="deployOnPush")
5055
+ def deploy_on_push(self) -> Optional[bool]:
5056
+ """
5057
+ Whether to automatically deploy new commits made to the repo.
5058
+ """
5059
+ return pulumi.get(self, "deploy_on_push")
5060
+
5061
+ @property
5062
+ @pulumi.getter
5063
+ def repo(self) -> Optional[str]:
5064
+ """
5065
+ The name of the repo in the format `owner/repo`.
5066
+ """
5067
+ return pulumi.get(self, "repo")
5068
+
5069
+
4771
5070
  @pulumi.output_type
4772
5071
  class AppSpecStaticSiteCors(dict):
4773
5072
  @staticmethod
@@ -5226,6 +5525,7 @@ class AppSpecWorker(dict):
5226
5525
  name: str,
5227
5526
  alerts: Optional[Sequence['outputs.AppSpecWorkerAlert']] = None,
5228
5527
  autoscaling: Optional['outputs.AppSpecWorkerAutoscaling'] = None,
5528
+ bitbucket: Optional['outputs.AppSpecWorkerBitbucket'] = None,
5229
5529
  build_command: Optional[str] = None,
5230
5530
  dockerfile_path: Optional[str] = None,
5231
5531
  environment_slug: Optional[str] = None,
@@ -5244,6 +5544,7 @@ class AppSpecWorker(dict):
5244
5544
  :param str name: The name of the component.
5245
5545
  :param Sequence['AppSpecWorkerAlertArgs'] alerts: Describes an alert policy for the component.
5246
5546
  :param 'AppSpecWorkerAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
5547
+ :param 'AppSpecWorkerBitbucketArgs' bitbucket: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
5247
5548
  :param str build_command: An optional build command to run while building this component from source.
5248
5549
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
5249
5550
  :param str environment_slug: An environment slug describing the type of this app.
@@ -5264,6 +5565,8 @@ class AppSpecWorker(dict):
5264
5565
  pulumi.set(__self__, "alerts", alerts)
5265
5566
  if autoscaling is not None:
5266
5567
  pulumi.set(__self__, "autoscaling", autoscaling)
5568
+ if bitbucket is not None:
5569
+ pulumi.set(__self__, "bitbucket", bitbucket)
5267
5570
  if build_command is not None:
5268
5571
  pulumi.set(__self__, "build_command", build_command)
5269
5572
  if dockerfile_path is not None:
@@ -5317,6 +5620,14 @@ class AppSpecWorker(dict):
5317
5620
  """
5318
5621
  return pulumi.get(self, "autoscaling")
5319
5622
 
5623
+ @property
5624
+ @pulumi.getter
5625
+ def bitbucket(self) -> Optional['outputs.AppSpecWorkerBitbucket']:
5626
+ """
5627
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/bitbucket/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
5628
+ """
5629
+ return pulumi.get(self, "bitbucket")
5630
+
5320
5631
  @property
5321
5632
  @pulumi.getter(name="buildCommand")
5322
5633
  def build_command(self) -> Optional[str]:
@@ -5589,6 +5900,66 @@ class AppSpecWorkerAutoscalingMetricsCpu(dict):
5589
5900
  return pulumi.get(self, "percent")
5590
5901
 
5591
5902
 
5903
+ @pulumi.output_type
5904
+ class AppSpecWorkerBitbucket(dict):
5905
+ @staticmethod
5906
+ def __key_warning(key: str):
5907
+ suggest = None
5908
+ if key == "deployOnPush":
5909
+ suggest = "deploy_on_push"
5910
+
5911
+ if suggest:
5912
+ pulumi.log.warn(f"Key '{key}' not found in AppSpecWorkerBitbucket. Access the value via the '{suggest}' property getter instead.")
5913
+
5914
+ def __getitem__(self, key: str) -> Any:
5915
+ AppSpecWorkerBitbucket.__key_warning(key)
5916
+ return super().__getitem__(key)
5917
+
5918
+ def get(self, key: str, default = None) -> Any:
5919
+ AppSpecWorkerBitbucket.__key_warning(key)
5920
+ return super().get(key, default)
5921
+
5922
+ def __init__(__self__, *,
5923
+ branch: Optional[str] = None,
5924
+ deploy_on_push: Optional[bool] = None,
5925
+ repo: Optional[str] = None):
5926
+ """
5927
+ :param str branch: The name of the branch to use.
5928
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
5929
+ :param str repo: The name of the repo in the format `owner/repo`.
5930
+ """
5931
+ if branch is not None:
5932
+ pulumi.set(__self__, "branch", branch)
5933
+ if deploy_on_push is not None:
5934
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
5935
+ if repo is not None:
5936
+ pulumi.set(__self__, "repo", repo)
5937
+
5938
+ @property
5939
+ @pulumi.getter
5940
+ def branch(self) -> Optional[str]:
5941
+ """
5942
+ The name of the branch to use.
5943
+ """
5944
+ return pulumi.get(self, "branch")
5945
+
5946
+ @property
5947
+ @pulumi.getter(name="deployOnPush")
5948
+ def deploy_on_push(self) -> Optional[bool]:
5949
+ """
5950
+ Whether to automatically deploy new commits made to the repo.
5951
+ """
5952
+ return pulumi.get(self, "deploy_on_push")
5953
+
5954
+ @property
5955
+ @pulumi.getter
5956
+ def repo(self) -> Optional[str]:
5957
+ """
5958
+ The name of the repo in the format `owner/repo`.
5959
+ """
5960
+ return pulumi.get(self, "repo")
5961
+
5962
+
5592
5963
  @pulumi.output_type
5593
5964
  class AppSpecWorkerEnv(dict):
5594
5965
  def __init__(__self__, *,
@@ -6312,8 +6683,8 @@ class DatabaseClusterMaintenanceWindow(dict):
6312
6683
  day: str,
6313
6684
  hour: str):
6314
6685
  """
6315
- :param str day: The day of the week on which to apply maintenance updates.
6316
- :param str hour: The hour in UTC at which maintenance updates will be applied in 24 hour format.
6686
+ :param str day: The day of the week on which to apply maintenance updates. May be one of `monday` through `sunday`.
6687
+ :param str hour: The hour in UTC at which maintenance updates will be applied as a string in 24 hour format, e.g. `13:00`.
6317
6688
  """
6318
6689
  pulumi.set(__self__, "day", day)
6319
6690
  pulumi.set(__self__, "hour", hour)
@@ -6322,7 +6693,7 @@ class DatabaseClusterMaintenanceWindow(dict):
6322
6693
  @pulumi.getter
6323
6694
  def day(self) -> str:
6324
6695
  """
6325
- The day of the week on which to apply maintenance updates.
6696
+ The day of the week on which to apply maintenance updates. May be one of `monday` through `sunday`.
6326
6697
  """
6327
6698
  return pulumi.get(self, "day")
6328
6699
 
@@ -6330,7 +6701,7 @@ class DatabaseClusterMaintenanceWindow(dict):
6330
6701
  @pulumi.getter
6331
6702
  def hour(self) -> str:
6332
6703
  """
6333
- The hour in UTC at which maintenance updates will be applied in 24 hour format.
6704
+ The hour in UTC at which maintenance updates will be applied as a string in 24 hour format, e.g. `13:00`.
6334
6705
  """
6335
6706
  return pulumi.get(self, "hour")
6336
6707
 
@@ -7663,12 +8034,48 @@ class FirewallPendingChange(dict):
7663
8034
 
7664
8035
  @property
7665
8036
  @pulumi.getter
7666
- def status(self) -> Optional[str]:
7667
- """
7668
- A status string indicating the current state of the Firewall.
7669
- This can be "waiting", "succeeded", or "failed".
7670
- """
7671
- return pulumi.get(self, "status")
8037
+ def status(self) -> Optional[str]:
8038
+ """
8039
+ A status string indicating the current state of the Firewall.
8040
+ This can be "waiting", "succeeded", or "failed".
8041
+ """
8042
+ return pulumi.get(self, "status")
8043
+
8044
+
8045
+ @pulumi.output_type
8046
+ class KubernetesClusterControlPlaneFirewall(dict):
8047
+ @staticmethod
8048
+ def __key_warning(key: str):
8049
+ suggest = None
8050
+ if key == "allowedAddresses":
8051
+ suggest = "allowed_addresses"
8052
+
8053
+ if suggest:
8054
+ pulumi.log.warn(f"Key '{key}' not found in KubernetesClusterControlPlaneFirewall. Access the value via the '{suggest}' property getter instead.")
8055
+
8056
+ def __getitem__(self, key: str) -> Any:
8057
+ KubernetesClusterControlPlaneFirewall.__key_warning(key)
8058
+ return super().__getitem__(key)
8059
+
8060
+ def get(self, key: str, default = None) -> Any:
8061
+ KubernetesClusterControlPlaneFirewall.__key_warning(key)
8062
+ return super().get(key, default)
8063
+
8064
+ def __init__(__self__, *,
8065
+ allowed_addresses: Sequence[str],
8066
+ enabled: bool):
8067
+ pulumi.set(__self__, "allowed_addresses", allowed_addresses)
8068
+ pulumi.set(__self__, "enabled", enabled)
8069
+
8070
+ @property
8071
+ @pulumi.getter(name="allowedAddresses")
8072
+ def allowed_addresses(self) -> Sequence[str]:
8073
+ return pulumi.get(self, "allowed_addresses")
8074
+
8075
+ @property
8076
+ @pulumi.getter
8077
+ def enabled(self) -> bool:
8078
+ return pulumi.get(self, "enabled")
7672
8079
 
7673
8080
 
7674
8081
  @pulumi.output_type
@@ -9770,6 +10177,7 @@ class GetAppSpecFunctionResult(dict):
9770
10177
  name: str,
9771
10178
  routes: Sequence['outputs.GetAppSpecFunctionRouteResult'],
9772
10179
  alerts: Optional[Sequence['outputs.GetAppSpecFunctionAlertResult']] = None,
10180
+ bitbucket: Optional['outputs.GetAppSpecFunctionBitbucketResult'] = None,
9773
10181
  cors: Optional['outputs.GetAppSpecFunctionCorsResult'] = None,
9774
10182
  envs: Optional[Sequence['outputs.GetAppSpecFunctionEnvResult']] = None,
9775
10183
  git: Optional['outputs.GetAppSpecFunctionGitResult'] = None,
@@ -9780,11 +10188,12 @@ class GetAppSpecFunctionResult(dict):
9780
10188
  """
9781
10189
  :param str name: The name of the component.
9782
10190
  :param Sequence['GetAppSpecFunctionAlertArgs'] alerts: Describes an alert policy for the component.
10191
+ :param 'GetAppSpecFunctionBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
9783
10192
  :param 'GetAppSpecFunctionCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
9784
10193
  :param Sequence['GetAppSpecFunctionEnvArgs'] envs: Describes an environment variable made available to an app competent.
9785
10194
  :param 'GetAppSpecFunctionGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
9786
- :param 'GetAppSpecFunctionGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
9787
- :param 'GetAppSpecFunctionGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
10195
+ :param 'GetAppSpecFunctionGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10196
+ :param 'GetAppSpecFunctionGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
9788
10197
  :param Sequence['GetAppSpecFunctionLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
9789
10198
  :param str source_dir: An optional path to the working directory to use for the build.
9790
10199
  """
@@ -9792,6 +10201,8 @@ class GetAppSpecFunctionResult(dict):
9792
10201
  pulumi.set(__self__, "routes", routes)
9793
10202
  if alerts is not None:
9794
10203
  pulumi.set(__self__, "alerts", alerts)
10204
+ if bitbucket is not None:
10205
+ pulumi.set(__self__, "bitbucket", bitbucket)
9795
10206
  if cors is not None:
9796
10207
  pulumi.set(__self__, "cors", cors)
9797
10208
  if envs is not None:
@@ -9829,6 +10240,14 @@ class GetAppSpecFunctionResult(dict):
9829
10240
  """
9830
10241
  return pulumi.get(self, "alerts")
9831
10242
 
10243
+ @property
10244
+ @pulumi.getter
10245
+ def bitbucket(self) -> Optional['outputs.GetAppSpecFunctionBitbucketResult']:
10246
+ """
10247
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10248
+ """
10249
+ return pulumi.get(self, "bitbucket")
10250
+
9832
10251
  @property
9833
10252
  @pulumi.getter
9834
10253
  @_utilities.deprecated("""Service level CORS rules are deprecated in favor of ingresses""")
@@ -9858,7 +10277,7 @@ class GetAppSpecFunctionResult(dict):
9858
10277
  @pulumi.getter
9859
10278
  def github(self) -> Optional['outputs.GetAppSpecFunctionGithubResult']:
9860
10279
  """
9861
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
10280
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
9862
10281
  """
9863
10282
  return pulumi.get(self, "github")
9864
10283
 
@@ -9866,7 +10285,7 @@ class GetAppSpecFunctionResult(dict):
9866
10285
  @pulumi.getter
9867
10286
  def gitlab(self) -> Optional['outputs.GetAppSpecFunctionGitlabResult']:
9868
10287
  """
9869
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
10288
+ A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
9870
10289
  """
9871
10290
  return pulumi.get(self, "gitlab")
9872
10291
 
@@ -9950,6 +10369,49 @@ class GetAppSpecFunctionAlertResult(dict):
9950
10369
  return pulumi.get(self, "disabled")
9951
10370
 
9952
10371
 
10372
+ @pulumi.output_type
10373
+ class GetAppSpecFunctionBitbucketResult(dict):
10374
+ def __init__(__self__, *,
10375
+ branch: Optional[str] = None,
10376
+ deploy_on_push: Optional[bool] = None,
10377
+ repo: Optional[str] = None):
10378
+ """
10379
+ :param str branch: The name of the branch to use.
10380
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
10381
+ :param str repo: The name of the repo in the format `owner/repo`.
10382
+ """
10383
+ if branch is not None:
10384
+ pulumi.set(__self__, "branch", branch)
10385
+ if deploy_on_push is not None:
10386
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
10387
+ if repo is not None:
10388
+ pulumi.set(__self__, "repo", repo)
10389
+
10390
+ @property
10391
+ @pulumi.getter
10392
+ def branch(self) -> Optional[str]:
10393
+ """
10394
+ The name of the branch to use.
10395
+ """
10396
+ return pulumi.get(self, "branch")
10397
+
10398
+ @property
10399
+ @pulumi.getter(name="deployOnPush")
10400
+ def deploy_on_push(self) -> Optional[bool]:
10401
+ """
10402
+ Whether to automatically deploy new commits made to the repo.
10403
+ """
10404
+ return pulumi.get(self, "deploy_on_push")
10405
+
10406
+ @property
10407
+ @pulumi.getter
10408
+ def repo(self) -> Optional[str]:
10409
+ """
10410
+ The name of the repo in the format `owner/repo`.
10411
+ """
10412
+ return pulumi.get(self, "repo")
10413
+
10414
+
9953
10415
  @pulumi.output_type
9954
10416
  class GetAppSpecFunctionCorsResult(dict):
9955
10417
  def __init__(__self__, *,
@@ -10796,6 +11258,7 @@ class GetAppSpecJobResult(dict):
10796
11258
  def __init__(__self__, *,
10797
11259
  name: str,
10798
11260
  alerts: Optional[Sequence['outputs.GetAppSpecJobAlertResult']] = None,
11261
+ bitbucket: Optional['outputs.GetAppSpecJobBitbucketResult'] = None,
10799
11262
  build_command: Optional[str] = None,
10800
11263
  dockerfile_path: Optional[str] = None,
10801
11264
  environment_slug: Optional[str] = None,
@@ -10814,14 +11277,15 @@ class GetAppSpecJobResult(dict):
10814
11277
  """
10815
11278
  :param str name: The name of the component.
10816
11279
  :param Sequence['GetAppSpecJobAlertArgs'] alerts: Describes an alert policy for the component.
11280
+ :param 'GetAppSpecJobBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10817
11281
  :param str build_command: An optional build command to run while building this component from source.
10818
11282
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
10819
11283
  :param str environment_slug: An environment slug describing the type of this app.
10820
11284
  :param Sequence['GetAppSpecJobEnvArgs'] envs: Describes an environment variable made available to an app competent.
10821
11285
  :param 'GetAppSpecJobGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
10822
- :param 'GetAppSpecJobGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
10823
- :param 'GetAppSpecJobGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
10824
- :param 'GetAppSpecJobImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
11286
+ :param 'GetAppSpecJobGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11287
+ :param 'GetAppSpecJobGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11288
+ :param 'GetAppSpecJobImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10825
11289
  :param int instance_count: The amount of instances that this component should be scaled to.
10826
11290
  :param str instance_size_slug: The instance size to use for this component.
10827
11291
  :param str kind: The type of job and when it will be run during the deployment process. It may be one of:
@@ -10837,6 +11301,8 @@ class GetAppSpecJobResult(dict):
10837
11301
  pulumi.set(__self__, "name", name)
10838
11302
  if alerts is not None:
10839
11303
  pulumi.set(__self__, "alerts", alerts)
11304
+ if bitbucket is not None:
11305
+ pulumi.set(__self__, "bitbucket", bitbucket)
10840
11306
  if build_command is not None:
10841
11307
  pulumi.set(__self__, "build_command", build_command)
10842
11308
  if dockerfile_path is not None:
@@ -10884,6 +11350,14 @@ class GetAppSpecJobResult(dict):
10884
11350
  """
10885
11351
  return pulumi.get(self, "alerts")
10886
11352
 
11353
+ @property
11354
+ @pulumi.getter
11355
+ def bitbucket(self) -> Optional['outputs.GetAppSpecJobBitbucketResult']:
11356
+ """
11357
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11358
+ """
11359
+ return pulumi.get(self, "bitbucket")
11360
+
10887
11361
  @property
10888
11362
  @pulumi.getter(name="buildCommand")
10889
11363
  def build_command(self) -> Optional[str]:
@@ -10928,7 +11402,7 @@ class GetAppSpecJobResult(dict):
10928
11402
  @pulumi.getter
10929
11403
  def github(self) -> Optional['outputs.GetAppSpecJobGithubResult']:
10930
11404
  """
10931
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
11405
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10932
11406
  """
10933
11407
  return pulumi.get(self, "github")
10934
11408
 
@@ -10936,7 +11410,7 @@ class GetAppSpecJobResult(dict):
10936
11410
  @pulumi.getter
10937
11411
  def gitlab(self) -> Optional['outputs.GetAppSpecJobGitlabResult']:
10938
11412
  """
10939
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
11413
+ A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10940
11414
  """
10941
11415
  return pulumi.get(self, "gitlab")
10942
11416
 
@@ -10944,7 +11418,7 @@ class GetAppSpecJobResult(dict):
10944
11418
  @pulumi.getter
10945
11419
  def image(self) -> Optional['outputs.GetAppSpecJobImageResult']:
10946
11420
  """
10947
- An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
11421
+ An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
10948
11422
  """
10949
11423
  return pulumi.get(self, "image")
10950
11424
 
@@ -11072,6 +11546,49 @@ class GetAppSpecJobAlertResult(dict):
11072
11546
  return pulumi.get(self, "disabled")
11073
11547
 
11074
11548
 
11549
+ @pulumi.output_type
11550
+ class GetAppSpecJobBitbucketResult(dict):
11551
+ def __init__(__self__, *,
11552
+ branch: Optional[str] = None,
11553
+ deploy_on_push: Optional[bool] = None,
11554
+ repo: Optional[str] = None):
11555
+ """
11556
+ :param str branch: The name of the branch to use.
11557
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
11558
+ :param str repo: The name of the repo in the format `owner/repo`.
11559
+ """
11560
+ if branch is not None:
11561
+ pulumi.set(__self__, "branch", branch)
11562
+ if deploy_on_push is not None:
11563
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
11564
+ if repo is not None:
11565
+ pulumi.set(__self__, "repo", repo)
11566
+
11567
+ @property
11568
+ @pulumi.getter
11569
+ def branch(self) -> Optional[str]:
11570
+ """
11571
+ The name of the branch to use.
11572
+ """
11573
+ return pulumi.get(self, "branch")
11574
+
11575
+ @property
11576
+ @pulumi.getter(name="deployOnPush")
11577
+ def deploy_on_push(self) -> Optional[bool]:
11578
+ """
11579
+ Whether to automatically deploy new commits made to the repo.
11580
+ """
11581
+ return pulumi.get(self, "deploy_on_push")
11582
+
11583
+ @property
11584
+ @pulumi.getter
11585
+ def repo(self) -> Optional[str]:
11586
+ """
11587
+ The name of the repo in the format `owner/repo`.
11588
+ """
11589
+ return pulumi.get(self, "repo")
11590
+
11591
+
11075
11592
  @pulumi.output_type
11076
11593
  class GetAppSpecJobEnvResult(dict):
11077
11594
  def __init__(__self__, *,
@@ -11596,6 +12113,7 @@ class GetAppSpecServiceResult(dict):
11596
12113
  run_command: str,
11597
12114
  alerts: Optional[Sequence['outputs.GetAppSpecServiceAlertResult']] = None,
11598
12115
  autoscaling: Optional['outputs.GetAppSpecServiceAutoscalingResult'] = None,
12116
+ bitbucket: Optional['outputs.GetAppSpecServiceBitbucketResult'] = None,
11599
12117
  build_command: Optional[str] = None,
11600
12118
  cors: Optional['outputs.GetAppSpecServiceCorsResult'] = None,
11601
12119
  dockerfile_path: Optional[str] = None,
@@ -11618,16 +12136,17 @@ class GetAppSpecServiceResult(dict):
11618
12136
  :param str run_command: An optional run command to override the component's default.
11619
12137
  :param Sequence['GetAppSpecServiceAlertArgs'] alerts: Describes an alert policy for the component.
11620
12138
  :param 'GetAppSpecServiceAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
12139
+ :param 'GetAppSpecServiceBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11621
12140
  :param str build_command: An optional build command to run while building this component from source.
11622
12141
  :param 'GetAppSpecServiceCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
11623
12142
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
11624
12143
  :param str environment_slug: An environment slug describing the type of this app.
11625
12144
  :param Sequence['GetAppSpecServiceEnvArgs'] envs: Describes an environment variable made available to an app competent.
11626
12145
  :param 'GetAppSpecServiceGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
11627
- :param 'GetAppSpecServiceGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
11628
- :param 'GetAppSpecServiceGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
12146
+ :param 'GetAppSpecServiceGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12147
+ :param 'GetAppSpecServiceGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11629
12148
  :param 'GetAppSpecServiceHealthCheckArgs' health_check: A health check to determine the availability of this component.
11630
- :param 'GetAppSpecServiceImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
12149
+ :param 'GetAppSpecServiceImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11631
12150
  :param int instance_count: The amount of instances that this component should be scaled to.
11632
12151
  :param str instance_size_slug: The instance size to use for this component.
11633
12152
  :param Sequence['GetAppSpecServiceLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
@@ -11643,6 +12162,8 @@ class GetAppSpecServiceResult(dict):
11643
12162
  pulumi.set(__self__, "alerts", alerts)
11644
12163
  if autoscaling is not None:
11645
12164
  pulumi.set(__self__, "autoscaling", autoscaling)
12165
+ if bitbucket is not None:
12166
+ pulumi.set(__self__, "bitbucket", bitbucket)
11646
12167
  if build_command is not None:
11647
12168
  pulumi.set(__self__, "build_command", build_command)
11648
12169
  if cors is not None:
@@ -11728,6 +12249,14 @@ class GetAppSpecServiceResult(dict):
11728
12249
  """
11729
12250
  return pulumi.get(self, "autoscaling")
11730
12251
 
12252
+ @property
12253
+ @pulumi.getter
12254
+ def bitbucket(self) -> Optional['outputs.GetAppSpecServiceBitbucketResult']:
12255
+ """
12256
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12257
+ """
12258
+ return pulumi.get(self, "bitbucket")
12259
+
11731
12260
  @property
11732
12261
  @pulumi.getter(name="buildCommand")
11733
12262
  def build_command(self) -> Optional[str]:
@@ -11781,7 +12310,7 @@ class GetAppSpecServiceResult(dict):
11781
12310
  @pulumi.getter
11782
12311
  def github(self) -> Optional['outputs.GetAppSpecServiceGithubResult']:
11783
12312
  """
11784
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
12313
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11785
12314
  """
11786
12315
  return pulumi.get(self, "github")
11787
12316
 
@@ -11789,7 +12318,7 @@ class GetAppSpecServiceResult(dict):
11789
12318
  @pulumi.getter
11790
12319
  def gitlab(self) -> Optional['outputs.GetAppSpecServiceGitlabResult']:
11791
12320
  """
11792
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
12321
+ A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11793
12322
  """
11794
12323
  return pulumi.get(self, "gitlab")
11795
12324
 
@@ -11805,7 +12334,7 @@ class GetAppSpecServiceResult(dict):
11805
12334
  @pulumi.getter
11806
12335
  def image(self) -> Optional['outputs.GetAppSpecServiceImageResult']:
11807
12336
  """
11808
- An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
12337
+ An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
11809
12338
  """
11810
12339
  return pulumi.get(self, "image")
11811
12340
 
@@ -11990,6 +12519,49 @@ class GetAppSpecServiceAutoscalingMetricsCpuResult(dict):
11990
12519
  return pulumi.get(self, "percent")
11991
12520
 
11992
12521
 
12522
+ @pulumi.output_type
12523
+ class GetAppSpecServiceBitbucketResult(dict):
12524
+ def __init__(__self__, *,
12525
+ branch: Optional[str] = None,
12526
+ deploy_on_push: Optional[bool] = None,
12527
+ repo: Optional[str] = None):
12528
+ """
12529
+ :param str branch: The name of the branch to use.
12530
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
12531
+ :param str repo: The name of the repo in the format `owner/repo`.
12532
+ """
12533
+ if branch is not None:
12534
+ pulumi.set(__self__, "branch", branch)
12535
+ if deploy_on_push is not None:
12536
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
12537
+ if repo is not None:
12538
+ pulumi.set(__self__, "repo", repo)
12539
+
12540
+ @property
12541
+ @pulumi.getter
12542
+ def branch(self) -> Optional[str]:
12543
+ """
12544
+ The name of the branch to use.
12545
+ """
12546
+ return pulumi.get(self, "branch")
12547
+
12548
+ @property
12549
+ @pulumi.getter(name="deployOnPush")
12550
+ def deploy_on_push(self) -> Optional[bool]:
12551
+ """
12552
+ Whether to automatically deploy new commits made to the repo.
12553
+ """
12554
+ return pulumi.get(self, "deploy_on_push")
12555
+
12556
+ @property
12557
+ @pulumi.getter
12558
+ def repo(self) -> Optional[str]:
12559
+ """
12560
+ The name of the repo in the format `owner/repo`.
12561
+ """
12562
+ return pulumi.get(self, "repo")
12563
+
12564
+
11993
12565
  @pulumi.output_type
11994
12566
  class GetAppSpecServiceCorsResult(dict):
11995
12567
  def __init__(__self__, *,
@@ -12766,6 +13338,7 @@ class GetAppSpecStaticSiteResult(dict):
12766
13338
  def __init__(__self__, *,
12767
13339
  name: str,
12768
13340
  routes: Sequence['outputs.GetAppSpecStaticSiteRouteResult'],
13341
+ bitbucket: Optional['outputs.GetAppSpecStaticSiteBitbucketResult'] = None,
12769
13342
  build_command: Optional[str] = None,
12770
13343
  catchall_document: Optional[str] = None,
12771
13344
  cors: Optional['outputs.GetAppSpecStaticSiteCorsResult'] = None,
@@ -12781,6 +13354,7 @@ class GetAppSpecStaticSiteResult(dict):
12781
13354
  source_dir: Optional[str] = None):
12782
13355
  """
12783
13356
  :param str name: The name of the component.
13357
+ :param 'GetAppSpecStaticSiteBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12784
13358
  :param str build_command: An optional build command to run while building this component from source.
12785
13359
  :param str catchall_document: The name of the document to use as the fallback for any requests to documents that are not found when serving this static site.
12786
13360
  :param 'GetAppSpecStaticSiteCorsArgs' cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
@@ -12789,14 +13363,16 @@ class GetAppSpecStaticSiteResult(dict):
12789
13363
  :param Sequence['GetAppSpecStaticSiteEnvArgs'] envs: Describes an environment variable made available to an app competent.
12790
13364
  :param str error_document: The name of the error document to use when serving this static site.
12791
13365
  :param 'GetAppSpecStaticSiteGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
12792
- :param 'GetAppSpecStaticSiteGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
12793
- :param 'GetAppSpecStaticSiteGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
13366
+ :param 'GetAppSpecStaticSiteGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13367
+ :param 'GetAppSpecStaticSiteGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12794
13368
  :param str index_document: The name of the index document to use when serving this static site.
12795
13369
  :param str output_dir: An optional path to where the built assets will be located, relative to the build context. If not set, App Platform will automatically scan for these directory names: `_static`, `dist`, `public`.
12796
13370
  :param str source_dir: An optional path to the working directory to use for the build.
12797
13371
  """
12798
13372
  pulumi.set(__self__, "name", name)
12799
13373
  pulumi.set(__self__, "routes", routes)
13374
+ if bitbucket is not None:
13375
+ pulumi.set(__self__, "bitbucket", bitbucket)
12800
13376
  if build_command is not None:
12801
13377
  pulumi.set(__self__, "build_command", build_command)
12802
13378
  if catchall_document is not None:
@@ -12838,6 +13414,14 @@ class GetAppSpecStaticSiteResult(dict):
12838
13414
  def routes(self) -> Sequence['outputs.GetAppSpecStaticSiteRouteResult']:
12839
13415
  return pulumi.get(self, "routes")
12840
13416
 
13417
+ @property
13418
+ @pulumi.getter
13419
+ def bitbucket(self) -> Optional['outputs.GetAppSpecStaticSiteBitbucketResult']:
13420
+ """
13421
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13422
+ """
13423
+ return pulumi.get(self, "bitbucket")
13424
+
12841
13425
  @property
12842
13426
  @pulumi.getter(name="buildCommand")
12843
13427
  def build_command(self) -> Optional[str]:
@@ -12907,7 +13491,7 @@ class GetAppSpecStaticSiteResult(dict):
12907
13491
  @pulumi.getter
12908
13492
  def github(self) -> Optional['outputs.GetAppSpecStaticSiteGithubResult']:
12909
13493
  """
12910
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
13494
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12911
13495
  """
12912
13496
  return pulumi.get(self, "github")
12913
13497
 
@@ -12915,7 +13499,7 @@ class GetAppSpecStaticSiteResult(dict):
12915
13499
  @pulumi.getter
12916
13500
  def gitlab(self) -> Optional['outputs.GetAppSpecStaticSiteGitlabResult']:
12917
13501
  """
12918
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
13502
+ A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
12919
13503
  """
12920
13504
  return pulumi.get(self, "gitlab")
12921
13505
 
@@ -12944,6 +13528,49 @@ class GetAppSpecStaticSiteResult(dict):
12944
13528
  return pulumi.get(self, "source_dir")
12945
13529
 
12946
13530
 
13531
+ @pulumi.output_type
13532
+ class GetAppSpecStaticSiteBitbucketResult(dict):
13533
+ def __init__(__self__, *,
13534
+ branch: Optional[str] = None,
13535
+ deploy_on_push: Optional[bool] = None,
13536
+ repo: Optional[str] = None):
13537
+ """
13538
+ :param str branch: The name of the branch to use.
13539
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
13540
+ :param str repo: The name of the repo in the format `owner/repo`.
13541
+ """
13542
+ if branch is not None:
13543
+ pulumi.set(__self__, "branch", branch)
13544
+ if deploy_on_push is not None:
13545
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
13546
+ if repo is not None:
13547
+ pulumi.set(__self__, "repo", repo)
13548
+
13549
+ @property
13550
+ @pulumi.getter
13551
+ def branch(self) -> Optional[str]:
13552
+ """
13553
+ The name of the branch to use.
13554
+ """
13555
+ return pulumi.get(self, "branch")
13556
+
13557
+ @property
13558
+ @pulumi.getter(name="deployOnPush")
13559
+ def deploy_on_push(self) -> Optional[bool]:
13560
+ """
13561
+ Whether to automatically deploy new commits made to the repo.
13562
+ """
13563
+ return pulumi.get(self, "deploy_on_push")
13564
+
13565
+ @property
13566
+ @pulumi.getter
13567
+ def repo(self) -> Optional[str]:
13568
+ """
13569
+ The name of the repo in the format `owner/repo`.
13570
+ """
13571
+ return pulumi.get(self, "repo")
13572
+
13573
+
12947
13574
  @pulumi.output_type
12948
13575
  class GetAppSpecStaticSiteCorsResult(dict):
12949
13576
  def __init__(__self__, *,
@@ -13275,6 +13902,7 @@ class GetAppSpecWorkerResult(dict):
13275
13902
  name: str,
13276
13903
  alerts: Optional[Sequence['outputs.GetAppSpecWorkerAlertResult']] = None,
13277
13904
  autoscaling: Optional['outputs.GetAppSpecWorkerAutoscalingResult'] = None,
13905
+ bitbucket: Optional['outputs.GetAppSpecWorkerBitbucketResult'] = None,
13278
13906
  build_command: Optional[str] = None,
13279
13907
  dockerfile_path: Optional[str] = None,
13280
13908
  environment_slug: Optional[str] = None,
@@ -13293,14 +13921,15 @@ class GetAppSpecWorkerResult(dict):
13293
13921
  :param str name: The name of the component.
13294
13922
  :param Sequence['GetAppSpecWorkerAlertArgs'] alerts: Describes an alert policy for the component.
13295
13923
  :param 'GetAppSpecWorkerAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
13924
+ :param 'GetAppSpecWorkerBitbucketArgs' bitbucket: A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13296
13925
  :param str build_command: An optional build command to run while building this component from source.
13297
13926
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
13298
13927
  :param str environment_slug: An environment slug describing the type of this app.
13299
13928
  :param Sequence['GetAppSpecWorkerEnvArgs'] envs: Describes an environment variable made available to an app competent.
13300
13929
  :param 'GetAppSpecWorkerGitArgs' git: A Git repo to use as the component's source. The repository must be able to be cloned without authentication. Only one of `git`, `github` or `gitlab` may be set.
13301
- :param 'GetAppSpecWorkerGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
13302
- :param 'GetAppSpecWorkerGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
13303
- :param 'GetAppSpecWorkerImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
13930
+ :param 'GetAppSpecWorkerGithubArgs' github: A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13931
+ :param 'GetAppSpecWorkerGitlabArgs' gitlab: A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13932
+ :param 'GetAppSpecWorkerImageArgs' image: An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13304
13933
  :param int instance_count: The amount of instances that this component should be scaled to.
13305
13934
  :param str instance_size_slug: The instance size to use for this component.
13306
13935
  :param Sequence['GetAppSpecWorkerLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
@@ -13313,6 +13942,8 @@ class GetAppSpecWorkerResult(dict):
13313
13942
  pulumi.set(__self__, "alerts", alerts)
13314
13943
  if autoscaling is not None:
13315
13944
  pulumi.set(__self__, "autoscaling", autoscaling)
13945
+ if bitbucket is not None:
13946
+ pulumi.set(__self__, "bitbucket", bitbucket)
13316
13947
  if build_command is not None:
13317
13948
  pulumi.set(__self__, "build_command", build_command)
13318
13949
  if dockerfile_path is not None:
@@ -13366,6 +13997,14 @@ class GetAppSpecWorkerResult(dict):
13366
13997
  """
13367
13998
  return pulumi.get(self, "autoscaling")
13368
13999
 
14000
+ @property
14001
+ @pulumi.getter
14002
+ def bitbucket(self) -> Optional['outputs.GetAppSpecWorkerBitbucketResult']:
14003
+ """
14004
+ A Bitbucket repo to use as component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
14005
+ """
14006
+ return pulumi.get(self, "bitbucket")
14007
+
13369
14008
  @property
13370
14009
  @pulumi.getter(name="buildCommand")
13371
14010
  def build_command(self) -> Optional[str]:
@@ -13410,7 +14049,7 @@ class GetAppSpecWorkerResult(dict):
13410
14049
  @pulumi.getter
13411
14050
  def github(self) -> Optional['outputs.GetAppSpecWorkerGithubResult']:
13412
14051
  """
13413
- A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
14052
+ A GitHub repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/github/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13414
14053
  """
13415
14054
  return pulumi.get(self, "github")
13416
14055
 
@@ -13418,7 +14057,7 @@ class GetAppSpecWorkerResult(dict):
13418
14057
  @pulumi.getter
13419
14058
  def gitlab(self) -> Optional['outputs.GetAppSpecWorkerGitlabResult']:
13420
14059
  """
13421
- A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `gitlab`, or `image` may be set.
14060
+ A Gitlab repo to use as the component's source. DigitalOcean App Platform must have [access to the repository](https://cloud.digitalocean.com/apps/gitlab/install). Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13422
14061
  """
13423
14062
  return pulumi.get(self, "gitlab")
13424
14063
 
@@ -13426,7 +14065,7 @@ class GetAppSpecWorkerResult(dict):
13426
14065
  @pulumi.getter
13427
14066
  def image(self) -> Optional['outputs.GetAppSpecWorkerImageResult']:
13428
14067
  """
13429
- An image to use as the component's source. Only one of `git`, `github`, `gitlab`, or `image` may be set.
14068
+ An image to use as the component's source. Only one of `git`, `github`, `bitbucket`, `gitlab`, or `image` may be set.
13430
14069
  """
13431
14070
  return pulumi.get(self, "image")
13432
14071
 
@@ -13619,6 +14258,49 @@ class GetAppSpecWorkerAutoscalingMetricsCpuResult(dict):
13619
14258
  return pulumi.get(self, "percent")
13620
14259
 
13621
14260
 
14261
+ @pulumi.output_type
14262
+ class GetAppSpecWorkerBitbucketResult(dict):
14263
+ def __init__(__self__, *,
14264
+ branch: Optional[str] = None,
14265
+ deploy_on_push: Optional[bool] = None,
14266
+ repo: Optional[str] = None):
14267
+ """
14268
+ :param str branch: The name of the branch to use.
14269
+ :param bool deploy_on_push: Whether to automatically deploy new commits made to the repo.
14270
+ :param str repo: The name of the repo in the format `owner/repo`.
14271
+ """
14272
+ if branch is not None:
14273
+ pulumi.set(__self__, "branch", branch)
14274
+ if deploy_on_push is not None:
14275
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
14276
+ if repo is not None:
14277
+ pulumi.set(__self__, "repo", repo)
14278
+
14279
+ @property
14280
+ @pulumi.getter
14281
+ def branch(self) -> Optional[str]:
14282
+ """
14283
+ The name of the branch to use.
14284
+ """
14285
+ return pulumi.get(self, "branch")
14286
+
14287
+ @property
14288
+ @pulumi.getter(name="deployOnPush")
14289
+ def deploy_on_push(self) -> Optional[bool]:
14290
+ """
14291
+ Whether to automatically deploy new commits made to the repo.
14292
+ """
14293
+ return pulumi.get(self, "deploy_on_push")
14294
+
14295
+ @property
14296
+ @pulumi.getter
14297
+ def repo(self) -> Optional[str]:
14298
+ """
14299
+ The name of the repo in the format `owner/repo`.
14300
+ """
14301
+ return pulumi.get(self, "repo")
14302
+
14303
+
13622
14304
  @pulumi.output_type
13623
14305
  class GetAppSpecWorkerEnvResult(dict):
13624
14306
  def __init__(__self__, *,