pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744266805__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744266805.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744266805.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
@@ -21,44 +22,44 @@ __all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class OceanLaunchSpecArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
ocean_id: pulumi.Input[str],
|
|
25
|
+
ocean_id: pulumi.Input[builtins.str],
|
|
25
26
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
26
27
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
27
28
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
|
|
28
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
29
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
29
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
30
31
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
31
32
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
32
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
33
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
34
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
35
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
33
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
34
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
35
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
36
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
36
37
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
37
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
38
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
38
39
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
39
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
40
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
40
41
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
41
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
42
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None):
|
|
42
43
|
"""
|
|
43
44
|
The set of arguments for constructing a OceanLaunchSpec resource.
|
|
44
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID .
|
|
45
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID .
|
|
45
46
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
46
47
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
47
48
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
|
|
48
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
49
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
49
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
50
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
50
51
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]] images: You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element
|
|
51
52
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
53
|
-
:param pulumi.Input[str] name: The Ocean Launch Specification name.
|
|
54
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
55
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
54
|
+
:param pulumi.Input[builtins.str] name: The Ocean Launch Specification name.
|
|
55
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
56
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
56
57
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
57
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more security group ids.
|
|
58
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: One or more security group ids.
|
|
58
59
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]] strategies: Similar to a strategy for an Ocean cluster, but applying only to a virtual node group.
|
|
59
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
60
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
60
61
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
61
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
62
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
62
63
|
"""
|
|
63
64
|
pulumi.set(__self__, "ocean_id", ocean_id)
|
|
64
65
|
if attributes is not None:
|
|
@@ -98,14 +99,14 @@ class OceanLaunchSpecArgs:
|
|
|
98
99
|
|
|
99
100
|
@property
|
|
100
101
|
@pulumi.getter(name="oceanId")
|
|
101
|
-
def ocean_id(self) -> pulumi.Input[str]:
|
|
102
|
+
def ocean_id(self) -> pulumi.Input[builtins.str]:
|
|
102
103
|
"""
|
|
103
104
|
The Ocean cluster ID .
|
|
104
105
|
"""
|
|
105
106
|
return pulumi.get(self, "ocean_id")
|
|
106
107
|
|
|
107
108
|
@ocean_id.setter
|
|
108
|
-
def ocean_id(self, value: pulumi.Input[str]):
|
|
109
|
+
def ocean_id(self, value: pulumi.Input[builtins.str]):
|
|
109
110
|
pulumi.set(self, "ocean_id", value)
|
|
110
111
|
|
|
111
112
|
@property
|
|
@@ -146,26 +147,26 @@ class OceanLaunchSpecArgs:
|
|
|
146
147
|
|
|
147
148
|
@property
|
|
148
149
|
@pulumi.getter(name="iamInstanceProfile")
|
|
149
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
150
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
150
151
|
"""
|
|
151
152
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
152
153
|
"""
|
|
153
154
|
return pulumi.get(self, "iam_instance_profile")
|
|
154
155
|
|
|
155
156
|
@iam_instance_profile.setter
|
|
156
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
157
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
157
158
|
pulumi.set(self, "iam_instance_profile", value)
|
|
158
159
|
|
|
159
160
|
@property
|
|
160
161
|
@pulumi.getter(name="imageId")
|
|
161
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
162
|
+
def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
162
163
|
"""
|
|
163
164
|
ID of the image used to launch the instances.
|
|
164
165
|
"""
|
|
165
166
|
return pulumi.get(self, "image_id")
|
|
166
167
|
|
|
167
168
|
@image_id.setter
|
|
168
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
169
|
+
def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
169
170
|
pulumi.set(self, "image_id", value)
|
|
170
171
|
|
|
171
172
|
@property
|
|
@@ -194,50 +195,50 @@ class OceanLaunchSpecArgs:
|
|
|
194
195
|
|
|
195
196
|
@property
|
|
196
197
|
@pulumi.getter(name="instanceTypes")
|
|
197
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
198
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
198
199
|
"""
|
|
199
200
|
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
200
201
|
"""
|
|
201
202
|
return pulumi.get(self, "instance_types")
|
|
202
203
|
|
|
203
204
|
@instance_types.setter
|
|
204
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
205
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
205
206
|
pulumi.set(self, "instance_types", value)
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter
|
|
209
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
210
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
210
211
|
"""
|
|
211
212
|
The Ocean Launch Specification name.
|
|
212
213
|
"""
|
|
213
214
|
return pulumi.get(self, "name")
|
|
214
215
|
|
|
215
216
|
@name.setter
|
|
216
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
217
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
217
218
|
pulumi.set(self, "name", value)
|
|
218
219
|
|
|
219
220
|
@property
|
|
220
221
|
@pulumi.getter(name="preferredSpotTypes")
|
|
221
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
222
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
222
223
|
"""
|
|
223
224
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
224
225
|
"""
|
|
225
226
|
return pulumi.get(self, "preferred_spot_types")
|
|
226
227
|
|
|
227
228
|
@preferred_spot_types.setter
|
|
228
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
229
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
229
230
|
pulumi.set(self, "preferred_spot_types", value)
|
|
230
231
|
|
|
231
232
|
@property
|
|
232
233
|
@pulumi.getter(name="restrictScaleDown")
|
|
233
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
234
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
234
235
|
"""
|
|
235
236
|
Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
236
237
|
"""
|
|
237
238
|
return pulumi.get(self, "restrict_scale_down")
|
|
238
239
|
|
|
239
240
|
@restrict_scale_down.setter
|
|
240
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
241
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
241
242
|
pulumi.set(self, "restrict_scale_down", value)
|
|
242
243
|
|
|
243
244
|
@property
|
|
@@ -254,14 +255,14 @@ class OceanLaunchSpecArgs:
|
|
|
254
255
|
|
|
255
256
|
@property
|
|
256
257
|
@pulumi.getter(name="securityGroupIds")
|
|
257
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
258
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
258
259
|
"""
|
|
259
260
|
One or more security group ids.
|
|
260
261
|
"""
|
|
261
262
|
return pulumi.get(self, "security_group_ids")
|
|
262
263
|
|
|
263
264
|
@security_group_ids.setter
|
|
264
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
265
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
265
266
|
pulumi.set(self, "security_group_ids", value)
|
|
266
267
|
|
|
267
268
|
@property
|
|
@@ -278,14 +279,14 @@ class OceanLaunchSpecArgs:
|
|
|
278
279
|
|
|
279
280
|
@property
|
|
280
281
|
@pulumi.getter(name="subnetIds")
|
|
281
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
282
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
282
283
|
"""
|
|
283
284
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
284
285
|
"""
|
|
285
286
|
return pulumi.get(self, "subnet_ids")
|
|
286
287
|
|
|
287
288
|
@subnet_ids.setter
|
|
288
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
289
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
289
290
|
pulumi.set(self, "subnet_ids", value)
|
|
290
291
|
|
|
291
292
|
@property
|
|
@@ -302,14 +303,14 @@ class OceanLaunchSpecArgs:
|
|
|
302
303
|
|
|
303
304
|
@property
|
|
304
305
|
@pulumi.getter(name="userData")
|
|
305
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
306
|
+
def user_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
306
307
|
"""
|
|
307
308
|
Base64-encoded MIME user data to make available to the instances.
|
|
308
309
|
"""
|
|
309
310
|
return pulumi.get(self, "user_data")
|
|
310
311
|
|
|
311
312
|
@user_data.setter
|
|
312
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
313
|
+
def user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
313
314
|
pulumi.set(self, "user_data", value)
|
|
314
315
|
|
|
315
316
|
|
|
@@ -319,41 +320,41 @@ class _OceanLaunchSpecState:
|
|
|
319
320
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
320
321
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
321
322
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
|
|
322
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
323
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
323
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
324
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
324
325
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
325
326
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
326
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
327
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
328
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
329
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
330
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
327
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
328
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
329
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
330
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
331
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
331
332
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
332
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
333
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
333
334
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
334
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
335
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
335
336
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
336
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
337
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None):
|
|
337
338
|
"""
|
|
338
339
|
Input properties used for looking up and filtering OceanLaunchSpec resources.
|
|
339
340
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
340
341
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
341
342
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
|
|
342
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
343
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
343
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
344
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
344
345
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]] images: You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element
|
|
345
346
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
346
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
347
|
-
:param pulumi.Input[str] name: The Ocean Launch Specification name.
|
|
348
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID .
|
|
349
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
350
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
347
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
348
|
+
:param pulumi.Input[builtins.str] name: The Ocean Launch Specification name.
|
|
349
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID .
|
|
350
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
351
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
351
352
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
352
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more security group ids.
|
|
353
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: One or more security group ids.
|
|
353
354
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]] strategies: Similar to a strategy for an Ocean cluster, but applying only to a virtual node group.
|
|
354
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
355
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
355
356
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
356
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
357
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
357
358
|
"""
|
|
358
359
|
if attributes is not None:
|
|
359
360
|
pulumi.set(__self__, "attributes", attributes)
|
|
@@ -430,26 +431,26 @@ class _OceanLaunchSpecState:
|
|
|
430
431
|
|
|
431
432
|
@property
|
|
432
433
|
@pulumi.getter(name="iamInstanceProfile")
|
|
433
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
434
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
434
435
|
"""
|
|
435
436
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
436
437
|
"""
|
|
437
438
|
return pulumi.get(self, "iam_instance_profile")
|
|
438
439
|
|
|
439
440
|
@iam_instance_profile.setter
|
|
440
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
441
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
441
442
|
pulumi.set(self, "iam_instance_profile", value)
|
|
442
443
|
|
|
443
444
|
@property
|
|
444
445
|
@pulumi.getter(name="imageId")
|
|
445
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
446
|
+
def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
446
447
|
"""
|
|
447
448
|
ID of the image used to launch the instances.
|
|
448
449
|
"""
|
|
449
450
|
return pulumi.get(self, "image_id")
|
|
450
451
|
|
|
451
452
|
@image_id.setter
|
|
452
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
453
|
+
def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
453
454
|
pulumi.set(self, "image_id", value)
|
|
454
455
|
|
|
455
456
|
@property
|
|
@@ -478,62 +479,62 @@ class _OceanLaunchSpecState:
|
|
|
478
479
|
|
|
479
480
|
@property
|
|
480
481
|
@pulumi.getter(name="instanceTypes")
|
|
481
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
482
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
482
483
|
"""
|
|
483
484
|
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
484
485
|
"""
|
|
485
486
|
return pulumi.get(self, "instance_types")
|
|
486
487
|
|
|
487
488
|
@instance_types.setter
|
|
488
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
489
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
489
490
|
pulumi.set(self, "instance_types", value)
|
|
490
491
|
|
|
491
492
|
@property
|
|
492
493
|
@pulumi.getter
|
|
493
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
494
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
494
495
|
"""
|
|
495
496
|
The Ocean Launch Specification name.
|
|
496
497
|
"""
|
|
497
498
|
return pulumi.get(self, "name")
|
|
498
499
|
|
|
499
500
|
@name.setter
|
|
500
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
501
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
501
502
|
pulumi.set(self, "name", value)
|
|
502
503
|
|
|
503
504
|
@property
|
|
504
505
|
@pulumi.getter(name="oceanId")
|
|
505
|
-
def ocean_id(self) -> Optional[pulumi.Input[str]]:
|
|
506
|
+
def ocean_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
506
507
|
"""
|
|
507
508
|
The Ocean cluster ID .
|
|
508
509
|
"""
|
|
509
510
|
return pulumi.get(self, "ocean_id")
|
|
510
511
|
|
|
511
512
|
@ocean_id.setter
|
|
512
|
-
def ocean_id(self, value: Optional[pulumi.Input[str]]):
|
|
513
|
+
def ocean_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
513
514
|
pulumi.set(self, "ocean_id", value)
|
|
514
515
|
|
|
515
516
|
@property
|
|
516
517
|
@pulumi.getter(name="preferredSpotTypes")
|
|
517
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
518
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
518
519
|
"""
|
|
519
520
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
520
521
|
"""
|
|
521
522
|
return pulumi.get(self, "preferred_spot_types")
|
|
522
523
|
|
|
523
524
|
@preferred_spot_types.setter
|
|
524
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
525
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
525
526
|
pulumi.set(self, "preferred_spot_types", value)
|
|
526
527
|
|
|
527
528
|
@property
|
|
528
529
|
@pulumi.getter(name="restrictScaleDown")
|
|
529
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
530
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
530
531
|
"""
|
|
531
532
|
Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
532
533
|
"""
|
|
533
534
|
return pulumi.get(self, "restrict_scale_down")
|
|
534
535
|
|
|
535
536
|
@restrict_scale_down.setter
|
|
536
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
537
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
537
538
|
pulumi.set(self, "restrict_scale_down", value)
|
|
538
539
|
|
|
539
540
|
@property
|
|
@@ -550,14 +551,14 @@ class _OceanLaunchSpecState:
|
|
|
550
551
|
|
|
551
552
|
@property
|
|
552
553
|
@pulumi.getter(name="securityGroupIds")
|
|
553
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
554
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
554
555
|
"""
|
|
555
556
|
One or more security group ids.
|
|
556
557
|
"""
|
|
557
558
|
return pulumi.get(self, "security_group_ids")
|
|
558
559
|
|
|
559
560
|
@security_group_ids.setter
|
|
560
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
561
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
561
562
|
pulumi.set(self, "security_group_ids", value)
|
|
562
563
|
|
|
563
564
|
@property
|
|
@@ -574,14 +575,14 @@ class _OceanLaunchSpecState:
|
|
|
574
575
|
|
|
575
576
|
@property
|
|
576
577
|
@pulumi.getter(name="subnetIds")
|
|
577
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
578
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
578
579
|
"""
|
|
579
580
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
580
581
|
"""
|
|
581
582
|
return pulumi.get(self, "subnet_ids")
|
|
582
583
|
|
|
583
584
|
@subnet_ids.setter
|
|
584
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
585
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
585
586
|
pulumi.set(self, "subnet_ids", value)
|
|
586
587
|
|
|
587
588
|
@property
|
|
@@ -598,14 +599,14 @@ class _OceanLaunchSpecState:
|
|
|
598
599
|
|
|
599
600
|
@property
|
|
600
601
|
@pulumi.getter(name="userData")
|
|
601
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
602
|
+
def user_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
602
603
|
"""
|
|
603
604
|
Base64-encoded MIME user data to make available to the instances.
|
|
604
605
|
"""
|
|
605
606
|
return pulumi.get(self, "user_data")
|
|
606
607
|
|
|
607
608
|
@user_data.setter
|
|
608
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
609
|
+
def user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
609
610
|
pulumi.set(self, "user_data", value)
|
|
610
611
|
|
|
611
612
|
|
|
@@ -617,21 +618,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
617
618
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
618
619
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
619
620
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
620
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
621
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
621
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
622
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
622
623
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
623
624
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
624
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
625
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
626
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
627
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
628
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
625
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
626
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
627
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
628
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
629
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
629
630
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
630
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
631
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
631
632
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
632
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
633
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
633
634
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
634
|
-
user_data: Optional[pulumi.Input[str]] = None,
|
|
635
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
635
636
|
__props__=None):
|
|
636
637
|
"""
|
|
637
638
|
Manages a custom Spotinst Ocean ECS Launch Spec resource.
|
|
@@ -744,21 +745,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
744
745
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
745
746
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
746
747
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
|
|
747
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
748
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
748
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
749
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
749
750
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]] images: You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element
|
|
750
751
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
751
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
752
|
-
:param pulumi.Input[str] name: The Ocean Launch Specification name.
|
|
753
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID .
|
|
754
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
755
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
752
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
753
|
+
:param pulumi.Input[builtins.str] name: The Ocean Launch Specification name.
|
|
754
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID .
|
|
755
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
756
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
756
757
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
757
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more security group ids.
|
|
758
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: One or more security group ids.
|
|
758
759
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]] strategies: Similar to a strategy for an Ocean cluster, but applying only to a virtual node group.
|
|
759
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
760
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
760
761
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
761
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
762
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
762
763
|
"""
|
|
763
764
|
...
|
|
764
765
|
@overload
|
|
@@ -890,21 +891,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
890
891
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
891
892
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
892
893
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
893
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
894
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
894
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
895
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
895
896
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
896
897
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
897
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
898
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
899
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
900
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
901
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
898
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
899
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
900
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
901
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
902
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
902
903
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
903
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
904
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
904
905
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
905
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
906
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
906
907
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
907
|
-
user_data: Optional[pulumi.Input[str]] = None,
|
|
908
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
908
909
|
__props__=None):
|
|
909
910
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
910
911
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -947,21 +948,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
947
948
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
948
949
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
949
950
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
950
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
951
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
951
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
952
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
952
953
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
953
954
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
954
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
955
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
956
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
957
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
958
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
955
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
956
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
957
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
958
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
959
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
959
960
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
960
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
961
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
961
962
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
962
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
963
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
963
964
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
964
|
-
user_data: Optional[pulumi.Input[str]] = None) -> 'OceanLaunchSpec':
|
|
965
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None) -> 'OceanLaunchSpec':
|
|
965
966
|
"""
|
|
966
967
|
Get an existing OceanLaunchSpec resource's state with the given name, id, and optional extra
|
|
967
968
|
properties used to qualify the lookup.
|
|
@@ -972,21 +973,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
972
973
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
973
974
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
974
975
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]] block_device_mappings: Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
|
|
975
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
976
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
976
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
977
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
977
978
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]] images: You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element
|
|
978
979
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
979
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
980
|
-
:param pulumi.Input[str] name: The Ocean Launch Specification name.
|
|
981
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID .
|
|
982
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
983
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
980
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
981
|
+
:param pulumi.Input[builtins.str] name: The Ocean Launch Specification name.
|
|
982
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID .
|
|
983
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
984
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
984
985
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
985
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_group_ids: One or more security group ids.
|
|
986
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_group_ids: One or more security group ids.
|
|
986
987
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]] strategies: Similar to a strategy for an Ocean cluster, but applying only to a virtual node group.
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
988
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
988
989
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
989
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
990
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
990
991
|
"""
|
|
991
992
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
992
993
|
|
|
@@ -1038,7 +1039,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1038
1039
|
|
|
1039
1040
|
@property
|
|
1040
1041
|
@pulumi.getter(name="iamInstanceProfile")
|
|
1041
|
-
def iam_instance_profile(self) -> pulumi.Output[Optional[str]]:
|
|
1042
|
+
def iam_instance_profile(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1042
1043
|
"""
|
|
1043
1044
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1044
1045
|
"""
|
|
@@ -1046,7 +1047,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1046
1047
|
|
|
1047
1048
|
@property
|
|
1048
1049
|
@pulumi.getter(name="imageId")
|
|
1049
|
-
def image_id(self) -> pulumi.Output[Optional[str]]:
|
|
1050
|
+
def image_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1050
1051
|
"""
|
|
1051
1052
|
ID of the image used to launch the instances.
|
|
1052
1053
|
"""
|
|
@@ -1070,7 +1071,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1070
1071
|
|
|
1071
1072
|
@property
|
|
1072
1073
|
@pulumi.getter(name="instanceTypes")
|
|
1073
|
-
def instance_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1074
|
+
def instance_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1074
1075
|
"""
|
|
1075
1076
|
A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the Ocean cluster.
|
|
1076
1077
|
"""
|
|
@@ -1078,7 +1079,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1078
1079
|
|
|
1079
1080
|
@property
|
|
1080
1081
|
@pulumi.getter
|
|
1081
|
-
def name(self) -> pulumi.Output[str]:
|
|
1082
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1082
1083
|
"""
|
|
1083
1084
|
The Ocean Launch Specification name.
|
|
1084
1085
|
"""
|
|
@@ -1086,7 +1087,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1086
1087
|
|
|
1087
1088
|
@property
|
|
1088
1089
|
@pulumi.getter(name="oceanId")
|
|
1089
|
-
def ocean_id(self) -> pulumi.Output[str]:
|
|
1090
|
+
def ocean_id(self) -> pulumi.Output[builtins.str]:
|
|
1090
1091
|
"""
|
|
1091
1092
|
The Ocean cluster ID .
|
|
1092
1093
|
"""
|
|
@@ -1094,7 +1095,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1094
1095
|
|
|
1095
1096
|
@property
|
|
1096
1097
|
@pulumi.getter(name="preferredSpotTypes")
|
|
1097
|
-
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1098
|
+
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1098
1099
|
"""
|
|
1099
1100
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1100
1101
|
"""
|
|
@@ -1102,7 +1103,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1102
1103
|
|
|
1103
1104
|
@property
|
|
1104
1105
|
@pulumi.getter(name="restrictScaleDown")
|
|
1105
|
-
def restrict_scale_down(self) -> pulumi.Output[Optional[bool]]:
|
|
1106
|
+
def restrict_scale_down(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1106
1107
|
"""
|
|
1107
1108
|
Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1108
1109
|
"""
|
|
@@ -1118,7 +1119,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1118
1119
|
|
|
1119
1120
|
@property
|
|
1120
1121
|
@pulumi.getter(name="securityGroupIds")
|
|
1121
|
-
def security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1122
|
+
def security_group_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1122
1123
|
"""
|
|
1123
1124
|
One or more security group ids.
|
|
1124
1125
|
"""
|
|
@@ -1134,7 +1135,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1134
1135
|
|
|
1135
1136
|
@property
|
|
1136
1137
|
@pulumi.getter(name="subnetIds")
|
|
1137
|
-
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1138
|
+
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1138
1139
|
"""
|
|
1139
1140
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
1140
1141
|
"""
|
|
@@ -1150,7 +1151,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1150
1151
|
|
|
1151
1152
|
@property
|
|
1152
1153
|
@pulumi.getter(name="userData")
|
|
1153
|
-
def user_data(self) -> pulumi.Output[Optional[str]]:
|
|
1154
|
+
def user_data(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1154
1155
|
"""
|
|
1155
1156
|
Base64-encoded MIME user data to make available to the instances.
|
|
1156
1157
|
"""
|