pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744183551__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.0a1744183551.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744183551.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.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
pulumi_spotinst/ecs/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
|
|
@@ -79,25 +80,25 @@ class OceanAutoscaler(dict):
|
|
|
79
80
|
return super().get(key, default)
|
|
80
81
|
|
|
81
82
|
def __init__(__self__, *,
|
|
82
|
-
auto_headroom_percentage: Optional[int] = None,
|
|
83
|
-
cooldown: Optional[int] = None,
|
|
83
|
+
auto_headroom_percentage: Optional[builtins.int] = None,
|
|
84
|
+
cooldown: Optional[builtins.int] = None,
|
|
84
85
|
down: Optional['outputs.OceanAutoscalerDown'] = None,
|
|
85
|
-
enable_automatic_and_manual_headroom: Optional[bool] = None,
|
|
86
|
+
enable_automatic_and_manual_headroom: Optional[builtins.bool] = None,
|
|
86
87
|
headroom: Optional['outputs.OceanAutoscalerHeadroom'] = None,
|
|
87
|
-
is_auto_config: Optional[bool] = None,
|
|
88
|
-
is_enabled: Optional[bool] = None,
|
|
88
|
+
is_auto_config: Optional[builtins.bool] = None,
|
|
89
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
89
90
|
resource_limits: Optional['outputs.OceanAutoscalerResourceLimits'] = None,
|
|
90
|
-
should_scale_down_non_service_tasks: Optional[bool] = None):
|
|
91
|
+
should_scale_down_non_service_tasks: Optional[builtins.bool] = None):
|
|
91
92
|
"""
|
|
92
|
-
:param int auto_headroom_percentage: The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
93
|
-
:param int cooldown: Cooldown period between scaling actions.
|
|
93
|
+
:param builtins.int auto_headroom_percentage: The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
94
|
+
:param builtins.int cooldown: Cooldown period between scaling actions.
|
|
94
95
|
:param 'OceanAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
95
|
-
:param bool enable_automatic_and_manual_headroom: When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
96
|
+
:param builtins.bool enable_automatic_and_manual_headroom: When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
96
97
|
:param 'OceanAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
97
|
-
:param bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
98
|
-
:param bool is_enabled: Enable the Ocean ECS autoscaler.
|
|
98
|
+
:param builtins.bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
99
|
+
:param builtins.bool is_enabled: Enable the Ocean ECS autoscaler.
|
|
99
100
|
:param 'OceanAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
100
|
-
:param bool should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
101
|
+
:param builtins.bool should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
101
102
|
"""
|
|
102
103
|
if auto_headroom_percentage is not None:
|
|
103
104
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
@@ -120,7 +121,7 @@ class OceanAutoscaler(dict):
|
|
|
120
121
|
|
|
121
122
|
@property
|
|
122
123
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
123
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
124
|
+
def auto_headroom_percentage(self) -> Optional[builtins.int]:
|
|
124
125
|
"""
|
|
125
126
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
126
127
|
"""
|
|
@@ -128,7 +129,7 @@ class OceanAutoscaler(dict):
|
|
|
128
129
|
|
|
129
130
|
@property
|
|
130
131
|
@pulumi.getter
|
|
131
|
-
def cooldown(self) -> Optional[int]:
|
|
132
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
132
133
|
"""
|
|
133
134
|
Cooldown period between scaling actions.
|
|
134
135
|
"""
|
|
@@ -144,7 +145,7 @@ class OceanAutoscaler(dict):
|
|
|
144
145
|
|
|
145
146
|
@property
|
|
146
147
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
147
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[bool]:
|
|
148
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[builtins.bool]:
|
|
148
149
|
"""
|
|
149
150
|
When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
|
|
150
151
|
"""
|
|
@@ -160,7 +161,7 @@ class OceanAutoscaler(dict):
|
|
|
160
161
|
|
|
161
162
|
@property
|
|
162
163
|
@pulumi.getter(name="isAutoConfig")
|
|
163
|
-
def is_auto_config(self) -> Optional[bool]:
|
|
164
|
+
def is_auto_config(self) -> Optional[builtins.bool]:
|
|
164
165
|
"""
|
|
165
166
|
Automatically configure and optimize headroom resources.
|
|
166
167
|
"""
|
|
@@ -168,7 +169,7 @@ class OceanAutoscaler(dict):
|
|
|
168
169
|
|
|
169
170
|
@property
|
|
170
171
|
@pulumi.getter(name="isEnabled")
|
|
171
|
-
def is_enabled(self) -> Optional[bool]:
|
|
172
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
172
173
|
"""
|
|
173
174
|
Enable the Ocean ECS autoscaler.
|
|
174
175
|
"""
|
|
@@ -184,7 +185,7 @@ class OceanAutoscaler(dict):
|
|
|
184
185
|
|
|
185
186
|
@property
|
|
186
187
|
@pulumi.getter(name="shouldScaleDownNonServiceTasks")
|
|
187
|
-
def should_scale_down_non_service_tasks(self) -> Optional[bool]:
|
|
188
|
+
def should_scale_down_non_service_tasks(self) -> Optional[builtins.bool]:
|
|
188
189
|
"""
|
|
189
190
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
190
191
|
"""
|
|
@@ -211,16 +212,16 @@ class OceanAutoscalerDown(dict):
|
|
|
211
212
|
return super().get(key, default)
|
|
212
213
|
|
|
213
214
|
def __init__(__self__, *,
|
|
214
|
-
max_scale_down_percentage: Optional[float] = None):
|
|
215
|
+
max_scale_down_percentage: Optional[builtins.float] = None):
|
|
215
216
|
"""
|
|
216
|
-
:param float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
217
|
+
:param builtins.float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
217
218
|
"""
|
|
218
219
|
if max_scale_down_percentage is not None:
|
|
219
220
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
220
221
|
|
|
221
222
|
@property
|
|
222
223
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
223
|
-
def max_scale_down_percentage(self) -> Optional[float]:
|
|
224
|
+
def max_scale_down_percentage(self) -> Optional[builtins.float]:
|
|
224
225
|
"""
|
|
225
226
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
226
227
|
"""
|
|
@@ -251,13 +252,13 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
251
252
|
return super().get(key, default)
|
|
252
253
|
|
|
253
254
|
def __init__(__self__, *,
|
|
254
|
-
cpu_per_unit: Optional[int] = None,
|
|
255
|
-
memory_per_unit: Optional[int] = None,
|
|
256
|
-
num_of_units: Optional[int] = None):
|
|
255
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
256
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
257
|
+
num_of_units: Optional[builtins.int] = None):
|
|
257
258
|
"""
|
|
258
|
-
: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.
|
|
259
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
260
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
259
|
+
: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.
|
|
260
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
261
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
261
262
|
"""
|
|
262
263
|
if cpu_per_unit is not None:
|
|
263
264
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -268,7 +269,7 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
268
269
|
|
|
269
270
|
@property
|
|
270
271
|
@pulumi.getter(name="cpuPerUnit")
|
|
271
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
272
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
272
273
|
"""
|
|
273
274
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
274
275
|
"""
|
|
@@ -276,7 +277,7 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
276
277
|
|
|
277
278
|
@property
|
|
278
279
|
@pulumi.getter(name="memoryPerUnit")
|
|
279
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
280
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
280
281
|
"""
|
|
281
282
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
282
283
|
"""
|
|
@@ -284,7 +285,7 @@ class OceanAutoscalerHeadroom(dict):
|
|
|
284
285
|
|
|
285
286
|
@property
|
|
286
287
|
@pulumi.getter(name="numOfUnits")
|
|
287
|
-
def num_of_units(self) -> Optional[int]:
|
|
288
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
288
289
|
"""
|
|
289
290
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
290
291
|
"""
|
|
@@ -313,11 +314,11 @@ class OceanAutoscalerResourceLimits(dict):
|
|
|
313
314
|
return super().get(key, default)
|
|
314
315
|
|
|
315
316
|
def __init__(__self__, *,
|
|
316
|
-
max_memory_gib: Optional[int] = None,
|
|
317
|
-
max_vcpu: Optional[int] = None):
|
|
317
|
+
max_memory_gib: Optional[builtins.int] = None,
|
|
318
|
+
max_vcpu: Optional[builtins.int] = None):
|
|
318
319
|
"""
|
|
319
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
320
|
-
:param int max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
320
|
+
:param builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
321
|
+
:param builtins.int max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
321
322
|
"""
|
|
322
323
|
if max_memory_gib is not None:
|
|
323
324
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
@@ -326,7 +327,7 @@ class OceanAutoscalerResourceLimits(dict):
|
|
|
326
327
|
|
|
327
328
|
@property
|
|
328
329
|
@pulumi.getter(name="maxMemoryGib")
|
|
329
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
330
|
+
def max_memory_gib(self) -> Optional[builtins.int]:
|
|
330
331
|
"""
|
|
331
332
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
332
333
|
"""
|
|
@@ -334,7 +335,7 @@ class OceanAutoscalerResourceLimits(dict):
|
|
|
334
335
|
|
|
335
336
|
@property
|
|
336
337
|
@pulumi.getter(name="maxVcpu")
|
|
337
|
-
def max_vcpu(self) -> Optional[int]:
|
|
338
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
338
339
|
"""
|
|
339
340
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
340
341
|
"""
|
|
@@ -365,14 +366,14 @@ class OceanBlockDeviceMapping(dict):
|
|
|
365
366
|
return super().get(key, default)
|
|
366
367
|
|
|
367
368
|
def __init__(__self__, *,
|
|
368
|
-
device_name: str,
|
|
369
|
+
device_name: builtins.str,
|
|
369
370
|
ebs: Optional['outputs.OceanBlockDeviceMappingEbs'] = None,
|
|
370
|
-
no_device: Optional[str] = None,
|
|
371
|
-
virtual_name: Optional[str] = None):
|
|
371
|
+
no_device: Optional[builtins.str] = None,
|
|
372
|
+
virtual_name: Optional[builtins.str] = None):
|
|
372
373
|
"""
|
|
373
|
-
:param str device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
374
|
+
:param builtins.str device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
374
375
|
:param 'OceanBlockDeviceMappingEbsArgs' ebs: Object. Set Elastic Block Store properties.
|
|
375
|
-
:param str no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
376
|
+
:param builtins.str no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
376
377
|
"""
|
|
377
378
|
pulumi.set(__self__, "device_name", device_name)
|
|
378
379
|
if ebs is not None:
|
|
@@ -384,7 +385,7 @@ class OceanBlockDeviceMapping(dict):
|
|
|
384
385
|
|
|
385
386
|
@property
|
|
386
387
|
@pulumi.getter(name="deviceName")
|
|
387
|
-
def device_name(self) -> str:
|
|
388
|
+
def device_name(self) -> builtins.str:
|
|
388
389
|
"""
|
|
389
390
|
String. Set device name. Example: `/dev/xvda1`.
|
|
390
391
|
"""
|
|
@@ -400,7 +401,7 @@ class OceanBlockDeviceMapping(dict):
|
|
|
400
401
|
|
|
401
402
|
@property
|
|
402
403
|
@pulumi.getter(name="noDevice")
|
|
403
|
-
def no_device(self) -> Optional[str]:
|
|
404
|
+
def no_device(self) -> Optional[builtins.str]:
|
|
404
405
|
"""
|
|
405
406
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
406
407
|
"""
|
|
@@ -408,7 +409,7 @@ class OceanBlockDeviceMapping(dict):
|
|
|
408
409
|
|
|
409
410
|
@property
|
|
410
411
|
@pulumi.getter(name="virtualName")
|
|
411
|
-
def virtual_name(self) -> Optional[str]:
|
|
412
|
+
def virtual_name(self) -> Optional[builtins.str]:
|
|
412
413
|
return pulumi.get(self, "virtual_name")
|
|
413
414
|
|
|
414
415
|
|
|
@@ -442,25 +443,25 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
442
443
|
return super().get(key, default)
|
|
443
444
|
|
|
444
445
|
def __init__(__self__, *,
|
|
445
|
-
delete_on_termination: Optional[bool] = None,
|
|
446
|
+
delete_on_termination: Optional[builtins.bool] = None,
|
|
446
447
|
dynamic_volume_size: Optional['outputs.OceanBlockDeviceMappingEbsDynamicVolumeSize'] = None,
|
|
447
|
-
encrypted: Optional[bool] = None,
|
|
448
|
-
iops: Optional[int] = None,
|
|
449
|
-
kms_key_id: Optional[str] = None,
|
|
450
|
-
snapshot_id: Optional[str] = None,
|
|
451
|
-
throughput: Optional[int] = None,
|
|
452
|
-
volume_size: Optional[int] = None,
|
|
453
|
-
volume_type: Optional[str] = None):
|
|
454
|
-
"""
|
|
455
|
-
:param bool delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
448
|
+
encrypted: Optional[builtins.bool] = None,
|
|
449
|
+
iops: Optional[builtins.int] = None,
|
|
450
|
+
kms_key_id: Optional[builtins.str] = None,
|
|
451
|
+
snapshot_id: Optional[builtins.str] = None,
|
|
452
|
+
throughput: Optional[builtins.int] = None,
|
|
453
|
+
volume_size: Optional[builtins.int] = None,
|
|
454
|
+
volume_type: Optional[builtins.str] = None):
|
|
455
|
+
"""
|
|
456
|
+
:param builtins.bool delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
456
457
|
:param 'OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs' dynamic_volume_size: Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
457
|
-
:param bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
458
|
-
:param int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
459
|
-
:param str kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
460
|
-
:param str snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
461
|
-
:param int throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
462
|
-
:param int volume_size: Int. The size (in GB) of the volume.
|
|
463
|
-
:param str volume_type: String. The type of the volume. Example: `gp2`.
|
|
458
|
+
:param builtins.bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
459
|
+
:param builtins.int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
460
|
+
:param builtins.str kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
461
|
+
:param builtins.str snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
462
|
+
:param builtins.int throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
463
|
+
:param builtins.int volume_size: Int. The size (in GB) of the volume.
|
|
464
|
+
:param builtins.str volume_type: String. The type of the volume. Example: `gp2`.
|
|
464
465
|
"""
|
|
465
466
|
if delete_on_termination is not None:
|
|
466
467
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -483,7 +484,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
483
484
|
|
|
484
485
|
@property
|
|
485
486
|
@pulumi.getter(name="deleteOnTermination")
|
|
486
|
-
def delete_on_termination(self) -> Optional[bool]:
|
|
487
|
+
def delete_on_termination(self) -> Optional[builtins.bool]:
|
|
487
488
|
"""
|
|
488
489
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
489
490
|
"""
|
|
@@ -499,7 +500,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
499
500
|
|
|
500
501
|
@property
|
|
501
502
|
@pulumi.getter
|
|
502
|
-
def encrypted(self) -> Optional[bool]:
|
|
503
|
+
def encrypted(self) -> Optional[builtins.bool]:
|
|
503
504
|
"""
|
|
504
505
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
505
506
|
"""
|
|
@@ -507,7 +508,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
507
508
|
|
|
508
509
|
@property
|
|
509
510
|
@pulumi.getter
|
|
510
|
-
def iops(self) -> Optional[int]:
|
|
511
|
+
def iops(self) -> Optional[builtins.int]:
|
|
511
512
|
"""
|
|
512
513
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
513
514
|
"""
|
|
@@ -515,7 +516,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
515
516
|
|
|
516
517
|
@property
|
|
517
518
|
@pulumi.getter(name="kmsKeyId")
|
|
518
|
-
def kms_key_id(self) -> Optional[str]:
|
|
519
|
+
def kms_key_id(self) -> Optional[builtins.str]:
|
|
519
520
|
"""
|
|
520
521
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
521
522
|
"""
|
|
@@ -523,7 +524,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
523
524
|
|
|
524
525
|
@property
|
|
525
526
|
@pulumi.getter(name="snapshotId")
|
|
526
|
-
def snapshot_id(self) -> Optional[str]:
|
|
527
|
+
def snapshot_id(self) -> Optional[builtins.str]:
|
|
527
528
|
"""
|
|
528
529
|
(Optional) String. The snapshot ID to mount by.
|
|
529
530
|
"""
|
|
@@ -531,7 +532,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
531
532
|
|
|
532
533
|
@property
|
|
533
534
|
@pulumi.getter
|
|
534
|
-
def throughput(self) -> Optional[int]:
|
|
535
|
+
def throughput(self) -> Optional[builtins.int]:
|
|
535
536
|
"""
|
|
536
537
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
537
538
|
"""
|
|
@@ -539,7 +540,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
539
540
|
|
|
540
541
|
@property
|
|
541
542
|
@pulumi.getter(name="volumeSize")
|
|
542
|
-
def volume_size(self) -> Optional[int]:
|
|
543
|
+
def volume_size(self) -> Optional[builtins.int]:
|
|
543
544
|
"""
|
|
544
545
|
Int. The size (in GB) of the volume.
|
|
545
546
|
"""
|
|
@@ -547,7 +548,7 @@ class OceanBlockDeviceMappingEbs(dict):
|
|
|
547
548
|
|
|
548
549
|
@property
|
|
549
550
|
@pulumi.getter(name="volumeType")
|
|
550
|
-
def volume_type(self) -> Optional[str]:
|
|
551
|
+
def volume_type(self) -> Optional[builtins.str]:
|
|
551
552
|
"""
|
|
552
553
|
String. The type of the volume. Example: `gp2`.
|
|
553
554
|
"""
|
|
@@ -576,13 +577,13 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
576
577
|
return super().get(key, default)
|
|
577
578
|
|
|
578
579
|
def __init__(__self__, *,
|
|
579
|
-
base_size: int,
|
|
580
|
-
resource: str,
|
|
581
|
-
size_per_resource_unit: int):
|
|
580
|
+
base_size: builtins.int,
|
|
581
|
+
resource: builtins.str,
|
|
582
|
+
size_per_resource_unit: builtins.int):
|
|
582
583
|
"""
|
|
583
|
-
:param int base_size: Int. Initial size for volume. Example: `50`.
|
|
584
|
-
:param str resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
585
|
-
:param int size_per_resource_unit: Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
584
|
+
:param builtins.int base_size: Int. Initial size for volume. Example: `50`.
|
|
585
|
+
:param builtins.str resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
586
|
+
:param builtins.int size_per_resource_unit: Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
586
587
|
"""
|
|
587
588
|
pulumi.set(__self__, "base_size", base_size)
|
|
588
589
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -590,7 +591,7 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
590
591
|
|
|
591
592
|
@property
|
|
592
593
|
@pulumi.getter(name="baseSize")
|
|
593
|
-
def base_size(self) -> int:
|
|
594
|
+
def base_size(self) -> builtins.int:
|
|
594
595
|
"""
|
|
595
596
|
Int. Initial size for volume. Example: `50`.
|
|
596
597
|
"""
|
|
@@ -598,7 +599,7 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
598
599
|
|
|
599
600
|
@property
|
|
600
601
|
@pulumi.getter
|
|
601
|
-
def resource(self) -> str:
|
|
602
|
+
def resource(self) -> builtins.str:
|
|
602
603
|
"""
|
|
603
604
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
604
605
|
"""
|
|
@@ -606,7 +607,7 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
606
607
|
|
|
607
608
|
@property
|
|
608
609
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
609
|
-
def size_per_resource_unit(self) -> int:
|
|
610
|
+
def size_per_resource_unit(self) -> builtins.int:
|
|
610
611
|
"""
|
|
611
612
|
Int. Additional size (in GB) per resource unit. Example: When the `baseSize=50`, `sizePerResourceUnit=20`, and instance with two CPUs is launched, its total disk size will be: 90GB.
|
|
612
613
|
"""
|
|
@@ -633,16 +634,16 @@ class OceanClusterOrientation(dict):
|
|
|
633
634
|
return super().get(key, default)
|
|
634
635
|
|
|
635
636
|
def __init__(__self__, *,
|
|
636
|
-
availability_vs_cost: Optional[str] = None):
|
|
637
|
+
availability_vs_cost: Optional[builtins.str] = None):
|
|
637
638
|
"""
|
|
638
|
-
:param str availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
639
|
+
:param builtins.str availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
639
640
|
"""
|
|
640
641
|
if availability_vs_cost is not None:
|
|
641
642
|
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
642
643
|
|
|
643
644
|
@property
|
|
644
645
|
@pulumi.getter(name="availabilityVsCost")
|
|
645
|
-
def availability_vs_cost(self) -> Optional[str]:
|
|
646
|
+
def availability_vs_cost(self) -> Optional[builtins.str]:
|
|
646
647
|
"""
|
|
647
648
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
648
649
|
"""
|
|
@@ -699,43 +700,43 @@ class OceanFilters(dict):
|
|
|
699
700
|
return super().get(key, default)
|
|
700
701
|
|
|
701
702
|
def __init__(__self__, *,
|
|
702
|
-
architectures: Optional[Sequence[str]] = None,
|
|
703
|
-
categories: Optional[Sequence[str]] = None,
|
|
704
|
-
disk_types: Optional[Sequence[str]] = None,
|
|
705
|
-
exclude_families: Optional[Sequence[str]] = None,
|
|
706
|
-
exclude_metal: Optional[bool] = None,
|
|
707
|
-
hypervisors: Optional[Sequence[str]] = None,
|
|
708
|
-
include_families: Optional[Sequence[str]] = None,
|
|
709
|
-
is_ena_supported: Optional[str] = None,
|
|
710
|
-
max_gpu: Optional[int] = None,
|
|
711
|
-
max_memory_gib: Optional[float] = None,
|
|
712
|
-
max_network_performance: Optional[int] = None,
|
|
713
|
-
max_vcpu: Optional[int] = None,
|
|
714
|
-
min_enis: Optional[int] = None,
|
|
715
|
-
min_gpu: Optional[int] = None,
|
|
716
|
-
min_memory_gib: Optional[float] = None,
|
|
717
|
-
min_network_performance: Optional[int] = None,
|
|
718
|
-
min_vcpu: Optional[int] = None,
|
|
719
|
-
root_device_types: Optional[Sequence[str]] = None,
|
|
720
|
-
virtualization_types: Optional[Sequence[str]] = None):
|
|
721
|
-
"""
|
|
722
|
-
:param Sequence[str] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
723
|
-
:param Sequence[str] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
724
|
-
:param Sequence[str] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
725
|
-
: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.
|
|
726
|
-
:param bool exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
727
|
-
:param Sequence[str] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
728
|
-
: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.
|
|
729
|
-
:param str is_ena_supported: Ena is supported or not.
|
|
730
|
-
:param int max_gpu: Maximum total number of GPUs.
|
|
731
|
-
:param int max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
732
|
-
:param int min_enis: Minimum number of network interfaces (ENIs).
|
|
733
|
-
:param int min_gpu: Minimum total number of GPUs.
|
|
734
|
-
:param float min_memory_gib: Minimum amount of Memory (GiB).
|
|
735
|
-
:param int min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
736
|
-
:param int min_vcpu: Minimum number of vcpus available.
|
|
737
|
-
:param Sequence[str] root_device_types: The filtered instance types will have a root device types from this list.
|
|
738
|
-
:param Sequence[str] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
703
|
+
architectures: Optional[Sequence[builtins.str]] = None,
|
|
704
|
+
categories: Optional[Sequence[builtins.str]] = None,
|
|
705
|
+
disk_types: Optional[Sequence[builtins.str]] = None,
|
|
706
|
+
exclude_families: Optional[Sequence[builtins.str]] = None,
|
|
707
|
+
exclude_metal: Optional[builtins.bool] = None,
|
|
708
|
+
hypervisors: Optional[Sequence[builtins.str]] = None,
|
|
709
|
+
include_families: Optional[Sequence[builtins.str]] = None,
|
|
710
|
+
is_ena_supported: Optional[builtins.str] = None,
|
|
711
|
+
max_gpu: Optional[builtins.int] = None,
|
|
712
|
+
max_memory_gib: Optional[builtins.float] = None,
|
|
713
|
+
max_network_performance: Optional[builtins.int] = None,
|
|
714
|
+
max_vcpu: Optional[builtins.int] = None,
|
|
715
|
+
min_enis: Optional[builtins.int] = None,
|
|
716
|
+
min_gpu: Optional[builtins.int] = None,
|
|
717
|
+
min_memory_gib: Optional[builtins.float] = None,
|
|
718
|
+
min_network_performance: Optional[builtins.int] = None,
|
|
719
|
+
min_vcpu: Optional[builtins.int] = None,
|
|
720
|
+
root_device_types: Optional[Sequence[builtins.str]] = None,
|
|
721
|
+
virtualization_types: Optional[Sequence[builtins.str]] = None):
|
|
722
|
+
"""
|
|
723
|
+
:param Sequence[builtins.str] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
724
|
+
:param Sequence[builtins.str] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
725
|
+
:param Sequence[builtins.str] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
726
|
+
: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.
|
|
727
|
+
:param builtins.bool exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
728
|
+
:param Sequence[builtins.str] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
729
|
+
: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.
|
|
730
|
+
:param builtins.str is_ena_supported: Ena is supported or not.
|
|
731
|
+
:param builtins.int max_gpu: Maximum total number of GPUs.
|
|
732
|
+
:param builtins.int max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
733
|
+
:param builtins.int min_enis: Minimum number of network interfaces (ENIs).
|
|
734
|
+
:param builtins.int min_gpu: Minimum total number of GPUs.
|
|
735
|
+
:param builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
736
|
+
:param builtins.int min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
737
|
+
:param builtins.int min_vcpu: Minimum number of vcpus available.
|
|
738
|
+
:param Sequence[builtins.str] root_device_types: The filtered instance types will have a root device types from this list.
|
|
739
|
+
:param Sequence[builtins.str] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
739
740
|
"""
|
|
740
741
|
if architectures is not None:
|
|
741
742
|
pulumi.set(__self__, "architectures", architectures)
|
|
@@ -778,7 +779,7 @@ class OceanFilters(dict):
|
|
|
778
779
|
|
|
779
780
|
@property
|
|
780
781
|
@pulumi.getter
|
|
781
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
782
|
+
def architectures(self) -> Optional[Sequence[builtins.str]]:
|
|
782
783
|
"""
|
|
783
784
|
The filtered instance types will support at least one of the architectures from this list.
|
|
784
785
|
"""
|
|
@@ -786,7 +787,7 @@ class OceanFilters(dict):
|
|
|
786
787
|
|
|
787
788
|
@property
|
|
788
789
|
@pulumi.getter
|
|
789
|
-
def categories(self) -> Optional[Sequence[str]]:
|
|
790
|
+
def categories(self) -> Optional[Sequence[builtins.str]]:
|
|
790
791
|
"""
|
|
791
792
|
The filtered instance types will belong to one of the categories types from this list.
|
|
792
793
|
"""
|
|
@@ -794,7 +795,7 @@ class OceanFilters(dict):
|
|
|
794
795
|
|
|
795
796
|
@property
|
|
796
797
|
@pulumi.getter(name="diskTypes")
|
|
797
|
-
def disk_types(self) -> Optional[Sequence[str]]:
|
|
798
|
+
def disk_types(self) -> Optional[Sequence[builtins.str]]:
|
|
798
799
|
"""
|
|
799
800
|
The filtered instance types will have one of the disk type from this list.
|
|
800
801
|
"""
|
|
@@ -802,7 +803,7 @@ class OceanFilters(dict):
|
|
|
802
803
|
|
|
803
804
|
@property
|
|
804
805
|
@pulumi.getter(name="excludeFamilies")
|
|
805
|
-
def exclude_families(self) -> Optional[Sequence[str]]:
|
|
806
|
+
def exclude_families(self) -> Optional[Sequence[builtins.str]]:
|
|
806
807
|
"""
|
|
807
808
|
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.
|
|
808
809
|
"""
|
|
@@ -810,7 +811,7 @@ class OceanFilters(dict):
|
|
|
810
811
|
|
|
811
812
|
@property
|
|
812
813
|
@pulumi.getter(name="excludeMetal")
|
|
813
|
-
def exclude_metal(self) -> Optional[bool]:
|
|
814
|
+
def exclude_metal(self) -> Optional[builtins.bool]:
|
|
814
815
|
"""
|
|
815
816
|
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
816
817
|
"""
|
|
@@ -818,7 +819,7 @@ class OceanFilters(dict):
|
|
|
818
819
|
|
|
819
820
|
@property
|
|
820
821
|
@pulumi.getter
|
|
821
|
-
def hypervisors(self) -> Optional[Sequence[str]]:
|
|
822
|
+
def hypervisors(self) -> Optional[Sequence[builtins.str]]:
|
|
822
823
|
"""
|
|
823
824
|
The filtered instance types will have a hypervisor type from this list.
|
|
824
825
|
"""
|
|
@@ -826,7 +827,7 @@ class OceanFilters(dict):
|
|
|
826
827
|
|
|
827
828
|
@property
|
|
828
829
|
@pulumi.getter(name="includeFamilies")
|
|
829
|
-
def include_families(self) -> Optional[Sequence[str]]:
|
|
830
|
+
def include_families(self) -> Optional[Sequence[builtins.str]]:
|
|
830
831
|
"""
|
|
831
832
|
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.
|
|
832
833
|
"""
|
|
@@ -834,7 +835,7 @@ class OceanFilters(dict):
|
|
|
834
835
|
|
|
835
836
|
@property
|
|
836
837
|
@pulumi.getter(name="isEnaSupported")
|
|
837
|
-
def is_ena_supported(self) -> Optional[str]:
|
|
838
|
+
def is_ena_supported(self) -> Optional[builtins.str]:
|
|
838
839
|
"""
|
|
839
840
|
Ena is supported or not.
|
|
840
841
|
"""
|
|
@@ -842,7 +843,7 @@ class OceanFilters(dict):
|
|
|
842
843
|
|
|
843
844
|
@property
|
|
844
845
|
@pulumi.getter(name="maxGpu")
|
|
845
|
-
def max_gpu(self) -> Optional[int]:
|
|
846
|
+
def max_gpu(self) -> Optional[builtins.int]:
|
|
846
847
|
"""
|
|
847
848
|
Maximum total number of GPUs.
|
|
848
849
|
"""
|
|
@@ -850,12 +851,12 @@ class OceanFilters(dict):
|
|
|
850
851
|
|
|
851
852
|
@property
|
|
852
853
|
@pulumi.getter(name="maxMemoryGib")
|
|
853
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
854
|
+
def max_memory_gib(self) -> Optional[builtins.float]:
|
|
854
855
|
return pulumi.get(self, "max_memory_gib")
|
|
855
856
|
|
|
856
857
|
@property
|
|
857
858
|
@pulumi.getter(name="maxNetworkPerformance")
|
|
858
|
-
def max_network_performance(self) -> Optional[int]:
|
|
859
|
+
def max_network_performance(self) -> Optional[builtins.int]:
|
|
859
860
|
"""
|
|
860
861
|
Maximum Bandwidth in Gib/s of network performance.
|
|
861
862
|
"""
|
|
@@ -863,12 +864,12 @@ class OceanFilters(dict):
|
|
|
863
864
|
|
|
864
865
|
@property
|
|
865
866
|
@pulumi.getter(name="maxVcpu")
|
|
866
|
-
def max_vcpu(self) -> Optional[int]:
|
|
867
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
867
868
|
return pulumi.get(self, "max_vcpu")
|
|
868
869
|
|
|
869
870
|
@property
|
|
870
871
|
@pulumi.getter(name="minEnis")
|
|
871
|
-
def min_enis(self) -> Optional[int]:
|
|
872
|
+
def min_enis(self) -> Optional[builtins.int]:
|
|
872
873
|
"""
|
|
873
874
|
Minimum number of network interfaces (ENIs).
|
|
874
875
|
"""
|
|
@@ -876,7 +877,7 @@ class OceanFilters(dict):
|
|
|
876
877
|
|
|
877
878
|
@property
|
|
878
879
|
@pulumi.getter(name="minGpu")
|
|
879
|
-
def min_gpu(self) -> Optional[int]:
|
|
880
|
+
def min_gpu(self) -> Optional[builtins.int]:
|
|
880
881
|
"""
|
|
881
882
|
Minimum total number of GPUs.
|
|
882
883
|
"""
|
|
@@ -884,7 +885,7 @@ class OceanFilters(dict):
|
|
|
884
885
|
|
|
885
886
|
@property
|
|
886
887
|
@pulumi.getter(name="minMemoryGib")
|
|
887
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
888
|
+
def min_memory_gib(self) -> Optional[builtins.float]:
|
|
888
889
|
"""
|
|
889
890
|
Minimum amount of Memory (GiB).
|
|
890
891
|
"""
|
|
@@ -892,7 +893,7 @@ class OceanFilters(dict):
|
|
|
892
893
|
|
|
893
894
|
@property
|
|
894
895
|
@pulumi.getter(name="minNetworkPerformance")
|
|
895
|
-
def min_network_performance(self) -> Optional[int]:
|
|
896
|
+
def min_network_performance(self) -> Optional[builtins.int]:
|
|
896
897
|
"""
|
|
897
898
|
Minimum Bandwidth in Gib/s of network performance.
|
|
898
899
|
"""
|
|
@@ -900,7 +901,7 @@ class OceanFilters(dict):
|
|
|
900
901
|
|
|
901
902
|
@property
|
|
902
903
|
@pulumi.getter(name="minVcpu")
|
|
903
|
-
def min_vcpu(self) -> Optional[int]:
|
|
904
|
+
def min_vcpu(self) -> Optional[builtins.int]:
|
|
904
905
|
"""
|
|
905
906
|
Minimum number of vcpus available.
|
|
906
907
|
"""
|
|
@@ -908,7 +909,7 @@ class OceanFilters(dict):
|
|
|
908
909
|
|
|
909
910
|
@property
|
|
910
911
|
@pulumi.getter(name="rootDeviceTypes")
|
|
911
|
-
def root_device_types(self) -> Optional[Sequence[str]]:
|
|
912
|
+
def root_device_types(self) -> Optional[Sequence[builtins.str]]:
|
|
912
913
|
"""
|
|
913
914
|
The filtered instance types will have a root device types from this list.
|
|
914
915
|
"""
|
|
@@ -916,7 +917,7 @@ class OceanFilters(dict):
|
|
|
916
917
|
|
|
917
918
|
@property
|
|
918
919
|
@pulumi.getter(name="virtualizationTypes")
|
|
919
|
-
def virtualization_types(self) -> Optional[Sequence[str]]:
|
|
920
|
+
def virtualization_types(self) -> Optional[Sequence[builtins.str]]:
|
|
920
921
|
"""
|
|
921
922
|
The filtered instance types will support at least one of the virtualization types from this list.
|
|
922
923
|
"""
|
|
@@ -945,11 +946,11 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
945
946
|
return super().get(key, default)
|
|
946
947
|
|
|
947
948
|
def __init__(__self__, *,
|
|
948
|
-
http_tokens: str,
|
|
949
|
-
http_put_response_hop_limit: Optional[int] = None):
|
|
949
|
+
http_tokens: builtins.str,
|
|
950
|
+
http_put_response_hop_limit: Optional[builtins.int] = None):
|
|
950
951
|
"""
|
|
951
|
-
:param str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
952
|
-
:param int http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
952
|
+
:param builtins.str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
953
|
+
:param builtins.int http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
953
954
|
"""
|
|
954
955
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
955
956
|
if http_put_response_hop_limit is not None:
|
|
@@ -957,7 +958,7 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
957
958
|
|
|
958
959
|
@property
|
|
959
960
|
@pulumi.getter(name="httpTokens")
|
|
960
|
-
def http_tokens(self) -> str:
|
|
961
|
+
def http_tokens(self) -> builtins.str:
|
|
961
962
|
"""
|
|
962
963
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
963
964
|
"""
|
|
@@ -965,7 +966,7 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
965
966
|
|
|
966
967
|
@property
|
|
967
968
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
968
|
-
def http_put_response_hop_limit(self) -> Optional[int]:
|
|
969
|
+
def http_put_response_hop_limit(self) -> Optional[builtins.int]:
|
|
969
970
|
"""
|
|
970
971
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
971
972
|
"""
|
|
@@ -975,18 +976,18 @@ class OceanInstanceMetadataOptions(dict):
|
|
|
975
976
|
@pulumi.output_type
|
|
976
977
|
class OceanLaunchSpecAttribute(dict):
|
|
977
978
|
def __init__(__self__, *,
|
|
978
|
-
key: str,
|
|
979
|
-
value: str):
|
|
979
|
+
key: builtins.str,
|
|
980
|
+
value: builtins.str):
|
|
980
981
|
"""
|
|
981
|
-
:param str key: The label key.
|
|
982
|
-
:param str value: The label value.
|
|
982
|
+
:param builtins.str key: The label key.
|
|
983
|
+
:param builtins.str value: The label value.
|
|
983
984
|
"""
|
|
984
985
|
pulumi.set(__self__, "key", key)
|
|
985
986
|
pulumi.set(__self__, "value", value)
|
|
986
987
|
|
|
987
988
|
@property
|
|
988
989
|
@pulumi.getter
|
|
989
|
-
def key(self) -> str:
|
|
990
|
+
def key(self) -> builtins.str:
|
|
990
991
|
"""
|
|
991
992
|
The label key.
|
|
992
993
|
"""
|
|
@@ -994,7 +995,7 @@ class OceanLaunchSpecAttribute(dict):
|
|
|
994
995
|
|
|
995
996
|
@property
|
|
996
997
|
@pulumi.getter
|
|
997
|
-
def value(self) -> str:
|
|
998
|
+
def value(self) -> builtins.str:
|
|
998
999
|
"""
|
|
999
1000
|
The label value.
|
|
1000
1001
|
"""
|
|
@@ -1025,13 +1026,13 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
1025
1026
|
return super().get(key, default)
|
|
1026
1027
|
|
|
1027
1028
|
def __init__(__self__, *,
|
|
1028
|
-
num_of_units: int,
|
|
1029
|
-
cpu_per_unit: Optional[int] = None,
|
|
1030
|
-
memory_per_unit: Optional[int] = None):
|
|
1029
|
+
num_of_units: builtins.int,
|
|
1030
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
1031
|
+
memory_per_unit: Optional[builtins.int] = None):
|
|
1031
1032
|
"""
|
|
1032
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1033
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1034
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1033
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1034
|
+
:param builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1035
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1035
1036
|
"""
|
|
1036
1037
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1037
1038
|
if cpu_per_unit is not None:
|
|
@@ -1041,7 +1042,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
1041
1042
|
|
|
1042
1043
|
@property
|
|
1043
1044
|
@pulumi.getter(name="numOfUnits")
|
|
1044
|
-
def num_of_units(self) -> int:
|
|
1045
|
+
def num_of_units(self) -> builtins.int:
|
|
1045
1046
|
"""
|
|
1046
1047
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1047
1048
|
"""
|
|
@@ -1049,7 +1050,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
1049
1050
|
|
|
1050
1051
|
@property
|
|
1051
1052
|
@pulumi.getter(name="cpuPerUnit")
|
|
1052
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1053
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
1053
1054
|
"""
|
|
1054
1055
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1055
1056
|
"""
|
|
@@ -1057,7 +1058,7 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
1057
1058
|
|
|
1058
1059
|
@property
|
|
1059
1060
|
@pulumi.getter(name="memoryPerUnit")
|
|
1060
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1061
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
1061
1062
|
"""
|
|
1062
1063
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1063
1064
|
"""
|
|
@@ -1088,14 +1089,14 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1088
1089
|
return super().get(key, default)
|
|
1089
1090
|
|
|
1090
1091
|
def __init__(__self__, *,
|
|
1091
|
-
device_name: str,
|
|
1092
|
+
device_name: builtins.str,
|
|
1092
1093
|
ebs: Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbs'] = None,
|
|
1093
|
-
no_device: Optional[str] = None,
|
|
1094
|
-
virtual_name: Optional[str] = None):
|
|
1094
|
+
no_device: Optional[builtins.str] = None,
|
|
1095
|
+
virtual_name: Optional[builtins.str] = None):
|
|
1095
1096
|
"""
|
|
1096
|
-
:param str device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1097
|
+
:param builtins.str device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1097
1098
|
:param 'OceanLaunchSpecBlockDeviceMappingEbsArgs' ebs: Object. Set Elastic Block Store properties .
|
|
1098
|
-
:param str no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1099
|
+
:param builtins.str no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1099
1100
|
"""
|
|
1100
1101
|
pulumi.set(__self__, "device_name", device_name)
|
|
1101
1102
|
if ebs is not None:
|
|
@@ -1107,7 +1108,7 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1107
1108
|
|
|
1108
1109
|
@property
|
|
1109
1110
|
@pulumi.getter(name="deviceName")
|
|
1110
|
-
def device_name(self) -> str:
|
|
1111
|
+
def device_name(self) -> builtins.str:
|
|
1111
1112
|
"""
|
|
1112
1113
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1113
1114
|
"""
|
|
@@ -1123,7 +1124,7 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1123
1124
|
|
|
1124
1125
|
@property
|
|
1125
1126
|
@pulumi.getter(name="noDevice")
|
|
1126
|
-
def no_device(self) -> Optional[str]:
|
|
1127
|
+
def no_device(self) -> Optional[builtins.str]:
|
|
1127
1128
|
"""
|
|
1128
1129
|
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1129
1130
|
"""
|
|
@@ -1131,7 +1132,7 @@ class OceanLaunchSpecBlockDeviceMapping(dict):
|
|
|
1131
1132
|
|
|
1132
1133
|
@property
|
|
1133
1134
|
@pulumi.getter(name="virtualName")
|
|
1134
|
-
def virtual_name(self) -> Optional[str]:
|
|
1135
|
+
def virtual_name(self) -> Optional[builtins.str]:
|
|
1135
1136
|
return pulumi.get(self, "virtual_name")
|
|
1136
1137
|
|
|
1137
1138
|
|
|
@@ -1165,25 +1166,25 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1165
1166
|
return super().get(key, default)
|
|
1166
1167
|
|
|
1167
1168
|
def __init__(__self__, *,
|
|
1168
|
-
delete_on_termination: Optional[bool] = None,
|
|
1169
|
+
delete_on_termination: Optional[builtins.bool] = None,
|
|
1169
1170
|
dynamic_volume_size: Optional['outputs.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize'] = None,
|
|
1170
|
-
encrypted: Optional[bool] = None,
|
|
1171
|
-
iops: Optional[int] = None,
|
|
1172
|
-
kms_key_id: Optional[str] = None,
|
|
1173
|
-
snapshot_id: Optional[str] = None,
|
|
1174
|
-
throughput: Optional[int] = None,
|
|
1175
|
-
volume_size: Optional[int] = None,
|
|
1176
|
-
volume_type: Optional[str] = None):
|
|
1177
|
-
"""
|
|
1178
|
-
:param bool delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1171
|
+
encrypted: Optional[builtins.bool] = None,
|
|
1172
|
+
iops: Optional[builtins.int] = None,
|
|
1173
|
+
kms_key_id: Optional[builtins.str] = None,
|
|
1174
|
+
snapshot_id: Optional[builtins.str] = None,
|
|
1175
|
+
throughput: Optional[builtins.int] = None,
|
|
1176
|
+
volume_size: Optional[builtins.int] = None,
|
|
1177
|
+
volume_type: Optional[builtins.str] = None):
|
|
1178
|
+
"""
|
|
1179
|
+
:param builtins.bool delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1179
1180
|
:param 'OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs' dynamic_volume_size: Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1180
|
-
:param bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1181
|
-
:param int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1182
|
-
:param str kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1183
|
-
:param str snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1184
|
-
:param int throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1185
|
-
:param int volume_size: Int. The size, in GB of the volume.
|
|
1186
|
-
:param str volume_type: String. The type of the volume (example: "gp2").
|
|
1181
|
+
:param builtins.bool encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1182
|
+
:param builtins.int iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1183
|
+
:param builtins.str kms_key_id: String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1184
|
+
:param builtins.str snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1185
|
+
:param builtins.int throughput: The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1186
|
+
:param builtins.int volume_size: Int. The size, in GB of the volume.
|
|
1187
|
+
:param builtins.str volume_type: String. The type of the volume (example: "gp2").
|
|
1187
1188
|
"""
|
|
1188
1189
|
if delete_on_termination is not None:
|
|
1189
1190
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -1206,7 +1207,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1206
1207
|
|
|
1207
1208
|
@property
|
|
1208
1209
|
@pulumi.getter(name="deleteOnTermination")
|
|
1209
|
-
def delete_on_termination(self) -> Optional[bool]:
|
|
1210
|
+
def delete_on_termination(self) -> Optional[builtins.bool]:
|
|
1210
1211
|
"""
|
|
1211
1212
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1212
1213
|
"""
|
|
@@ -1222,7 +1223,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1222
1223
|
|
|
1223
1224
|
@property
|
|
1224
1225
|
@pulumi.getter
|
|
1225
|
-
def encrypted(self) -> Optional[bool]:
|
|
1226
|
+
def encrypted(self) -> Optional[builtins.bool]:
|
|
1226
1227
|
"""
|
|
1227
1228
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1228
1229
|
"""
|
|
@@ -1230,7 +1231,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1230
1231
|
|
|
1231
1232
|
@property
|
|
1232
1233
|
@pulumi.getter
|
|
1233
|
-
def iops(self) -> Optional[int]:
|
|
1234
|
+
def iops(self) -> Optional[builtins.int]:
|
|
1234
1235
|
"""
|
|
1235
1236
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1236
1237
|
"""
|
|
@@ -1238,7 +1239,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1238
1239
|
|
|
1239
1240
|
@property
|
|
1240
1241
|
@pulumi.getter(name="kmsKeyId")
|
|
1241
|
-
def kms_key_id(self) -> Optional[str]:
|
|
1242
|
+
def kms_key_id(self) -> Optional[builtins.str]:
|
|
1242
1243
|
"""
|
|
1243
1244
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1244
1245
|
"""
|
|
@@ -1246,7 +1247,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1246
1247
|
|
|
1247
1248
|
@property
|
|
1248
1249
|
@pulumi.getter(name="snapshotId")
|
|
1249
|
-
def snapshot_id(self) -> Optional[str]:
|
|
1250
|
+
def snapshot_id(self) -> Optional[builtins.str]:
|
|
1250
1251
|
"""
|
|
1251
1252
|
(Optional) String. The Snapshot ID to mount by.
|
|
1252
1253
|
"""
|
|
@@ -1254,7 +1255,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1254
1255
|
|
|
1255
1256
|
@property
|
|
1256
1257
|
@pulumi.getter
|
|
1257
|
-
def throughput(self) -> Optional[int]:
|
|
1258
|
+
def throughput(self) -> Optional[builtins.int]:
|
|
1258
1259
|
"""
|
|
1259
1260
|
The amount of data transferred to or from a storage device per second, you can use this param just in a case that `volume_type` = gp3.
|
|
1260
1261
|
"""
|
|
@@ -1262,7 +1263,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1262
1263
|
|
|
1263
1264
|
@property
|
|
1264
1265
|
@pulumi.getter(name="volumeSize")
|
|
1265
|
-
def volume_size(self) -> Optional[int]:
|
|
1266
|
+
def volume_size(self) -> Optional[builtins.int]:
|
|
1266
1267
|
"""
|
|
1267
1268
|
Int. The size, in GB of the volume.
|
|
1268
1269
|
"""
|
|
@@ -1270,7 +1271,7 @@ class OceanLaunchSpecBlockDeviceMappingEbs(dict):
|
|
|
1270
1271
|
|
|
1271
1272
|
@property
|
|
1272
1273
|
@pulumi.getter(name="volumeType")
|
|
1273
|
-
def volume_type(self) -> Optional[str]:
|
|
1274
|
+
def volume_type(self) -> Optional[builtins.str]:
|
|
1274
1275
|
"""
|
|
1275
1276
|
String. The type of the volume (example: "gp2").
|
|
1276
1277
|
"""
|
|
@@ -1299,13 +1300,13 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
1299
1300
|
return super().get(key, default)
|
|
1300
1301
|
|
|
1301
1302
|
def __init__(__self__, *,
|
|
1302
|
-
base_size: int,
|
|
1303
|
-
resource: str,
|
|
1304
|
-
size_per_resource_unit: int):
|
|
1303
|
+
base_size: builtins.int,
|
|
1304
|
+
resource: builtins.str,
|
|
1305
|
+
size_per_resource_unit: builtins.int):
|
|
1305
1306
|
"""
|
|
1306
|
-
:param int base_size: Int. Initial size for volume. (Example: 50)
|
|
1307
|
-
:param str resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1308
|
-
:param int size_per_resource_unit: Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1307
|
+
:param builtins.int base_size: Int. Initial size for volume. (Example: 50)
|
|
1308
|
+
:param builtins.str resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1309
|
+
:param builtins.int size_per_resource_unit: Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1309
1310
|
"""
|
|
1310
1311
|
pulumi.set(__self__, "base_size", base_size)
|
|
1311
1312
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -1313,7 +1314,7 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
1313
1314
|
|
|
1314
1315
|
@property
|
|
1315
1316
|
@pulumi.getter(name="baseSize")
|
|
1316
|
-
def base_size(self) -> int:
|
|
1317
|
+
def base_size(self) -> builtins.int:
|
|
1317
1318
|
"""
|
|
1318
1319
|
Int. Initial size for volume. (Example: 50)
|
|
1319
1320
|
"""
|
|
@@ -1321,7 +1322,7 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
1321
1322
|
|
|
1322
1323
|
@property
|
|
1323
1324
|
@pulumi.getter
|
|
1324
|
-
def resource(self) -> str:
|
|
1325
|
+
def resource(self) -> builtins.str:
|
|
1325
1326
|
"""
|
|
1326
1327
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1327
1328
|
"""
|
|
@@ -1329,7 +1330,7 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize(dict):
|
|
|
1329
1330
|
|
|
1330
1331
|
@property
|
|
1331
1332
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
1332
|
-
def size_per_resource_unit(self) -> int:
|
|
1333
|
+
def size_per_resource_unit(self) -> builtins.int:
|
|
1333
1334
|
"""
|
|
1334
1335
|
Int. Additional size (in GB) per resource unit. (Example: baseSize= 50, sizePerResourceUnit=20, and instance with 2 CPU is launched - its total disk size will be: 90GB)
|
|
1335
1336
|
"""
|
|
@@ -1356,16 +1357,16 @@ class OceanLaunchSpecImage(dict):
|
|
|
1356
1357
|
return super().get(key, default)
|
|
1357
1358
|
|
|
1358
1359
|
def __init__(__self__, *,
|
|
1359
|
-
image_id: Optional[str] = None):
|
|
1360
|
+
image_id: Optional[builtins.str] = None):
|
|
1360
1361
|
"""
|
|
1361
|
-
:param str image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1362
|
+
:param builtins.str image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1362
1363
|
"""
|
|
1363
1364
|
if image_id is not None:
|
|
1364
1365
|
pulumi.set(__self__, "image_id", image_id)
|
|
1365
1366
|
|
|
1366
1367
|
@property
|
|
1367
1368
|
@pulumi.getter(name="imageId")
|
|
1368
|
-
def image_id(self) -> Optional[str]:
|
|
1369
|
+
def image_id(self) -> Optional[builtins.str]:
|
|
1369
1370
|
"""
|
|
1370
1371
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1371
1372
|
"""
|
|
@@ -1394,11 +1395,11 @@ class OceanLaunchSpecInstanceMetadataOptions(dict):
|
|
|
1394
1395
|
return super().get(key, default)
|
|
1395
1396
|
|
|
1396
1397
|
def __init__(__self__, *,
|
|
1397
|
-
http_tokens: str,
|
|
1398
|
-
http_put_response_hop_limit: Optional[int] = None):
|
|
1398
|
+
http_tokens: builtins.str,
|
|
1399
|
+
http_put_response_hop_limit: Optional[builtins.int] = None):
|
|
1399
1400
|
"""
|
|
1400
|
-
:param str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1401
|
-
:param int http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1401
|
+
:param builtins.str http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1402
|
+
:param builtins.int http_put_response_hop_limit: An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1402
1403
|
"""
|
|
1403
1404
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1404
1405
|
if http_put_response_hop_limit is not None:
|
|
@@ -1406,7 +1407,7 @@ class OceanLaunchSpecInstanceMetadataOptions(dict):
|
|
|
1406
1407
|
|
|
1407
1408
|
@property
|
|
1408
1409
|
@pulumi.getter(name="httpTokens")
|
|
1409
|
-
def http_tokens(self) -> str:
|
|
1410
|
+
def http_tokens(self) -> builtins.str:
|
|
1410
1411
|
"""
|
|
1411
1412
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1412
1413
|
"""
|
|
@@ -1414,7 +1415,7 @@ class OceanLaunchSpecInstanceMetadataOptions(dict):
|
|
|
1414
1415
|
|
|
1415
1416
|
@property
|
|
1416
1417
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1417
|
-
def http_put_response_hop_limit(self) -> Optional[int]:
|
|
1418
|
+
def http_put_response_hop_limit(self) -> Optional[builtins.int]:
|
|
1418
1419
|
"""
|
|
1419
1420
|
An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
|
|
1420
1421
|
"""
|
|
@@ -1447,14 +1448,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1447
1448
|
return super().get(key, default)
|
|
1448
1449
|
|
|
1449
1450
|
def __init__(__self__, *,
|
|
1450
|
-
cron_expression: str,
|
|
1451
|
-
is_enabled: bool,
|
|
1452
|
-
task_type: str,
|
|
1451
|
+
cron_expression: builtins.str,
|
|
1452
|
+
is_enabled: builtins.bool,
|
|
1453
|
+
task_type: builtins.str,
|
|
1453
1454
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
1454
1455
|
"""
|
|
1455
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1456
|
-
:param bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1457
|
-
:param str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1456
|
+
:param builtins.str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1457
|
+
:param builtins.bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1458
|
+
:param builtins.str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1458
1459
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
1459
1460
|
"""
|
|
1460
1461
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1465,7 +1466,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1465
1466
|
|
|
1466
1467
|
@property
|
|
1467
1468
|
@pulumi.getter(name="cronExpression")
|
|
1468
|
-
def cron_expression(self) -> str:
|
|
1469
|
+
def cron_expression(self) -> builtins.str:
|
|
1469
1470
|
"""
|
|
1470
1471
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1471
1472
|
"""
|
|
@@ -1473,7 +1474,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1473
1474
|
|
|
1474
1475
|
@property
|
|
1475
1476
|
@pulumi.getter(name="isEnabled")
|
|
1476
|
-
def is_enabled(self) -> bool:
|
|
1477
|
+
def is_enabled(self) -> builtins.bool:
|
|
1477
1478
|
"""
|
|
1478
1479
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1479
1480
|
"""
|
|
@@ -1481,7 +1482,7 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
1481
1482
|
|
|
1482
1483
|
@property
|
|
1483
1484
|
@pulumi.getter(name="taskType")
|
|
1484
|
-
def task_type(self) -> str:
|
|
1485
|
+
def task_type(self) -> builtins.str:
|
|
1485
1486
|
"""
|
|
1486
1487
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1487
1488
|
"""
|
|
@@ -1520,13 +1521,13 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1520
1521
|
return super().get(key, default)
|
|
1521
1522
|
|
|
1522
1523
|
def __init__(__self__, *,
|
|
1523
|
-
num_of_units: int,
|
|
1524
|
-
cpu_per_unit: Optional[int] = None,
|
|
1525
|
-
memory_per_unit: Optional[int] = None):
|
|
1524
|
+
num_of_units: builtins.int,
|
|
1525
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
1526
|
+
memory_per_unit: Optional[builtins.int] = None):
|
|
1526
1527
|
"""
|
|
1527
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1528
|
-
: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.
|
|
1529
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1528
|
+
: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.
|
|
1529
|
+
: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.
|
|
1530
|
+
:param builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1530
1531
|
"""
|
|
1531
1532
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1532
1533
|
if cpu_per_unit is not None:
|
|
@@ -1536,7 +1537,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1536
1537
|
|
|
1537
1538
|
@property
|
|
1538
1539
|
@pulumi.getter(name="numOfUnits")
|
|
1539
|
-
def num_of_units(self) -> int:
|
|
1540
|
+
def num_of_units(self) -> builtins.int:
|
|
1540
1541
|
"""
|
|
1541
1542
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1542
1543
|
"""
|
|
@@ -1544,7 +1545,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1544
1545
|
|
|
1545
1546
|
@property
|
|
1546
1547
|
@pulumi.getter(name="cpuPerUnit")
|
|
1547
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1548
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
1548
1549
|
"""
|
|
1549
1550
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1550
1551
|
"""
|
|
@@ -1552,7 +1553,7 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
1552
1553
|
|
|
1553
1554
|
@property
|
|
1554
1555
|
@pulumi.getter(name="memoryPerUnit")
|
|
1555
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1556
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
1556
1557
|
"""
|
|
1557
1558
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1558
1559
|
"""
|
|
@@ -1579,16 +1580,16 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
1579
1580
|
return super().get(key, default)
|
|
1580
1581
|
|
|
1581
1582
|
def __init__(__self__, *,
|
|
1582
|
-
spot_percentage: Optional[int] = None):
|
|
1583
|
+
spot_percentage: Optional[builtins.int] = None):
|
|
1583
1584
|
"""
|
|
1584
|
-
:param int spot_percentage: When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1585
|
+
:param builtins.int spot_percentage: When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1585
1586
|
"""
|
|
1586
1587
|
if spot_percentage is not None:
|
|
1587
1588
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
1588
1589
|
|
|
1589
1590
|
@property
|
|
1590
1591
|
@pulumi.getter(name="spotPercentage")
|
|
1591
|
-
def spot_percentage(self) -> Optional[int]:
|
|
1592
|
+
def spot_percentage(self) -> Optional[builtins.int]:
|
|
1592
1593
|
"""
|
|
1593
1594
|
When set, Ocean will proactively try to maintain as close as possible to the percentage of Spot instances out of all the Virtual Node Group instances.
|
|
1594
1595
|
"""
|
|
@@ -1598,18 +1599,18 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
1598
1599
|
@pulumi.output_type
|
|
1599
1600
|
class OceanLaunchSpecTag(dict):
|
|
1600
1601
|
def __init__(__self__, *,
|
|
1601
|
-
key: str,
|
|
1602
|
-
value: str):
|
|
1602
|
+
key: builtins.str,
|
|
1603
|
+
value: builtins.str):
|
|
1603
1604
|
"""
|
|
1604
|
-
:param str key: The label key.
|
|
1605
|
-
:param str value: The label value.
|
|
1605
|
+
:param builtins.str key: The label key.
|
|
1606
|
+
:param builtins.str value: The label value.
|
|
1606
1607
|
"""
|
|
1607
1608
|
pulumi.set(__self__, "key", key)
|
|
1608
1609
|
pulumi.set(__self__, "value", value)
|
|
1609
1610
|
|
|
1610
1611
|
@property
|
|
1611
1612
|
@pulumi.getter
|
|
1612
|
-
def key(self) -> str:
|
|
1613
|
+
def key(self) -> builtins.str:
|
|
1613
1614
|
"""
|
|
1614
1615
|
The label key.
|
|
1615
1616
|
"""
|
|
@@ -1617,7 +1618,7 @@ class OceanLaunchSpecTag(dict):
|
|
|
1617
1618
|
|
|
1618
1619
|
@property
|
|
1619
1620
|
@pulumi.getter
|
|
1620
|
-
def value(self) -> str:
|
|
1621
|
+
def value(self) -> builtins.str:
|
|
1621
1622
|
"""
|
|
1622
1623
|
The label value.
|
|
1623
1624
|
"""
|
|
@@ -1665,15 +1666,15 @@ class OceanLoggingExport(dict):
|
|
|
1665
1666
|
@pulumi.output_type
|
|
1666
1667
|
class OceanLoggingExportS3(dict):
|
|
1667
1668
|
def __init__(__self__, *,
|
|
1668
|
-
id: str):
|
|
1669
|
+
id: builtins.str):
|
|
1669
1670
|
"""
|
|
1670
|
-
:param str id: The identifier of The S3 data integration to export the logs to.
|
|
1671
|
+
:param builtins.str id: The identifier of The S3 data integration to export the logs to.
|
|
1671
1672
|
"""
|
|
1672
1673
|
pulumi.set(__self__, "id", id)
|
|
1673
1674
|
|
|
1674
1675
|
@property
|
|
1675
1676
|
@pulumi.getter
|
|
1676
|
-
def id(self) -> str:
|
|
1677
|
+
def id(self) -> builtins.str:
|
|
1677
1678
|
"""
|
|
1678
1679
|
The identifier of The S3 data integration to export the logs to.
|
|
1679
1680
|
"""
|
|
@@ -1704,13 +1705,13 @@ class OceanOptimizeImages(dict):
|
|
|
1704
1705
|
return super().get(key, default)
|
|
1705
1706
|
|
|
1706
1707
|
def __init__(__self__, *,
|
|
1707
|
-
perform_at: str,
|
|
1708
|
-
should_optimize_ecs_ami: bool,
|
|
1709
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
1708
|
+
perform_at: builtins.str,
|
|
1709
|
+
should_optimize_ecs_ami: builtins.bool,
|
|
1710
|
+
time_windows: Optional[Sequence[builtins.str]] = None):
|
|
1710
1711
|
"""
|
|
1711
|
-
:param str perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
1712
|
-
:param bool should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
1713
|
-
:param Sequence[str] time_windows: Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
1712
|
+
:param builtins.str perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
1713
|
+
:param builtins.bool should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
1714
|
+
:param Sequence[builtins.str] time_windows: Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
1714
1715
|
"""
|
|
1715
1716
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
1716
1717
|
pulumi.set(__self__, "should_optimize_ecs_ami", should_optimize_ecs_ami)
|
|
@@ -1719,7 +1720,7 @@ class OceanOptimizeImages(dict):
|
|
|
1719
1720
|
|
|
1720
1721
|
@property
|
|
1721
1722
|
@pulumi.getter(name="performAt")
|
|
1722
|
-
def perform_at(self) -> str:
|
|
1723
|
+
def perform_at(self) -> builtins.str:
|
|
1723
1724
|
"""
|
|
1724
1725
|
String. Valid values: "always" "never" "timeWindow".
|
|
1725
1726
|
"""
|
|
@@ -1727,7 +1728,7 @@ class OceanOptimizeImages(dict):
|
|
|
1727
1728
|
|
|
1728
1729
|
@property
|
|
1729
1730
|
@pulumi.getter(name="shouldOptimizeEcsAmi")
|
|
1730
|
-
def should_optimize_ecs_ami(self) -> bool:
|
|
1731
|
+
def should_optimize_ecs_ami(self) -> builtins.bool:
|
|
1731
1732
|
"""
|
|
1732
1733
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
1733
1734
|
"""
|
|
@@ -1735,7 +1736,7 @@ class OceanOptimizeImages(dict):
|
|
|
1735
1736
|
|
|
1736
1737
|
@property
|
|
1737
1738
|
@pulumi.getter(name="timeWindows")
|
|
1738
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
1739
|
+
def time_windows(self) -> Optional[Sequence[builtins.str]]:
|
|
1739
1740
|
"""
|
|
1740
1741
|
Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
|
|
1741
1742
|
"""
|
|
@@ -1812,11 +1813,11 @@ class OceanScheduledTaskShutdownHours(dict):
|
|
|
1812
1813
|
return super().get(key, default)
|
|
1813
1814
|
|
|
1814
1815
|
def __init__(__self__, *,
|
|
1815
|
-
time_windows: Sequence[str],
|
|
1816
|
-
is_enabled: Optional[bool] = None):
|
|
1816
|
+
time_windows: Sequence[builtins.str],
|
|
1817
|
+
is_enabled: Optional[builtins.bool] = None):
|
|
1817
1818
|
"""
|
|
1818
|
-
: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 when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
1819
|
-
:param bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1819
|
+
: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 when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
1820
|
+
:param builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1820
1821
|
"""
|
|
1821
1822
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1822
1823
|
if is_enabled is not None:
|
|
@@ -1824,7 +1825,7 @@ class OceanScheduledTaskShutdownHours(dict):
|
|
|
1824
1825
|
|
|
1825
1826
|
@property
|
|
1826
1827
|
@pulumi.getter(name="timeWindows")
|
|
1827
|
-
def time_windows(self) -> Sequence[str]:
|
|
1828
|
+
def time_windows(self) -> Sequence[builtins.str]:
|
|
1828
1829
|
"""
|
|
1829
1830
|
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 when `cluster.scheduling.isEnabled` is true. API Times are in UTC. Example: `Fri:15:30-Wed:14:30`.
|
|
1830
1831
|
"""
|
|
@@ -1832,7 +1833,7 @@ class OceanScheduledTaskShutdownHours(dict):
|
|
|
1832
1833
|
|
|
1833
1834
|
@property
|
|
1834
1835
|
@pulumi.getter(name="isEnabled")
|
|
1835
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1836
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1836
1837
|
"""
|
|
1837
1838
|
Flag to enable / disable the shutdown hours.
|
|
1838
1839
|
"""
|
|
@@ -1863,13 +1864,13 @@ class OceanScheduledTaskTask(dict):
|
|
|
1863
1864
|
return super().get(key, default)
|
|
1864
1865
|
|
|
1865
1866
|
def __init__(__self__, *,
|
|
1866
|
-
cron_expression: str,
|
|
1867
|
-
is_enabled: bool,
|
|
1868
|
-
task_type: str):
|
|
1867
|
+
cron_expression: builtins.str,
|
|
1868
|
+
is_enabled: builtins.bool,
|
|
1869
|
+
task_type: builtins.str):
|
|
1869
1870
|
"""
|
|
1870
|
-
:param str cron_expression: A valid cron expression. 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. Example: `0 1 * * *`.
|
|
1871
|
-
: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.
|
|
1872
|
-
:param str task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1871
|
+
:param builtins.str cron_expression: A valid cron expression. 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. Example: `0 1 * * *`.
|
|
1872
|
+
: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.
|
|
1873
|
+
:param builtins.str task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1873
1874
|
"""
|
|
1874
1875
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
1875
1876
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -1877,7 +1878,7 @@ class OceanScheduledTaskTask(dict):
|
|
|
1877
1878
|
|
|
1878
1879
|
@property
|
|
1879
1880
|
@pulumi.getter(name="cronExpression")
|
|
1880
|
-
def cron_expression(self) -> str:
|
|
1881
|
+
def cron_expression(self) -> builtins.str:
|
|
1881
1882
|
"""
|
|
1882
1883
|
A valid cron expression. 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. Example: `0 1 * * *`.
|
|
1883
1884
|
"""
|
|
@@ -1885,7 +1886,7 @@ class OceanScheduledTaskTask(dict):
|
|
|
1885
1886
|
|
|
1886
1887
|
@property
|
|
1887
1888
|
@pulumi.getter(name="isEnabled")
|
|
1888
|
-
def is_enabled(self) -> bool:
|
|
1889
|
+
def is_enabled(self) -> builtins.bool:
|
|
1889
1890
|
"""
|
|
1890
1891
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
1891
1892
|
"""
|
|
@@ -1893,7 +1894,7 @@ class OceanScheduledTaskTask(dict):
|
|
|
1893
1894
|
|
|
1894
1895
|
@property
|
|
1895
1896
|
@pulumi.getter(name="taskType")
|
|
1896
|
-
def task_type(self) -> str:
|
|
1897
|
+
def task_type(self) -> builtins.str:
|
|
1897
1898
|
"""
|
|
1898
1899
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
1899
1900
|
"""
|
|
@@ -1903,11 +1904,11 @@ class OceanScheduledTaskTask(dict):
|
|
|
1903
1904
|
@pulumi.output_type
|
|
1904
1905
|
class OceanTag(dict):
|
|
1905
1906
|
def __init__(__self__, *,
|
|
1906
|
-
key: str,
|
|
1907
|
-
value: str):
|
|
1907
|
+
key: builtins.str,
|
|
1908
|
+
value: builtins.str):
|
|
1908
1909
|
"""
|
|
1909
|
-
:param str key: The tag key.
|
|
1910
|
-
:param str value: The tag value.
|
|
1910
|
+
:param builtins.str key: The tag key.
|
|
1911
|
+
:param builtins.str value: The tag value.
|
|
1911
1912
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
1912
1913
|
"""
|
|
1913
1914
|
pulumi.set(__self__, "key", key)
|
|
@@ -1915,7 +1916,7 @@ class OceanTag(dict):
|
|
|
1915
1916
|
|
|
1916
1917
|
@property
|
|
1917
1918
|
@pulumi.getter
|
|
1918
|
-
def key(self) -> str:
|
|
1919
|
+
def key(self) -> builtins.str:
|
|
1919
1920
|
"""
|
|
1920
1921
|
The tag key.
|
|
1921
1922
|
"""
|
|
@@ -1923,7 +1924,7 @@ class OceanTag(dict):
|
|
|
1923
1924
|
|
|
1924
1925
|
@property
|
|
1925
1926
|
@pulumi.getter
|
|
1926
|
-
def value(self) -> str:
|
|
1927
|
+
def value(self) -> builtins.str:
|
|
1927
1928
|
"""
|
|
1928
1929
|
The tag value.
|
|
1929
1930
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -1957,14 +1958,14 @@ class OceanUpdatePolicy(dict):
|
|
|
1957
1958
|
return super().get(key, default)
|
|
1958
1959
|
|
|
1959
1960
|
def __init__(__self__, *,
|
|
1960
|
-
should_roll: bool,
|
|
1961
|
-
auto_apply_tags: Optional[bool] = None,
|
|
1962
|
-
conditioned_roll: Optional[bool] = None,
|
|
1961
|
+
should_roll: builtins.bool,
|
|
1962
|
+
auto_apply_tags: Optional[builtins.bool] = None,
|
|
1963
|
+
conditioned_roll: Optional[builtins.bool] = None,
|
|
1963
1964
|
roll_config: Optional['outputs.OceanUpdatePolicyRollConfig'] = None):
|
|
1964
1965
|
"""
|
|
1965
|
-
:param bool should_roll: Enables the roll.
|
|
1966
|
-
:param bool auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
1967
|
-
: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).
|
|
1966
|
+
:param builtins.bool should_roll: Enables the roll.
|
|
1967
|
+
:param builtins.bool auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
1968
|
+
: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).
|
|
1968
1969
|
"""
|
|
1969
1970
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
1970
1971
|
if auto_apply_tags is not None:
|
|
@@ -1976,7 +1977,7 @@ class OceanUpdatePolicy(dict):
|
|
|
1976
1977
|
|
|
1977
1978
|
@property
|
|
1978
1979
|
@pulumi.getter(name="shouldRoll")
|
|
1979
|
-
def should_roll(self) -> bool:
|
|
1980
|
+
def should_roll(self) -> builtins.bool:
|
|
1980
1981
|
"""
|
|
1981
1982
|
Enables the roll.
|
|
1982
1983
|
"""
|
|
@@ -1984,7 +1985,7 @@ class OceanUpdatePolicy(dict):
|
|
|
1984
1985
|
|
|
1985
1986
|
@property
|
|
1986
1987
|
@pulumi.getter(name="autoApplyTags")
|
|
1987
|
-
def auto_apply_tags(self) -> Optional[bool]:
|
|
1988
|
+
def auto_apply_tags(self) -> Optional[builtins.bool]:
|
|
1988
1989
|
"""
|
|
1989
1990
|
will update instance tags on the fly without rolling the cluster.
|
|
1990
1991
|
"""
|
|
@@ -1992,7 +1993,7 @@ class OceanUpdatePolicy(dict):
|
|
|
1992
1993
|
|
|
1993
1994
|
@property
|
|
1994
1995
|
@pulumi.getter(name="conditionedRoll")
|
|
1995
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
1996
|
+
def conditioned_roll(self) -> Optional[builtins.bool]:
|
|
1996
1997
|
"""
|
|
1997
1998
|
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).
|
|
1998
1999
|
"""
|
|
@@ -2026,11 +2027,11 @@ class OceanUpdatePolicyRollConfig(dict):
|
|
|
2026
2027
|
return super().get(key, default)
|
|
2027
2028
|
|
|
2028
2029
|
def __init__(__self__, *,
|
|
2029
|
-
batch_size_percentage: int,
|
|
2030
|
-
batch_min_healthy_percentage: Optional[int] = None):
|
|
2030
|
+
batch_size_percentage: builtins.int,
|
|
2031
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None):
|
|
2031
2032
|
"""
|
|
2032
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2033
|
-
: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.
|
|
2033
|
+
:param builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2034
|
+
: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.
|
|
2034
2035
|
"""
|
|
2035
2036
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2036
2037
|
if batch_min_healthy_percentage is not None:
|
|
@@ -2038,7 +2039,7 @@ class OceanUpdatePolicyRollConfig(dict):
|
|
|
2038
2039
|
|
|
2039
2040
|
@property
|
|
2040
2041
|
@pulumi.getter(name="batchSizePercentage")
|
|
2041
|
-
def batch_size_percentage(self) -> int:
|
|
2042
|
+
def batch_size_percentage(self) -> builtins.int:
|
|
2042
2043
|
"""
|
|
2043
2044
|
Sets the percentage of the instances to deploy in each batch.
|
|
2044
2045
|
"""
|
|
@@ -2046,7 +2047,7 @@ class OceanUpdatePolicyRollConfig(dict):
|
|
|
2046
2047
|
|
|
2047
2048
|
@property
|
|
2048
2049
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2049
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2050
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
2050
2051
|
"""
|
|
2051
2052
|
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.
|
|
2052
2053
|
"""
|