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