pulumi-digitalocean 4.38.0__py3-none-any.whl → 4.38.0a1734154537__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.
- pulumi_digitalocean/_inputs.py +9 -427
- pulumi_digitalocean/firewall.py +14 -21
- pulumi_digitalocean/outputs.py +11 -595
- pulumi_digitalocean/pulumi-plugin.json +1 -1
- {pulumi_digitalocean-4.38.0.dist-info → pulumi_digitalocean-4.38.0a1734154537.dist-info}/METADATA +1 -1
- {pulumi_digitalocean-4.38.0.dist-info → pulumi_digitalocean-4.38.0a1734154537.dist-info}/RECORD +8 -8
- {pulumi_digitalocean-4.38.0.dist-info → pulumi_digitalocean-4.38.0a1734154537.dist-info}/WHEEL +1 -1
- {pulumi_digitalocean-4.38.0.dist-info → pulumi_digitalocean-4.38.0a1734154537.dist-info}/top_level.txt +0 -0
pulumi_digitalocean/_inputs.py
CHANGED
|
@@ -104,8 +104,6 @@ __all__ = [
|
|
|
104
104
|
'AppSpecJobLogDestinationOpenSearchBasicAuthArgsDict',
|
|
105
105
|
'AppSpecJobLogDestinationPapertrailArgs',
|
|
106
106
|
'AppSpecJobLogDestinationPapertrailArgsDict',
|
|
107
|
-
'AppSpecJobTerminationArgs',
|
|
108
|
-
'AppSpecJobTerminationArgsDict',
|
|
109
107
|
'AppSpecServiceArgs',
|
|
110
108
|
'AppSpecServiceArgsDict',
|
|
111
109
|
'AppSpecServiceAlertArgs',
|
|
@@ -148,8 +146,6 @@ __all__ = [
|
|
|
148
146
|
'AppSpecServiceLogDestinationPapertrailArgsDict',
|
|
149
147
|
'AppSpecServiceRouteArgs',
|
|
150
148
|
'AppSpecServiceRouteArgsDict',
|
|
151
|
-
'AppSpecServiceTerminationArgs',
|
|
152
|
-
'AppSpecServiceTerminationArgsDict',
|
|
153
149
|
'AppSpecStaticSiteArgs',
|
|
154
150
|
'AppSpecStaticSiteArgsDict',
|
|
155
151
|
'AppSpecStaticSiteCorsArgs',
|
|
@@ -170,12 +166,6 @@ __all__ = [
|
|
|
170
166
|
'AppSpecWorkerArgsDict',
|
|
171
167
|
'AppSpecWorkerAlertArgs',
|
|
172
168
|
'AppSpecWorkerAlertArgsDict',
|
|
173
|
-
'AppSpecWorkerAutoscalingArgs',
|
|
174
|
-
'AppSpecWorkerAutoscalingArgsDict',
|
|
175
|
-
'AppSpecWorkerAutoscalingMetricsArgs',
|
|
176
|
-
'AppSpecWorkerAutoscalingMetricsArgsDict',
|
|
177
|
-
'AppSpecWorkerAutoscalingMetricsCpuArgs',
|
|
178
|
-
'AppSpecWorkerAutoscalingMetricsCpuArgsDict',
|
|
179
169
|
'AppSpecWorkerEnvArgs',
|
|
180
170
|
'AppSpecWorkerEnvArgsDict',
|
|
181
171
|
'AppSpecWorkerGitArgs',
|
|
@@ -200,8 +190,6 @@ __all__ = [
|
|
|
200
190
|
'AppSpecWorkerLogDestinationOpenSearchBasicAuthArgsDict',
|
|
201
191
|
'AppSpecWorkerLogDestinationPapertrailArgs',
|
|
202
192
|
'AppSpecWorkerLogDestinationPapertrailArgsDict',
|
|
203
|
-
'AppSpecWorkerTerminationArgs',
|
|
204
|
-
'AppSpecWorkerTerminationArgsDict',
|
|
205
193
|
'DatabaseClusterBackupRestoreArgs',
|
|
206
194
|
'DatabaseClusterBackupRestoreArgsDict',
|
|
207
195
|
'DatabaseClusterMaintenanceWindowArgs',
|
|
@@ -2995,10 +2983,6 @@ if not MYPY:
|
|
|
2995
2983
|
"""
|
|
2996
2984
|
An optional path to the working directory to use for the build.
|
|
2997
2985
|
"""
|
|
2998
|
-
termination: NotRequired[pulumi.Input['AppSpecJobTerminationArgsDict']]
|
|
2999
|
-
"""
|
|
3000
|
-
Contains a component's termination parameters.
|
|
3001
|
-
"""
|
|
3002
2986
|
elif False:
|
|
3003
2987
|
AppSpecJobArgsDict: TypeAlias = Mapping[str, Any]
|
|
3004
2988
|
|
|
@@ -3020,8 +3004,7 @@ class AppSpecJobArgs:
|
|
|
3020
3004
|
kind: Optional[pulumi.Input[str]] = None,
|
|
3021
3005
|
log_destinations: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecJobLogDestinationArgs']]]] = None,
|
|
3022
3006
|
run_command: Optional[pulumi.Input[str]] = None,
|
|
3023
|
-
source_dir: Optional[pulumi.Input[str]] = None
|
|
3024
|
-
termination: Optional[pulumi.Input['AppSpecJobTerminationArgs']] = None):
|
|
3007
|
+
source_dir: Optional[pulumi.Input[str]] = None):
|
|
3025
3008
|
"""
|
|
3026
3009
|
:param pulumi.Input[str] name: The name of the component.
|
|
3027
3010
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecJobAlertArgs']]] alerts: Describes an alert policy for the component.
|
|
@@ -3043,7 +3026,6 @@ class AppSpecJobArgs:
|
|
|
3043
3026
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecJobLogDestinationArgs']]] log_destinations: Describes a log forwarding destination.
|
|
3044
3027
|
:param pulumi.Input[str] run_command: An optional run command to override the component's default.
|
|
3045
3028
|
:param pulumi.Input[str] source_dir: An optional path to the working directory to use for the build.
|
|
3046
|
-
:param pulumi.Input['AppSpecJobTerminationArgs'] termination: Contains a component's termination parameters.
|
|
3047
3029
|
"""
|
|
3048
3030
|
pulumi.set(__self__, "name", name)
|
|
3049
3031
|
if alerts is not None:
|
|
@@ -3076,8 +3058,6 @@ class AppSpecJobArgs:
|
|
|
3076
3058
|
pulumi.set(__self__, "run_command", run_command)
|
|
3077
3059
|
if source_dir is not None:
|
|
3078
3060
|
pulumi.set(__self__, "source_dir", source_dir)
|
|
3079
|
-
if termination is not None:
|
|
3080
|
-
pulumi.set(__self__, "termination", termination)
|
|
3081
3061
|
|
|
3082
3062
|
@property
|
|
3083
3063
|
@pulumi.getter
|
|
@@ -3275,18 +3255,6 @@ class AppSpecJobArgs:
|
|
|
3275
3255
|
def source_dir(self, value: Optional[pulumi.Input[str]]):
|
|
3276
3256
|
pulumi.set(self, "source_dir", value)
|
|
3277
3257
|
|
|
3278
|
-
@property
|
|
3279
|
-
@pulumi.getter
|
|
3280
|
-
def termination(self) -> Optional[pulumi.Input['AppSpecJobTerminationArgs']]:
|
|
3281
|
-
"""
|
|
3282
|
-
Contains a component's termination parameters.
|
|
3283
|
-
"""
|
|
3284
|
-
return pulumi.get(self, "termination")
|
|
3285
|
-
|
|
3286
|
-
@termination.setter
|
|
3287
|
-
def termination(self, value: Optional[pulumi.Input['AppSpecJobTerminationArgs']]):
|
|
3288
|
-
pulumi.set(self, "termination", value)
|
|
3289
|
-
|
|
3290
3258
|
|
|
3291
3259
|
if not MYPY:
|
|
3292
3260
|
class AppSpecJobAlertArgsDict(TypedDict):
|
|
@@ -3698,10 +3666,6 @@ if not MYPY:
|
|
|
3698
3666
|
"""
|
|
3699
3667
|
Configures automatically deploying images pushed to DOCR.
|
|
3700
3668
|
"""
|
|
3701
|
-
digest: NotRequired[pulumi.Input[str]]
|
|
3702
|
-
"""
|
|
3703
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
3704
|
-
"""
|
|
3705
3669
|
registry: NotRequired[pulumi.Input[str]]
|
|
3706
3670
|
"""
|
|
3707
3671
|
The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
@@ -3723,7 +3687,6 @@ class AppSpecJobImageArgs:
|
|
|
3723
3687
|
registry_type: pulumi.Input[str],
|
|
3724
3688
|
repository: pulumi.Input[str],
|
|
3725
3689
|
deploy_on_pushes: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecJobImageDeployOnPushArgs']]]] = None,
|
|
3726
|
-
digest: Optional[pulumi.Input[str]] = None,
|
|
3727
3690
|
registry: Optional[pulumi.Input[str]] = None,
|
|
3728
3691
|
registry_credentials: Optional[pulumi.Input[str]] = None,
|
|
3729
3692
|
tag: Optional[pulumi.Input[str]] = None):
|
|
@@ -3731,7 +3694,6 @@ class AppSpecJobImageArgs:
|
|
|
3731
3694
|
:param pulumi.Input[str] registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
|
|
3732
3695
|
:param pulumi.Input[str] repository: The repository name.
|
|
3733
3696
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecJobImageDeployOnPushArgs']]] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
|
|
3734
|
-
:param pulumi.Input[str] digest: The image digest. Cannot be specified if `tag` is provided.
|
|
3735
3697
|
:param pulumi.Input[str] registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
3736
3698
|
:param pulumi.Input[str] registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
|
|
3737
3699
|
:param pulumi.Input[str] tag: The repository tag. Defaults to `latest` if not provided.
|
|
@@ -3740,8 +3702,6 @@ class AppSpecJobImageArgs:
|
|
|
3740
3702
|
pulumi.set(__self__, "repository", repository)
|
|
3741
3703
|
if deploy_on_pushes is not None:
|
|
3742
3704
|
pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
|
|
3743
|
-
if digest is not None:
|
|
3744
|
-
pulumi.set(__self__, "digest", digest)
|
|
3745
3705
|
if registry is not None:
|
|
3746
3706
|
pulumi.set(__self__, "registry", registry)
|
|
3747
3707
|
if registry_credentials is not None:
|
|
@@ -3785,18 +3745,6 @@ class AppSpecJobImageArgs:
|
|
|
3785
3745
|
def deploy_on_pushes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecJobImageDeployOnPushArgs']]]]):
|
|
3786
3746
|
pulumi.set(self, "deploy_on_pushes", value)
|
|
3787
3747
|
|
|
3788
|
-
@property
|
|
3789
|
-
@pulumi.getter
|
|
3790
|
-
def digest(self) -> Optional[pulumi.Input[str]]:
|
|
3791
|
-
"""
|
|
3792
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
3793
|
-
"""
|
|
3794
|
-
return pulumi.get(self, "digest")
|
|
3795
|
-
|
|
3796
|
-
@digest.setter
|
|
3797
|
-
def digest(self, value: Optional[pulumi.Input[str]]):
|
|
3798
|
-
pulumi.set(self, "digest", value)
|
|
3799
|
-
|
|
3800
3748
|
@property
|
|
3801
3749
|
@pulumi.getter
|
|
3802
3750
|
def registry(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -4233,44 +4181,6 @@ class AppSpecJobLogDestinationPapertrailArgs:
|
|
|
4233
4181
|
pulumi.set(self, "endpoint", value)
|
|
4234
4182
|
|
|
4235
4183
|
|
|
4236
|
-
if not MYPY:
|
|
4237
|
-
class AppSpecJobTerminationArgsDict(TypedDict):
|
|
4238
|
-
grace_period_seconds: NotRequired[pulumi.Input[int]]
|
|
4239
|
-
"""
|
|
4240
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
4241
|
-
|
|
4242
|
-
A `function` component can contain:
|
|
4243
|
-
"""
|
|
4244
|
-
elif False:
|
|
4245
|
-
AppSpecJobTerminationArgsDict: TypeAlias = Mapping[str, Any]
|
|
4246
|
-
|
|
4247
|
-
@pulumi.input_type
|
|
4248
|
-
class AppSpecJobTerminationArgs:
|
|
4249
|
-
def __init__(__self__, *,
|
|
4250
|
-
grace_period_seconds: Optional[pulumi.Input[int]] = None):
|
|
4251
|
-
"""
|
|
4252
|
-
:param pulumi.Input[int] grace_period_seconds: The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
4253
|
-
|
|
4254
|
-
A `function` component can contain:
|
|
4255
|
-
"""
|
|
4256
|
-
if grace_period_seconds is not None:
|
|
4257
|
-
pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
|
|
4258
|
-
|
|
4259
|
-
@property
|
|
4260
|
-
@pulumi.getter(name="gracePeriodSeconds")
|
|
4261
|
-
def grace_period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
4262
|
-
"""
|
|
4263
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
4264
|
-
|
|
4265
|
-
A `function` component can contain:
|
|
4266
|
-
"""
|
|
4267
|
-
return pulumi.get(self, "grace_period_seconds")
|
|
4268
|
-
|
|
4269
|
-
@grace_period_seconds.setter
|
|
4270
|
-
def grace_period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
4271
|
-
pulumi.set(self, "grace_period_seconds", value)
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
4184
|
if not MYPY:
|
|
4275
4185
|
class AppSpecServiceArgsDict(TypedDict):
|
|
4276
4186
|
name: pulumi.Input[str]
|
|
@@ -4357,10 +4267,6 @@ if not MYPY:
|
|
|
4357
4267
|
"""
|
|
4358
4268
|
An optional path to the working directory to use for the build.
|
|
4359
4269
|
"""
|
|
4360
|
-
termination: NotRequired[pulumi.Input['AppSpecServiceTerminationArgsDict']]
|
|
4361
|
-
"""
|
|
4362
|
-
Contains a component's termination parameters.
|
|
4363
|
-
"""
|
|
4364
4270
|
elif False:
|
|
4365
4271
|
AppSpecServiceArgsDict: TypeAlias = Mapping[str, Any]
|
|
4366
4272
|
|
|
@@ -4387,8 +4293,7 @@ class AppSpecServiceArgs:
|
|
|
4387
4293
|
log_destinations: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecServiceLogDestinationArgs']]]] = None,
|
|
4388
4294
|
routes: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecServiceRouteArgs']]]] = None,
|
|
4389
4295
|
run_command: Optional[pulumi.Input[str]] = None,
|
|
4390
|
-
source_dir: Optional[pulumi.Input[str]] = None
|
|
4391
|
-
termination: Optional[pulumi.Input['AppSpecServiceTerminationArgs']] = None):
|
|
4296
|
+
source_dir: Optional[pulumi.Input[str]] = None):
|
|
4392
4297
|
"""
|
|
4393
4298
|
:param pulumi.Input[str] name: The name of the component.
|
|
4394
4299
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecServiceAlertArgs']]] alerts: Describes an alert policy for the component.
|
|
@@ -4411,7 +4316,6 @@ class AppSpecServiceArgs:
|
|
|
4411
4316
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecServiceRouteArgs']]] routes: An HTTP paths that should be routed to this component.
|
|
4412
4317
|
:param pulumi.Input[str] run_command: An optional run command to override the component's default.
|
|
4413
4318
|
:param pulumi.Input[str] source_dir: An optional path to the working directory to use for the build.
|
|
4414
|
-
:param pulumi.Input['AppSpecServiceTerminationArgs'] termination: Contains a component's termination parameters.
|
|
4415
4319
|
"""
|
|
4416
4320
|
pulumi.set(__self__, "name", name)
|
|
4417
4321
|
if alerts is not None:
|
|
@@ -4460,8 +4364,6 @@ class AppSpecServiceArgs:
|
|
|
4460
4364
|
pulumi.set(__self__, "run_command", run_command)
|
|
4461
4365
|
if source_dir is not None:
|
|
4462
4366
|
pulumi.set(__self__, "source_dir", source_dir)
|
|
4463
|
-
if termination is not None:
|
|
4464
|
-
pulumi.set(__self__, "termination", termination)
|
|
4465
4367
|
|
|
4466
4368
|
@property
|
|
4467
4369
|
@pulumi.getter
|
|
@@ -4717,18 +4619,6 @@ class AppSpecServiceArgs:
|
|
|
4717
4619
|
def source_dir(self, value: Optional[pulumi.Input[str]]):
|
|
4718
4620
|
pulumi.set(self, "source_dir", value)
|
|
4719
4621
|
|
|
4720
|
-
@property
|
|
4721
|
-
@pulumi.getter
|
|
4722
|
-
def termination(self) -> Optional[pulumi.Input['AppSpecServiceTerminationArgs']]:
|
|
4723
|
-
"""
|
|
4724
|
-
Contains a component's termination parameters.
|
|
4725
|
-
"""
|
|
4726
|
-
return pulumi.get(self, "termination")
|
|
4727
|
-
|
|
4728
|
-
@termination.setter
|
|
4729
|
-
def termination(self, value: Optional[pulumi.Input['AppSpecServiceTerminationArgs']]):
|
|
4730
|
-
pulumi.set(self, "termination", value)
|
|
4731
|
-
|
|
4732
4622
|
|
|
4733
4623
|
if not MYPY:
|
|
4734
4624
|
class AppSpecServiceAlertArgsDict(TypedDict):
|
|
@@ -4944,6 +4834,8 @@ if not MYPY:
|
|
|
4944
4834
|
percent: pulumi.Input[int]
|
|
4945
4835
|
"""
|
|
4946
4836
|
The average target CPU utilization for the component.
|
|
4837
|
+
|
|
4838
|
+
A `static_site` can contain:
|
|
4947
4839
|
"""
|
|
4948
4840
|
elif False:
|
|
4949
4841
|
AppSpecServiceAutoscalingMetricsCpuArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -4954,6 +4846,8 @@ class AppSpecServiceAutoscalingMetricsCpuArgs:
|
|
|
4954
4846
|
percent: pulumi.Input[int]):
|
|
4955
4847
|
"""
|
|
4956
4848
|
:param pulumi.Input[int] percent: The average target CPU utilization for the component.
|
|
4849
|
+
|
|
4850
|
+
A `static_site` can contain:
|
|
4957
4851
|
"""
|
|
4958
4852
|
pulumi.set(__self__, "percent", percent)
|
|
4959
4853
|
|
|
@@ -4962,6 +4856,8 @@ class AppSpecServiceAutoscalingMetricsCpuArgs:
|
|
|
4962
4856
|
def percent(self) -> pulumi.Input[int]:
|
|
4963
4857
|
"""
|
|
4964
4858
|
The average target CPU utilization for the component.
|
|
4859
|
+
|
|
4860
|
+
A `static_site` can contain:
|
|
4965
4861
|
"""
|
|
4966
4862
|
return pulumi.get(self, "percent")
|
|
4967
4863
|
|
|
@@ -5632,10 +5528,6 @@ if not MYPY:
|
|
|
5632
5528
|
"""
|
|
5633
5529
|
Configures automatically deploying images pushed to DOCR.
|
|
5634
5530
|
"""
|
|
5635
|
-
digest: NotRequired[pulumi.Input[str]]
|
|
5636
|
-
"""
|
|
5637
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
5638
|
-
"""
|
|
5639
5531
|
registry: NotRequired[pulumi.Input[str]]
|
|
5640
5532
|
"""
|
|
5641
5533
|
The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
@@ -5657,7 +5549,6 @@ class AppSpecServiceImageArgs:
|
|
|
5657
5549
|
registry_type: pulumi.Input[str],
|
|
5658
5550
|
repository: pulumi.Input[str],
|
|
5659
5551
|
deploy_on_pushes: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecServiceImageDeployOnPushArgs']]]] = None,
|
|
5660
|
-
digest: Optional[pulumi.Input[str]] = None,
|
|
5661
5552
|
registry: Optional[pulumi.Input[str]] = None,
|
|
5662
5553
|
registry_credentials: Optional[pulumi.Input[str]] = None,
|
|
5663
5554
|
tag: Optional[pulumi.Input[str]] = None):
|
|
@@ -5665,7 +5556,6 @@ class AppSpecServiceImageArgs:
|
|
|
5665
5556
|
:param pulumi.Input[str] registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
|
|
5666
5557
|
:param pulumi.Input[str] repository: The repository name.
|
|
5667
5558
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecServiceImageDeployOnPushArgs']]] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
|
|
5668
|
-
:param pulumi.Input[str] digest: The image digest. Cannot be specified if `tag` is provided.
|
|
5669
5559
|
:param pulumi.Input[str] registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
5670
5560
|
:param pulumi.Input[str] registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
|
|
5671
5561
|
:param pulumi.Input[str] tag: The repository tag. Defaults to `latest` if not provided.
|
|
@@ -5674,8 +5564,6 @@ class AppSpecServiceImageArgs:
|
|
|
5674
5564
|
pulumi.set(__self__, "repository", repository)
|
|
5675
5565
|
if deploy_on_pushes is not None:
|
|
5676
5566
|
pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
|
|
5677
|
-
if digest is not None:
|
|
5678
|
-
pulumi.set(__self__, "digest", digest)
|
|
5679
5567
|
if registry is not None:
|
|
5680
5568
|
pulumi.set(__self__, "registry", registry)
|
|
5681
5569
|
if registry_credentials is not None:
|
|
@@ -5719,18 +5607,6 @@ class AppSpecServiceImageArgs:
|
|
|
5719
5607
|
def deploy_on_pushes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecServiceImageDeployOnPushArgs']]]]):
|
|
5720
5608
|
pulumi.set(self, "deploy_on_pushes", value)
|
|
5721
5609
|
|
|
5722
|
-
@property
|
|
5723
|
-
@pulumi.getter
|
|
5724
|
-
def digest(self) -> Optional[pulumi.Input[str]]:
|
|
5725
|
-
"""
|
|
5726
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
5727
|
-
"""
|
|
5728
|
-
return pulumi.get(self, "digest")
|
|
5729
|
-
|
|
5730
|
-
@digest.setter
|
|
5731
|
-
def digest(self, value: Optional[pulumi.Input[str]]):
|
|
5732
|
-
pulumi.set(self, "digest", value)
|
|
5733
|
-
|
|
5734
5610
|
@property
|
|
5735
5611
|
@pulumi.getter
|
|
5736
5612
|
def registry(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -6219,70 +6095,6 @@ class AppSpecServiceRouteArgs:
|
|
|
6219
6095
|
pulumi.set(self, "preserve_path_prefix", value)
|
|
6220
6096
|
|
|
6221
6097
|
|
|
6222
|
-
if not MYPY:
|
|
6223
|
-
class AppSpecServiceTerminationArgsDict(TypedDict):
|
|
6224
|
-
drain_seconds: NotRequired[pulumi.Input[int]]
|
|
6225
|
-
"""
|
|
6226
|
-
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
|
|
6227
|
-
|
|
6228
|
-
A `static_site` can contain:
|
|
6229
|
-
"""
|
|
6230
|
-
grace_period_seconds: NotRequired[pulumi.Input[int]]
|
|
6231
|
-
"""
|
|
6232
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
6233
|
-
|
|
6234
|
-
A `function` component can contain:
|
|
6235
|
-
"""
|
|
6236
|
-
elif False:
|
|
6237
|
-
AppSpecServiceTerminationArgsDict: TypeAlias = Mapping[str, Any]
|
|
6238
|
-
|
|
6239
|
-
@pulumi.input_type
|
|
6240
|
-
class AppSpecServiceTerminationArgs:
|
|
6241
|
-
def __init__(__self__, *,
|
|
6242
|
-
drain_seconds: Optional[pulumi.Input[int]] = None,
|
|
6243
|
-
grace_period_seconds: Optional[pulumi.Input[int]] = None):
|
|
6244
|
-
"""
|
|
6245
|
-
:param pulumi.Input[int] drain_seconds: The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
|
|
6246
|
-
|
|
6247
|
-
A `static_site` can contain:
|
|
6248
|
-
:param pulumi.Input[int] grace_period_seconds: The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
6249
|
-
|
|
6250
|
-
A `function` component can contain:
|
|
6251
|
-
"""
|
|
6252
|
-
if drain_seconds is not None:
|
|
6253
|
-
pulumi.set(__self__, "drain_seconds", drain_seconds)
|
|
6254
|
-
if grace_period_seconds is not None:
|
|
6255
|
-
pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
|
|
6256
|
-
|
|
6257
|
-
@property
|
|
6258
|
-
@pulumi.getter(name="drainSeconds")
|
|
6259
|
-
def drain_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
6260
|
-
"""
|
|
6261
|
-
The number of seconds to wait between selecting a container instance for termination and issuing the TERM signal. Selecting a container instance for termination begins an asynchronous drain of new requests on upstream load-balancers. Default: 15 seconds, Minimum 1, Maximum 110.
|
|
6262
|
-
|
|
6263
|
-
A `static_site` can contain:
|
|
6264
|
-
"""
|
|
6265
|
-
return pulumi.get(self, "drain_seconds")
|
|
6266
|
-
|
|
6267
|
-
@drain_seconds.setter
|
|
6268
|
-
def drain_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
6269
|
-
pulumi.set(self, "drain_seconds", value)
|
|
6270
|
-
|
|
6271
|
-
@property
|
|
6272
|
-
@pulumi.getter(name="gracePeriodSeconds")
|
|
6273
|
-
def grace_period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
6274
|
-
"""
|
|
6275
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
6276
|
-
|
|
6277
|
-
A `function` component can contain:
|
|
6278
|
-
"""
|
|
6279
|
-
return pulumi.get(self, "grace_period_seconds")
|
|
6280
|
-
|
|
6281
|
-
@grace_period_seconds.setter
|
|
6282
|
-
def grace_period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
6283
|
-
pulumi.set(self, "grace_period_seconds", value)
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
6098
|
if not MYPY:
|
|
6287
6099
|
class AppSpecStaticSiteArgsDict(TypedDict):
|
|
6288
6100
|
name: pulumi.Input[str]
|
|
@@ -7160,10 +6972,6 @@ if not MYPY:
|
|
|
7160
6972
|
"""
|
|
7161
6973
|
Describes an alert policy for the component.
|
|
7162
6974
|
"""
|
|
7163
|
-
autoscaling: NotRequired[pulumi.Input['AppSpecWorkerAutoscalingArgsDict']]
|
|
7164
|
-
"""
|
|
7165
|
-
Configuration for automatically scaling this component based on metrics.
|
|
7166
|
-
"""
|
|
7167
6975
|
build_command: NotRequired[pulumi.Input[str]]
|
|
7168
6976
|
"""
|
|
7169
6977
|
An optional build command to run while building this component from source.
|
|
@@ -7216,10 +7024,6 @@ if not MYPY:
|
|
|
7216
7024
|
"""
|
|
7217
7025
|
An optional path to the working directory to use for the build.
|
|
7218
7026
|
"""
|
|
7219
|
-
termination: NotRequired[pulumi.Input['AppSpecWorkerTerminationArgsDict']]
|
|
7220
|
-
"""
|
|
7221
|
-
Contains a component's termination parameters.
|
|
7222
|
-
"""
|
|
7223
7027
|
elif False:
|
|
7224
7028
|
AppSpecWorkerArgsDict: TypeAlias = Mapping[str, Any]
|
|
7225
7029
|
|
|
@@ -7228,7 +7032,6 @@ class AppSpecWorkerArgs:
|
|
|
7228
7032
|
def __init__(__self__, *,
|
|
7229
7033
|
name: pulumi.Input[str],
|
|
7230
7034
|
alerts: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerAlertArgs']]]] = None,
|
|
7231
|
-
autoscaling: Optional[pulumi.Input['AppSpecWorkerAutoscalingArgs']] = None,
|
|
7232
7035
|
build_command: Optional[pulumi.Input[str]] = None,
|
|
7233
7036
|
dockerfile_path: Optional[pulumi.Input[str]] = None,
|
|
7234
7037
|
environment_slug: Optional[pulumi.Input[str]] = None,
|
|
@@ -7241,12 +7044,10 @@ class AppSpecWorkerArgs:
|
|
|
7241
7044
|
instance_size_slug: Optional[pulumi.Input[str]] = None,
|
|
7242
7045
|
log_destinations: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerLogDestinationArgs']]]] = None,
|
|
7243
7046
|
run_command: Optional[pulumi.Input[str]] = None,
|
|
7244
|
-
source_dir: Optional[pulumi.Input[str]] = None
|
|
7245
|
-
termination: Optional[pulumi.Input['AppSpecWorkerTerminationArgs']] = None):
|
|
7047
|
+
source_dir: Optional[pulumi.Input[str]] = None):
|
|
7246
7048
|
"""
|
|
7247
7049
|
:param pulumi.Input[str] name: The name of the component.
|
|
7248
7050
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerAlertArgs']]] alerts: Describes an alert policy for the component.
|
|
7249
|
-
:param pulumi.Input['AppSpecWorkerAutoscalingArgs'] autoscaling: Configuration for automatically scaling this component based on metrics.
|
|
7250
7051
|
:param pulumi.Input[str] build_command: An optional build command to run while building this component from source.
|
|
7251
7052
|
: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
7053
|
:param pulumi.Input[str] environment_slug: An environment slug describing the type of this app.
|
|
@@ -7260,13 +7061,10 @@ class AppSpecWorkerArgs:
|
|
|
7260
7061
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerLogDestinationArgs']]] log_destinations: Describes a log forwarding destination.
|
|
7261
7062
|
:param pulumi.Input[str] run_command: An optional run command to override the component's default.
|
|
7262
7063
|
:param pulumi.Input[str] source_dir: An optional path to the working directory to use for the build.
|
|
7263
|
-
:param pulumi.Input['AppSpecWorkerTerminationArgs'] termination: Contains a component's termination parameters.
|
|
7264
7064
|
"""
|
|
7265
7065
|
pulumi.set(__self__, "name", name)
|
|
7266
7066
|
if alerts is not None:
|
|
7267
7067
|
pulumi.set(__self__, "alerts", alerts)
|
|
7268
|
-
if autoscaling is not None:
|
|
7269
|
-
pulumi.set(__self__, "autoscaling", autoscaling)
|
|
7270
7068
|
if build_command is not None:
|
|
7271
7069
|
pulumi.set(__self__, "build_command", build_command)
|
|
7272
7070
|
if dockerfile_path is not None:
|
|
@@ -7293,8 +7091,6 @@ class AppSpecWorkerArgs:
|
|
|
7293
7091
|
pulumi.set(__self__, "run_command", run_command)
|
|
7294
7092
|
if source_dir is not None:
|
|
7295
7093
|
pulumi.set(__self__, "source_dir", source_dir)
|
|
7296
|
-
if termination is not None:
|
|
7297
|
-
pulumi.set(__self__, "termination", termination)
|
|
7298
7094
|
|
|
7299
7095
|
@property
|
|
7300
7096
|
@pulumi.getter
|
|
@@ -7320,18 +7116,6 @@ class AppSpecWorkerArgs:
|
|
|
7320
7116
|
def alerts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerAlertArgs']]]]):
|
|
7321
7117
|
pulumi.set(self, "alerts", value)
|
|
7322
7118
|
|
|
7323
|
-
@property
|
|
7324
|
-
@pulumi.getter
|
|
7325
|
-
def autoscaling(self) -> Optional[pulumi.Input['AppSpecWorkerAutoscalingArgs']]:
|
|
7326
|
-
"""
|
|
7327
|
-
Configuration for automatically scaling this component based on metrics.
|
|
7328
|
-
"""
|
|
7329
|
-
return pulumi.get(self, "autoscaling")
|
|
7330
|
-
|
|
7331
|
-
@autoscaling.setter
|
|
7332
|
-
def autoscaling(self, value: Optional[pulumi.Input['AppSpecWorkerAutoscalingArgs']]):
|
|
7333
|
-
pulumi.set(self, "autoscaling", value)
|
|
7334
|
-
|
|
7335
7119
|
@property
|
|
7336
7120
|
@pulumi.getter(name="buildCommand")
|
|
7337
7121
|
def build_command(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -7488,18 +7272,6 @@ class AppSpecWorkerArgs:
|
|
|
7488
7272
|
def source_dir(self, value: Optional[pulumi.Input[str]]):
|
|
7489
7273
|
pulumi.set(self, "source_dir", value)
|
|
7490
7274
|
|
|
7491
|
-
@property
|
|
7492
|
-
@pulumi.getter
|
|
7493
|
-
def termination(self) -> Optional[pulumi.Input['AppSpecWorkerTerminationArgs']]:
|
|
7494
|
-
"""
|
|
7495
|
-
Contains a component's termination parameters.
|
|
7496
|
-
"""
|
|
7497
|
-
return pulumi.get(self, "termination")
|
|
7498
|
-
|
|
7499
|
-
@termination.setter
|
|
7500
|
-
def termination(self, value: Optional[pulumi.Input['AppSpecWorkerTerminationArgs']]):
|
|
7501
|
-
pulumi.set(self, "termination", value)
|
|
7502
|
-
|
|
7503
7275
|
|
|
7504
7276
|
if not MYPY:
|
|
7505
7277
|
class AppSpecWorkerAlertArgsDict(TypedDict):
|
|
@@ -7609,138 +7381,6 @@ class AppSpecWorkerAlertArgs:
|
|
|
7609
7381
|
pulumi.set(self, "disabled", value)
|
|
7610
7382
|
|
|
7611
7383
|
|
|
7612
|
-
if not MYPY:
|
|
7613
|
-
class AppSpecWorkerAutoscalingArgsDict(TypedDict):
|
|
7614
|
-
max_instance_count: pulumi.Input[int]
|
|
7615
|
-
"""
|
|
7616
|
-
The maximum amount of instances for this component. Must be more than min_instance_count.
|
|
7617
|
-
"""
|
|
7618
|
-
metrics: pulumi.Input['AppSpecWorkerAutoscalingMetricsArgsDict']
|
|
7619
|
-
"""
|
|
7620
|
-
The metrics that the component is scaled on.
|
|
7621
|
-
"""
|
|
7622
|
-
min_instance_count: pulumi.Input[int]
|
|
7623
|
-
"""
|
|
7624
|
-
The minimum amount of instances for this component. Must be less than max_instance_count.
|
|
7625
|
-
"""
|
|
7626
|
-
elif False:
|
|
7627
|
-
AppSpecWorkerAutoscalingArgsDict: TypeAlias = Mapping[str, Any]
|
|
7628
|
-
|
|
7629
|
-
@pulumi.input_type
|
|
7630
|
-
class AppSpecWorkerAutoscalingArgs:
|
|
7631
|
-
def __init__(__self__, *,
|
|
7632
|
-
max_instance_count: pulumi.Input[int],
|
|
7633
|
-
metrics: pulumi.Input['AppSpecWorkerAutoscalingMetricsArgs'],
|
|
7634
|
-
min_instance_count: pulumi.Input[int]):
|
|
7635
|
-
"""
|
|
7636
|
-
:param pulumi.Input[int] max_instance_count: The maximum amount of instances for this component. Must be more than min_instance_count.
|
|
7637
|
-
:param pulumi.Input['AppSpecWorkerAutoscalingMetricsArgs'] metrics: The metrics that the component is scaled on.
|
|
7638
|
-
:param pulumi.Input[int] min_instance_count: The minimum amount of instances for this component. Must be less than max_instance_count.
|
|
7639
|
-
"""
|
|
7640
|
-
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
|
7641
|
-
pulumi.set(__self__, "metrics", metrics)
|
|
7642
|
-
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
|
7643
|
-
|
|
7644
|
-
@property
|
|
7645
|
-
@pulumi.getter(name="maxInstanceCount")
|
|
7646
|
-
def max_instance_count(self) -> pulumi.Input[int]:
|
|
7647
|
-
"""
|
|
7648
|
-
The maximum amount of instances for this component. Must be more than min_instance_count.
|
|
7649
|
-
"""
|
|
7650
|
-
return pulumi.get(self, "max_instance_count")
|
|
7651
|
-
|
|
7652
|
-
@max_instance_count.setter
|
|
7653
|
-
def max_instance_count(self, value: pulumi.Input[int]):
|
|
7654
|
-
pulumi.set(self, "max_instance_count", value)
|
|
7655
|
-
|
|
7656
|
-
@property
|
|
7657
|
-
@pulumi.getter
|
|
7658
|
-
def metrics(self) -> pulumi.Input['AppSpecWorkerAutoscalingMetricsArgs']:
|
|
7659
|
-
"""
|
|
7660
|
-
The metrics that the component is scaled on.
|
|
7661
|
-
"""
|
|
7662
|
-
return pulumi.get(self, "metrics")
|
|
7663
|
-
|
|
7664
|
-
@metrics.setter
|
|
7665
|
-
def metrics(self, value: pulumi.Input['AppSpecWorkerAutoscalingMetricsArgs']):
|
|
7666
|
-
pulumi.set(self, "metrics", value)
|
|
7667
|
-
|
|
7668
|
-
@property
|
|
7669
|
-
@pulumi.getter(name="minInstanceCount")
|
|
7670
|
-
def min_instance_count(self) -> pulumi.Input[int]:
|
|
7671
|
-
"""
|
|
7672
|
-
The minimum amount of instances for this component. Must be less than max_instance_count.
|
|
7673
|
-
"""
|
|
7674
|
-
return pulumi.get(self, "min_instance_count")
|
|
7675
|
-
|
|
7676
|
-
@min_instance_count.setter
|
|
7677
|
-
def min_instance_count(self, value: pulumi.Input[int]):
|
|
7678
|
-
pulumi.set(self, "min_instance_count", value)
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
if not MYPY:
|
|
7682
|
-
class AppSpecWorkerAutoscalingMetricsArgsDict(TypedDict):
|
|
7683
|
-
cpu: NotRequired[pulumi.Input['AppSpecWorkerAutoscalingMetricsCpuArgsDict']]
|
|
7684
|
-
"""
|
|
7685
|
-
Settings for scaling the component based on CPU utilization.
|
|
7686
|
-
"""
|
|
7687
|
-
elif False:
|
|
7688
|
-
AppSpecWorkerAutoscalingMetricsArgsDict: TypeAlias = Mapping[str, Any]
|
|
7689
|
-
|
|
7690
|
-
@pulumi.input_type
|
|
7691
|
-
class AppSpecWorkerAutoscalingMetricsArgs:
|
|
7692
|
-
def __init__(__self__, *,
|
|
7693
|
-
cpu: Optional[pulumi.Input['AppSpecWorkerAutoscalingMetricsCpuArgs']] = None):
|
|
7694
|
-
"""
|
|
7695
|
-
:param pulumi.Input['AppSpecWorkerAutoscalingMetricsCpuArgs'] cpu: Settings for scaling the component based on CPU utilization.
|
|
7696
|
-
"""
|
|
7697
|
-
if cpu is not None:
|
|
7698
|
-
pulumi.set(__self__, "cpu", cpu)
|
|
7699
|
-
|
|
7700
|
-
@property
|
|
7701
|
-
@pulumi.getter
|
|
7702
|
-
def cpu(self) -> Optional[pulumi.Input['AppSpecWorkerAutoscalingMetricsCpuArgs']]:
|
|
7703
|
-
"""
|
|
7704
|
-
Settings for scaling the component based on CPU utilization.
|
|
7705
|
-
"""
|
|
7706
|
-
return pulumi.get(self, "cpu")
|
|
7707
|
-
|
|
7708
|
-
@cpu.setter
|
|
7709
|
-
def cpu(self, value: Optional[pulumi.Input['AppSpecWorkerAutoscalingMetricsCpuArgs']]):
|
|
7710
|
-
pulumi.set(self, "cpu", value)
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
if not MYPY:
|
|
7714
|
-
class AppSpecWorkerAutoscalingMetricsCpuArgsDict(TypedDict):
|
|
7715
|
-
percent: pulumi.Input[int]
|
|
7716
|
-
"""
|
|
7717
|
-
The average target CPU utilization for the component.
|
|
7718
|
-
"""
|
|
7719
|
-
elif False:
|
|
7720
|
-
AppSpecWorkerAutoscalingMetricsCpuArgsDict: TypeAlias = Mapping[str, Any]
|
|
7721
|
-
|
|
7722
|
-
@pulumi.input_type
|
|
7723
|
-
class AppSpecWorkerAutoscalingMetricsCpuArgs:
|
|
7724
|
-
def __init__(__self__, *,
|
|
7725
|
-
percent: pulumi.Input[int]):
|
|
7726
|
-
"""
|
|
7727
|
-
:param pulumi.Input[int] percent: The average target CPU utilization for the component.
|
|
7728
|
-
"""
|
|
7729
|
-
pulumi.set(__self__, "percent", percent)
|
|
7730
|
-
|
|
7731
|
-
@property
|
|
7732
|
-
@pulumi.getter
|
|
7733
|
-
def percent(self) -> pulumi.Input[int]:
|
|
7734
|
-
"""
|
|
7735
|
-
The average target CPU utilization for the component.
|
|
7736
|
-
"""
|
|
7737
|
-
return pulumi.get(self, "percent")
|
|
7738
|
-
|
|
7739
|
-
@percent.setter
|
|
7740
|
-
def percent(self, value: pulumi.Input[int]):
|
|
7741
|
-
pulumi.set(self, "percent", value)
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
7384
|
if not MYPY:
|
|
7745
7385
|
class AppSpecWorkerEnvArgsDict(TypedDict):
|
|
7746
7386
|
key: NotRequired[pulumi.Input[str]]
|
|
@@ -8043,10 +7683,6 @@ if not MYPY:
|
|
|
8043
7683
|
"""
|
|
8044
7684
|
Configures automatically deploying images pushed to DOCR.
|
|
8045
7685
|
"""
|
|
8046
|
-
digest: NotRequired[pulumi.Input[str]]
|
|
8047
|
-
"""
|
|
8048
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
8049
|
-
"""
|
|
8050
7686
|
registry: NotRequired[pulumi.Input[str]]
|
|
8051
7687
|
"""
|
|
8052
7688
|
The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
@@ -8068,7 +7704,6 @@ class AppSpecWorkerImageArgs:
|
|
|
8068
7704
|
registry_type: pulumi.Input[str],
|
|
8069
7705
|
repository: pulumi.Input[str],
|
|
8070
7706
|
deploy_on_pushes: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerImageDeployOnPushArgs']]]] = None,
|
|
8071
|
-
digest: Optional[pulumi.Input[str]] = None,
|
|
8072
7707
|
registry: Optional[pulumi.Input[str]] = None,
|
|
8073
7708
|
registry_credentials: Optional[pulumi.Input[str]] = None,
|
|
8074
7709
|
tag: Optional[pulumi.Input[str]] = None):
|
|
@@ -8076,7 +7711,6 @@ class AppSpecWorkerImageArgs:
|
|
|
8076
7711
|
:param pulumi.Input[str] registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
|
|
8077
7712
|
:param pulumi.Input[str] repository: The repository name.
|
|
8078
7713
|
:param pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerImageDeployOnPushArgs']]] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
|
|
8079
|
-
:param pulumi.Input[str] digest: The image digest. Cannot be specified if `tag` is provided.
|
|
8080
7714
|
:param pulumi.Input[str] registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
|
|
8081
7715
|
:param pulumi.Input[str] registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
|
|
8082
7716
|
:param pulumi.Input[str] tag: The repository tag. Defaults to `latest` if not provided.
|
|
@@ -8085,8 +7719,6 @@ class AppSpecWorkerImageArgs:
|
|
|
8085
7719
|
pulumi.set(__self__, "repository", repository)
|
|
8086
7720
|
if deploy_on_pushes is not None:
|
|
8087
7721
|
pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
|
|
8088
|
-
if digest is not None:
|
|
8089
|
-
pulumi.set(__self__, "digest", digest)
|
|
8090
7722
|
if registry is not None:
|
|
8091
7723
|
pulumi.set(__self__, "registry", registry)
|
|
8092
7724
|
if registry_credentials is not None:
|
|
@@ -8130,18 +7762,6 @@ class AppSpecWorkerImageArgs:
|
|
|
8130
7762
|
def deploy_on_pushes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppSpecWorkerImageDeployOnPushArgs']]]]):
|
|
8131
7763
|
pulumi.set(self, "deploy_on_pushes", value)
|
|
8132
7764
|
|
|
8133
|
-
@property
|
|
8134
|
-
@pulumi.getter
|
|
8135
|
-
def digest(self) -> Optional[pulumi.Input[str]]:
|
|
8136
|
-
"""
|
|
8137
|
-
The image digest. Cannot be specified if `tag` is provided.
|
|
8138
|
-
"""
|
|
8139
|
-
return pulumi.get(self, "digest")
|
|
8140
|
-
|
|
8141
|
-
@digest.setter
|
|
8142
|
-
def digest(self, value: Optional[pulumi.Input[str]]):
|
|
8143
|
-
pulumi.set(self, "digest", value)
|
|
8144
|
-
|
|
8145
7765
|
@property
|
|
8146
7766
|
@pulumi.getter
|
|
8147
7767
|
def registry(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -8578,44 +8198,6 @@ class AppSpecWorkerLogDestinationPapertrailArgs:
|
|
|
8578
8198
|
pulumi.set(self, "endpoint", value)
|
|
8579
8199
|
|
|
8580
8200
|
|
|
8581
|
-
if not MYPY:
|
|
8582
|
-
class AppSpecWorkerTerminationArgsDict(TypedDict):
|
|
8583
|
-
grace_period_seconds: NotRequired[pulumi.Input[int]]
|
|
8584
|
-
"""
|
|
8585
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
8586
|
-
|
|
8587
|
-
A `function` component can contain:
|
|
8588
|
-
"""
|
|
8589
|
-
elif False:
|
|
8590
|
-
AppSpecWorkerTerminationArgsDict: TypeAlias = Mapping[str, Any]
|
|
8591
|
-
|
|
8592
|
-
@pulumi.input_type
|
|
8593
|
-
class AppSpecWorkerTerminationArgs:
|
|
8594
|
-
def __init__(__self__, *,
|
|
8595
|
-
grace_period_seconds: Optional[pulumi.Input[int]] = None):
|
|
8596
|
-
"""
|
|
8597
|
-
:param pulumi.Input[int] grace_period_seconds: The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
8598
|
-
|
|
8599
|
-
A `function` component can contain:
|
|
8600
|
-
"""
|
|
8601
|
-
if grace_period_seconds is not None:
|
|
8602
|
-
pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
|
|
8603
|
-
|
|
8604
|
-
@property
|
|
8605
|
-
@pulumi.getter(name="gracePeriodSeconds")
|
|
8606
|
-
def grace_period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
8607
|
-
"""
|
|
8608
|
-
The number of seconds to wait between sending a TERM signal to a container and issuing a KILL which causes immediate shutdown. Default: 120, Minimum 1, Maximum 600.
|
|
8609
|
-
|
|
8610
|
-
A `function` component can contain:
|
|
8611
|
-
"""
|
|
8612
|
-
return pulumi.get(self, "grace_period_seconds")
|
|
8613
|
-
|
|
8614
|
-
@grace_period_seconds.setter
|
|
8615
|
-
def grace_period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
8616
|
-
pulumi.set(self, "grace_period_seconds", value)
|
|
8617
|
-
|
|
8618
|
-
|
|
8619
8201
|
if not MYPY:
|
|
8620
8202
|
class DatabaseClusterBackupRestoreArgsDict(TypedDict):
|
|
8621
8203
|
database_name: pulumi.Input[str]
|