pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744266805__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-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744266805.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gke/outputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -98,10 +99,10 @@ class ElastigroupBackendService(dict):
|
|
|
98
99
|
return super().get(key, default)
|
|
99
100
|
|
|
100
101
|
def __init__(__self__, *,
|
|
101
|
-
service_name: str,
|
|
102
|
-
location_type: Optional[str] = None,
|
|
102
|
+
service_name: builtins.str,
|
|
103
|
+
location_type: Optional[builtins.str] = None,
|
|
103
104
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
104
|
-
scheme: Optional[str] = None):
|
|
105
|
+
scheme: Optional[builtins.str] = None):
|
|
105
106
|
pulumi.set(__self__, "service_name", service_name)
|
|
106
107
|
if location_type is not None:
|
|
107
108
|
pulumi.set(__self__, "location_type", location_type)
|
|
@@ -112,12 +113,12 @@ class ElastigroupBackendService(dict):
|
|
|
112
113
|
|
|
113
114
|
@property
|
|
114
115
|
@pulumi.getter(name="serviceName")
|
|
115
|
-
def service_name(self) -> str:
|
|
116
|
+
def service_name(self) -> builtins.str:
|
|
116
117
|
return pulumi.get(self, "service_name")
|
|
117
118
|
|
|
118
119
|
@property
|
|
119
120
|
@pulumi.getter(name="locationType")
|
|
120
|
-
def location_type(self) -> Optional[str]:
|
|
121
|
+
def location_type(self) -> Optional[builtins.str]:
|
|
121
122
|
return pulumi.get(self, "location_type")
|
|
122
123
|
|
|
123
124
|
@property
|
|
@@ -127,26 +128,26 @@ class ElastigroupBackendService(dict):
|
|
|
127
128
|
|
|
128
129
|
@property
|
|
129
130
|
@pulumi.getter
|
|
130
|
-
def scheme(self) -> Optional[str]:
|
|
131
|
+
def scheme(self) -> Optional[builtins.str]:
|
|
131
132
|
return pulumi.get(self, "scheme")
|
|
132
133
|
|
|
133
134
|
|
|
134
135
|
@pulumi.output_type
|
|
135
136
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
136
137
|
def __init__(__self__, *,
|
|
137
|
-
name: str,
|
|
138
|
-
ports: Sequence[str]):
|
|
138
|
+
name: builtins.str,
|
|
139
|
+
ports: Sequence[builtins.str]):
|
|
139
140
|
pulumi.set(__self__, "name", name)
|
|
140
141
|
pulumi.set(__self__, "ports", ports)
|
|
141
142
|
|
|
142
143
|
@property
|
|
143
144
|
@pulumi.getter
|
|
144
|
-
def name(self) -> str:
|
|
145
|
+
def name(self) -> builtins.str:
|
|
145
146
|
return pulumi.get(self, "name")
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter
|
|
149
|
-
def ports(self) -> Sequence[str]:
|
|
150
|
+
def ports(self) -> Sequence[builtins.str]:
|
|
150
151
|
return pulumi.get(self, "ports")
|
|
151
152
|
|
|
152
153
|
|
|
@@ -174,14 +175,14 @@ class ElastigroupDisk(dict):
|
|
|
174
175
|
return super().get(key, default)
|
|
175
176
|
|
|
176
177
|
def __init__(__self__, *,
|
|
177
|
-
auto_delete: Optional[bool] = None,
|
|
178
|
-
boot: Optional[bool] = None,
|
|
179
|
-
device_name: Optional[str] = None,
|
|
178
|
+
auto_delete: Optional[builtins.bool] = None,
|
|
179
|
+
boot: Optional[builtins.bool] = None,
|
|
180
|
+
device_name: Optional[builtins.str] = None,
|
|
180
181
|
initialize_params: Optional[Sequence['outputs.ElastigroupDiskInitializeParam']] = None,
|
|
181
|
-
interface: Optional[str] = None,
|
|
182
|
-
mode: Optional[str] = None,
|
|
183
|
-
source: Optional[str] = None,
|
|
184
|
-
type: Optional[str] = None):
|
|
182
|
+
interface: Optional[builtins.str] = None,
|
|
183
|
+
mode: Optional[builtins.str] = None,
|
|
184
|
+
source: Optional[builtins.str] = None,
|
|
185
|
+
type: Optional[builtins.str] = None):
|
|
185
186
|
if auto_delete is not None:
|
|
186
187
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
187
188
|
if boot is not None:
|
|
@@ -201,17 +202,17 @@ class ElastigroupDisk(dict):
|
|
|
201
202
|
|
|
202
203
|
@property
|
|
203
204
|
@pulumi.getter(name="autoDelete")
|
|
204
|
-
def auto_delete(self) -> Optional[bool]:
|
|
205
|
+
def auto_delete(self) -> Optional[builtins.bool]:
|
|
205
206
|
return pulumi.get(self, "auto_delete")
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter
|
|
209
|
-
def boot(self) -> Optional[bool]:
|
|
210
|
+
def boot(self) -> Optional[builtins.bool]:
|
|
210
211
|
return pulumi.get(self, "boot")
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="deviceName")
|
|
214
|
-
def device_name(self) -> Optional[str]:
|
|
215
|
+
def device_name(self) -> Optional[builtins.str]:
|
|
215
216
|
return pulumi.get(self, "device_name")
|
|
216
217
|
|
|
217
218
|
@property
|
|
@@ -221,22 +222,22 @@ class ElastigroupDisk(dict):
|
|
|
221
222
|
|
|
222
223
|
@property
|
|
223
224
|
@pulumi.getter
|
|
224
|
-
def interface(self) -> Optional[str]:
|
|
225
|
+
def interface(self) -> Optional[builtins.str]:
|
|
225
226
|
return pulumi.get(self, "interface")
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter
|
|
229
|
-
def mode(self) -> Optional[str]:
|
|
230
|
+
def mode(self) -> Optional[builtins.str]:
|
|
230
231
|
return pulumi.get(self, "mode")
|
|
231
232
|
|
|
232
233
|
@property
|
|
233
234
|
@pulumi.getter
|
|
234
|
-
def source(self) -> Optional[str]:
|
|
235
|
+
def source(self) -> Optional[builtins.str]:
|
|
235
236
|
return pulumi.get(self, "source")
|
|
236
237
|
|
|
237
238
|
@property
|
|
238
239
|
@pulumi.getter
|
|
239
|
-
def type(self) -> Optional[str]:
|
|
240
|
+
def type(self) -> Optional[builtins.str]:
|
|
240
241
|
return pulumi.get(self, "type")
|
|
241
242
|
|
|
242
243
|
|
|
@@ -264,9 +265,9 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
264
265
|
return super().get(key, default)
|
|
265
266
|
|
|
266
267
|
def __init__(__self__, *,
|
|
267
|
-
source_image: str,
|
|
268
|
-
disk_size_gb: Optional[str] = None,
|
|
269
|
-
disk_type: Optional[str] = None):
|
|
268
|
+
source_image: builtins.str,
|
|
269
|
+
disk_size_gb: Optional[builtins.str] = None,
|
|
270
|
+
disk_type: Optional[builtins.str] = None):
|
|
270
271
|
pulumi.set(__self__, "source_image", source_image)
|
|
271
272
|
if disk_size_gb is not None:
|
|
272
273
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
|
@@ -275,36 +276,36 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
275
276
|
|
|
276
277
|
@property
|
|
277
278
|
@pulumi.getter(name="sourceImage")
|
|
278
|
-
def source_image(self) -> str:
|
|
279
|
+
def source_image(self) -> builtins.str:
|
|
279
280
|
return pulumi.get(self, "source_image")
|
|
280
281
|
|
|
281
282
|
@property
|
|
282
283
|
@pulumi.getter(name="diskSizeGb")
|
|
283
|
-
def disk_size_gb(self) -> Optional[str]:
|
|
284
|
+
def disk_size_gb(self) -> Optional[builtins.str]:
|
|
284
285
|
return pulumi.get(self, "disk_size_gb")
|
|
285
286
|
|
|
286
287
|
@property
|
|
287
288
|
@pulumi.getter(name="diskType")
|
|
288
|
-
def disk_type(self) -> Optional[str]:
|
|
289
|
+
def disk_type(self) -> Optional[builtins.str]:
|
|
289
290
|
return pulumi.get(self, "disk_type")
|
|
290
291
|
|
|
291
292
|
|
|
292
293
|
@pulumi.output_type
|
|
293
294
|
class ElastigroupGpu(dict):
|
|
294
295
|
def __init__(__self__, *,
|
|
295
|
-
count: int,
|
|
296
|
-
type: str):
|
|
296
|
+
count: builtins.int,
|
|
297
|
+
type: builtins.str):
|
|
297
298
|
pulumi.set(__self__, "count", count)
|
|
298
299
|
pulumi.set(__self__, "type", type)
|
|
299
300
|
|
|
300
301
|
@property
|
|
301
302
|
@pulumi.getter
|
|
302
|
-
def count(self) -> int:
|
|
303
|
+
def count(self) -> builtins.int:
|
|
303
304
|
return pulumi.get(self, "count")
|
|
304
305
|
|
|
305
306
|
@property
|
|
306
307
|
@pulumi.getter
|
|
307
|
-
def type(self) -> str:
|
|
308
|
+
def type(self) -> builtins.str:
|
|
308
309
|
return pulumi.get(self, "type")
|
|
309
310
|
|
|
310
311
|
|
|
@@ -328,19 +329,19 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
328
329
|
return super().get(key, default)
|
|
329
330
|
|
|
330
331
|
def __init__(__self__, *,
|
|
331
|
-
memory_gib: int,
|
|
332
|
-
vcpu: int):
|
|
332
|
+
memory_gib: builtins.int,
|
|
333
|
+
vcpu: builtins.int):
|
|
333
334
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
334
335
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
335
336
|
|
|
336
337
|
@property
|
|
337
338
|
@pulumi.getter(name="memoryGib")
|
|
338
|
-
def memory_gib(self) -> int:
|
|
339
|
+
def memory_gib(self) -> builtins.int:
|
|
339
340
|
return pulumi.get(self, "memory_gib")
|
|
340
341
|
|
|
341
342
|
@property
|
|
342
343
|
@pulumi.getter
|
|
343
|
-
def vcpu(self) -> int:
|
|
344
|
+
def vcpu(self) -> builtins.int:
|
|
344
345
|
return pulumi.get(self, "vcpu")
|
|
345
346
|
|
|
346
347
|
|
|
@@ -366,19 +367,19 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
366
367
|
return super().get(key, default)
|
|
367
368
|
|
|
368
369
|
def __init__(__self__, *,
|
|
369
|
-
master_host: str,
|
|
370
|
-
master_port: int):
|
|
370
|
+
master_host: builtins.str,
|
|
371
|
+
master_port: builtins.int):
|
|
371
372
|
pulumi.set(__self__, "master_host", master_host)
|
|
372
373
|
pulumi.set(__self__, "master_port", master_port)
|
|
373
374
|
|
|
374
375
|
@property
|
|
375
376
|
@pulumi.getter(name="masterHost")
|
|
376
|
-
def master_host(self) -> str:
|
|
377
|
+
def master_host(self) -> builtins.str:
|
|
377
378
|
return pulumi.get(self, "master_host")
|
|
378
379
|
|
|
379
380
|
@property
|
|
380
381
|
@pulumi.getter(name="masterPort")
|
|
381
|
-
def master_port(self) -> int:
|
|
382
|
+
def master_port(self) -> builtins.int:
|
|
382
383
|
return pulumi.get(self, "master_port")
|
|
383
384
|
|
|
384
385
|
|
|
@@ -416,22 +417,22 @@ class ElastigroupIntegrationGke(dict):
|
|
|
416
417
|
return super().get(key, default)
|
|
417
418
|
|
|
418
419
|
def __init__(__self__, *,
|
|
419
|
-
auto_update: Optional[bool] = None,
|
|
420
|
-
autoscale_cooldown: Optional[int] = None,
|
|
420
|
+
auto_update: Optional[builtins.bool] = None,
|
|
421
|
+
autoscale_cooldown: Optional[builtins.int] = None,
|
|
421
422
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
422
423
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
423
|
-
autoscale_is_auto_config: Optional[bool] = None,
|
|
424
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
424
|
+
autoscale_is_auto_config: Optional[builtins.bool] = None,
|
|
425
|
+
autoscale_is_enabled: Optional[builtins.bool] = None,
|
|
425
426
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
426
|
-
cluster_id: Optional[str] = None,
|
|
427
|
-
location: Optional[str] = None):
|
|
427
|
+
cluster_id: Optional[builtins.str] = None,
|
|
428
|
+
location: Optional[builtins.str] = None):
|
|
428
429
|
"""
|
|
429
|
-
:param int autoscale_cooldown: The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
430
|
+
:param builtins.int autoscale_cooldown: The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
430
431
|
:param 'ElastigroupIntegrationGkeAutoscaleDownArgs' autoscale_down: Enabling scale down.
|
|
431
432
|
:param 'ElastigroupIntegrationGkeAutoscaleHeadroomArgs' autoscale_headroom: Headroom for the cluster.
|
|
432
|
-
:param bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
433
|
+
:param builtins.bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
433
434
|
:param Sequence['ElastigroupIntegrationGkeAutoscaleLabelArgs'] autoscale_labels: Labels to assign to the resource.
|
|
434
|
-
:param str location: The location of your GKE cluster.
|
|
435
|
+
:param builtins.str location: The location of your GKE cluster.
|
|
435
436
|
"""
|
|
436
437
|
if auto_update is not None:
|
|
437
438
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
@@ -454,12 +455,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
454
455
|
|
|
455
456
|
@property
|
|
456
457
|
@pulumi.getter(name="autoUpdate")
|
|
457
|
-
def auto_update(self) -> Optional[bool]:
|
|
458
|
+
def auto_update(self) -> Optional[builtins.bool]:
|
|
458
459
|
return pulumi.get(self, "auto_update")
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter(name="autoscaleCooldown")
|
|
462
|
-
def autoscale_cooldown(self) -> Optional[int]:
|
|
463
|
+
def autoscale_cooldown(self) -> Optional[builtins.int]:
|
|
463
464
|
"""
|
|
464
465
|
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
465
466
|
"""
|
|
@@ -483,12 +484,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
486
|
-
def autoscale_is_auto_config(self) -> Optional[bool]:
|
|
487
|
+
def autoscale_is_auto_config(self) -> Optional[builtins.bool]:
|
|
487
488
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
488
489
|
|
|
489
490
|
@property
|
|
490
491
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
491
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
492
|
+
def autoscale_is_enabled(self) -> Optional[builtins.bool]:
|
|
492
493
|
"""
|
|
493
494
|
Specifies whether the auto scaling feature is enabled.
|
|
494
495
|
"""
|
|
@@ -504,12 +505,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
504
505
|
|
|
505
506
|
@property
|
|
506
507
|
@pulumi.getter(name="clusterId")
|
|
507
|
-
def cluster_id(self) -> Optional[str]:
|
|
508
|
+
def cluster_id(self) -> Optional[builtins.str]:
|
|
508
509
|
return pulumi.get(self, "cluster_id")
|
|
509
510
|
|
|
510
511
|
@property
|
|
511
512
|
@pulumi.getter
|
|
512
|
-
def location(self) -> Optional[str]:
|
|
513
|
+
def location(self) -> Optional[builtins.str]:
|
|
513
514
|
"""
|
|
514
515
|
The location of your GKE cluster.
|
|
515
516
|
"""
|
|
@@ -536,16 +537,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
536
537
|
return super().get(key, default)
|
|
537
538
|
|
|
538
539
|
def __init__(__self__, *,
|
|
539
|
-
evaluation_periods: Optional[int] = None):
|
|
540
|
+
evaluation_periods: Optional[builtins.int] = None):
|
|
540
541
|
"""
|
|
541
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
542
|
+
:param builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
542
543
|
"""
|
|
543
544
|
if evaluation_periods is not None:
|
|
544
545
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
545
546
|
|
|
546
547
|
@property
|
|
547
548
|
@pulumi.getter(name="evaluationPeriods")
|
|
548
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
549
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
549
550
|
"""
|
|
550
551
|
Amount of cooldown evaluation periods for scale down.
|
|
551
552
|
"""
|
|
@@ -576,13 +577,13 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
576
577
|
return super().get(key, default)
|
|
577
578
|
|
|
578
579
|
def __init__(__self__, *,
|
|
579
|
-
cpu_per_unit: Optional[int] = None,
|
|
580
|
-
memory_per_unit: Optional[int] = None,
|
|
581
|
-
num_of_units: Optional[int] = None):
|
|
580
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
581
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
582
|
+
num_of_units: Optional[builtins.int] = None):
|
|
582
583
|
"""
|
|
583
|
-
:param int cpu_per_unit: Cpu units for compute.
|
|
584
|
-
:param int memory_per_unit: RAM units for compute.
|
|
585
|
-
:param int num_of_units: Amount of units for compute.
|
|
584
|
+
:param builtins.int cpu_per_unit: Cpu units for compute.
|
|
585
|
+
:param builtins.int memory_per_unit: RAM units for compute.
|
|
586
|
+
:param builtins.int num_of_units: Amount of units for compute.
|
|
586
587
|
"""
|
|
587
588
|
if cpu_per_unit is not None:
|
|
588
589
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -593,7 +594,7 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
593
594
|
|
|
594
595
|
@property
|
|
595
596
|
@pulumi.getter(name="cpuPerUnit")
|
|
596
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
597
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
597
598
|
"""
|
|
598
599
|
Cpu units for compute.
|
|
599
600
|
"""
|
|
@@ -601,7 +602,7 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
601
602
|
|
|
602
603
|
@property
|
|
603
604
|
@pulumi.getter(name="memoryPerUnit")
|
|
604
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
605
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
605
606
|
"""
|
|
606
607
|
RAM units for compute.
|
|
607
608
|
"""
|
|
@@ -609,7 +610,7 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
609
610
|
|
|
610
611
|
@property
|
|
611
612
|
@pulumi.getter(name="numOfUnits")
|
|
612
|
-
def num_of_units(self) -> Optional[int]:
|
|
613
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
613
614
|
"""
|
|
614
615
|
Amount of units for compute.
|
|
615
616
|
"""
|
|
@@ -619,57 +620,57 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
619
620
|
@pulumi.output_type
|
|
620
621
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
621
622
|
def __init__(__self__, *,
|
|
622
|
-
key: str,
|
|
623
|
-
value: str):
|
|
623
|
+
key: builtins.str,
|
|
624
|
+
value: builtins.str):
|
|
624
625
|
pulumi.set(__self__, "key", key)
|
|
625
626
|
pulumi.set(__self__, "value", value)
|
|
626
627
|
|
|
627
628
|
@property
|
|
628
629
|
@pulumi.getter
|
|
629
|
-
def key(self) -> str:
|
|
630
|
+
def key(self) -> builtins.str:
|
|
630
631
|
return pulumi.get(self, "key")
|
|
631
632
|
|
|
632
633
|
@property
|
|
633
634
|
@pulumi.getter
|
|
634
|
-
def value(self) -> str:
|
|
635
|
+
def value(self) -> builtins.str:
|
|
635
636
|
return pulumi.get(self, "value")
|
|
636
637
|
|
|
637
638
|
|
|
638
639
|
@pulumi.output_type
|
|
639
640
|
class ElastigroupLabel(dict):
|
|
640
641
|
def __init__(__self__, *,
|
|
641
|
-
key: str,
|
|
642
|
-
value: str):
|
|
642
|
+
key: builtins.str,
|
|
643
|
+
value: builtins.str):
|
|
643
644
|
pulumi.set(__self__, "key", key)
|
|
644
645
|
pulumi.set(__self__, "value", value)
|
|
645
646
|
|
|
646
647
|
@property
|
|
647
648
|
@pulumi.getter
|
|
648
|
-
def key(self) -> str:
|
|
649
|
+
def key(self) -> builtins.str:
|
|
649
650
|
return pulumi.get(self, "key")
|
|
650
651
|
|
|
651
652
|
@property
|
|
652
653
|
@pulumi.getter
|
|
653
|
-
def value(self) -> str:
|
|
654
|
+
def value(self) -> builtins.str:
|
|
654
655
|
return pulumi.get(self, "value")
|
|
655
656
|
|
|
656
657
|
|
|
657
658
|
@pulumi.output_type
|
|
658
659
|
class ElastigroupMetadata(dict):
|
|
659
660
|
def __init__(__self__, *,
|
|
660
|
-
key: str,
|
|
661
|
-
value: str):
|
|
661
|
+
key: builtins.str,
|
|
662
|
+
value: builtins.str):
|
|
662
663
|
pulumi.set(__self__, "key", key)
|
|
663
664
|
pulumi.set(__self__, "value", value)
|
|
664
665
|
|
|
665
666
|
@property
|
|
666
667
|
@pulumi.getter
|
|
667
|
-
def key(self) -> str:
|
|
668
|
+
def key(self) -> builtins.str:
|
|
668
669
|
return pulumi.get(self, "key")
|
|
669
670
|
|
|
670
671
|
@property
|
|
671
672
|
@pulumi.getter
|
|
672
|
-
def value(self) -> str:
|
|
673
|
+
def value(self) -> builtins.str:
|
|
673
674
|
return pulumi.get(self, "value")
|
|
674
675
|
|
|
675
676
|
|
|
@@ -695,7 +696,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
695
696
|
return super().get(key, default)
|
|
696
697
|
|
|
697
698
|
def __init__(__self__, *,
|
|
698
|
-
network: str,
|
|
699
|
+
network: builtins.str,
|
|
699
700
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
700
701
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
701
702
|
pulumi.set(__self__, "network", network)
|
|
@@ -706,7 +707,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
706
707
|
|
|
707
708
|
@property
|
|
708
709
|
@pulumi.getter
|
|
709
|
-
def network(self) -> str:
|
|
710
|
+
def network(self) -> builtins.str:
|
|
710
711
|
return pulumi.get(self, "network")
|
|
711
712
|
|
|
712
713
|
@property
|
|
@@ -723,8 +724,8 @@ class ElastigroupNetworkInterface(dict):
|
|
|
723
724
|
@pulumi.output_type
|
|
724
725
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
725
726
|
def __init__(__self__, *,
|
|
726
|
-
name: Optional[str] = None,
|
|
727
|
-
type: Optional[str] = None):
|
|
727
|
+
name: Optional[builtins.str] = None,
|
|
728
|
+
type: Optional[builtins.str] = None):
|
|
728
729
|
if name is not None:
|
|
729
730
|
pulumi.set(__self__, "name", name)
|
|
730
731
|
if type is not None:
|
|
@@ -732,12 +733,12 @@ class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
|
732
733
|
|
|
733
734
|
@property
|
|
734
735
|
@pulumi.getter
|
|
735
|
-
def name(self) -> Optional[str]:
|
|
736
|
+
def name(self) -> Optional[builtins.str]:
|
|
736
737
|
return pulumi.get(self, "name")
|
|
737
738
|
|
|
738
739
|
@property
|
|
739
740
|
@pulumi.getter
|
|
740
|
-
def type(self) -> Optional[str]:
|
|
741
|
+
def type(self) -> Optional[builtins.str]:
|
|
741
742
|
return pulumi.get(self, "type")
|
|
742
743
|
|
|
743
744
|
|
|
@@ -763,19 +764,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
763
764
|
return super().get(key, default)
|
|
764
765
|
|
|
765
766
|
def __init__(__self__, *,
|
|
766
|
-
ip_cidr_range: str,
|
|
767
|
-
subnetwork_range_name: str):
|
|
767
|
+
ip_cidr_range: builtins.str,
|
|
768
|
+
subnetwork_range_name: builtins.str):
|
|
768
769
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
769
770
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
770
771
|
|
|
771
772
|
@property
|
|
772
773
|
@pulumi.getter(name="ipCidrRange")
|
|
773
|
-
def ip_cidr_range(self) -> str:
|
|
774
|
+
def ip_cidr_range(self) -> builtins.str:
|
|
774
775
|
return pulumi.get(self, "ip_cidr_range")
|
|
775
776
|
|
|
776
777
|
@property
|
|
777
778
|
@pulumi.getter(name="subnetworkRangeName")
|
|
778
|
-
def subnetwork_range_name(self) -> str:
|
|
779
|
+
def subnetwork_range_name(self) -> builtins.str:
|
|
779
780
|
return pulumi.get(self, "subnetwork_range_name")
|
|
780
781
|
|
|
781
782
|
|
|
@@ -799,12 +800,12 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
799
800
|
return super().get(key, default)
|
|
800
801
|
|
|
801
802
|
def __init__(__self__, *,
|
|
802
|
-
perform_at: str):
|
|
803
|
+
perform_at: builtins.str):
|
|
803
804
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
804
805
|
|
|
805
806
|
@property
|
|
806
807
|
@pulumi.getter(name="performAt")
|
|
807
|
-
def perform_at(self) -> str:
|
|
808
|
+
def perform_at(self) -> builtins.str:
|
|
808
809
|
return pulumi.get(self, "perform_at")
|
|
809
810
|
|
|
810
811
|
|
|
@@ -834,22 +835,22 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
834
835
|
return super().get(key, default)
|
|
835
836
|
|
|
836
837
|
def __init__(__self__, *,
|
|
837
|
-
metric_name: str,
|
|
838
|
-
namespace: str,
|
|
839
|
-
policy_name: str,
|
|
840
|
-
threshold: float,
|
|
841
|
-
unit: str,
|
|
842
|
-
action_type: Optional[str] = None,
|
|
843
|
-
adjustment: Optional[int] = None,
|
|
844
|
-
cooldown: Optional[int] = None,
|
|
838
|
+
metric_name: builtins.str,
|
|
839
|
+
namespace: builtins.str,
|
|
840
|
+
policy_name: builtins.str,
|
|
841
|
+
threshold: builtins.float,
|
|
842
|
+
unit: builtins.str,
|
|
843
|
+
action_type: Optional[builtins.str] = None,
|
|
844
|
+
adjustment: Optional[builtins.int] = None,
|
|
845
|
+
cooldown: Optional[builtins.int] = None,
|
|
845
846
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
846
|
-
evaluation_periods: Optional[int] = None,
|
|
847
|
-
operator: Optional[str] = None,
|
|
848
|
-
period: Optional[int] = None,
|
|
849
|
-
source: Optional[str] = None,
|
|
850
|
-
statistic: Optional[str] = None):
|
|
847
|
+
evaluation_periods: Optional[builtins.int] = None,
|
|
848
|
+
operator: Optional[builtins.str] = None,
|
|
849
|
+
period: Optional[builtins.int] = None,
|
|
850
|
+
source: Optional[builtins.str] = None,
|
|
851
|
+
statistic: Optional[builtins.str] = None):
|
|
851
852
|
"""
|
|
852
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
853
|
+
:param builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
853
854
|
"""
|
|
854
855
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
855
856
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -877,42 +878,42 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
877
878
|
|
|
878
879
|
@property
|
|
879
880
|
@pulumi.getter(name="metricName")
|
|
880
|
-
def metric_name(self) -> str:
|
|
881
|
+
def metric_name(self) -> builtins.str:
|
|
881
882
|
return pulumi.get(self, "metric_name")
|
|
882
883
|
|
|
883
884
|
@property
|
|
884
885
|
@pulumi.getter
|
|
885
|
-
def namespace(self) -> str:
|
|
886
|
+
def namespace(self) -> builtins.str:
|
|
886
887
|
return pulumi.get(self, "namespace")
|
|
887
888
|
|
|
888
889
|
@property
|
|
889
890
|
@pulumi.getter(name="policyName")
|
|
890
|
-
def policy_name(self) -> str:
|
|
891
|
+
def policy_name(self) -> builtins.str:
|
|
891
892
|
return pulumi.get(self, "policy_name")
|
|
892
893
|
|
|
893
894
|
@property
|
|
894
895
|
@pulumi.getter
|
|
895
|
-
def threshold(self) -> float:
|
|
896
|
+
def threshold(self) -> builtins.float:
|
|
896
897
|
return pulumi.get(self, "threshold")
|
|
897
898
|
|
|
898
899
|
@property
|
|
899
900
|
@pulumi.getter
|
|
900
|
-
def unit(self) -> str:
|
|
901
|
+
def unit(self) -> builtins.str:
|
|
901
902
|
return pulumi.get(self, "unit")
|
|
902
903
|
|
|
903
904
|
@property
|
|
904
905
|
@pulumi.getter(name="actionType")
|
|
905
|
-
def action_type(self) -> Optional[str]:
|
|
906
|
+
def action_type(self) -> Optional[builtins.str]:
|
|
906
907
|
return pulumi.get(self, "action_type")
|
|
907
908
|
|
|
908
909
|
@property
|
|
909
910
|
@pulumi.getter
|
|
910
|
-
def adjustment(self) -> Optional[int]:
|
|
911
|
+
def adjustment(self) -> Optional[builtins.int]:
|
|
911
912
|
return pulumi.get(self, "adjustment")
|
|
912
913
|
|
|
913
914
|
@property
|
|
914
915
|
@pulumi.getter
|
|
915
|
-
def cooldown(self) -> Optional[int]:
|
|
916
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
916
917
|
return pulumi.get(self, "cooldown")
|
|
917
918
|
|
|
918
919
|
@property
|
|
@@ -922,7 +923,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
922
923
|
|
|
923
924
|
@property
|
|
924
925
|
@pulumi.getter(name="evaluationPeriods")
|
|
925
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
926
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
926
927
|
"""
|
|
927
928
|
Amount of cooldown evaluation periods for scale down.
|
|
928
929
|
"""
|
|
@@ -930,42 +931,42 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
930
931
|
|
|
931
932
|
@property
|
|
932
933
|
@pulumi.getter
|
|
933
|
-
def operator(self) -> Optional[str]:
|
|
934
|
+
def operator(self) -> Optional[builtins.str]:
|
|
934
935
|
return pulumi.get(self, "operator")
|
|
935
936
|
|
|
936
937
|
@property
|
|
937
938
|
@pulumi.getter
|
|
938
|
-
def period(self) -> Optional[int]:
|
|
939
|
+
def period(self) -> Optional[builtins.int]:
|
|
939
940
|
return pulumi.get(self, "period")
|
|
940
941
|
|
|
941
942
|
@property
|
|
942
943
|
@pulumi.getter
|
|
943
|
-
def source(self) -> Optional[str]:
|
|
944
|
+
def source(self) -> Optional[builtins.str]:
|
|
944
945
|
return pulumi.get(self, "source")
|
|
945
946
|
|
|
946
947
|
@property
|
|
947
948
|
@pulumi.getter
|
|
948
|
-
def statistic(self) -> Optional[str]:
|
|
949
|
+
def statistic(self) -> Optional[builtins.str]:
|
|
949
950
|
return pulumi.get(self, "statistic")
|
|
950
951
|
|
|
951
952
|
|
|
952
953
|
@pulumi.output_type
|
|
953
954
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
954
955
|
def __init__(__self__, *,
|
|
955
|
-
name: str,
|
|
956
|
-
value: Optional[str] = None):
|
|
956
|
+
name: builtins.str,
|
|
957
|
+
value: Optional[builtins.str] = None):
|
|
957
958
|
pulumi.set(__self__, "name", name)
|
|
958
959
|
if value is not None:
|
|
959
960
|
pulumi.set(__self__, "value", value)
|
|
960
961
|
|
|
961
962
|
@property
|
|
962
963
|
@pulumi.getter
|
|
963
|
-
def name(self) -> str:
|
|
964
|
+
def name(self) -> builtins.str:
|
|
964
965
|
return pulumi.get(self, "name")
|
|
965
966
|
|
|
966
967
|
@property
|
|
967
968
|
@pulumi.getter
|
|
968
|
-
def value(self) -> Optional[str]:
|
|
969
|
+
def value(self) -> Optional[builtins.str]:
|
|
969
970
|
return pulumi.get(self, "value")
|
|
970
971
|
|
|
971
972
|
|
|
@@ -995,22 +996,22 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
995
996
|
return super().get(key, default)
|
|
996
997
|
|
|
997
998
|
def __init__(__self__, *,
|
|
998
|
-
metric_name: str,
|
|
999
|
-
namespace: str,
|
|
1000
|
-
policy_name: str,
|
|
1001
|
-
threshold: float,
|
|
1002
|
-
unit: str,
|
|
1003
|
-
action_type: Optional[str] = None,
|
|
1004
|
-
adjustment: Optional[int] = None,
|
|
1005
|
-
cooldown: Optional[int] = None,
|
|
999
|
+
metric_name: builtins.str,
|
|
1000
|
+
namespace: builtins.str,
|
|
1001
|
+
policy_name: builtins.str,
|
|
1002
|
+
threshold: builtins.float,
|
|
1003
|
+
unit: builtins.str,
|
|
1004
|
+
action_type: Optional[builtins.str] = None,
|
|
1005
|
+
adjustment: Optional[builtins.int] = None,
|
|
1006
|
+
cooldown: Optional[builtins.int] = None,
|
|
1006
1007
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
1007
|
-
evaluation_periods: Optional[int] = None,
|
|
1008
|
-
operator: Optional[str] = None,
|
|
1009
|
-
period: Optional[int] = None,
|
|
1010
|
-
source: Optional[str] = None,
|
|
1011
|
-
statistic: Optional[str] = None):
|
|
1008
|
+
evaluation_periods: Optional[builtins.int] = None,
|
|
1009
|
+
operator: Optional[builtins.str] = None,
|
|
1010
|
+
period: Optional[builtins.int] = None,
|
|
1011
|
+
source: Optional[builtins.str] = None,
|
|
1012
|
+
statistic: Optional[builtins.str] = None):
|
|
1012
1013
|
"""
|
|
1013
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1014
|
+
:param builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1014
1015
|
"""
|
|
1015
1016
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1016
1017
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1038,42 +1039,42 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1038
1039
|
|
|
1039
1040
|
@property
|
|
1040
1041
|
@pulumi.getter(name="metricName")
|
|
1041
|
-
def metric_name(self) -> str:
|
|
1042
|
+
def metric_name(self) -> builtins.str:
|
|
1042
1043
|
return pulumi.get(self, "metric_name")
|
|
1043
1044
|
|
|
1044
1045
|
@property
|
|
1045
1046
|
@pulumi.getter
|
|
1046
|
-
def namespace(self) -> str:
|
|
1047
|
+
def namespace(self) -> builtins.str:
|
|
1047
1048
|
return pulumi.get(self, "namespace")
|
|
1048
1049
|
|
|
1049
1050
|
@property
|
|
1050
1051
|
@pulumi.getter(name="policyName")
|
|
1051
|
-
def policy_name(self) -> str:
|
|
1052
|
+
def policy_name(self) -> builtins.str:
|
|
1052
1053
|
return pulumi.get(self, "policy_name")
|
|
1053
1054
|
|
|
1054
1055
|
@property
|
|
1055
1056
|
@pulumi.getter
|
|
1056
|
-
def threshold(self) -> float:
|
|
1057
|
+
def threshold(self) -> builtins.float:
|
|
1057
1058
|
return pulumi.get(self, "threshold")
|
|
1058
1059
|
|
|
1059
1060
|
@property
|
|
1060
1061
|
@pulumi.getter
|
|
1061
|
-
def unit(self) -> str:
|
|
1062
|
+
def unit(self) -> builtins.str:
|
|
1062
1063
|
return pulumi.get(self, "unit")
|
|
1063
1064
|
|
|
1064
1065
|
@property
|
|
1065
1066
|
@pulumi.getter(name="actionType")
|
|
1066
|
-
def action_type(self) -> Optional[str]:
|
|
1067
|
+
def action_type(self) -> Optional[builtins.str]:
|
|
1067
1068
|
return pulumi.get(self, "action_type")
|
|
1068
1069
|
|
|
1069
1070
|
@property
|
|
1070
1071
|
@pulumi.getter
|
|
1071
|
-
def adjustment(self) -> Optional[int]:
|
|
1072
|
+
def adjustment(self) -> Optional[builtins.int]:
|
|
1072
1073
|
return pulumi.get(self, "adjustment")
|
|
1073
1074
|
|
|
1074
1075
|
@property
|
|
1075
1076
|
@pulumi.getter
|
|
1076
|
-
def cooldown(self) -> Optional[int]:
|
|
1077
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
1077
1078
|
return pulumi.get(self, "cooldown")
|
|
1078
1079
|
|
|
1079
1080
|
@property
|
|
@@ -1083,7 +1084,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1083
1084
|
|
|
1084
1085
|
@property
|
|
1085
1086
|
@pulumi.getter(name="evaluationPeriods")
|
|
1086
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1087
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
1087
1088
|
"""
|
|
1088
1089
|
Amount of cooldown evaluation periods for scale down.
|
|
1089
1090
|
"""
|
|
@@ -1091,42 +1092,42 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1091
1092
|
|
|
1092
1093
|
@property
|
|
1093
1094
|
@pulumi.getter
|
|
1094
|
-
def operator(self) -> Optional[str]:
|
|
1095
|
+
def operator(self) -> Optional[builtins.str]:
|
|
1095
1096
|
return pulumi.get(self, "operator")
|
|
1096
1097
|
|
|
1097
1098
|
@property
|
|
1098
1099
|
@pulumi.getter
|
|
1099
|
-
def period(self) -> Optional[int]:
|
|
1100
|
+
def period(self) -> Optional[builtins.int]:
|
|
1100
1101
|
return pulumi.get(self, "period")
|
|
1101
1102
|
|
|
1102
1103
|
@property
|
|
1103
1104
|
@pulumi.getter
|
|
1104
|
-
def source(self) -> Optional[str]:
|
|
1105
|
+
def source(self) -> Optional[builtins.str]:
|
|
1105
1106
|
return pulumi.get(self, "source")
|
|
1106
1107
|
|
|
1107
1108
|
@property
|
|
1108
1109
|
@pulumi.getter
|
|
1109
|
-
def statistic(self) -> Optional[str]:
|
|
1110
|
+
def statistic(self) -> Optional[builtins.str]:
|
|
1110
1111
|
return pulumi.get(self, "statistic")
|
|
1111
1112
|
|
|
1112
1113
|
|
|
1113
1114
|
@pulumi.output_type
|
|
1114
1115
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1115
1116
|
def __init__(__self__, *,
|
|
1116
|
-
name: str,
|
|
1117
|
-
value: Optional[str] = None):
|
|
1117
|
+
name: builtins.str,
|
|
1118
|
+
value: Optional[builtins.str] = None):
|
|
1118
1119
|
pulumi.set(__self__, "name", name)
|
|
1119
1120
|
if value is not None:
|
|
1120
1121
|
pulumi.set(__self__, "value", value)
|
|
1121
1122
|
|
|
1122
1123
|
@property
|
|
1123
1124
|
@pulumi.getter
|
|
1124
|
-
def name(self) -> str:
|
|
1125
|
+
def name(self) -> builtins.str:
|
|
1125
1126
|
return pulumi.get(self, "name")
|
|
1126
1127
|
|
|
1127
1128
|
@property
|
|
1128
1129
|
@pulumi.getter
|
|
1129
|
-
def value(self) -> Optional[str]:
|
|
1130
|
+
def value(self) -> Optional[builtins.str]:
|
|
1130
1131
|
return pulumi.get(self, "value")
|
|
1131
1132
|
|
|
1132
1133
|
|
|
@@ -1152,8 +1153,8 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1152
1153
|
return super().get(key, default)
|
|
1153
1154
|
|
|
1154
1155
|
def __init__(__self__, *,
|
|
1155
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
1156
|
-
enable_secure_boot: Optional[bool] = None):
|
|
1156
|
+
enable_integrity_monitoring: Optional[builtins.bool] = None,
|
|
1157
|
+
enable_secure_boot: Optional[builtins.bool] = None):
|
|
1157
1158
|
if enable_integrity_monitoring is not None:
|
|
1158
1159
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1159
1160
|
if enable_secure_boot is not None:
|
|
@@ -1161,12 +1162,12 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1161
1162
|
|
|
1162
1163
|
@property
|
|
1163
1164
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1164
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
1165
|
+
def enable_integrity_monitoring(self) -> Optional[builtins.bool]:
|
|
1165
1166
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1166
1167
|
|
|
1167
1168
|
@property
|
|
1168
1169
|
@pulumi.getter(name="enableSecureBoot")
|
|
1169
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
1170
|
+
def enable_secure_boot(self) -> Optional[builtins.bool]:
|
|
1170
1171
|
return pulumi.get(self, "enable_secure_boot")
|
|
1171
1172
|
|
|
1172
1173
|
|
|
@@ -1190,16 +1191,16 @@ class OceanImportAutoUpdate(dict):
|
|
|
1190
1191
|
return super().get(key, default)
|
|
1191
1192
|
|
|
1192
1193
|
def __init__(__self__, *,
|
|
1193
|
-
is_enabled: Optional[bool] = None):
|
|
1194
|
+
is_enabled: Optional[builtins.bool] = None):
|
|
1194
1195
|
"""
|
|
1195
|
-
:param bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1196
|
+
:param builtins.bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1196
1197
|
"""
|
|
1197
1198
|
if is_enabled is not None:
|
|
1198
1199
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1199
1200
|
|
|
1200
1201
|
@property
|
|
1201
1202
|
@pulumi.getter(name="isEnabled")
|
|
1202
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1203
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1203
1204
|
"""
|
|
1204
1205
|
Enable the Ocean Kubernetes AutoUpdate.
|
|
1205
1206
|
"""
|
|
@@ -1234,22 +1235,22 @@ class OceanImportAutoscaler(dict):
|
|
|
1234
1235
|
return super().get(key, default)
|
|
1235
1236
|
|
|
1236
1237
|
def __init__(__self__, *,
|
|
1237
|
-
auto_headroom_percentage: Optional[int] = None,
|
|
1238
|
-
cooldown: Optional[int] = None,
|
|
1238
|
+
auto_headroom_percentage: Optional[builtins.int] = None,
|
|
1239
|
+
cooldown: Optional[builtins.int] = None,
|
|
1239
1240
|
down: Optional['outputs.OceanImportAutoscalerDown'] = None,
|
|
1240
|
-
enable_automatic_and_manual_headroom: Optional[bool] = None,
|
|
1241
|
+
enable_automatic_and_manual_headroom: Optional[builtins.bool] = None,
|
|
1241
1242
|
headroom: Optional['outputs.OceanImportAutoscalerHeadroom'] = None,
|
|
1242
|
-
is_auto_config: Optional[bool] = None,
|
|
1243
|
-
is_enabled: Optional[bool] = None,
|
|
1243
|
+
is_auto_config: Optional[builtins.bool] = None,
|
|
1244
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
1244
1245
|
resource_limits: Optional['outputs.OceanImportAutoscalerResourceLimits'] = None):
|
|
1245
1246
|
"""
|
|
1246
|
-
:param int auto_headroom_percentage: Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1247
|
-
:param int cooldown: Cooldown period between scaling actions.
|
|
1247
|
+
:param builtins.int auto_headroom_percentage: Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1248
|
+
:param builtins.int cooldown: Cooldown period between scaling actions.
|
|
1248
1249
|
:param 'OceanImportAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
1249
|
-
:param bool enable_automatic_and_manual_headroom: enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1250
|
+
:param builtins.bool enable_automatic_and_manual_headroom: enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1250
1251
|
:param 'OceanImportAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
1251
|
-
:param bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1252
|
-
:param bool is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
1252
|
+
:param builtins.bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1253
|
+
:param builtins.bool is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
1253
1254
|
:param 'OceanImportAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
1254
1255
|
"""
|
|
1255
1256
|
if auto_headroom_percentage is not None:
|
|
@@ -1271,7 +1272,7 @@ class OceanImportAutoscaler(dict):
|
|
|
1271
1272
|
|
|
1272
1273
|
@property
|
|
1273
1274
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
1274
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
1275
|
+
def auto_headroom_percentage(self) -> Optional[builtins.int]:
|
|
1275
1276
|
"""
|
|
1276
1277
|
Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1277
1278
|
"""
|
|
@@ -1279,7 +1280,7 @@ class OceanImportAutoscaler(dict):
|
|
|
1279
1280
|
|
|
1280
1281
|
@property
|
|
1281
1282
|
@pulumi.getter
|
|
1282
|
-
def cooldown(self) -> Optional[int]:
|
|
1283
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
1283
1284
|
"""
|
|
1284
1285
|
Cooldown period between scaling actions.
|
|
1285
1286
|
"""
|
|
@@ -1295,7 +1296,7 @@ class OceanImportAutoscaler(dict):
|
|
|
1295
1296
|
|
|
1296
1297
|
@property
|
|
1297
1298
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
1298
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[bool]:
|
|
1299
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[builtins.bool]:
|
|
1299
1300
|
"""
|
|
1300
1301
|
enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1301
1302
|
"""
|
|
@@ -1311,7 +1312,7 @@ class OceanImportAutoscaler(dict):
|
|
|
1311
1312
|
|
|
1312
1313
|
@property
|
|
1313
1314
|
@pulumi.getter(name="isAutoConfig")
|
|
1314
|
-
def is_auto_config(self) -> Optional[bool]:
|
|
1315
|
+
def is_auto_config(self) -> Optional[builtins.bool]:
|
|
1315
1316
|
"""
|
|
1316
1317
|
Automatically configure and optimize headroom resources.
|
|
1317
1318
|
"""
|
|
@@ -1319,7 +1320,7 @@ class OceanImportAutoscaler(dict):
|
|
|
1319
1320
|
|
|
1320
1321
|
@property
|
|
1321
1322
|
@pulumi.getter(name="isEnabled")
|
|
1322
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1323
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1323
1324
|
"""
|
|
1324
1325
|
Enable the Ocean Kubernetes Autoscaler.
|
|
1325
1326
|
"""
|
|
@@ -1358,13 +1359,13 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1358
1359
|
return super().get(key, default)
|
|
1359
1360
|
|
|
1360
1361
|
def __init__(__self__, *,
|
|
1361
|
-
evaluation_periods: Optional[int] = None,
|
|
1362
|
-
is_aggressive_scale_down_enabled: Optional[bool] = None,
|
|
1363
|
-
max_scale_down_percentage: Optional[float] = None):
|
|
1362
|
+
evaluation_periods: Optional[builtins.int] = None,
|
|
1363
|
+
is_aggressive_scale_down_enabled: Optional[builtins.bool] = None,
|
|
1364
|
+
max_scale_down_percentage: Optional[builtins.float] = None):
|
|
1364
1365
|
"""
|
|
1365
|
-
:param int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1366
|
-
:param bool is_aggressive_scale_down_enabled: When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1367
|
-
:param float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
1366
|
+
:param builtins.int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1367
|
+
:param builtins.bool is_aggressive_scale_down_enabled: When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1368
|
+
:param builtins.float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
1368
1369
|
"""
|
|
1369
1370
|
if evaluation_periods is not None:
|
|
1370
1371
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
@@ -1375,7 +1376,7 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1375
1376
|
|
|
1376
1377
|
@property
|
|
1377
1378
|
@pulumi.getter(name="evaluationPeriods")
|
|
1378
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1379
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
1379
1380
|
"""
|
|
1380
1381
|
The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1381
1382
|
"""
|
|
@@ -1383,7 +1384,7 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1383
1384
|
|
|
1384
1385
|
@property
|
|
1385
1386
|
@pulumi.getter(name="isAggressiveScaleDownEnabled")
|
|
1386
|
-
def is_aggressive_scale_down_enabled(self) -> Optional[bool]:
|
|
1387
|
+
def is_aggressive_scale_down_enabled(self) -> Optional[builtins.bool]:
|
|
1387
1388
|
"""
|
|
1388
1389
|
When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1389
1390
|
"""
|
|
@@ -1391,7 +1392,7 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1391
1392
|
|
|
1392
1393
|
@property
|
|
1393
1394
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
1394
|
-
def max_scale_down_percentage(self) -> Optional[float]:
|
|
1395
|
+
def max_scale_down_percentage(self) -> Optional[builtins.float]:
|
|
1395
1396
|
"""
|
|
1396
1397
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
1397
1398
|
"""
|
|
@@ -1424,15 +1425,15 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1424
1425
|
return super().get(key, default)
|
|
1425
1426
|
|
|
1426
1427
|
def __init__(__self__, *,
|
|
1427
|
-
cpu_per_unit: Optional[int] = None,
|
|
1428
|
-
gpu_per_unit: Optional[int] = None,
|
|
1429
|
-
memory_per_unit: Optional[int] = None,
|
|
1430
|
-
num_of_units: Optional[int] = None):
|
|
1428
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
1429
|
+
gpu_per_unit: Optional[builtins.int] = None,
|
|
1430
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
1431
|
+
num_of_units: Optional[builtins.int] = None):
|
|
1431
1432
|
"""
|
|
1432
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1433
|
-
:param int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1434
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1435
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1433
|
+
:param builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1434
|
+
:param builtins.int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1435
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1436
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1436
1437
|
"""
|
|
1437
1438
|
if cpu_per_unit is not None:
|
|
1438
1439
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1445,7 +1446,7 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1445
1446
|
|
|
1446
1447
|
@property
|
|
1447
1448
|
@pulumi.getter(name="cpuPerUnit")
|
|
1448
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1449
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
1449
1450
|
"""
|
|
1450
1451
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1451
1452
|
"""
|
|
@@ -1453,7 +1454,7 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1453
1454
|
|
|
1454
1455
|
@property
|
|
1455
1456
|
@pulumi.getter(name="gpuPerUnit")
|
|
1456
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
1457
|
+
def gpu_per_unit(self) -> Optional[builtins.int]:
|
|
1457
1458
|
"""
|
|
1458
1459
|
How much GPU allocate for headroom unit.
|
|
1459
1460
|
"""
|
|
@@ -1461,7 +1462,7 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1461
1462
|
|
|
1462
1463
|
@property
|
|
1463
1464
|
@pulumi.getter(name="memoryPerUnit")
|
|
1464
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1465
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
1465
1466
|
"""
|
|
1466
1467
|
Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1467
1468
|
"""
|
|
@@ -1469,7 +1470,7 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1469
1470
|
|
|
1470
1471
|
@property
|
|
1471
1472
|
@pulumi.getter(name="numOfUnits")
|
|
1472
|
-
def num_of_units(self) -> Optional[int]:
|
|
1473
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
1473
1474
|
"""
|
|
1474
1475
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1475
1476
|
"""
|
|
@@ -1498,11 +1499,11 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1498
1499
|
return super().get(key, default)
|
|
1499
1500
|
|
|
1500
1501
|
def __init__(__self__, *,
|
|
1501
|
-
max_memory_gib: Optional[int] = None,
|
|
1502
|
-
max_vcpu: Optional[int] = None):
|
|
1502
|
+
max_memory_gib: Optional[builtins.int] = None,
|
|
1503
|
+
max_vcpu: Optional[builtins.int] = None):
|
|
1503
1504
|
"""
|
|
1504
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1505
|
-
:param int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1505
|
+
:param builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1506
|
+
:param builtins.int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1506
1507
|
"""
|
|
1507
1508
|
if max_memory_gib is not None:
|
|
1508
1509
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
@@ -1511,7 +1512,7 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1511
1512
|
|
|
1512
1513
|
@property
|
|
1513
1514
|
@pulumi.getter(name="maxMemoryGib")
|
|
1514
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
1515
|
+
def max_memory_gib(self) -> Optional[builtins.int]:
|
|
1515
1516
|
"""
|
|
1516
1517
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
1517
1518
|
"""
|
|
@@ -1519,7 +1520,7 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1519
1520
|
|
|
1520
1521
|
@property
|
|
1521
1522
|
@pulumi.getter(name="maxVcpu")
|
|
1522
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1523
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
1523
1524
|
"""
|
|
1524
1525
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1525
1526
|
"""
|
|
@@ -1550,14 +1551,14 @@ class OceanImportBackendService(dict):
|
|
|
1550
1551
|
return super().get(key, default)
|
|
1551
1552
|
|
|
1552
1553
|
def __init__(__self__, *,
|
|
1553
|
-
service_name: str,
|
|
1554
|
-
location_type: Optional[str] = None,
|
|
1554
|
+
service_name: builtins.str,
|
|
1555
|
+
location_type: Optional[builtins.str] = None,
|
|
1555
1556
|
named_ports: Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']] = None,
|
|
1556
|
-
scheme: Optional[str] = None):
|
|
1557
|
+
scheme: Optional[builtins.str] = None):
|
|
1557
1558
|
"""
|
|
1558
|
-
:param str service_name: The name of the backend service.
|
|
1559
|
-
:param str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1560
|
-
:param str scheme: Use when `location_type` is `regional`. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
1559
|
+
:param builtins.str service_name: The name of the backend service.
|
|
1560
|
+
:param builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1561
|
+
:param builtins.str scheme: Use when `location_type` is `regional`. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
1561
1562
|
"""
|
|
1562
1563
|
pulumi.set(__self__, "service_name", service_name)
|
|
1563
1564
|
if location_type is not None:
|
|
@@ -1569,7 +1570,7 @@ class OceanImportBackendService(dict):
|
|
|
1569
1570
|
|
|
1570
1571
|
@property
|
|
1571
1572
|
@pulumi.getter(name="serviceName")
|
|
1572
|
-
def service_name(self) -> str:
|
|
1573
|
+
def service_name(self) -> builtins.str:
|
|
1573
1574
|
"""
|
|
1574
1575
|
The name of the backend service.
|
|
1575
1576
|
"""
|
|
@@ -1577,7 +1578,7 @@ class OceanImportBackendService(dict):
|
|
|
1577
1578
|
|
|
1578
1579
|
@property
|
|
1579
1580
|
@pulumi.getter(name="locationType")
|
|
1580
|
-
def location_type(self) -> Optional[str]:
|
|
1581
|
+
def location_type(self) -> Optional[builtins.str]:
|
|
1581
1582
|
"""
|
|
1582
1583
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1583
1584
|
"""
|
|
@@ -1590,7 +1591,7 @@ class OceanImportBackendService(dict):
|
|
|
1590
1591
|
|
|
1591
1592
|
@property
|
|
1592
1593
|
@pulumi.getter
|
|
1593
|
-
def scheme(self) -> Optional[str]:
|
|
1594
|
+
def scheme(self) -> Optional[builtins.str]:
|
|
1594
1595
|
"""
|
|
1595
1596
|
Use when `location_type` is `regional`. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
1596
1597
|
"""
|
|
@@ -1600,22 +1601,22 @@ class OceanImportBackendService(dict):
|
|
|
1600
1601
|
@pulumi.output_type
|
|
1601
1602
|
class OceanImportBackendServiceNamedPort(dict):
|
|
1602
1603
|
def __init__(__self__, *,
|
|
1603
|
-
name: str,
|
|
1604
|
-
ports: Sequence[str]):
|
|
1604
|
+
name: builtins.str,
|
|
1605
|
+
ports: Sequence[builtins.str]):
|
|
1605
1606
|
"""
|
|
1606
|
-
:param Sequence[str] ports: A list of ports.
|
|
1607
|
+
:param Sequence[builtins.str] ports: A list of ports.
|
|
1607
1608
|
"""
|
|
1608
1609
|
pulumi.set(__self__, "name", name)
|
|
1609
1610
|
pulumi.set(__self__, "ports", ports)
|
|
1610
1611
|
|
|
1611
1612
|
@property
|
|
1612
1613
|
@pulumi.getter
|
|
1613
|
-
def name(self) -> str:
|
|
1614
|
+
def name(self) -> builtins.str:
|
|
1614
1615
|
return pulumi.get(self, "name")
|
|
1615
1616
|
|
|
1616
1617
|
@property
|
|
1617
1618
|
@pulumi.getter
|
|
1618
|
-
def ports(self) -> Sequence[str]:
|
|
1619
|
+
def ports(self) -> Sequence[builtins.str]:
|
|
1619
1620
|
"""
|
|
1620
1621
|
A list of ports.
|
|
1621
1622
|
"""
|
|
@@ -1652,19 +1653,19 @@ class OceanImportFilters(dict):
|
|
|
1652
1653
|
return super().get(key, default)
|
|
1653
1654
|
|
|
1654
1655
|
def __init__(__self__, *,
|
|
1655
|
-
exclude_families: Optional[Sequence[str]] = None,
|
|
1656
|
-
include_families: Optional[Sequence[str]] = None,
|
|
1657
|
-
max_memory_gib: Optional[float] = None,
|
|
1658
|
-
max_vcpu: Optional[int] = None,
|
|
1659
|
-
min_memory_gib: Optional[float] = None,
|
|
1660
|
-
min_vcpu: Optional[int] = None):
|
|
1661
|
-
"""
|
|
1662
|
-
:param Sequence[str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1663
|
-
:param Sequence[str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1664
|
-
:param float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1665
|
-
:param int max_vcpu: Maximum number of vcpus available.
|
|
1666
|
-
:param float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1667
|
-
:param int min_vcpu: Minimum number of vcpus available.
|
|
1656
|
+
exclude_families: Optional[Sequence[builtins.str]] = None,
|
|
1657
|
+
include_families: Optional[Sequence[builtins.str]] = None,
|
|
1658
|
+
max_memory_gib: Optional[builtins.float] = None,
|
|
1659
|
+
max_vcpu: Optional[builtins.int] = None,
|
|
1660
|
+
min_memory_gib: Optional[builtins.float] = None,
|
|
1661
|
+
min_vcpu: Optional[builtins.int] = None):
|
|
1662
|
+
"""
|
|
1663
|
+
:param Sequence[builtins.str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1664
|
+
:param Sequence[builtins.str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1665
|
+
:param builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1666
|
+
:param builtins.int max_vcpu: Maximum number of vcpus available.
|
|
1667
|
+
:param builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1668
|
+
:param builtins.int min_vcpu: Minimum number of vcpus available.
|
|
1668
1669
|
"""
|
|
1669
1670
|
if exclude_families is not None:
|
|
1670
1671
|
pulumi.set(__self__, "exclude_families", exclude_families)
|
|
@@ -1681,7 +1682,7 @@ class OceanImportFilters(dict):
|
|
|
1681
1682
|
|
|
1682
1683
|
@property
|
|
1683
1684
|
@pulumi.getter(name="excludeFamilies")
|
|
1684
|
-
def exclude_families(self) -> Optional[Sequence[str]]:
|
|
1685
|
+
def exclude_families(self) -> Optional[Sequence[builtins.str]]:
|
|
1685
1686
|
"""
|
|
1686
1687
|
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1687
1688
|
"""
|
|
@@ -1689,7 +1690,7 @@ class OceanImportFilters(dict):
|
|
|
1689
1690
|
|
|
1690
1691
|
@property
|
|
1691
1692
|
@pulumi.getter(name="includeFamilies")
|
|
1692
|
-
def include_families(self) -> Optional[Sequence[str]]:
|
|
1693
|
+
def include_families(self) -> Optional[Sequence[builtins.str]]:
|
|
1693
1694
|
"""
|
|
1694
1695
|
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1695
1696
|
"""
|
|
@@ -1697,7 +1698,7 @@ class OceanImportFilters(dict):
|
|
|
1697
1698
|
|
|
1698
1699
|
@property
|
|
1699
1700
|
@pulumi.getter(name="maxMemoryGib")
|
|
1700
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
1701
|
+
def max_memory_gib(self) -> Optional[builtins.float]:
|
|
1701
1702
|
"""
|
|
1702
1703
|
Maximum amount of Memory (GiB).
|
|
1703
1704
|
"""
|
|
@@ -1705,7 +1706,7 @@ class OceanImportFilters(dict):
|
|
|
1705
1706
|
|
|
1706
1707
|
@property
|
|
1707
1708
|
@pulumi.getter(name="maxVcpu")
|
|
1708
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1709
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
1709
1710
|
"""
|
|
1710
1711
|
Maximum number of vcpus available.
|
|
1711
1712
|
"""
|
|
@@ -1713,7 +1714,7 @@ class OceanImportFilters(dict):
|
|
|
1713
1714
|
|
|
1714
1715
|
@property
|
|
1715
1716
|
@pulumi.getter(name="minMemoryGib")
|
|
1716
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
1717
|
+
def min_memory_gib(self) -> Optional[builtins.float]:
|
|
1717
1718
|
"""
|
|
1718
1719
|
Minimum amount of Memory (GiB).
|
|
1719
1720
|
"""
|
|
@@ -1721,7 +1722,7 @@ class OceanImportFilters(dict):
|
|
|
1721
1722
|
|
|
1722
1723
|
@property
|
|
1723
1724
|
@pulumi.getter(name="minVcpu")
|
|
1724
|
-
def min_vcpu(self) -> Optional[int]:
|
|
1725
|
+
def min_vcpu(self) -> Optional[builtins.int]:
|
|
1725
1726
|
"""
|
|
1726
1727
|
Minimum number of vcpus available.
|
|
1727
1728
|
"""
|
|
@@ -1798,12 +1799,12 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1798
1799
|
return super().get(key, default)
|
|
1799
1800
|
|
|
1800
1801
|
def __init__(__self__, *,
|
|
1801
|
-
time_windows: Sequence[str],
|
|
1802
|
-
is_enabled: Optional[bool] = None):
|
|
1802
|
+
time_windows: Sequence[builtins.str],
|
|
1803
|
+
is_enabled: Optional[builtins.bool] = None):
|
|
1803
1804
|
"""
|
|
1804
|
-
:param Sequence[str] time_windows: Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1805
|
+
:param Sequence[builtins.str] time_windows: Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1805
1806
|
Example: Fri:15:30-Wed:14:30
|
|
1806
|
-
:param bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1807
|
+
:param builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1807
1808
|
Example: `true`
|
|
1808
1809
|
"""
|
|
1809
1810
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
@@ -1812,7 +1813,7 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1812
1813
|
|
|
1813
1814
|
@property
|
|
1814
1815
|
@pulumi.getter(name="timeWindows")
|
|
1815
|
-
def time_windows(self) -> Sequence[str]:
|
|
1816
|
+
def time_windows(self) -> Sequence[builtins.str]:
|
|
1816
1817
|
"""
|
|
1817
1818
|
Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1818
1819
|
Example: Fri:15:30-Wed:14:30
|
|
@@ -1821,7 +1822,7 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1821
1822
|
|
|
1822
1823
|
@property
|
|
1823
1824
|
@pulumi.getter(name="isEnabled")
|
|
1824
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1825
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1825
1826
|
"""
|
|
1826
1827
|
Flag to enable / disable the shutdown hours.
|
|
1827
1828
|
Example: `true`
|
|
@@ -1855,15 +1856,15 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1855
1856
|
return super().get(key, default)
|
|
1856
1857
|
|
|
1857
1858
|
def __init__(__self__, *,
|
|
1858
|
-
cron_expression: str,
|
|
1859
|
-
is_enabled: bool,
|
|
1860
|
-
task_type: str,
|
|
1859
|
+
cron_expression: builtins.str,
|
|
1860
|
+
is_enabled: builtins.bool,
|
|
1861
|
+
task_type: builtins.str,
|
|
1861
1862
|
task_parameters: Optional['outputs.OceanImportScheduledTaskTaskTaskParameters'] = None):
|
|
1862
1863
|
"""
|
|
1863
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1864
|
+
:param builtins.str cron_expression: A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1864
1865
|
Example: 0 1 * * *
|
|
1865
|
-
:param bool is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1866
|
-
:param str task_type: Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1866
|
+
:param builtins.bool is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1867
|
+
:param builtins.str task_type: Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1867
1868
|
:param 'OceanImportScheduledTaskTaskTaskParametersArgs' task_parameters: The scheduling parameters for the cluster.
|
|
1868
1869
|
"""
|
|
1869
1870
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1874,7 +1875,7 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1874
1875
|
|
|
1875
1876
|
@property
|
|
1876
1877
|
@pulumi.getter(name="cronExpression")
|
|
1877
|
-
def cron_expression(self) -> str:
|
|
1878
|
+
def cron_expression(self) -> builtins.str:
|
|
1878
1879
|
"""
|
|
1879
1880
|
A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1880
1881
|
Example: 0 1 * * *
|
|
@@ -1883,7 +1884,7 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1883
1884
|
|
|
1884
1885
|
@property
|
|
1885
1886
|
@pulumi.getter(name="isEnabled")
|
|
1886
|
-
def is_enabled(self) -> bool:
|
|
1887
|
+
def is_enabled(self) -> builtins.bool:
|
|
1887
1888
|
"""
|
|
1888
1889
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1889
1890
|
"""
|
|
@@ -1891,7 +1892,7 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1891
1892
|
|
|
1892
1893
|
@property
|
|
1893
1894
|
@pulumi.getter(name="taskType")
|
|
1894
|
-
def task_type(self) -> str:
|
|
1895
|
+
def task_type(self) -> builtins.str:
|
|
1895
1896
|
"""
|
|
1896
1897
|
Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1897
1898
|
"""
|
|
@@ -1966,15 +1967,15 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1966
1967
|
return super().get(key, default)
|
|
1967
1968
|
|
|
1968
1969
|
def __init__(__self__, *,
|
|
1969
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1970
|
-
batch_size_percentage: Optional[int] = None,
|
|
1971
|
-
comment: Optional[str] = None,
|
|
1972
|
-
respect_pdb: Optional[bool] = None):
|
|
1970
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
1971
|
+
batch_size_percentage: Optional[builtins.int] = None,
|
|
1972
|
+
comment: Optional[builtins.str] = None,
|
|
1973
|
+
respect_pdb: Optional[builtins.bool] = None):
|
|
1973
1974
|
"""
|
|
1974
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
1975
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
1976
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
1977
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
1975
|
+
:param builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
1976
|
+
:param builtins.int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
1977
|
+
:param builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
1978
|
+
:param builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
1978
1979
|
"""
|
|
1979
1980
|
if batch_min_healthy_percentage is not None:
|
|
1980
1981
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1987,7 +1988,7 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1987
1988
|
|
|
1988
1989
|
@property
|
|
1989
1990
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1990
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1991
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
1991
1992
|
"""
|
|
1992
1993
|
Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
1993
1994
|
"""
|
|
@@ -1995,7 +1996,7 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1995
1996
|
|
|
1996
1997
|
@property
|
|
1997
1998
|
@pulumi.getter(name="batchSizePercentage")
|
|
1998
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1999
|
+
def batch_size_percentage(self) -> Optional[builtins.int]:
|
|
1999
2000
|
"""
|
|
2000
2001
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
2001
2002
|
"""
|
|
@@ -2003,7 +2004,7 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
2003
2004
|
|
|
2004
2005
|
@property
|
|
2005
2006
|
@pulumi.getter
|
|
2006
|
-
def comment(self) -> Optional[str]:
|
|
2007
|
+
def comment(self) -> Optional[builtins.str]:
|
|
2007
2008
|
"""
|
|
2008
2009
|
Add a comment description for the roll. The comment is limited to 256 chars.
|
|
2009
2010
|
"""
|
|
@@ -2011,7 +2012,7 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
2011
2012
|
|
|
2012
2013
|
@property
|
|
2013
2014
|
@pulumi.getter(name="respectPdb")
|
|
2014
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2015
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
2015
2016
|
"""
|
|
2016
2017
|
During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
2017
2018
|
"""
|
|
@@ -2040,11 +2041,11 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
2040
2041
|
return super().get(key, default)
|
|
2041
2042
|
|
|
2042
2043
|
def __init__(__self__, *,
|
|
2043
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
2044
|
-
enable_secure_boot: Optional[bool] = None):
|
|
2044
|
+
enable_integrity_monitoring: Optional[builtins.bool] = None,
|
|
2045
|
+
enable_secure_boot: Optional[builtins.bool] = None):
|
|
2045
2046
|
"""
|
|
2046
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2047
|
-
:param bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2047
|
+
:param builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2048
|
+
:param builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2048
2049
|
"""
|
|
2049
2050
|
if enable_integrity_monitoring is not None:
|
|
2050
2051
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
@@ -2053,7 +2054,7 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
2053
2054
|
|
|
2054
2055
|
@property
|
|
2055
2056
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2056
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
2057
|
+
def enable_integrity_monitoring(self) -> Optional[builtins.bool]:
|
|
2057
2058
|
"""
|
|
2058
2059
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2059
2060
|
"""
|
|
@@ -2061,7 +2062,7 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
2061
2062
|
|
|
2062
2063
|
@property
|
|
2063
2064
|
@pulumi.getter(name="enableSecureBoot")
|
|
2064
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
2065
|
+
def enable_secure_boot(self) -> Optional[builtins.bool]:
|
|
2065
2066
|
"""
|
|
2066
2067
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2067
2068
|
"""
|
|
@@ -2096,17 +2097,17 @@ class OceanImportStrategy(dict):
|
|
|
2096
2097
|
return super().get(key, default)
|
|
2097
2098
|
|
|
2098
2099
|
def __init__(__self__, *,
|
|
2099
|
-
draining_timeout: Optional[int] = None,
|
|
2100
|
-
preemptible_percentage: Optional[int] = None,
|
|
2101
|
-
provisioning_model: Optional[str] = None,
|
|
2102
|
-
scaling_orientation: Optional[str] = None,
|
|
2103
|
-
should_utilize_commitments: Optional[bool] = None):
|
|
2104
|
-
"""
|
|
2105
|
-
:param int draining_timeout: The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2106
|
-
:param int preemptible_percentage: Defines the desired preemptible percentage for the cluster.
|
|
2107
|
-
:param str provisioning_model: Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2108
|
-
:param str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2109
|
-
:param bool should_utilize_commitments: Enable committed use discounts utilization.
|
|
2100
|
+
draining_timeout: Optional[builtins.int] = None,
|
|
2101
|
+
preemptible_percentage: Optional[builtins.int] = None,
|
|
2102
|
+
provisioning_model: Optional[builtins.str] = None,
|
|
2103
|
+
scaling_orientation: Optional[builtins.str] = None,
|
|
2104
|
+
should_utilize_commitments: Optional[builtins.bool] = None):
|
|
2105
|
+
"""
|
|
2106
|
+
:param builtins.int draining_timeout: The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2107
|
+
:param builtins.int preemptible_percentage: Defines the desired preemptible percentage for the cluster.
|
|
2108
|
+
:param builtins.str provisioning_model: Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2109
|
+
:param builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2110
|
+
:param builtins.bool should_utilize_commitments: Enable committed use discounts utilization.
|
|
2110
2111
|
"""
|
|
2111
2112
|
if draining_timeout is not None:
|
|
2112
2113
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
@@ -2121,7 +2122,7 @@ class OceanImportStrategy(dict):
|
|
|
2121
2122
|
|
|
2122
2123
|
@property
|
|
2123
2124
|
@pulumi.getter(name="drainingTimeout")
|
|
2124
|
-
def draining_timeout(self) -> Optional[int]:
|
|
2125
|
+
def draining_timeout(self) -> Optional[builtins.int]:
|
|
2125
2126
|
"""
|
|
2126
2127
|
The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2127
2128
|
"""
|
|
@@ -2129,7 +2130,7 @@ class OceanImportStrategy(dict):
|
|
|
2129
2130
|
|
|
2130
2131
|
@property
|
|
2131
2132
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2132
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
2133
|
+
def preemptible_percentage(self) -> Optional[builtins.int]:
|
|
2133
2134
|
"""
|
|
2134
2135
|
Defines the desired preemptible percentage for the cluster.
|
|
2135
2136
|
"""
|
|
@@ -2137,7 +2138,7 @@ class OceanImportStrategy(dict):
|
|
|
2137
2138
|
|
|
2138
2139
|
@property
|
|
2139
2140
|
@pulumi.getter(name="provisioningModel")
|
|
2140
|
-
def provisioning_model(self) -> Optional[str]:
|
|
2141
|
+
def provisioning_model(self) -> Optional[builtins.str]:
|
|
2141
2142
|
"""
|
|
2142
2143
|
Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2143
2144
|
"""
|
|
@@ -2145,7 +2146,7 @@ class OceanImportStrategy(dict):
|
|
|
2145
2146
|
|
|
2146
2147
|
@property
|
|
2147
2148
|
@pulumi.getter(name="scalingOrientation")
|
|
2148
|
-
def scaling_orientation(self) -> Optional[str]:
|
|
2149
|
+
def scaling_orientation(self) -> Optional[builtins.str]:
|
|
2149
2150
|
"""
|
|
2150
2151
|
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2151
2152
|
"""
|
|
@@ -2153,7 +2154,7 @@ class OceanImportStrategy(dict):
|
|
|
2153
2154
|
|
|
2154
2155
|
@property
|
|
2155
2156
|
@pulumi.getter(name="shouldUtilizeCommitments")
|
|
2156
|
-
def should_utilize_commitments(self) -> Optional[bool]:
|
|
2157
|
+
def should_utilize_commitments(self) -> Optional[builtins.bool]:
|
|
2157
2158
|
"""
|
|
2158
2159
|
Enable committed use discounts utilization.
|
|
2159
2160
|
"""
|
|
@@ -2184,12 +2185,12 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2184
2185
|
return super().get(key, default)
|
|
2185
2186
|
|
|
2186
2187
|
def __init__(__self__, *,
|
|
2187
|
-
should_roll: bool,
|
|
2188
|
-
conditioned_roll: Optional[bool] = None,
|
|
2188
|
+
should_roll: builtins.bool,
|
|
2189
|
+
conditioned_roll: Optional[builtins.bool] = None,
|
|
2189
2190
|
roll_config: Optional['outputs.OceanImportUpdatePolicyRollConfig'] = None):
|
|
2190
2191
|
"""
|
|
2191
|
-
:param bool should_roll: Enables the roll.
|
|
2192
|
-
:param bool conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2192
|
+
:param builtins.bool should_roll: Enables the roll.
|
|
2193
|
+
:param builtins.bool conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2193
2194
|
:param 'OceanImportUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
2194
2195
|
"""
|
|
2195
2196
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -2200,7 +2201,7 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2200
2201
|
|
|
2201
2202
|
@property
|
|
2202
2203
|
@pulumi.getter(name="shouldRoll")
|
|
2203
|
-
def should_roll(self) -> bool:
|
|
2204
|
+
def should_roll(self) -> builtins.bool:
|
|
2204
2205
|
"""
|
|
2205
2206
|
Enables the roll.
|
|
2206
2207
|
"""
|
|
@@ -2208,7 +2209,7 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2208
2209
|
|
|
2209
2210
|
@property
|
|
2210
2211
|
@pulumi.getter(name="conditionedRoll")
|
|
2211
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
2212
|
+
def conditioned_roll(self) -> Optional[builtins.bool]:
|
|
2212
2213
|
"""
|
|
2213
2214
|
Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2214
2215
|
"""
|
|
@@ -2249,15 +2250,15 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2249
2250
|
return super().get(key, default)
|
|
2250
2251
|
|
|
2251
2252
|
def __init__(__self__, *,
|
|
2252
|
-
batch_size_percentage: int,
|
|
2253
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
2254
|
-
launch_spec_ids: Optional[Sequence[str]] = None,
|
|
2255
|
-
respect_pdb: Optional[bool] = None):
|
|
2253
|
+
batch_size_percentage: builtins.int,
|
|
2254
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
2255
|
+
launch_spec_ids: Optional[Sequence[builtins.str]] = None,
|
|
2256
|
+
respect_pdb: Optional[builtins.bool] = None):
|
|
2256
2257
|
"""
|
|
2257
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2258
|
-
:param int batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2259
|
-
:param Sequence[str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
2260
|
-
:param bool respect_pdb: Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2258
|
+
:param builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2259
|
+
:param builtins.int batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2260
|
+
:param Sequence[builtins.str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
2261
|
+
:param builtins.bool respect_pdb: Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2261
2262
|
"""
|
|
2262
2263
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2263
2264
|
if batch_min_healthy_percentage is not None:
|
|
@@ -2269,7 +2270,7 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2269
2270
|
|
|
2270
2271
|
@property
|
|
2271
2272
|
@pulumi.getter(name="batchSizePercentage")
|
|
2272
|
-
def batch_size_percentage(self) -> int:
|
|
2273
|
+
def batch_size_percentage(self) -> builtins.int:
|
|
2273
2274
|
"""
|
|
2274
2275
|
Sets the percentage of the instances to deploy in each batch.
|
|
2275
2276
|
"""
|
|
@@ -2277,7 +2278,7 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2277
2278
|
|
|
2278
2279
|
@property
|
|
2279
2280
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2280
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2281
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
2281
2282
|
"""
|
|
2282
2283
|
Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2283
2284
|
"""
|
|
@@ -2285,7 +2286,7 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2285
2286
|
|
|
2286
2287
|
@property
|
|
2287
2288
|
@pulumi.getter(name="launchSpecIds")
|
|
2288
|
-
def launch_spec_ids(self) -> Optional[Sequence[str]]:
|
|
2289
|
+
def launch_spec_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
2289
2290
|
"""
|
|
2290
2291
|
List of Virtual Node Group identifiers to be rolled.
|
|
2291
2292
|
"""
|
|
@@ -2293,7 +2294,7 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2293
2294
|
|
|
2294
2295
|
@property
|
|
2295
2296
|
@pulumi.getter(name="respectPdb")
|
|
2296
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2297
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
2297
2298
|
"""
|
|
2298
2299
|
Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2299
2300
|
"""
|
|
@@ -2326,15 +2327,15 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2326
2327
|
return super().get(key, default)
|
|
2327
2328
|
|
|
2328
2329
|
def __init__(__self__, *,
|
|
2329
|
-
num_of_units: int,
|
|
2330
|
-
cpu_per_unit: Optional[int] = None,
|
|
2331
|
-
gpu_per_unit: Optional[int] = None,
|
|
2332
|
-
memory_per_unit: Optional[int] = None):
|
|
2330
|
+
num_of_units: builtins.int,
|
|
2331
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
2332
|
+
gpu_per_unit: Optional[builtins.int] = None,
|
|
2333
|
+
memory_per_unit: Optional[builtins.int] = None):
|
|
2333
2334
|
"""
|
|
2334
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2335
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2336
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2337
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2335
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2336
|
+
:param builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2337
|
+
:param builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2338
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2338
2339
|
"""
|
|
2339
2340
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2340
2341
|
if cpu_per_unit is not None:
|
|
@@ -2346,7 +2347,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2346
2347
|
|
|
2347
2348
|
@property
|
|
2348
2349
|
@pulumi.getter(name="numOfUnits")
|
|
2349
|
-
def num_of_units(self) -> int:
|
|
2350
|
+
def num_of_units(self) -> builtins.int:
|
|
2350
2351
|
"""
|
|
2351
2352
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2352
2353
|
"""
|
|
@@ -2354,7 +2355,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2354
2355
|
|
|
2355
2356
|
@property
|
|
2356
2357
|
@pulumi.getter(name="cpuPerUnit")
|
|
2357
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
2358
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
2358
2359
|
"""
|
|
2359
2360
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2360
2361
|
"""
|
|
@@ -2362,7 +2363,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2362
2363
|
|
|
2363
2364
|
@property
|
|
2364
2365
|
@pulumi.getter(name="gpuPerUnit")
|
|
2365
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
2366
|
+
def gpu_per_unit(self) -> Optional[builtins.int]:
|
|
2366
2367
|
"""
|
|
2367
2368
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2368
2369
|
"""
|
|
@@ -2370,7 +2371,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2370
2371
|
|
|
2371
2372
|
@property
|
|
2372
2373
|
@pulumi.getter(name="memoryPerUnit")
|
|
2373
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
2374
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
2374
2375
|
"""
|
|
2375
2376
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2376
2377
|
"""
|
|
@@ -2397,16 +2398,16 @@ class OceanLaunchSpecAutoscaleHeadroomsAutomatic(dict):
|
|
|
2397
2398
|
return super().get(key, default)
|
|
2398
2399
|
|
|
2399
2400
|
def __init__(__self__, *,
|
|
2400
|
-
auto_headroom_percentage: Optional[int] = None):
|
|
2401
|
+
auto_headroom_percentage: Optional[builtins.int] = None):
|
|
2401
2402
|
"""
|
|
2402
|
-
:param int auto_headroom_percentage: Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2403
|
+
:param builtins.int auto_headroom_percentage: Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2403
2404
|
"""
|
|
2404
2405
|
if auto_headroom_percentage is not None:
|
|
2405
2406
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
2406
2407
|
|
|
2407
2408
|
@property
|
|
2408
2409
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
2409
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
2410
|
+
def auto_headroom_percentage(self) -> Optional[builtins.int]:
|
|
2410
2411
|
"""
|
|
2411
2412
|
Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2412
2413
|
"""
|
|
@@ -2433,16 +2434,16 @@ class OceanLaunchSpecCreateOptions(dict):
|
|
|
2433
2434
|
return super().get(key, default)
|
|
2434
2435
|
|
|
2435
2436
|
def __init__(__self__, *,
|
|
2436
|
-
initial_nodes: Optional[int] = None):
|
|
2437
|
+
initial_nodes: Optional[builtins.int] = None):
|
|
2437
2438
|
"""
|
|
2438
|
-
:param int initial_nodes: When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2439
|
+
:param builtins.int initial_nodes: When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2439
2440
|
"""
|
|
2440
2441
|
if initial_nodes is not None:
|
|
2441
2442
|
pulumi.set(__self__, "initial_nodes", initial_nodes)
|
|
2442
2443
|
|
|
2443
2444
|
@property
|
|
2444
2445
|
@pulumi.getter(name="initialNodes")
|
|
2445
|
-
def initial_nodes(self) -> Optional[int]:
|
|
2446
|
+
def initial_nodes(self) -> Optional[builtins.int]:
|
|
2446
2447
|
"""
|
|
2447
2448
|
When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2448
2449
|
"""
|
|
@@ -2452,11 +2453,11 @@ class OceanLaunchSpecCreateOptions(dict):
|
|
|
2452
2453
|
@pulumi.output_type
|
|
2453
2454
|
class OceanLaunchSpecLabel(dict):
|
|
2454
2455
|
def __init__(__self__, *,
|
|
2455
|
-
key: Optional[str] = None,
|
|
2456
|
-
value: Optional[str] = None):
|
|
2456
|
+
key: Optional[builtins.str] = None,
|
|
2457
|
+
value: Optional[builtins.str] = None):
|
|
2457
2458
|
"""
|
|
2458
|
-
:param str key: The label key.
|
|
2459
|
-
:param str value: The label value.
|
|
2459
|
+
:param builtins.str key: The label key.
|
|
2460
|
+
:param builtins.str value: The label value.
|
|
2460
2461
|
"""
|
|
2461
2462
|
if key is not None:
|
|
2462
2463
|
pulumi.set(__self__, "key", key)
|
|
@@ -2465,7 +2466,7 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2465
2466
|
|
|
2466
2467
|
@property
|
|
2467
2468
|
@pulumi.getter
|
|
2468
|
-
def key(self) -> Optional[str]:
|
|
2469
|
+
def key(self) -> Optional[builtins.str]:
|
|
2469
2470
|
"""
|
|
2470
2471
|
The label key.
|
|
2471
2472
|
"""
|
|
@@ -2473,7 +2474,7 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2473
2474
|
|
|
2474
2475
|
@property
|
|
2475
2476
|
@pulumi.getter
|
|
2476
|
-
def value(self) -> Optional[str]:
|
|
2477
|
+
def value(self) -> Optional[builtins.str]:
|
|
2477
2478
|
"""
|
|
2478
2479
|
The label value.
|
|
2479
2480
|
"""
|
|
@@ -2483,11 +2484,11 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2483
2484
|
@pulumi.output_type
|
|
2484
2485
|
class OceanLaunchSpecMetadata(dict):
|
|
2485
2486
|
def __init__(__self__, *,
|
|
2486
|
-
key: Optional[str] = None,
|
|
2487
|
-
value: Optional[str] = None):
|
|
2487
|
+
key: Optional[builtins.str] = None,
|
|
2488
|
+
value: Optional[builtins.str] = None):
|
|
2488
2489
|
"""
|
|
2489
|
-
:param str key: The metadata key.
|
|
2490
|
-
:param str value: The metadata value.
|
|
2490
|
+
:param builtins.str key: The metadata key.
|
|
2491
|
+
:param builtins.str value: The metadata value.
|
|
2491
2492
|
"""
|
|
2492
2493
|
if key is not None:
|
|
2493
2494
|
pulumi.set(__self__, "key", key)
|
|
@@ -2496,7 +2497,7 @@ class OceanLaunchSpecMetadata(dict):
|
|
|
2496
2497
|
|
|
2497
2498
|
@property
|
|
2498
2499
|
@pulumi.getter
|
|
2499
|
-
def key(self) -> Optional[str]:
|
|
2500
|
+
def key(self) -> Optional[builtins.str]:
|
|
2500
2501
|
"""
|
|
2501
2502
|
The metadata key.
|
|
2502
2503
|
"""
|
|
@@ -2504,7 +2505,7 @@ class OceanLaunchSpecMetadata(dict):
|
|
|
2504
2505
|
|
|
2505
2506
|
@property
|
|
2506
2507
|
@pulumi.getter
|
|
2507
|
-
def value(self) -> Optional[str]:
|
|
2508
|
+
def value(self) -> Optional[builtins.str]:
|
|
2508
2509
|
"""
|
|
2509
2510
|
The metadata value.
|
|
2510
2511
|
"""
|
|
@@ -2535,15 +2536,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2535
2536
|
return super().get(key, default)
|
|
2536
2537
|
|
|
2537
2538
|
def __init__(__self__, *,
|
|
2538
|
-
network: str,
|
|
2539
|
+
network: builtins.str,
|
|
2539
2540
|
access_configs: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']] = None,
|
|
2540
2541
|
alias_ip_ranges: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']] = None,
|
|
2541
|
-
project_id: Optional[str] = None):
|
|
2542
|
+
project_id: Optional[builtins.str] = None):
|
|
2542
2543
|
"""
|
|
2543
|
-
:param str network: The name of the network.
|
|
2544
|
+
:param builtins.str network: The name of the network.
|
|
2544
2545
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAccessConfigArgs'] access_configs: The network protocol of the VNG.
|
|
2545
2546
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAliasIpRangeArgs'] alias_ip_ranges: use the imported node pool’s associated aliasIpRange to assign secondary IP addresses to the nodes. Cannot be changed after VNG creation.
|
|
2546
|
-
:param str project_id: Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2547
|
+
:param builtins.str project_id: Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2547
2548
|
"""
|
|
2548
2549
|
pulumi.set(__self__, "network", network)
|
|
2549
2550
|
if access_configs is not None:
|
|
@@ -2555,7 +2556,7 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2555
2556
|
|
|
2556
2557
|
@property
|
|
2557
2558
|
@pulumi.getter
|
|
2558
|
-
def network(self) -> str:
|
|
2559
|
+
def network(self) -> builtins.str:
|
|
2559
2560
|
"""
|
|
2560
2561
|
The name of the network.
|
|
2561
2562
|
"""
|
|
@@ -2579,7 +2580,7 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2579
2580
|
|
|
2580
2581
|
@property
|
|
2581
2582
|
@pulumi.getter(name="projectId")
|
|
2582
|
-
def project_id(self) -> Optional[str]:
|
|
2583
|
+
def project_id(self) -> Optional[builtins.str]:
|
|
2583
2584
|
"""
|
|
2584
2585
|
Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2585
2586
|
"""
|
|
@@ -2589,11 +2590,11 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2589
2590
|
@pulumi.output_type
|
|
2590
2591
|
class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
2591
2592
|
def __init__(__self__, *,
|
|
2592
|
-
name: Optional[str] = None,
|
|
2593
|
-
type: Optional[str] = None):
|
|
2593
|
+
name: Optional[builtins.str] = None,
|
|
2594
|
+
type: Optional[builtins.str] = None):
|
|
2594
2595
|
"""
|
|
2595
|
-
:param str name: The name of the access configuration.
|
|
2596
|
-
:param str type: The type of the access configuration.
|
|
2596
|
+
:param builtins.str name: The name of the access configuration.
|
|
2597
|
+
:param builtins.str type: The type of the access configuration.
|
|
2597
2598
|
"""
|
|
2598
2599
|
if name is not None:
|
|
2599
2600
|
pulumi.set(__self__, "name", name)
|
|
@@ -2602,7 +2603,7 @@ class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
|
2602
2603
|
|
|
2603
2604
|
@property
|
|
2604
2605
|
@pulumi.getter
|
|
2605
|
-
def name(self) -> Optional[str]:
|
|
2606
|
+
def name(self) -> Optional[builtins.str]:
|
|
2606
2607
|
"""
|
|
2607
2608
|
The name of the access configuration.
|
|
2608
2609
|
"""
|
|
@@ -2610,7 +2611,7 @@ class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
|
2610
2611
|
|
|
2611
2612
|
@property
|
|
2612
2613
|
@pulumi.getter
|
|
2613
|
-
def type(self) -> Optional[str]:
|
|
2614
|
+
def type(self) -> Optional[builtins.str]:
|
|
2614
2615
|
"""
|
|
2615
2616
|
The type of the access configuration.
|
|
2616
2617
|
"""
|
|
@@ -2639,18 +2640,18 @@ class OceanLaunchSpecNetworkInterfaceAliasIpRange(dict):
|
|
|
2639
2640
|
return super().get(key, default)
|
|
2640
2641
|
|
|
2641
2642
|
def __init__(__self__, *,
|
|
2642
|
-
ip_cidr_range: str,
|
|
2643
|
-
subnetwork_range_name: str):
|
|
2643
|
+
ip_cidr_range: builtins.str,
|
|
2644
|
+
subnetwork_range_name: builtins.str):
|
|
2644
2645
|
"""
|
|
2645
|
-
:param str ip_cidr_range: specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2646
|
-
:param str subnetwork_range_name: specify the IP address range for the subnet secondary IP range.
|
|
2646
|
+
:param builtins.str ip_cidr_range: specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2647
|
+
:param builtins.str subnetwork_range_name: specify the IP address range for the subnet secondary IP range.
|
|
2647
2648
|
"""
|
|
2648
2649
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
2649
2650
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
2650
2651
|
|
|
2651
2652
|
@property
|
|
2652
2653
|
@pulumi.getter(name="ipCidrRange")
|
|
2653
|
-
def ip_cidr_range(self) -> str:
|
|
2654
|
+
def ip_cidr_range(self) -> builtins.str:
|
|
2654
2655
|
"""
|
|
2655
2656
|
specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2656
2657
|
"""
|
|
@@ -2658,7 +2659,7 @@ class OceanLaunchSpecNetworkInterfaceAliasIpRange(dict):
|
|
|
2658
2659
|
|
|
2659
2660
|
@property
|
|
2660
2661
|
@pulumi.getter(name="subnetworkRangeName")
|
|
2661
|
-
def subnetwork_range_name(self) -> str:
|
|
2662
|
+
def subnetwork_range_name(self) -> builtins.str:
|
|
2662
2663
|
"""
|
|
2663
2664
|
specify the IP address range for the subnet secondary IP range.
|
|
2664
2665
|
"""
|
|
@@ -2687,11 +2688,11 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2687
2688
|
return super().get(key, default)
|
|
2688
2689
|
|
|
2689
2690
|
def __init__(__self__, *,
|
|
2690
|
-
max_instance_count: Optional[int] = None,
|
|
2691
|
-
min_instance_count: Optional[int] = None):
|
|
2691
|
+
max_instance_count: Optional[builtins.int] = None,
|
|
2692
|
+
min_instance_count: Optional[builtins.int] = None):
|
|
2692
2693
|
"""
|
|
2693
|
-
:param int max_instance_count: Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2694
|
-
:param int min_instance_count: Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2694
|
+
:param builtins.int max_instance_count: Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2695
|
+
:param builtins.int min_instance_count: Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2695
2696
|
"""
|
|
2696
2697
|
if max_instance_count is not None:
|
|
2697
2698
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
|
@@ -2700,7 +2701,7 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2700
2701
|
|
|
2701
2702
|
@property
|
|
2702
2703
|
@pulumi.getter(name="maxInstanceCount")
|
|
2703
|
-
def max_instance_count(self) -> Optional[int]:
|
|
2704
|
+
def max_instance_count(self) -> Optional[builtins.int]:
|
|
2704
2705
|
"""
|
|
2705
2706
|
Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2706
2707
|
"""
|
|
@@ -2708,7 +2709,7 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2708
2709
|
|
|
2709
2710
|
@property
|
|
2710
2711
|
@pulumi.getter(name="minInstanceCount")
|
|
2711
|
-
def min_instance_count(self) -> Optional[int]:
|
|
2712
|
+
def min_instance_count(self) -> Optional[builtins.int]:
|
|
2712
2713
|
"""
|
|
2713
2714
|
Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2714
2715
|
"""
|
|
@@ -2741,14 +2742,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2741
2742
|
return super().get(key, default)
|
|
2742
2743
|
|
|
2743
2744
|
def __init__(__self__, *,
|
|
2744
|
-
cron_expression: str,
|
|
2745
|
-
is_enabled: bool,
|
|
2746
|
-
task_type: str,
|
|
2745
|
+
cron_expression: builtins.str,
|
|
2746
|
+
is_enabled: builtins.bool,
|
|
2747
|
+
task_type: builtins.str,
|
|
2747
2748
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
2748
2749
|
"""
|
|
2749
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2750
|
-
:param bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2751
|
-
:param str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2750
|
+
:param builtins.str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2751
|
+
:param builtins.bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2752
|
+
:param builtins.str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2752
2753
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
2753
2754
|
"""
|
|
2754
2755
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -2759,7 +2760,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2759
2760
|
|
|
2760
2761
|
@property
|
|
2761
2762
|
@pulumi.getter(name="cronExpression")
|
|
2762
|
-
def cron_expression(self) -> str:
|
|
2763
|
+
def cron_expression(self) -> builtins.str:
|
|
2763
2764
|
"""
|
|
2764
2765
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2765
2766
|
"""
|
|
@@ -2767,7 +2768,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2767
2768
|
|
|
2768
2769
|
@property
|
|
2769
2770
|
@pulumi.getter(name="isEnabled")
|
|
2770
|
-
def is_enabled(self) -> bool:
|
|
2771
|
+
def is_enabled(self) -> builtins.bool:
|
|
2771
2772
|
"""
|
|
2772
2773
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2773
2774
|
"""
|
|
@@ -2775,7 +2776,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2775
2776
|
|
|
2776
2777
|
@property
|
|
2777
2778
|
@pulumi.getter(name="taskType")
|
|
2778
|
-
def task_type(self) -> str:
|
|
2779
|
+
def task_type(self) -> builtins.str:
|
|
2779
2780
|
"""
|
|
2780
2781
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2781
2782
|
"""
|
|
@@ -2816,15 +2817,15 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2816
2817
|
return super().get(key, default)
|
|
2817
2818
|
|
|
2818
2819
|
def __init__(__self__, *,
|
|
2819
|
-
num_of_units: int,
|
|
2820
|
-
cpu_per_unit: Optional[int] = None,
|
|
2821
|
-
gpu_per_unit: Optional[int] = None,
|
|
2822
|
-
memory_per_unit: Optional[int] = None):
|
|
2820
|
+
num_of_units: builtins.int,
|
|
2821
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
2822
|
+
gpu_per_unit: Optional[builtins.int] = None,
|
|
2823
|
+
memory_per_unit: Optional[builtins.int] = None):
|
|
2823
2824
|
"""
|
|
2824
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2825
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2826
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2827
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2825
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2826
|
+
:param builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2827
|
+
:param builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2828
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2828
2829
|
"""
|
|
2829
2830
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2830
2831
|
if cpu_per_unit is not None:
|
|
@@ -2836,7 +2837,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2836
2837
|
|
|
2837
2838
|
@property
|
|
2838
2839
|
@pulumi.getter(name="numOfUnits")
|
|
2839
|
-
def num_of_units(self) -> int:
|
|
2840
|
+
def num_of_units(self) -> builtins.int:
|
|
2840
2841
|
"""
|
|
2841
2842
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2842
2843
|
"""
|
|
@@ -2844,7 +2845,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2844
2845
|
|
|
2845
2846
|
@property
|
|
2846
2847
|
@pulumi.getter(name="cpuPerUnit")
|
|
2847
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
2848
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
2848
2849
|
"""
|
|
2849
2850
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2850
2851
|
"""
|
|
@@ -2852,7 +2853,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2852
2853
|
|
|
2853
2854
|
@property
|
|
2854
2855
|
@pulumi.getter(name="gpuPerUnit")
|
|
2855
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
2856
|
+
def gpu_per_unit(self) -> Optional[builtins.int]:
|
|
2856
2857
|
"""
|
|
2857
2858
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2858
2859
|
"""
|
|
@@ -2860,7 +2861,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2860
2861
|
|
|
2861
2862
|
@property
|
|
2862
2863
|
@pulumi.getter(name="memoryPerUnit")
|
|
2863
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
2864
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
2864
2865
|
"""
|
|
2865
2866
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2866
2867
|
"""
|
|
@@ -2889,11 +2890,11 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2889
2890
|
return super().get(key, default)
|
|
2890
2891
|
|
|
2891
2892
|
def __init__(__self__, *,
|
|
2892
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
2893
|
-
enable_secure_boot: Optional[bool] = None):
|
|
2893
|
+
enable_integrity_monitoring: Optional[builtins.bool] = None,
|
|
2894
|
+
enable_secure_boot: Optional[builtins.bool] = None):
|
|
2894
2895
|
"""
|
|
2895
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2896
|
-
:param bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2896
|
+
:param builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2897
|
+
:param builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2897
2898
|
"""
|
|
2898
2899
|
if enable_integrity_monitoring is not None:
|
|
2899
2900
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
@@ -2902,7 +2903,7 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2902
2903
|
|
|
2903
2904
|
@property
|
|
2904
2905
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2905
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
2906
|
+
def enable_integrity_monitoring(self) -> Optional[builtins.bool]:
|
|
2906
2907
|
"""
|
|
2907
2908
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2908
2909
|
"""
|
|
@@ -2910,7 +2911,7 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2910
2911
|
|
|
2911
2912
|
@property
|
|
2912
2913
|
@pulumi.getter(name="enableSecureBoot")
|
|
2913
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
2914
|
+
def enable_secure_boot(self) -> Optional[builtins.bool]:
|
|
2914
2915
|
"""
|
|
2915
2916
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2916
2917
|
"""
|
|
@@ -2937,16 +2938,16 @@ class OceanLaunchSpecStorage(dict):
|
|
|
2937
2938
|
return super().get(key, default)
|
|
2938
2939
|
|
|
2939
2940
|
def __init__(__self__, *,
|
|
2940
|
-
local_ssd_count: Optional[int] = None):
|
|
2941
|
+
local_ssd_count: Optional[builtins.int] = None):
|
|
2941
2942
|
"""
|
|
2942
|
-
:param int local_ssd_count: Defines the number of local SSDs to be attached per node for this VNG.
|
|
2943
|
+
:param builtins.int local_ssd_count: Defines the number of local SSDs to be attached per node for this VNG.
|
|
2943
2944
|
"""
|
|
2944
2945
|
if local_ssd_count is not None:
|
|
2945
2946
|
pulumi.set(__self__, "local_ssd_count", local_ssd_count)
|
|
2946
2947
|
|
|
2947
2948
|
@property
|
|
2948
2949
|
@pulumi.getter(name="localSsdCount")
|
|
2949
|
-
def local_ssd_count(self) -> Optional[int]:
|
|
2950
|
+
def local_ssd_count(self) -> Optional[builtins.int]:
|
|
2950
2951
|
"""
|
|
2951
2952
|
Defines the number of local SSDs to be attached per node for this VNG.
|
|
2952
2953
|
"""
|
|
@@ -2975,11 +2976,11 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2975
2976
|
return super().get(key, default)
|
|
2976
2977
|
|
|
2977
2978
|
def __init__(__self__, *,
|
|
2978
|
-
preemptible_percentage: Optional[int] = None,
|
|
2979
|
-
scaling_orientation: Optional[str] = None):
|
|
2979
|
+
preemptible_percentage: Optional[builtins.int] = None,
|
|
2980
|
+
scaling_orientation: Optional[builtins.str] = None):
|
|
2980
2981
|
"""
|
|
2981
|
-
:param int preemptible_percentage: Defines the desired preemptible percentage for this launch specification.
|
|
2982
|
-
:param str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2982
|
+
:param builtins.int preemptible_percentage: Defines the desired preemptible percentage for this launch specification.
|
|
2983
|
+
:param builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2983
2984
|
"""
|
|
2984
2985
|
if preemptible_percentage is not None:
|
|
2985
2986
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
@@ -2988,7 +2989,7 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2988
2989
|
|
|
2989
2990
|
@property
|
|
2990
2991
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2991
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
2992
|
+
def preemptible_percentage(self) -> Optional[builtins.int]:
|
|
2992
2993
|
"""
|
|
2993
2994
|
Defines the desired preemptible percentage for this launch specification.
|
|
2994
2995
|
"""
|
|
@@ -2996,7 +2997,7 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2996
2997
|
|
|
2997
2998
|
@property
|
|
2998
2999
|
@pulumi.getter(name="scalingOrientation")
|
|
2999
|
-
def scaling_orientation(self) -> Optional[str]:
|
|
3000
|
+
def scaling_orientation(self) -> Optional[builtins.str]:
|
|
3000
3001
|
"""
|
|
3001
3002
|
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
3002
3003
|
"""
|
|
@@ -3006,13 +3007,13 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
3006
3007
|
@pulumi.output_type
|
|
3007
3008
|
class OceanLaunchSpecTaint(dict):
|
|
3008
3009
|
def __init__(__self__, *,
|
|
3009
|
-
effect: Optional[str] = None,
|
|
3010
|
-
key: Optional[str] = None,
|
|
3011
|
-
value: Optional[str] = None):
|
|
3010
|
+
effect: Optional[builtins.str] = None,
|
|
3011
|
+
key: Optional[builtins.str] = None,
|
|
3012
|
+
value: Optional[builtins.str] = None):
|
|
3012
3013
|
"""
|
|
3013
|
-
:param str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3014
|
-
:param str key: The taint key.
|
|
3015
|
-
:param str value: The taint value.
|
|
3014
|
+
:param builtins.str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3015
|
+
:param builtins.str key: The taint key.
|
|
3016
|
+
:param builtins.str value: The taint value.
|
|
3016
3017
|
"""
|
|
3017
3018
|
if effect is not None:
|
|
3018
3019
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3023,7 +3024,7 @@ class OceanLaunchSpecTaint(dict):
|
|
|
3023
3024
|
|
|
3024
3025
|
@property
|
|
3025
3026
|
@pulumi.getter
|
|
3026
|
-
def effect(self) -> Optional[str]:
|
|
3027
|
+
def effect(self) -> Optional[builtins.str]:
|
|
3027
3028
|
"""
|
|
3028
3029
|
The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3029
3030
|
"""
|
|
@@ -3031,7 +3032,7 @@ class OceanLaunchSpecTaint(dict):
|
|
|
3031
3032
|
|
|
3032
3033
|
@property
|
|
3033
3034
|
@pulumi.getter
|
|
3034
|
-
def key(self) -> Optional[str]:
|
|
3035
|
+
def key(self) -> Optional[builtins.str]:
|
|
3035
3036
|
"""
|
|
3036
3037
|
The taint key.
|
|
3037
3038
|
"""
|
|
@@ -3039,7 +3040,7 @@ class OceanLaunchSpecTaint(dict):
|
|
|
3039
3040
|
|
|
3040
3041
|
@property
|
|
3041
3042
|
@pulumi.getter
|
|
3042
|
-
def value(self) -> Optional[str]:
|
|
3043
|
+
def value(self) -> Optional[builtins.str]:
|
|
3043
3044
|
"""
|
|
3044
3045
|
The taint value.
|
|
3045
3046
|
"""
|
|
@@ -3068,10 +3069,10 @@ class OceanLaunchSpecUpdatePolicy(dict):
|
|
|
3068
3069
|
return super().get(key, default)
|
|
3069
3070
|
|
|
3070
3071
|
def __init__(__self__, *,
|
|
3071
|
-
should_roll: bool,
|
|
3072
|
+
should_roll: builtins.bool,
|
|
3072
3073
|
roll_config: Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig'] = None):
|
|
3073
3074
|
"""
|
|
3074
|
-
:param bool should_roll: Enables the roll.
|
|
3075
|
+
:param builtins.bool should_roll: Enables the roll.
|
|
3075
3076
|
:param 'OceanLaunchSpecUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
3076
3077
|
"""
|
|
3077
3078
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -3080,7 +3081,7 @@ class OceanLaunchSpecUpdatePolicy(dict):
|
|
|
3080
3081
|
|
|
3081
3082
|
@property
|
|
3082
3083
|
@pulumi.getter(name="shouldRoll")
|
|
3083
|
-
def should_roll(self) -> bool:
|
|
3084
|
+
def should_roll(self) -> builtins.bool:
|
|
3084
3085
|
"""
|
|
3085
3086
|
Enables the roll.
|
|
3086
3087
|
"""
|
|
@@ -3115,15 +3116,15 @@ class OceanLaunchSpecUpdatePolicyRollConfig(dict):
|
|
|
3115
3116
|
return super().get(key, default)
|
|
3116
3117
|
|
|
3117
3118
|
def __init__(__self__, *,
|
|
3118
|
-
batch_size_percentage: int):
|
|
3119
|
+
batch_size_percentage: builtins.int):
|
|
3119
3120
|
"""
|
|
3120
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
3121
|
+
:param builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
3121
3122
|
"""
|
|
3122
3123
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
3123
3124
|
|
|
3124
3125
|
@property
|
|
3125
3126
|
@pulumi.getter(name="batchSizePercentage")
|
|
3126
|
-
def batch_size_percentage(self) -> int:
|
|
3127
|
+
def batch_size_percentage(self) -> builtins.int:
|
|
3127
3128
|
"""
|
|
3128
3129
|
Sets the percentage of the instances to deploy in each batch.
|
|
3129
3130
|
"""
|