pulumi-spotinst 3.116.0a1743057343__py3-none-any.whl → 3.116.1__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 -693
- 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 +756 -715
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +143 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +432 -403
- 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.116.0a1743057343.dist-info → pulumi_spotinst-3.116.1.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.116.1.dist-info/RECORD +76 -0
- pulumi_spotinst-3.116.0a1743057343.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.116.0a1743057343.dist-info → pulumi_spotinst-3.116.1.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.116.0a1743057343.dist-info → pulumi_spotinst-3.116.1.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,51 +22,51 @@ __all__ = ['OceanLaunchSpecArgs', 'OceanLaunchSpec']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class OceanLaunchSpecArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
ocean_id: pulumi.Input[str],
|
|
25
|
+
ocean_id: pulumi.Input[builtins.str],
|
|
25
26
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
26
27
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]]] = None,
|
|
27
28
|
create_options: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']] = None,
|
|
28
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
29
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
29
30
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
|
|
30
31
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecMetadataArgs']]]] = None,
|
|
31
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
32
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
33
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecNetworkInterfaceArgs']]]] = None,
|
|
33
|
-
node_pool_name: Optional[pulumi.Input[str]] = None,
|
|
34
|
+
node_pool_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
34
35
|
resource_limits: Optional[pulumi.Input['OceanLaunchSpecResourceLimitsArgs']] = None,
|
|
35
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
36
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
37
|
-
root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
36
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
37
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
38
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
39
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
39
|
-
service_account: Optional[pulumi.Input[str]] = None,
|
|
40
|
+
service_account: Optional[pulumi.Input[builtins.str]] = None,
|
|
40
41
|
shielded_instance_config: Optional[pulumi.Input['OceanLaunchSpecShieldedInstanceConfigArgs']] = None,
|
|
41
|
-
source_image: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
source_image: Optional[pulumi.Input[builtins.str]] = None,
|
|
42
43
|
storage: Optional[pulumi.Input['OceanLaunchSpecStorageArgs']] = None,
|
|
43
44
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
44
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
45
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
45
46
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
|
|
46
47
|
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None):
|
|
47
48
|
"""
|
|
48
49
|
The set of arguments for constructing a OceanLaunchSpec resource.
|
|
49
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID.
|
|
50
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID.
|
|
50
51
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
51
52
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
52
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
53
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
53
54
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in an Ocean cluster.
|
|
54
55
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecMetadataArgs']]] metadatas: Cluster's metadata.
|
|
55
|
-
:param pulumi.Input[str] name: The launch specification name.
|
|
56
|
+
:param pulumi.Input[builtins.str] name: The launch specification name.
|
|
56
57
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecNetworkInterfaceArgs']]] network_interfaces: Settings for network interfaces.
|
|
57
|
-
:param pulumi.Input[str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
58
|
+
:param pulumi.Input[builtins.str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
58
59
|
:param pulumi.Input['OceanLaunchSpecResourceLimitsArgs'] resource_limits: The Ocean virtual node group resource limits object.
|
|
59
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
60
|
-
:param pulumi.Input[int] root_volume_size: Root volume size (in GB).
|
|
61
|
-
:param pulumi.Input[str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
60
|
+
: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.
|
|
61
|
+
:param pulumi.Input[builtins.int] root_volume_size: Root volume size (in GB).
|
|
62
|
+
:param pulumi.Input[builtins.str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
62
63
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
63
|
-
:param pulumi.Input[str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
64
|
+
:param pulumi.Input[builtins.str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
64
65
|
:param pulumi.Input['OceanLaunchSpecShieldedInstanceConfigArgs'] shielded_instance_config: The Ocean shielded instance configuration object.
|
|
65
|
-
:param pulumi.Input[str] source_image: Image URL.
|
|
66
|
+
:param pulumi.Input[builtins.str] source_image: Image URL.
|
|
66
67
|
:param pulumi.Input['OceanLaunchSpecStorageArgs'] storage: The Ocean virtual node group storage object.
|
|
67
68
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]] strategies: The Ocean Launch Spec Strategy object.
|
|
68
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
69
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
69
70
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in an Ocean cluster.
|
|
70
71
|
"""
|
|
71
72
|
pulumi.set(__self__, "ocean_id", ocean_id)
|
|
@@ -116,14 +117,14 @@ class OceanLaunchSpecArgs:
|
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter(name="oceanId")
|
|
119
|
-
def ocean_id(self) -> pulumi.Input[str]:
|
|
120
|
+
def ocean_id(self) -> pulumi.Input[builtins.str]:
|
|
120
121
|
"""
|
|
121
122
|
The Ocean cluster ID.
|
|
122
123
|
"""
|
|
123
124
|
return pulumi.get(self, "ocean_id")
|
|
124
125
|
|
|
125
126
|
@ocean_id.setter
|
|
126
|
-
def ocean_id(self, value: pulumi.Input[str]):
|
|
127
|
+
def ocean_id(self, value: pulumi.Input[builtins.str]):
|
|
127
128
|
pulumi.set(self, "ocean_id", value)
|
|
128
129
|
|
|
129
130
|
@property
|
|
@@ -161,14 +162,14 @@ class OceanLaunchSpecArgs:
|
|
|
161
162
|
|
|
162
163
|
@property
|
|
163
164
|
@pulumi.getter(name="instanceTypes")
|
|
164
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
165
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
165
166
|
"""
|
|
166
167
|
List of supported machine types for the Launch Spec.
|
|
167
168
|
"""
|
|
168
169
|
return pulumi.get(self, "instance_types")
|
|
169
170
|
|
|
170
171
|
@instance_types.setter
|
|
171
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
172
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
172
173
|
pulumi.set(self, "instance_types", value)
|
|
173
174
|
|
|
174
175
|
@property
|
|
@@ -197,14 +198,14 @@ class OceanLaunchSpecArgs:
|
|
|
197
198
|
|
|
198
199
|
@property
|
|
199
200
|
@pulumi.getter
|
|
200
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
201
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
201
202
|
"""
|
|
202
203
|
The launch specification name.
|
|
203
204
|
"""
|
|
204
205
|
return pulumi.get(self, "name")
|
|
205
206
|
|
|
206
207
|
@name.setter
|
|
207
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
208
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
208
209
|
pulumi.set(self, "name", value)
|
|
209
210
|
|
|
210
211
|
@property
|
|
@@ -221,14 +222,14 @@ class OceanLaunchSpecArgs:
|
|
|
221
222
|
|
|
222
223
|
@property
|
|
223
224
|
@pulumi.getter(name="nodePoolName")
|
|
224
|
-
def node_pool_name(self) -> Optional[pulumi.Input[str]]:
|
|
225
|
+
def node_pool_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
225
226
|
"""
|
|
226
227
|
The node pool you wish to use in your Launch Spec.
|
|
227
228
|
"""
|
|
228
229
|
return pulumi.get(self, "node_pool_name")
|
|
229
230
|
|
|
230
231
|
@node_pool_name.setter
|
|
231
|
-
def node_pool_name(self, value: Optional[pulumi.Input[str]]):
|
|
232
|
+
def node_pool_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
232
233
|
pulumi.set(self, "node_pool_name", value)
|
|
233
234
|
|
|
234
235
|
@property
|
|
@@ -245,38 +246,38 @@ class OceanLaunchSpecArgs:
|
|
|
245
246
|
|
|
246
247
|
@property
|
|
247
248
|
@pulumi.getter(name="restrictScaleDown")
|
|
248
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
249
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
249
250
|
"""
|
|
250
251
|
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.
|
|
251
252
|
"""
|
|
252
253
|
return pulumi.get(self, "restrict_scale_down")
|
|
253
254
|
|
|
254
255
|
@restrict_scale_down.setter
|
|
255
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
256
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
256
257
|
pulumi.set(self, "restrict_scale_down", value)
|
|
257
258
|
|
|
258
259
|
@property
|
|
259
260
|
@pulumi.getter(name="rootVolumeSize")
|
|
260
|
-
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
261
|
+
def root_volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
261
262
|
"""
|
|
262
263
|
Root volume size (in GB).
|
|
263
264
|
"""
|
|
264
265
|
return pulumi.get(self, "root_volume_size")
|
|
265
266
|
|
|
266
267
|
@root_volume_size.setter
|
|
267
|
-
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
268
|
+
def root_volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
268
269
|
pulumi.set(self, "root_volume_size", value)
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="rootVolumeType")
|
|
272
|
-
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
273
|
+
def root_volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
273
274
|
"""
|
|
274
275
|
Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
275
276
|
"""
|
|
276
277
|
return pulumi.get(self, "root_volume_type")
|
|
277
278
|
|
|
278
279
|
@root_volume_type.setter
|
|
279
|
-
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
280
|
+
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
280
281
|
pulumi.set(self, "root_volume_type", value)
|
|
281
282
|
|
|
282
283
|
@property
|
|
@@ -293,14 +294,14 @@ class OceanLaunchSpecArgs:
|
|
|
293
294
|
|
|
294
295
|
@property
|
|
295
296
|
@pulumi.getter(name="serviceAccount")
|
|
296
|
-
def service_account(self) -> Optional[pulumi.Input[str]]:
|
|
297
|
+
def service_account(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
297
298
|
"""
|
|
298
299
|
The account used by applications running on the VM to call GCP APIs.
|
|
299
300
|
"""
|
|
300
301
|
return pulumi.get(self, "service_account")
|
|
301
302
|
|
|
302
303
|
@service_account.setter
|
|
303
|
-
def service_account(self, value: Optional[pulumi.Input[str]]):
|
|
304
|
+
def service_account(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
304
305
|
pulumi.set(self, "service_account", value)
|
|
305
306
|
|
|
306
307
|
@property
|
|
@@ -317,14 +318,14 @@ class OceanLaunchSpecArgs:
|
|
|
317
318
|
|
|
318
319
|
@property
|
|
319
320
|
@pulumi.getter(name="sourceImage")
|
|
320
|
-
def source_image(self) -> Optional[pulumi.Input[str]]:
|
|
321
|
+
def source_image(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
321
322
|
"""
|
|
322
323
|
Image URL.
|
|
323
324
|
"""
|
|
324
325
|
return pulumi.get(self, "source_image")
|
|
325
326
|
|
|
326
327
|
@source_image.setter
|
|
327
|
-
def source_image(self, value: Optional[pulumi.Input[str]]):
|
|
328
|
+
def source_image(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
328
329
|
pulumi.set(self, "source_image", value)
|
|
329
330
|
|
|
330
331
|
@property
|
|
@@ -353,14 +354,14 @@ class OceanLaunchSpecArgs:
|
|
|
353
354
|
|
|
354
355
|
@property
|
|
355
356
|
@pulumi.getter
|
|
356
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
357
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
357
358
|
"""
|
|
358
359
|
Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
359
360
|
"""
|
|
360
361
|
return pulumi.get(self, "tags")
|
|
361
362
|
|
|
362
363
|
@tags.setter
|
|
363
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
364
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
364
365
|
pulumi.set(self, "tags", value)
|
|
365
366
|
|
|
366
367
|
@property
|
|
@@ -391,48 +392,48 @@ class _OceanLaunchSpecState:
|
|
|
391
392
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]]] = None,
|
|
392
393
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]]] = None,
|
|
393
394
|
create_options: Optional[pulumi.Input['OceanLaunchSpecCreateOptionsArgs']] = None,
|
|
394
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
395
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
395
396
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]]] = None,
|
|
396
397
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecMetadataArgs']]]] = None,
|
|
397
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
398
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
398
399
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecNetworkInterfaceArgs']]]] = None,
|
|
399
|
-
node_pool_name: Optional[pulumi.Input[str]] = None,
|
|
400
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
400
|
+
node_pool_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
401
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
401
402
|
resource_limits: Optional[pulumi.Input['OceanLaunchSpecResourceLimitsArgs']] = None,
|
|
402
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
403
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
404
|
-
root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
403
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
404
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
405
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
405
406
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]]] = None,
|
|
406
|
-
service_account: Optional[pulumi.Input[str]] = None,
|
|
407
|
+
service_account: Optional[pulumi.Input[builtins.str]] = None,
|
|
407
408
|
shielded_instance_config: Optional[pulumi.Input['OceanLaunchSpecShieldedInstanceConfigArgs']] = None,
|
|
408
|
-
source_image: Optional[pulumi.Input[str]] = None,
|
|
409
|
+
source_image: Optional[pulumi.Input[builtins.str]] = None,
|
|
409
410
|
storage: Optional[pulumi.Input['OceanLaunchSpecStorageArgs']] = None,
|
|
410
411
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]]] = None,
|
|
411
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
412
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
412
413
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]]] = None,
|
|
413
414
|
update_policy: Optional[pulumi.Input['OceanLaunchSpecUpdatePolicyArgs']] = None):
|
|
414
415
|
"""
|
|
415
416
|
Input properties used for looking up and filtering OceanLaunchSpec resources.
|
|
416
417
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomArgs']]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
417
418
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs']]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
418
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
419
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
419
420
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecLabelArgs']]] labels: Optionally adds labels to instances launched in an Ocean cluster.
|
|
420
421
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecMetadataArgs']]] metadatas: Cluster's metadata.
|
|
421
|
-
:param pulumi.Input[str] name: The launch specification name.
|
|
422
|
+
:param pulumi.Input[builtins.str] name: The launch specification name.
|
|
422
423
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecNetworkInterfaceArgs']]] network_interfaces: Settings for network interfaces.
|
|
423
|
-
:param pulumi.Input[str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
424
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID.
|
|
424
|
+
:param pulumi.Input[builtins.str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
425
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID.
|
|
425
426
|
:param pulumi.Input['OceanLaunchSpecResourceLimitsArgs'] resource_limits: The Ocean virtual node group resource limits object.
|
|
426
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
427
|
-
:param pulumi.Input[int] root_volume_size: Root volume size (in GB).
|
|
428
|
-
:param pulumi.Input[str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
427
|
+
: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.
|
|
428
|
+
:param pulumi.Input[builtins.int] root_volume_size: Root volume size (in GB).
|
|
429
|
+
:param pulumi.Input[builtins.str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
429
430
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecSchedulingTaskArgs']]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
430
|
-
:param pulumi.Input[str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
431
|
+
:param pulumi.Input[builtins.str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
431
432
|
:param pulumi.Input['OceanLaunchSpecShieldedInstanceConfigArgs'] shielded_instance_config: The Ocean shielded instance configuration object.
|
|
432
|
-
:param pulumi.Input[str] source_image: Image URL.
|
|
433
|
+
:param pulumi.Input[builtins.str] source_image: Image URL.
|
|
433
434
|
:param pulumi.Input['OceanLaunchSpecStorageArgs'] storage: The Ocean virtual node group storage object.
|
|
434
435
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecStrategyArgs']]] strategies: The Ocean Launch Spec Strategy object.
|
|
435
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
436
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
436
437
|
:param pulumi.Input[Sequence[pulumi.Input['OceanLaunchSpecTaintArgs']]] taints: Optionally adds labels to instances launched in an Ocean cluster.
|
|
437
438
|
"""
|
|
438
439
|
if autoscale_headrooms is not None:
|
|
@@ -517,14 +518,14 @@ class _OceanLaunchSpecState:
|
|
|
517
518
|
|
|
518
519
|
@property
|
|
519
520
|
@pulumi.getter(name="instanceTypes")
|
|
520
|
-
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
521
|
+
def instance_types(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
521
522
|
"""
|
|
522
523
|
List of supported machine types for the Launch Spec.
|
|
523
524
|
"""
|
|
524
525
|
return pulumi.get(self, "instance_types")
|
|
525
526
|
|
|
526
527
|
@instance_types.setter
|
|
527
|
-
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
528
|
+
def instance_types(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
528
529
|
pulumi.set(self, "instance_types", value)
|
|
529
530
|
|
|
530
531
|
@property
|
|
@@ -553,14 +554,14 @@ class _OceanLaunchSpecState:
|
|
|
553
554
|
|
|
554
555
|
@property
|
|
555
556
|
@pulumi.getter
|
|
556
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
557
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
557
558
|
"""
|
|
558
559
|
The launch specification name.
|
|
559
560
|
"""
|
|
560
561
|
return pulumi.get(self, "name")
|
|
561
562
|
|
|
562
563
|
@name.setter
|
|
563
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
564
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
564
565
|
pulumi.set(self, "name", value)
|
|
565
566
|
|
|
566
567
|
@property
|
|
@@ -577,26 +578,26 @@ class _OceanLaunchSpecState:
|
|
|
577
578
|
|
|
578
579
|
@property
|
|
579
580
|
@pulumi.getter(name="nodePoolName")
|
|
580
|
-
def node_pool_name(self) -> Optional[pulumi.Input[str]]:
|
|
581
|
+
def node_pool_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
581
582
|
"""
|
|
582
583
|
The node pool you wish to use in your Launch Spec.
|
|
583
584
|
"""
|
|
584
585
|
return pulumi.get(self, "node_pool_name")
|
|
585
586
|
|
|
586
587
|
@node_pool_name.setter
|
|
587
|
-
def node_pool_name(self, value: Optional[pulumi.Input[str]]):
|
|
588
|
+
def node_pool_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
588
589
|
pulumi.set(self, "node_pool_name", value)
|
|
589
590
|
|
|
590
591
|
@property
|
|
591
592
|
@pulumi.getter(name="oceanId")
|
|
592
|
-
def ocean_id(self) -> Optional[pulumi.Input[str]]:
|
|
593
|
+
def ocean_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
593
594
|
"""
|
|
594
595
|
The Ocean cluster ID.
|
|
595
596
|
"""
|
|
596
597
|
return pulumi.get(self, "ocean_id")
|
|
597
598
|
|
|
598
599
|
@ocean_id.setter
|
|
599
|
-
def ocean_id(self, value: Optional[pulumi.Input[str]]):
|
|
600
|
+
def ocean_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
600
601
|
pulumi.set(self, "ocean_id", value)
|
|
601
602
|
|
|
602
603
|
@property
|
|
@@ -613,38 +614,38 @@ class _OceanLaunchSpecState:
|
|
|
613
614
|
|
|
614
615
|
@property
|
|
615
616
|
@pulumi.getter(name="restrictScaleDown")
|
|
616
|
-
def restrict_scale_down(self) -> Optional[pulumi.Input[bool]]:
|
|
617
|
+
def restrict_scale_down(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
617
618
|
"""
|
|
618
619
|
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.
|
|
619
620
|
"""
|
|
620
621
|
return pulumi.get(self, "restrict_scale_down")
|
|
621
622
|
|
|
622
623
|
@restrict_scale_down.setter
|
|
623
|
-
def restrict_scale_down(self, value: Optional[pulumi.Input[bool]]):
|
|
624
|
+
def restrict_scale_down(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
624
625
|
pulumi.set(self, "restrict_scale_down", value)
|
|
625
626
|
|
|
626
627
|
@property
|
|
627
628
|
@pulumi.getter(name="rootVolumeSize")
|
|
628
|
-
def root_volume_size(self) -> Optional[pulumi.Input[int]]:
|
|
629
|
+
def root_volume_size(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
629
630
|
"""
|
|
630
631
|
Root volume size (in GB).
|
|
631
632
|
"""
|
|
632
633
|
return pulumi.get(self, "root_volume_size")
|
|
633
634
|
|
|
634
635
|
@root_volume_size.setter
|
|
635
|
-
def root_volume_size(self, value: Optional[pulumi.Input[int]]):
|
|
636
|
+
def root_volume_size(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
636
637
|
pulumi.set(self, "root_volume_size", value)
|
|
637
638
|
|
|
638
639
|
@property
|
|
639
640
|
@pulumi.getter(name="rootVolumeType")
|
|
640
|
-
def root_volume_type(self) -> Optional[pulumi.Input[str]]:
|
|
641
|
+
def root_volume_type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
641
642
|
"""
|
|
642
643
|
Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
643
644
|
"""
|
|
644
645
|
return pulumi.get(self, "root_volume_type")
|
|
645
646
|
|
|
646
647
|
@root_volume_type.setter
|
|
647
|
-
def root_volume_type(self, value: Optional[pulumi.Input[str]]):
|
|
648
|
+
def root_volume_type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
648
649
|
pulumi.set(self, "root_volume_type", value)
|
|
649
650
|
|
|
650
651
|
@property
|
|
@@ -661,14 +662,14 @@ class _OceanLaunchSpecState:
|
|
|
661
662
|
|
|
662
663
|
@property
|
|
663
664
|
@pulumi.getter(name="serviceAccount")
|
|
664
|
-
def service_account(self) -> Optional[pulumi.Input[str]]:
|
|
665
|
+
def service_account(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
665
666
|
"""
|
|
666
667
|
The account used by applications running on the VM to call GCP APIs.
|
|
667
668
|
"""
|
|
668
669
|
return pulumi.get(self, "service_account")
|
|
669
670
|
|
|
670
671
|
@service_account.setter
|
|
671
|
-
def service_account(self, value: Optional[pulumi.Input[str]]):
|
|
672
|
+
def service_account(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
672
673
|
pulumi.set(self, "service_account", value)
|
|
673
674
|
|
|
674
675
|
@property
|
|
@@ -685,14 +686,14 @@ class _OceanLaunchSpecState:
|
|
|
685
686
|
|
|
686
687
|
@property
|
|
687
688
|
@pulumi.getter(name="sourceImage")
|
|
688
|
-
def source_image(self) -> Optional[pulumi.Input[str]]:
|
|
689
|
+
def source_image(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
689
690
|
"""
|
|
690
691
|
Image URL.
|
|
691
692
|
"""
|
|
692
693
|
return pulumi.get(self, "source_image")
|
|
693
694
|
|
|
694
695
|
@source_image.setter
|
|
695
|
-
def source_image(self, value: Optional[pulumi.Input[str]]):
|
|
696
|
+
def source_image(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
696
697
|
pulumi.set(self, "source_image", value)
|
|
697
698
|
|
|
698
699
|
@property
|
|
@@ -721,14 +722,14 @@ class _OceanLaunchSpecState:
|
|
|
721
722
|
|
|
722
723
|
@property
|
|
723
724
|
@pulumi.getter
|
|
724
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
725
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
725
726
|
"""
|
|
726
727
|
Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
727
728
|
"""
|
|
728
729
|
return pulumi.get(self, "tags")
|
|
729
730
|
|
|
730
731
|
@tags.setter
|
|
731
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
732
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
732
733
|
pulumi.set(self, "tags", value)
|
|
733
734
|
|
|
734
735
|
@property
|
|
@@ -761,24 +762,24 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
761
762
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
762
763
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
763
764
|
create_options: Optional[pulumi.Input[Union['OceanLaunchSpecCreateOptionsArgs', 'OceanLaunchSpecCreateOptionsArgsDict']]] = None,
|
|
764
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
765
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
765
766
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
766
767
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecMetadataArgs', 'OceanLaunchSpecMetadataArgsDict']]]]] = None,
|
|
767
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
768
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
768
769
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecNetworkInterfaceArgs', 'OceanLaunchSpecNetworkInterfaceArgsDict']]]]] = None,
|
|
769
|
-
node_pool_name: Optional[pulumi.Input[str]] = None,
|
|
770
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
770
|
+
node_pool_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
771
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
771
772
|
resource_limits: Optional[pulumi.Input[Union['OceanLaunchSpecResourceLimitsArgs', 'OceanLaunchSpecResourceLimitsArgsDict']]] = None,
|
|
772
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
773
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
774
|
-
root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
773
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
774
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
775
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
775
776
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
776
|
-
service_account: Optional[pulumi.Input[str]] = None,
|
|
777
|
+
service_account: Optional[pulumi.Input[builtins.str]] = None,
|
|
777
778
|
shielded_instance_config: Optional[pulumi.Input[Union['OceanLaunchSpecShieldedInstanceConfigArgs', 'OceanLaunchSpecShieldedInstanceConfigArgsDict']]] = None,
|
|
778
|
-
source_image: Optional[pulumi.Input[str]] = None,
|
|
779
|
+
source_image: Optional[pulumi.Input[builtins.str]] = None,
|
|
779
780
|
storage: Optional[pulumi.Input[Union['OceanLaunchSpecStorageArgs', 'OceanLaunchSpecStorageArgsDict']]] = None,
|
|
780
781
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
781
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
782
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
782
783
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
783
784
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None,
|
|
784
785
|
__props__=None):
|
|
@@ -845,6 +846,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
845
846
|
}],
|
|
846
847
|
strategies=[{
|
|
847
848
|
"preemptible_percentage": 30,
|
|
849
|
+
"scaling_orientation": "balanced",
|
|
848
850
|
}],
|
|
849
851
|
scheduling_tasks=[{
|
|
850
852
|
"is_enabled": True,
|
|
@@ -875,24 +877,24 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
875
877
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
876
878
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
877
879
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
878
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
880
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
879
881
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]] labels: Optionally adds labels to instances launched in an Ocean cluster.
|
|
880
882
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecMetadataArgs', 'OceanLaunchSpecMetadataArgsDict']]]] metadatas: Cluster's metadata.
|
|
881
|
-
:param pulumi.Input[str] name: The launch specification name.
|
|
883
|
+
:param pulumi.Input[builtins.str] name: The launch specification name.
|
|
882
884
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecNetworkInterfaceArgs', 'OceanLaunchSpecNetworkInterfaceArgsDict']]]] network_interfaces: Settings for network interfaces.
|
|
883
|
-
:param pulumi.Input[str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
884
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID.
|
|
885
|
+
:param pulumi.Input[builtins.str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
886
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID.
|
|
885
887
|
:param pulumi.Input[Union['OceanLaunchSpecResourceLimitsArgs', 'OceanLaunchSpecResourceLimitsArgsDict']] resource_limits: The Ocean virtual node group resource limits object.
|
|
886
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
887
|
-
:param pulumi.Input[int] root_volume_size: Root volume size (in GB).
|
|
888
|
-
:param pulumi.Input[str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
888
|
+
: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.
|
|
889
|
+
:param pulumi.Input[builtins.int] root_volume_size: Root volume size (in GB).
|
|
890
|
+
:param pulumi.Input[builtins.str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
889
891
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
890
|
-
:param pulumi.Input[str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
892
|
+
:param pulumi.Input[builtins.str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
891
893
|
:param pulumi.Input[Union['OceanLaunchSpecShieldedInstanceConfigArgs', 'OceanLaunchSpecShieldedInstanceConfigArgsDict']] shielded_instance_config: The Ocean shielded instance configuration object.
|
|
892
|
-
:param pulumi.Input[str] source_image: Image URL.
|
|
894
|
+
:param pulumi.Input[builtins.str] source_image: Image URL.
|
|
893
895
|
:param pulumi.Input[Union['OceanLaunchSpecStorageArgs', 'OceanLaunchSpecStorageArgsDict']] storage: The Ocean virtual node group storage object.
|
|
894
896
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]] strategies: The Ocean Launch Spec Strategy object.
|
|
895
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
897
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
896
898
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]] taints: Optionally adds labels to instances launched in an Ocean cluster.
|
|
897
899
|
"""
|
|
898
900
|
...
|
|
@@ -964,6 +966,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
964
966
|
}],
|
|
965
967
|
strategies=[{
|
|
966
968
|
"preemptible_percentage": 30,
|
|
969
|
+
"scaling_orientation": "balanced",
|
|
967
970
|
}],
|
|
968
971
|
scheduling_tasks=[{
|
|
969
972
|
"is_enabled": True,
|
|
@@ -1008,24 +1011,24 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1008
1011
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
1009
1012
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
1010
1013
|
create_options: Optional[pulumi.Input[Union['OceanLaunchSpecCreateOptionsArgs', 'OceanLaunchSpecCreateOptionsArgsDict']]] = None,
|
|
1011
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1014
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1012
1015
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
1013
1016
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecMetadataArgs', 'OceanLaunchSpecMetadataArgsDict']]]]] = None,
|
|
1014
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1017
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1015
1018
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecNetworkInterfaceArgs', 'OceanLaunchSpecNetworkInterfaceArgsDict']]]]] = None,
|
|
1016
|
-
node_pool_name: Optional[pulumi.Input[str]] = None,
|
|
1017
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
1019
|
+
node_pool_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1020
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1018
1021
|
resource_limits: Optional[pulumi.Input[Union['OceanLaunchSpecResourceLimitsArgs', 'OceanLaunchSpecResourceLimitsArgsDict']]] = None,
|
|
1019
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
1020
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
1021
|
-
root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
1022
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1023
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1024
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1022
1025
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
1023
|
-
service_account: Optional[pulumi.Input[str]] = None,
|
|
1026
|
+
service_account: Optional[pulumi.Input[builtins.str]] = None,
|
|
1024
1027
|
shielded_instance_config: Optional[pulumi.Input[Union['OceanLaunchSpecShieldedInstanceConfigArgs', 'OceanLaunchSpecShieldedInstanceConfigArgsDict']]] = None,
|
|
1025
|
-
source_image: Optional[pulumi.Input[str]] = None,
|
|
1028
|
+
source_image: Optional[pulumi.Input[builtins.str]] = None,
|
|
1026
1029
|
storage: Optional[pulumi.Input[Union['OceanLaunchSpecStorageArgs', 'OceanLaunchSpecStorageArgsDict']]] = None,
|
|
1027
1030
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
1028
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1031
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1029
1032
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
1030
1033
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None,
|
|
1031
1034
|
__props__=None):
|
|
@@ -1075,24 +1078,24 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1075
1078
|
autoscale_headrooms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]]] = None,
|
|
1076
1079
|
autoscale_headrooms_automatics: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]]] = None,
|
|
1077
1080
|
create_options: Optional[pulumi.Input[Union['OceanLaunchSpecCreateOptionsArgs', 'OceanLaunchSpecCreateOptionsArgsDict']]] = None,
|
|
1078
|
-
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1081
|
+
instance_types: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1079
1082
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]]] = None,
|
|
1080
1083
|
metadatas: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecMetadataArgs', 'OceanLaunchSpecMetadataArgsDict']]]]] = None,
|
|
1081
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1084
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1082
1085
|
network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecNetworkInterfaceArgs', 'OceanLaunchSpecNetworkInterfaceArgsDict']]]]] = None,
|
|
1083
|
-
node_pool_name: Optional[pulumi.Input[str]] = None,
|
|
1084
|
-
ocean_id: Optional[pulumi.Input[str]] = None,
|
|
1086
|
+
node_pool_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1087
|
+
ocean_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1085
1088
|
resource_limits: Optional[pulumi.Input[Union['OceanLaunchSpecResourceLimitsArgs', 'OceanLaunchSpecResourceLimitsArgsDict']]] = None,
|
|
1086
|
-
restrict_scale_down: Optional[pulumi.Input[bool]] = None,
|
|
1087
|
-
root_volume_size: Optional[pulumi.Input[int]] = None,
|
|
1088
|
-
root_volume_type: Optional[pulumi.Input[str]] = None,
|
|
1089
|
+
restrict_scale_down: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1090
|
+
root_volume_size: Optional[pulumi.Input[builtins.int]] = None,
|
|
1091
|
+
root_volume_type: Optional[pulumi.Input[builtins.str]] = None,
|
|
1089
1092
|
scheduling_tasks: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]]] = None,
|
|
1090
|
-
service_account: Optional[pulumi.Input[str]] = None,
|
|
1093
|
+
service_account: Optional[pulumi.Input[builtins.str]] = None,
|
|
1091
1094
|
shielded_instance_config: Optional[pulumi.Input[Union['OceanLaunchSpecShieldedInstanceConfigArgs', 'OceanLaunchSpecShieldedInstanceConfigArgsDict']]] = None,
|
|
1092
|
-
source_image: Optional[pulumi.Input[str]] = None,
|
|
1095
|
+
source_image: Optional[pulumi.Input[builtins.str]] = None,
|
|
1093
1096
|
storage: Optional[pulumi.Input[Union['OceanLaunchSpecStorageArgs', 'OceanLaunchSpecStorageArgsDict']]] = None,
|
|
1094
1097
|
strategies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]]] = None,
|
|
1095
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1098
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1096
1099
|
taints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]]] = None,
|
|
1097
1100
|
update_policy: Optional[pulumi.Input[Union['OceanLaunchSpecUpdatePolicyArgs', 'OceanLaunchSpecUpdatePolicyArgsDict']]] = None) -> 'OceanLaunchSpec':
|
|
1098
1101
|
"""
|
|
@@ -1104,24 +1107,24 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1104
1107
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
1105
1108
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomArgs', 'OceanLaunchSpecAutoscaleHeadroomArgsDict']]]] autoscale_headrooms: Set custom headroom per launch spec. provide list of headrooms object.
|
|
1106
1109
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs', 'OceanLaunchSpecAutoscaleHeadroomsAutomaticArgsDict']]]] autoscale_headrooms_automatics: Set automatic headroom per launch spec.
|
|
1107
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
1110
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] instance_types: List of supported machine types for the Launch Spec.
|
|
1108
1111
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecLabelArgs', 'OceanLaunchSpecLabelArgsDict']]]] labels: Optionally adds labels to instances launched in an Ocean cluster.
|
|
1109
1112
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecMetadataArgs', 'OceanLaunchSpecMetadataArgsDict']]]] metadatas: Cluster's metadata.
|
|
1110
|
-
:param pulumi.Input[str] name: The launch specification name.
|
|
1113
|
+
:param pulumi.Input[builtins.str] name: The launch specification name.
|
|
1111
1114
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecNetworkInterfaceArgs', 'OceanLaunchSpecNetworkInterfaceArgsDict']]]] network_interfaces: Settings for network interfaces.
|
|
1112
|
-
:param pulumi.Input[str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
1113
|
-
:param pulumi.Input[str] ocean_id: The Ocean cluster ID.
|
|
1115
|
+
:param pulumi.Input[builtins.str] node_pool_name: The node pool you wish to use in your Launch Spec.
|
|
1116
|
+
:param pulumi.Input[builtins.str] ocean_id: The Ocean cluster ID.
|
|
1114
1117
|
:param pulumi.Input[Union['OceanLaunchSpecResourceLimitsArgs', 'OceanLaunchSpecResourceLimitsArgsDict']] resource_limits: The Ocean virtual node group resource limits object.
|
|
1115
|
-
:param pulumi.Input[bool] restrict_scale_down: Boolean. When set to `true`, VNG nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty.
|
|
1116
|
-
:param pulumi.Input[int] root_volume_size: Root volume size (in GB).
|
|
1117
|
-
:param pulumi.Input[str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
1118
|
+
: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.
|
|
1119
|
+
:param pulumi.Input[builtins.int] root_volume_size: Root volume size (in GB).
|
|
1120
|
+
:param pulumi.Input[builtins.str] root_volume_type: Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
1118
1121
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecSchedulingTaskArgs', 'OceanLaunchSpecSchedulingTaskArgsDict']]]] scheduling_tasks: Used to define scheduled tasks such as a manual headroom update.
|
|
1119
|
-
:param pulumi.Input[str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
1122
|
+
:param pulumi.Input[builtins.str] service_account: The account used by applications running on the VM to call GCP APIs.
|
|
1120
1123
|
:param pulumi.Input[Union['OceanLaunchSpecShieldedInstanceConfigArgs', 'OceanLaunchSpecShieldedInstanceConfigArgsDict']] shielded_instance_config: The Ocean shielded instance configuration object.
|
|
1121
|
-
:param pulumi.Input[str] source_image: Image URL.
|
|
1124
|
+
:param pulumi.Input[builtins.str] source_image: Image URL.
|
|
1122
1125
|
:param pulumi.Input[Union['OceanLaunchSpecStorageArgs', 'OceanLaunchSpecStorageArgsDict']] storage: The Ocean virtual node group storage object.
|
|
1123
1126
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecStrategyArgs', 'OceanLaunchSpecStrategyArgsDict']]]] strategies: The Ocean Launch Spec Strategy object.
|
|
1124
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
1127
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
1125
1128
|
:param pulumi.Input[Sequence[pulumi.Input[Union['OceanLaunchSpecTaintArgs', 'OceanLaunchSpecTaintArgsDict']]]] taints: Optionally adds labels to instances launched in an Ocean cluster.
|
|
1126
1129
|
"""
|
|
1127
1130
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -1176,7 +1179,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1176
1179
|
|
|
1177
1180
|
@property
|
|
1178
1181
|
@pulumi.getter(name="instanceTypes")
|
|
1179
|
-
def instance_types(self) -> pulumi.Output[Sequence[str]]:
|
|
1182
|
+
def instance_types(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
1180
1183
|
"""
|
|
1181
1184
|
List of supported machine types for the Launch Spec.
|
|
1182
1185
|
"""
|
|
@@ -1200,7 +1203,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1200
1203
|
|
|
1201
1204
|
@property
|
|
1202
1205
|
@pulumi.getter
|
|
1203
|
-
def name(self) -> pulumi.Output[str]:
|
|
1206
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
1204
1207
|
"""
|
|
1205
1208
|
The launch specification name.
|
|
1206
1209
|
"""
|
|
@@ -1216,7 +1219,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1216
1219
|
|
|
1217
1220
|
@property
|
|
1218
1221
|
@pulumi.getter(name="nodePoolName")
|
|
1219
|
-
def node_pool_name(self) -> pulumi.Output[Optional[str]]:
|
|
1222
|
+
def node_pool_name(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
1220
1223
|
"""
|
|
1221
1224
|
The node pool you wish to use in your Launch Spec.
|
|
1222
1225
|
"""
|
|
@@ -1224,7 +1227,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1224
1227
|
|
|
1225
1228
|
@property
|
|
1226
1229
|
@pulumi.getter(name="oceanId")
|
|
1227
|
-
def ocean_id(self) -> pulumi.Output[str]:
|
|
1230
|
+
def ocean_id(self) -> pulumi.Output[builtins.str]:
|
|
1228
1231
|
"""
|
|
1229
1232
|
The Ocean cluster ID.
|
|
1230
1233
|
"""
|
|
@@ -1240,7 +1243,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1240
1243
|
|
|
1241
1244
|
@property
|
|
1242
1245
|
@pulumi.getter(name="restrictScaleDown")
|
|
1243
|
-
def restrict_scale_down(self) -> pulumi.Output[bool]:
|
|
1246
|
+
def restrict_scale_down(self) -> pulumi.Output[builtins.bool]:
|
|
1244
1247
|
"""
|
|
1245
1248
|
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.
|
|
1246
1249
|
"""
|
|
@@ -1248,7 +1251,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1248
1251
|
|
|
1249
1252
|
@property
|
|
1250
1253
|
@pulumi.getter(name="rootVolumeSize")
|
|
1251
|
-
def root_volume_size(self) -> pulumi.Output[int]:
|
|
1254
|
+
def root_volume_size(self) -> pulumi.Output[builtins.int]:
|
|
1252
1255
|
"""
|
|
1253
1256
|
Root volume size (in GB).
|
|
1254
1257
|
"""
|
|
@@ -1256,7 +1259,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1256
1259
|
|
|
1257
1260
|
@property
|
|
1258
1261
|
@pulumi.getter(name="rootVolumeType")
|
|
1259
|
-
def root_volume_type(self) -> pulumi.Output[str]:
|
|
1262
|
+
def root_volume_type(self) -> pulumi.Output[builtins.str]:
|
|
1260
1263
|
"""
|
|
1261
1264
|
Root volume disk type. Valid values: `"pd-standard"`, `"pd-ssd"`.
|
|
1262
1265
|
"""
|
|
@@ -1272,7 +1275,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1272
1275
|
|
|
1273
1276
|
@property
|
|
1274
1277
|
@pulumi.getter(name="serviceAccount")
|
|
1275
|
-
def service_account(self) -> pulumi.Output[str]:
|
|
1278
|
+
def service_account(self) -> pulumi.Output[builtins.str]:
|
|
1276
1279
|
"""
|
|
1277
1280
|
The account used by applications running on the VM to call GCP APIs.
|
|
1278
1281
|
"""
|
|
@@ -1288,7 +1291,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1288
1291
|
|
|
1289
1292
|
@property
|
|
1290
1293
|
@pulumi.getter(name="sourceImage")
|
|
1291
|
-
def source_image(self) -> pulumi.Output[str]:
|
|
1294
|
+
def source_image(self) -> pulumi.Output[builtins.str]:
|
|
1292
1295
|
"""
|
|
1293
1296
|
Image URL.
|
|
1294
1297
|
"""
|
|
@@ -1312,7 +1315,7 @@ class OceanLaunchSpec(pulumi.CustomResource):
|
|
|
1312
1315
|
|
|
1313
1316
|
@property
|
|
1314
1317
|
@pulumi.getter
|
|
1315
|
-
def tags(self) -> pulumi.Output[Sequence[str]]:
|
|
1318
|
+
def tags(self) -> pulumi.Output[Sequence[builtins.str]]:
|
|
1316
1319
|
"""
|
|
1317
1320
|
Every node launched from this configuration will be tagged with those tags. Note: during creation some tags are automatically imported to the state file, it is required to manually add it to the template configuration
|
|
1318
1321
|
"""
|