pulumi-spotinst 3.117.0a1743489626__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.0a1743489626.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.0a1743489626.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743489626.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743489626.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
pulumi_spotinst/ecs/_inputs.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
|
|
@@ -83,11 +84,11 @@ MYPY = False
|
|
|
83
84
|
|
|
84
85
|
if not MYPY:
|
|
85
86
|
class OceanAutoscalerArgsDict(TypedDict):
|
|
86
|
-
auto_headroom_percentage: NotRequired[pulumi.Input[int]]
|
|
87
|
+
auto_headroom_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
87
88
|
"""
|
|
88
89
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
89
90
|
"""
|
|
90
|
-
cooldown: NotRequired[pulumi.Input[int]]
|
|
91
|
+
cooldown: NotRequired[pulumi.Input[builtins.int]]
|
|
91
92
|
"""
|
|
92
93
|
Cooldown period between scaling actions.
|
|
93
94
|
"""
|
|
@@ -95,7 +96,7 @@ if not MYPY:
|
|
|
95
96
|
"""
|
|
96
97
|
Auto Scaling scale down operations.
|
|
97
98
|
"""
|
|
98
|
-
enable_automatic_and_manual_headroom: NotRequired[pulumi.Input[bool]]
|
|
99
|
+
enable_automatic_and_manual_headroom: NotRequired[pulumi.Input[builtins.bool]]
|
|
99
100
|
"""
|
|
100
101
|
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
|
|
101
102
|
"""
|
|
@@ -103,11 +104,11 @@ if not MYPY:
|
|
|
103
104
|
"""
|
|
104
105
|
Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
105
106
|
"""
|
|
106
|
-
is_auto_config: NotRequired[pulumi.Input[bool]]
|
|
107
|
+
is_auto_config: NotRequired[pulumi.Input[builtins.bool]]
|
|
107
108
|
"""
|
|
108
109
|
Automatically configure and optimize headroom resources.
|
|
109
110
|
"""
|
|
110
|
-
is_enabled: NotRequired[pulumi.Input[bool]]
|
|
111
|
+
is_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
111
112
|
"""
|
|
112
113
|
Enable the Ocean ECS autoscaler.
|
|
113
114
|
"""
|
|
@@ -115,7 +116,7 @@ if not MYPY:
|
|
|
115
116
|
"""
|
|
116
117
|
Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
117
118
|
"""
|
|
118
|
-
should_scale_down_non_service_tasks: NotRequired[pulumi.Input[bool]]
|
|
119
|
+
should_scale_down_non_service_tasks: NotRequired[pulumi.Input[builtins.bool]]
|
|
119
120
|
"""
|
|
120
121
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
121
122
|
"""
|
|
@@ -125,25 +126,25 @@ elif False:
|
|
|
125
126
|
@pulumi.input_type
|
|
126
127
|
class OceanAutoscalerArgs:
|
|
127
128
|
def __init__(__self__, *,
|
|
128
|
-
auto_headroom_percentage: Optional[pulumi.Input[int]] = None,
|
|
129
|
-
cooldown: Optional[pulumi.Input[int]] = None,
|
|
129
|
+
auto_headroom_percentage: Optional[pulumi.Input[builtins.int]] = None,
|
|
130
|
+
cooldown: Optional[pulumi.Input[builtins.int]] = None,
|
|
130
131
|
down: Optional[pulumi.Input['OceanAutoscalerDownArgs']] = None,
|
|
131
|
-
enable_automatic_and_manual_headroom: Optional[pulumi.Input[bool]] = None,
|
|
132
|
+
enable_automatic_and_manual_headroom: Optional[pulumi.Input[builtins.bool]] = None,
|
|
132
133
|
headroom: Optional[pulumi.Input['OceanAutoscalerHeadroomArgs']] = None,
|
|
133
|
-
is_auto_config: Optional[pulumi.Input[bool]] = None,
|
|
134
|
-
is_enabled: Optional[pulumi.Input[bool]] = None,
|
|
134
|
+
is_auto_config: Optional[pulumi.Input[builtins.bool]] = None,
|
|
135
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
135
136
|
resource_limits: Optional[pulumi.Input['OceanAutoscalerResourceLimitsArgs']] = None,
|
|
136
|
-
should_scale_down_non_service_tasks: Optional[pulumi.Input[bool]] = None):
|
|
137
|
+
should_scale_down_non_service_tasks: Optional[pulumi.Input[builtins.bool]] = None):
|
|
137
138
|
"""
|
|
138
|
-
:param pulumi.Input[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.
|
|
139
|
-
:param pulumi.Input[int] cooldown: Cooldown period between scaling actions.
|
|
139
|
+
:param pulumi.Input[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.
|
|
140
|
+
:param pulumi.Input[builtins.int] cooldown: Cooldown period between scaling actions.
|
|
140
141
|
:param pulumi.Input['OceanAutoscalerDownArgs'] down: Auto Scaling scale down operations.
|
|
141
|
-
:param pulumi.Input[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
|
|
142
|
+
:param pulumi.Input[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
|
|
142
143
|
:param pulumi.Input['OceanAutoscalerHeadroomArgs'] headroom: Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
|
|
143
|
-
:param pulumi.Input[bool] is_auto_config: Automatically configure and optimize headroom resources.
|
|
144
|
-
:param pulumi.Input[bool] is_enabled: Enable the Ocean ECS autoscaler.
|
|
144
|
+
:param pulumi.Input[builtins.bool] is_auto_config: Automatically configure and optimize headroom resources.
|
|
145
|
+
:param pulumi.Input[builtins.bool] is_enabled: Enable the Ocean ECS autoscaler.
|
|
145
146
|
:param pulumi.Input['OceanAutoscalerResourceLimitsArgs'] resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
146
|
-
:param pulumi.Input[bool] should_scale_down_non_service_tasks: Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
147
|
+
:param pulumi.Input[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.
|
|
147
148
|
"""
|
|
148
149
|
if auto_headroom_percentage is not None:
|
|
149
150
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
@@ -166,26 +167,26 @@ class OceanAutoscalerArgs:
|
|
|
166
167
|
|
|
167
168
|
@property
|
|
168
169
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
169
|
-
def auto_headroom_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
170
|
+
def auto_headroom_percentage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
170
171
|
"""
|
|
171
172
|
The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when `isAutoConfig`= true.
|
|
172
173
|
"""
|
|
173
174
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
174
175
|
|
|
175
176
|
@auto_headroom_percentage.setter
|
|
176
|
-
def auto_headroom_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
177
|
+
def auto_headroom_percentage(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
177
178
|
pulumi.set(self, "auto_headroom_percentage", value)
|
|
178
179
|
|
|
179
180
|
@property
|
|
180
181
|
@pulumi.getter
|
|
181
|
-
def cooldown(self) -> Optional[pulumi.Input[int]]:
|
|
182
|
+
def cooldown(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
182
183
|
"""
|
|
183
184
|
Cooldown period between scaling actions.
|
|
184
185
|
"""
|
|
185
186
|
return pulumi.get(self, "cooldown")
|
|
186
187
|
|
|
187
188
|
@cooldown.setter
|
|
188
|
-
def cooldown(self, value: Optional[pulumi.Input[int]]):
|
|
189
|
+
def cooldown(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
189
190
|
pulumi.set(self, "cooldown", value)
|
|
190
191
|
|
|
191
192
|
@property
|
|
@@ -202,14 +203,14 @@ class OceanAutoscalerArgs:
|
|
|
202
203
|
|
|
203
204
|
@property
|
|
204
205
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
205
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[pulumi.Input[bool]]:
|
|
206
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
206
207
|
"""
|
|
207
208
|
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
|
|
208
209
|
"""
|
|
209
210
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
210
211
|
|
|
211
212
|
@enable_automatic_and_manual_headroom.setter
|
|
212
|
-
def enable_automatic_and_manual_headroom(self, value: Optional[pulumi.Input[bool]]):
|
|
213
|
+
def enable_automatic_and_manual_headroom(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
213
214
|
pulumi.set(self, "enable_automatic_and_manual_headroom", value)
|
|
214
215
|
|
|
215
216
|
@property
|
|
@@ -226,26 +227,26 @@ class OceanAutoscalerArgs:
|
|
|
226
227
|
|
|
227
228
|
@property
|
|
228
229
|
@pulumi.getter(name="isAutoConfig")
|
|
229
|
-
def is_auto_config(self) -> Optional[pulumi.Input[bool]]:
|
|
230
|
+
def is_auto_config(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
230
231
|
"""
|
|
231
232
|
Automatically configure and optimize headroom resources.
|
|
232
233
|
"""
|
|
233
234
|
return pulumi.get(self, "is_auto_config")
|
|
234
235
|
|
|
235
236
|
@is_auto_config.setter
|
|
236
|
-
def is_auto_config(self, value: Optional[pulumi.Input[bool]]):
|
|
237
|
+
def is_auto_config(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
237
238
|
pulumi.set(self, "is_auto_config", value)
|
|
238
239
|
|
|
239
240
|
@property
|
|
240
241
|
@pulumi.getter(name="isEnabled")
|
|
241
|
-
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
242
|
+
def is_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
242
243
|
"""
|
|
243
244
|
Enable the Ocean ECS autoscaler.
|
|
244
245
|
"""
|
|
245
246
|
return pulumi.get(self, "is_enabled")
|
|
246
247
|
|
|
247
248
|
@is_enabled.setter
|
|
248
|
-
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
249
|
+
def is_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
249
250
|
pulumi.set(self, "is_enabled", value)
|
|
250
251
|
|
|
251
252
|
@property
|
|
@@ -262,20 +263,20 @@ class OceanAutoscalerArgs:
|
|
|
262
263
|
|
|
263
264
|
@property
|
|
264
265
|
@pulumi.getter(name="shouldScaleDownNonServiceTasks")
|
|
265
|
-
def should_scale_down_non_service_tasks(self) -> Optional[pulumi.Input[bool]]:
|
|
266
|
+
def should_scale_down_non_service_tasks(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
266
267
|
"""
|
|
267
268
|
Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
|
|
268
269
|
"""
|
|
269
270
|
return pulumi.get(self, "should_scale_down_non_service_tasks")
|
|
270
271
|
|
|
271
272
|
@should_scale_down_non_service_tasks.setter
|
|
272
|
-
def should_scale_down_non_service_tasks(self, value: Optional[pulumi.Input[bool]]):
|
|
273
|
+
def should_scale_down_non_service_tasks(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
273
274
|
pulumi.set(self, "should_scale_down_non_service_tasks", value)
|
|
274
275
|
|
|
275
276
|
|
|
276
277
|
if not MYPY:
|
|
277
278
|
class OceanAutoscalerDownArgsDict(TypedDict):
|
|
278
|
-
max_scale_down_percentage: NotRequired[pulumi.Input[float]]
|
|
279
|
+
max_scale_down_percentage: NotRequired[pulumi.Input[builtins.float]]
|
|
279
280
|
"""
|
|
280
281
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
281
282
|
"""
|
|
@@ -285,37 +286,37 @@ elif False:
|
|
|
285
286
|
@pulumi.input_type
|
|
286
287
|
class OceanAutoscalerDownArgs:
|
|
287
288
|
def __init__(__self__, *,
|
|
288
|
-
max_scale_down_percentage: Optional[pulumi.Input[float]] = None):
|
|
289
|
+
max_scale_down_percentage: Optional[pulumi.Input[builtins.float]] = None):
|
|
289
290
|
"""
|
|
290
|
-
:param pulumi.Input[float] max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
291
|
+
:param pulumi.Input[builtins.float] max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
291
292
|
"""
|
|
292
293
|
if max_scale_down_percentage is not None:
|
|
293
294
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
294
295
|
|
|
295
296
|
@property
|
|
296
297
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
297
|
-
def max_scale_down_percentage(self) -> Optional[pulumi.Input[float]]:
|
|
298
|
+
def max_scale_down_percentage(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
298
299
|
"""
|
|
299
300
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
300
301
|
"""
|
|
301
302
|
return pulumi.get(self, "max_scale_down_percentage")
|
|
302
303
|
|
|
303
304
|
@max_scale_down_percentage.setter
|
|
304
|
-
def max_scale_down_percentage(self, value: Optional[pulumi.Input[float]]):
|
|
305
|
+
def max_scale_down_percentage(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
305
306
|
pulumi.set(self, "max_scale_down_percentage", value)
|
|
306
307
|
|
|
307
308
|
|
|
308
309
|
if not MYPY:
|
|
309
310
|
class OceanAutoscalerHeadroomArgsDict(TypedDict):
|
|
310
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
311
|
+
cpu_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
311
312
|
"""
|
|
312
313
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
313
314
|
"""
|
|
314
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
315
|
+
memory_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
315
316
|
"""
|
|
316
317
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
317
318
|
"""
|
|
318
|
-
num_of_units: NotRequired[pulumi.Input[int]]
|
|
319
|
+
num_of_units: NotRequired[pulumi.Input[builtins.int]]
|
|
319
320
|
"""
|
|
320
321
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
321
322
|
"""
|
|
@@ -325,13 +326,13 @@ elif False:
|
|
|
325
326
|
@pulumi.input_type
|
|
326
327
|
class OceanAutoscalerHeadroomArgs:
|
|
327
328
|
def __init__(__self__, *,
|
|
328
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
329
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None,
|
|
330
|
-
num_of_units: Optional[pulumi.Input[int]] = None):
|
|
329
|
+
cpu_per_unit: Optional[pulumi.Input[builtins.int]] = None,
|
|
330
|
+
memory_per_unit: Optional[pulumi.Input[builtins.int]] = None,
|
|
331
|
+
num_of_units: Optional[pulumi.Input[builtins.int]] = None):
|
|
331
332
|
"""
|
|
332
|
-
:param pulumi.Input[int] cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
333
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
334
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
333
|
+
:param pulumi.Input[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.
|
|
334
|
+
:param pulumi.Input[builtins.int] memory_per_unit: Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
335
|
+
:param pulumi.Input[builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
335
336
|
"""
|
|
336
337
|
if cpu_per_unit is not None:
|
|
337
338
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -342,48 +343,48 @@ class OceanAutoscalerHeadroomArgs:
|
|
|
342
343
|
|
|
343
344
|
@property
|
|
344
345
|
@pulumi.getter(name="cpuPerUnit")
|
|
345
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
346
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
346
347
|
"""
|
|
347
348
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
348
349
|
"""
|
|
349
350
|
return pulumi.get(self, "cpu_per_unit")
|
|
350
351
|
|
|
351
352
|
@cpu_per_unit.setter
|
|
352
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
353
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
353
354
|
pulumi.set(self, "cpu_per_unit", value)
|
|
354
355
|
|
|
355
356
|
@property
|
|
356
357
|
@pulumi.getter(name="memoryPerUnit")
|
|
357
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
358
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
358
359
|
"""
|
|
359
360
|
Optionally configure the amount of memory (MB) to allocate the headroom.
|
|
360
361
|
"""
|
|
361
362
|
return pulumi.get(self, "memory_per_unit")
|
|
362
363
|
|
|
363
364
|
@memory_per_unit.setter
|
|
364
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
365
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
365
366
|
pulumi.set(self, "memory_per_unit", value)
|
|
366
367
|
|
|
367
368
|
@property
|
|
368
369
|
@pulumi.getter(name="numOfUnits")
|
|
369
|
-
def num_of_units(self) -> Optional[pulumi.Input[int]]:
|
|
370
|
+
def num_of_units(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
370
371
|
"""
|
|
371
372
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
372
373
|
"""
|
|
373
374
|
return pulumi.get(self, "num_of_units")
|
|
374
375
|
|
|
375
376
|
@num_of_units.setter
|
|
376
|
-
def num_of_units(self, value: Optional[pulumi.Input[int]]):
|
|
377
|
+
def num_of_units(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
377
378
|
pulumi.set(self, "num_of_units", value)
|
|
378
379
|
|
|
379
380
|
|
|
380
381
|
if not MYPY:
|
|
381
382
|
class OceanAutoscalerResourceLimitsArgsDict(TypedDict):
|
|
382
|
-
max_memory_gib: NotRequired[pulumi.Input[int]]
|
|
383
|
+
max_memory_gib: NotRequired[pulumi.Input[builtins.int]]
|
|
383
384
|
"""
|
|
384
385
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
385
386
|
"""
|
|
386
|
-
max_vcpu: NotRequired[pulumi.Input[int]]
|
|
387
|
+
max_vcpu: NotRequired[pulumi.Input[builtins.int]]
|
|
387
388
|
"""
|
|
388
389
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
389
390
|
"""
|
|
@@ -393,11 +394,11 @@ elif False:
|
|
|
393
394
|
@pulumi.input_type
|
|
394
395
|
class OceanAutoscalerResourceLimitsArgs:
|
|
395
396
|
def __init__(__self__, *,
|
|
396
|
-
max_memory_gib: Optional[pulumi.Input[int]] = None,
|
|
397
|
-
max_vcpu: Optional[pulumi.Input[int]] = None):
|
|
397
|
+
max_memory_gib: Optional[pulumi.Input[builtins.int]] = None,
|
|
398
|
+
max_vcpu: Optional[pulumi.Input[builtins.int]] = None):
|
|
398
399
|
"""
|
|
399
|
-
:param pulumi.Input[int] max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
400
|
-
:param pulumi.Input[int] max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
400
|
+
:param pulumi.Input[builtins.int] max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
401
|
+
:param pulumi.Input[builtins.int] max_vcpu: The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
401
402
|
"""
|
|
402
403
|
if max_memory_gib is not None:
|
|
403
404
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
@@ -406,32 +407,32 @@ class OceanAutoscalerResourceLimitsArgs:
|
|
|
406
407
|
|
|
407
408
|
@property
|
|
408
409
|
@pulumi.getter(name="maxMemoryGib")
|
|
409
|
-
def max_memory_gib(self) -> Optional[pulumi.Input[int]]:
|
|
410
|
+
def max_memory_gib(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
410
411
|
"""
|
|
411
412
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
412
413
|
"""
|
|
413
414
|
return pulumi.get(self, "max_memory_gib")
|
|
414
415
|
|
|
415
416
|
@max_memory_gib.setter
|
|
416
|
-
def max_memory_gib(self, value: Optional[pulumi.Input[int]]):
|
|
417
|
+
def max_memory_gib(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
417
418
|
pulumi.set(self, "max_memory_gib", value)
|
|
418
419
|
|
|
419
420
|
@property
|
|
420
421
|
@pulumi.getter(name="maxVcpu")
|
|
421
|
-
def max_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
422
|
+
def max_vcpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
422
423
|
"""
|
|
423
424
|
The maximum cpu in vCPU units that can be allocated to the cluster.
|
|
424
425
|
"""
|
|
425
426
|
return pulumi.get(self, "max_vcpu")
|
|
426
427
|
|
|
427
428
|
@max_vcpu.setter
|
|
428
|
-
def max_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
429
|
+
def max_vcpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
429
430
|
pulumi.set(self, "max_vcpu", value)
|
|
430
431
|
|
|
431
432
|
|
|
432
433
|
if not MYPY:
|
|
433
434
|
class OceanBlockDeviceMappingArgsDict(TypedDict):
|
|
434
|
-
device_name: pulumi.Input[str]
|
|
435
|
+
device_name: pulumi.Input[builtins.str]
|
|
435
436
|
"""
|
|
436
437
|
String. Set device name. Example: `/dev/xvda1`.
|
|
437
438
|
"""
|
|
@@ -439,25 +440,25 @@ if not MYPY:
|
|
|
439
440
|
"""
|
|
440
441
|
Object. Set Elastic Block Store properties.
|
|
441
442
|
"""
|
|
442
|
-
no_device: NotRequired[pulumi.Input[str]]
|
|
443
|
+
no_device: NotRequired[pulumi.Input[builtins.str]]
|
|
443
444
|
"""
|
|
444
445
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
445
446
|
"""
|
|
446
|
-
virtual_name: NotRequired[pulumi.Input[str]]
|
|
447
|
+
virtual_name: NotRequired[pulumi.Input[builtins.str]]
|
|
447
448
|
elif False:
|
|
448
449
|
OceanBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
449
450
|
|
|
450
451
|
@pulumi.input_type
|
|
451
452
|
class OceanBlockDeviceMappingArgs:
|
|
452
453
|
def __init__(__self__, *,
|
|
453
|
-
device_name: pulumi.Input[str],
|
|
454
|
+
device_name: pulumi.Input[builtins.str],
|
|
454
455
|
ebs: Optional[pulumi.Input['OceanBlockDeviceMappingEbsArgs']] = None,
|
|
455
|
-
no_device: Optional[pulumi.Input[str]] = None,
|
|
456
|
-
virtual_name: Optional[pulumi.Input[str]] = None):
|
|
456
|
+
no_device: Optional[pulumi.Input[builtins.str]] = None,
|
|
457
|
+
virtual_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
457
458
|
"""
|
|
458
|
-
:param pulumi.Input[str] device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
459
|
+
:param pulumi.Input[builtins.str] device_name: String. Set device name. Example: `/dev/xvda1`.
|
|
459
460
|
:param pulumi.Input['OceanBlockDeviceMappingEbsArgs'] ebs: Object. Set Elastic Block Store properties.
|
|
460
|
-
:param pulumi.Input[str] no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
461
|
+
:param pulumi.Input[builtins.str] no_device: String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
461
462
|
"""
|
|
462
463
|
pulumi.set(__self__, "device_name", device_name)
|
|
463
464
|
if ebs is not None:
|
|
@@ -469,14 +470,14 @@ class OceanBlockDeviceMappingArgs:
|
|
|
469
470
|
|
|
470
471
|
@property
|
|
471
472
|
@pulumi.getter(name="deviceName")
|
|
472
|
-
def device_name(self) -> pulumi.Input[str]:
|
|
473
|
+
def device_name(self) -> pulumi.Input[builtins.str]:
|
|
473
474
|
"""
|
|
474
475
|
String. Set device name. Example: `/dev/xvda1`.
|
|
475
476
|
"""
|
|
476
477
|
return pulumi.get(self, "device_name")
|
|
477
478
|
|
|
478
479
|
@device_name.setter
|
|
479
|
-
def device_name(self, value: pulumi.Input[str]):
|
|
480
|
+
def device_name(self, value: pulumi.Input[builtins.str]):
|
|
480
481
|
pulumi.set(self, "device_name", value)
|
|
481
482
|
|
|
482
483
|
@property
|
|
@@ -493,29 +494,29 @@ class OceanBlockDeviceMappingArgs:
|
|
|
493
494
|
|
|
494
495
|
@property
|
|
495
496
|
@pulumi.getter(name="noDevice")
|
|
496
|
-
def no_device(self) -> Optional[pulumi.Input[str]]:
|
|
497
|
+
def no_device(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
497
498
|
"""
|
|
498
499
|
String. Suppresses the specified device included in the block device mapping of the AMI.
|
|
499
500
|
"""
|
|
500
501
|
return pulumi.get(self, "no_device")
|
|
501
502
|
|
|
502
503
|
@no_device.setter
|
|
503
|
-
def no_device(self, value: Optional[pulumi.Input[str]]):
|
|
504
|
+
def no_device(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
504
505
|
pulumi.set(self, "no_device", value)
|
|
505
506
|
|
|
506
507
|
@property
|
|
507
508
|
@pulumi.getter(name="virtualName")
|
|
508
|
-
def virtual_name(self) -> Optional[pulumi.Input[str]]:
|
|
509
|
+
def virtual_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
509
510
|
return pulumi.get(self, "virtual_name")
|
|
510
511
|
|
|
511
512
|
@virtual_name.setter
|
|
512
|
-
def virtual_name(self, value: Optional[pulumi.Input[str]]):
|
|
513
|
+
def virtual_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
513
514
|
pulumi.set(self, "virtual_name", value)
|
|
514
515
|
|
|
515
516
|
|
|
516
517
|
if not MYPY:
|
|
517
518
|
class OceanBlockDeviceMappingEbsArgsDict(TypedDict):
|
|
518
|
-
delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
519
|
+
delete_on_termination: NotRequired[pulumi.Input[builtins.bool]]
|
|
519
520
|
"""
|
|
520
521
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
521
522
|
"""
|
|
@@ -523,31 +524,31 @@ if not MYPY:
|
|
|
523
524
|
"""
|
|
524
525
|
Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
525
526
|
"""
|
|
526
|
-
encrypted: NotRequired[pulumi.Input[bool]]
|
|
527
|
+
encrypted: NotRequired[pulumi.Input[builtins.bool]]
|
|
527
528
|
"""
|
|
528
529
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
529
530
|
"""
|
|
530
|
-
iops: NotRequired[pulumi.Input[int]]
|
|
531
|
+
iops: NotRequired[pulumi.Input[builtins.int]]
|
|
531
532
|
"""
|
|
532
533
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
533
534
|
"""
|
|
534
|
-
kms_key_id: NotRequired[pulumi.Input[str]]
|
|
535
|
+
kms_key_id: NotRequired[pulumi.Input[builtins.str]]
|
|
535
536
|
"""
|
|
536
537
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
537
538
|
"""
|
|
538
|
-
snapshot_id: NotRequired[pulumi.Input[str]]
|
|
539
|
+
snapshot_id: NotRequired[pulumi.Input[builtins.str]]
|
|
539
540
|
"""
|
|
540
541
|
(Optional) String. The snapshot ID to mount by.
|
|
541
542
|
"""
|
|
542
|
-
throughput: NotRequired[pulumi.Input[int]]
|
|
543
|
+
throughput: NotRequired[pulumi.Input[builtins.int]]
|
|
543
544
|
"""
|
|
544
545
|
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.
|
|
545
546
|
"""
|
|
546
|
-
volume_size: NotRequired[pulumi.Input[int]]
|
|
547
|
+
volume_size: NotRequired[pulumi.Input[builtins.int]]
|
|
547
548
|
"""
|
|
548
549
|
Int. The size (in GB) of the volume.
|
|
549
550
|
"""
|
|
550
|
-
volume_type: NotRequired[pulumi.Input[str]]
|
|
551
|
+
volume_type: NotRequired[pulumi.Input[builtins.str]]
|
|
551
552
|
"""
|
|
552
553
|
String. The type of the volume. Example: `gp2`.
|
|
553
554
|
"""
|
|
@@ -557,25 +558,25 @@ elif False:
|
|
|
557
558
|
@pulumi.input_type
|
|
558
559
|
class OceanBlockDeviceMappingEbsArgs:
|
|
559
560
|
def __init__(__self__, *,
|
|
560
|
-
delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
561
|
+
delete_on_termination: Optional[pulumi.Input[builtins.bool]] = None,
|
|
561
562
|
dynamic_volume_size: Optional[pulumi.Input['OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs']] = None,
|
|
562
|
-
encrypted: Optional[pulumi.Input[bool]] = None,
|
|
563
|
-
iops: Optional[pulumi.Input[int]] = None,
|
|
564
|
-
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
566
|
-
throughput: Optional[pulumi.Input[int]] = None,
|
|
567
|
-
volume_size: Optional[pulumi.Input[int]] = None,
|
|
568
|
-
volume_type: Optional[pulumi.Input[str]] = None):
|
|
569
|
-
"""
|
|
570
|
-
:param pulumi.Input[bool] delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
563
|
+
encrypted: Optional[pulumi.Input[builtins.bool]] = None,
|
|
564
|
+
iops: Optional[pulumi.Input[builtins.int]] = None,
|
|
565
|
+
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
566
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
567
|
+
throughput: Optional[pulumi.Input[builtins.int]] = None,
|
|
568
|
+
volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
569
|
+
volume_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
570
|
+
"""
|
|
571
|
+
:param pulumi.Input[builtins.bool] delete_on_termination: Boolean. Toggles EBS deletion upon instance termination.
|
|
571
572
|
:param pulumi.Input['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.
|
|
572
|
-
:param pulumi.Input[bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
573
|
-
:param pulumi.Input[int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
574
|
-
:param pulumi.Input[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.
|
|
575
|
-
:param pulumi.Input[str] snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
576
|
-
:param pulumi.Input[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.
|
|
577
|
-
:param pulumi.Input[int] volume_size: Int. The size (in GB) of the volume.
|
|
578
|
-
:param pulumi.Input[str] volume_type: String. The type of the volume. Example: `gp2`.
|
|
573
|
+
:param pulumi.Input[builtins.bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
574
|
+
:param pulumi.Input[builtins.int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
575
|
+
:param pulumi.Input[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.
|
|
576
|
+
:param pulumi.Input[builtins.str] snapshot_id: (Optional) String. The snapshot ID to mount by.
|
|
577
|
+
:param pulumi.Input[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.
|
|
578
|
+
:param pulumi.Input[builtins.int] volume_size: Int. The size (in GB) of the volume.
|
|
579
|
+
:param pulumi.Input[builtins.str] volume_type: String. The type of the volume. Example: `gp2`.
|
|
579
580
|
"""
|
|
580
581
|
if delete_on_termination is not None:
|
|
581
582
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -598,14 +599,14 @@ class OceanBlockDeviceMappingEbsArgs:
|
|
|
598
599
|
|
|
599
600
|
@property
|
|
600
601
|
@pulumi.getter(name="deleteOnTermination")
|
|
601
|
-
def delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
602
|
+
def delete_on_termination(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
602
603
|
"""
|
|
603
604
|
Boolean. Toggles EBS deletion upon instance termination.
|
|
604
605
|
"""
|
|
605
606
|
return pulumi.get(self, "delete_on_termination")
|
|
606
607
|
|
|
607
608
|
@delete_on_termination.setter
|
|
608
|
-
def delete_on_termination(self, value: Optional[pulumi.Input[bool]]):
|
|
609
|
+
def delete_on_termination(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
609
610
|
pulumi.set(self, "delete_on_termination", value)
|
|
610
611
|
|
|
611
612
|
@property
|
|
@@ -622,100 +623,100 @@ class OceanBlockDeviceMappingEbsArgs:
|
|
|
622
623
|
|
|
623
624
|
@property
|
|
624
625
|
@pulumi.getter
|
|
625
|
-
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
626
|
+
def encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
626
627
|
"""
|
|
627
628
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
628
629
|
"""
|
|
629
630
|
return pulumi.get(self, "encrypted")
|
|
630
631
|
|
|
631
632
|
@encrypted.setter
|
|
632
|
-
def encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
633
|
+
def encrypted(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
633
634
|
pulumi.set(self, "encrypted", value)
|
|
634
635
|
|
|
635
636
|
@property
|
|
636
637
|
@pulumi.getter
|
|
637
|
-
def iops(self) -> Optional[pulumi.Input[int]]:
|
|
638
|
+
def iops(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
638
639
|
"""
|
|
639
640
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
640
641
|
"""
|
|
641
642
|
return pulumi.get(self, "iops")
|
|
642
643
|
|
|
643
644
|
@iops.setter
|
|
644
|
-
def iops(self, value: Optional[pulumi.Input[int]]):
|
|
645
|
+
def iops(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
645
646
|
pulumi.set(self, "iops", value)
|
|
646
647
|
|
|
647
648
|
@property
|
|
648
649
|
@pulumi.getter(name="kmsKeyId")
|
|
649
|
-
def kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
650
|
+
def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
650
651
|
"""
|
|
651
652
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
652
653
|
"""
|
|
653
654
|
return pulumi.get(self, "kms_key_id")
|
|
654
655
|
|
|
655
656
|
@kms_key_id.setter
|
|
656
|
-
def kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
657
|
+
def kms_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
657
658
|
pulumi.set(self, "kms_key_id", value)
|
|
658
659
|
|
|
659
660
|
@property
|
|
660
661
|
@pulumi.getter(name="snapshotId")
|
|
661
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
662
|
+
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
662
663
|
"""
|
|
663
664
|
(Optional) String. The snapshot ID to mount by.
|
|
664
665
|
"""
|
|
665
666
|
return pulumi.get(self, "snapshot_id")
|
|
666
667
|
|
|
667
668
|
@snapshot_id.setter
|
|
668
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
669
|
+
def snapshot_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
669
670
|
pulumi.set(self, "snapshot_id", value)
|
|
670
671
|
|
|
671
672
|
@property
|
|
672
673
|
@pulumi.getter
|
|
673
|
-
def throughput(self) -> Optional[pulumi.Input[int]]:
|
|
674
|
+
def throughput(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
674
675
|
"""
|
|
675
676
|
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.
|
|
676
677
|
"""
|
|
677
678
|
return pulumi.get(self, "throughput")
|
|
678
679
|
|
|
679
680
|
@throughput.setter
|
|
680
|
-
def throughput(self, value: Optional[pulumi.Input[int]]):
|
|
681
|
+
def throughput(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
681
682
|
pulumi.set(self, "throughput", value)
|
|
682
683
|
|
|
683
684
|
@property
|
|
684
685
|
@pulumi.getter(name="volumeSize")
|
|
685
|
-
def volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
686
|
+
def volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
686
687
|
"""
|
|
687
688
|
Int. The size (in GB) of the volume.
|
|
688
689
|
"""
|
|
689
690
|
return pulumi.get(self, "volume_size")
|
|
690
691
|
|
|
691
692
|
@volume_size.setter
|
|
692
|
-
def volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
693
|
+
def volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
693
694
|
pulumi.set(self, "volume_size", value)
|
|
694
695
|
|
|
695
696
|
@property
|
|
696
697
|
@pulumi.getter(name="volumeType")
|
|
697
|
-
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
698
|
+
def volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
698
699
|
"""
|
|
699
700
|
String. The type of the volume. Example: `gp2`.
|
|
700
701
|
"""
|
|
701
702
|
return pulumi.get(self, "volume_type")
|
|
702
703
|
|
|
703
704
|
@volume_type.setter
|
|
704
|
-
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
705
|
+
def volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
705
706
|
pulumi.set(self, "volume_type", value)
|
|
706
707
|
|
|
707
708
|
|
|
708
709
|
if not MYPY:
|
|
709
710
|
class OceanBlockDeviceMappingEbsDynamicVolumeSizeArgsDict(TypedDict):
|
|
710
|
-
base_size: pulumi.Input[int]
|
|
711
|
+
base_size: pulumi.Input[builtins.int]
|
|
711
712
|
"""
|
|
712
713
|
Int. Initial size for volume. Example: `50`.
|
|
713
714
|
"""
|
|
714
|
-
resource: pulumi.Input[str]
|
|
715
|
+
resource: pulumi.Input[builtins.str]
|
|
715
716
|
"""
|
|
716
717
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
717
718
|
"""
|
|
718
|
-
size_per_resource_unit: pulumi.Input[int]
|
|
719
|
+
size_per_resource_unit: pulumi.Input[builtins.int]
|
|
719
720
|
"""
|
|
720
721
|
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.
|
|
721
722
|
"""
|
|
@@ -725,13 +726,13 @@ elif False:
|
|
|
725
726
|
@pulumi.input_type
|
|
726
727
|
class OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
727
728
|
def __init__(__self__, *,
|
|
728
|
-
base_size: pulumi.Input[int],
|
|
729
|
-
resource: pulumi.Input[str],
|
|
730
|
-
size_per_resource_unit: pulumi.Input[int]):
|
|
729
|
+
base_size: pulumi.Input[builtins.int],
|
|
730
|
+
resource: pulumi.Input[builtins.str],
|
|
731
|
+
size_per_resource_unit: pulumi.Input[builtins.int]):
|
|
731
732
|
"""
|
|
732
|
-
:param pulumi.Input[int] base_size: Int. Initial size for volume. Example: `50`.
|
|
733
|
-
:param pulumi.Input[str] resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
734
|
-
:param pulumi.Input[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.
|
|
733
|
+
:param pulumi.Input[builtins.int] base_size: Int. Initial size for volume. Example: `50`.
|
|
734
|
+
:param pulumi.Input[builtins.str] resource: String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
735
|
+
:param pulumi.Input[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.
|
|
735
736
|
"""
|
|
736
737
|
pulumi.set(__self__, "base_size", base_size)
|
|
737
738
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -739,44 +740,44 @@ class OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
|
739
740
|
|
|
740
741
|
@property
|
|
741
742
|
@pulumi.getter(name="baseSize")
|
|
742
|
-
def base_size(self) -> pulumi.Input[int]:
|
|
743
|
+
def base_size(self) -> pulumi.Input[builtins.int]:
|
|
743
744
|
"""
|
|
744
745
|
Int. Initial size for volume. Example: `50`.
|
|
745
746
|
"""
|
|
746
747
|
return pulumi.get(self, "base_size")
|
|
747
748
|
|
|
748
749
|
@base_size.setter
|
|
749
|
-
def base_size(self, value: pulumi.Input[int]):
|
|
750
|
+
def base_size(self, value: pulumi.Input[builtins.int]):
|
|
750
751
|
pulumi.set(self, "base_size", value)
|
|
751
752
|
|
|
752
753
|
@property
|
|
753
754
|
@pulumi.getter
|
|
754
|
-
def resource(self) -> pulumi.Input[str]:
|
|
755
|
+
def resource(self) -> pulumi.Input[builtins.str]:
|
|
755
756
|
"""
|
|
756
757
|
String. Resource type to increase volume size dynamically by. Valid values: `CPU`.
|
|
757
758
|
"""
|
|
758
759
|
return pulumi.get(self, "resource")
|
|
759
760
|
|
|
760
761
|
@resource.setter
|
|
761
|
-
def resource(self, value: pulumi.Input[str]):
|
|
762
|
+
def resource(self, value: pulumi.Input[builtins.str]):
|
|
762
763
|
pulumi.set(self, "resource", value)
|
|
763
764
|
|
|
764
765
|
@property
|
|
765
766
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
766
|
-
def size_per_resource_unit(self) -> pulumi.Input[int]:
|
|
767
|
+
def size_per_resource_unit(self) -> pulumi.Input[builtins.int]:
|
|
767
768
|
"""
|
|
768
769
|
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.
|
|
769
770
|
"""
|
|
770
771
|
return pulumi.get(self, "size_per_resource_unit")
|
|
771
772
|
|
|
772
773
|
@size_per_resource_unit.setter
|
|
773
|
-
def size_per_resource_unit(self, value: pulumi.Input[int]):
|
|
774
|
+
def size_per_resource_unit(self, value: pulumi.Input[builtins.int]):
|
|
774
775
|
pulumi.set(self, "size_per_resource_unit", value)
|
|
775
776
|
|
|
776
777
|
|
|
777
778
|
if not MYPY:
|
|
778
779
|
class OceanClusterOrientationArgsDict(TypedDict):
|
|
779
|
-
availability_vs_cost: NotRequired[pulumi.Input[str]]
|
|
780
|
+
availability_vs_cost: NotRequired[pulumi.Input[builtins.str]]
|
|
780
781
|
"""
|
|
781
782
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
782
783
|
"""
|
|
@@ -786,95 +787,95 @@ elif False:
|
|
|
786
787
|
@pulumi.input_type
|
|
787
788
|
class OceanClusterOrientationArgs:
|
|
788
789
|
def __init__(__self__, *,
|
|
789
|
-
availability_vs_cost: Optional[pulumi.Input[str]] = None):
|
|
790
|
+
availability_vs_cost: Optional[pulumi.Input[builtins.str]] = None):
|
|
790
791
|
"""
|
|
791
|
-
:param pulumi.Input[str] availability_vs_cost: You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
792
|
+
:param pulumi.Input[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`.
|
|
792
793
|
"""
|
|
793
794
|
if availability_vs_cost is not None:
|
|
794
795
|
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
795
796
|
|
|
796
797
|
@property
|
|
797
798
|
@pulumi.getter(name="availabilityVsCost")
|
|
798
|
-
def availability_vs_cost(self) -> Optional[pulumi.Input[str]]:
|
|
799
|
+
def availability_vs_cost(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
799
800
|
"""
|
|
800
801
|
You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: `costOriented`,`balanced`,`cheapest`.
|
|
801
802
|
"""
|
|
802
803
|
return pulumi.get(self, "availability_vs_cost")
|
|
803
804
|
|
|
804
805
|
@availability_vs_cost.setter
|
|
805
|
-
def availability_vs_cost(self, value: Optional[pulumi.Input[str]]):
|
|
806
|
+
def availability_vs_cost(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
806
807
|
pulumi.set(self, "availability_vs_cost", value)
|
|
807
808
|
|
|
808
809
|
|
|
809
810
|
if not MYPY:
|
|
810
811
|
class OceanFiltersArgsDict(TypedDict):
|
|
811
|
-
architectures: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
812
|
+
architectures: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
812
813
|
"""
|
|
813
814
|
The filtered instance types will support at least one of the architectures from this list.
|
|
814
815
|
"""
|
|
815
|
-
categories: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
816
|
+
categories: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
816
817
|
"""
|
|
817
818
|
The filtered instance types will belong to one of the categories types from this list.
|
|
818
819
|
"""
|
|
819
|
-
disk_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
820
|
+
disk_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
820
821
|
"""
|
|
821
822
|
The filtered instance types will have one of the disk type from this list.
|
|
822
823
|
"""
|
|
823
|
-
exclude_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
824
|
+
exclude_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
824
825
|
"""
|
|
825
826
|
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.
|
|
826
827
|
"""
|
|
827
|
-
exclude_metal: NotRequired[pulumi.Input[bool]]
|
|
828
|
+
exclude_metal: NotRequired[pulumi.Input[builtins.bool]]
|
|
828
829
|
"""
|
|
829
830
|
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
830
831
|
"""
|
|
831
|
-
hypervisors: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
832
|
+
hypervisors: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
832
833
|
"""
|
|
833
834
|
The filtered instance types will have a hypervisor type from this list.
|
|
834
835
|
"""
|
|
835
|
-
include_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
836
|
+
include_families: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
836
837
|
"""
|
|
837
838
|
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.
|
|
838
839
|
"""
|
|
839
|
-
is_ena_supported: NotRequired[pulumi.Input[str]]
|
|
840
|
+
is_ena_supported: NotRequired[pulumi.Input[builtins.str]]
|
|
840
841
|
"""
|
|
841
842
|
Ena is supported or not.
|
|
842
843
|
"""
|
|
843
|
-
max_gpu: NotRequired[pulumi.Input[int]]
|
|
844
|
+
max_gpu: NotRequired[pulumi.Input[builtins.int]]
|
|
844
845
|
"""
|
|
845
846
|
Maximum total number of GPUs.
|
|
846
847
|
"""
|
|
847
|
-
max_memory_gib: NotRequired[pulumi.Input[float]]
|
|
848
|
-
max_network_performance: NotRequired[pulumi.Input[int]]
|
|
848
|
+
max_memory_gib: NotRequired[pulumi.Input[builtins.float]]
|
|
849
|
+
max_network_performance: NotRequired[pulumi.Input[builtins.int]]
|
|
849
850
|
"""
|
|
850
851
|
Maximum Bandwidth in Gib/s of network performance.
|
|
851
852
|
"""
|
|
852
|
-
max_vcpu: NotRequired[pulumi.Input[int]]
|
|
853
|
-
min_enis: NotRequired[pulumi.Input[int]]
|
|
853
|
+
max_vcpu: NotRequired[pulumi.Input[builtins.int]]
|
|
854
|
+
min_enis: NotRequired[pulumi.Input[builtins.int]]
|
|
854
855
|
"""
|
|
855
856
|
Minimum number of network interfaces (ENIs).
|
|
856
857
|
"""
|
|
857
|
-
min_gpu: NotRequired[pulumi.Input[int]]
|
|
858
|
+
min_gpu: NotRequired[pulumi.Input[builtins.int]]
|
|
858
859
|
"""
|
|
859
860
|
Minimum total number of GPUs.
|
|
860
861
|
"""
|
|
861
|
-
min_memory_gib: NotRequired[pulumi.Input[float]]
|
|
862
|
+
min_memory_gib: NotRequired[pulumi.Input[builtins.float]]
|
|
862
863
|
"""
|
|
863
864
|
Minimum amount of Memory (GiB).
|
|
864
865
|
"""
|
|
865
|
-
min_network_performance: NotRequired[pulumi.Input[int]]
|
|
866
|
+
min_network_performance: NotRequired[pulumi.Input[builtins.int]]
|
|
866
867
|
"""
|
|
867
868
|
Minimum Bandwidth in Gib/s of network performance.
|
|
868
869
|
"""
|
|
869
|
-
min_vcpu: NotRequired[pulumi.Input[int]]
|
|
870
|
+
min_vcpu: NotRequired[pulumi.Input[builtins.int]]
|
|
870
871
|
"""
|
|
871
872
|
Minimum number of vcpus available.
|
|
872
873
|
"""
|
|
873
|
-
root_device_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
874
|
+
root_device_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
874
875
|
"""
|
|
875
876
|
The filtered instance types will have a root device types from this list.
|
|
876
877
|
"""
|
|
877
|
-
virtualization_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
878
|
+
virtualization_types: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
878
879
|
"""
|
|
879
880
|
The filtered instance types will support at least one of the virtualization types from this list.
|
|
880
881
|
"""
|
|
@@ -884,43 +885,43 @@ elif False:
|
|
|
884
885
|
@pulumi.input_type
|
|
885
886
|
class OceanFiltersArgs:
|
|
886
887
|
def __init__(__self__, *,
|
|
887
|
-
architectures: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
888
|
-
categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
889
|
-
disk_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
890
|
-
exclude_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
891
|
-
exclude_metal: Optional[pulumi.Input[bool]] = None,
|
|
892
|
-
hypervisors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
893
|
-
include_families: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
894
|
-
is_ena_supported: Optional[pulumi.Input[str]] = None,
|
|
895
|
-
max_gpu: Optional[pulumi.Input[int]] = None,
|
|
896
|
-
max_memory_gib: Optional[pulumi.Input[float]] = None,
|
|
897
|
-
max_network_performance: Optional[pulumi.Input[int]] = None,
|
|
898
|
-
max_vcpu: Optional[pulumi.Input[int]] = None,
|
|
899
|
-
min_enis: Optional[pulumi.Input[int]] = None,
|
|
900
|
-
min_gpu: Optional[pulumi.Input[int]] = None,
|
|
901
|
-
min_memory_gib: Optional[pulumi.Input[float]] = None,
|
|
902
|
-
min_network_performance: Optional[pulumi.Input[int]] = None,
|
|
903
|
-
min_vcpu: Optional[pulumi.Input[int]] = None,
|
|
904
|
-
root_device_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
905
|
-
virtualization_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
906
|
-
"""
|
|
907
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
908
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
909
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
910
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
911
|
-
:param pulumi.Input[bool] exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
912
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
913
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
914
|
-
:param pulumi.Input[str] is_ena_supported: Ena is supported or not.
|
|
915
|
-
:param pulumi.Input[int] max_gpu: Maximum total number of GPUs.
|
|
916
|
-
:param pulumi.Input[int] max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
917
|
-
:param pulumi.Input[int] min_enis: Minimum number of network interfaces (ENIs).
|
|
918
|
-
:param pulumi.Input[int] min_gpu: Minimum total number of GPUs.
|
|
919
|
-
:param pulumi.Input[float] min_memory_gib: Minimum amount of Memory (GiB).
|
|
920
|
-
:param pulumi.Input[int] min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
921
|
-
:param pulumi.Input[int] min_vcpu: Minimum number of vcpus available.
|
|
922
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] root_device_types: The filtered instance types will have a root device types from this list.
|
|
923
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
888
|
+
architectures: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
889
|
+
categories: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
890
|
+
disk_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
891
|
+
exclude_families: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
892
|
+
exclude_metal: Optional[pulumi.Input[builtins.bool]] = None,
|
|
893
|
+
hypervisors: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
894
|
+
include_families: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
895
|
+
is_ena_supported: Optional[pulumi.Input[builtins.str]] = None,
|
|
896
|
+
max_gpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
897
|
+
max_memory_gib: Optional[pulumi.Input[builtins.float]] = None,
|
|
898
|
+
max_network_performance: Optional[pulumi.Input[builtins.int]] = None,
|
|
899
|
+
max_vcpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
900
|
+
min_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
901
|
+
min_gpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
902
|
+
min_memory_gib: Optional[pulumi.Input[builtins.float]] = None,
|
|
903
|
+
min_network_performance: Optional[pulumi.Input[builtins.int]] = None,
|
|
904
|
+
min_vcpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
905
|
+
root_device_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
906
|
+
virtualization_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
907
|
+
"""
|
|
908
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] architectures: The filtered instance types will support at least one of the architectures from this list.
|
|
909
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] categories: The filtered instance types will belong to one of the categories types from this list.
|
|
910
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] disk_types: The filtered instance types will have one of the disk type from this list.
|
|
911
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
912
|
+
:param pulumi.Input[builtins.bool] exclude_metal: In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
913
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] hypervisors: The filtered instance types will have a hypervisor type from this list.
|
|
914
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
915
|
+
:param pulumi.Input[builtins.str] is_ena_supported: Ena is supported or not.
|
|
916
|
+
:param pulumi.Input[builtins.int] max_gpu: Maximum total number of GPUs.
|
|
917
|
+
:param pulumi.Input[builtins.int] max_network_performance: Maximum Bandwidth in Gib/s of network performance.
|
|
918
|
+
:param pulumi.Input[builtins.int] min_enis: Minimum number of network interfaces (ENIs).
|
|
919
|
+
:param pulumi.Input[builtins.int] min_gpu: Minimum total number of GPUs.
|
|
920
|
+
:param pulumi.Input[builtins.float] min_memory_gib: Minimum amount of Memory (GiB).
|
|
921
|
+
:param pulumi.Input[builtins.int] min_network_performance: Minimum Bandwidth in Gib/s of network performance.
|
|
922
|
+
:param pulumi.Input[builtins.int] min_vcpu: Minimum number of vcpus available.
|
|
923
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] root_device_types: The filtered instance types will have a root device types from this list.
|
|
924
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] virtualization_types: The filtered instance types will support at least one of the virtualization types from this list.
|
|
924
925
|
"""
|
|
925
926
|
if architectures is not None:
|
|
926
927
|
pulumi.set(__self__, "architectures", architectures)
|
|
@@ -963,234 +964,234 @@ class OceanFiltersArgs:
|
|
|
963
964
|
|
|
964
965
|
@property
|
|
965
966
|
@pulumi.getter
|
|
966
|
-
def architectures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
967
|
+
def architectures(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
967
968
|
"""
|
|
968
969
|
The filtered instance types will support at least one of the architectures from this list.
|
|
969
970
|
"""
|
|
970
971
|
return pulumi.get(self, "architectures")
|
|
971
972
|
|
|
972
973
|
@architectures.setter
|
|
973
|
-
def architectures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
974
|
+
def architectures(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
974
975
|
pulumi.set(self, "architectures", value)
|
|
975
976
|
|
|
976
977
|
@property
|
|
977
978
|
@pulumi.getter
|
|
978
|
-
def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
979
|
+
def categories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
979
980
|
"""
|
|
980
981
|
The filtered instance types will belong to one of the categories types from this list.
|
|
981
982
|
"""
|
|
982
983
|
return pulumi.get(self, "categories")
|
|
983
984
|
|
|
984
985
|
@categories.setter
|
|
985
|
-
def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
986
|
+
def categories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
986
987
|
pulumi.set(self, "categories", value)
|
|
987
988
|
|
|
988
989
|
@property
|
|
989
990
|
@pulumi.getter(name="diskTypes")
|
|
990
|
-
def disk_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
991
|
+
def disk_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
991
992
|
"""
|
|
992
993
|
The filtered instance types will have one of the disk type from this list.
|
|
993
994
|
"""
|
|
994
995
|
return pulumi.get(self, "disk_types")
|
|
995
996
|
|
|
996
997
|
@disk_types.setter
|
|
997
|
-
def disk_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
998
|
+
def disk_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
998
999
|
pulumi.set(self, "disk_types", value)
|
|
999
1000
|
|
|
1000
1001
|
@property
|
|
1001
1002
|
@pulumi.getter(name="excludeFamilies")
|
|
1002
|
-
def exclude_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1003
|
+
def exclude_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1003
1004
|
"""
|
|
1004
1005
|
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.
|
|
1005
1006
|
"""
|
|
1006
1007
|
return pulumi.get(self, "exclude_families")
|
|
1007
1008
|
|
|
1008
1009
|
@exclude_families.setter
|
|
1009
|
-
def exclude_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1010
|
+
def exclude_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1010
1011
|
pulumi.set(self, "exclude_families", value)
|
|
1011
1012
|
|
|
1012
1013
|
@property
|
|
1013
1014
|
@pulumi.getter(name="excludeMetal")
|
|
1014
|
-
def exclude_metal(self) -> Optional[pulumi.Input[bool]]:
|
|
1015
|
+
def exclude_metal(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1015
1016
|
"""
|
|
1016
1017
|
In case excludeMetal is set to true, metal types will not be available for scaling.
|
|
1017
1018
|
"""
|
|
1018
1019
|
return pulumi.get(self, "exclude_metal")
|
|
1019
1020
|
|
|
1020
1021
|
@exclude_metal.setter
|
|
1021
|
-
def exclude_metal(self, value: Optional[pulumi.Input[bool]]):
|
|
1022
|
+
def exclude_metal(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1022
1023
|
pulumi.set(self, "exclude_metal", value)
|
|
1023
1024
|
|
|
1024
1025
|
@property
|
|
1025
1026
|
@pulumi.getter
|
|
1026
|
-
def hypervisors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1027
|
+
def hypervisors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1027
1028
|
"""
|
|
1028
1029
|
The filtered instance types will have a hypervisor type from this list.
|
|
1029
1030
|
"""
|
|
1030
1031
|
return pulumi.get(self, "hypervisors")
|
|
1031
1032
|
|
|
1032
1033
|
@hypervisors.setter
|
|
1033
|
-
def hypervisors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1034
|
+
def hypervisors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1034
1035
|
pulumi.set(self, "hypervisors", value)
|
|
1035
1036
|
|
|
1036
1037
|
@property
|
|
1037
1038
|
@pulumi.getter(name="includeFamilies")
|
|
1038
|
-
def include_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1039
|
+
def include_families(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1039
1040
|
"""
|
|
1040
1041
|
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.
|
|
1041
1042
|
"""
|
|
1042
1043
|
return pulumi.get(self, "include_families")
|
|
1043
1044
|
|
|
1044
1045
|
@include_families.setter
|
|
1045
|
-
def include_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1046
|
+
def include_families(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1046
1047
|
pulumi.set(self, "include_families", value)
|
|
1047
1048
|
|
|
1048
1049
|
@property
|
|
1049
1050
|
@pulumi.getter(name="isEnaSupported")
|
|
1050
|
-
def is_ena_supported(self) -> Optional[pulumi.Input[str]]:
|
|
1051
|
+
def is_ena_supported(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1051
1052
|
"""
|
|
1052
1053
|
Ena is supported or not.
|
|
1053
1054
|
"""
|
|
1054
1055
|
return pulumi.get(self, "is_ena_supported")
|
|
1055
1056
|
|
|
1056
1057
|
@is_ena_supported.setter
|
|
1057
|
-
def is_ena_supported(self, value: Optional[pulumi.Input[str]]):
|
|
1058
|
+
def is_ena_supported(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1058
1059
|
pulumi.set(self, "is_ena_supported", value)
|
|
1059
1060
|
|
|
1060
1061
|
@property
|
|
1061
1062
|
@pulumi.getter(name="maxGpu")
|
|
1062
|
-
def max_gpu(self) -> Optional[pulumi.Input[int]]:
|
|
1063
|
+
def max_gpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1063
1064
|
"""
|
|
1064
1065
|
Maximum total number of GPUs.
|
|
1065
1066
|
"""
|
|
1066
1067
|
return pulumi.get(self, "max_gpu")
|
|
1067
1068
|
|
|
1068
1069
|
@max_gpu.setter
|
|
1069
|
-
def max_gpu(self, value: Optional[pulumi.Input[int]]):
|
|
1070
|
+
def max_gpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1070
1071
|
pulumi.set(self, "max_gpu", value)
|
|
1071
1072
|
|
|
1072
1073
|
@property
|
|
1073
1074
|
@pulumi.getter(name="maxMemoryGib")
|
|
1074
|
-
def max_memory_gib(self) -> Optional[pulumi.Input[float]]:
|
|
1075
|
+
def max_memory_gib(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1075
1076
|
return pulumi.get(self, "max_memory_gib")
|
|
1076
1077
|
|
|
1077
1078
|
@max_memory_gib.setter
|
|
1078
|
-
def max_memory_gib(self, value: Optional[pulumi.Input[float]]):
|
|
1079
|
+
def max_memory_gib(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1079
1080
|
pulumi.set(self, "max_memory_gib", value)
|
|
1080
1081
|
|
|
1081
1082
|
@property
|
|
1082
1083
|
@pulumi.getter(name="maxNetworkPerformance")
|
|
1083
|
-
def max_network_performance(self) -> Optional[pulumi.Input[int]]:
|
|
1084
|
+
def max_network_performance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1084
1085
|
"""
|
|
1085
1086
|
Maximum Bandwidth in Gib/s of network performance.
|
|
1086
1087
|
"""
|
|
1087
1088
|
return pulumi.get(self, "max_network_performance")
|
|
1088
1089
|
|
|
1089
1090
|
@max_network_performance.setter
|
|
1090
|
-
def max_network_performance(self, value: Optional[pulumi.Input[int]]):
|
|
1091
|
+
def max_network_performance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1091
1092
|
pulumi.set(self, "max_network_performance", value)
|
|
1092
1093
|
|
|
1093
1094
|
@property
|
|
1094
1095
|
@pulumi.getter(name="maxVcpu")
|
|
1095
|
-
def max_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
1096
|
+
def max_vcpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1096
1097
|
return pulumi.get(self, "max_vcpu")
|
|
1097
1098
|
|
|
1098
1099
|
@max_vcpu.setter
|
|
1099
|
-
def max_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
1100
|
+
def max_vcpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1100
1101
|
pulumi.set(self, "max_vcpu", value)
|
|
1101
1102
|
|
|
1102
1103
|
@property
|
|
1103
1104
|
@pulumi.getter(name="minEnis")
|
|
1104
|
-
def min_enis(self) -> Optional[pulumi.Input[int]]:
|
|
1105
|
+
def min_enis(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1105
1106
|
"""
|
|
1106
1107
|
Minimum number of network interfaces (ENIs).
|
|
1107
1108
|
"""
|
|
1108
1109
|
return pulumi.get(self, "min_enis")
|
|
1109
1110
|
|
|
1110
1111
|
@min_enis.setter
|
|
1111
|
-
def min_enis(self, value: Optional[pulumi.Input[int]]):
|
|
1112
|
+
def min_enis(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1112
1113
|
pulumi.set(self, "min_enis", value)
|
|
1113
1114
|
|
|
1114
1115
|
@property
|
|
1115
1116
|
@pulumi.getter(name="minGpu")
|
|
1116
|
-
def min_gpu(self) -> Optional[pulumi.Input[int]]:
|
|
1117
|
+
def min_gpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1117
1118
|
"""
|
|
1118
1119
|
Minimum total number of GPUs.
|
|
1119
1120
|
"""
|
|
1120
1121
|
return pulumi.get(self, "min_gpu")
|
|
1121
1122
|
|
|
1122
1123
|
@min_gpu.setter
|
|
1123
|
-
def min_gpu(self, value: Optional[pulumi.Input[int]]):
|
|
1124
|
+
def min_gpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1124
1125
|
pulumi.set(self, "min_gpu", value)
|
|
1125
1126
|
|
|
1126
1127
|
@property
|
|
1127
1128
|
@pulumi.getter(name="minMemoryGib")
|
|
1128
|
-
def min_memory_gib(self) -> Optional[pulumi.Input[float]]:
|
|
1129
|
+
def min_memory_gib(self) -> Optional[pulumi.Input[builtins.float]]:
|
|
1129
1130
|
"""
|
|
1130
1131
|
Minimum amount of Memory (GiB).
|
|
1131
1132
|
"""
|
|
1132
1133
|
return pulumi.get(self, "min_memory_gib")
|
|
1133
1134
|
|
|
1134
1135
|
@min_memory_gib.setter
|
|
1135
|
-
def min_memory_gib(self, value: Optional[pulumi.Input[float]]):
|
|
1136
|
+
def min_memory_gib(self, value: Optional[pulumi.Input[builtins.float]]):
|
|
1136
1137
|
pulumi.set(self, "min_memory_gib", value)
|
|
1137
1138
|
|
|
1138
1139
|
@property
|
|
1139
1140
|
@pulumi.getter(name="minNetworkPerformance")
|
|
1140
|
-
def min_network_performance(self) -> Optional[pulumi.Input[int]]:
|
|
1141
|
+
def min_network_performance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1141
1142
|
"""
|
|
1142
1143
|
Minimum Bandwidth in Gib/s of network performance.
|
|
1143
1144
|
"""
|
|
1144
1145
|
return pulumi.get(self, "min_network_performance")
|
|
1145
1146
|
|
|
1146
1147
|
@min_network_performance.setter
|
|
1147
|
-
def min_network_performance(self, value: Optional[pulumi.Input[int]]):
|
|
1148
|
+
def min_network_performance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1148
1149
|
pulumi.set(self, "min_network_performance", value)
|
|
1149
1150
|
|
|
1150
1151
|
@property
|
|
1151
1152
|
@pulumi.getter(name="minVcpu")
|
|
1152
|
-
def min_vcpu(self) -> Optional[pulumi.Input[int]]:
|
|
1153
|
+
def min_vcpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1153
1154
|
"""
|
|
1154
1155
|
Minimum number of vcpus available.
|
|
1155
1156
|
"""
|
|
1156
1157
|
return pulumi.get(self, "min_vcpu")
|
|
1157
1158
|
|
|
1158
1159
|
@min_vcpu.setter
|
|
1159
|
-
def min_vcpu(self, value: Optional[pulumi.Input[int]]):
|
|
1160
|
+
def min_vcpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1160
1161
|
pulumi.set(self, "min_vcpu", value)
|
|
1161
1162
|
|
|
1162
1163
|
@property
|
|
1163
1164
|
@pulumi.getter(name="rootDeviceTypes")
|
|
1164
|
-
def root_device_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1165
|
+
def root_device_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1165
1166
|
"""
|
|
1166
1167
|
The filtered instance types will have a root device types from this list.
|
|
1167
1168
|
"""
|
|
1168
1169
|
return pulumi.get(self, "root_device_types")
|
|
1169
1170
|
|
|
1170
1171
|
@root_device_types.setter
|
|
1171
|
-
def root_device_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1172
|
+
def root_device_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1172
1173
|
pulumi.set(self, "root_device_types", value)
|
|
1173
1174
|
|
|
1174
1175
|
@property
|
|
1175
1176
|
@pulumi.getter(name="virtualizationTypes")
|
|
1176
|
-
def virtualization_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1177
|
+
def virtualization_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1177
1178
|
"""
|
|
1178
1179
|
The filtered instance types will support at least one of the virtualization types from this list.
|
|
1179
1180
|
"""
|
|
1180
1181
|
return pulumi.get(self, "virtualization_types")
|
|
1181
1182
|
|
|
1182
1183
|
@virtualization_types.setter
|
|
1183
|
-
def virtualization_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1184
|
+
def virtualization_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1184
1185
|
pulumi.set(self, "virtualization_types", value)
|
|
1185
1186
|
|
|
1186
1187
|
|
|
1187
1188
|
if not MYPY:
|
|
1188
1189
|
class OceanInstanceMetadataOptionsArgsDict(TypedDict):
|
|
1189
|
-
http_tokens: pulumi.Input[str]
|
|
1190
|
+
http_tokens: pulumi.Input[builtins.str]
|
|
1190
1191
|
"""
|
|
1191
1192
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1192
1193
|
"""
|
|
1193
|
-
http_put_response_hop_limit: NotRequired[pulumi.Input[int]]
|
|
1194
|
+
http_put_response_hop_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1194
1195
|
"""
|
|
1195
1196
|
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.
|
|
1196
1197
|
"""
|
|
@@ -1200,11 +1201,11 @@ elif False:
|
|
|
1200
1201
|
@pulumi.input_type
|
|
1201
1202
|
class OceanInstanceMetadataOptionsArgs:
|
|
1202
1203
|
def __init__(__self__, *,
|
|
1203
|
-
http_tokens: pulumi.Input[str],
|
|
1204
|
-
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None):
|
|
1204
|
+
http_tokens: pulumi.Input[builtins.str],
|
|
1205
|
+
http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None):
|
|
1205
1206
|
"""
|
|
1206
|
-
:param pulumi.Input[str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1207
|
-
:param pulumi.Input[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.
|
|
1207
|
+
:param pulumi.Input[builtins.str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1208
|
+
:param pulumi.Input[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.
|
|
1208
1209
|
"""
|
|
1209
1210
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1210
1211
|
if http_put_response_hop_limit is not None:
|
|
@@ -1212,36 +1213,36 @@ class OceanInstanceMetadataOptionsArgs:
|
|
|
1212
1213
|
|
|
1213
1214
|
@property
|
|
1214
1215
|
@pulumi.getter(name="httpTokens")
|
|
1215
|
-
def http_tokens(self) -> pulumi.Input[str]:
|
|
1216
|
+
def http_tokens(self) -> pulumi.Input[builtins.str]:
|
|
1216
1217
|
"""
|
|
1217
1218
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1218
1219
|
"""
|
|
1219
1220
|
return pulumi.get(self, "http_tokens")
|
|
1220
1221
|
|
|
1221
1222
|
@http_tokens.setter
|
|
1222
|
-
def http_tokens(self, value: pulumi.Input[str]):
|
|
1223
|
+
def http_tokens(self, value: pulumi.Input[builtins.str]):
|
|
1223
1224
|
pulumi.set(self, "http_tokens", value)
|
|
1224
1225
|
|
|
1225
1226
|
@property
|
|
1226
1227
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1227
|
-
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1228
|
+
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1228
1229
|
"""
|
|
1229
1230
|
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.
|
|
1230
1231
|
"""
|
|
1231
1232
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1232
1233
|
|
|
1233
1234
|
@http_put_response_hop_limit.setter
|
|
1234
|
-
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1235
|
+
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1235
1236
|
pulumi.set(self, "http_put_response_hop_limit", value)
|
|
1236
1237
|
|
|
1237
1238
|
|
|
1238
1239
|
if not MYPY:
|
|
1239
1240
|
class OceanLaunchSpecAttributeArgsDict(TypedDict):
|
|
1240
|
-
key: pulumi.Input[str]
|
|
1241
|
+
key: pulumi.Input[builtins.str]
|
|
1241
1242
|
"""
|
|
1242
1243
|
The label key.
|
|
1243
1244
|
"""
|
|
1244
|
-
value: pulumi.Input[str]
|
|
1245
|
+
value: pulumi.Input[builtins.str]
|
|
1245
1246
|
"""
|
|
1246
1247
|
The label value.
|
|
1247
1248
|
"""
|
|
@@ -1251,51 +1252,51 @@ elif False:
|
|
|
1251
1252
|
@pulumi.input_type
|
|
1252
1253
|
class OceanLaunchSpecAttributeArgs:
|
|
1253
1254
|
def __init__(__self__, *,
|
|
1254
|
-
key: pulumi.Input[str],
|
|
1255
|
-
value: pulumi.Input[str]):
|
|
1255
|
+
key: pulumi.Input[builtins.str],
|
|
1256
|
+
value: pulumi.Input[builtins.str]):
|
|
1256
1257
|
"""
|
|
1257
|
-
:param pulumi.Input[str] key: The label key.
|
|
1258
|
-
:param pulumi.Input[str] value: The label value.
|
|
1258
|
+
:param pulumi.Input[builtins.str] key: The label key.
|
|
1259
|
+
:param pulumi.Input[builtins.str] value: The label value.
|
|
1259
1260
|
"""
|
|
1260
1261
|
pulumi.set(__self__, "key", key)
|
|
1261
1262
|
pulumi.set(__self__, "value", value)
|
|
1262
1263
|
|
|
1263
1264
|
@property
|
|
1264
1265
|
@pulumi.getter
|
|
1265
|
-
def key(self) -> pulumi.Input[str]:
|
|
1266
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
1266
1267
|
"""
|
|
1267
1268
|
The label key.
|
|
1268
1269
|
"""
|
|
1269
1270
|
return pulumi.get(self, "key")
|
|
1270
1271
|
|
|
1271
1272
|
@key.setter
|
|
1272
|
-
def key(self, value: pulumi.Input[str]):
|
|
1273
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
1273
1274
|
pulumi.set(self, "key", value)
|
|
1274
1275
|
|
|
1275
1276
|
@property
|
|
1276
1277
|
@pulumi.getter
|
|
1277
|
-
def value(self) -> pulumi.Input[str]:
|
|
1278
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
1278
1279
|
"""
|
|
1279
1280
|
The label value.
|
|
1280
1281
|
"""
|
|
1281
1282
|
return pulumi.get(self, "value")
|
|
1282
1283
|
|
|
1283
1284
|
@value.setter
|
|
1284
|
-
def value(self, value: pulumi.Input[str]):
|
|
1285
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
1285
1286
|
pulumi.set(self, "value", value)
|
|
1286
1287
|
|
|
1287
1288
|
|
|
1288
1289
|
if not MYPY:
|
|
1289
1290
|
class OceanLaunchSpecAutoscaleHeadroomArgsDict(TypedDict):
|
|
1290
|
-
num_of_units: pulumi.Input[int]
|
|
1291
|
+
num_of_units: pulumi.Input[builtins.int]
|
|
1291
1292
|
"""
|
|
1292
1293
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1293
1294
|
"""
|
|
1294
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
1295
|
+
cpu_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
1295
1296
|
"""
|
|
1296
1297
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1297
1298
|
"""
|
|
1298
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
1299
|
+
memory_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
1299
1300
|
"""
|
|
1300
1301
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1301
1302
|
"""
|
|
@@ -1305,13 +1306,13 @@ elif False:
|
|
|
1305
1306
|
@pulumi.input_type
|
|
1306
1307
|
class OceanLaunchSpecAutoscaleHeadroomArgs:
|
|
1307
1308
|
def __init__(__self__, *,
|
|
1308
|
-
num_of_units: pulumi.Input[int],
|
|
1309
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
1310
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None):
|
|
1309
|
+
num_of_units: pulumi.Input[builtins.int],
|
|
1310
|
+
cpu_per_unit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1311
|
+
memory_per_unit: Optional[pulumi.Input[builtins.int]] = None):
|
|
1311
1312
|
"""
|
|
1312
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1313
|
-
:param pulumi.Input[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.
|
|
1314
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1313
|
+
:param pulumi.Input[builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1314
|
+
:param pulumi.Input[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.
|
|
1315
|
+
:param pulumi.Input[builtins.int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1315
1316
|
"""
|
|
1316
1317
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1317
1318
|
if cpu_per_unit is not None:
|
|
@@ -1321,44 +1322,44 @@ class OceanLaunchSpecAutoscaleHeadroomArgs:
|
|
|
1321
1322
|
|
|
1322
1323
|
@property
|
|
1323
1324
|
@pulumi.getter(name="numOfUnits")
|
|
1324
|
-
def num_of_units(self) -> pulumi.Input[int]:
|
|
1325
|
+
def num_of_units(self) -> pulumi.Input[builtins.int]:
|
|
1325
1326
|
"""
|
|
1326
1327
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1327
1328
|
"""
|
|
1328
1329
|
return pulumi.get(self, "num_of_units")
|
|
1329
1330
|
|
|
1330
1331
|
@num_of_units.setter
|
|
1331
|
-
def num_of_units(self, value: pulumi.Input[int]):
|
|
1332
|
+
def num_of_units(self, value: pulumi.Input[builtins.int]):
|
|
1332
1333
|
pulumi.set(self, "num_of_units", value)
|
|
1333
1334
|
|
|
1334
1335
|
@property
|
|
1335
1336
|
@pulumi.getter(name="cpuPerUnit")
|
|
1336
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1337
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1337
1338
|
"""
|
|
1338
1339
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in CPU units, where 1024 units = 1 vCPU.
|
|
1339
1340
|
"""
|
|
1340
1341
|
return pulumi.get(self, "cpu_per_unit")
|
|
1341
1342
|
|
|
1342
1343
|
@cpu_per_unit.setter
|
|
1343
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1344
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1344
1345
|
pulumi.set(self, "cpu_per_unit", value)
|
|
1345
1346
|
|
|
1346
1347
|
@property
|
|
1347
1348
|
@pulumi.getter(name="memoryPerUnit")
|
|
1348
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1349
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1349
1350
|
"""
|
|
1350
1351
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1351
1352
|
"""
|
|
1352
1353
|
return pulumi.get(self, "memory_per_unit")
|
|
1353
1354
|
|
|
1354
1355
|
@memory_per_unit.setter
|
|
1355
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1356
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1356
1357
|
pulumi.set(self, "memory_per_unit", value)
|
|
1357
1358
|
|
|
1358
1359
|
|
|
1359
1360
|
if not MYPY:
|
|
1360
1361
|
class OceanLaunchSpecBlockDeviceMappingArgsDict(TypedDict):
|
|
1361
|
-
device_name: pulumi.Input[str]
|
|
1362
|
+
device_name: pulumi.Input[builtins.str]
|
|
1362
1363
|
"""
|
|
1363
1364
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1364
1365
|
"""
|
|
@@ -1366,25 +1367,25 @@ if not MYPY:
|
|
|
1366
1367
|
"""
|
|
1367
1368
|
Object. Set Elastic Block Store properties .
|
|
1368
1369
|
"""
|
|
1369
|
-
no_device: NotRequired[pulumi.Input[str]]
|
|
1370
|
+
no_device: NotRequired[pulumi.Input[builtins.str]]
|
|
1370
1371
|
"""
|
|
1371
1372
|
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1372
1373
|
"""
|
|
1373
|
-
virtual_name: NotRequired[pulumi.Input[str]]
|
|
1374
|
+
virtual_name: NotRequired[pulumi.Input[builtins.str]]
|
|
1374
1375
|
elif False:
|
|
1375
1376
|
OceanLaunchSpecBlockDeviceMappingArgsDict: TypeAlias = Mapping[str, Any]
|
|
1376
1377
|
|
|
1377
1378
|
@pulumi.input_type
|
|
1378
1379
|
class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
1379
1380
|
def __init__(__self__, *,
|
|
1380
|
-
device_name: pulumi.Input[str],
|
|
1381
|
+
device_name: pulumi.Input[builtins.str],
|
|
1381
1382
|
ebs: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs']] = None,
|
|
1382
|
-
no_device: Optional[pulumi.Input[str]] = None,
|
|
1383
|
-
virtual_name: Optional[pulumi.Input[str]] = None):
|
|
1383
|
+
no_device: Optional[pulumi.Input[builtins.str]] = None,
|
|
1384
|
+
virtual_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
1384
1385
|
"""
|
|
1385
|
-
:param pulumi.Input[str] device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1386
|
+
:param pulumi.Input[builtins.str] device_name: String. Set device name. (Example: "/dev/xvda1").
|
|
1386
1387
|
:param pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsArgs'] ebs: Object. Set Elastic Block Store properties .
|
|
1387
|
-
:param pulumi.Input[str] no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1388
|
+
:param pulumi.Input[builtins.str] no_device: String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1388
1389
|
"""
|
|
1389
1390
|
pulumi.set(__self__, "device_name", device_name)
|
|
1390
1391
|
if ebs is not None:
|
|
@@ -1396,14 +1397,14 @@ class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
|
1396
1397
|
|
|
1397
1398
|
@property
|
|
1398
1399
|
@pulumi.getter(name="deviceName")
|
|
1399
|
-
def device_name(self) -> pulumi.Input[str]:
|
|
1400
|
+
def device_name(self) -> pulumi.Input[builtins.str]:
|
|
1400
1401
|
"""
|
|
1401
1402
|
String. Set device name. (Example: "/dev/xvda1").
|
|
1402
1403
|
"""
|
|
1403
1404
|
return pulumi.get(self, "device_name")
|
|
1404
1405
|
|
|
1405
1406
|
@device_name.setter
|
|
1406
|
-
def device_name(self, value: pulumi.Input[str]):
|
|
1407
|
+
def device_name(self, value: pulumi.Input[builtins.str]):
|
|
1407
1408
|
pulumi.set(self, "device_name", value)
|
|
1408
1409
|
|
|
1409
1410
|
@property
|
|
@@ -1420,29 +1421,29 @@ class OceanLaunchSpecBlockDeviceMappingArgs:
|
|
|
1420
1421
|
|
|
1421
1422
|
@property
|
|
1422
1423
|
@pulumi.getter(name="noDevice")
|
|
1423
|
-
def no_device(self) -> Optional[pulumi.Input[str]]:
|
|
1424
|
+
def no_device(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1424
1425
|
"""
|
|
1425
1426
|
String. suppresses the specified device included in the block device mapping of the AMI.
|
|
1426
1427
|
"""
|
|
1427
1428
|
return pulumi.get(self, "no_device")
|
|
1428
1429
|
|
|
1429
1430
|
@no_device.setter
|
|
1430
|
-
def no_device(self, value: Optional[pulumi.Input[str]]):
|
|
1431
|
+
def no_device(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1431
1432
|
pulumi.set(self, "no_device", value)
|
|
1432
1433
|
|
|
1433
1434
|
@property
|
|
1434
1435
|
@pulumi.getter(name="virtualName")
|
|
1435
|
-
def virtual_name(self) -> Optional[pulumi.Input[str]]:
|
|
1436
|
+
def virtual_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1436
1437
|
return pulumi.get(self, "virtual_name")
|
|
1437
1438
|
|
|
1438
1439
|
@virtual_name.setter
|
|
1439
|
-
def virtual_name(self, value: Optional[pulumi.Input[str]]):
|
|
1440
|
+
def virtual_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1440
1441
|
pulumi.set(self, "virtual_name", value)
|
|
1441
1442
|
|
|
1442
1443
|
|
|
1443
1444
|
if not MYPY:
|
|
1444
1445
|
class OceanLaunchSpecBlockDeviceMappingEbsArgsDict(TypedDict):
|
|
1445
|
-
delete_on_termination: NotRequired[pulumi.Input[bool]]
|
|
1446
|
+
delete_on_termination: NotRequired[pulumi.Input[builtins.bool]]
|
|
1446
1447
|
"""
|
|
1447
1448
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1448
1449
|
"""
|
|
@@ -1450,31 +1451,31 @@ if not MYPY:
|
|
|
1450
1451
|
"""
|
|
1451
1452
|
Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
|
|
1452
1453
|
"""
|
|
1453
|
-
encrypted: NotRequired[pulumi.Input[bool]]
|
|
1454
|
+
encrypted: NotRequired[pulumi.Input[builtins.bool]]
|
|
1454
1455
|
"""
|
|
1455
1456
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1456
1457
|
"""
|
|
1457
|
-
iops: NotRequired[pulumi.Input[int]]
|
|
1458
|
+
iops: NotRequired[pulumi.Input[builtins.int]]
|
|
1458
1459
|
"""
|
|
1459
1460
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1460
1461
|
"""
|
|
1461
|
-
kms_key_id: NotRequired[pulumi.Input[str]]
|
|
1462
|
+
kms_key_id: NotRequired[pulumi.Input[builtins.str]]
|
|
1462
1463
|
"""
|
|
1463
1464
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1464
1465
|
"""
|
|
1465
|
-
snapshot_id: NotRequired[pulumi.Input[str]]
|
|
1466
|
+
snapshot_id: NotRequired[pulumi.Input[builtins.str]]
|
|
1466
1467
|
"""
|
|
1467
1468
|
(Optional) String. The Snapshot ID to mount by.
|
|
1468
1469
|
"""
|
|
1469
|
-
throughput: NotRequired[pulumi.Input[int]]
|
|
1470
|
+
throughput: NotRequired[pulumi.Input[builtins.int]]
|
|
1470
1471
|
"""
|
|
1471
1472
|
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.
|
|
1472
1473
|
"""
|
|
1473
|
-
volume_size: NotRequired[pulumi.Input[int]]
|
|
1474
|
+
volume_size: NotRequired[pulumi.Input[builtins.int]]
|
|
1474
1475
|
"""
|
|
1475
1476
|
Int. The size, in GB of the volume.
|
|
1476
1477
|
"""
|
|
1477
|
-
volume_type: NotRequired[pulumi.Input[str]]
|
|
1478
|
+
volume_type: NotRequired[pulumi.Input[builtins.str]]
|
|
1478
1479
|
"""
|
|
1479
1480
|
String. The type of the volume (example: "gp2").
|
|
1480
1481
|
"""
|
|
@@ -1484,25 +1485,25 @@ elif False:
|
|
|
1484
1485
|
@pulumi.input_type
|
|
1485
1486
|
class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
1486
1487
|
def __init__(__self__, *,
|
|
1487
|
-
delete_on_termination: Optional[pulumi.Input[bool]] = None,
|
|
1488
|
+
delete_on_termination: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1488
1489
|
dynamic_volume_size: Optional[pulumi.Input['OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs']] = None,
|
|
1489
|
-
encrypted: Optional[pulumi.Input[bool]] = None,
|
|
1490
|
-
iops: Optional[pulumi.Input[int]] = None,
|
|
1491
|
-
kms_key_id: Optional[pulumi.Input[str]] = None,
|
|
1492
|
-
snapshot_id: Optional[pulumi.Input[str]] = None,
|
|
1493
|
-
throughput: Optional[pulumi.Input[int]] = None,
|
|
1494
|
-
volume_size: Optional[pulumi.Input[int]] = None,
|
|
1495
|
-
volume_type: Optional[pulumi.Input[str]] = None):
|
|
1496
|
-
"""
|
|
1497
|
-
:param pulumi.Input[bool] delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1490
|
+
encrypted: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1491
|
+
iops: Optional[pulumi.Input[builtins.int]] = None,
|
|
1492
|
+
kms_key_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1493
|
+
snapshot_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1494
|
+
throughput: Optional[pulumi.Input[builtins.int]] = None,
|
|
1495
|
+
volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1496
|
+
volume_type: Optional[pulumi.Input[builtins.str]] = None):
|
|
1497
|
+
"""
|
|
1498
|
+
:param pulumi.Input[builtins.bool] delete_on_termination: Boolean. Flag to delete the EBS on instance termination.
|
|
1498
1499
|
:param pulumi.Input['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.
|
|
1499
|
-
:param pulumi.Input[bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1500
|
-
:param pulumi.Input[int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1501
|
-
:param pulumi.Input[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.
|
|
1502
|
-
:param pulumi.Input[str] snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1503
|
-
:param pulumi.Input[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.
|
|
1504
|
-
:param pulumi.Input[int] volume_size: Int. The size, in GB of the volume.
|
|
1505
|
-
:param pulumi.Input[str] volume_type: String. The type of the volume (example: "gp2").
|
|
1500
|
+
:param pulumi.Input[builtins.bool] encrypted: Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1501
|
+
:param pulumi.Input[builtins.int] iops: Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1502
|
+
:param pulumi.Input[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.
|
|
1503
|
+
:param pulumi.Input[builtins.str] snapshot_id: (Optional) String. The Snapshot ID to mount by.
|
|
1504
|
+
:param pulumi.Input[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.
|
|
1505
|
+
:param pulumi.Input[builtins.int] volume_size: Int. The size, in GB of the volume.
|
|
1506
|
+
:param pulumi.Input[builtins.str] volume_type: String. The type of the volume (example: "gp2").
|
|
1506
1507
|
"""
|
|
1507
1508
|
if delete_on_termination is not None:
|
|
1508
1509
|
pulumi.set(__self__, "delete_on_termination", delete_on_termination)
|
|
@@ -1525,14 +1526,14 @@ class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
|
1525
1526
|
|
|
1526
1527
|
@property
|
|
1527
1528
|
@pulumi.getter(name="deleteOnTermination")
|
|
1528
|
-
def delete_on_termination(self) -> Optional[pulumi.Input[bool]]:
|
|
1529
|
+
def delete_on_termination(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1529
1530
|
"""
|
|
1530
1531
|
Boolean. Flag to delete the EBS on instance termination.
|
|
1531
1532
|
"""
|
|
1532
1533
|
return pulumi.get(self, "delete_on_termination")
|
|
1533
1534
|
|
|
1534
1535
|
@delete_on_termination.setter
|
|
1535
|
-
def delete_on_termination(self, value: Optional[pulumi.Input[bool]]):
|
|
1536
|
+
def delete_on_termination(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1536
1537
|
pulumi.set(self, "delete_on_termination", value)
|
|
1537
1538
|
|
|
1538
1539
|
@property
|
|
@@ -1549,100 +1550,100 @@ class OceanLaunchSpecBlockDeviceMappingEbsArgs:
|
|
|
1549
1550
|
|
|
1550
1551
|
@property
|
|
1551
1552
|
@pulumi.getter
|
|
1552
|
-
def encrypted(self) -> Optional[pulumi.Input[bool]]:
|
|
1553
|
+
def encrypted(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1553
1554
|
"""
|
|
1554
1555
|
Boolean. Enables [EBS encryption](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html) on the volume.
|
|
1555
1556
|
"""
|
|
1556
1557
|
return pulumi.get(self, "encrypted")
|
|
1557
1558
|
|
|
1558
1559
|
@encrypted.setter
|
|
1559
|
-
def encrypted(self, value: Optional[pulumi.Input[bool]]):
|
|
1560
|
+
def encrypted(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1560
1561
|
pulumi.set(self, "encrypted", value)
|
|
1561
1562
|
|
|
1562
1563
|
@property
|
|
1563
1564
|
@pulumi.getter
|
|
1564
|
-
def iops(self) -> Optional[pulumi.Input[int]]:
|
|
1565
|
+
def iops(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1565
1566
|
"""
|
|
1566
1567
|
Int. The number of I/O operations per second (IOPS) that the volume supports.
|
|
1567
1568
|
"""
|
|
1568
1569
|
return pulumi.get(self, "iops")
|
|
1569
1570
|
|
|
1570
1571
|
@iops.setter
|
|
1571
|
-
def iops(self, value: Optional[pulumi.Input[int]]):
|
|
1572
|
+
def iops(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1572
1573
|
pulumi.set(self, "iops", value)
|
|
1573
1574
|
|
|
1574
1575
|
@property
|
|
1575
1576
|
@pulumi.getter(name="kmsKeyId")
|
|
1576
|
-
def kms_key_id(self) -> Optional[pulumi.Input[str]]:
|
|
1577
|
+
def kms_key_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1577
1578
|
"""
|
|
1578
1579
|
String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
|
|
1579
1580
|
"""
|
|
1580
1581
|
return pulumi.get(self, "kms_key_id")
|
|
1581
1582
|
|
|
1582
1583
|
@kms_key_id.setter
|
|
1583
|
-
def kms_key_id(self, value: Optional[pulumi.Input[str]]):
|
|
1584
|
+
def kms_key_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1584
1585
|
pulumi.set(self, "kms_key_id", value)
|
|
1585
1586
|
|
|
1586
1587
|
@property
|
|
1587
1588
|
@pulumi.getter(name="snapshotId")
|
|
1588
|
-
def snapshot_id(self) -> Optional[pulumi.Input[str]]:
|
|
1589
|
+
def snapshot_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1589
1590
|
"""
|
|
1590
1591
|
(Optional) String. The Snapshot ID to mount by.
|
|
1591
1592
|
"""
|
|
1592
1593
|
return pulumi.get(self, "snapshot_id")
|
|
1593
1594
|
|
|
1594
1595
|
@snapshot_id.setter
|
|
1595
|
-
def snapshot_id(self, value: Optional[pulumi.Input[str]]):
|
|
1596
|
+
def snapshot_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1596
1597
|
pulumi.set(self, "snapshot_id", value)
|
|
1597
1598
|
|
|
1598
1599
|
@property
|
|
1599
1600
|
@pulumi.getter
|
|
1600
|
-
def throughput(self) -> Optional[pulumi.Input[int]]:
|
|
1601
|
+
def throughput(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1601
1602
|
"""
|
|
1602
1603
|
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.
|
|
1603
1604
|
"""
|
|
1604
1605
|
return pulumi.get(self, "throughput")
|
|
1605
1606
|
|
|
1606
1607
|
@throughput.setter
|
|
1607
|
-
def throughput(self, value: Optional[pulumi.Input[int]]):
|
|
1608
|
+
def throughput(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1608
1609
|
pulumi.set(self, "throughput", value)
|
|
1609
1610
|
|
|
1610
1611
|
@property
|
|
1611
1612
|
@pulumi.getter(name="volumeSize")
|
|
1612
|
-
def volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
1613
|
+
def volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1613
1614
|
"""
|
|
1614
1615
|
Int. The size, in GB of the volume.
|
|
1615
1616
|
"""
|
|
1616
1617
|
return pulumi.get(self, "volume_size")
|
|
1617
1618
|
|
|
1618
1619
|
@volume_size.setter
|
|
1619
|
-
def volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
1620
|
+
def volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1620
1621
|
pulumi.set(self, "volume_size", value)
|
|
1621
1622
|
|
|
1622
1623
|
@property
|
|
1623
1624
|
@pulumi.getter(name="volumeType")
|
|
1624
|
-
def volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
1625
|
+
def volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1625
1626
|
"""
|
|
1626
1627
|
String. The type of the volume (example: "gp2").
|
|
1627
1628
|
"""
|
|
1628
1629
|
return pulumi.get(self, "volume_type")
|
|
1629
1630
|
|
|
1630
1631
|
@volume_type.setter
|
|
1631
|
-
def volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
1632
|
+
def volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1632
1633
|
pulumi.set(self, "volume_type", value)
|
|
1633
1634
|
|
|
1634
1635
|
|
|
1635
1636
|
if not MYPY:
|
|
1636
1637
|
class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgsDict(TypedDict):
|
|
1637
|
-
base_size: pulumi.Input[int]
|
|
1638
|
+
base_size: pulumi.Input[builtins.int]
|
|
1638
1639
|
"""
|
|
1639
1640
|
Int. Initial size for volume. (Example: 50)
|
|
1640
1641
|
"""
|
|
1641
|
-
resource: pulumi.Input[str]
|
|
1642
|
+
resource: pulumi.Input[builtins.str]
|
|
1642
1643
|
"""
|
|
1643
1644
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1644
1645
|
"""
|
|
1645
|
-
size_per_resource_unit: pulumi.Input[int]
|
|
1646
|
+
size_per_resource_unit: pulumi.Input[builtins.int]
|
|
1646
1647
|
"""
|
|
1647
1648
|
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)
|
|
1648
1649
|
"""
|
|
@@ -1652,13 +1653,13 @@ elif False:
|
|
|
1652
1653
|
@pulumi.input_type
|
|
1653
1654
|
class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
1654
1655
|
def __init__(__self__, *,
|
|
1655
|
-
base_size: pulumi.Input[int],
|
|
1656
|
-
resource: pulumi.Input[str],
|
|
1657
|
-
size_per_resource_unit: pulumi.Input[int]):
|
|
1656
|
+
base_size: pulumi.Input[builtins.int],
|
|
1657
|
+
resource: pulumi.Input[builtins.str],
|
|
1658
|
+
size_per_resource_unit: pulumi.Input[builtins.int]):
|
|
1658
1659
|
"""
|
|
1659
|
-
:param pulumi.Input[int] base_size: Int. Initial size for volume. (Example: 50)
|
|
1660
|
-
:param pulumi.Input[str] resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1661
|
-
:param pulumi.Input[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)
|
|
1660
|
+
:param pulumi.Input[builtins.int] base_size: Int. Initial size for volume. (Example: 50)
|
|
1661
|
+
:param pulumi.Input[builtins.str] resource: String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1662
|
+
:param pulumi.Input[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)
|
|
1662
1663
|
"""
|
|
1663
1664
|
pulumi.set(__self__, "base_size", base_size)
|
|
1664
1665
|
pulumi.set(__self__, "resource", resource)
|
|
@@ -1666,44 +1667,44 @@ class OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs:
|
|
|
1666
1667
|
|
|
1667
1668
|
@property
|
|
1668
1669
|
@pulumi.getter(name="baseSize")
|
|
1669
|
-
def base_size(self) -> pulumi.Input[int]:
|
|
1670
|
+
def base_size(self) -> pulumi.Input[builtins.int]:
|
|
1670
1671
|
"""
|
|
1671
1672
|
Int. Initial size for volume. (Example: 50)
|
|
1672
1673
|
"""
|
|
1673
1674
|
return pulumi.get(self, "base_size")
|
|
1674
1675
|
|
|
1675
1676
|
@base_size.setter
|
|
1676
|
-
def base_size(self, value: pulumi.Input[int]):
|
|
1677
|
+
def base_size(self, value: pulumi.Input[builtins.int]):
|
|
1677
1678
|
pulumi.set(self, "base_size", value)
|
|
1678
1679
|
|
|
1679
1680
|
@property
|
|
1680
1681
|
@pulumi.getter
|
|
1681
|
-
def resource(self) -> pulumi.Input[str]:
|
|
1682
|
+
def resource(self) -> pulumi.Input[builtins.str]:
|
|
1682
1683
|
"""
|
|
1683
1684
|
String. Resource type to increase volume size dynamically by. (valid values: "CPU")
|
|
1684
1685
|
"""
|
|
1685
1686
|
return pulumi.get(self, "resource")
|
|
1686
1687
|
|
|
1687
1688
|
@resource.setter
|
|
1688
|
-
def resource(self, value: pulumi.Input[str]):
|
|
1689
|
+
def resource(self, value: pulumi.Input[builtins.str]):
|
|
1689
1690
|
pulumi.set(self, "resource", value)
|
|
1690
1691
|
|
|
1691
1692
|
@property
|
|
1692
1693
|
@pulumi.getter(name="sizePerResourceUnit")
|
|
1693
|
-
def size_per_resource_unit(self) -> pulumi.Input[int]:
|
|
1694
|
+
def size_per_resource_unit(self) -> pulumi.Input[builtins.int]:
|
|
1694
1695
|
"""
|
|
1695
1696
|
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)
|
|
1696
1697
|
"""
|
|
1697
1698
|
return pulumi.get(self, "size_per_resource_unit")
|
|
1698
1699
|
|
|
1699
1700
|
@size_per_resource_unit.setter
|
|
1700
|
-
def size_per_resource_unit(self, value: pulumi.Input[int]):
|
|
1701
|
+
def size_per_resource_unit(self, value: pulumi.Input[builtins.int]):
|
|
1701
1702
|
pulumi.set(self, "size_per_resource_unit", value)
|
|
1702
1703
|
|
|
1703
1704
|
|
|
1704
1705
|
if not MYPY:
|
|
1705
1706
|
class OceanLaunchSpecImageArgsDict(TypedDict):
|
|
1706
|
-
image_id: NotRequired[pulumi.Input[str]]
|
|
1707
|
+
image_id: NotRequired[pulumi.Input[builtins.str]]
|
|
1707
1708
|
"""
|
|
1708
1709
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1709
1710
|
"""
|
|
@@ -1713,33 +1714,33 @@ elif False:
|
|
|
1713
1714
|
@pulumi.input_type
|
|
1714
1715
|
class OceanLaunchSpecImageArgs:
|
|
1715
1716
|
def __init__(__self__, *,
|
|
1716
|
-
image_id: Optional[pulumi.Input[str]] = None):
|
|
1717
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None):
|
|
1717
1718
|
"""
|
|
1718
|
-
:param pulumi.Input[str] image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1719
|
+
:param pulumi.Input[builtins.str] image_id: Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1719
1720
|
"""
|
|
1720
1721
|
if image_id is not None:
|
|
1721
1722
|
pulumi.set(__self__, "image_id", image_id)
|
|
1722
1723
|
|
|
1723
1724
|
@property
|
|
1724
1725
|
@pulumi.getter(name="imageId")
|
|
1725
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
1726
|
+
def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1726
1727
|
"""
|
|
1727
1728
|
Identifier of the image in AWS. Valid values: any string which is not empty or null.
|
|
1728
1729
|
"""
|
|
1729
1730
|
return pulumi.get(self, "image_id")
|
|
1730
1731
|
|
|
1731
1732
|
@image_id.setter
|
|
1732
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
1733
|
+
def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1733
1734
|
pulumi.set(self, "image_id", value)
|
|
1734
1735
|
|
|
1735
1736
|
|
|
1736
1737
|
if not MYPY:
|
|
1737
1738
|
class OceanLaunchSpecInstanceMetadataOptionsArgsDict(TypedDict):
|
|
1738
|
-
http_tokens: pulumi.Input[str]
|
|
1739
|
+
http_tokens: pulumi.Input[builtins.str]
|
|
1739
1740
|
"""
|
|
1740
1741
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1741
1742
|
"""
|
|
1742
|
-
http_put_response_hop_limit: NotRequired[pulumi.Input[int]]
|
|
1743
|
+
http_put_response_hop_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1743
1744
|
"""
|
|
1744
1745
|
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.
|
|
1745
1746
|
"""
|
|
@@ -1749,11 +1750,11 @@ elif False:
|
|
|
1749
1750
|
@pulumi.input_type
|
|
1750
1751
|
class OceanLaunchSpecInstanceMetadataOptionsArgs:
|
|
1751
1752
|
def __init__(__self__, *,
|
|
1752
|
-
http_tokens: pulumi.Input[str],
|
|
1753
|
-
http_put_response_hop_limit: Optional[pulumi.Input[int]] = None):
|
|
1753
|
+
http_tokens: pulumi.Input[builtins.str],
|
|
1754
|
+
http_put_response_hop_limit: Optional[pulumi.Input[builtins.int]] = None):
|
|
1754
1755
|
"""
|
|
1755
|
-
:param pulumi.Input[str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1756
|
-
:param pulumi.Input[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.
|
|
1756
|
+
:param pulumi.Input[builtins.str] http_tokens: Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1757
|
+
:param pulumi.Input[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.
|
|
1757
1758
|
"""
|
|
1758
1759
|
pulumi.set(__self__, "http_tokens", http_tokens)
|
|
1759
1760
|
if http_put_response_hop_limit is not None:
|
|
@@ -1761,40 +1762,40 @@ class OceanLaunchSpecInstanceMetadataOptionsArgs:
|
|
|
1761
1762
|
|
|
1762
1763
|
@property
|
|
1763
1764
|
@pulumi.getter(name="httpTokens")
|
|
1764
|
-
def http_tokens(self) -> pulumi.Input[str]:
|
|
1765
|
+
def http_tokens(self) -> pulumi.Input[builtins.str]:
|
|
1765
1766
|
"""
|
|
1766
1767
|
Determines if a signed token is required or not. Valid values: `optional` or `required`.
|
|
1767
1768
|
"""
|
|
1768
1769
|
return pulumi.get(self, "http_tokens")
|
|
1769
1770
|
|
|
1770
1771
|
@http_tokens.setter
|
|
1771
|
-
def http_tokens(self, value: pulumi.Input[str]):
|
|
1772
|
+
def http_tokens(self, value: pulumi.Input[builtins.str]):
|
|
1772
1773
|
pulumi.set(self, "http_tokens", value)
|
|
1773
1774
|
|
|
1774
1775
|
@property
|
|
1775
1776
|
@pulumi.getter(name="httpPutResponseHopLimit")
|
|
1776
|
-
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1777
|
+
def http_put_response_hop_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1777
1778
|
"""
|
|
1778
1779
|
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.
|
|
1779
1780
|
"""
|
|
1780
1781
|
return pulumi.get(self, "http_put_response_hop_limit")
|
|
1781
1782
|
|
|
1782
1783
|
@http_put_response_hop_limit.setter
|
|
1783
|
-
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1784
|
+
def http_put_response_hop_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1784
1785
|
pulumi.set(self, "http_put_response_hop_limit", value)
|
|
1785
1786
|
|
|
1786
1787
|
|
|
1787
1788
|
if not MYPY:
|
|
1788
1789
|
class OceanLaunchSpecSchedulingTaskArgsDict(TypedDict):
|
|
1789
|
-
cron_expression: pulumi.Input[str]
|
|
1790
|
+
cron_expression: pulumi.Input[builtins.str]
|
|
1790
1791
|
"""
|
|
1791
1792
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1792
1793
|
"""
|
|
1793
|
-
is_enabled: pulumi.Input[bool]
|
|
1794
|
+
is_enabled: pulumi.Input[builtins.bool]
|
|
1794
1795
|
"""
|
|
1795
1796
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1796
1797
|
"""
|
|
1797
|
-
task_type: pulumi.Input[str]
|
|
1798
|
+
task_type: pulumi.Input[builtins.str]
|
|
1798
1799
|
"""
|
|
1799
1800
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1800
1801
|
"""
|
|
@@ -1808,14 +1809,14 @@ elif False:
|
|
|
1808
1809
|
@pulumi.input_type
|
|
1809
1810
|
class OceanLaunchSpecSchedulingTaskArgs:
|
|
1810
1811
|
def __init__(__self__, *,
|
|
1811
|
-
cron_expression: pulumi.Input[str],
|
|
1812
|
-
is_enabled: pulumi.Input[bool],
|
|
1813
|
-
task_type: pulumi.Input[str],
|
|
1812
|
+
cron_expression: pulumi.Input[builtins.str],
|
|
1813
|
+
is_enabled: pulumi.Input[builtins.bool],
|
|
1814
|
+
task_type: pulumi.Input[builtins.str],
|
|
1814
1815
|
task_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs']]]] = None):
|
|
1815
1816
|
"""
|
|
1816
|
-
:param pulumi.Input[str] cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1817
|
-
:param pulumi.Input[bool] is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1818
|
-
:param pulumi.Input[str] task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1817
|
+
:param pulumi.Input[builtins.str] cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1818
|
+
:param pulumi.Input[builtins.bool] is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1819
|
+
:param pulumi.Input[builtins.str] task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1819
1820
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs']]] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
1820
1821
|
"""
|
|
1821
1822
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1826,38 +1827,38 @@ class OceanLaunchSpecSchedulingTaskArgs:
|
|
|
1826
1827
|
|
|
1827
1828
|
@property
|
|
1828
1829
|
@pulumi.getter(name="cronExpression")
|
|
1829
|
-
def cron_expression(self) -> pulumi.Input[str]:
|
|
1830
|
+
def cron_expression(self) -> pulumi.Input[builtins.str]:
|
|
1830
1831
|
"""
|
|
1831
1832
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
1832
1833
|
"""
|
|
1833
1834
|
return pulumi.get(self, "cron_expression")
|
|
1834
1835
|
|
|
1835
1836
|
@cron_expression.setter
|
|
1836
|
-
def cron_expression(self, value: pulumi.Input[str]):
|
|
1837
|
+
def cron_expression(self, value: pulumi.Input[builtins.str]):
|
|
1837
1838
|
pulumi.set(self, "cron_expression", value)
|
|
1838
1839
|
|
|
1839
1840
|
@property
|
|
1840
1841
|
@pulumi.getter(name="isEnabled")
|
|
1841
|
-
def is_enabled(self) -> pulumi.Input[bool]:
|
|
1842
|
+
def is_enabled(self) -> pulumi.Input[builtins.bool]:
|
|
1842
1843
|
"""
|
|
1843
1844
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
1844
1845
|
"""
|
|
1845
1846
|
return pulumi.get(self, "is_enabled")
|
|
1846
1847
|
|
|
1847
1848
|
@is_enabled.setter
|
|
1848
|
-
def is_enabled(self, value: pulumi.Input[bool]):
|
|
1849
|
+
def is_enabled(self, value: pulumi.Input[builtins.bool]):
|
|
1849
1850
|
pulumi.set(self, "is_enabled", value)
|
|
1850
1851
|
|
|
1851
1852
|
@property
|
|
1852
1853
|
@pulumi.getter(name="taskType")
|
|
1853
|
-
def task_type(self) -> pulumi.Input[str]:
|
|
1854
|
+
def task_type(self) -> pulumi.Input[builtins.str]:
|
|
1854
1855
|
"""
|
|
1855
1856
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
1856
1857
|
"""
|
|
1857
1858
|
return pulumi.get(self, "task_type")
|
|
1858
1859
|
|
|
1859
1860
|
@task_type.setter
|
|
1860
|
-
def task_type(self, value: pulumi.Input[str]):
|
|
1861
|
+
def task_type(self, value: pulumi.Input[builtins.str]):
|
|
1861
1862
|
pulumi.set(self, "task_type", value)
|
|
1862
1863
|
|
|
1863
1864
|
@property
|
|
@@ -1875,15 +1876,15 @@ class OceanLaunchSpecSchedulingTaskArgs:
|
|
|
1875
1876
|
|
|
1876
1877
|
if not MYPY:
|
|
1877
1878
|
class OceanLaunchSpecSchedulingTaskTaskHeadroomArgsDict(TypedDict):
|
|
1878
|
-
num_of_units: pulumi.Input[int]
|
|
1879
|
+
num_of_units: pulumi.Input[builtins.int]
|
|
1879
1880
|
"""
|
|
1880
1881
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1881
1882
|
"""
|
|
1882
|
-
cpu_per_unit: NotRequired[pulumi.Input[int]]
|
|
1883
|
+
cpu_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
1883
1884
|
"""
|
|
1884
1885
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1885
1886
|
"""
|
|
1886
|
-
memory_per_unit: NotRequired[pulumi.Input[int]]
|
|
1887
|
+
memory_per_unit: NotRequired[pulumi.Input[builtins.int]]
|
|
1887
1888
|
"""
|
|
1888
1889
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1889
1890
|
"""
|
|
@@ -1893,13 +1894,13 @@ elif False:
|
|
|
1893
1894
|
@pulumi.input_type
|
|
1894
1895
|
class OceanLaunchSpecSchedulingTaskTaskHeadroomArgs:
|
|
1895
1896
|
def __init__(__self__, *,
|
|
1896
|
-
num_of_units: pulumi.Input[int],
|
|
1897
|
-
cpu_per_unit: Optional[pulumi.Input[int]] = None,
|
|
1898
|
-
memory_per_unit: Optional[pulumi.Input[int]] = None):
|
|
1897
|
+
num_of_units: pulumi.Input[builtins.int],
|
|
1898
|
+
cpu_per_unit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1899
|
+
memory_per_unit: Optional[pulumi.Input[builtins.int]] = None):
|
|
1899
1900
|
"""
|
|
1900
|
-
:param pulumi.Input[int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1901
|
-
:param pulumi.Input[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.
|
|
1902
|
-
:param pulumi.Input[int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1901
|
+
:param pulumi.Input[builtins.int] num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1902
|
+
:param pulumi.Input[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.
|
|
1903
|
+
:param pulumi.Input[builtins.int] memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1903
1904
|
"""
|
|
1904
1905
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1905
1906
|
if cpu_per_unit is not None:
|
|
@@ -1909,44 +1910,44 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroomArgs:
|
|
|
1909
1910
|
|
|
1910
1911
|
@property
|
|
1911
1912
|
@pulumi.getter(name="numOfUnits")
|
|
1912
|
-
def num_of_units(self) -> pulumi.Input[int]:
|
|
1913
|
+
def num_of_units(self) -> pulumi.Input[builtins.int]:
|
|
1913
1914
|
"""
|
|
1914
1915
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
1915
1916
|
"""
|
|
1916
1917
|
return pulumi.get(self, "num_of_units")
|
|
1917
1918
|
|
|
1918
1919
|
@num_of_units.setter
|
|
1919
|
-
def num_of_units(self, value: pulumi.Input[int]):
|
|
1920
|
+
def num_of_units(self, value: pulumi.Input[builtins.int]):
|
|
1920
1921
|
pulumi.set(self, "num_of_units", value)
|
|
1921
1922
|
|
|
1922
1923
|
@property
|
|
1923
1924
|
@pulumi.getter(name="cpuPerUnit")
|
|
1924
|
-
def cpu_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1925
|
+
def cpu_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1925
1926
|
"""
|
|
1926
1927
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1927
1928
|
"""
|
|
1928
1929
|
return pulumi.get(self, "cpu_per_unit")
|
|
1929
1930
|
|
|
1930
1931
|
@cpu_per_unit.setter
|
|
1931
|
-
def cpu_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1932
|
+
def cpu_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1932
1933
|
pulumi.set(self, "cpu_per_unit", value)
|
|
1933
1934
|
|
|
1934
1935
|
@property
|
|
1935
1936
|
@pulumi.getter(name="memoryPerUnit")
|
|
1936
|
-
def memory_per_unit(self) -> Optional[pulumi.Input[int]]:
|
|
1937
|
+
def memory_per_unit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1937
1938
|
"""
|
|
1938
1939
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
1939
1940
|
"""
|
|
1940
1941
|
return pulumi.get(self, "memory_per_unit")
|
|
1941
1942
|
|
|
1942
1943
|
@memory_per_unit.setter
|
|
1943
|
-
def memory_per_unit(self, value: Optional[pulumi.Input[int]]):
|
|
1944
|
+
def memory_per_unit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1944
1945
|
pulumi.set(self, "memory_per_unit", value)
|
|
1945
1946
|
|
|
1946
1947
|
|
|
1947
1948
|
if not MYPY:
|
|
1948
1949
|
class OceanLaunchSpecStrategyArgsDict(TypedDict):
|
|
1949
|
-
spot_percentage: NotRequired[pulumi.Input[int]]
|
|
1950
|
+
spot_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
1950
1951
|
"""
|
|
1951
1952
|
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.
|
|
1952
1953
|
"""
|
|
@@ -1956,33 +1957,33 @@ elif False:
|
|
|
1956
1957
|
@pulumi.input_type
|
|
1957
1958
|
class OceanLaunchSpecStrategyArgs:
|
|
1958
1959
|
def __init__(__self__, *,
|
|
1959
|
-
spot_percentage: Optional[pulumi.Input[int]] = None):
|
|
1960
|
+
spot_percentage: Optional[pulumi.Input[builtins.int]] = None):
|
|
1960
1961
|
"""
|
|
1961
|
-
:param pulumi.Input[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.
|
|
1962
|
+
:param pulumi.Input[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.
|
|
1962
1963
|
"""
|
|
1963
1964
|
if spot_percentage is not None:
|
|
1964
1965
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
1965
1966
|
|
|
1966
1967
|
@property
|
|
1967
1968
|
@pulumi.getter(name="spotPercentage")
|
|
1968
|
-
def spot_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
1969
|
+
def spot_percentage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1969
1970
|
"""
|
|
1970
1971
|
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.
|
|
1971
1972
|
"""
|
|
1972
1973
|
return pulumi.get(self, "spot_percentage")
|
|
1973
1974
|
|
|
1974
1975
|
@spot_percentage.setter
|
|
1975
|
-
def spot_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
1976
|
+
def spot_percentage(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1976
1977
|
pulumi.set(self, "spot_percentage", value)
|
|
1977
1978
|
|
|
1978
1979
|
|
|
1979
1980
|
if not MYPY:
|
|
1980
1981
|
class OceanLaunchSpecTagArgsDict(TypedDict):
|
|
1981
|
-
key: pulumi.Input[str]
|
|
1982
|
+
key: pulumi.Input[builtins.str]
|
|
1982
1983
|
"""
|
|
1983
1984
|
The label key.
|
|
1984
1985
|
"""
|
|
1985
|
-
value: pulumi.Input[str]
|
|
1986
|
+
value: pulumi.Input[builtins.str]
|
|
1986
1987
|
"""
|
|
1987
1988
|
The label value.
|
|
1988
1989
|
"""
|
|
@@ -1992,37 +1993,37 @@ elif False:
|
|
|
1992
1993
|
@pulumi.input_type
|
|
1993
1994
|
class OceanLaunchSpecTagArgs:
|
|
1994
1995
|
def __init__(__self__, *,
|
|
1995
|
-
key: pulumi.Input[str],
|
|
1996
|
-
value: pulumi.Input[str]):
|
|
1996
|
+
key: pulumi.Input[builtins.str],
|
|
1997
|
+
value: pulumi.Input[builtins.str]):
|
|
1997
1998
|
"""
|
|
1998
|
-
:param pulumi.Input[str] key: The label key.
|
|
1999
|
-
:param pulumi.Input[str] value: The label value.
|
|
1999
|
+
:param pulumi.Input[builtins.str] key: The label key.
|
|
2000
|
+
:param pulumi.Input[builtins.str] value: The label value.
|
|
2000
2001
|
"""
|
|
2001
2002
|
pulumi.set(__self__, "key", key)
|
|
2002
2003
|
pulumi.set(__self__, "value", value)
|
|
2003
2004
|
|
|
2004
2005
|
@property
|
|
2005
2006
|
@pulumi.getter
|
|
2006
|
-
def key(self) -> pulumi.Input[str]:
|
|
2007
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
2007
2008
|
"""
|
|
2008
2009
|
The label key.
|
|
2009
2010
|
"""
|
|
2010
2011
|
return pulumi.get(self, "key")
|
|
2011
2012
|
|
|
2012
2013
|
@key.setter
|
|
2013
|
-
def key(self, value: pulumi.Input[str]):
|
|
2014
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
2014
2015
|
pulumi.set(self, "key", value)
|
|
2015
2016
|
|
|
2016
2017
|
@property
|
|
2017
2018
|
@pulumi.getter
|
|
2018
|
-
def value(self) -> pulumi.Input[str]:
|
|
2019
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
2019
2020
|
"""
|
|
2020
2021
|
The label value.
|
|
2021
2022
|
"""
|
|
2022
2023
|
return pulumi.get(self, "value")
|
|
2023
2024
|
|
|
2024
2025
|
@value.setter
|
|
2025
|
-
def value(self, value: pulumi.Input[str]):
|
|
2026
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
2026
2027
|
pulumi.set(self, "value", value)
|
|
2027
2028
|
|
|
2028
2029
|
|
|
@@ -2092,7 +2093,7 @@ class OceanLoggingExportArgs:
|
|
|
2092
2093
|
|
|
2093
2094
|
if not MYPY:
|
|
2094
2095
|
class OceanLoggingExportS3ArgsDict(TypedDict):
|
|
2095
|
-
id: pulumi.Input[str]
|
|
2096
|
+
id: pulumi.Input[builtins.str]
|
|
2096
2097
|
"""
|
|
2097
2098
|
The identifier of The S3 data integration to export the logs to.
|
|
2098
2099
|
"""
|
|
@@ -2102,36 +2103,36 @@ elif False:
|
|
|
2102
2103
|
@pulumi.input_type
|
|
2103
2104
|
class OceanLoggingExportS3Args:
|
|
2104
2105
|
def __init__(__self__, *,
|
|
2105
|
-
id: pulumi.Input[str]):
|
|
2106
|
+
id: pulumi.Input[builtins.str]):
|
|
2106
2107
|
"""
|
|
2107
|
-
:param pulumi.Input[str] id: The identifier of The S3 data integration to export the logs to.
|
|
2108
|
+
:param pulumi.Input[builtins.str] id: The identifier of The S3 data integration to export the logs to.
|
|
2108
2109
|
"""
|
|
2109
2110
|
pulumi.set(__self__, "id", id)
|
|
2110
2111
|
|
|
2111
2112
|
@property
|
|
2112
2113
|
@pulumi.getter
|
|
2113
|
-
def id(self) -> pulumi.Input[str]:
|
|
2114
|
+
def id(self) -> pulumi.Input[builtins.str]:
|
|
2114
2115
|
"""
|
|
2115
2116
|
The identifier of The S3 data integration to export the logs to.
|
|
2116
2117
|
"""
|
|
2117
2118
|
return pulumi.get(self, "id")
|
|
2118
2119
|
|
|
2119
2120
|
@id.setter
|
|
2120
|
-
def id(self, value: pulumi.Input[str]):
|
|
2121
|
+
def id(self, value: pulumi.Input[builtins.str]):
|
|
2121
2122
|
pulumi.set(self, "id", value)
|
|
2122
2123
|
|
|
2123
2124
|
|
|
2124
2125
|
if not MYPY:
|
|
2125
2126
|
class OceanOptimizeImagesArgsDict(TypedDict):
|
|
2126
|
-
perform_at: pulumi.Input[str]
|
|
2127
|
+
perform_at: pulumi.Input[builtins.str]
|
|
2127
2128
|
"""
|
|
2128
2129
|
String. Valid values: "always" "never" "timeWindow".
|
|
2129
2130
|
"""
|
|
2130
|
-
should_optimize_ecs_ami: pulumi.Input[bool]
|
|
2131
|
+
should_optimize_ecs_ami: pulumi.Input[builtins.bool]
|
|
2131
2132
|
"""
|
|
2132
2133
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2133
2134
|
"""
|
|
2134
|
-
time_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2135
|
+
time_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2135
2136
|
"""
|
|
2136
2137
|
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.
|
|
2137
2138
|
"""
|
|
@@ -2141,13 +2142,13 @@ elif False:
|
|
|
2141
2142
|
@pulumi.input_type
|
|
2142
2143
|
class OceanOptimizeImagesArgs:
|
|
2143
2144
|
def __init__(__self__, *,
|
|
2144
|
-
perform_at: pulumi.Input[str],
|
|
2145
|
-
should_optimize_ecs_ami: pulumi.Input[bool],
|
|
2146
|
-
time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2145
|
+
perform_at: pulumi.Input[builtins.str],
|
|
2146
|
+
should_optimize_ecs_ami: pulumi.Input[builtins.bool],
|
|
2147
|
+
time_windows: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
2147
2148
|
"""
|
|
2148
|
-
:param pulumi.Input[str] perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
2149
|
-
:param pulumi.Input[bool] should_optimize_ecs_ami: Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2150
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2149
|
+
:param pulumi.Input[builtins.str] perform_at: String. Valid values: "always" "never" "timeWindow".
|
|
2150
|
+
:param pulumi.Input[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.
|
|
2151
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2151
2152
|
"""
|
|
2152
2153
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
2153
2154
|
pulumi.set(__self__, "should_optimize_ecs_ami", should_optimize_ecs_ami)
|
|
@@ -2156,38 +2157,38 @@ class OceanOptimizeImagesArgs:
|
|
|
2156
2157
|
|
|
2157
2158
|
@property
|
|
2158
2159
|
@pulumi.getter(name="performAt")
|
|
2159
|
-
def perform_at(self) -> pulumi.Input[str]:
|
|
2160
|
+
def perform_at(self) -> pulumi.Input[builtins.str]:
|
|
2160
2161
|
"""
|
|
2161
2162
|
String. Valid values: "always" "never" "timeWindow".
|
|
2162
2163
|
"""
|
|
2163
2164
|
return pulumi.get(self, "perform_at")
|
|
2164
2165
|
|
|
2165
2166
|
@perform_at.setter
|
|
2166
|
-
def perform_at(self, value: pulumi.Input[str]):
|
|
2167
|
+
def perform_at(self, value: pulumi.Input[builtins.str]):
|
|
2167
2168
|
pulumi.set(self, "perform_at", value)
|
|
2168
2169
|
|
|
2169
2170
|
@property
|
|
2170
2171
|
@pulumi.getter(name="shouldOptimizeEcsAmi")
|
|
2171
|
-
def should_optimize_ecs_ami(self) -> pulumi.Input[bool]:
|
|
2172
|
+
def should_optimize_ecs_ami(self) -> pulumi.Input[builtins.bool]:
|
|
2172
2173
|
"""
|
|
2173
2174
|
Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
|
|
2174
2175
|
"""
|
|
2175
2176
|
return pulumi.get(self, "should_optimize_ecs_ami")
|
|
2176
2177
|
|
|
2177
2178
|
@should_optimize_ecs_ami.setter
|
|
2178
|
-
def should_optimize_ecs_ami(self, value: pulumi.Input[bool]):
|
|
2179
|
+
def should_optimize_ecs_ami(self, value: pulumi.Input[builtins.bool]):
|
|
2179
2180
|
pulumi.set(self, "should_optimize_ecs_ami", value)
|
|
2180
2181
|
|
|
2181
2182
|
@property
|
|
2182
2183
|
@pulumi.getter(name="timeWindows")
|
|
2183
|
-
def time_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2184
|
+
def time_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2184
2185
|
"""
|
|
2185
2186
|
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.
|
|
2186
2187
|
"""
|
|
2187
2188
|
return pulumi.get(self, "time_windows")
|
|
2188
2189
|
|
|
2189
2190
|
@time_windows.setter
|
|
2190
|
-
def time_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2191
|
+
def time_windows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2191
2192
|
pulumi.set(self, "time_windows", value)
|
|
2192
2193
|
|
|
2193
2194
|
|
|
@@ -2245,11 +2246,11 @@ class OceanScheduledTaskArgs:
|
|
|
2245
2246
|
|
|
2246
2247
|
if not MYPY:
|
|
2247
2248
|
class OceanScheduledTaskShutdownHoursArgsDict(TypedDict):
|
|
2248
|
-
time_windows: pulumi.Input[Sequence[pulumi.Input[str]]]
|
|
2249
|
+
time_windows: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]
|
|
2249
2250
|
"""
|
|
2250
2251
|
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`.
|
|
2251
2252
|
"""
|
|
2252
|
-
is_enabled: NotRequired[pulumi.Input[bool]]
|
|
2253
|
+
is_enabled: NotRequired[pulumi.Input[builtins.bool]]
|
|
2253
2254
|
"""
|
|
2254
2255
|
Flag to enable / disable the shutdown hours.
|
|
2255
2256
|
"""
|
|
@@ -2259,11 +2260,11 @@ elif False:
|
|
|
2259
2260
|
@pulumi.input_type
|
|
2260
2261
|
class OceanScheduledTaskShutdownHoursArgs:
|
|
2261
2262
|
def __init__(__self__, *,
|
|
2262
|
-
time_windows: pulumi.Input[Sequence[pulumi.Input[str]]],
|
|
2263
|
-
is_enabled: Optional[pulumi.Input[bool]] = None):
|
|
2263
|
+
time_windows: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
|
|
2264
|
+
is_enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
|
2264
2265
|
"""
|
|
2265
|
-
:param pulumi.Input[Sequence[pulumi.Input[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`.
|
|
2266
|
-
:param pulumi.Input[bool] is_enabled: Flag to enable / disable the shutdown hours.
|
|
2266
|
+
:param pulumi.Input[Sequence[pulumi.Input[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`.
|
|
2267
|
+
:param pulumi.Input[builtins.bool] is_enabled: Flag to enable / disable the shutdown hours.
|
|
2267
2268
|
"""
|
|
2268
2269
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
2269
2270
|
if is_enabled is not None:
|
|
@@ -2271,40 +2272,40 @@ class OceanScheduledTaskShutdownHoursArgs:
|
|
|
2271
2272
|
|
|
2272
2273
|
@property
|
|
2273
2274
|
@pulumi.getter(name="timeWindows")
|
|
2274
|
-
def time_windows(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
|
2275
|
+
def time_windows(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
|
|
2275
2276
|
"""
|
|
2276
2277
|
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`.
|
|
2277
2278
|
"""
|
|
2278
2279
|
return pulumi.get(self, "time_windows")
|
|
2279
2280
|
|
|
2280
2281
|
@time_windows.setter
|
|
2281
|
-
def time_windows(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
|
2282
|
+
def time_windows(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
|
|
2282
2283
|
pulumi.set(self, "time_windows", value)
|
|
2283
2284
|
|
|
2284
2285
|
@property
|
|
2285
2286
|
@pulumi.getter(name="isEnabled")
|
|
2286
|
-
def is_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2287
|
+
def is_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2287
2288
|
"""
|
|
2288
2289
|
Flag to enable / disable the shutdown hours.
|
|
2289
2290
|
"""
|
|
2290
2291
|
return pulumi.get(self, "is_enabled")
|
|
2291
2292
|
|
|
2292
2293
|
@is_enabled.setter
|
|
2293
|
-
def is_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2294
|
+
def is_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2294
2295
|
pulumi.set(self, "is_enabled", value)
|
|
2295
2296
|
|
|
2296
2297
|
|
|
2297
2298
|
if not MYPY:
|
|
2298
2299
|
class OceanScheduledTaskTaskArgsDict(TypedDict):
|
|
2299
|
-
cron_expression: pulumi.Input[str]
|
|
2300
|
+
cron_expression: pulumi.Input[builtins.str]
|
|
2300
2301
|
"""
|
|
2301
2302
|
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 * * *`.
|
|
2302
2303
|
"""
|
|
2303
|
-
is_enabled: pulumi.Input[bool]
|
|
2304
|
+
is_enabled: pulumi.Input[builtins.bool]
|
|
2304
2305
|
"""
|
|
2305
2306
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2306
2307
|
"""
|
|
2307
|
-
task_type: pulumi.Input[str]
|
|
2308
|
+
task_type: pulumi.Input[builtins.str]
|
|
2308
2309
|
"""
|
|
2309
2310
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2310
2311
|
"""
|
|
@@ -2314,13 +2315,13 @@ elif False:
|
|
|
2314
2315
|
@pulumi.input_type
|
|
2315
2316
|
class OceanScheduledTaskTaskArgs:
|
|
2316
2317
|
def __init__(__self__, *,
|
|
2317
|
-
cron_expression: pulumi.Input[str],
|
|
2318
|
-
is_enabled: pulumi.Input[bool],
|
|
2319
|
-
task_type: pulumi.Input[str]):
|
|
2318
|
+
cron_expression: pulumi.Input[builtins.str],
|
|
2319
|
+
is_enabled: pulumi.Input[builtins.bool],
|
|
2320
|
+
task_type: pulumi.Input[builtins.str]):
|
|
2320
2321
|
"""
|
|
2321
|
-
:param pulumi.Input[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 * * *`.
|
|
2322
|
-
:param pulumi.Input[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.
|
|
2323
|
-
:param pulumi.Input[str] task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2322
|
+
:param pulumi.Input[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 * * *`.
|
|
2323
|
+
:param pulumi.Input[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.
|
|
2324
|
+
:param pulumi.Input[builtins.str] task_type: Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2324
2325
|
"""
|
|
2325
2326
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
2326
2327
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -2328,48 +2329,48 @@ class OceanScheduledTaskTaskArgs:
|
|
|
2328
2329
|
|
|
2329
2330
|
@property
|
|
2330
2331
|
@pulumi.getter(name="cronExpression")
|
|
2331
|
-
def cron_expression(self) -> pulumi.Input[str]:
|
|
2332
|
+
def cron_expression(self) -> pulumi.Input[builtins.str]:
|
|
2332
2333
|
"""
|
|
2333
2334
|
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 * * *`.
|
|
2334
2335
|
"""
|
|
2335
2336
|
return pulumi.get(self, "cron_expression")
|
|
2336
2337
|
|
|
2337
2338
|
@cron_expression.setter
|
|
2338
|
-
def cron_expression(self, value: pulumi.Input[str]):
|
|
2339
|
+
def cron_expression(self, value: pulumi.Input[builtins.str]):
|
|
2339
2340
|
pulumi.set(self, "cron_expression", value)
|
|
2340
2341
|
|
|
2341
2342
|
@property
|
|
2342
2343
|
@pulumi.getter(name="isEnabled")
|
|
2343
|
-
def is_enabled(self) -> pulumi.Input[bool]:
|
|
2344
|
+
def is_enabled(self) -> pulumi.Input[builtins.bool]:
|
|
2344
2345
|
"""
|
|
2345
2346
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for `cluster.scheduling.tasks` object.
|
|
2346
2347
|
"""
|
|
2347
2348
|
return pulumi.get(self, "is_enabled")
|
|
2348
2349
|
|
|
2349
2350
|
@is_enabled.setter
|
|
2350
|
-
def is_enabled(self, value: pulumi.Input[bool]):
|
|
2351
|
+
def is_enabled(self, value: pulumi.Input[builtins.bool]):
|
|
2351
2352
|
pulumi.set(self, "is_enabled", value)
|
|
2352
2353
|
|
|
2353
2354
|
@property
|
|
2354
2355
|
@pulumi.getter(name="taskType")
|
|
2355
|
-
def task_type(self) -> pulumi.Input[str]:
|
|
2356
|
+
def task_type(self) -> pulumi.Input[builtins.str]:
|
|
2356
2357
|
"""
|
|
2357
2358
|
Valid values: "clusterRoll". Required for `cluster.scheduling.tasks object`. Example: `clusterRoll`.
|
|
2358
2359
|
"""
|
|
2359
2360
|
return pulumi.get(self, "task_type")
|
|
2360
2361
|
|
|
2361
2362
|
@task_type.setter
|
|
2362
|
-
def task_type(self, value: pulumi.Input[str]):
|
|
2363
|
+
def task_type(self, value: pulumi.Input[builtins.str]):
|
|
2363
2364
|
pulumi.set(self, "task_type", value)
|
|
2364
2365
|
|
|
2365
2366
|
|
|
2366
2367
|
if not MYPY:
|
|
2367
2368
|
class OceanTagArgsDict(TypedDict):
|
|
2368
|
-
key: pulumi.Input[str]
|
|
2369
|
+
key: pulumi.Input[builtins.str]
|
|
2369
2370
|
"""
|
|
2370
2371
|
The tag key.
|
|
2371
2372
|
"""
|
|
2372
|
-
value: pulumi.Input[str]
|
|
2373
|
+
value: pulumi.Input[builtins.str]
|
|
2373
2374
|
"""
|
|
2374
2375
|
The tag value.
|
|
2375
2376
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -2380,11 +2381,11 @@ elif False:
|
|
|
2380
2381
|
@pulumi.input_type
|
|
2381
2382
|
class OceanTagArgs:
|
|
2382
2383
|
def __init__(__self__, *,
|
|
2383
|
-
key: pulumi.Input[str],
|
|
2384
|
-
value: pulumi.Input[str]):
|
|
2384
|
+
key: pulumi.Input[builtins.str],
|
|
2385
|
+
value: pulumi.Input[builtins.str]):
|
|
2385
2386
|
"""
|
|
2386
|
-
:param pulumi.Input[str] key: The tag key.
|
|
2387
|
-
:param pulumi.Input[str] value: The tag value.
|
|
2387
|
+
:param pulumi.Input[builtins.str] key: The tag key.
|
|
2388
|
+
:param pulumi.Input[builtins.str] value: The tag value.
|
|
2388
2389
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
2389
2390
|
"""
|
|
2390
2391
|
pulumi.set(__self__, "key", key)
|
|
@@ -2392,19 +2393,19 @@ class OceanTagArgs:
|
|
|
2392
2393
|
|
|
2393
2394
|
@property
|
|
2394
2395
|
@pulumi.getter
|
|
2395
|
-
def key(self) -> pulumi.Input[str]:
|
|
2396
|
+
def key(self) -> pulumi.Input[builtins.str]:
|
|
2396
2397
|
"""
|
|
2397
2398
|
The tag key.
|
|
2398
2399
|
"""
|
|
2399
2400
|
return pulumi.get(self, "key")
|
|
2400
2401
|
|
|
2401
2402
|
@key.setter
|
|
2402
|
-
def key(self, value: pulumi.Input[str]):
|
|
2403
|
+
def key(self, value: pulumi.Input[builtins.str]):
|
|
2403
2404
|
pulumi.set(self, "key", value)
|
|
2404
2405
|
|
|
2405
2406
|
@property
|
|
2406
2407
|
@pulumi.getter
|
|
2407
|
-
def value(self) -> pulumi.Input[str]:
|
|
2408
|
+
def value(self) -> pulumi.Input[builtins.str]:
|
|
2408
2409
|
"""
|
|
2409
2410
|
The tag value.
|
|
2410
2411
|
* `instanceTypes` - (Optional) The type of instances that may or may not be a part of the Ocean cluster.
|
|
@@ -2412,21 +2413,21 @@ class OceanTagArgs:
|
|
|
2412
2413
|
return pulumi.get(self, "value")
|
|
2413
2414
|
|
|
2414
2415
|
@value.setter
|
|
2415
|
-
def value(self, value: pulumi.Input[str]):
|
|
2416
|
+
def value(self, value: pulumi.Input[builtins.str]):
|
|
2416
2417
|
pulumi.set(self, "value", value)
|
|
2417
2418
|
|
|
2418
2419
|
|
|
2419
2420
|
if not MYPY:
|
|
2420
2421
|
class OceanUpdatePolicyArgsDict(TypedDict):
|
|
2421
|
-
should_roll: pulumi.Input[bool]
|
|
2422
|
+
should_roll: pulumi.Input[builtins.bool]
|
|
2422
2423
|
"""
|
|
2423
2424
|
Enables the roll.
|
|
2424
2425
|
"""
|
|
2425
|
-
auto_apply_tags: NotRequired[pulumi.Input[bool]]
|
|
2426
|
+
auto_apply_tags: NotRequired[pulumi.Input[builtins.bool]]
|
|
2426
2427
|
"""
|
|
2427
2428
|
will update instance tags on the fly without rolling the cluster.
|
|
2428
2429
|
"""
|
|
2429
|
-
conditioned_roll: NotRequired[pulumi.Input[bool]]
|
|
2430
|
+
conditioned_roll: NotRequired[pulumi.Input[builtins.bool]]
|
|
2430
2431
|
"""
|
|
2431
2432
|
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).
|
|
2432
2433
|
"""
|
|
@@ -2437,14 +2438,14 @@ elif False:
|
|
|
2437
2438
|
@pulumi.input_type
|
|
2438
2439
|
class OceanUpdatePolicyArgs:
|
|
2439
2440
|
def __init__(__self__, *,
|
|
2440
|
-
should_roll: pulumi.Input[bool],
|
|
2441
|
-
auto_apply_tags: Optional[pulumi.Input[bool]] = None,
|
|
2442
|
-
conditioned_roll: Optional[pulumi.Input[bool]] = None,
|
|
2441
|
+
should_roll: pulumi.Input[builtins.bool],
|
|
2442
|
+
auto_apply_tags: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2443
|
+
conditioned_roll: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2443
2444
|
roll_config: Optional[pulumi.Input['OceanUpdatePolicyRollConfigArgs']] = None):
|
|
2444
2445
|
"""
|
|
2445
|
-
:param pulumi.Input[bool] should_roll: Enables the roll.
|
|
2446
|
-
:param pulumi.Input[bool] auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
2447
|
-
:param pulumi.Input[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).
|
|
2446
|
+
:param pulumi.Input[builtins.bool] should_roll: Enables the roll.
|
|
2447
|
+
:param pulumi.Input[builtins.bool] auto_apply_tags: will update instance tags on the fly without rolling the cluster.
|
|
2448
|
+
:param pulumi.Input[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).
|
|
2448
2449
|
"""
|
|
2449
2450
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
2450
2451
|
if auto_apply_tags is not None:
|
|
@@ -2456,38 +2457,38 @@ class OceanUpdatePolicyArgs:
|
|
|
2456
2457
|
|
|
2457
2458
|
@property
|
|
2458
2459
|
@pulumi.getter(name="shouldRoll")
|
|
2459
|
-
def should_roll(self) -> pulumi.Input[bool]:
|
|
2460
|
+
def should_roll(self) -> pulumi.Input[builtins.bool]:
|
|
2460
2461
|
"""
|
|
2461
2462
|
Enables the roll.
|
|
2462
2463
|
"""
|
|
2463
2464
|
return pulumi.get(self, "should_roll")
|
|
2464
2465
|
|
|
2465
2466
|
@should_roll.setter
|
|
2466
|
-
def should_roll(self, value: pulumi.Input[bool]):
|
|
2467
|
+
def should_roll(self, value: pulumi.Input[builtins.bool]):
|
|
2467
2468
|
pulumi.set(self, "should_roll", value)
|
|
2468
2469
|
|
|
2469
2470
|
@property
|
|
2470
2471
|
@pulumi.getter(name="autoApplyTags")
|
|
2471
|
-
def auto_apply_tags(self) -> Optional[pulumi.Input[bool]]:
|
|
2472
|
+
def auto_apply_tags(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2472
2473
|
"""
|
|
2473
2474
|
will update instance tags on the fly without rolling the cluster.
|
|
2474
2475
|
"""
|
|
2475
2476
|
return pulumi.get(self, "auto_apply_tags")
|
|
2476
2477
|
|
|
2477
2478
|
@auto_apply_tags.setter
|
|
2478
|
-
def auto_apply_tags(self, value: Optional[pulumi.Input[bool]]):
|
|
2479
|
+
def auto_apply_tags(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2479
2480
|
pulumi.set(self, "auto_apply_tags", value)
|
|
2480
2481
|
|
|
2481
2482
|
@property
|
|
2482
2483
|
@pulumi.getter(name="conditionedRoll")
|
|
2483
|
-
def conditioned_roll(self) -> Optional[pulumi.Input[bool]]:
|
|
2484
|
+
def conditioned_roll(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2484
2485
|
"""
|
|
2485
2486
|
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).
|
|
2486
2487
|
"""
|
|
2487
2488
|
return pulumi.get(self, "conditioned_roll")
|
|
2488
2489
|
|
|
2489
2490
|
@conditioned_roll.setter
|
|
2490
|
-
def conditioned_roll(self, value: Optional[pulumi.Input[bool]]):
|
|
2491
|
+
def conditioned_roll(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2491
2492
|
pulumi.set(self, "conditioned_roll", value)
|
|
2492
2493
|
|
|
2493
2494
|
@property
|
|
@@ -2502,11 +2503,11 @@ class OceanUpdatePolicyArgs:
|
|
|
2502
2503
|
|
|
2503
2504
|
if not MYPY:
|
|
2504
2505
|
class OceanUpdatePolicyRollConfigArgsDict(TypedDict):
|
|
2505
|
-
batch_size_percentage: pulumi.Input[int]
|
|
2506
|
+
batch_size_percentage: pulumi.Input[builtins.int]
|
|
2506
2507
|
"""
|
|
2507
2508
|
Sets the percentage of the instances to deploy in each batch.
|
|
2508
2509
|
"""
|
|
2509
|
-
batch_min_healthy_percentage: NotRequired[pulumi.Input[int]]
|
|
2510
|
+
batch_min_healthy_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
2510
2511
|
"""
|
|
2511
2512
|
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.
|
|
2512
2513
|
"""
|
|
@@ -2516,11 +2517,11 @@ elif False:
|
|
|
2516
2517
|
@pulumi.input_type
|
|
2517
2518
|
class OceanUpdatePolicyRollConfigArgs:
|
|
2518
2519
|
def __init__(__self__, *,
|
|
2519
|
-
batch_size_percentage: pulumi.Input[int],
|
|
2520
|
-
batch_min_healthy_percentage: Optional[pulumi.Input[int]] = None):
|
|
2520
|
+
batch_size_percentage: pulumi.Input[builtins.int],
|
|
2521
|
+
batch_min_healthy_percentage: Optional[pulumi.Input[builtins.int]] = None):
|
|
2521
2522
|
"""
|
|
2522
|
-
:param pulumi.Input[int] batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2523
|
-
:param pulumi.Input[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.
|
|
2523
|
+
:param pulumi.Input[builtins.int] batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2524
|
+
:param pulumi.Input[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.
|
|
2524
2525
|
"""
|
|
2525
2526
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2526
2527
|
if batch_min_healthy_percentage is not None:
|
|
@@ -2528,26 +2529,26 @@ class OceanUpdatePolicyRollConfigArgs:
|
|
|
2528
2529
|
|
|
2529
2530
|
@property
|
|
2530
2531
|
@pulumi.getter(name="batchSizePercentage")
|
|
2531
|
-
def batch_size_percentage(self) -> pulumi.Input[int]:
|
|
2532
|
+
def batch_size_percentage(self) -> pulumi.Input[builtins.int]:
|
|
2532
2533
|
"""
|
|
2533
2534
|
Sets the percentage of the instances to deploy in each batch.
|
|
2534
2535
|
"""
|
|
2535
2536
|
return pulumi.get(self, "batch_size_percentage")
|
|
2536
2537
|
|
|
2537
2538
|
@batch_size_percentage.setter
|
|
2538
|
-
def batch_size_percentage(self, value: pulumi.Input[int]):
|
|
2539
|
+
def batch_size_percentage(self, value: pulumi.Input[builtins.int]):
|
|
2539
2540
|
pulumi.set(self, "batch_size_percentage", value)
|
|
2540
2541
|
|
|
2541
2542
|
@property
|
|
2542
2543
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2543
|
-
def batch_min_healthy_percentage(self) -> Optional[pulumi.Input[int]]:
|
|
2544
|
+
def batch_min_healthy_percentage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2544
2545
|
"""
|
|
2545
2546
|
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.
|
|
2546
2547
|
"""
|
|
2547
2548
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2548
2549
|
|
|
2549
2550
|
@batch_min_healthy_percentage.setter
|
|
2550
|
-
def batch_min_healthy_percentage(self, value: Optional[pulumi.Input[int]]):
|
|
2551
|
+
def batch_min_healthy_percentage(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2551
2552
|
pulumi.set(self, "batch_min_healthy_percentage", value)
|
|
2552
2553
|
|
|
2553
2554
|
|