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

@@ -34,6 +34,8 @@ __all__ = [
34
34
  'AppSpecFunctionArgsDict',
35
35
  'AppSpecFunctionAlertArgs',
36
36
  'AppSpecFunctionAlertArgsDict',
37
+ 'AppSpecFunctionBitbucketArgs',
38
+ 'AppSpecFunctionBitbucketArgsDict',
37
39
  'AppSpecFunctionCorsArgs',
38
40
  'AppSpecFunctionCorsArgsDict',
39
41
  'AppSpecFunctionCorsAllowOriginsArgs',
@@ -80,6 +82,8 @@ __all__ = [
80
82
  'AppSpecJobArgsDict',
81
83
  'AppSpecJobAlertArgs',
82
84
  'AppSpecJobAlertArgsDict',
85
+ 'AppSpecJobBitbucketArgs',
86
+ 'AppSpecJobBitbucketArgsDict',
83
87
  'AppSpecJobEnvArgs',
84
88
  'AppSpecJobEnvArgsDict',
85
89
  'AppSpecJobGitArgs',
@@ -116,6 +120,8 @@ __all__ = [
116
120
  'AppSpecServiceAutoscalingMetricsArgsDict',
117
121
  'AppSpecServiceAutoscalingMetricsCpuArgs',
118
122
  'AppSpecServiceAutoscalingMetricsCpuArgsDict',
123
+ 'AppSpecServiceBitbucketArgs',
124
+ 'AppSpecServiceBitbucketArgsDict',
119
125
  'AppSpecServiceCorsArgs',
120
126
  'AppSpecServiceCorsArgsDict',
121
127
  'AppSpecServiceCorsAllowOriginsArgs',
@@ -152,6 +158,8 @@ __all__ = [
152
158
  'AppSpecServiceTerminationArgsDict',
153
159
  'AppSpecStaticSiteArgs',
154
160
  'AppSpecStaticSiteArgsDict',
161
+ 'AppSpecStaticSiteBitbucketArgs',
162
+ 'AppSpecStaticSiteBitbucketArgsDict',
155
163
  'AppSpecStaticSiteCorsArgs',
156
164
  'AppSpecStaticSiteCorsArgsDict',
157
165
  'AppSpecStaticSiteCorsAllowOriginsArgs',
@@ -176,6 +184,8 @@ __all__ = [
176
184
  'AppSpecWorkerAutoscalingMetricsArgsDict',
177
185
  'AppSpecWorkerAutoscalingMetricsCpuArgs',
178
186
  'AppSpecWorkerAutoscalingMetricsCpuArgsDict',
187
+ 'AppSpecWorkerBitbucketArgs',
188
+ 'AppSpecWorkerBitbucketArgsDict',
179
189
  'AppSpecWorkerEnvArgs',
180
190
  'AppSpecWorkerEnvArgsDict',
181
191
  'AppSpecWorkerGitArgs',
@@ -234,6 +244,8 @@ __all__ = [
234
244
  'FirewallOutboundRuleArgsDict',
235
245
  'FirewallPendingChangeArgs',
236
246
  'FirewallPendingChangeArgsDict',
247
+ 'KubernetesClusterControlPlaneFirewallArgs',
248
+ 'KubernetesClusterControlPlaneFirewallArgsDict',
237
249
  'KubernetesClusterKubeConfigArgs',
238
250
  'KubernetesClusterKubeConfigArgsDict',
239
251
  'KubernetesClusterMaintenancePolicyArgs',
@@ -1113,6 +1125,10 @@ if not MYPY:
1113
1125
  """
1114
1126
  Describes an alert policy for the component.
1115
1127
  """
1128
+ bitbucket: NotRequired[pulumi.Input['AppSpecFunctionBitbucketArgsDict']]
1129
+ """
1130
+ 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.
1131
+ """
1116
1132
  cors: NotRequired[pulumi.Input['AppSpecFunctionCorsArgsDict']]
1117
1133
  """
1118
1134
  The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
@@ -1153,6 +1169,7 @@ class AppSpecFunctionArgs:
1153
1169
  def __init__(__self__, *,
1154
1170
  name: pulumi.Input[str],
1155
1171
  alerts: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecFunctionAlertArgs']]]] = None,
1172
+ bitbucket: Optional[pulumi.Input['AppSpecFunctionBitbucketArgs']] = None,
1156
1173
  cors: Optional[pulumi.Input['AppSpecFunctionCorsArgs']] = None,
1157
1174
  envs: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecFunctionEnvArgs']]]] = None,
1158
1175
  git: Optional[pulumi.Input['AppSpecFunctionGitArgs']] = None,
@@ -1164,6 +1181,7 @@ class AppSpecFunctionArgs:
1164
1181
  """
1165
1182
  :param pulumi.Input[str] name: The name of the component.
1166
1183
  :param pulumi.Input[Sequence[pulumi.Input['AppSpecFunctionAlertArgs']]] alerts: Describes an alert policy for the component.
1184
+ :param pulumi.Input['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.
1167
1185
  :param pulumi.Input['AppSpecFunctionCorsArgs'] cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
1168
1186
  :param pulumi.Input[Sequence[pulumi.Input['AppSpecFunctionEnvArgs']]] envs: Describes an environment variable made available to an app competent.
1169
1187
  :param pulumi.Input['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.
@@ -1176,6 +1194,8 @@ class AppSpecFunctionArgs:
1176
1194
  pulumi.set(__self__, "name", name)
1177
1195
  if alerts is not None:
1178
1196
  pulumi.set(__self__, "alerts", alerts)
1197
+ if bitbucket is not None:
1198
+ pulumi.set(__self__, "bitbucket", bitbucket)
1179
1199
  if cors is not None:
1180
1200
  warnings.warn("""Service level CORS rules are deprecated in favor of ingresses""", DeprecationWarning)
1181
1201
  pulumi.log.warn("""cors is deprecated: Service level CORS rules are deprecated in favor of ingresses""")
@@ -1223,6 +1243,18 @@ class AppSpecFunctionArgs:
1223
1243
  def alerts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecFunctionAlertArgs']]]]):
1224
1244
  pulumi.set(self, "alerts", value)
1225
1245
 
1246
+ @property
1247
+ @pulumi.getter
1248
+ def bitbucket(self) -> Optional[pulumi.Input['AppSpecFunctionBitbucketArgs']]:
1249
+ """
1250
+ 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.
1251
+ """
1252
+ return pulumi.get(self, "bitbucket")
1253
+
1254
+ @bitbucket.setter
1255
+ def bitbucket(self, value: Optional[pulumi.Input['AppSpecFunctionBitbucketArgs']]):
1256
+ pulumi.set(self, "bitbucket", value)
1257
+
1226
1258
  @property
1227
1259
  @pulumi.getter
1228
1260
  @_utilities.deprecated("""Service level CORS rules are deprecated in favor of ingresses""")
@@ -1430,6 +1462,78 @@ class AppSpecFunctionAlertArgs:
1430
1462
  pulumi.set(self, "disabled", value)
1431
1463
 
1432
1464
 
1465
+ if not MYPY:
1466
+ class AppSpecFunctionBitbucketArgsDict(TypedDict):
1467
+ branch: NotRequired[pulumi.Input[str]]
1468
+ """
1469
+ The name of the branch to use.
1470
+ """
1471
+ deploy_on_push: NotRequired[pulumi.Input[bool]]
1472
+ """
1473
+ Whether to automatically deploy new commits made to the repo.
1474
+ """
1475
+ repo: NotRequired[pulumi.Input[str]]
1476
+ """
1477
+ The name of the repo in the format `owner/repo`.
1478
+ """
1479
+ elif False:
1480
+ AppSpecFunctionBitbucketArgsDict: TypeAlias = Mapping[str, Any]
1481
+
1482
+ @pulumi.input_type
1483
+ class AppSpecFunctionBitbucketArgs:
1484
+ def __init__(__self__, *,
1485
+ branch: Optional[pulumi.Input[str]] = None,
1486
+ deploy_on_push: Optional[pulumi.Input[bool]] = None,
1487
+ repo: Optional[pulumi.Input[str]] = None):
1488
+ """
1489
+ :param pulumi.Input[str] branch: The name of the branch to use.
1490
+ :param pulumi.Input[bool] deploy_on_push: Whether to automatically deploy new commits made to the repo.
1491
+ :param pulumi.Input[str] repo: The name of the repo in the format `owner/repo`.
1492
+ """
1493
+ if branch is not None:
1494
+ pulumi.set(__self__, "branch", branch)
1495
+ if deploy_on_push is not None:
1496
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
1497
+ if repo is not None:
1498
+ pulumi.set(__self__, "repo", repo)
1499
+
1500
+ @property
1501
+ @pulumi.getter
1502
+ def branch(self) -> Optional[pulumi.Input[str]]:
1503
+ """
1504
+ The name of the branch to use.
1505
+ """
1506
+ return pulumi.get(self, "branch")
1507
+
1508
+ @branch.setter
1509
+ def branch(self, value: Optional[pulumi.Input[str]]):
1510
+ pulumi.set(self, "branch", value)
1511
+
1512
+ @property
1513
+ @pulumi.getter(name="deployOnPush")
1514
+ def deploy_on_push(self) -> Optional[pulumi.Input[bool]]:
1515
+ """
1516
+ Whether to automatically deploy new commits made to the repo.
1517
+ """
1518
+ return pulumi.get(self, "deploy_on_push")
1519
+
1520
+ @deploy_on_push.setter
1521
+ def deploy_on_push(self, value: Optional[pulumi.Input[bool]]):
1522
+ pulumi.set(self, "deploy_on_push", value)
1523
+
1524
+ @property
1525
+ @pulumi.getter
1526
+ def repo(self) -> Optional[pulumi.Input[str]]:
1527
+ """
1528
+ The name of the repo in the format `owner/repo`.
1529
+ """
1530
+ return pulumi.get(self, "repo")
1531
+
1532
+ @repo.setter
1533
+ def repo(self, value: Optional[pulumi.Input[str]]):
1534
+ pulumi.set(self, "repo", value)
1535
+
1536
+
1433
1537
  if not MYPY:
1434
1538
  class AppSpecFunctionCorsArgsDict(TypedDict):
1435
1539
  allow_credentials: NotRequired[pulumi.Input[bool]]
@@ -2935,6 +3039,10 @@ if not MYPY:
2935
3039
  """
2936
3040
  Describes an alert policy for the component.
2937
3041
  """
3042
+ bitbucket: NotRequired[pulumi.Input['AppSpecJobBitbucketArgsDict']]
3043
+ """
3044
+ 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.
3045
+ """
2938
3046
  build_command: NotRequired[pulumi.Input[str]]
2939
3047
  """
2940
3048
  An optional build command to run while building this component from source.
@@ -3007,6 +3115,7 @@ class AppSpecJobArgs:
3007
3115
  def __init__(__self__, *,
3008
3116
  name: pulumi.Input[str],
3009
3117
  alerts: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecJobAlertArgs']]]] = None,
3118
+ bitbucket: Optional[pulumi.Input['AppSpecJobBitbucketArgs']] = None,
3010
3119
  build_command: Optional[pulumi.Input[str]] = None,
3011
3120
  dockerfile_path: Optional[pulumi.Input[str]] = None,
3012
3121
  environment_slug: Optional[pulumi.Input[str]] = None,
@@ -3025,6 +3134,7 @@ class AppSpecJobArgs:
3025
3134
  """
3026
3135
  :param pulumi.Input[str] name: The name of the component.
3027
3136
  :param pulumi.Input[Sequence[pulumi.Input['AppSpecJobAlertArgs']]] alerts: Describes an alert policy for the component.
3137
+ :param pulumi.Input['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.
3028
3138
  :param pulumi.Input[str] build_command: An optional build command to run while building this component from source.
3029
3139
  :param pulumi.Input[str] dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
3030
3140
  :param pulumi.Input[str] environment_slug: An environment slug describing the type of this app.
@@ -3048,6 +3158,8 @@ class AppSpecJobArgs:
3048
3158
  pulumi.set(__self__, "name", name)
3049
3159
  if alerts is not None:
3050
3160
  pulumi.set(__self__, "alerts", alerts)
3161
+ if bitbucket is not None:
3162
+ pulumi.set(__self__, "bitbucket", bitbucket)
3051
3163
  if build_command is not None:
3052
3164
  pulumi.set(__self__, "build_command", build_command)
3053
3165
  if dockerfile_path is not None:
@@ -3103,6 +3215,18 @@ class AppSpecJobArgs:
3103
3215
  def alerts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecJobAlertArgs']]]]):
3104
3216
  pulumi.set(self, "alerts", value)
3105
3217
 
3218
+ @property
3219
+ @pulumi.getter
3220
+ def bitbucket(self) -> Optional[pulumi.Input['AppSpecJobBitbucketArgs']]:
3221
+ """
3222
+ 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.
3223
+ """
3224
+ return pulumi.get(self, "bitbucket")
3225
+
3226
+ @bitbucket.setter
3227
+ def bitbucket(self, value: Optional[pulumi.Input['AppSpecJobBitbucketArgs']]):
3228
+ pulumi.set(self, "bitbucket", value)
3229
+
3106
3230
  @property
3107
3231
  @pulumi.getter(name="buildCommand")
3108
3232
  def build_command(self) -> Optional[pulumi.Input[str]]:
@@ -3396,6 +3520,78 @@ class AppSpecJobAlertArgs:
3396
3520
  pulumi.set(self, "disabled", value)
3397
3521
 
3398
3522
 
3523
+ if not MYPY:
3524
+ class AppSpecJobBitbucketArgsDict(TypedDict):
3525
+ branch: NotRequired[pulumi.Input[str]]
3526
+ """
3527
+ The name of the branch to use.
3528
+ """
3529
+ deploy_on_push: NotRequired[pulumi.Input[bool]]
3530
+ """
3531
+ Whether to automatically deploy new commits made to the repo.
3532
+ """
3533
+ repo: NotRequired[pulumi.Input[str]]
3534
+ """
3535
+ The name of the repo in the format `owner/repo`.
3536
+ """
3537
+ elif False:
3538
+ AppSpecJobBitbucketArgsDict: TypeAlias = Mapping[str, Any]
3539
+
3540
+ @pulumi.input_type
3541
+ class AppSpecJobBitbucketArgs:
3542
+ def __init__(__self__, *,
3543
+ branch: Optional[pulumi.Input[str]] = None,
3544
+ deploy_on_push: Optional[pulumi.Input[bool]] = None,
3545
+ repo: Optional[pulumi.Input[str]] = None):
3546
+ """
3547
+ :param pulumi.Input[str] branch: The name of the branch to use.
3548
+ :param pulumi.Input[bool] deploy_on_push: Whether to automatically deploy new commits made to the repo.
3549
+ :param pulumi.Input[str] repo: The name of the repo in the format `owner/repo`.
3550
+ """
3551
+ if branch is not None:
3552
+ pulumi.set(__self__, "branch", branch)
3553
+ if deploy_on_push is not None:
3554
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
3555
+ if repo is not None:
3556
+ pulumi.set(__self__, "repo", repo)
3557
+
3558
+ @property
3559
+ @pulumi.getter
3560
+ def branch(self) -> Optional[pulumi.Input[str]]:
3561
+ """
3562
+ The name of the branch to use.
3563
+ """
3564
+ return pulumi.get(self, "branch")
3565
+
3566
+ @branch.setter
3567
+ def branch(self, value: Optional[pulumi.Input[str]]):
3568
+ pulumi.set(self, "branch", value)
3569
+
3570
+ @property
3571
+ @pulumi.getter(name="deployOnPush")
3572
+ def deploy_on_push(self) -> Optional[pulumi.Input[bool]]:
3573
+ """
3574
+ Whether to automatically deploy new commits made to the repo.
3575
+ """
3576
+ return pulumi.get(self, "deploy_on_push")
3577
+
3578
+ @deploy_on_push.setter
3579
+ def deploy_on_push(self, value: Optional[pulumi.Input[bool]]):
3580
+ pulumi.set(self, "deploy_on_push", value)
3581
+
3582
+ @property
3583
+ @pulumi.getter
3584
+ def repo(self) -> Optional[pulumi.Input[str]]:
3585
+ """
3586
+ The name of the repo in the format `owner/repo`.
3587
+ """
3588
+ return pulumi.get(self, "repo")
3589
+
3590
+ @repo.setter
3591
+ def repo(self, value: Optional[pulumi.Input[str]]):
3592
+ pulumi.set(self, "repo", value)
3593
+
3594
+
3399
3595
  if not MYPY:
3400
3596
  class AppSpecJobEnvArgsDict(TypedDict):
3401
3597
  key: NotRequired[pulumi.Input[str]]
@@ -4285,6 +4481,10 @@ if not MYPY:
4285
4481
  """
4286
4482
  Configuration for automatically scaling this component based on metrics.
4287
4483
  """
4484
+ bitbucket: NotRequired[pulumi.Input['AppSpecServiceBitbucketArgsDict']]
4485
+ """
4486
+ 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.
4487
+ """
4288
4488
  build_command: NotRequired[pulumi.Input[str]]
4289
4489
  """
4290
4490
  An optional build command to run while building this component from source.
@@ -4370,6 +4570,7 @@ class AppSpecServiceArgs:
4370
4570
  name: pulumi.Input[str],
4371
4571
  alerts: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecServiceAlertArgs']]]] = None,
4372
4572
  autoscaling: Optional[pulumi.Input['AppSpecServiceAutoscalingArgs']] = None,
4573
+ bitbucket: Optional[pulumi.Input['AppSpecServiceBitbucketArgs']] = None,
4373
4574
  build_command: Optional[pulumi.Input[str]] = None,
4374
4575
  cors: Optional[pulumi.Input['AppSpecServiceCorsArgs']] = None,
4375
4576
  dockerfile_path: Optional[pulumi.Input[str]] = None,
@@ -4393,6 +4594,7 @@ class AppSpecServiceArgs:
4393
4594
  :param pulumi.Input[str] name: The name of the component.
4394
4595
  :param pulumi.Input[Sequence[pulumi.Input['AppSpecServiceAlertArgs']]] alerts: Describes an alert policy for the component.
4395
4596
  :param pulumi.Input['AppSpecServiceAutoscalingArgs'] autoscaling: Configuration for automatically scaling this component based on metrics.
4597
+ :param pulumi.Input['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.
4396
4598
  :param pulumi.Input[str] build_command: An optional build command to run while building this component from source.
4397
4599
  :param pulumi.Input['AppSpecServiceCorsArgs'] cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
4398
4600
  :param pulumi.Input[str] dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
@@ -4418,6 +4620,8 @@ class AppSpecServiceArgs:
4418
4620
  pulumi.set(__self__, "alerts", alerts)
4419
4621
  if autoscaling is not None:
4420
4622
  pulumi.set(__self__, "autoscaling", autoscaling)
4623
+ if bitbucket is not None:
4624
+ pulumi.set(__self__, "bitbucket", bitbucket)
4421
4625
  if build_command is not None:
4422
4626
  pulumi.set(__self__, "build_command", build_command)
4423
4627
  if cors is not None:
@@ -4499,6 +4703,18 @@ class AppSpecServiceArgs:
4499
4703
  def autoscaling(self, value: Optional[pulumi.Input['AppSpecServiceAutoscalingArgs']]):
4500
4704
  pulumi.set(self, "autoscaling", value)
4501
4705
 
4706
+ @property
4707
+ @pulumi.getter
4708
+ def bitbucket(self) -> Optional[pulumi.Input['AppSpecServiceBitbucketArgs']]:
4709
+ """
4710
+ 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.
4711
+ """
4712
+ return pulumi.get(self, "bitbucket")
4713
+
4714
+ @bitbucket.setter
4715
+ def bitbucket(self, value: Optional[pulumi.Input['AppSpecServiceBitbucketArgs']]):
4716
+ pulumi.set(self, "bitbucket", value)
4717
+
4502
4718
  @property
4503
4719
  @pulumi.getter(name="buildCommand")
4504
4720
  def build_command(self) -> Optional[pulumi.Input[str]]:
@@ -4970,6 +5186,78 @@ class AppSpecServiceAutoscalingMetricsCpuArgs:
4970
5186
  pulumi.set(self, "percent", value)
4971
5187
 
4972
5188
 
5189
+ if not MYPY:
5190
+ class AppSpecServiceBitbucketArgsDict(TypedDict):
5191
+ branch: NotRequired[pulumi.Input[str]]
5192
+ """
5193
+ The name of the branch to use.
5194
+ """
5195
+ deploy_on_push: NotRequired[pulumi.Input[bool]]
5196
+ """
5197
+ Whether to automatically deploy new commits made to the repo.
5198
+ """
5199
+ repo: NotRequired[pulumi.Input[str]]
5200
+ """
5201
+ The name of the repo in the format `owner/repo`.
5202
+ """
5203
+ elif False:
5204
+ AppSpecServiceBitbucketArgsDict: TypeAlias = Mapping[str, Any]
5205
+
5206
+ @pulumi.input_type
5207
+ class AppSpecServiceBitbucketArgs:
5208
+ def __init__(__self__, *,
5209
+ branch: Optional[pulumi.Input[str]] = None,
5210
+ deploy_on_push: Optional[pulumi.Input[bool]] = None,
5211
+ repo: Optional[pulumi.Input[str]] = None):
5212
+ """
5213
+ :param pulumi.Input[str] branch: The name of the branch to use.
5214
+ :param pulumi.Input[bool] deploy_on_push: Whether to automatically deploy new commits made to the repo.
5215
+ :param pulumi.Input[str] repo: The name of the repo in the format `owner/repo`.
5216
+ """
5217
+ if branch is not None:
5218
+ pulumi.set(__self__, "branch", branch)
5219
+ if deploy_on_push is not None:
5220
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
5221
+ if repo is not None:
5222
+ pulumi.set(__self__, "repo", repo)
5223
+
5224
+ @property
5225
+ @pulumi.getter
5226
+ def branch(self) -> Optional[pulumi.Input[str]]:
5227
+ """
5228
+ The name of the branch to use.
5229
+ """
5230
+ return pulumi.get(self, "branch")
5231
+
5232
+ @branch.setter
5233
+ def branch(self, value: Optional[pulumi.Input[str]]):
5234
+ pulumi.set(self, "branch", value)
5235
+
5236
+ @property
5237
+ @pulumi.getter(name="deployOnPush")
5238
+ def deploy_on_push(self) -> Optional[pulumi.Input[bool]]:
5239
+ """
5240
+ Whether to automatically deploy new commits made to the repo.
5241
+ """
5242
+ return pulumi.get(self, "deploy_on_push")
5243
+
5244
+ @deploy_on_push.setter
5245
+ def deploy_on_push(self, value: Optional[pulumi.Input[bool]]):
5246
+ pulumi.set(self, "deploy_on_push", value)
5247
+
5248
+ @property
5249
+ @pulumi.getter
5250
+ def repo(self) -> Optional[pulumi.Input[str]]:
5251
+ """
5252
+ The name of the repo in the format `owner/repo`.
5253
+ """
5254
+ return pulumi.get(self, "repo")
5255
+
5256
+ @repo.setter
5257
+ def repo(self, value: Optional[pulumi.Input[str]]):
5258
+ pulumi.set(self, "repo", value)
5259
+
5260
+
4973
5261
  if not MYPY:
4974
5262
  class AppSpecServiceCorsArgsDict(TypedDict):
4975
5263
  allow_credentials: NotRequired[pulumi.Input[bool]]
@@ -6289,6 +6577,10 @@ if not MYPY:
6289
6577
  """
6290
6578
  The name of the component.
6291
6579
  """
6580
+ bitbucket: NotRequired[pulumi.Input['AppSpecStaticSiteBitbucketArgsDict']]
6581
+ """
6582
+ 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.
6583
+ """
6292
6584
  build_command: NotRequired[pulumi.Input[str]]
6293
6585
  """
6294
6586
  An optional build command to run while building this component from source.
@@ -6352,6 +6644,7 @@ elif False:
6352
6644
  class AppSpecStaticSiteArgs:
6353
6645
  def __init__(__self__, *,
6354
6646
  name: pulumi.Input[str],
6647
+ bitbucket: Optional[pulumi.Input['AppSpecStaticSiteBitbucketArgs']] = None,
6355
6648
  build_command: Optional[pulumi.Input[str]] = None,
6356
6649
  catchall_document: Optional[pulumi.Input[str]] = None,
6357
6650
  cors: Optional[pulumi.Input['AppSpecStaticSiteCorsArgs']] = None,
@@ -6368,6 +6661,7 @@ class AppSpecStaticSiteArgs:
6368
6661
  source_dir: Optional[pulumi.Input[str]] = None):
6369
6662
  """
6370
6663
  :param pulumi.Input[str] name: The name of the component.
6664
+ :param pulumi.Input['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.
6371
6665
  :param pulumi.Input[str] build_command: An optional build command to run while building this component from source.
6372
6666
  :param pulumi.Input[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.
6373
6667
  :param pulumi.Input['AppSpecStaticSiteCorsArgs'] cors: The [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) policies of the app.
@@ -6384,6 +6678,8 @@ class AppSpecStaticSiteArgs:
6384
6678
  :param pulumi.Input[str] source_dir: An optional path to the working directory to use for the build.
6385
6679
  """
6386
6680
  pulumi.set(__self__, "name", name)
6681
+ if bitbucket is not None:
6682
+ pulumi.set(__self__, "bitbucket", bitbucket)
6387
6683
  if build_command is not None:
6388
6684
  pulumi.set(__self__, "build_command", build_command)
6389
6685
  if catchall_document is not None:
@@ -6431,6 +6727,18 @@ class AppSpecStaticSiteArgs:
6431
6727
  def name(self, value: pulumi.Input[str]):
6432
6728
  pulumi.set(self, "name", value)
6433
6729
 
6730
+ @property
6731
+ @pulumi.getter
6732
+ def bitbucket(self) -> Optional[pulumi.Input['AppSpecStaticSiteBitbucketArgs']]:
6733
+ """
6734
+ 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.
6735
+ """
6736
+ return pulumi.get(self, "bitbucket")
6737
+
6738
+ @bitbucket.setter
6739
+ def bitbucket(self, value: Optional[pulumi.Input['AppSpecStaticSiteBitbucketArgs']]):
6740
+ pulumi.set(self, "bitbucket", value)
6741
+
6434
6742
  @property
6435
6743
  @pulumi.getter(name="buildCommand")
6436
6744
  def build_command(self) -> Optional[pulumi.Input[str]]:
@@ -6602,6 +6910,78 @@ class AppSpecStaticSiteArgs:
6602
6910
  pulumi.set(self, "source_dir", value)
6603
6911
 
6604
6912
 
6913
+ if not MYPY:
6914
+ class AppSpecStaticSiteBitbucketArgsDict(TypedDict):
6915
+ branch: NotRequired[pulumi.Input[str]]
6916
+ """
6917
+ The name of the branch to use.
6918
+ """
6919
+ deploy_on_push: NotRequired[pulumi.Input[bool]]
6920
+ """
6921
+ Whether to automatically deploy new commits made to the repo.
6922
+ """
6923
+ repo: NotRequired[pulumi.Input[str]]
6924
+ """
6925
+ The name of the repo in the format `owner/repo`.
6926
+ """
6927
+ elif False:
6928
+ AppSpecStaticSiteBitbucketArgsDict: TypeAlias = Mapping[str, Any]
6929
+
6930
+ @pulumi.input_type
6931
+ class AppSpecStaticSiteBitbucketArgs:
6932
+ def __init__(__self__, *,
6933
+ branch: Optional[pulumi.Input[str]] = None,
6934
+ deploy_on_push: Optional[pulumi.Input[bool]] = None,
6935
+ repo: Optional[pulumi.Input[str]] = None):
6936
+ """
6937
+ :param pulumi.Input[str] branch: The name of the branch to use.
6938
+ :param pulumi.Input[bool] deploy_on_push: Whether to automatically deploy new commits made to the repo.
6939
+ :param pulumi.Input[str] repo: The name of the repo in the format `owner/repo`.
6940
+ """
6941
+ if branch is not None:
6942
+ pulumi.set(__self__, "branch", branch)
6943
+ if deploy_on_push is not None:
6944
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
6945
+ if repo is not None:
6946
+ pulumi.set(__self__, "repo", repo)
6947
+
6948
+ @property
6949
+ @pulumi.getter
6950
+ def branch(self) -> Optional[pulumi.Input[str]]:
6951
+ """
6952
+ The name of the branch to use.
6953
+ """
6954
+ return pulumi.get(self, "branch")
6955
+
6956
+ @branch.setter
6957
+ def branch(self, value: Optional[pulumi.Input[str]]):
6958
+ pulumi.set(self, "branch", value)
6959
+
6960
+ @property
6961
+ @pulumi.getter(name="deployOnPush")
6962
+ def deploy_on_push(self) -> Optional[pulumi.Input[bool]]:
6963
+ """
6964
+ Whether to automatically deploy new commits made to the repo.
6965
+ """
6966
+ return pulumi.get(self, "deploy_on_push")
6967
+
6968
+ @deploy_on_push.setter
6969
+ def deploy_on_push(self, value: Optional[pulumi.Input[bool]]):
6970
+ pulumi.set(self, "deploy_on_push", value)
6971
+
6972
+ @property
6973
+ @pulumi.getter
6974
+ def repo(self) -> Optional[pulumi.Input[str]]:
6975
+ """
6976
+ The name of the repo in the format `owner/repo`.
6977
+ """
6978
+ return pulumi.get(self, "repo")
6979
+
6980
+ @repo.setter
6981
+ def repo(self, value: Optional[pulumi.Input[str]]):
6982
+ pulumi.set(self, "repo", value)
6983
+
6984
+
6605
6985
  if not MYPY:
6606
6986
  class AppSpecStaticSiteCorsArgsDict(TypedDict):
6607
6987
  allow_credentials: NotRequired[pulumi.Input[bool]]
@@ -7164,6 +7544,10 @@ if not MYPY:
7164
7544
  """
7165
7545
  Configuration for automatically scaling this component based on metrics.
7166
7546
  """
7547
+ bitbucket: NotRequired[pulumi.Input['AppSpecWorkerBitbucketArgsDict']]
7548
+ """
7549
+ 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.
7550
+ """
7167
7551
  build_command: NotRequired[pulumi.Input[str]]
7168
7552
  """
7169
7553
  An optional build command to run while building this component from source.
@@ -7229,6 +7613,7 @@ class AppSpecWorkerArgs:
7229
7613
  name: pulumi.Input[str],
7230
7614
  alerts: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerAlertArgs']]]] = None,
7231
7615
  autoscaling: Optional[pulumi.Input['AppSpecWorkerAutoscalingArgs']] = None,
7616
+ bitbucket: Optional[pulumi.Input['AppSpecWorkerBitbucketArgs']] = None,
7232
7617
  build_command: Optional[pulumi.Input[str]] = None,
7233
7618
  dockerfile_path: Optional[pulumi.Input[str]] = None,
7234
7619
  environment_slug: Optional[pulumi.Input[str]] = None,
@@ -7247,6 +7632,7 @@ class AppSpecWorkerArgs:
7247
7632
  :param pulumi.Input[str] name: The name of the component.
7248
7633
  :param pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerAlertArgs']]] alerts: Describes an alert policy for the component.
7249
7634
  :param pulumi.Input['AppSpecWorkerAutoscalingArgs'] autoscaling: Configuration for automatically scaling this component based on metrics.
7635
+ :param pulumi.Input['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.
7250
7636
  :param pulumi.Input[str] build_command: An optional build command to run while building this component from source.
7251
7637
  :param pulumi.Input[str] dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
7252
7638
  :param pulumi.Input[str] environment_slug: An environment slug describing the type of this app.
@@ -7267,6 +7653,8 @@ class AppSpecWorkerArgs:
7267
7653
  pulumi.set(__self__, "alerts", alerts)
7268
7654
  if autoscaling is not None:
7269
7655
  pulumi.set(__self__, "autoscaling", autoscaling)
7656
+ if bitbucket is not None:
7657
+ pulumi.set(__self__, "bitbucket", bitbucket)
7270
7658
  if build_command is not None:
7271
7659
  pulumi.set(__self__, "build_command", build_command)
7272
7660
  if dockerfile_path is not None:
@@ -7332,6 +7720,18 @@ class AppSpecWorkerArgs:
7332
7720
  def autoscaling(self, value: Optional[pulumi.Input['AppSpecWorkerAutoscalingArgs']]):
7333
7721
  pulumi.set(self, "autoscaling", value)
7334
7722
 
7723
+ @property
7724
+ @pulumi.getter
7725
+ def bitbucket(self) -> Optional[pulumi.Input['AppSpecWorkerBitbucketArgs']]:
7726
+ """
7727
+ 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.
7728
+ """
7729
+ return pulumi.get(self, "bitbucket")
7730
+
7731
+ @bitbucket.setter
7732
+ def bitbucket(self, value: Optional[pulumi.Input['AppSpecWorkerBitbucketArgs']]):
7733
+ pulumi.set(self, "bitbucket", value)
7734
+
7335
7735
  @property
7336
7736
  @pulumi.getter(name="buildCommand")
7337
7737
  def build_command(self) -> Optional[pulumi.Input[str]]:
@@ -7741,6 +8141,78 @@ class AppSpecWorkerAutoscalingMetricsCpuArgs:
7741
8141
  pulumi.set(self, "percent", value)
7742
8142
 
7743
8143
 
8144
+ if not MYPY:
8145
+ class AppSpecWorkerBitbucketArgsDict(TypedDict):
8146
+ branch: NotRequired[pulumi.Input[str]]
8147
+ """
8148
+ The name of the branch to use.
8149
+ """
8150
+ deploy_on_push: NotRequired[pulumi.Input[bool]]
8151
+ """
8152
+ Whether to automatically deploy new commits made to the repo.
8153
+ """
8154
+ repo: NotRequired[pulumi.Input[str]]
8155
+ """
8156
+ The name of the repo in the format `owner/repo`.
8157
+ """
8158
+ elif False:
8159
+ AppSpecWorkerBitbucketArgsDict: TypeAlias = Mapping[str, Any]
8160
+
8161
+ @pulumi.input_type
8162
+ class AppSpecWorkerBitbucketArgs:
8163
+ def __init__(__self__, *,
8164
+ branch: Optional[pulumi.Input[str]] = None,
8165
+ deploy_on_push: Optional[pulumi.Input[bool]] = None,
8166
+ repo: Optional[pulumi.Input[str]] = None):
8167
+ """
8168
+ :param pulumi.Input[str] branch: The name of the branch to use.
8169
+ :param pulumi.Input[bool] deploy_on_push: Whether to automatically deploy new commits made to the repo.
8170
+ :param pulumi.Input[str] repo: The name of the repo in the format `owner/repo`.
8171
+ """
8172
+ if branch is not None:
8173
+ pulumi.set(__self__, "branch", branch)
8174
+ if deploy_on_push is not None:
8175
+ pulumi.set(__self__, "deploy_on_push", deploy_on_push)
8176
+ if repo is not None:
8177
+ pulumi.set(__self__, "repo", repo)
8178
+
8179
+ @property
8180
+ @pulumi.getter
8181
+ def branch(self) -> Optional[pulumi.Input[str]]:
8182
+ """
8183
+ The name of the branch to use.
8184
+ """
8185
+ return pulumi.get(self, "branch")
8186
+
8187
+ @branch.setter
8188
+ def branch(self, value: Optional[pulumi.Input[str]]):
8189
+ pulumi.set(self, "branch", value)
8190
+
8191
+ @property
8192
+ @pulumi.getter(name="deployOnPush")
8193
+ def deploy_on_push(self) -> Optional[pulumi.Input[bool]]:
8194
+ """
8195
+ Whether to automatically deploy new commits made to the repo.
8196
+ """
8197
+ return pulumi.get(self, "deploy_on_push")
8198
+
8199
+ @deploy_on_push.setter
8200
+ def deploy_on_push(self, value: Optional[pulumi.Input[bool]]):
8201
+ pulumi.set(self, "deploy_on_push", value)
8202
+
8203
+ @property
8204
+ @pulumi.getter
8205
+ def repo(self) -> Optional[pulumi.Input[str]]:
8206
+ """
8207
+ The name of the repo in the format `owner/repo`.
8208
+ """
8209
+ return pulumi.get(self, "repo")
8210
+
8211
+ @repo.setter
8212
+ def repo(self, value: Optional[pulumi.Input[str]]):
8213
+ pulumi.set(self, "repo", value)
8214
+
8215
+
7744
8216
  if not MYPY:
7745
8217
  class AppSpecWorkerEnvArgsDict(TypedDict):
7746
8218
  key: NotRequired[pulumi.Input[str]]
@@ -8677,11 +9149,11 @@ if not MYPY:
8677
9149
  class DatabaseClusterMaintenanceWindowArgsDict(TypedDict):
8678
9150
  day: pulumi.Input[str]
8679
9151
  """
8680
- The day of the week on which to apply maintenance updates.
9152
+ The day of the week on which to apply maintenance updates. May be one of `monday` through `sunday`.
8681
9153
  """
8682
9154
  hour: pulumi.Input[str]
8683
9155
  """
8684
- The hour in UTC at which maintenance updates will be applied in 24 hour format.
9156
+ The hour in UTC at which maintenance updates will be applied as a string in 24 hour format, e.g. `13:00`.
8685
9157
  """
8686
9158
  elif False:
8687
9159
  DatabaseClusterMaintenanceWindowArgsDict: TypeAlias = Mapping[str, Any]
@@ -8692,8 +9164,8 @@ class DatabaseClusterMaintenanceWindowArgs:
8692
9164
  day: pulumi.Input[str],
8693
9165
  hour: pulumi.Input[str]):
8694
9166
  """
8695
- :param pulumi.Input[str] day: The day of the week on which to apply maintenance updates.
8696
- :param pulumi.Input[str] hour: The hour in UTC at which maintenance updates will be applied in 24 hour format.
9167
+ :param pulumi.Input[str] day: The day of the week on which to apply maintenance updates. May be one of `monday` through `sunday`.
9168
+ :param pulumi.Input[str] hour: The hour in UTC at which maintenance updates will be applied as a string in 24 hour format, e.g. `13:00`.
8697
9169
  """
8698
9170
  pulumi.set(__self__, "day", day)
8699
9171
  pulumi.set(__self__, "hour", hour)
@@ -8702,7 +9174,7 @@ class DatabaseClusterMaintenanceWindowArgs:
8702
9174
  @pulumi.getter
8703
9175
  def day(self) -> pulumi.Input[str]:
8704
9176
  """
8705
- The day of the week on which to apply maintenance updates.
9177
+ The day of the week on which to apply maintenance updates. May be one of `monday` through `sunday`.
8706
9178
  """
8707
9179
  return pulumi.get(self, "day")
8708
9180
 
@@ -8714,7 +9186,7 @@ class DatabaseClusterMaintenanceWindowArgs:
8714
9186
  @pulumi.getter
8715
9187
  def hour(self) -> pulumi.Input[str]:
8716
9188
  """
8717
- The hour in UTC at which maintenance updates will be applied in 24 hour format.
9189
+ The hour in UTC at which maintenance updates will be applied as a string in 24 hour format, e.g. `13:00`.
8718
9190
  """
8719
9191
  return pulumi.get(self, "hour")
8720
9192
 
@@ -10506,6 +10978,40 @@ class FirewallPendingChangeArgs:
10506
10978
  pulumi.set(self, "status", value)
10507
10979
 
10508
10980
 
10981
+ if not MYPY:
10982
+ class KubernetesClusterControlPlaneFirewallArgsDict(TypedDict):
10983
+ allowed_addresses: pulumi.Input[Sequence[pulumi.Input[str]]]
10984
+ enabled: pulumi.Input[bool]
10985
+ elif False:
10986
+ KubernetesClusterControlPlaneFirewallArgsDict: TypeAlias = Mapping[str, Any]
10987
+
10988
+ @pulumi.input_type
10989
+ class KubernetesClusterControlPlaneFirewallArgs:
10990
+ def __init__(__self__, *,
10991
+ allowed_addresses: pulumi.Input[Sequence[pulumi.Input[str]]],
10992
+ enabled: pulumi.Input[bool]):
10993
+ pulumi.set(__self__, "allowed_addresses", allowed_addresses)
10994
+ pulumi.set(__self__, "enabled", enabled)
10995
+
10996
+ @property
10997
+ @pulumi.getter(name="allowedAddresses")
10998
+ def allowed_addresses(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
10999
+ return pulumi.get(self, "allowed_addresses")
11000
+
11001
+ @allowed_addresses.setter
11002
+ def allowed_addresses(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
11003
+ pulumi.set(self, "allowed_addresses", value)
11004
+
11005
+ @property
11006
+ @pulumi.getter
11007
+ def enabled(self) -> pulumi.Input[bool]:
11008
+ return pulumi.get(self, "enabled")
11009
+
11010
+ @enabled.setter
11011
+ def enabled(self, value: pulumi.Input[bool]):
11012
+ pulumi.set(self, "enabled", value)
11013
+
11014
+
10509
11015
  if not MYPY:
10510
11016
  class KubernetesClusterKubeConfigArgsDict(TypedDict):
10511
11017
  client_certificate: NotRequired[pulumi.Input[str]]