pulumi-spotinst 3.112.0a1741317810__py3-none-any.whl → 3.128.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2283 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +4047 -3607
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +970 -924
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +668 -526
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +439 -297
- pulumi_spotinst/aws/outputs.py +2697 -2363
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +288 -216
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1539 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +340 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/METADATA +4 -4
- pulumi_spotinst-3.128.0.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.112.0a1741317810.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -21,44 +21,44 @@ __all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
|
|
|
21
21
|
@pulumi.input_type
|
|
22
22
|
class OceanLaunchSpecArgs:
|
|
23
23
|
def __init__(__self__, *,
|
|
24
|
-
ocean_id: pulumi.Input[str],
|
|
24
|
+
ocean_id: pulumi.Input[_builtins.str],
|
|
25
25
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
26
26
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
27
27
|
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,
|
|
28
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
30
30
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
31
31
|
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,
|
|
32
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
33
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
34
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
35
|
+
restrict_scale_down: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
36
36
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
37
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
37
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
38
38
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
39
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
40
40
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
41
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
41
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None):
|
|
42
42
|
"""
|
|
43
43
|
The set of arguments for constructing a OceanLaunchSpec resource.
|
|
44
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID .
|
|
44
|
+
:param pulumi.Input[_builtins.str] ocean_id: The Ocean cluster ID .
|
|
45
45
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
47
47
|
: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.
|
|
48
|
+
:param pulumi.Input[_builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
49
|
+
:param pulumi.Input[_builtins.str] image_id: ID of the image used to launch the instances.
|
|
50
50
|
: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
51
|
: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.
|
|
52
|
+
: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.
|
|
53
|
+
:param pulumi.Input[_builtins.str] name: The Ocean Launch Specification name.
|
|
54
|
+
: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.
|
|
55
|
+
: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
56
|
: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.
|
|
57
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
58
58
|
: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.
|
|
59
|
+
: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
60
|
: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.
|
|
61
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
62
62
|
"""
|
|
63
63
|
pulumi.set(__self__, "ocean_id", ocean_id)
|
|
64
64
|
if attributes is not None:
|
|
@@ -96,19 +96,19 @@ class OceanLaunchSpecArgs:
|
|
|
96
96
|
if user_data is not None:
|
|
97
97
|
pulumi.set(__self__, "user_data", user_data)
|
|
98
98
|
|
|
99
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
100
100
|
@pulumi.getter(name="oceanId")
|
|
101
|
-
def ocean_id(self) -> pulumi.Input[str]:
|
|
101
|
+
def ocean_id(self) -> pulumi.Input[_builtins.str]:
|
|
102
102
|
"""
|
|
103
103
|
The Ocean cluster ID .
|
|
104
104
|
"""
|
|
105
105
|
return pulumi.get(self, "ocean_id")
|
|
106
106
|
|
|
107
107
|
@ocean_id.setter
|
|
108
|
-
def ocean_id(self, value: pulumi.Input[str]):
|
|
108
|
+
def ocean_id(self, value: pulumi.Input[_builtins.str]):
|
|
109
109
|
pulumi.set(self, "ocean_id", value)
|
|
110
110
|
|
|
111
|
-
@property
|
|
111
|
+
@_builtins.property
|
|
112
112
|
@pulumi.getter
|
|
113
113
|
def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]:
|
|
114
114
|
"""
|
|
@@ -120,7 +120,7 @@ class OceanLaunchSpecArgs:
|
|
|
120
120
|
def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]):
|
|
121
121
|
pulumi.set(self, "attributes", value)
|
|
122
122
|
|
|
123
|
-
@property
|
|
123
|
+
@_builtins.property
|
|
124
124
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
125
125
|
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
|
|
126
126
|
"""
|
|
@@ -132,7 +132,7 @@ class OceanLaunchSpecArgs:
|
|
|
132
132
|
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
|
|
133
133
|
pulumi.set(self, "autoscale_headrooms", value)
|
|
134
134
|
|
|
135
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
136
136
|
@pulumi.getter(name="blockDeviceMappings")
|
|
137
137
|
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
|
|
138
138
|
"""
|
|
@@ -144,31 +144,31 @@ class OceanLaunchSpecArgs:
|
|
|
144
144
|
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
|
|
145
145
|
pulumi.set(self, "block_device_mappings", value)
|
|
146
146
|
|
|
147
|
-
@property
|
|
147
|
+
@_builtins.property
|
|
148
148
|
@pulumi.getter(name="iamInstanceProfile")
|
|
149
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
150
|
"""
|
|
151
151
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
152
152
|
"""
|
|
153
153
|
return pulumi.get(self, "iam_instance_profile")
|
|
154
154
|
|
|
155
155
|
@iam_instance_profile.setter
|
|
156
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
157
|
pulumi.set(self, "iam_instance_profile", value)
|
|
158
158
|
|
|
159
|
-
@property
|
|
159
|
+
@_builtins.property
|
|
160
160
|
@pulumi.getter(name="imageId")
|
|
161
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
+
def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
162
|
"""
|
|
163
163
|
ID of the image used to launch the instances.
|
|
164
164
|
"""
|
|
165
165
|
return pulumi.get(self, "image_id")
|
|
166
166
|
|
|
167
167
|
@image_id.setter
|
|
168
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
168
|
+
def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
169
169
|
pulumi.set(self, "image_id", value)
|
|
170
170
|
|
|
171
|
-
@property
|
|
171
|
+
@_builtins.property
|
|
172
172
|
@pulumi.getter
|
|
173
173
|
def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]:
|
|
174
174
|
"""
|
|
@@ -180,7 +180,7 @@ class OceanLaunchSpecArgs:
|
|
|
180
180
|
def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]):
|
|
181
181
|
pulumi.set(self, "images", value)
|
|
182
182
|
|
|
183
|
-
@property
|
|
183
|
+
@_builtins.property
|
|
184
184
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
185
185
|
def instance_metadata_options(self) -> Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]:
|
|
186
186
|
"""
|
|
@@ -192,55 +192,55 @@ class OceanLaunchSpecArgs:
|
|
|
192
192
|
def instance_metadata_options(self, value: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]):
|
|
193
193
|
pulumi.set(self, "instance_metadata_options", value)
|
|
194
194
|
|
|
195
|
-
@property
|
|
195
|
+
@_builtins.property
|
|
196
196
|
@pulumi.getter(name="instanceTypes")
|
|
197
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
197
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
198
198
|
"""
|
|
199
199
|
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
200
|
"""
|
|
201
201
|
return pulumi.get(self, "instance_types")
|
|
202
202
|
|
|
203
203
|
@instance_types.setter
|
|
204
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
204
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
205
205
|
pulumi.set(self, "instance_types", value)
|
|
206
206
|
|
|
207
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
208
208
|
@pulumi.getter
|
|
209
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
209
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
210
210
|
"""
|
|
211
211
|
The Ocean Launch Specification name.
|
|
212
212
|
"""
|
|
213
213
|
return pulumi.get(self, "name")
|
|
214
214
|
|
|
215
215
|
@name.setter
|
|
216
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
216
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
217
217
|
pulumi.set(self, "name", value)
|
|
218
218
|
|
|
219
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
220
220
|
@pulumi.getter(name="preferredSpotTypes")
|
|
221
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
222
222
|
"""
|
|
223
223
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
224
224
|
"""
|
|
225
225
|
return pulumi.get(self, "preferred_spot_types")
|
|
226
226
|
|
|
227
227
|
@preferred_spot_types.setter
|
|
228
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
228
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
229
229
|
pulumi.set(self, "preferred_spot_types", value)
|
|
230
230
|
|
|
231
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
232
232
|
@pulumi.getter(name="restrictScaleDown")
|
|
233
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
233
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
234
234
|
"""
|
|
235
235
|
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
236
|
"""
|
|
237
237
|
return pulumi.get(self, "restrict_scale_down")
|
|
238
238
|
|
|
239
239
|
@restrict_scale_down.setter
|
|
240
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
240
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
241
241
|
pulumi.set(self, "restrict_scale_down", value)
|
|
242
242
|
|
|
243
|
-
@property
|
|
243
|
+
@_builtins.property
|
|
244
244
|
@pulumi.getter(name="schedulingTasks")
|
|
245
245
|
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
|
|
246
246
|
"""
|
|
@@ -252,19 +252,19 @@ class OceanLaunchSpecArgs:
|
|
|
252
252
|
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
|
|
253
253
|
pulumi.set(self, "scheduling_tasks", value)
|
|
254
254
|
|
|
255
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
256
256
|
@pulumi.getter(name="securityGroupIds")
|
|
257
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
257
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
258
258
|
"""
|
|
259
259
|
One or more security group ids.
|
|
260
260
|
"""
|
|
261
261
|
return pulumi.get(self, "security_group_ids")
|
|
262
262
|
|
|
263
263
|
@security_group_ids.setter
|
|
264
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
264
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
265
265
|
pulumi.set(self, "security_group_ids", value)
|
|
266
266
|
|
|
267
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
268
268
|
@pulumi.getter
|
|
269
269
|
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
|
|
270
270
|
"""
|
|
@@ -276,19 +276,19 @@ class OceanLaunchSpecArgs:
|
|
|
276
276
|
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
|
|
277
277
|
pulumi.set(self, "strategies", value)
|
|
278
278
|
|
|
279
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
280
280
|
@pulumi.getter(name="subnetIds")
|
|
281
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
281
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
282
282
|
"""
|
|
283
283
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
284
284
|
"""
|
|
285
285
|
return pulumi.get(self, "subnet_ids")
|
|
286
286
|
|
|
287
287
|
@subnet_ids.setter
|
|
288
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
288
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
289
289
|
pulumi.set(self, "subnet_ids", value)
|
|
290
290
|
|
|
291
|
-
@property
|
|
291
|
+
@_builtins.property
|
|
292
292
|
@pulumi.getter
|
|
293
293
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
|
|
294
294
|
"""
|
|
@@ -300,16 +300,16 @@ class OceanLaunchSpecArgs:
|
|
|
300
300
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
|
|
301
301
|
pulumi.set(self, "tags", value)
|
|
302
302
|
|
|
303
|
-
@property
|
|
303
|
+
@_builtins.property
|
|
304
304
|
@pulumi.getter(name="userData")
|
|
305
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
305
|
+
def user_data(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
306
306
|
"""
|
|
307
307
|
Base64-encoded MIME user data to make available to the instances.
|
|
308
308
|
"""
|
|
309
309
|
return pulumi.get(self, "user_data")
|
|
310
310
|
|
|
311
311
|
@user_data.setter
|
|
312
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
312
|
+
def user_data(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
313
313
|
pulumi.set(self, "user_data", value)
|
|
314
314
|
|
|
315
315
|
|
|
@@ -319,41 +319,41 @@ class _OceanLaunchSpecState:
|
|
|
319
319
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
320
320
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
321
321
|
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,
|
|
322
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
323
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
324
324
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
325
325
|
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,
|
|
326
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
327
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
328
|
+
ocean_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
329
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
330
|
+
restrict_scale_down: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
331
331
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
332
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
332
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
333
333
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
334
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
334
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
335
335
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
336
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
336
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None):
|
|
337
337
|
"""
|
|
338
338
|
Input properties used for looking up and filtering OceanLaunchSpec resources.
|
|
339
339
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
340
340
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
341
341
|
: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.
|
|
342
|
+
:param pulumi.Input[_builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
343
|
+
:param pulumi.Input[_builtins.str] image_id: ID of the image used to launch the instances.
|
|
344
344
|
: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
345
|
: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.
|
|
346
|
+
: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.
|
|
347
|
+
:param pulumi.Input[_builtins.str] name: The Ocean Launch Specification name.
|
|
348
|
+
:param pulumi.Input[_builtins.str] ocean_id: The Ocean cluster ID .
|
|
349
|
+
: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.
|
|
350
|
+
: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
351
|
: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.
|
|
352
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
353
353
|
: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.
|
|
354
|
+
: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
355
|
: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.
|
|
356
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
357
357
|
"""
|
|
358
358
|
if attributes is not None:
|
|
359
359
|
pulumi.set(__self__, "attributes", attributes)
|
|
@@ -392,7 +392,7 @@ class _OceanLaunchSpecState:
|
|
|
392
392
|
if user_data is not None:
|
|
393
393
|
pulumi.set(__self__, "user_data", user_data)
|
|
394
394
|
|
|
395
|
-
@property
|
|
395
|
+
@_builtins.property
|
|
396
396
|
@pulumi.getter
|
|
397
397
|
def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]:
|
|
398
398
|
"""
|
|
@@ -404,7 +404,7 @@ class _OceanLaunchSpecState:
|
|
|
404
404
|
def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]):
|
|
405
405
|
pulumi.set(self, "attributes", value)
|
|
406
406
|
|
|
407
|
-
@property
|
|
407
|
+
@_builtins.property
|
|
408
408
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
409
409
|
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
|
|
410
410
|
"""
|
|
@@ -416,7 +416,7 @@ class _OceanLaunchSpecState:
|
|
|
416
416
|
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
|
|
417
417
|
pulumi.set(self, "autoscale_headrooms", value)
|
|
418
418
|
|
|
419
|
-
@property
|
|
419
|
+
@_builtins.property
|
|
420
420
|
@pulumi.getter(name="blockDeviceMappings")
|
|
421
421
|
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
|
|
422
422
|
"""
|
|
@@ -428,31 +428,31 @@ class _OceanLaunchSpecState:
|
|
|
428
428
|
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
|
|
429
429
|
pulumi.set(self, "block_device_mappings", value)
|
|
430
430
|
|
|
431
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
432
432
|
@pulumi.getter(name="iamInstanceProfile")
|
|
433
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
433
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
434
434
|
"""
|
|
435
435
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
436
436
|
"""
|
|
437
437
|
return pulumi.get(self, "iam_instance_profile")
|
|
438
438
|
|
|
439
439
|
@iam_instance_profile.setter
|
|
440
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
440
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
441
441
|
pulumi.set(self, "iam_instance_profile", value)
|
|
442
442
|
|
|
443
|
-
@property
|
|
443
|
+
@_builtins.property
|
|
444
444
|
@pulumi.getter(name="imageId")
|
|
445
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
445
|
+
def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
446
446
|
"""
|
|
447
447
|
ID of the image used to launch the instances.
|
|
448
448
|
"""
|
|
449
449
|
return pulumi.get(self, "image_id")
|
|
450
450
|
|
|
451
451
|
@image_id.setter
|
|
452
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
452
|
+
def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
453
453
|
pulumi.set(self, "image_id", value)
|
|
454
454
|
|
|
455
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
456
456
|
@pulumi.getter
|
|
457
457
|
def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]:
|
|
458
458
|
"""
|
|
@@ -464,7 +464,7 @@ class _OceanLaunchSpecState:
|
|
|
464
464
|
def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]):
|
|
465
465
|
pulumi.set(self, "images", value)
|
|
466
466
|
|
|
467
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
468
468
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
469
469
|
def instance_metadata_options(self) -> Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]:
|
|
470
470
|
"""
|
|
@@ -476,67 +476,67 @@ class _OceanLaunchSpecState:
|
|
|
476
476
|
def instance_metadata_options(self, value: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]):
|
|
477
477
|
pulumi.set(self, "instance_metadata_options", value)
|
|
478
478
|
|
|
479
|
-
@property
|
|
479
|
+
@_builtins.property
|
|
480
480
|
@pulumi.getter(name="instanceTypes")
|
|
481
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
481
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
482
482
|
"""
|
|
483
483
|
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
484
|
"""
|
|
485
485
|
return pulumi.get(self, "instance_types")
|
|
486
486
|
|
|
487
487
|
@instance_types.setter
|
|
488
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
488
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
489
489
|
pulumi.set(self, "instance_types", value)
|
|
490
490
|
|
|
491
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
492
492
|
@pulumi.getter
|
|
493
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
493
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
494
494
|
"""
|
|
495
495
|
The Ocean Launch Specification name.
|
|
496
496
|
"""
|
|
497
497
|
return pulumi.get(self, "name")
|
|
498
498
|
|
|
499
499
|
@name.setter
|
|
500
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
500
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
501
501
|
pulumi.set(self, "name", value)
|
|
502
502
|
|
|
503
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
504
504
|
@pulumi.getter(name="oceanId")
|
|
505
|
-
def ocean_id(self) -> Optional[pulumi.Input[str]]:
|
|
505
|
+
def ocean_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
506
506
|
"""
|
|
507
507
|
The Ocean cluster ID .
|
|
508
508
|
"""
|
|
509
509
|
return pulumi.get(self, "ocean_id")
|
|
510
510
|
|
|
511
511
|
@ocean_id.setter
|
|
512
|
-
def ocean_id(self, value: Optional[pulumi.Input[str]]):
|
|
512
|
+
def ocean_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
513
513
|
pulumi.set(self, "ocean_id", value)
|
|
514
514
|
|
|
515
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
516
516
|
@pulumi.getter(name="preferredSpotTypes")
|
|
517
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
517
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
518
518
|
"""
|
|
519
519
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
520
520
|
"""
|
|
521
521
|
return pulumi.get(self, "preferred_spot_types")
|
|
522
522
|
|
|
523
523
|
@preferred_spot_types.setter
|
|
524
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
524
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
525
525
|
pulumi.set(self, "preferred_spot_types", value)
|
|
526
526
|
|
|
527
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
528
528
|
@pulumi.getter(name="restrictScaleDown")
|
|
529
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
529
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
530
530
|
"""
|
|
531
531
|
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
532
|
"""
|
|
533
533
|
return pulumi.get(self, "restrict_scale_down")
|
|
534
534
|
|
|
535
535
|
@restrict_scale_down.setter
|
|
536
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
536
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
537
537
|
pulumi.set(self, "restrict_scale_down", value)
|
|
538
538
|
|
|
539
|
-
@property
|
|
539
|
+
@_builtins.property
|
|
540
540
|
@pulumi.getter(name="schedulingTasks")
|
|
541
541
|
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
|
|
542
542
|
"""
|
|
@@ -548,19 +548,19 @@ class _OceanLaunchSpecState:
|
|
|
548
548
|
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
|
|
549
549
|
pulumi.set(self, "scheduling_tasks", value)
|
|
550
550
|
|
|
551
|
-
@property
|
|
551
|
+
@_builtins.property
|
|
552
552
|
@pulumi.getter(name="securityGroupIds")
|
|
553
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
553
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
554
554
|
"""
|
|
555
555
|
One or more security group ids.
|
|
556
556
|
"""
|
|
557
557
|
return pulumi.get(self, "security_group_ids")
|
|
558
558
|
|
|
559
559
|
@security_group_ids.setter
|
|
560
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
560
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
561
561
|
pulumi.set(self, "security_group_ids", value)
|
|
562
562
|
|
|
563
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
564
564
|
@pulumi.getter
|
|
565
565
|
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
|
|
566
566
|
"""
|
|
@@ -572,19 +572,19 @@ class _OceanLaunchSpecState:
|
|
|
572
572
|
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
|
|
573
573
|
pulumi.set(self, "strategies", value)
|
|
574
574
|
|
|
575
|
-
@property
|
|
575
|
+
@_builtins.property
|
|
576
576
|
@pulumi.getter(name="subnetIds")
|
|
577
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
577
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
578
578
|
"""
|
|
579
579
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
580
580
|
"""
|
|
581
581
|
return pulumi.get(self, "subnet_ids")
|
|
582
582
|
|
|
583
583
|
@subnet_ids.setter
|
|
584
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
584
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
585
585
|
pulumi.set(self, "subnet_ids", value)
|
|
586
586
|
|
|
587
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
588
588
|
@pulumi.getter
|
|
589
589
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
|
|
590
590
|
"""
|
|
@@ -596,19 +596,20 @@ class _OceanLaunchSpecState:
|
|
|
596
596
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
|
|
597
597
|
pulumi.set(self, "tags", value)
|
|
598
598
|
|
|
599
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
600
600
|
@pulumi.getter(name="userData")
|
|
601
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
601
|
+
def user_data(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
602
602
|
"""
|
|
603
603
|
Base64-encoded MIME user data to make available to the instances.
|
|
604
604
|
"""
|
|
605
605
|
return pulumi.get(self, "user_data")
|
|
606
606
|
|
|
607
607
|
@user_data.setter
|
|
608
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
608
|
+
def user_data(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
609
609
|
pulumi.set(self, "user_data", value)
|
|
610
610
|
|
|
611
611
|
|
|
612
|
+
@pulumi.type_token("spotinst:ecs/oceanLaunchSpec:OceanLaunchSpec")
|
|
612
613
|
class OceanLaunchSpec(pulumi.CustomResource):
|
|
613
614
|
@overload
|
|
614
615
|
def __init__(__self__,
|
|
@@ -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
|
|
|
@@ -1012,7 +1013,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1012
1013
|
__props__.__dict__["user_data"] = user_data
|
|
1013
1014
|
return OceanLaunchSpec(resource_name, opts=opts, __props__=__props__)
|
|
1014
1015
|
|
|
1015
|
-
@property
|
|
1016
|
+
@_builtins.property
|
|
1016
1017
|
@pulumi.getter
|
|
1017
1018
|
def attributes(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecAttribute']]]:
|
|
1018
1019
|
"""
|
|
@@ -1020,7 +1021,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1020
1021
|
"""
|
|
1021
1022
|
return pulumi.get(self, "attributes")
|
|
1022
1023
|
|
|
1023
|
-
@property
|
|
1024
|
+
@_builtins.property
|
|
1024
1025
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
1025
1026
|
def autoscale_headrooms(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecAutoscaleHeadroom']]]:
|
|
1026
1027
|
"""
|
|
@@ -1028,7 +1029,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1028
1029
|
"""
|
|
1029
1030
|
return pulumi.get(self, "autoscale_headrooms")
|
|
1030
1031
|
|
|
1031
|
-
@property
|
|
1032
|
+
@_builtins.property
|
|
1032
1033
|
@pulumi.getter(name="blockDeviceMappings")
|
|
1033
1034
|
def block_device_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecBlockDeviceMapping']]]:
|
|
1034
1035
|
"""
|
|
@@ -1036,23 +1037,23 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1036
1037
|
"""
|
|
1037
1038
|
return pulumi.get(self, "block_device_mappings")
|
|
1038
1039
|
|
|
1039
|
-
@property
|
|
1040
|
+
@_builtins.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
|
"""
|
|
1045
1046
|
return pulumi.get(self, "iam_instance_profile")
|
|
1046
1047
|
|
|
1047
|
-
@property
|
|
1048
|
+
@_builtins.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
|
"""
|
|
1053
1054
|
return pulumi.get(self, "image_id")
|
|
1054
1055
|
|
|
1055
|
-
@property
|
|
1056
|
+
@_builtins.property
|
|
1056
1057
|
@pulumi.getter
|
|
1057
1058
|
def images(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecImage']]]:
|
|
1058
1059
|
"""
|
|
@@ -1060,7 +1061,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1060
1061
|
"""
|
|
1061
1062
|
return pulumi.get(self, "images")
|
|
1062
1063
|
|
|
1063
|
-
@property
|
|
1064
|
+
@_builtins.property
|
|
1064
1065
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
1065
1066
|
def instance_metadata_options(self) -> pulumi.Output[Optional['outputs.OceanLaunchSpecInstanceMetadataOptions']]:
|
|
1066
1067
|
"""
|
|
@@ -1068,47 +1069,47 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1068
1069
|
"""
|
|
1069
1070
|
return pulumi.get(self, "instance_metadata_options")
|
|
1070
1071
|
|
|
1071
|
-
@property
|
|
1072
|
+
@_builtins.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
|
"""
|
|
1077
1078
|
return pulumi.get(self, "instance_types")
|
|
1078
1079
|
|
|
1079
|
-
@property
|
|
1080
|
+
@_builtins.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
|
"""
|
|
1085
1086
|
return pulumi.get(self, "name")
|
|
1086
1087
|
|
|
1087
|
-
@property
|
|
1088
|
+
@_builtins.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
|
"""
|
|
1093
1094
|
return pulumi.get(self, "ocean_id")
|
|
1094
1095
|
|
|
1095
|
-
@property
|
|
1096
|
+
@_builtins.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
|
"""
|
|
1101
1102
|
return pulumi.get(self, "preferred_spot_types")
|
|
1102
1103
|
|
|
1103
|
-
@property
|
|
1104
|
+
@_builtins.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
|
"""
|
|
1109
1110
|
return pulumi.get(self, "restrict_scale_down")
|
|
1110
1111
|
|
|
1111
|
-
@property
|
|
1112
|
+
@_builtins.property
|
|
1112
1113
|
@pulumi.getter(name="schedulingTasks")
|
|
1113
1114
|
def scheduling_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecSchedulingTask']]]:
|
|
1114
1115
|
"""
|
|
@@ -1116,15 +1117,15 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1116
1117
|
"""
|
|
1117
1118
|
return pulumi.get(self, "scheduling_tasks")
|
|
1118
1119
|
|
|
1119
|
-
@property
|
|
1120
|
+
@_builtins.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
|
"""
|
|
1125
1126
|
return pulumi.get(self, "security_group_ids")
|
|
1126
1127
|
|
|
1127
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1128
1129
|
@pulumi.getter
|
|
1129
1130
|
def strategies(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecStrategy']]]:
|
|
1130
1131
|
"""
|
|
@@ -1132,15 +1133,15 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1132
1133
|
"""
|
|
1133
1134
|
return pulumi.get(self, "strategies")
|
|
1134
1135
|
|
|
1135
|
-
@property
|
|
1136
|
+
@_builtins.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
|
"""
|
|
1141
1142
|
return pulumi.get(self, "subnet_ids")
|
|
1142
1143
|
|
|
1143
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1144
1145
|
@pulumi.getter
|
|
1145
1146
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecTag']]]:
|
|
1146
1147
|
"""
|
|
@@ -1148,9 +1149,9 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1148
1149
|
"""
|
|
1149
1150
|
return pulumi.get(self, "tags")
|
|
1150
1151
|
|
|
1151
|
-
@property
|
|
1152
|
+
@_builtins.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
|
"""
|