pulumi-digitalocean 4.38.0__py3-none-any.whl → 4.38.0a1734116972__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.

@@ -61,7 +61,6 @@ __all__ = [
61
61
  'AppSpecJobLogDestinationOpenSearch',
62
62
  'AppSpecJobLogDestinationOpenSearchBasicAuth',
63
63
  'AppSpecJobLogDestinationPapertrail',
64
- 'AppSpecJobTermination',
65
64
  'AppSpecService',
66
65
  'AppSpecServiceAlert',
67
66
  'AppSpecServiceAutoscaling',
@@ -83,7 +82,6 @@ __all__ = [
83
82
  'AppSpecServiceLogDestinationOpenSearchBasicAuth',
84
83
  'AppSpecServiceLogDestinationPapertrail',
85
84
  'AppSpecServiceRoute',
86
- 'AppSpecServiceTermination',
87
85
  'AppSpecStaticSite',
88
86
  'AppSpecStaticSiteCors',
89
87
  'AppSpecStaticSiteCorsAllowOrigins',
@@ -94,9 +92,6 @@ __all__ = [
94
92
  'AppSpecStaticSiteRoute',
95
93
  'AppSpecWorker',
96
94
  'AppSpecWorkerAlert',
97
- 'AppSpecWorkerAutoscaling',
98
- 'AppSpecWorkerAutoscalingMetrics',
99
- 'AppSpecWorkerAutoscalingMetricsCpu',
100
95
  'AppSpecWorkerEnv',
101
96
  'AppSpecWorkerGit',
102
97
  'AppSpecWorkerGithub',
@@ -109,7 +104,6 @@ __all__ = [
109
104
  'AppSpecWorkerLogDestinationOpenSearch',
110
105
  'AppSpecWorkerLogDestinationOpenSearchBasicAuth',
111
106
  'AppSpecWorkerLogDestinationPapertrail',
112
- 'AppSpecWorkerTermination',
113
107
  'DatabaseClusterBackupRestore',
114
108
  'DatabaseClusterMaintenanceWindow',
115
109
  'DatabaseFirewallRule',
@@ -194,7 +188,6 @@ __all__ = [
194
188
  'GetAppSpecJobLogDestinationOpenSearchResult',
195
189
  'GetAppSpecJobLogDestinationOpenSearchBasicAuthResult',
196
190
  'GetAppSpecJobLogDestinationPapertrailResult',
197
- 'GetAppSpecJobTerminationResult',
198
191
  'GetAppSpecServiceResult',
199
192
  'GetAppSpecServiceAlertResult',
200
193
  'GetAppSpecServiceAutoscalingResult',
@@ -216,7 +209,6 @@ __all__ = [
216
209
  'GetAppSpecServiceLogDestinationOpenSearchBasicAuthResult',
217
210
  'GetAppSpecServiceLogDestinationPapertrailResult',
218
211
  'GetAppSpecServiceRouteResult',
219
- 'GetAppSpecServiceTerminationResult',
220
212
  'GetAppSpecStaticSiteResult',
221
213
  'GetAppSpecStaticSiteCorsResult',
222
214
  'GetAppSpecStaticSiteCorsAllowOriginsResult',
@@ -227,9 +219,6 @@ __all__ = [
227
219
  'GetAppSpecStaticSiteRouteResult',
228
220
  'GetAppSpecWorkerResult',
229
221
  'GetAppSpecWorkerAlertResult',
230
- 'GetAppSpecWorkerAutoscalingResult',
231
- 'GetAppSpecWorkerAutoscalingMetricsResult',
232
- 'GetAppSpecWorkerAutoscalingMetricsCpuResult',
233
222
  'GetAppSpecWorkerEnvResult',
234
223
  'GetAppSpecWorkerGitResult',
235
224
  'GetAppSpecWorkerGithubResult',
@@ -242,11 +231,9 @@ __all__ = [
242
231
  'GetAppSpecWorkerLogDestinationOpenSearchResult',
243
232
  'GetAppSpecWorkerLogDestinationOpenSearchBasicAuthResult',
244
233
  'GetAppSpecWorkerLogDestinationPapertrailResult',
245
- 'GetAppSpecWorkerTerminationResult',
246
234
  'GetDatabaseClusterMaintenanceWindowResult',
247
235
  'GetDatabaseUserSettingResult',
248
236
  'GetDatabaseUserSettingAclResult',
249
- 'GetDatabaseUserSettingOpensearchAclResult',
250
237
  'GetDomainsDomainResult',
251
238
  'GetDomainsFilterResult',
252
239
  'GetDomainsSortResult',
@@ -2156,8 +2143,7 @@ class AppSpecJob(dict):
2156
2143
  kind: Optional[str] = None,
2157
2144
  log_destinations: Optional[Sequence['outputs.AppSpecJobLogDestination']] = None,
2158
2145
  run_command: Optional[str] = None,
2159
- source_dir: Optional[str] = None,
2160
- termination: Optional['outputs.AppSpecJobTermination'] = None):
2146
+ source_dir: Optional[str] = None):
2161
2147
  """
2162
2148
  :param str name: The name of the component.
2163
2149
  :param Sequence['AppSpecJobAlertArgs'] alerts: Describes an alert policy for the component.
@@ -2179,7 +2165,6 @@ class AppSpecJob(dict):
2179
2165
  :param Sequence['AppSpecJobLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
2180
2166
  :param str run_command: An optional run command to override the component's default.
2181
2167
  :param str source_dir: An optional path to the working directory to use for the build.
2182
- :param 'AppSpecJobTerminationArgs' termination: Contains a component's termination parameters.
2183
2168
  """
2184
2169
  pulumi.set(__self__, "name", name)
2185
2170
  if alerts is not None:
@@ -2212,8 +2197,6 @@ class AppSpecJob(dict):
2212
2197
  pulumi.set(__self__, "run_command", run_command)
2213
2198
  if source_dir is not None:
2214
2199
  pulumi.set(__self__, "source_dir", source_dir)
2215
- if termination is not None:
2216
- pulumi.set(__self__, "termination", termination)
2217
2200
 
2218
2201
  @property
2219
2202
  @pulumi.getter
@@ -2347,14 +2330,6 @@ class AppSpecJob(dict):
2347
2330
  """
2348
2331
  return pulumi.get(self, "source_dir")
2349
2332
 
2350
- @property
2351
- @pulumi.getter
2352
- def termination(self) -> Optional['outputs.AppSpecJobTermination']:
2353
- """
2354
- Contains a component's termination parameters.
2355
- """
2356
- return pulumi.get(self, "termination")
2357
-
2358
2333
 
2359
2334
  @pulumi.output_type
2360
2335
  class AppSpecJobAlert(dict):
@@ -2669,7 +2644,6 @@ class AppSpecJobImage(dict):
2669
2644
  registry_type: str,
2670
2645
  repository: str,
2671
2646
  deploy_on_pushes: Optional[Sequence['outputs.AppSpecJobImageDeployOnPush']] = None,
2672
- digest: Optional[str] = None,
2673
2647
  registry: Optional[str] = None,
2674
2648
  registry_credentials: Optional[str] = None,
2675
2649
  tag: Optional[str] = None):
@@ -2677,7 +2651,6 @@ class AppSpecJobImage(dict):
2677
2651
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
2678
2652
  :param str repository: The repository name.
2679
2653
  :param Sequence['AppSpecJobImageDeployOnPushArgs'] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
2680
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
2681
2654
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
2682
2655
  :param str registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
2683
2656
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -2686,8 +2659,6 @@ class AppSpecJobImage(dict):
2686
2659
  pulumi.set(__self__, "repository", repository)
2687
2660
  if deploy_on_pushes is not None:
2688
2661
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
2689
- if digest is not None:
2690
- pulumi.set(__self__, "digest", digest)
2691
2662
  if registry is not None:
2692
2663
  pulumi.set(__self__, "registry", registry)
2693
2664
  if registry_credentials is not None:
@@ -2719,14 +2690,6 @@ class AppSpecJobImage(dict):
2719
2690
  """
2720
2691
  return pulumi.get(self, "deploy_on_pushes")
2721
2692
 
2722
- @property
2723
- @pulumi.getter
2724
- def digest(self) -> Optional[str]:
2725
- """
2726
- The image digest. Cannot be specified if `tag` is provided.
2727
- """
2728
- return pulumi.get(self, "digest")
2729
-
2730
2693
  @property
2731
2694
  @pulumi.getter
2732
2695
  def registry(self) -> Optional[str]:
@@ -3043,46 +3006,6 @@ class AppSpecJobLogDestinationPapertrail(dict):
3043
3006
  return pulumi.get(self, "endpoint")
3044
3007
 
3045
3008
 
3046
- @pulumi.output_type
3047
- class AppSpecJobTermination(dict):
3048
- @staticmethod
3049
- def __key_warning(key: str):
3050
- suggest = None
3051
- if key == "gracePeriodSeconds":
3052
- suggest = "grace_period_seconds"
3053
-
3054
- if suggest:
3055
- pulumi.log.warn(f"Key '{key}' not found in AppSpecJobTermination. Access the value via the '{suggest}' property getter instead.")
3056
-
3057
- def __getitem__(self, key: str) -> Any:
3058
- AppSpecJobTermination.__key_warning(key)
3059
- return super().__getitem__(key)
3060
-
3061
- def get(self, key: str, default = None) -> Any:
3062
- AppSpecJobTermination.__key_warning(key)
3063
- return super().get(key, default)
3064
-
3065
- def __init__(__self__, *,
3066
- grace_period_seconds: Optional[int] = None):
3067
- """
3068
- :param 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.
3069
-
3070
- A `function` component can contain:
3071
- """
3072
- if grace_period_seconds is not None:
3073
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
3074
-
3075
- @property
3076
- @pulumi.getter(name="gracePeriodSeconds")
3077
- def grace_period_seconds(self) -> Optional[int]:
3078
- """
3079
- 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.
3080
-
3081
- A `function` component can contain:
3082
- """
3083
- return pulumi.get(self, "grace_period_seconds")
3084
-
3085
-
3086
3009
  @pulumi.output_type
3087
3010
  class AppSpecService(dict):
3088
3011
  @staticmethod
@@ -3143,8 +3066,7 @@ class AppSpecService(dict):
3143
3066
  log_destinations: Optional[Sequence['outputs.AppSpecServiceLogDestination']] = None,
3144
3067
  routes: Optional[Sequence['outputs.AppSpecServiceRoute']] = None,
3145
3068
  run_command: Optional[str] = None,
3146
- source_dir: Optional[str] = None,
3147
- termination: Optional['outputs.AppSpecServiceTermination'] = None):
3069
+ source_dir: Optional[str] = None):
3148
3070
  """
3149
3071
  :param str name: The name of the component.
3150
3072
  :param Sequence['AppSpecServiceAlertArgs'] alerts: Describes an alert policy for the component.
@@ -3167,7 +3089,6 @@ class AppSpecService(dict):
3167
3089
  :param Sequence['AppSpecServiceRouteArgs'] routes: An HTTP paths that should be routed to this component.
3168
3090
  :param str run_command: An optional run command to override the component's default.
3169
3091
  :param str source_dir: An optional path to the working directory to use for the build.
3170
- :param 'AppSpecServiceTerminationArgs' termination: Contains a component's termination parameters.
3171
3092
  """
3172
3093
  pulumi.set(__self__, "name", name)
3173
3094
  if alerts is not None:
@@ -3210,8 +3131,6 @@ class AppSpecService(dict):
3210
3131
  pulumi.set(__self__, "run_command", run_command)
3211
3132
  if source_dir is not None:
3212
3133
  pulumi.set(__self__, "source_dir", source_dir)
3213
- if termination is not None:
3214
- pulumi.set(__self__, "termination", termination)
3215
3134
 
3216
3135
  @property
3217
3136
  @pulumi.getter
@@ -3383,14 +3302,6 @@ class AppSpecService(dict):
3383
3302
  """
3384
3303
  return pulumi.get(self, "source_dir")
3385
3304
 
3386
- @property
3387
- @pulumi.getter
3388
- def termination(self) -> Optional['outputs.AppSpecServiceTermination']:
3389
- """
3390
- Contains a component's termination parameters.
3391
- """
3392
- return pulumi.get(self, "termination")
3393
-
3394
3305
 
3395
3306
  @pulumi.output_type
3396
3307
  class AppSpecServiceAlert(dict):
@@ -3539,6 +3450,8 @@ class AppSpecServiceAutoscalingMetricsCpu(dict):
3539
3450
  percent: int):
3540
3451
  """
3541
3452
  :param int percent: The average target CPU utilization for the component.
3453
+
3454
+ A `static_site` can contain:
3542
3455
  """
3543
3456
  pulumi.set(__self__, "percent", percent)
3544
3457
 
@@ -3547,6 +3460,8 @@ class AppSpecServiceAutoscalingMetricsCpu(dict):
3547
3460
  def percent(self) -> int:
3548
3461
  """
3549
3462
  The average target CPU utilization for the component.
3463
+
3464
+ A `static_site` can contain:
3550
3465
  """
3551
3466
  return pulumi.get(self, "percent")
3552
3467
 
@@ -4069,7 +3984,6 @@ class AppSpecServiceImage(dict):
4069
3984
  registry_type: str,
4070
3985
  repository: str,
4071
3986
  deploy_on_pushes: Optional[Sequence['outputs.AppSpecServiceImageDeployOnPush']] = None,
4072
- digest: Optional[str] = None,
4073
3987
  registry: Optional[str] = None,
4074
3988
  registry_credentials: Optional[str] = None,
4075
3989
  tag: Optional[str] = None):
@@ -4077,7 +3991,6 @@ class AppSpecServiceImage(dict):
4077
3991
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
4078
3992
  :param str repository: The repository name.
4079
3993
  :param Sequence['AppSpecServiceImageDeployOnPushArgs'] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
4080
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
4081
3994
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
4082
3995
  :param str registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
4083
3996
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -4086,8 +3999,6 @@ class AppSpecServiceImage(dict):
4086
3999
  pulumi.set(__self__, "repository", repository)
4087
4000
  if deploy_on_pushes is not None:
4088
4001
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
4089
- if digest is not None:
4090
- pulumi.set(__self__, "digest", digest)
4091
4002
  if registry is not None:
4092
4003
  pulumi.set(__self__, "registry", registry)
4093
4004
  if registry_credentials is not None:
@@ -4119,14 +4030,6 @@ class AppSpecServiceImage(dict):
4119
4030
  """
4120
4031
  return pulumi.get(self, "deploy_on_pushes")
4121
4032
 
4122
- @property
4123
- @pulumi.getter
4124
- def digest(self) -> Optional[str]:
4125
- """
4126
- The image digest. Cannot be specified if `tag` is provided.
4127
- """
4128
- return pulumi.get(self, "digest")
4129
-
4130
4033
  @property
4131
4034
  @pulumi.getter
4132
4035
  def registry(self) -> Optional[str]:
@@ -4491,64 +4394,6 @@ class AppSpecServiceRoute(dict):
4491
4394
  return pulumi.get(self, "preserve_path_prefix")
4492
4395
 
4493
4396
 
4494
- @pulumi.output_type
4495
- class AppSpecServiceTermination(dict):
4496
- @staticmethod
4497
- def __key_warning(key: str):
4498
- suggest = None
4499
- if key == "drainSeconds":
4500
- suggest = "drain_seconds"
4501
- elif key == "gracePeriodSeconds":
4502
- suggest = "grace_period_seconds"
4503
-
4504
- if suggest:
4505
- pulumi.log.warn(f"Key '{key}' not found in AppSpecServiceTermination. Access the value via the '{suggest}' property getter instead.")
4506
-
4507
- def __getitem__(self, key: str) -> Any:
4508
- AppSpecServiceTermination.__key_warning(key)
4509
- return super().__getitem__(key)
4510
-
4511
- def get(self, key: str, default = None) -> Any:
4512
- AppSpecServiceTermination.__key_warning(key)
4513
- return super().get(key, default)
4514
-
4515
- def __init__(__self__, *,
4516
- drain_seconds: Optional[int] = None,
4517
- grace_period_seconds: Optional[int] = None):
4518
- """
4519
- :param 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.
4520
-
4521
- A `static_site` can contain:
4522
- :param 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.
4523
-
4524
- A `function` component can contain:
4525
- """
4526
- if drain_seconds is not None:
4527
- pulumi.set(__self__, "drain_seconds", drain_seconds)
4528
- if grace_period_seconds is not None:
4529
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
4530
-
4531
- @property
4532
- @pulumi.getter(name="drainSeconds")
4533
- def drain_seconds(self) -> Optional[int]:
4534
- """
4535
- 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.
4536
-
4537
- A `static_site` can contain:
4538
- """
4539
- return pulumi.get(self, "drain_seconds")
4540
-
4541
- @property
4542
- @pulumi.getter(name="gracePeriodSeconds")
4543
- def grace_period_seconds(self) -> Optional[int]:
4544
- """
4545
- 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.
4546
-
4547
- A `function` component can contain:
4548
- """
4549
- return pulumi.get(self, "grace_period_seconds")
4550
-
4551
-
4552
4397
  @pulumi.output_type
4553
4398
  class AppSpecStaticSite(dict):
4554
4399
  @staticmethod
@@ -5225,7 +5070,6 @@ class AppSpecWorker(dict):
5225
5070
  def __init__(__self__, *,
5226
5071
  name: str,
5227
5072
  alerts: Optional[Sequence['outputs.AppSpecWorkerAlert']] = None,
5228
- autoscaling: Optional['outputs.AppSpecWorkerAutoscaling'] = None,
5229
5073
  build_command: Optional[str] = None,
5230
5074
  dockerfile_path: Optional[str] = None,
5231
5075
  environment_slug: Optional[str] = None,
@@ -5238,12 +5082,10 @@ class AppSpecWorker(dict):
5238
5082
  instance_size_slug: Optional[str] = None,
5239
5083
  log_destinations: Optional[Sequence['outputs.AppSpecWorkerLogDestination']] = None,
5240
5084
  run_command: Optional[str] = None,
5241
- source_dir: Optional[str] = None,
5242
- termination: Optional['outputs.AppSpecWorkerTermination'] = None):
5085
+ source_dir: Optional[str] = None):
5243
5086
  """
5244
5087
  :param str name: The name of the component.
5245
5088
  :param Sequence['AppSpecWorkerAlertArgs'] alerts: Describes an alert policy for the component.
5246
- :param 'AppSpecWorkerAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
5247
5089
  :param str build_command: An optional build command to run while building this component from source.
5248
5090
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
5249
5091
  :param str environment_slug: An environment slug describing the type of this app.
@@ -5257,13 +5099,10 @@ class AppSpecWorker(dict):
5257
5099
  :param Sequence['AppSpecWorkerLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
5258
5100
  :param str run_command: An optional run command to override the component's default.
5259
5101
  :param str source_dir: An optional path to the working directory to use for the build.
5260
- :param 'AppSpecWorkerTerminationArgs' termination: Contains a component's termination parameters.
5261
5102
  """
5262
5103
  pulumi.set(__self__, "name", name)
5263
5104
  if alerts is not None:
5264
5105
  pulumi.set(__self__, "alerts", alerts)
5265
- if autoscaling is not None:
5266
- pulumi.set(__self__, "autoscaling", autoscaling)
5267
5106
  if build_command is not None:
5268
5107
  pulumi.set(__self__, "build_command", build_command)
5269
5108
  if dockerfile_path is not None:
@@ -5290,8 +5129,6 @@ class AppSpecWorker(dict):
5290
5129
  pulumi.set(__self__, "run_command", run_command)
5291
5130
  if source_dir is not None:
5292
5131
  pulumi.set(__self__, "source_dir", source_dir)
5293
- if termination is not None:
5294
- pulumi.set(__self__, "termination", termination)
5295
5132
 
5296
5133
  @property
5297
5134
  @pulumi.getter
@@ -5309,14 +5146,6 @@ class AppSpecWorker(dict):
5309
5146
  """
5310
5147
  return pulumi.get(self, "alerts")
5311
5148
 
5312
- @property
5313
- @pulumi.getter
5314
- def autoscaling(self) -> Optional['outputs.AppSpecWorkerAutoscaling']:
5315
- """
5316
- Configuration for automatically scaling this component based on metrics.
5317
- """
5318
- return pulumi.get(self, "autoscaling")
5319
-
5320
5149
  @property
5321
5150
  @pulumi.getter(name="buildCommand")
5322
5151
  def build_command(self) -> Optional[str]:
@@ -5421,14 +5250,6 @@ class AppSpecWorker(dict):
5421
5250
  """
5422
5251
  return pulumi.get(self, "source_dir")
5423
5252
 
5424
- @property
5425
- @pulumi.getter
5426
- def termination(self) -> Optional['outputs.AppSpecWorkerTermination']:
5427
- """
5428
- Contains a component's termination parameters.
5429
- """
5430
- return pulumi.get(self, "termination")
5431
-
5432
5253
 
5433
5254
  @pulumi.output_type
5434
5255
  class AppSpecWorkerAlert(dict):
@@ -5493,102 +5314,6 @@ class AppSpecWorkerAlert(dict):
5493
5314
  return pulumi.get(self, "disabled")
5494
5315
 
5495
5316
 
5496
- @pulumi.output_type
5497
- class AppSpecWorkerAutoscaling(dict):
5498
- @staticmethod
5499
- def __key_warning(key: str):
5500
- suggest = None
5501
- if key == "maxInstanceCount":
5502
- suggest = "max_instance_count"
5503
- elif key == "minInstanceCount":
5504
- suggest = "min_instance_count"
5505
-
5506
- if suggest:
5507
- pulumi.log.warn(f"Key '{key}' not found in AppSpecWorkerAutoscaling. Access the value via the '{suggest}' property getter instead.")
5508
-
5509
- def __getitem__(self, key: str) -> Any:
5510
- AppSpecWorkerAutoscaling.__key_warning(key)
5511
- return super().__getitem__(key)
5512
-
5513
- def get(self, key: str, default = None) -> Any:
5514
- AppSpecWorkerAutoscaling.__key_warning(key)
5515
- return super().get(key, default)
5516
-
5517
- def __init__(__self__, *,
5518
- max_instance_count: int,
5519
- metrics: 'outputs.AppSpecWorkerAutoscalingMetrics',
5520
- min_instance_count: int):
5521
- """
5522
- :param int max_instance_count: The maximum amount of instances for this component. Must be more than min_instance_count.
5523
- :param 'AppSpecWorkerAutoscalingMetricsArgs' metrics: The metrics that the component is scaled on.
5524
- :param int min_instance_count: The minimum amount of instances for this component. Must be less than max_instance_count.
5525
- """
5526
- pulumi.set(__self__, "max_instance_count", max_instance_count)
5527
- pulumi.set(__self__, "metrics", metrics)
5528
- pulumi.set(__self__, "min_instance_count", min_instance_count)
5529
-
5530
- @property
5531
- @pulumi.getter(name="maxInstanceCount")
5532
- def max_instance_count(self) -> int:
5533
- """
5534
- The maximum amount of instances for this component. Must be more than min_instance_count.
5535
- """
5536
- return pulumi.get(self, "max_instance_count")
5537
-
5538
- @property
5539
- @pulumi.getter
5540
- def metrics(self) -> 'outputs.AppSpecWorkerAutoscalingMetrics':
5541
- """
5542
- The metrics that the component is scaled on.
5543
- """
5544
- return pulumi.get(self, "metrics")
5545
-
5546
- @property
5547
- @pulumi.getter(name="minInstanceCount")
5548
- def min_instance_count(self) -> int:
5549
- """
5550
- The minimum amount of instances for this component. Must be less than max_instance_count.
5551
- """
5552
- return pulumi.get(self, "min_instance_count")
5553
-
5554
-
5555
- @pulumi.output_type
5556
- class AppSpecWorkerAutoscalingMetrics(dict):
5557
- def __init__(__self__, *,
5558
- cpu: Optional['outputs.AppSpecWorkerAutoscalingMetricsCpu'] = None):
5559
- """
5560
- :param 'AppSpecWorkerAutoscalingMetricsCpuArgs' cpu: Settings for scaling the component based on CPU utilization.
5561
- """
5562
- if cpu is not None:
5563
- pulumi.set(__self__, "cpu", cpu)
5564
-
5565
- @property
5566
- @pulumi.getter
5567
- def cpu(self) -> Optional['outputs.AppSpecWorkerAutoscalingMetricsCpu']:
5568
- """
5569
- Settings for scaling the component based on CPU utilization.
5570
- """
5571
- return pulumi.get(self, "cpu")
5572
-
5573
-
5574
- @pulumi.output_type
5575
- class AppSpecWorkerAutoscalingMetricsCpu(dict):
5576
- def __init__(__self__, *,
5577
- percent: int):
5578
- """
5579
- :param int percent: The average target CPU utilization for the component.
5580
- """
5581
- pulumi.set(__self__, "percent", percent)
5582
-
5583
- @property
5584
- @pulumi.getter
5585
- def percent(self) -> int:
5586
- """
5587
- The average target CPU utilization for the component.
5588
- """
5589
- return pulumi.get(self, "percent")
5590
-
5591
-
5592
5317
  @pulumi.output_type
5593
5318
  class AppSpecWorkerEnv(dict):
5594
5319
  def __init__(__self__, *,
@@ -5839,7 +5564,6 @@ class AppSpecWorkerImage(dict):
5839
5564
  registry_type: str,
5840
5565
  repository: str,
5841
5566
  deploy_on_pushes: Optional[Sequence['outputs.AppSpecWorkerImageDeployOnPush']] = None,
5842
- digest: Optional[str] = None,
5843
5567
  registry: Optional[str] = None,
5844
5568
  registry_credentials: Optional[str] = None,
5845
5569
  tag: Optional[str] = None):
@@ -5847,7 +5571,6 @@ class AppSpecWorkerImage(dict):
5847
5571
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
5848
5572
  :param str repository: The repository name.
5849
5573
  :param Sequence['AppSpecWorkerImageDeployOnPushArgs'] deploy_on_pushes: Configures automatically deploying images pushed to DOCR.
5850
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
5851
5574
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
5852
5575
  :param str registry_credentials: The credentials required to access a private Docker Hub or GitHub registry, in the following syntax `<username>:<token>`.
5853
5576
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -5856,8 +5579,6 @@ class AppSpecWorkerImage(dict):
5856
5579
  pulumi.set(__self__, "repository", repository)
5857
5580
  if deploy_on_pushes is not None:
5858
5581
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
5859
- if digest is not None:
5860
- pulumi.set(__self__, "digest", digest)
5861
5582
  if registry is not None:
5862
5583
  pulumi.set(__self__, "registry", registry)
5863
5584
  if registry_credentials is not None:
@@ -5889,14 +5610,6 @@ class AppSpecWorkerImage(dict):
5889
5610
  """
5890
5611
  return pulumi.get(self, "deploy_on_pushes")
5891
5612
 
5892
- @property
5893
- @pulumi.getter
5894
- def digest(self) -> Optional[str]:
5895
- """
5896
- The image digest. Cannot be specified if `tag` is provided.
5897
- """
5898
- return pulumi.get(self, "digest")
5899
-
5900
5613
  @property
5901
5614
  @pulumi.getter
5902
5615
  def registry(self) -> Optional[str]:
@@ -6213,46 +5926,6 @@ class AppSpecWorkerLogDestinationPapertrail(dict):
6213
5926
  return pulumi.get(self, "endpoint")
6214
5927
 
6215
5928
 
6216
- @pulumi.output_type
6217
- class AppSpecWorkerTermination(dict):
6218
- @staticmethod
6219
- def __key_warning(key: str):
6220
- suggest = None
6221
- if key == "gracePeriodSeconds":
6222
- suggest = "grace_period_seconds"
6223
-
6224
- if suggest:
6225
- pulumi.log.warn(f"Key '{key}' not found in AppSpecWorkerTermination. Access the value via the '{suggest}' property getter instead.")
6226
-
6227
- def __getitem__(self, key: str) -> Any:
6228
- AppSpecWorkerTermination.__key_warning(key)
6229
- return super().__getitem__(key)
6230
-
6231
- def get(self, key: str, default = None) -> Any:
6232
- AppSpecWorkerTermination.__key_warning(key)
6233
- return super().get(key, default)
6234
-
6235
- def __init__(__self__, *,
6236
- grace_period_seconds: Optional[int] = None):
6237
- """
6238
- :param 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.
6239
-
6240
- A `function` component can contain:
6241
- """
6242
- if grace_period_seconds is not None:
6243
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
6244
-
6245
- @property
6246
- @pulumi.getter(name="gracePeriodSeconds")
6247
- def grace_period_seconds(self) -> Optional[int]:
6248
- """
6249
- 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.
6250
-
6251
- A `function` component can contain:
6252
- """
6253
- return pulumi.get(self, "grace_period_seconds")
6254
-
6255
-
6256
5929
  @pulumi.output_type
6257
5930
  class DatabaseClusterBackupRestore(dict):
6258
5931
  @staticmethod
@@ -10809,8 +10482,7 @@ class GetAppSpecJobResult(dict):
10809
10482
  kind: Optional[str] = None,
10810
10483
  log_destinations: Optional[Sequence['outputs.GetAppSpecJobLogDestinationResult']] = None,
10811
10484
  run_command: Optional[str] = None,
10812
- source_dir: Optional[str] = None,
10813
- termination: Optional['outputs.GetAppSpecJobTerminationResult'] = None):
10485
+ source_dir: Optional[str] = None):
10814
10486
  """
10815
10487
  :param str name: The name of the component.
10816
10488
  :param Sequence['GetAppSpecJobAlertArgs'] alerts: Describes an alert policy for the component.
@@ -10832,7 +10504,6 @@ class GetAppSpecJobResult(dict):
10832
10504
  :param Sequence['GetAppSpecJobLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
10833
10505
  :param str run_command: An optional run command to override the component's default.
10834
10506
  :param str source_dir: An optional path to the working directory to use for the build.
10835
- :param 'GetAppSpecJobTerminationArgs' termination: Contains a component's termination parameters.
10836
10507
  """
10837
10508
  pulumi.set(__self__, "name", name)
10838
10509
  if alerts is not None:
@@ -10865,8 +10536,6 @@ class GetAppSpecJobResult(dict):
10865
10536
  pulumi.set(__self__, "run_command", run_command)
10866
10537
  if source_dir is not None:
10867
10538
  pulumi.set(__self__, "source_dir", source_dir)
10868
- if termination is not None:
10869
- pulumi.set(__self__, "termination", termination)
10870
10539
 
10871
10540
  @property
10872
10541
  @pulumi.getter
@@ -11000,14 +10669,6 @@ class GetAppSpecJobResult(dict):
11000
10669
  """
11001
10670
  return pulumi.get(self, "source_dir")
11002
10671
 
11003
- @property
11004
- @pulumi.getter
11005
- def termination(self) -> Optional['outputs.GetAppSpecJobTerminationResult']:
11006
- """
11007
- Contains a component's termination parameters.
11008
- """
11009
- return pulumi.get(self, "termination")
11010
-
11011
10672
 
11012
10673
  @pulumi.output_type
11013
10674
  class GetAppSpecJobAlertResult(dict):
@@ -11249,7 +10910,6 @@ class GetAppSpecJobImageResult(dict):
11249
10910
  deploy_on_pushes: Sequence['outputs.GetAppSpecJobImageDeployOnPushResult'],
11250
10911
  registry_type: str,
11251
10912
  repository: str,
11252
- digest: Optional[str] = None,
11253
10913
  registry: Optional[str] = None,
11254
10914
  registry_credentials: Optional[str] = None,
11255
10915
  tag: Optional[str] = None):
@@ -11257,7 +10917,6 @@ class GetAppSpecJobImageResult(dict):
11257
10917
  :param Sequence['GetAppSpecJobImageDeployOnPushArgs'] deploy_on_pushes: Whether to automatically deploy new commits made to the repo.
11258
10918
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
11259
10919
  :param str repository: The repository name.
11260
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
11261
10920
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
11262
10921
  :param str registry_credentials: Access credentials for third-party registries
11263
10922
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -11265,8 +10924,6 @@ class GetAppSpecJobImageResult(dict):
11265
10924
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
11266
10925
  pulumi.set(__self__, "registry_type", registry_type)
11267
10926
  pulumi.set(__self__, "repository", repository)
11268
- if digest is not None:
11269
- pulumi.set(__self__, "digest", digest)
11270
10927
  if registry is not None:
11271
10928
  pulumi.set(__self__, "registry", registry)
11272
10929
  if registry_credentials is not None:
@@ -11298,14 +10955,6 @@ class GetAppSpecJobImageResult(dict):
11298
10955
  """
11299
10956
  return pulumi.get(self, "repository")
11300
10957
 
11301
- @property
11302
- @pulumi.getter
11303
- def digest(self) -> Optional[str]:
11304
- """
11305
- The image digest. Cannot be specified if `tag` is provided.
11306
- """
11307
- return pulumi.get(self, "digest")
11308
-
11309
10958
  @property
11310
10959
  @pulumi.getter
11311
10960
  def registry(self) -> Optional[str]:
@@ -11567,25 +11216,6 @@ class GetAppSpecJobLogDestinationPapertrailResult(dict):
11567
11216
  return pulumi.get(self, "endpoint")
11568
11217
 
11569
11218
 
11570
- @pulumi.output_type
11571
- class GetAppSpecJobTerminationResult(dict):
11572
- def __init__(__self__, *,
11573
- grace_period_seconds: Optional[int] = None):
11574
- """
11575
- :param 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.
11576
- """
11577
- if grace_period_seconds is not None:
11578
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
11579
-
11580
- @property
11581
- @pulumi.getter(name="gracePeriodSeconds")
11582
- def grace_period_seconds(self) -> Optional[int]:
11583
- """
11584
- 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.
11585
- """
11586
- return pulumi.get(self, "grace_period_seconds")
11587
-
11588
-
11589
11219
  @pulumi.output_type
11590
11220
  class GetAppSpecServiceResult(dict):
11591
11221
  def __init__(__self__, *,
@@ -11609,8 +11239,7 @@ class GetAppSpecServiceResult(dict):
11609
11239
  instance_count: Optional[int] = None,
11610
11240
  instance_size_slug: Optional[str] = None,
11611
11241
  log_destinations: Optional[Sequence['outputs.GetAppSpecServiceLogDestinationResult']] = None,
11612
- source_dir: Optional[str] = None,
11613
- termination: Optional['outputs.GetAppSpecServiceTerminationResult'] = None):
11242
+ source_dir: Optional[str] = None):
11614
11243
  """
11615
11244
  :param int http_port: The internal port on which this service's run command will listen.
11616
11245
  :param Sequence[int] internal_ports: A list of ports on which this service will listen for internal traffic.
@@ -11632,7 +11261,6 @@ class GetAppSpecServiceResult(dict):
11632
11261
  :param str instance_size_slug: The instance size to use for this component.
11633
11262
  :param Sequence['GetAppSpecServiceLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
11634
11263
  :param str source_dir: An optional path to the working directory to use for the build.
11635
- :param 'GetAppSpecServiceTerminationArgs' termination: Contains a component's termination parameters.
11636
11264
  """
11637
11265
  pulumi.set(__self__, "http_port", http_port)
11638
11266
  pulumi.set(__self__, "internal_ports", internal_ports)
@@ -11671,8 +11299,6 @@ class GetAppSpecServiceResult(dict):
11671
11299
  pulumi.set(__self__, "log_destinations", log_destinations)
11672
11300
  if source_dir is not None:
11673
11301
  pulumi.set(__self__, "source_dir", source_dir)
11674
- if termination is not None:
11675
- pulumi.set(__self__, "termination", termination)
11676
11302
 
11677
11303
  @property
11678
11304
  @pulumi.getter(name="httpPort")
@@ -11841,14 +11467,6 @@ class GetAppSpecServiceResult(dict):
11841
11467
  """
11842
11468
  return pulumi.get(self, "source_dir")
11843
11469
 
11844
- @property
11845
- @pulumi.getter
11846
- def termination(self) -> Optional['outputs.GetAppSpecServiceTerminationResult']:
11847
- """
11848
- Contains a component's termination parameters.
11849
- """
11850
- return pulumi.get(self, "termination")
11851
-
11852
11470
 
11853
11471
  @pulumi.output_type
11854
11472
  class GetAppSpecServiceAlertResult(dict):
@@ -12381,7 +11999,6 @@ class GetAppSpecServiceImageResult(dict):
12381
11999
  deploy_on_pushes: Sequence['outputs.GetAppSpecServiceImageDeployOnPushResult'],
12382
12000
  registry_type: str,
12383
12001
  repository: str,
12384
- digest: Optional[str] = None,
12385
12002
  registry: Optional[str] = None,
12386
12003
  registry_credentials: Optional[str] = None,
12387
12004
  tag: Optional[str] = None):
@@ -12389,7 +12006,6 @@ class GetAppSpecServiceImageResult(dict):
12389
12006
  :param Sequence['GetAppSpecServiceImageDeployOnPushArgs'] deploy_on_pushes: Whether to automatically deploy new commits made to the repo.
12390
12007
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
12391
12008
  :param str repository: The repository name.
12392
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
12393
12009
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
12394
12010
  :param str registry_credentials: Access credentials for third-party registries
12395
12011
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -12397,8 +12013,6 @@ class GetAppSpecServiceImageResult(dict):
12397
12013
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
12398
12014
  pulumi.set(__self__, "registry_type", registry_type)
12399
12015
  pulumi.set(__self__, "repository", repository)
12400
- if digest is not None:
12401
- pulumi.set(__self__, "digest", digest)
12402
12016
  if registry is not None:
12403
12017
  pulumi.set(__self__, "registry", registry)
12404
12018
  if registry_credentials is not None:
@@ -12430,14 +12044,6 @@ class GetAppSpecServiceImageResult(dict):
12430
12044
  """
12431
12045
  return pulumi.get(self, "repository")
12432
12046
 
12433
- @property
12434
- @pulumi.getter
12435
- def digest(self) -> Optional[str]:
12436
- """
12437
- The image digest. Cannot be specified if `tag` is provided.
12438
- """
12439
- return pulumi.get(self, "digest")
12440
-
12441
12047
  @property
12442
12048
  @pulumi.getter
12443
12049
  def registry(self) -> Optional[str]:
@@ -12730,37 +12336,6 @@ class GetAppSpecServiceRouteResult(dict):
12730
12336
  return pulumi.get(self, "preserve_path_prefix")
12731
12337
 
12732
12338
 
12733
- @pulumi.output_type
12734
- class GetAppSpecServiceTerminationResult(dict):
12735
- def __init__(__self__, *,
12736
- drain_seconds: Optional[int] = None,
12737
- grace_period_seconds: Optional[int] = None):
12738
- """
12739
- :param 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.
12740
- :param 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.
12741
- """
12742
- if drain_seconds is not None:
12743
- pulumi.set(__self__, "drain_seconds", drain_seconds)
12744
- if grace_period_seconds is not None:
12745
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
12746
-
12747
- @property
12748
- @pulumi.getter(name="drainSeconds")
12749
- def drain_seconds(self) -> Optional[int]:
12750
- """
12751
- 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.
12752
- """
12753
- return pulumi.get(self, "drain_seconds")
12754
-
12755
- @property
12756
- @pulumi.getter(name="gracePeriodSeconds")
12757
- def grace_period_seconds(self) -> Optional[int]:
12758
- """
12759
- 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.
12760
- """
12761
- return pulumi.get(self, "grace_period_seconds")
12762
-
12763
-
12764
12339
  @pulumi.output_type
12765
12340
  class GetAppSpecStaticSiteResult(dict):
12766
12341
  def __init__(__self__, *,
@@ -13274,7 +12849,6 @@ class GetAppSpecWorkerResult(dict):
13274
12849
  def __init__(__self__, *,
13275
12850
  name: str,
13276
12851
  alerts: Optional[Sequence['outputs.GetAppSpecWorkerAlertResult']] = None,
13277
- autoscaling: Optional['outputs.GetAppSpecWorkerAutoscalingResult'] = None,
13278
12852
  build_command: Optional[str] = None,
13279
12853
  dockerfile_path: Optional[str] = None,
13280
12854
  environment_slug: Optional[str] = None,
@@ -13287,12 +12861,10 @@ class GetAppSpecWorkerResult(dict):
13287
12861
  instance_size_slug: Optional[str] = None,
13288
12862
  log_destinations: Optional[Sequence['outputs.GetAppSpecWorkerLogDestinationResult']] = None,
13289
12863
  run_command: Optional[str] = None,
13290
- source_dir: Optional[str] = None,
13291
- termination: Optional['outputs.GetAppSpecWorkerTerminationResult'] = None):
12864
+ source_dir: Optional[str] = None):
13292
12865
  """
13293
12866
  :param str name: The name of the component.
13294
12867
  :param Sequence['GetAppSpecWorkerAlertArgs'] alerts: Describes an alert policy for the component.
13295
- :param 'GetAppSpecWorkerAutoscalingArgs' autoscaling: Configuration for automatically scaling this component based on metrics.
13296
12868
  :param str build_command: An optional build command to run while building this component from source.
13297
12869
  :param str dockerfile_path: The path to a Dockerfile relative to the root of the repo. If set, overrides usage of buildpacks.
13298
12870
  :param str environment_slug: An environment slug describing the type of this app.
@@ -13306,13 +12878,10 @@ class GetAppSpecWorkerResult(dict):
13306
12878
  :param Sequence['GetAppSpecWorkerLogDestinationArgs'] log_destinations: Describes a log forwarding destination.
13307
12879
  :param str run_command: An optional run command to override the component's default.
13308
12880
  :param str source_dir: An optional path to the working directory to use for the build.
13309
- :param 'GetAppSpecWorkerTerminationArgs' termination: Contains a component's termination parameters.
13310
12881
  """
13311
12882
  pulumi.set(__self__, "name", name)
13312
12883
  if alerts is not None:
13313
12884
  pulumi.set(__self__, "alerts", alerts)
13314
- if autoscaling is not None:
13315
- pulumi.set(__self__, "autoscaling", autoscaling)
13316
12885
  if build_command is not None:
13317
12886
  pulumi.set(__self__, "build_command", build_command)
13318
12887
  if dockerfile_path is not None:
@@ -13339,8 +12908,6 @@ class GetAppSpecWorkerResult(dict):
13339
12908
  pulumi.set(__self__, "run_command", run_command)
13340
12909
  if source_dir is not None:
13341
12910
  pulumi.set(__self__, "source_dir", source_dir)
13342
- if termination is not None:
13343
- pulumi.set(__self__, "termination", termination)
13344
12911
 
13345
12912
  @property
13346
12913
  @pulumi.getter
@@ -13358,14 +12925,6 @@ class GetAppSpecWorkerResult(dict):
13358
12925
  """
13359
12926
  return pulumi.get(self, "alerts")
13360
12927
 
13361
- @property
13362
- @pulumi.getter
13363
- def autoscaling(self) -> Optional['outputs.GetAppSpecWorkerAutoscalingResult']:
13364
- """
13365
- Configuration for automatically scaling this component based on metrics.
13366
- """
13367
- return pulumi.get(self, "autoscaling")
13368
-
13369
12928
  @property
13370
12929
  @pulumi.getter(name="buildCommand")
13371
12930
  def build_command(self) -> Optional[str]:
@@ -13470,14 +13029,6 @@ class GetAppSpecWorkerResult(dict):
13470
13029
  """
13471
13030
  return pulumi.get(self, "source_dir")
13472
13031
 
13473
- @property
13474
- @pulumi.getter
13475
- def termination(self) -> Optional['outputs.GetAppSpecWorkerTerminationResult']:
13476
- """
13477
- Contains a component's termination parameters.
13478
- """
13479
- return pulumi.get(self, "termination")
13480
-
13481
13032
 
13482
13033
  @pulumi.output_type
13483
13034
  class GetAppSpecWorkerAlertResult(dict):
@@ -13542,83 +13093,6 @@ class GetAppSpecWorkerAlertResult(dict):
13542
13093
  return pulumi.get(self, "disabled")
13543
13094
 
13544
13095
 
13545
- @pulumi.output_type
13546
- class GetAppSpecWorkerAutoscalingResult(dict):
13547
- def __init__(__self__, *,
13548
- max_instance_count: int,
13549
- metrics: 'outputs.GetAppSpecWorkerAutoscalingMetricsResult',
13550
- min_instance_count: int):
13551
- """
13552
- :param int max_instance_count: The maximum amount of instances for this component. Must be more than min_instance_count.
13553
- :param 'GetAppSpecWorkerAutoscalingMetricsArgs' metrics: The metrics that the component is scaled on.
13554
- :param int min_instance_count: The minimum amount of instances for this component. Must be less than max_instance_count.
13555
- """
13556
- pulumi.set(__self__, "max_instance_count", max_instance_count)
13557
- pulumi.set(__self__, "metrics", metrics)
13558
- pulumi.set(__self__, "min_instance_count", min_instance_count)
13559
-
13560
- @property
13561
- @pulumi.getter(name="maxInstanceCount")
13562
- def max_instance_count(self) -> int:
13563
- """
13564
- The maximum amount of instances for this component. Must be more than min_instance_count.
13565
- """
13566
- return pulumi.get(self, "max_instance_count")
13567
-
13568
- @property
13569
- @pulumi.getter
13570
- def metrics(self) -> 'outputs.GetAppSpecWorkerAutoscalingMetricsResult':
13571
- """
13572
- The metrics that the component is scaled on.
13573
- """
13574
- return pulumi.get(self, "metrics")
13575
-
13576
- @property
13577
- @pulumi.getter(name="minInstanceCount")
13578
- def min_instance_count(self) -> int:
13579
- """
13580
- The minimum amount of instances for this component. Must be less than max_instance_count.
13581
- """
13582
- return pulumi.get(self, "min_instance_count")
13583
-
13584
-
13585
- @pulumi.output_type
13586
- class GetAppSpecWorkerAutoscalingMetricsResult(dict):
13587
- def __init__(__self__, *,
13588
- cpu: Optional['outputs.GetAppSpecWorkerAutoscalingMetricsCpuResult'] = None):
13589
- """
13590
- :param 'GetAppSpecWorkerAutoscalingMetricsCpuArgs' cpu: Settings for scaling the component based on CPU utilization.
13591
- """
13592
- if cpu is not None:
13593
- pulumi.set(__self__, "cpu", cpu)
13594
-
13595
- @property
13596
- @pulumi.getter
13597
- def cpu(self) -> Optional['outputs.GetAppSpecWorkerAutoscalingMetricsCpuResult']:
13598
- """
13599
- Settings for scaling the component based on CPU utilization.
13600
- """
13601
- return pulumi.get(self, "cpu")
13602
-
13603
-
13604
- @pulumi.output_type
13605
- class GetAppSpecWorkerAutoscalingMetricsCpuResult(dict):
13606
- def __init__(__self__, *,
13607
- percent: int):
13608
- """
13609
- :param int percent: The average target CPU utilization for the component.
13610
- """
13611
- pulumi.set(__self__, "percent", percent)
13612
-
13613
- @property
13614
- @pulumi.getter
13615
- def percent(self) -> int:
13616
- """
13617
- The average target CPU utilization for the component.
13618
- """
13619
- return pulumi.get(self, "percent")
13620
-
13621
-
13622
13096
  @pulumi.output_type
13623
13097
  class GetAppSpecWorkerEnvResult(dict):
13624
13098
  def __init__(__self__, *,
@@ -13796,7 +13270,6 @@ class GetAppSpecWorkerImageResult(dict):
13796
13270
  deploy_on_pushes: Sequence['outputs.GetAppSpecWorkerImageDeployOnPushResult'],
13797
13271
  registry_type: str,
13798
13272
  repository: str,
13799
- digest: Optional[str] = None,
13800
13273
  registry: Optional[str] = None,
13801
13274
  registry_credentials: Optional[str] = None,
13802
13275
  tag: Optional[str] = None):
@@ -13804,7 +13277,6 @@ class GetAppSpecWorkerImageResult(dict):
13804
13277
  :param Sequence['GetAppSpecWorkerImageDeployOnPushArgs'] deploy_on_pushes: Whether to automatically deploy new commits made to the repo.
13805
13278
  :param str registry_type: The registry type. One of `DOCR` (DigitalOcean container registry) or `DOCKER_HUB`.
13806
13279
  :param str repository: The repository name.
13807
- :param str digest: The image digest. Cannot be specified if `tag` is provided.
13808
13280
  :param str registry: The registry name. Must be left empty for the `DOCR` registry type. Required for the `DOCKER_HUB` registry type.
13809
13281
  :param str registry_credentials: Access credentials for third-party registries
13810
13282
  :param str tag: The repository tag. Defaults to `latest` if not provided.
@@ -13812,8 +13284,6 @@ class GetAppSpecWorkerImageResult(dict):
13812
13284
  pulumi.set(__self__, "deploy_on_pushes", deploy_on_pushes)
13813
13285
  pulumi.set(__self__, "registry_type", registry_type)
13814
13286
  pulumi.set(__self__, "repository", repository)
13815
- if digest is not None:
13816
- pulumi.set(__self__, "digest", digest)
13817
13287
  if registry is not None:
13818
13288
  pulumi.set(__self__, "registry", registry)
13819
13289
  if registry_credentials is not None:
@@ -13845,14 +13315,6 @@ class GetAppSpecWorkerImageResult(dict):
13845
13315
  """
13846
13316
  return pulumi.get(self, "repository")
13847
13317
 
13848
- @property
13849
- @pulumi.getter
13850
- def digest(self) -> Optional[str]:
13851
- """
13852
- The image digest. Cannot be specified if `tag` is provided.
13853
- """
13854
- return pulumi.get(self, "digest")
13855
-
13856
13318
  @property
13857
13319
  @pulumi.getter
13858
13320
  def registry(self) -> Optional[str]:
@@ -14114,25 +13576,6 @@ class GetAppSpecWorkerLogDestinationPapertrailResult(dict):
14114
13576
  return pulumi.get(self, "endpoint")
14115
13577
 
14116
13578
 
14117
- @pulumi.output_type
14118
- class GetAppSpecWorkerTerminationResult(dict):
14119
- def __init__(__self__, *,
14120
- grace_period_seconds: Optional[int] = None):
14121
- """
14122
- :param 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.
14123
- """
14124
- if grace_period_seconds is not None:
14125
- pulumi.set(__self__, "grace_period_seconds", grace_period_seconds)
14126
-
14127
- @property
14128
- @pulumi.getter(name="gracePeriodSeconds")
14129
- def grace_period_seconds(self) -> Optional[int]:
14130
- """
14131
- 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.
14132
- """
14133
- return pulumi.get(self, "grace_period_seconds")
14134
-
14135
-
14136
13579
  @pulumi.output_type
14137
13580
  class GetDatabaseClusterMaintenanceWindowResult(dict):
14138
13581
  def __init__(__self__, *,
@@ -14165,23 +13608,15 @@ class GetDatabaseClusterMaintenanceWindowResult(dict):
14165
13608
  @pulumi.output_type
14166
13609
  class GetDatabaseUserSettingResult(dict):
14167
13610
  def __init__(__self__, *,
14168
- acls: Optional[Sequence['outputs.GetDatabaseUserSettingAclResult']] = None,
14169
- opensearch_acls: Optional[Sequence['outputs.GetDatabaseUserSettingOpensearchAclResult']] = None):
13611
+ acls: Optional[Sequence['outputs.GetDatabaseUserSettingAclResult']] = None):
14170
13612
  if acls is not None:
14171
13613
  pulumi.set(__self__, "acls", acls)
14172
- if opensearch_acls is not None:
14173
- pulumi.set(__self__, "opensearch_acls", opensearch_acls)
14174
13614
 
14175
13615
  @property
14176
13616
  @pulumi.getter
14177
13617
  def acls(self) -> Optional[Sequence['outputs.GetDatabaseUserSettingAclResult']]:
14178
13618
  return pulumi.get(self, "acls")
14179
13619
 
14180
- @property
14181
- @pulumi.getter(name="opensearchAcls")
14182
- def opensearch_acls(self) -> Optional[Sequence['outputs.GetDatabaseUserSettingOpensearchAclResult']]:
14183
- return pulumi.get(self, "opensearch_acls")
14184
-
14185
13620
 
14186
13621
  @pulumi.output_type
14187
13622
  class GetDatabaseUserSettingAclResult(dict):
@@ -14209,25 +13644,6 @@ class GetDatabaseUserSettingAclResult(dict):
14209
13644
  return pulumi.get(self, "topic")
14210
13645
 
14211
13646
 
14212
- @pulumi.output_type
14213
- class GetDatabaseUserSettingOpensearchAclResult(dict):
14214
- def __init__(__self__, *,
14215
- index: str,
14216
- permission: str):
14217
- pulumi.set(__self__, "index", index)
14218
- pulumi.set(__self__, "permission", permission)
14219
-
14220
- @property
14221
- @pulumi.getter
14222
- def index(self) -> str:
14223
- return pulumi.get(self, "index")
14224
-
14225
- @property
14226
- @pulumi.getter
14227
- def permission(self) -> str:
14228
- return pulumi.get(self, "permission")
14229
-
14230
-
14231
13647
  @pulumi.output_type
14232
13648
  class GetDomainsDomainResult(dict):
14233
13649
  def __init__(__self__, *,