pulumi-spotinst 3.124.0a1752907291__py3-none-any.whl → 3.124.0a1753398242__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +531 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0a1753398242.dist-info/RECORD +77 -0
- pulumi_spotinst-3.124.0a1752907291.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.124.0a1752907291.dist-info → pulumi_spotinst-3.124.0a1753398242.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,44 +21,44 @@ __all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class OceanLaunchSpecArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
ocean_id: pulumi.Input[
|
|
24
|
+
ocean_id: pulumi.Input[_builtins.str],
|
|
26
25
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
27
26
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
28
27
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
|
|
29
|
-
iam_instance_profile: Optional[pulumi.Input[
|
|
30
|
-
image_id: Optional[pulumi.Input[
|
|
28
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
32
31
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
33
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
34
|
-
name: Optional[pulumi.Input[
|
|
35
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
36
|
-
restrict_scale_down: Optional[pulumi.Input[
|
|
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,
|
|
37
36
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
38
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
37
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
39
38
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
40
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
39
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
41
40
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
42
|
-
user_data: Optional[pulumi.Input[
|
|
41
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None):
|
|
43
42
|
"""
|
|
44
43
|
The set of arguments for constructing a OceanLaunchSpec resource.
|
|
45
|
-
:param pulumi.Input[
|
|
44
|
+
:param pulumi.Input[_builtins.str] ocean_id: The Ocean cluster ID .
|
|
46
45
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
47
46
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
48
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.
|
|
49
|
-
:param pulumi.Input[
|
|
50
|
-
:param pulumi.Input[
|
|
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.
|
|
51
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
|
|
52
51
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
53
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
54
|
-
:param pulumi.Input[
|
|
55
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
56
|
-
:param pulumi.Input[
|
|
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.
|
|
57
56
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
58
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
57
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
59
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.
|
|
60
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
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.
|
|
61
60
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
62
|
-
:param pulumi.Input[
|
|
61
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
63
62
|
"""
|
|
64
63
|
pulumi.set(__self__, "ocean_id", ocean_id)
|
|
65
64
|
if attributes is not None:
|
|
@@ -97,19 +96,19 @@ class OceanLaunchSpecArgs:
|
|
|
97
96
|
if user_data is not None:
|
|
98
97
|
pulumi.set(__self__, "user_data", user_data)
|
|
99
98
|
|
|
100
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
101
100
|
@pulumi.getter(name="oceanId")
|
|
102
|
-
def ocean_id(self) -> pulumi.Input[
|
|
101
|
+
def ocean_id(self) -> pulumi.Input[_builtins.str]:
|
|
103
102
|
"""
|
|
104
103
|
The Ocean cluster ID .
|
|
105
104
|
"""
|
|
106
105
|
return pulumi.get(self, "ocean_id")
|
|
107
106
|
|
|
108
107
|
@ocean_id.setter
|
|
109
|
-
def ocean_id(self, value: pulumi.Input[
|
|
108
|
+
def ocean_id(self, value: pulumi.Input[_builtins.str]):
|
|
110
109
|
pulumi.set(self, "ocean_id", value)
|
|
111
110
|
|
|
112
|
-
@property
|
|
111
|
+
@_builtins.property
|
|
113
112
|
@pulumi.getter
|
|
114
113
|
def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]:
|
|
115
114
|
"""
|
|
@@ -121,7 +120,7 @@ class OceanLaunchSpecArgs:
|
|
|
121
120
|
def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]):
|
|
122
121
|
pulumi.set(self, "attributes", value)
|
|
123
122
|
|
|
124
|
-
@property
|
|
123
|
+
@_builtins.property
|
|
125
124
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
126
125
|
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
|
|
127
126
|
"""
|
|
@@ -133,7 +132,7 @@ class OceanLaunchSpecArgs:
|
|
|
133
132
|
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
|
|
134
133
|
pulumi.set(self, "autoscale_headrooms", value)
|
|
135
134
|
|
|
136
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
137
136
|
@pulumi.getter(name="blockDeviceMappings")
|
|
138
137
|
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
|
|
139
138
|
"""
|
|
@@ -145,31 +144,31 @@ class OceanLaunchSpecArgs:
|
|
|
145
144
|
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
|
|
146
145
|
pulumi.set(self, "block_device_mappings", value)
|
|
147
146
|
|
|
148
|
-
@property
|
|
147
|
+
@_builtins.property
|
|
149
148
|
@pulumi.getter(name="iamInstanceProfile")
|
|
150
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[
|
|
149
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
151
150
|
"""
|
|
152
151
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
153
152
|
"""
|
|
154
153
|
return pulumi.get(self, "iam_instance_profile")
|
|
155
154
|
|
|
156
155
|
@iam_instance_profile.setter
|
|
157
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[
|
|
156
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
158
157
|
pulumi.set(self, "iam_instance_profile", value)
|
|
159
158
|
|
|
160
|
-
@property
|
|
159
|
+
@_builtins.property
|
|
161
160
|
@pulumi.getter(name="imageId")
|
|
162
|
-
def image_id(self) -> Optional[pulumi.Input[
|
|
161
|
+
def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
163
162
|
"""
|
|
164
163
|
ID of the image used to launch the instances.
|
|
165
164
|
"""
|
|
166
165
|
return pulumi.get(self, "image_id")
|
|
167
166
|
|
|
168
167
|
@image_id.setter
|
|
169
|
-
def image_id(self, value: Optional[pulumi.Input[
|
|
168
|
+
def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
170
169
|
pulumi.set(self, "image_id", value)
|
|
171
170
|
|
|
172
|
-
@property
|
|
171
|
+
@_builtins.property
|
|
173
172
|
@pulumi.getter
|
|
174
173
|
def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]:
|
|
175
174
|
"""
|
|
@@ -181,7 +180,7 @@ class OceanLaunchSpecArgs:
|
|
|
181
180
|
def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]):
|
|
182
181
|
pulumi.set(self, "images", value)
|
|
183
182
|
|
|
184
|
-
@property
|
|
183
|
+
@_builtins.property
|
|
185
184
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
186
185
|
def instance_metadata_options(self) -> Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]:
|
|
187
186
|
"""
|
|
@@ -193,55 +192,55 @@ class OceanLaunchSpecArgs:
|
|
|
193
192
|
def instance_metadata_options(self, value: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]):
|
|
194
193
|
pulumi.set(self, "instance_metadata_options", value)
|
|
195
194
|
|
|
196
|
-
@property
|
|
195
|
+
@_builtins.property
|
|
197
196
|
@pulumi.getter(name="instanceTypes")
|
|
198
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
197
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
199
198
|
"""
|
|
200
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.
|
|
201
200
|
"""
|
|
202
201
|
return pulumi.get(self, "instance_types")
|
|
203
202
|
|
|
204
203
|
@instance_types.setter
|
|
205
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
204
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
206
205
|
pulumi.set(self, "instance_types", value)
|
|
207
206
|
|
|
208
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
209
208
|
@pulumi.getter
|
|
210
|
-
def name(self) -> Optional[pulumi.Input[
|
|
209
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
211
210
|
"""
|
|
212
211
|
The Ocean Launch Specification name.
|
|
213
212
|
"""
|
|
214
213
|
return pulumi.get(self, "name")
|
|
215
214
|
|
|
216
215
|
@name.setter
|
|
217
|
-
def name(self, value: Optional[pulumi.Input[
|
|
216
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
218
217
|
pulumi.set(self, "name", value)
|
|
219
218
|
|
|
220
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
221
220
|
@pulumi.getter(name="preferredSpotTypes")
|
|
222
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
221
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
223
222
|
"""
|
|
224
223
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
225
224
|
"""
|
|
226
225
|
return pulumi.get(self, "preferred_spot_types")
|
|
227
226
|
|
|
228
227
|
@preferred_spot_types.setter
|
|
229
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
228
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
230
229
|
pulumi.set(self, "preferred_spot_types", value)
|
|
231
230
|
|
|
232
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
233
232
|
@pulumi.getter(name="restrictScaleDown")
|
|
234
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[
|
|
233
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
235
234
|
"""
|
|
236
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.
|
|
237
236
|
"""
|
|
238
237
|
return pulumi.get(self, "restrict_scale_down")
|
|
239
238
|
|
|
240
239
|
@restrict_scale_down.setter
|
|
241
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[
|
|
240
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
242
241
|
pulumi.set(self, "restrict_scale_down", value)
|
|
243
242
|
|
|
244
|
-
@property
|
|
243
|
+
@_builtins.property
|
|
245
244
|
@pulumi.getter(name="schedulingTasks")
|
|
246
245
|
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
|
|
247
246
|
"""
|
|
@@ -253,19 +252,19 @@ class OceanLaunchSpecArgs:
|
|
|
253
252
|
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
|
|
254
253
|
pulumi.set(self, "scheduling_tasks", value)
|
|
255
254
|
|
|
256
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
257
256
|
@pulumi.getter(name="securityGroupIds")
|
|
258
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
257
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
259
258
|
"""
|
|
260
259
|
One or more security group ids.
|
|
261
260
|
"""
|
|
262
261
|
return pulumi.get(self, "security_group_ids")
|
|
263
262
|
|
|
264
263
|
@security_group_ids.setter
|
|
265
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
264
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
266
265
|
pulumi.set(self, "security_group_ids", value)
|
|
267
266
|
|
|
268
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
269
268
|
@pulumi.getter
|
|
270
269
|
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
|
|
271
270
|
"""
|
|
@@ -277,19 +276,19 @@ class OceanLaunchSpecArgs:
|
|
|
277
276
|
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
|
|
278
277
|
pulumi.set(self, "strategies", value)
|
|
279
278
|
|
|
280
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
281
280
|
@pulumi.getter(name="subnetIds")
|
|
282
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
281
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
283
282
|
"""
|
|
284
283
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
285
284
|
"""
|
|
286
285
|
return pulumi.get(self, "subnet_ids")
|
|
287
286
|
|
|
288
287
|
@subnet_ids.setter
|
|
289
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
288
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
290
289
|
pulumi.set(self, "subnet_ids", value)
|
|
291
290
|
|
|
292
|
-
@property
|
|
291
|
+
@_builtins.property
|
|
293
292
|
@pulumi.getter
|
|
294
293
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
|
|
295
294
|
"""
|
|
@@ -301,16 +300,16 @@ class OceanLaunchSpecArgs:
|
|
|
301
300
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
|
|
302
301
|
pulumi.set(self, "tags", value)
|
|
303
302
|
|
|
304
|
-
@property
|
|
303
|
+
@_builtins.property
|
|
305
304
|
@pulumi.getter(name="userData")
|
|
306
|
-
def user_data(self) -> Optional[pulumi.Input[
|
|
305
|
+
def user_data(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
307
306
|
"""
|
|
308
307
|
Base64-encoded MIME user data to make available to the instances.
|
|
309
308
|
"""
|
|
310
309
|
return pulumi.get(self, "user_data")
|
|
311
310
|
|
|
312
311
|
@user_data.setter
|
|
313
|
-
def user_data(self, value: Optional[pulumi.Input[
|
|
312
|
+
def user_data(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
314
313
|
pulumi.set(self, "user_data", value)
|
|
315
314
|
|
|
316
315
|
|
|
@@ -320,41 +319,41 @@ class _OceanLaunchSpecState:
|
|
|
320
319
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]] = None,
|
|
321
320
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
322
321
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]] = None,
|
|
323
|
-
iam_instance_profile: Optional[pulumi.Input[
|
|
324
|
-
image_id: Optional[pulumi.Input[
|
|
322
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
323
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
325
324
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
326
325
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
327
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
328
|
-
name: Optional[pulumi.Input[
|
|
329
|
-
ocean_id: Optional[pulumi.Input[
|
|
330
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
331
|
-
restrict_scale_down: Optional[pulumi.Input[
|
|
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,
|
|
332
331
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
333
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
332
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
334
333
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
335
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
334
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
336
335
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
337
|
-
user_data: Optional[pulumi.Input[
|
|
336
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None):
|
|
338
337
|
"""
|
|
339
338
|
Input properties used for looking up and filtering OceanLaunchSpec resources.
|
|
340
339
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
341
340
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
342
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.
|
|
343
|
-
:param pulumi.Input[
|
|
344
|
-
:param pulumi.Input[
|
|
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.
|
|
345
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
|
|
346
345
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
347
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
348
|
-
:param pulumi.Input[
|
|
349
|
-
:param pulumi.Input[
|
|
350
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
351
|
-
:param pulumi.Input[
|
|
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.
|
|
352
351
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
353
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
352
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
354
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.
|
|
355
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
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.
|
|
356
355
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
357
|
-
:param pulumi.Input[
|
|
356
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
358
357
|
"""
|
|
359
358
|
if attributes is not None:
|
|
360
359
|
pulumi.set(__self__, "attributes", attributes)
|
|
@@ -393,7 +392,7 @@ class _OceanLaunchSpecState:
|
|
|
393
392
|
if user_data is not None:
|
|
394
393
|
pulumi.set(__self__, "user_data", user_data)
|
|
395
394
|
|
|
396
|
-
@property
|
|
395
|
+
@_builtins.property
|
|
397
396
|
@pulumi.getter
|
|
398
397
|
def attributes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]:
|
|
399
398
|
"""
|
|
@@ -405,7 +404,7 @@ class _OceanLaunchSpecState:
|
|
|
405
404
|
def attributes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAttributeArgs']]]]):
|
|
406
405
|
pulumi.set(self, "attributes", value)
|
|
407
406
|
|
|
408
|
-
@property
|
|
407
|
+
@_builtins.property
|
|
409
408
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
410
409
|
def autoscale_headrooms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]:
|
|
411
410
|
"""
|
|
@@ -417,7 +416,7 @@ class _OceanLaunchSpecState:
|
|
|
417
416
|
def autoscale_headrooms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]]):
|
|
418
417
|
pulumi.set(self, "autoscale_headrooms", value)
|
|
419
418
|
|
|
420
|
-
@property
|
|
419
|
+
@_builtins.property
|
|
421
420
|
@pulumi.getter(name="blockDeviceMappings")
|
|
422
421
|
def block_device_mappings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]:
|
|
423
422
|
"""
|
|
@@ -429,31 +428,31 @@ class _OceanLaunchSpecState:
|
|
|
429
428
|
def block_device_mappings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecBlockDeviceMappingArgs']]]]):
|
|
430
429
|
pulumi.set(self, "block_device_mappings", value)
|
|
431
430
|
|
|
432
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
433
432
|
@pulumi.getter(name="iamInstanceProfile")
|
|
434
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[
|
|
433
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
435
434
|
"""
|
|
436
435
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
437
436
|
"""
|
|
438
437
|
return pulumi.get(self, "iam_instance_profile")
|
|
439
438
|
|
|
440
439
|
@iam_instance_profile.setter
|
|
441
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[
|
|
440
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
442
441
|
pulumi.set(self, "iam_instance_profile", value)
|
|
443
442
|
|
|
444
|
-
@property
|
|
443
|
+
@_builtins.property
|
|
445
444
|
@pulumi.getter(name="imageId")
|
|
446
|
-
def image_id(self) -> Optional[pulumi.Input[
|
|
445
|
+
def image_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
447
446
|
"""
|
|
448
447
|
ID of the image used to launch the instances.
|
|
449
448
|
"""
|
|
450
449
|
return pulumi.get(self, "image_id")
|
|
451
450
|
|
|
452
451
|
@image_id.setter
|
|
453
|
-
def image_id(self, value: Optional[pulumi.Input[
|
|
452
|
+
def image_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
454
453
|
pulumi.set(self, "image_id", value)
|
|
455
454
|
|
|
456
|
-
@property
|
|
455
|
+
@_builtins.property
|
|
457
456
|
@pulumi.getter
|
|
458
457
|
def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]:
|
|
459
458
|
"""
|
|
@@ -465,7 +464,7 @@ class _OceanLaunchSpecState:
|
|
|
465
464
|
def images(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]]):
|
|
466
465
|
pulumi.set(self, "images", value)
|
|
467
466
|
|
|
468
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
469
468
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
470
469
|
def instance_metadata_options(self) -> Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]:
|
|
471
470
|
"""
|
|
@@ -477,67 +476,67 @@ class _OceanLaunchSpecState:
|
|
|
477
476
|
def instance_metadata_options(self, value: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']]):
|
|
478
477
|
pulumi.set(self, "instance_metadata_options", value)
|
|
479
478
|
|
|
480
|
-
@property
|
|
479
|
+
@_builtins.property
|
|
481
480
|
@pulumi.getter(name="instanceTypes")
|
|
482
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
481
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
483
482
|
"""
|
|
484
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.
|
|
485
484
|
"""
|
|
486
485
|
return pulumi.get(self, "instance_types")
|
|
487
486
|
|
|
488
487
|
@instance_types.setter
|
|
489
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
488
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
490
489
|
pulumi.set(self, "instance_types", value)
|
|
491
490
|
|
|
492
|
-
@property
|
|
491
|
+
@_builtins.property
|
|
493
492
|
@pulumi.getter
|
|
494
|
-
def name(self) -> Optional[pulumi.Input[
|
|
493
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
495
494
|
"""
|
|
496
495
|
The Ocean Launch Specification name.
|
|
497
496
|
"""
|
|
498
497
|
return pulumi.get(self, "name")
|
|
499
498
|
|
|
500
499
|
@name.setter
|
|
501
|
-
def name(self, value: Optional[pulumi.Input[
|
|
500
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
502
501
|
pulumi.set(self, "name", value)
|
|
503
502
|
|
|
504
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
505
504
|
@pulumi.getter(name="oceanId")
|
|
506
|
-
def ocean_id(self) -> Optional[pulumi.Input[
|
|
505
|
+
def ocean_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
507
506
|
"""
|
|
508
507
|
The Ocean cluster ID .
|
|
509
508
|
"""
|
|
510
509
|
return pulumi.get(self, "ocean_id")
|
|
511
510
|
|
|
512
511
|
@ocean_id.setter
|
|
513
|
-
def ocean_id(self, value: Optional[pulumi.Input[
|
|
512
|
+
def ocean_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
514
513
|
pulumi.set(self, "ocean_id", value)
|
|
515
514
|
|
|
516
|
-
@property
|
|
515
|
+
@_builtins.property
|
|
517
516
|
@pulumi.getter(name="preferredSpotTypes")
|
|
518
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
517
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
519
518
|
"""
|
|
520
519
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
521
520
|
"""
|
|
522
521
|
return pulumi.get(self, "preferred_spot_types")
|
|
523
522
|
|
|
524
523
|
@preferred_spot_types.setter
|
|
525
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
524
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
526
525
|
pulumi.set(self, "preferred_spot_types", value)
|
|
527
526
|
|
|
528
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
529
528
|
@pulumi.getter(name="restrictScaleDown")
|
|
530
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[
|
|
529
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
531
530
|
"""
|
|
532
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.
|
|
533
532
|
"""
|
|
534
533
|
return pulumi.get(self, "restrict_scale_down")
|
|
535
534
|
|
|
536
535
|
@restrict_scale_down.setter
|
|
537
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[
|
|
536
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
538
537
|
pulumi.set(self, "restrict_scale_down", value)
|
|
539
538
|
|
|
540
|
-
@property
|
|
539
|
+
@_builtins.property
|
|
541
540
|
@pulumi.getter(name="schedulingTasks")
|
|
542
541
|
def scheduling_tasks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]:
|
|
543
542
|
"""
|
|
@@ -549,19 +548,19 @@ class _OceanLaunchSpecState:
|
|
|
549
548
|
def scheduling_tasks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]]):
|
|
550
549
|
pulumi.set(self, "scheduling_tasks", value)
|
|
551
550
|
|
|
552
|
-
@property
|
|
551
|
+
@_builtins.property
|
|
553
552
|
@pulumi.getter(name="securityGroupIds")
|
|
554
|
-
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
553
|
+
def security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
555
554
|
"""
|
|
556
555
|
One or more security group ids.
|
|
557
556
|
"""
|
|
558
557
|
return pulumi.get(self, "security_group_ids")
|
|
559
558
|
|
|
560
559
|
@security_group_ids.setter
|
|
561
|
-
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
560
|
+
def security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
562
561
|
pulumi.set(self, "security_group_ids", value)
|
|
563
562
|
|
|
564
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
565
564
|
@pulumi.getter
|
|
566
565
|
def strategies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]:
|
|
567
566
|
"""
|
|
@@ -573,19 +572,19 @@ class _OceanLaunchSpecState:
|
|
|
573
572
|
def strategies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]]):
|
|
574
573
|
pulumi.set(self, "strategies", value)
|
|
575
574
|
|
|
576
|
-
@property
|
|
575
|
+
@_builtins.property
|
|
577
576
|
@pulumi.getter(name="subnetIds")
|
|
578
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
577
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
579
578
|
"""
|
|
580
579
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
581
580
|
"""
|
|
582
581
|
return pulumi.get(self, "subnet_ids")
|
|
583
582
|
|
|
584
583
|
@subnet_ids.setter
|
|
585
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
584
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
586
585
|
pulumi.set(self, "subnet_ids", value)
|
|
587
586
|
|
|
588
|
-
@property
|
|
587
|
+
@_builtins.property
|
|
589
588
|
@pulumi.getter
|
|
590
589
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]:
|
|
591
590
|
"""
|
|
@@ -597,16 +596,16 @@ class _OceanLaunchSpecState:
|
|
|
597
596
|
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]]):
|
|
598
597
|
pulumi.set(self, "tags", value)
|
|
599
598
|
|
|
600
|
-
@property
|
|
599
|
+
@_builtins.property
|
|
601
600
|
@pulumi.getter(name="userData")
|
|
602
|
-
def user_data(self) -> Optional[pulumi.Input[
|
|
601
|
+
def user_data(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
603
602
|
"""
|
|
604
603
|
Base64-encoded MIME user data to make available to the instances.
|
|
605
604
|
"""
|
|
606
605
|
return pulumi.get(self, "user_data")
|
|
607
606
|
|
|
608
607
|
@user_data.setter
|
|
609
|
-
def user_data(self, value: Optional[pulumi.Input[
|
|
608
|
+
def user_data(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
610
609
|
pulumi.set(self, "user_data", value)
|
|
611
610
|
|
|
612
611
|
|
|
@@ -619,21 +618,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
619
618
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
620
619
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
621
620
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
622
|
-
iam_instance_profile: Optional[pulumi.Input[
|
|
623
|
-
image_id: Optional[pulumi.Input[
|
|
621
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
622
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
624
623
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
625
624
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
626
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
627
|
-
name: Optional[pulumi.Input[
|
|
628
|
-
ocean_id: Optional[pulumi.Input[
|
|
629
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
630
|
-
restrict_scale_down: Optional[pulumi.Input[
|
|
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,
|
|
631
630
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
632
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
631
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
633
632
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
634
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
633
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
635
634
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
636
|
-
user_data: Optional[pulumi.Input[
|
|
635
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None,
|
|
637
636
|
__props__=None):
|
|
638
637
|
"""
|
|
639
638
|
Manages a custom Spotinst Ocean ECS Launch Spec resource.
|
|
@@ -746,21 +745,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
746
745
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
747
746
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
748
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.
|
|
749
|
-
:param pulumi.Input[
|
|
750
|
-
:param pulumi.Input[
|
|
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.
|
|
751
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
|
|
752
751
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
753
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
754
|
-
:param pulumi.Input[
|
|
755
|
-
:param pulumi.Input[
|
|
756
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
757
|
-
:param pulumi.Input[
|
|
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.
|
|
758
757
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
759
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
758
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
760
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.
|
|
761
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
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.
|
|
762
761
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
763
|
-
:param pulumi.Input[
|
|
762
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
764
763
|
"""
|
|
765
764
|
...
|
|
766
765
|
@overload
|
|
@@ -892,21 +891,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
892
891
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
893
892
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
894
893
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
895
|
-
iam_instance_profile: Optional[pulumi.Input[
|
|
896
|
-
image_id: Optional[pulumi.Input[
|
|
894
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
895
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
897
896
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
898
897
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
899
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
900
|
-
name: Optional[pulumi.Input[
|
|
901
|
-
ocean_id: Optional[pulumi.Input[
|
|
902
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
903
|
-
restrict_scale_down: Optional[pulumi.Input[
|
|
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,
|
|
904
903
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
905
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
904
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
906
905
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
907
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
906
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
908
907
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
909
|
-
user_data: Optional[pulumi.Input[
|
|
908
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None,
|
|
910
909
|
__props__=None):
|
|
911
910
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
912
911
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -949,21 +948,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
949
948
|
attributes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]]] = None,
|
|
950
949
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
951
950
|
block_device_mappings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecBlockDeviceMappingArgs', 'OceanLaunchSpecBlockDeviceMappingArgsDict']]]]] = None,
|
|
952
|
-
iam_instance_profile: Optional[pulumi.Input[
|
|
953
|
-
image_id: Optional[pulumi.Input[
|
|
951
|
+
iam_instance_profile: Optional[pulumi.Input[_builtins.str]] = None,
|
|
952
|
+
image_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
954
953
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
955
954
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
956
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
957
|
-
name: Optional[pulumi.Input[
|
|
958
|
-
ocean_id: Optional[pulumi.Input[
|
|
959
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
960
|
-
restrict_scale_down: Optional[pulumi.Input[
|
|
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,
|
|
961
960
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
962
|
-
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
961
|
+
security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
963
962
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
964
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
963
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
965
964
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
966
|
-
user_data: Optional[pulumi.Input[
|
|
965
|
+
user_data: Optional[pulumi.Input[_builtins.str]] = None) -> 'OceanLaunchSpec':
|
|
967
966
|
"""
|
|
968
967
|
Get an existing OceanLaunchSpec resource's state with the given name, id, and optional extra
|
|
969
968
|
properties used to qualify the lookup.
|
|
@@ -974,21 +973,21 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
974
973
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAttributeArgs', 'OceanLaunchSpecAttributeArgsDict']]]] attributes: Optionally adds labels to instances launched in an Ocean cluster.
|
|
975
974
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
976
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.
|
|
977
|
-
:param pulumi.Input[
|
|
978
|
-
:param pulumi.Input[
|
|
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.
|
|
979
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
|
|
980
979
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
981
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
982
|
-
:param pulumi.Input[
|
|
983
|
-
:param pulumi.Input[
|
|
984
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
985
|
-
:param pulumi.Input[
|
|
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.
|
|
986
985
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
987
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
986
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] security_group_ids: One or more security group ids.
|
|
988
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.
|
|
989
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
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.
|
|
990
989
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
991
|
-
:param pulumi.Input[
|
|
990
|
+
:param pulumi.Input[_builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
992
991
|
"""
|
|
993
992
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
994
993
|
|
|
@@ -1014,7 +1013,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1014
1013
|
__props__.__dict__["user_data"] = user_data
|
|
1015
1014
|
return OceanLaunchSpec(resource_name, opts=opts, __props__=__props__)
|
|
1016
1015
|
|
|
1017
|
-
@property
|
|
1016
|
+
@_builtins.property
|
|
1018
1017
|
@pulumi.getter
|
|
1019
1018
|
def attributes(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecAttribute']]]:
|
|
1020
1019
|
"""
|
|
@@ -1022,7 +1021,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1022
1021
|
"""
|
|
1023
1022
|
return pulumi.get(self, "attributes")
|
|
1024
1023
|
|
|
1025
|
-
@property
|
|
1024
|
+
@_builtins.property
|
|
1026
1025
|
@pulumi.getter(name="autoscaleHeadrooms")
|
|
1027
1026
|
def autoscale_headrooms(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecAutoscaleHeadroom']]]:
|
|
1028
1027
|
"""
|
|
@@ -1030,7 +1029,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1030
1029
|
"""
|
|
1031
1030
|
return pulumi.get(self, "autoscale_headrooms")
|
|
1032
1031
|
|
|
1033
|
-
@property
|
|
1032
|
+
@_builtins.property
|
|
1034
1033
|
@pulumi.getter(name="blockDeviceMappings")
|
|
1035
1034
|
def block_device_mappings(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecBlockDeviceMapping']]]:
|
|
1036
1035
|
"""
|
|
@@ -1038,23 +1037,23 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1038
1037
|
"""
|
|
1039
1038
|
return pulumi.get(self, "block_device_mappings")
|
|
1040
1039
|
|
|
1041
|
-
@property
|
|
1040
|
+
@_builtins.property
|
|
1042
1041
|
@pulumi.getter(name="iamInstanceProfile")
|
|
1043
|
-
def iam_instance_profile(self) -> pulumi.Output[Optional[
|
|
1042
|
+
def iam_instance_profile(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1044
1043
|
"""
|
|
1045
1044
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1046
1045
|
"""
|
|
1047
1046
|
return pulumi.get(self, "iam_instance_profile")
|
|
1048
1047
|
|
|
1049
|
-
@property
|
|
1048
|
+
@_builtins.property
|
|
1050
1049
|
@pulumi.getter(name="imageId")
|
|
1051
|
-
def image_id(self) -> pulumi.Output[Optional[
|
|
1050
|
+
def image_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1052
1051
|
"""
|
|
1053
1052
|
ID of the image used to launch the instances.
|
|
1054
1053
|
"""
|
|
1055
1054
|
return pulumi.get(self, "image_id")
|
|
1056
1055
|
|
|
1057
|
-
@property
|
|
1056
|
+
@_builtins.property
|
|
1058
1057
|
@pulumi.getter
|
|
1059
1058
|
def images(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecImage']]]:
|
|
1060
1059
|
"""
|
|
@@ -1062,7 +1061,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1062
1061
|
"""
|
|
1063
1062
|
return pulumi.get(self, "images")
|
|
1064
1063
|
|
|
1065
|
-
@property
|
|
1064
|
+
@_builtins.property
|
|
1066
1065
|
@pulumi.getter(name="instanceMetadataOptions")
|
|
1067
1066
|
def instance_metadata_options(self) -> pulumi.Output[Optional['outputs.OceanLaunchSpecInstanceMetadataOptions']]:
|
|
1068
1067
|
"""
|
|
@@ -1070,47 +1069,47 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1070
1069
|
"""
|
|
1071
1070
|
return pulumi.get(self, "instance_metadata_options")
|
|
1072
1071
|
|
|
1073
|
-
@property
|
|
1072
|
+
@_builtins.property
|
|
1074
1073
|
@pulumi.getter(name="instanceTypes")
|
|
1075
|
-
def instance_types(self) -> pulumi.Output[Optional[Sequence[
|
|
1074
|
+
def instance_types(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1076
1075
|
"""
|
|
1077
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.
|
|
1078
1077
|
"""
|
|
1079
1078
|
return pulumi.get(self, "instance_types")
|
|
1080
1079
|
|
|
1081
|
-
@property
|
|
1080
|
+
@_builtins.property
|
|
1082
1081
|
@pulumi.getter
|
|
1083
|
-
def name(self) -> pulumi.Output[
|
|
1082
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
1084
1083
|
"""
|
|
1085
1084
|
The Ocean Launch Specification name.
|
|
1086
1085
|
"""
|
|
1087
1086
|
return pulumi.get(self, "name")
|
|
1088
1087
|
|
|
1089
|
-
@property
|
|
1088
|
+
@_builtins.property
|
|
1090
1089
|
@pulumi.getter(name="oceanId")
|
|
1091
|
-
def ocean_id(self) -> pulumi.Output[
|
|
1090
|
+
def ocean_id(self) -> pulumi.Output[_builtins.str]:
|
|
1092
1091
|
"""
|
|
1093
1092
|
The Ocean cluster ID .
|
|
1094
1093
|
"""
|
|
1095
1094
|
return pulumi.get(self, "ocean_id")
|
|
1096
1095
|
|
|
1097
|
-
@property
|
|
1096
|
+
@_builtins.property
|
|
1098
1097
|
@pulumi.getter(name="preferredSpotTypes")
|
|
1099
|
-
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[
|
|
1098
|
+
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1100
1099
|
"""
|
|
1101
1100
|
When Ocean scales up instances, it takes your preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1102
1101
|
"""
|
|
1103
1102
|
return pulumi.get(self, "preferred_spot_types")
|
|
1104
1103
|
|
|
1105
|
-
@property
|
|
1104
|
+
@_builtins.property
|
|
1106
1105
|
@pulumi.getter(name="restrictScaleDown")
|
|
1107
|
-
def restrict_scale_down(self) -> pulumi.Output[Optional[
|
|
1106
|
+
def restrict_scale_down(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1108
1107
|
"""
|
|
1109
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.
|
|
1110
1109
|
"""
|
|
1111
1110
|
return pulumi.get(self, "restrict_scale_down")
|
|
1112
1111
|
|
|
1113
|
-
@property
|
|
1112
|
+
@_builtins.property
|
|
1114
1113
|
@pulumi.getter(name="schedulingTasks")
|
|
1115
1114
|
def scheduling_tasks(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecSchedulingTask']]]:
|
|
1116
1115
|
"""
|
|
@@ -1118,15 +1117,15 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1118
1117
|
"""
|
|
1119
1118
|
return pulumi.get(self, "scheduling_tasks")
|
|
1120
1119
|
|
|
1121
|
-
@property
|
|
1120
|
+
@_builtins.property
|
|
1122
1121
|
@pulumi.getter(name="securityGroupIds")
|
|
1123
|
-
def security_group_ids(self) -> pulumi.Output[Optional[Sequence[
|
|
1122
|
+
def security_group_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1124
1123
|
"""
|
|
1125
1124
|
One or more security group ids.
|
|
1126
1125
|
"""
|
|
1127
1126
|
return pulumi.get(self, "security_group_ids")
|
|
1128
1127
|
|
|
1129
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1130
1129
|
@pulumi.getter
|
|
1131
1130
|
def strategies(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecStrategy']]]:
|
|
1132
1131
|
"""
|
|
@@ -1134,15 +1133,15 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1134
1133
|
"""
|
|
1135
1134
|
return pulumi.get(self, "strategies")
|
|
1136
1135
|
|
|
1137
|
-
@property
|
|
1136
|
+
@_builtins.property
|
|
1138
1137
|
@pulumi.getter(name="subnetIds")
|
|
1139
|
-
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[
|
|
1138
|
+
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
1140
1139
|
"""
|
|
1141
1140
|
Set subnets in launchSpec. Each element in the array should be a subnet ID.
|
|
1142
1141
|
"""
|
|
1143
1142
|
return pulumi.get(self, "subnet_ids")
|
|
1144
1143
|
|
|
1145
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1146
1145
|
@pulumi.getter
|
|
1147
1146
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.OceanLaunchSpecTag']]]:
|
|
1148
1147
|
"""
|
|
@@ -1150,9 +1149,9 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1150
1149
|
"""
|
|
1151
1150
|
return pulumi.get(self, "tags")
|
|
1152
1151
|
|
|
1153
|
-
@property
|
|
1152
|
+
@_builtins.property
|
|
1154
1153
|
@pulumi.getter(name="userData")
|
|
1155
|
-
def user_data(self) -> pulumi.Output[Optional[
|
|
1154
|
+
def user_data(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1156
1155
|
"""
|
|
1157
1156
|
Base64-encoded MIME user data to make available to the instances.
|
|
1158
1157
|
"""
|