pulumi-spotinst 3.117.0a1743489626__py3-none-any.whl → 3.117.0a1744183551__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743489626.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744183551.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743489626.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743489626.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743489626.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,8 +22,8 @@ __all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class OceanLaunchSpecArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
ocean_id: pulumi.Input[str],
|
|
25
|
-
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
25
|
+
ocean_id: pulumi.Input[builtins.str],
|
|
26
|
+
associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
26
27
|
autoscale_downs: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleDownArgs']]]] = None,
|
|
27
28
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
28
29
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]]] = None,
|
|
@@ -31,62 +32,62 @@ class OceanLaunchSpecArgs:
|
|
|
31
32
|
delete_options: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']] = None,
|
|
32
33
|
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]] = None,
|
|
33
34
|
ephemeral_storages: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecEphemeralStorageArgs']]]] = None,
|
|
34
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
35
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
35
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
36
37
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
37
38
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
38
39
|
instance_store_policy: Optional[pulumi.Input['OceanLaunchSpecInstanceStorePolicyArgs']] = None,
|
|
39
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
40
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
40
41
|
instance_types_filters: Optional[pulumi.Input['OceanLaunchSpecInstanceTypesFiltersArgs']] = None,
|
|
41
42
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
|
|
42
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
43
|
-
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
44
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
45
|
-
reserved_enis: Optional[pulumi.Input[int]] = None,
|
|
43
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
44
|
+
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
45
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
46
|
+
reserved_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
46
47
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]] = None,
|
|
47
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
48
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
48
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
49
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
49
50
|
scheduling_shutdown_hours: Optional[pulumi.Input['OceanLaunchSpecSchedulingShutdownHoursArgs']] = None,
|
|
50
51
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
51
|
-
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
52
|
+
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
52
53
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
53
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
54
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
54
55
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
55
56
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
|
|
56
57
|
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None,
|
|
57
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
58
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None):
|
|
58
59
|
"""
|
|
59
60
|
The set of arguments for constructing a OceanLaunchSpec resource.
|
|
60
|
-
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
|
|
61
|
-
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
|
|
61
|
+
:param pulumi.Input[builtins.str] ocean_id: The ID of the Ocean cluster.
|
|
62
|
+
:param pulumi.Input[builtins.bool] associate_public_ip_address: Configure public IP address allocation.
|
|
62
63
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleDownArgs']]] autoscale_downs: Auto Scaling scale down operations.
|
|
63
64
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
|
|
64
65
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
65
66
|
: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.
|
|
66
67
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
|
|
67
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
68
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
68
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
69
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
69
70
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]] images: Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously.
|
|
70
71
|
For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
|
|
71
72
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
72
73
|
:param pulumi.Input['OceanLaunchSpecInstanceStorePolicyArgs'] instance_store_policy: Determines the utilization of instance store volumes. If not defined, instance store volumes will not be used.
|
|
73
|
-
: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 cluster.
|
|
74
|
+
: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 cluster.
|
|
74
75
|
:param pulumi.Input['OceanLaunchSpecInstanceTypesFiltersArgs'] instance_types_filters: The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter.
|
|
75
76
|
The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
|
|
76
77
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in the cluster.
|
|
77
|
-
:param pulumi.Input[str] name: The name of the Virtual Node Group.
|
|
78
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
79
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
80
|
-
:param pulumi.Input[int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
81
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
82
|
-
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
|
|
78
|
+
:param pulumi.Input[builtins.str] name: The name of the Virtual Node Group.
|
|
79
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
80
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
81
|
+
:param pulumi.Input[builtins.int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
82
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
83
|
+
:param pulumi.Input[builtins.int] root_volume_size: Set root volume size (in GB).
|
|
83
84
|
:param pulumi.Input['OceanLaunchSpecSchedulingShutdownHoursArgs'] scheduling_shutdown_hours: Used to specify times that the nodes in the virtual node group will be taken down.
|
|
84
85
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
85
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
|
|
86
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
|
|
86
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_groups: Optionally adds security group IDs.
|
|
87
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: A list of subnet IDs.
|
|
87
88
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
88
89
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in the cluster.
|
|
89
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
90
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
90
91
|
"""
|
|
91
92
|
pulumi.set(__self__, "ocean_id", ocean_id)
|
|
92
93
|
if associate_public_ip_address is not None:
|
|
@@ -158,26 +159,26 @@ class OceanLaunchSpecArgs:
|
|
|
158
159
|
|
|
159
160
|
@property
|
|
160
161
|
@pulumi.getter(name="oceanId")
|
|
161
|
-
def ocean_id(self) -> pulumi.Input[str]:
|
|
162
|
+
def ocean_id(self) -> pulumi.Input[builtins.str]:
|
|
162
163
|
"""
|
|
163
164
|
The ID of the Ocean cluster.
|
|
164
165
|
"""
|
|
165
166
|
return pulumi.get(self, "ocean_id")
|
|
166
167
|
|
|
167
168
|
@ocean_id.setter
|
|
168
|
-
def ocean_id(self, value: pulumi.Input[str]):
|
|
169
|
+
def ocean_id(self, value: pulumi.Input[builtins.str]):
|
|
169
170
|
pulumi.set(self, "ocean_id", value)
|
|
170
171
|
|
|
171
172
|
@property
|
|
172
173
|
@pulumi.getter(name="associatePublicIpAddress")
|
|
173
|
-
def associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]:
|
|
174
|
+
def associate_public_ip_address(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
174
175
|
"""
|
|
175
176
|
Configure public IP address allocation.
|
|
176
177
|
"""
|
|
177
178
|
return pulumi.get(self, "associate_public_ip_address")
|
|
178
179
|
|
|
179
180
|
@associate_public_ip_address.setter
|
|
180
|
-
def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]):
|
|
181
|
+
def associate_public_ip_address(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
181
182
|
pulumi.set(self, "associate_public_ip_address", value)
|
|
182
183
|
|
|
183
184
|
@property
|
|
@@ -269,26 +270,26 @@ class OceanLaunchSpecArgs:
|
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="iamInstanceProfile")
|
|
272
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
273
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
273
274
|
"""
|
|
274
275
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
275
276
|
"""
|
|
276
277
|
return pulumi.get(self, "iam_instance_profile")
|
|
277
278
|
|
|
278
279
|
@iam_instance_profile.setter
|
|
279
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
280
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
280
281
|
pulumi.set(self, "iam_instance_profile", value)
|
|
281
282
|
|
|
282
283
|
@property
|
|
283
284
|
@pulumi.getter(name="imageId")
|
|
284
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
285
|
+
def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
285
286
|
"""
|
|
286
287
|
ID of the image used to launch the instances.
|
|
287
288
|
"""
|
|
288
289
|
return pulumi.get(self, "image_id")
|
|
289
290
|
|
|
290
291
|
@image_id.setter
|
|
291
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
292
|
+
def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
292
293
|
pulumi.set(self, "image_id", value)
|
|
293
294
|
|
|
294
295
|
@property
|
|
@@ -330,14 +331,14 @@ class OceanLaunchSpecArgs:
|
|
|
330
331
|
|
|
331
332
|
@property
|
|
332
333
|
@pulumi.getter(name="instanceTypes")
|
|
333
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
334
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
334
335
|
"""
|
|
335
336
|
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 cluster.
|
|
336
337
|
"""
|
|
337
338
|
return pulumi.get(self, "instance_types")
|
|
338
339
|
|
|
339
340
|
@instance_types.setter
|
|
340
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
341
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
341
342
|
pulumi.set(self, "instance_types", value)
|
|
342
343
|
|
|
343
344
|
@property
|
|
@@ -367,50 +368,50 @@ class OceanLaunchSpecArgs:
|
|
|
367
368
|
|
|
368
369
|
@property
|
|
369
370
|
@pulumi.getter
|
|
370
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
371
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
371
372
|
"""
|
|
372
373
|
The name of the Virtual Node Group.
|
|
373
374
|
"""
|
|
374
375
|
return pulumi.get(self, "name")
|
|
375
376
|
|
|
376
377
|
@name.setter
|
|
377
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
378
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
378
379
|
pulumi.set(self, "name", value)
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter(name="preferredOdTypes")
|
|
382
|
-
def preferred_od_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
383
|
+
def preferred_od_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
383
384
|
"""
|
|
384
385
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
385
386
|
"""
|
|
386
387
|
return pulumi.get(self, "preferred_od_types")
|
|
387
388
|
|
|
388
389
|
@preferred_od_types.setter
|
|
389
|
-
def preferred_od_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
390
|
+
def preferred_od_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
390
391
|
pulumi.set(self, "preferred_od_types", value)
|
|
391
392
|
|
|
392
393
|
@property
|
|
393
394
|
@pulumi.getter(name="preferredSpotTypes")
|
|
394
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
395
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
395
396
|
"""
|
|
396
397
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
397
398
|
"""
|
|
398
399
|
return pulumi.get(self, "preferred_spot_types")
|
|
399
400
|
|
|
400
401
|
@preferred_spot_types.setter
|
|
401
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
402
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
402
403
|
pulumi.set(self, "preferred_spot_types", value)
|
|
403
404
|
|
|
404
405
|
@property
|
|
405
406
|
@pulumi.getter(name="reservedEnis")
|
|
406
|
-
def reserved_enis(self) -> Optional[pulumi.Input[int]]:
|
|
407
|
+
def reserved_enis(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
407
408
|
"""
|
|
408
409
|
Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
409
410
|
"""
|
|
410
411
|
return pulumi.get(self, "reserved_enis")
|
|
411
412
|
|
|
412
413
|
@reserved_enis.setter
|
|
413
|
-
def reserved_enis(self, value: Optional[pulumi.Input[int]]):
|
|
414
|
+
def reserved_enis(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
414
415
|
pulumi.set(self, "reserved_enis", value)
|
|
415
416
|
|
|
416
417
|
@property
|
|
@@ -424,26 +425,26 @@ class OceanLaunchSpecArgs:
|
|
|
424
425
|
|
|
425
426
|
@property
|
|
426
427
|
@pulumi.getter(name="restrictScaleDown")
|
|
427
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
428
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
428
429
|
"""
|
|
429
430
|
Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
430
431
|
"""
|
|
431
432
|
return pulumi.get(self, "restrict_scale_down")
|
|
432
433
|
|
|
433
434
|
@restrict_scale_down.setter
|
|
434
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
435
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
435
436
|
pulumi.set(self, "restrict_scale_down", value)
|
|
436
437
|
|
|
437
438
|
@property
|
|
438
439
|
@pulumi.getter(name="rootVolumeSize")
|
|
439
|
-
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
440
|
+
def root_volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
440
441
|
"""
|
|
441
442
|
Set root volume size (in GB).
|
|
442
443
|
"""
|
|
443
444
|
return pulumi.get(self, "root_volume_size")
|
|
444
445
|
|
|
445
446
|
@root_volume_size.setter
|
|
446
|
-
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
447
|
+
def root_volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
447
448
|
pulumi.set(self, "root_volume_size", value)
|
|
448
449
|
|
|
449
450
|
@property
|
|
@@ -472,14 +473,14 @@ class OceanLaunchSpecArgs:
|
|
|
472
473
|
|
|
473
474
|
@property
|
|
474
475
|
@pulumi.getter(name="securityGroups")
|
|
475
|
-
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
476
|
+
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
476
477
|
"""
|
|
477
478
|
Optionally adds security group IDs.
|
|
478
479
|
"""
|
|
479
480
|
return pulumi.get(self, "security_groups")
|
|
480
481
|
|
|
481
482
|
@security_groups.setter
|
|
482
|
-
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
483
|
+
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
483
484
|
pulumi.set(self, "security_groups", value)
|
|
484
485
|
|
|
485
486
|
@property
|
|
@@ -493,14 +494,14 @@ class OceanLaunchSpecArgs:
|
|
|
493
494
|
|
|
494
495
|
@property
|
|
495
496
|
@pulumi.getter(name="subnetIds")
|
|
496
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
497
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
497
498
|
"""
|
|
498
499
|
A list of subnet IDs.
|
|
499
500
|
"""
|
|
500
501
|
return pulumi.get(self, "subnet_ids")
|
|
501
502
|
|
|
502
503
|
@subnet_ids.setter
|
|
503
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
504
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
504
505
|
pulumi.set(self, "subnet_ids", value)
|
|
505
506
|
|
|
506
507
|
@property
|
|
@@ -538,21 +539,21 @@ class OceanLaunchSpecArgs:
|
|
|
538
539
|
|
|
539
540
|
@property
|
|
540
541
|
@pulumi.getter(name="userData")
|
|
541
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
542
|
+
def user_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
542
543
|
"""
|
|
543
544
|
Base64-encoded MIME user data to make available to the instances.
|
|
544
545
|
"""
|
|
545
546
|
return pulumi.get(self, "user_data")
|
|
546
547
|
|
|
547
548
|
@user_data.setter
|
|
548
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
549
|
+
def user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
549
550
|
pulumi.set(self, "user_data", value)
|
|
550
551
|
|
|
551
552
|
|
|
552
553
|
@pulumi.input_type
|
|
553
554
|
class _OceanLaunchSpecState:
|
|
554
555
|
def __init__(__self__, *,
|
|
555
|
-
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
556
|
+
associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
556
557
|
autoscale_downs: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleDownArgs']]]] = None,
|
|
557
558
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
558
559
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]]] = None,
|
|
@@ -561,63 +562,63 @@ class _OceanLaunchSpecState:
|
|
|
561
562
|
delete_options: Optional[pulumi.Input['OceanLaunchSpecDeleteOptionsArgs']] = None,
|
|
562
563
|
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]]] = None,
|
|
563
564
|
ephemeral_storages: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecEphemeralStorageArgs']]]] = None,
|
|
564
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
565
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
565
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
566
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
566
567
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]]] = None,
|
|
567
568
|
instance_metadata_options: Optional[pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs']] = None,
|
|
568
569
|
instance_store_policy: Optional[pulumi.Input['OceanLaunchSpecInstanceStorePolicyArgs']] = None,
|
|
569
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
570
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
570
571
|
instance_types_filters: Optional[pulumi.Input['OceanLaunchSpecInstanceTypesFiltersArgs']] = None,
|
|
571
572
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
|
|
572
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
573
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
574
|
-
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
575
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
576
|
-
reserved_enis: Optional[pulumi.Input[int]] = None,
|
|
573
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
574
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
575
|
+
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
576
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
577
|
+
reserved_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
577
578
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecResourceLimitArgs']]]] = None,
|
|
578
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
579
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
579
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
580
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
580
581
|
scheduling_shutdown_hours: Optional[pulumi.Input['OceanLaunchSpecSchedulingShutdownHoursArgs']] = None,
|
|
581
582
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
582
|
-
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
583
|
+
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
583
584
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
584
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
585
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
585
586
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]]] = None,
|
|
586
587
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
|
|
587
588
|
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None,
|
|
588
|
-
user_data: Optional[pulumi.Input[str]] = None):
|
|
589
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None):
|
|
589
590
|
"""
|
|
590
591
|
Input properties used for looking up and filtering OceanLaunchSpec resources.
|
|
591
|
-
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
|
|
592
|
+
:param pulumi.Input[builtins.bool] associate_public_ip_address: Configure public IP address allocation.
|
|
592
593
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleDownArgs']]] autoscale_downs: Auto Scaling scale down operations.
|
|
593
594
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
|
|
594
595
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
595
596
|
: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.
|
|
596
597
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecElasticIpPoolArgs']]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
|
|
597
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
598
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
598
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
599
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
599
600
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecImageArgs']]] images: Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously.
|
|
600
601
|
For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
|
|
601
602
|
:param pulumi.Input['OceanLaunchSpecInstanceMetadataOptionsArgs'] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
602
603
|
:param pulumi.Input['OceanLaunchSpecInstanceStorePolicyArgs'] instance_store_policy: Determines the utilization of instance store volumes. If not defined, instance store volumes will not be used.
|
|
603
|
-
: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 cluster.
|
|
604
|
+
: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 cluster.
|
|
604
605
|
:param pulumi.Input['OceanLaunchSpecInstanceTypesFiltersArgs'] instance_types_filters: The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter.
|
|
605
606
|
The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
|
|
606
607
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in the cluster.
|
|
607
|
-
:param pulumi.Input[str] name: The name of the Virtual Node Group.
|
|
608
|
-
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
|
|
609
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
610
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
611
|
-
:param pulumi.Input[int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
612
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
613
|
-
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
|
|
608
|
+
:param pulumi.Input[builtins.str] name: The name of the Virtual Node Group.
|
|
609
|
+
:param pulumi.Input[builtins.str] ocean_id: The ID of the Ocean cluster.
|
|
610
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
611
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
612
|
+
:param pulumi.Input[builtins.int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
613
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
614
|
+
:param pulumi.Input[builtins.int] root_volume_size: Set root volume size (in GB).
|
|
614
615
|
:param pulumi.Input['OceanLaunchSpecSchedulingShutdownHoursArgs'] scheduling_shutdown_hours: Used to specify times that the nodes in the virtual node group will be taken down.
|
|
615
616
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
616
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
|
|
617
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
|
|
617
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_groups: Optionally adds security group IDs.
|
|
618
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: A list of subnet IDs.
|
|
618
619
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTagArgs']]] tags: A key/value mapping of tags to assign to the resource.
|
|
619
620
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in the cluster.
|
|
620
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
621
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
621
622
|
"""
|
|
622
623
|
if associate_public_ip_address is not None:
|
|
623
624
|
pulumi.set(__self__, "associate_public_ip_address", associate_public_ip_address)
|
|
@@ -690,14 +691,14 @@ class _OceanLaunchSpecState:
|
|
|
690
691
|
|
|
691
692
|
@property
|
|
692
693
|
@pulumi.getter(name="associatePublicIpAddress")
|
|
693
|
-
def associate_public_ip_address(self) -> Optional[pulumi.Input[bool]]:
|
|
694
|
+
def associate_public_ip_address(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
694
695
|
"""
|
|
695
696
|
Configure public IP address allocation.
|
|
696
697
|
"""
|
|
697
698
|
return pulumi.get(self, "associate_public_ip_address")
|
|
698
699
|
|
|
699
700
|
@associate_public_ip_address.setter
|
|
700
|
-
def associate_public_ip_address(self, value: Optional[pulumi.Input[bool]]):
|
|
701
|
+
def associate_public_ip_address(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
701
702
|
pulumi.set(self, "associate_public_ip_address", value)
|
|
702
703
|
|
|
703
704
|
@property
|
|
@@ -789,26 +790,26 @@ class _OceanLaunchSpecState:
|
|
|
789
790
|
|
|
790
791
|
@property
|
|
791
792
|
@pulumi.getter(name="iamInstanceProfile")
|
|
792
|
-
def iam_instance_profile(self) -> Optional[pulumi.Input[str]]:
|
|
793
|
+
def iam_instance_profile(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
793
794
|
"""
|
|
794
795
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
795
796
|
"""
|
|
796
797
|
return pulumi.get(self, "iam_instance_profile")
|
|
797
798
|
|
|
798
799
|
@iam_instance_profile.setter
|
|
799
|
-
def iam_instance_profile(self, value: Optional[pulumi.Input[str]]):
|
|
800
|
+
def iam_instance_profile(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
800
801
|
pulumi.set(self, "iam_instance_profile", value)
|
|
801
802
|
|
|
802
803
|
@property
|
|
803
804
|
@pulumi.getter(name="imageId")
|
|
804
|
-
def image_id(self) -> Optional[pulumi.Input[str]]:
|
|
805
|
+
def image_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
805
806
|
"""
|
|
806
807
|
ID of the image used to launch the instances.
|
|
807
808
|
"""
|
|
808
809
|
return pulumi.get(self, "image_id")
|
|
809
810
|
|
|
810
811
|
@image_id.setter
|
|
811
|
-
def image_id(self, value: Optional[pulumi.Input[str]]):
|
|
812
|
+
def image_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
812
813
|
pulumi.set(self, "image_id", value)
|
|
813
814
|
|
|
814
815
|
@property
|
|
@@ -850,14 +851,14 @@ class _OceanLaunchSpecState:
|
|
|
850
851
|
|
|
851
852
|
@property
|
|
852
853
|
@pulumi.getter(name="instanceTypes")
|
|
853
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
854
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
854
855
|
"""
|
|
855
856
|
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 cluster.
|
|
856
857
|
"""
|
|
857
858
|
return pulumi.get(self, "instance_types")
|
|
858
859
|
|
|
859
860
|
@instance_types.setter
|
|
860
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
861
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
861
862
|
pulumi.set(self, "instance_types", value)
|
|
862
863
|
|
|
863
864
|
@property
|
|
@@ -887,62 +888,62 @@ class _OceanLaunchSpecState:
|
|
|
887
888
|
|
|
888
889
|
@property
|
|
889
890
|
@pulumi.getter
|
|
890
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
891
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
891
892
|
"""
|
|
892
893
|
The name of the Virtual Node Group.
|
|
893
894
|
"""
|
|
894
895
|
return pulumi.get(self, "name")
|
|
895
896
|
|
|
896
897
|
@name.setter
|
|
897
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
898
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
898
899
|
pulumi.set(self, "name", value)
|
|
899
900
|
|
|
900
901
|
@property
|
|
901
902
|
@pulumi.getter(name="oceanId")
|
|
902
|
-
def ocean_id(self) -> Optional[pulumi.Input[str]]:
|
|
903
|
+
def ocean_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
903
904
|
"""
|
|
904
905
|
The ID of the Ocean cluster.
|
|
905
906
|
"""
|
|
906
907
|
return pulumi.get(self, "ocean_id")
|
|
907
908
|
|
|
908
909
|
@ocean_id.setter
|
|
909
|
-
def ocean_id(self, value: Optional[pulumi.Input[str]]):
|
|
910
|
+
def ocean_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
910
911
|
pulumi.set(self, "ocean_id", value)
|
|
911
912
|
|
|
912
913
|
@property
|
|
913
914
|
@pulumi.getter(name="preferredOdTypes")
|
|
914
|
-
def preferred_od_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
915
|
+
def preferred_od_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
915
916
|
"""
|
|
916
917
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
917
918
|
"""
|
|
918
919
|
return pulumi.get(self, "preferred_od_types")
|
|
919
920
|
|
|
920
921
|
@preferred_od_types.setter
|
|
921
|
-
def preferred_od_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
922
|
+
def preferred_od_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
922
923
|
pulumi.set(self, "preferred_od_types", value)
|
|
923
924
|
|
|
924
925
|
@property
|
|
925
926
|
@pulumi.getter(name="preferredSpotTypes")
|
|
926
|
-
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
927
|
+
def preferred_spot_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
927
928
|
"""
|
|
928
929
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
929
930
|
"""
|
|
930
931
|
return pulumi.get(self, "preferred_spot_types")
|
|
931
932
|
|
|
932
933
|
@preferred_spot_types.setter
|
|
933
|
-
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
934
|
+
def preferred_spot_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
934
935
|
pulumi.set(self, "preferred_spot_types", value)
|
|
935
936
|
|
|
936
937
|
@property
|
|
937
938
|
@pulumi.getter(name="reservedEnis")
|
|
938
|
-
def reserved_enis(self) -> Optional[pulumi.Input[int]]:
|
|
939
|
+
def reserved_enis(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
939
940
|
"""
|
|
940
941
|
Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
941
942
|
"""
|
|
942
943
|
return pulumi.get(self, "reserved_enis")
|
|
943
944
|
|
|
944
945
|
@reserved_enis.setter
|
|
945
|
-
def reserved_enis(self, value: Optional[pulumi.Input[int]]):
|
|
946
|
+
def reserved_enis(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
946
947
|
pulumi.set(self, "reserved_enis", value)
|
|
947
948
|
|
|
948
949
|
@property
|
|
@@ -956,26 +957,26 @@ class _OceanLaunchSpecState:
|
|
|
956
957
|
|
|
957
958
|
@property
|
|
958
959
|
@pulumi.getter(name="restrictScaleDown")
|
|
959
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
960
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
960
961
|
"""
|
|
961
962
|
Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
962
963
|
"""
|
|
963
964
|
return pulumi.get(self, "restrict_scale_down")
|
|
964
965
|
|
|
965
966
|
@restrict_scale_down.setter
|
|
966
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
967
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
967
968
|
pulumi.set(self, "restrict_scale_down", value)
|
|
968
969
|
|
|
969
970
|
@property
|
|
970
971
|
@pulumi.getter(name="rootVolumeSize")
|
|
971
|
-
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
972
|
+
def root_volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
972
973
|
"""
|
|
973
974
|
Set root volume size (in GB).
|
|
974
975
|
"""
|
|
975
976
|
return pulumi.get(self, "root_volume_size")
|
|
976
977
|
|
|
977
978
|
@root_volume_size.setter
|
|
978
|
-
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
979
|
+
def root_volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
979
980
|
pulumi.set(self, "root_volume_size", value)
|
|
980
981
|
|
|
981
982
|
@property
|
|
@@ -1004,14 +1005,14 @@ class _OceanLaunchSpecState:
|
|
|
1004
1005
|
|
|
1005
1006
|
@property
|
|
1006
1007
|
@pulumi.getter(name="securityGroups")
|
|
1007
|
-
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1008
|
+
def security_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1008
1009
|
"""
|
|
1009
1010
|
Optionally adds security group IDs.
|
|
1010
1011
|
"""
|
|
1011
1012
|
return pulumi.get(self, "security_groups")
|
|
1012
1013
|
|
|
1013
1014
|
@security_groups.setter
|
|
1014
|
-
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1015
|
+
def security_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1015
1016
|
pulumi.set(self, "security_groups", value)
|
|
1016
1017
|
|
|
1017
1018
|
@property
|
|
@@ -1025,14 +1026,14 @@ class _OceanLaunchSpecState:
|
|
|
1025
1026
|
|
|
1026
1027
|
@property
|
|
1027
1028
|
@pulumi.getter(name="subnetIds")
|
|
1028
|
-
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1029
|
+
def subnet_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1029
1030
|
"""
|
|
1030
1031
|
A list of subnet IDs.
|
|
1031
1032
|
"""
|
|
1032
1033
|
return pulumi.get(self, "subnet_ids")
|
|
1033
1034
|
|
|
1034
1035
|
@subnet_ids.setter
|
|
1035
|
-
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1036
|
+
def subnet_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1036
1037
|
pulumi.set(self, "subnet_ids", value)
|
|
1037
1038
|
|
|
1038
1039
|
@property
|
|
@@ -1070,14 +1071,14 @@ class _OceanLaunchSpecState:
|
|
|
1070
1071
|
|
|
1071
1072
|
@property
|
|
1072
1073
|
@pulumi.getter(name="userData")
|
|
1073
|
-
def user_data(self) -> Optional[pulumi.Input[str]]:
|
|
1074
|
+
def user_data(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1074
1075
|
"""
|
|
1075
1076
|
Base64-encoded MIME user data to make available to the instances.
|
|
1076
1077
|
"""
|
|
1077
1078
|
return pulumi.get(self, "user_data")
|
|
1078
1079
|
|
|
1079
1080
|
@user_data.setter
|
|
1080
|
-
def user_data(self, value: Optional[pulumi.Input[str]]):
|
|
1081
|
+
def user_data(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1081
1082
|
pulumi.set(self, "user_data", value)
|
|
1082
1083
|
|
|
1083
1084
|
|
|
@@ -1086,7 +1087,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1086
1087
|
def __init__(__self__,
|
|
1087
1088
|
resource_name: str,
|
|
1088
1089
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1089
|
-
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
1090
|
+
associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1090
1091
|
autoscale_downs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleDownArgs', 'OceanLaunchSpecAutoscaleDownArgsDict']]]]] = None,
|
|
1091
1092
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
1092
1093
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
@@ -1095,31 +1096,31 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1095
1096
|
delete_options: Optional[pulumi.Input[Union['OceanLaunchSpecDeleteOptionsArgs', 'OceanLaunchSpecDeleteOptionsArgsDict']]] = None,
|
|
1096
1097
|
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecElasticIpPoolArgs', 'OceanLaunchSpecElasticIpPoolArgsDict']]]]] = None,
|
|
1097
1098
|
ephemeral_storages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecEphemeralStorageArgs', 'OceanLaunchSpecEphemeralStorageArgsDict']]]]] = None,
|
|
1098
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
1099
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
1099
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
1100
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1100
1101
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
1101
1102
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
1102
1103
|
instance_store_policy: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceStorePolicyArgs', 'OceanLaunchSpecInstanceStorePolicyArgsDict']]] = None,
|
|
1103
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1104
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1104
1105
|
instance_types_filters: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceTypesFiltersArgs', 'OceanLaunchSpecInstanceTypesFiltersArgsDict']]] = None,
|
|
1105
1106
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
1106
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1107
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
1108
|
-
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1109
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1110
|
-
reserved_enis: Optional[pulumi.Input[int]] = None,
|
|
1107
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1108
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1109
|
+
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1110
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1111
|
+
reserved_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
1111
1112
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecResourceLimitArgs', 'OceanLaunchSpecResourceLimitArgsDict']]]]] = None,
|
|
1112
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
1113
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
1113
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1114
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1114
1115
|
scheduling_shutdown_hours: Optional[pulumi.Input[Union['OceanLaunchSpecSchedulingShutdownHoursArgs', 'OceanLaunchSpecSchedulingShutdownHoursArgsDict']]] = None,
|
|
1115
1116
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
1116
|
-
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1117
|
+
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1117
1118
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
1118
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1119
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1119
1120
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
1120
1121
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
1121
1122
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None,
|
|
1122
|
-
user_data: Optional[pulumi.Input[str]] = None,
|
|
1123
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
1123
1124
|
__props__=None):
|
|
1124
1125
|
"""
|
|
1125
1126
|
Manages a Spotinst Ocean AWS [Virtual Node Group](https://docs.spot.io/ocean/features/launch-specifications) resource.
|
|
@@ -1136,36 +1137,36 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1136
1137
|
|
|
1137
1138
|
:param str resource_name: The name of the resource.
|
|
1138
1139
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1139
|
-
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
|
|
1140
|
+
:param pulumi.Input[builtins.bool] associate_public_ip_address: Configure public IP address allocation.
|
|
1140
1141
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleDownArgs', 'OceanLaunchSpecAutoscaleDownArgsDict']]]] autoscale_downs: Auto Scaling scale down operations.
|
|
1141
1142
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
|
|
1142
1143
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
1143
1144
|
: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.
|
|
1144
1145
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecElasticIpPoolArgs', 'OceanLaunchSpecElasticIpPoolArgsDict']]]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
|
|
1145
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1146
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
1146
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1147
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
1147
1148
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]] images: Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously.
|
|
1148
1149
|
For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
|
|
1149
1150
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
1150
1151
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceStorePolicyArgs', 'OceanLaunchSpecInstanceStorePolicyArgsDict']] instance_store_policy: Determines the utilization of instance store volumes. If not defined, instance store volumes will not be used.
|
|
1151
|
-
: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 cluster.
|
|
1152
|
+
: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 cluster.
|
|
1152
1153
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceTypesFiltersArgs', 'OceanLaunchSpecInstanceTypesFiltersArgsDict']] instance_types_filters: The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter.
|
|
1153
1154
|
The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
|
|
1154
1155
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]] labels: Optionally adds labels to instances launched in the cluster.
|
|
1155
|
-
:param pulumi.Input[str] name: The name of the Virtual Node Group.
|
|
1156
|
-
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
|
|
1157
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1158
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1159
|
-
:param pulumi.Input[int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
1160
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1161
|
-
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
|
|
1156
|
+
:param pulumi.Input[builtins.str] name: The name of the Virtual Node Group.
|
|
1157
|
+
:param pulumi.Input[builtins.str] ocean_id: The ID of the Ocean cluster.
|
|
1158
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1159
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1160
|
+
:param pulumi.Input[builtins.int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
1161
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1162
|
+
:param pulumi.Input[builtins.int] root_volume_size: Set root volume size (in GB).
|
|
1162
1163
|
:param pulumi.Input[Union['OceanLaunchSpecSchedulingShutdownHoursArgs', 'OceanLaunchSpecSchedulingShutdownHoursArgsDict']] scheduling_shutdown_hours: Used to specify times that the nodes in the virtual node group will be taken down.
|
|
1163
1164
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
1164
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
|
|
1165
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
|
|
1165
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_groups: Optionally adds security group IDs.
|
|
1166
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: A list of subnet IDs.
|
|
1166
1167
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
1167
1168
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]] taints: Optionally adds labels to instances launched in the cluster.
|
|
1168
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
1169
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
1169
1170
|
"""
|
|
1170
1171
|
...
|
|
1171
1172
|
@overload
|
|
@@ -1201,7 +1202,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1201
1202
|
def _internal_init(__self__,
|
|
1202
1203
|
resource_name: str,
|
|
1203
1204
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1204
|
-
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
1205
|
+
associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1205
1206
|
autoscale_downs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleDownArgs', 'OceanLaunchSpecAutoscaleDownArgsDict']]]]] = None,
|
|
1206
1207
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
1207
1208
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
@@ -1210,31 +1211,31 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1210
1211
|
delete_options: Optional[pulumi.Input[Union['OceanLaunchSpecDeleteOptionsArgs', 'OceanLaunchSpecDeleteOptionsArgsDict']]] = None,
|
|
1211
1212
|
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecElasticIpPoolArgs', 'OceanLaunchSpecElasticIpPoolArgsDict']]]]] = None,
|
|
1212
1213
|
ephemeral_storages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecEphemeralStorageArgs', 'OceanLaunchSpecEphemeralStorageArgsDict']]]]] = None,
|
|
1213
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
1214
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
1214
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
1215
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1215
1216
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
1216
1217
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
1217
1218
|
instance_store_policy: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceStorePolicyArgs', 'OceanLaunchSpecInstanceStorePolicyArgsDict']]] = None,
|
|
1218
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1219
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1219
1220
|
instance_types_filters: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceTypesFiltersArgs', 'OceanLaunchSpecInstanceTypesFiltersArgsDict']]] = None,
|
|
1220
1221
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
1221
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1222
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
1223
|
-
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1224
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1225
|
-
reserved_enis: Optional[pulumi.Input[int]] = None,
|
|
1222
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1223
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1224
|
+
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1225
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1226
|
+
reserved_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
1226
1227
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecResourceLimitArgs', 'OceanLaunchSpecResourceLimitArgsDict']]]]] = None,
|
|
1227
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
1228
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
1228
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1229
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1229
1230
|
scheduling_shutdown_hours: Optional[pulumi.Input[Union['OceanLaunchSpecSchedulingShutdownHoursArgs', 'OceanLaunchSpecSchedulingShutdownHoursArgsDict']]] = None,
|
|
1230
1231
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
1231
|
-
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1232
|
+
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1232
1233
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
1233
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1234
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1234
1235
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
1235
1236
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
1236
1237
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None,
|
|
1237
|
-
user_data: Optional[pulumi.Input[str]] = None,
|
|
1238
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None,
|
|
1238
1239
|
__props__=None):
|
|
1239
1240
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
1240
1241
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -1290,7 +1291,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1290
1291
|
def get(resource_name: str,
|
|
1291
1292
|
id: pulumi.Input[str],
|
|
1292
1293
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
1293
|
-
associate_public_ip_address: Optional[pulumi.Input[bool]] = None,
|
|
1294
|
+
associate_public_ip_address: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1294
1295
|
autoscale_downs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleDownArgs', 'OceanLaunchSpecAutoscaleDownArgsDict']]]]] = None,
|
|
1295
1296
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
1296
1297
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
@@ -1299,31 +1300,31 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1299
1300
|
delete_options: Optional[pulumi.Input[Union['OceanLaunchSpecDeleteOptionsArgs', 'OceanLaunchSpecDeleteOptionsArgsDict']]] = None,
|
|
1300
1301
|
elastic_ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecElasticIpPoolArgs', 'OceanLaunchSpecElasticIpPoolArgsDict']]]]] = None,
|
|
1301
1302
|
ephemeral_storages: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecEphemeralStorageArgs', 'OceanLaunchSpecEphemeralStorageArgsDict']]]]] = None,
|
|
1302
|
-
iam_instance_profile: Optional[pulumi.Input[str]] = None,
|
|
1303
|
-
image_id: Optional[pulumi.Input[str]] = None,
|
|
1303
|
+
iam_instance_profile: Optional[pulumi.Input[builtins.str]] = None,
|
|
1304
|
+
image_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1304
1305
|
images: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]]] = None,
|
|
1305
1306
|
instance_metadata_options: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']]] = None,
|
|
1306
1307
|
instance_store_policy: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceStorePolicyArgs', 'OceanLaunchSpecInstanceStorePolicyArgsDict']]] = None,
|
|
1307
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1308
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1308
1309
|
instance_types_filters: Optional[pulumi.Input[Union['OceanLaunchSpecInstanceTypesFiltersArgs', 'OceanLaunchSpecInstanceTypesFiltersArgsDict']]] = None,
|
|
1309
1310
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
1310
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1311
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
1312
|
-
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1313
|
-
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1314
|
-
reserved_enis: Optional[pulumi.Input[int]] = None,
|
|
1311
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1312
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1313
|
+
preferred_od_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1314
|
+
preferred_spot_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1315
|
+
reserved_enis: Optional[pulumi.Input[builtins.int]] = None,
|
|
1315
1316
|
resource_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecResourceLimitArgs', 'OceanLaunchSpecResourceLimitArgsDict']]]]] = None,
|
|
1316
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
1317
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
1317
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1318
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1318
1319
|
scheduling_shutdown_hours: Optional[pulumi.Input[Union['OceanLaunchSpecSchedulingShutdownHoursArgs', 'OceanLaunchSpecSchedulingShutdownHoursArgsDict']]] = None,
|
|
1319
1320
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
1320
|
-
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1321
|
+
security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1321
1322
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
1322
|
-
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1323
|
+
subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1323
1324
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]]] = None,
|
|
1324
1325
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
1325
1326
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None,
|
|
1326
|
-
user_data: Optional[pulumi.Input[str]] = None) -> 'OceanLaunchSpec':
|
|
1327
|
+
user_data: Optional[pulumi.Input[builtins.str]] = None) -> 'OceanLaunchSpec':
|
|
1327
1328
|
"""
|
|
1328
1329
|
Get an existing OceanLaunchSpec resource's state with the given name, id, and optional extra
|
|
1329
1330
|
properties used to qualify the lookup.
|
|
@@ -1331,36 +1332,36 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1331
1332
|
:param str resource_name: The unique name of the resulting resource.
|
|
1332
1333
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
1333
1334
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1334
|
-
:param pulumi.Input[bool] associate_public_ip_address: Configure public IP address allocation.
|
|
1335
|
+
:param pulumi.Input[builtins.bool] associate_public_ip_address: Configure public IP address allocation.
|
|
1335
1336
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleDownArgs', 'OceanLaunchSpecAutoscaleDownArgsDict']]]] autoscale_downs: Auto Scaling scale down operations.
|
|
1336
1337
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
|
|
1337
1338
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
1338
1339
|
: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.
|
|
1339
1340
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecElasticIpPoolArgs', 'OceanLaunchSpecElasticIpPoolArgsDict']]]] elastic_ip_pools: Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
|
|
1340
|
-
:param pulumi.Input[str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1341
|
-
:param pulumi.Input[str] image_id: ID of the image used to launch the instances.
|
|
1341
|
+
:param pulumi.Input[builtins.str] iam_instance_profile: The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1342
|
+
:param pulumi.Input[builtins.str] image_id: ID of the image used to launch the instances.
|
|
1342
1343
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecImageArgs', 'OceanLaunchSpecImageArgsDict']]]] images: Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously.
|
|
1343
1344
|
For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
|
|
1344
1345
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceMetadataOptionsArgs', 'OceanLaunchSpecInstanceMetadataOptionsArgsDict']] instance_metadata_options: Ocean instance metadata options object for IMDSv2.
|
|
1345
1346
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceStorePolicyArgs', 'OceanLaunchSpecInstanceStorePolicyArgsDict']] instance_store_policy: Determines the utilization of instance store volumes. If not defined, instance store volumes will not be used.
|
|
1346
|
-
: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 cluster.
|
|
1347
|
+
: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 cluster.
|
|
1347
1348
|
:param pulumi.Input[Union['OceanLaunchSpecInstanceTypesFiltersArgs', 'OceanLaunchSpecInstanceTypesFiltersArgsDict']] instance_types_filters: The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter.
|
|
1348
1349
|
The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
|
|
1349
1350
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]] labels: Optionally adds labels to instances launched in the cluster.
|
|
1350
|
-
:param pulumi.Input[str] name: The name of the Virtual Node Group.
|
|
1351
|
-
:param pulumi.Input[str] ocean_id: The ID of the Ocean cluster.
|
|
1352
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1353
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1354
|
-
:param pulumi.Input[int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
1355
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1356
|
-
:param pulumi.Input[int] root_volume_size: Set root volume size (in GB).
|
|
1351
|
+
:param pulumi.Input[builtins.str] name: The name of the Virtual Node Group.
|
|
1352
|
+
:param pulumi.Input[builtins.str] ocean_id: The ID of the Ocean cluster.
|
|
1353
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_od_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1354
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] preferred_spot_types: A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1355
|
+
:param pulumi.Input[builtins.int] reserved_enis: Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
1356
|
+
:param pulumi.Input[builtins.bool] restrict_scale_down: Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1357
|
+
:param pulumi.Input[builtins.int] root_volume_size: Set root volume size (in GB).
|
|
1357
1358
|
:param pulumi.Input[Union['OceanLaunchSpecSchedulingShutdownHoursArgs', 'OceanLaunchSpecSchedulingShutdownHoursArgsDict']] scheduling_shutdown_hours: Used to specify times that the nodes in the virtual node group will be taken down.
|
|
1358
1359
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
1359
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] security_groups: Optionally adds security group IDs.
|
|
1360
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] subnet_ids: A list of subnet IDs.
|
|
1360
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] security_groups: Optionally adds security group IDs.
|
|
1361
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] subnet_ids: A list of subnet IDs.
|
|
1361
1362
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTagArgs', 'OceanLaunchSpecTagArgsDict']]]] tags: A key/value mapping of tags to assign to the resource.
|
|
1362
1363
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]] taints: Optionally adds labels to instances launched in the cluster.
|
|
1363
|
-
:param pulumi.Input[str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
1364
|
+
:param pulumi.Input[builtins.str] user_data: Base64-encoded MIME user data to make available to the instances.
|
|
1364
1365
|
"""
|
|
1365
1366
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
1366
1367
|
|
|
@@ -1404,7 +1405,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1404
1405
|
|
|
1405
1406
|
@property
|
|
1406
1407
|
@pulumi.getter(name="associatePublicIpAddress")
|
|
1407
|
-
def associate_public_ip_address(self) -> pulumi.Output[Optional[bool]]:
|
|
1408
|
+
def associate_public_ip_address(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1408
1409
|
"""
|
|
1409
1410
|
Configure public IP address allocation.
|
|
1410
1411
|
"""
|
|
@@ -1467,7 +1468,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1467
1468
|
|
|
1468
1469
|
@property
|
|
1469
1470
|
@pulumi.getter(name="iamInstanceProfile")
|
|
1470
|
-
def iam_instance_profile(self) -> pulumi.Output[Optional[str]]:
|
|
1471
|
+
def iam_instance_profile(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1471
1472
|
"""
|
|
1472
1473
|
The ARN or name of an IAM instance profile to associate with launched instances.
|
|
1473
1474
|
"""
|
|
@@ -1475,7 +1476,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1475
1476
|
|
|
1476
1477
|
@property
|
|
1477
1478
|
@pulumi.getter(name="imageId")
|
|
1478
|
-
def image_id(self) -> pulumi.Output[Optional[str]]:
|
|
1479
|
+
def image_id(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1479
1480
|
"""
|
|
1480
1481
|
ID of the image used to launch the instances.
|
|
1481
1482
|
"""
|
|
@@ -1508,7 +1509,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1508
1509
|
|
|
1509
1510
|
@property
|
|
1510
1511
|
@pulumi.getter(name="instanceTypes")
|
|
1511
|
-
def instance_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1512
|
+
def instance_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1512
1513
|
"""
|
|
1513
1514
|
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 cluster.
|
|
1514
1515
|
"""
|
|
@@ -1533,7 +1534,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1533
1534
|
|
|
1534
1535
|
@property
|
|
1535
1536
|
@pulumi.getter
|
|
1536
|
-
def name(self) -> pulumi.Output[str]:
|
|
1537
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1537
1538
|
"""
|
|
1538
1539
|
The name of the Virtual Node Group.
|
|
1539
1540
|
"""
|
|
@@ -1541,7 +1542,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1541
1542
|
|
|
1542
1543
|
@property
|
|
1543
1544
|
@pulumi.getter(name="oceanId")
|
|
1544
|
-
def ocean_id(self) -> pulumi.Output[str]:
|
|
1545
|
+
def ocean_id(self) -> pulumi.Output[builtins.str]:
|
|
1545
1546
|
"""
|
|
1546
1547
|
The ID of the Ocean cluster.
|
|
1547
1548
|
"""
|
|
@@ -1549,7 +1550,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1549
1550
|
|
|
1550
1551
|
@property
|
|
1551
1552
|
@pulumi.getter(name="preferredOdTypes")
|
|
1552
|
-
def preferred_od_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1553
|
+
def preferred_od_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1553
1554
|
"""
|
|
1554
1555
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1555
1556
|
"""
|
|
@@ -1557,7 +1558,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1557
1558
|
|
|
1558
1559
|
@property
|
|
1559
1560
|
@pulumi.getter(name="preferredSpotTypes")
|
|
1560
|
-
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1561
|
+
def preferred_spot_types(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1561
1562
|
"""
|
|
1562
1563
|
A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
|
|
1563
1564
|
"""
|
|
@@ -1565,7 +1566,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1565
1566
|
|
|
1566
1567
|
@property
|
|
1567
1568
|
@pulumi.getter(name="reservedEnis")
|
|
1568
|
-
def reserved_enis(self) -> pulumi.Output[Optional[int]]:
|
|
1569
|
+
def reserved_enis(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1569
1570
|
"""
|
|
1570
1571
|
Specifies the count of ENIs to reserve per instance type for scaling purposes.
|
|
1571
1572
|
"""
|
|
@@ -1578,7 +1579,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1578
1579
|
|
|
1579
1580
|
@property
|
|
1580
1581
|
@pulumi.getter(name="restrictScaleDown")
|
|
1581
|
-
def restrict_scale_down(self) -> pulumi.Output[Optional[bool]]:
|
|
1582
|
+
def restrict_scale_down(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
1582
1583
|
"""
|
|
1583
1584
|
Boolean. When set to `true`, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1584
1585
|
"""
|
|
@@ -1586,7 +1587,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1586
1587
|
|
|
1587
1588
|
@property
|
|
1588
1589
|
@pulumi.getter(name="rootVolumeSize")
|
|
1589
|
-
def root_volume_size(self) -> pulumi.Output[Optional[int]]:
|
|
1590
|
+
def root_volume_size(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
1590
1591
|
"""
|
|
1591
1592
|
Set root volume size (in GB).
|
|
1592
1593
|
"""
|
|
@@ -1610,7 +1611,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1610
1611
|
|
|
1611
1612
|
@property
|
|
1612
1613
|
@pulumi.getter(name="securityGroups")
|
|
1613
|
-
def security_groups(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1614
|
+
def security_groups(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1614
1615
|
"""
|
|
1615
1616
|
Optionally adds security group IDs.
|
|
1616
1617
|
"""
|
|
@@ -1623,7 +1624,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1623
1624
|
|
|
1624
1625
|
@property
|
|
1625
1626
|
@pulumi.getter(name="subnetIds")
|
|
1626
|
-
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1627
|
+
def subnet_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
1627
1628
|
"""
|
|
1628
1629
|
A list of subnet IDs.
|
|
1629
1630
|
"""
|
|
@@ -1652,7 +1653,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1652
1653
|
|
|
1653
1654
|
@property
|
|
1654
1655
|
@pulumi.getter(name="userData")
|
|
1655
|
-
def user_data(self) -> pulumi.Output[Optional[str]]:
|
|
1656
|
+
def user_data(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1656
1657
|
"""
|
|
1657
1658
|
Base64-encoded MIME user data to make available to the instances.
|
|
1658
1659
|
"""
|