pulumi-spotinst 3.124.0a1753339288__py3-none-any.whl → 3.124.0a1753511976__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +531 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0a1753511976.dist-info/RECORD +77 -0
- pulumi_spotinst-3.124.0a1753339288.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.124.0a1753339288.dist-info → pulumi_spotinst-3.124.0a1753511976.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gke/outputs.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -102,11 +101,11 @@ class ElastigroupBackendService(dict):
|
|
|
102
101
|
return super().get(key, default)
|
|
103
102
|
|
|
104
103
|
def __init__(__self__, *,
|
|
105
|
-
service_name:
|
|
104
|
+
service_name: _builtins.str,
|
|
106
105
|
backend_balancing: Optional['outputs.ElastigroupBackendServiceBackendBalancing'] = None,
|
|
107
|
-
location_type: Optional[
|
|
106
|
+
location_type: Optional[_builtins.str] = None,
|
|
108
107
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
109
|
-
scheme: Optional[
|
|
108
|
+
scheme: Optional[_builtins.str] = None):
|
|
110
109
|
pulumi.set(__self__, "service_name", service_name)
|
|
111
110
|
if backend_balancing is not None:
|
|
112
111
|
pulumi.set(__self__, "backend_balancing", backend_balancing)
|
|
@@ -117,29 +116,29 @@ class ElastigroupBackendService(dict):
|
|
|
117
116
|
if scheme is not None:
|
|
118
117
|
pulumi.set(__self__, "scheme", scheme)
|
|
119
118
|
|
|
120
|
-
@property
|
|
119
|
+
@_builtins.property
|
|
121
120
|
@pulumi.getter(name="serviceName")
|
|
122
|
-
def service_name(self) ->
|
|
121
|
+
def service_name(self) -> _builtins.str:
|
|
123
122
|
return pulumi.get(self, "service_name")
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter(name="backendBalancing")
|
|
127
126
|
def backend_balancing(self) -> Optional['outputs.ElastigroupBackendServiceBackendBalancing']:
|
|
128
127
|
return pulumi.get(self, "backend_balancing")
|
|
129
128
|
|
|
130
|
-
@property
|
|
129
|
+
@_builtins.property
|
|
131
130
|
@pulumi.getter(name="locationType")
|
|
132
|
-
def location_type(self) -> Optional[
|
|
131
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
133
132
|
return pulumi.get(self, "location_type")
|
|
134
133
|
|
|
135
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
136
135
|
@pulumi.getter(name="namedPorts")
|
|
137
136
|
def named_ports(self) -> Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']]:
|
|
138
137
|
return pulumi.get(self, "named_ports")
|
|
139
138
|
|
|
140
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
141
140
|
@pulumi.getter
|
|
142
|
-
def scheme(self) -> Optional[
|
|
141
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
143
142
|
return pulumi.get(self, "scheme")
|
|
144
143
|
|
|
145
144
|
|
|
@@ -165,40 +164,40 @@ class ElastigroupBackendServiceBackendBalancing(dict):
|
|
|
165
164
|
return super().get(key, default)
|
|
166
165
|
|
|
167
166
|
def __init__(__self__, *,
|
|
168
|
-
backend_balancing_mode: Optional[
|
|
169
|
-
max_rate_per_instance: Optional[
|
|
167
|
+
backend_balancing_mode: Optional[_builtins.str] = None,
|
|
168
|
+
max_rate_per_instance: Optional[_builtins.int] = None):
|
|
170
169
|
if backend_balancing_mode is not None:
|
|
171
170
|
pulumi.set(__self__, "backend_balancing_mode", backend_balancing_mode)
|
|
172
171
|
if max_rate_per_instance is not None:
|
|
173
172
|
pulumi.set(__self__, "max_rate_per_instance", max_rate_per_instance)
|
|
174
173
|
|
|
175
|
-
@property
|
|
174
|
+
@_builtins.property
|
|
176
175
|
@pulumi.getter(name="backendBalancingMode")
|
|
177
|
-
def backend_balancing_mode(self) -> Optional[
|
|
176
|
+
def backend_balancing_mode(self) -> Optional[_builtins.str]:
|
|
178
177
|
return pulumi.get(self, "backend_balancing_mode")
|
|
179
178
|
|
|
180
|
-
@property
|
|
179
|
+
@_builtins.property
|
|
181
180
|
@pulumi.getter(name="maxRatePerInstance")
|
|
182
|
-
def max_rate_per_instance(self) -> Optional[
|
|
181
|
+
def max_rate_per_instance(self) -> Optional[_builtins.int]:
|
|
183
182
|
return pulumi.get(self, "max_rate_per_instance")
|
|
184
183
|
|
|
185
184
|
|
|
186
185
|
@pulumi.output_type
|
|
187
186
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
188
187
|
def __init__(__self__, *,
|
|
189
|
-
name:
|
|
190
|
-
ports: Sequence[
|
|
188
|
+
name: _builtins.str,
|
|
189
|
+
ports: Sequence[_builtins.str]):
|
|
191
190
|
pulumi.set(__self__, "name", name)
|
|
192
191
|
pulumi.set(__self__, "ports", ports)
|
|
193
192
|
|
|
194
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
195
194
|
@pulumi.getter
|
|
196
|
-
def name(self) ->
|
|
195
|
+
def name(self) -> _builtins.str:
|
|
197
196
|
return pulumi.get(self, "name")
|
|
198
197
|
|
|
199
|
-
@property
|
|
198
|
+
@_builtins.property
|
|
200
199
|
@pulumi.getter
|
|
201
|
-
def ports(self) -> Sequence[
|
|
200
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
202
201
|
return pulumi.get(self, "ports")
|
|
203
202
|
|
|
204
203
|
|
|
@@ -226,14 +225,14 @@ class ElastigroupDisk(dict):
|
|
|
226
225
|
return super().get(key, default)
|
|
227
226
|
|
|
228
227
|
def __init__(__self__, *,
|
|
229
|
-
auto_delete: Optional[
|
|
230
|
-
boot: Optional[
|
|
231
|
-
device_name: Optional[
|
|
228
|
+
auto_delete: Optional[_builtins.bool] = None,
|
|
229
|
+
boot: Optional[_builtins.bool] = None,
|
|
230
|
+
device_name: Optional[_builtins.str] = None,
|
|
232
231
|
initialize_params: Optional[Sequence['outputs.ElastigroupDiskInitializeParam']] = None,
|
|
233
|
-
interface: Optional[
|
|
234
|
-
mode: Optional[
|
|
235
|
-
source: Optional[
|
|
236
|
-
type: Optional[
|
|
232
|
+
interface: Optional[_builtins.str] = None,
|
|
233
|
+
mode: Optional[_builtins.str] = None,
|
|
234
|
+
source: Optional[_builtins.str] = None,
|
|
235
|
+
type: Optional[_builtins.str] = None):
|
|
237
236
|
if auto_delete is not None:
|
|
238
237
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
239
238
|
if boot is not None:
|
|
@@ -251,44 +250,44 @@ class ElastigroupDisk(dict):
|
|
|
251
250
|
if type is not None:
|
|
252
251
|
pulumi.set(__self__, "type", type)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter(name="autoDelete")
|
|
256
|
-
def auto_delete(self) -> Optional[
|
|
255
|
+
def auto_delete(self) -> Optional[_builtins.bool]:
|
|
257
256
|
return pulumi.get(self, "auto_delete")
|
|
258
257
|
|
|
259
|
-
@property
|
|
258
|
+
@_builtins.property
|
|
260
259
|
@pulumi.getter
|
|
261
|
-
def boot(self) -> Optional[
|
|
260
|
+
def boot(self) -> Optional[_builtins.bool]:
|
|
262
261
|
return pulumi.get(self, "boot")
|
|
263
262
|
|
|
264
|
-
@property
|
|
263
|
+
@_builtins.property
|
|
265
264
|
@pulumi.getter(name="deviceName")
|
|
266
|
-
def device_name(self) -> Optional[
|
|
265
|
+
def device_name(self) -> Optional[_builtins.str]:
|
|
267
266
|
return pulumi.get(self, "device_name")
|
|
268
267
|
|
|
269
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
270
269
|
@pulumi.getter(name="initializeParams")
|
|
271
270
|
def initialize_params(self) -> Optional[Sequence['outputs.ElastigroupDiskInitializeParam']]:
|
|
272
271
|
return pulumi.get(self, "initialize_params")
|
|
273
272
|
|
|
274
|
-
@property
|
|
273
|
+
@_builtins.property
|
|
275
274
|
@pulumi.getter
|
|
276
|
-
def interface(self) -> Optional[
|
|
275
|
+
def interface(self) -> Optional[_builtins.str]:
|
|
277
276
|
return pulumi.get(self, "interface")
|
|
278
277
|
|
|
279
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
280
279
|
@pulumi.getter
|
|
281
|
-
def mode(self) -> Optional[
|
|
280
|
+
def mode(self) -> Optional[_builtins.str]:
|
|
282
281
|
return pulumi.get(self, "mode")
|
|
283
282
|
|
|
284
|
-
@property
|
|
283
|
+
@_builtins.property
|
|
285
284
|
@pulumi.getter
|
|
286
|
-
def source(self) -> Optional[
|
|
285
|
+
def source(self) -> Optional[_builtins.str]:
|
|
287
286
|
return pulumi.get(self, "source")
|
|
288
287
|
|
|
289
|
-
@property
|
|
288
|
+
@_builtins.property
|
|
290
289
|
@pulumi.getter
|
|
291
|
-
def type(self) -> Optional[
|
|
290
|
+
def type(self) -> Optional[_builtins.str]:
|
|
292
291
|
return pulumi.get(self, "type")
|
|
293
292
|
|
|
294
293
|
|
|
@@ -316,47 +315,47 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
316
315
|
return super().get(key, default)
|
|
317
316
|
|
|
318
317
|
def __init__(__self__, *,
|
|
319
|
-
source_image:
|
|
320
|
-
disk_size_gb: Optional[
|
|
321
|
-
disk_type: Optional[
|
|
318
|
+
source_image: _builtins.str,
|
|
319
|
+
disk_size_gb: Optional[_builtins.str] = None,
|
|
320
|
+
disk_type: Optional[_builtins.str] = None):
|
|
322
321
|
pulumi.set(__self__, "source_image", source_image)
|
|
323
322
|
if disk_size_gb is not None:
|
|
324
323
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
|
325
324
|
if disk_type is not None:
|
|
326
325
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
327
326
|
|
|
328
|
-
@property
|
|
327
|
+
@_builtins.property
|
|
329
328
|
@pulumi.getter(name="sourceImage")
|
|
330
|
-
def source_image(self) ->
|
|
329
|
+
def source_image(self) -> _builtins.str:
|
|
331
330
|
return pulumi.get(self, "source_image")
|
|
332
331
|
|
|
333
|
-
@property
|
|
332
|
+
@_builtins.property
|
|
334
333
|
@pulumi.getter(name="diskSizeGb")
|
|
335
|
-
def disk_size_gb(self) -> Optional[
|
|
334
|
+
def disk_size_gb(self) -> Optional[_builtins.str]:
|
|
336
335
|
return pulumi.get(self, "disk_size_gb")
|
|
337
336
|
|
|
338
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
339
338
|
@pulumi.getter(name="diskType")
|
|
340
|
-
def disk_type(self) -> Optional[
|
|
339
|
+
def disk_type(self) -> Optional[_builtins.str]:
|
|
341
340
|
return pulumi.get(self, "disk_type")
|
|
342
341
|
|
|
343
342
|
|
|
344
343
|
@pulumi.output_type
|
|
345
344
|
class ElastigroupGpu(dict):
|
|
346
345
|
def __init__(__self__, *,
|
|
347
|
-
count:
|
|
348
|
-
type:
|
|
346
|
+
count: _builtins.int,
|
|
347
|
+
type: _builtins.str):
|
|
349
348
|
pulumi.set(__self__, "count", count)
|
|
350
349
|
pulumi.set(__self__, "type", type)
|
|
351
350
|
|
|
352
|
-
@property
|
|
351
|
+
@_builtins.property
|
|
353
352
|
@pulumi.getter
|
|
354
|
-
def count(self) ->
|
|
353
|
+
def count(self) -> _builtins.int:
|
|
355
354
|
return pulumi.get(self, "count")
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter
|
|
359
|
-
def type(self) ->
|
|
358
|
+
def type(self) -> _builtins.str:
|
|
360
359
|
return pulumi.get(self, "type")
|
|
361
360
|
|
|
362
361
|
|
|
@@ -380,19 +379,19 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
380
379
|
return super().get(key, default)
|
|
381
380
|
|
|
382
381
|
def __init__(__self__, *,
|
|
383
|
-
memory_gib:
|
|
384
|
-
vcpu:
|
|
382
|
+
memory_gib: _builtins.int,
|
|
383
|
+
vcpu: _builtins.int):
|
|
385
384
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
386
385
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
387
386
|
|
|
388
|
-
@property
|
|
387
|
+
@_builtins.property
|
|
389
388
|
@pulumi.getter(name="memoryGib")
|
|
390
|
-
def memory_gib(self) ->
|
|
389
|
+
def memory_gib(self) -> _builtins.int:
|
|
391
390
|
return pulumi.get(self, "memory_gib")
|
|
392
391
|
|
|
393
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
394
393
|
@pulumi.getter
|
|
395
|
-
def vcpu(self) ->
|
|
394
|
+
def vcpu(self) -> _builtins.int:
|
|
396
395
|
return pulumi.get(self, "vcpu")
|
|
397
396
|
|
|
398
397
|
|
|
@@ -418,19 +417,19 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
418
417
|
return super().get(key, default)
|
|
419
418
|
|
|
420
419
|
def __init__(__self__, *,
|
|
421
|
-
master_host:
|
|
422
|
-
master_port:
|
|
420
|
+
master_host: _builtins.str,
|
|
421
|
+
master_port: _builtins.int):
|
|
423
422
|
pulumi.set(__self__, "master_host", master_host)
|
|
424
423
|
pulumi.set(__self__, "master_port", master_port)
|
|
425
424
|
|
|
426
|
-
@property
|
|
425
|
+
@_builtins.property
|
|
427
426
|
@pulumi.getter(name="masterHost")
|
|
428
|
-
def master_host(self) ->
|
|
427
|
+
def master_host(self) -> _builtins.str:
|
|
429
428
|
return pulumi.get(self, "master_host")
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter(name="masterPort")
|
|
433
|
-
def master_port(self) ->
|
|
432
|
+
def master_port(self) -> _builtins.int:
|
|
434
433
|
return pulumi.get(self, "master_port")
|
|
435
434
|
|
|
436
435
|
|
|
@@ -468,22 +467,22 @@ class ElastigroupIntegrationGke(dict):
|
|
|
468
467
|
return super().get(key, default)
|
|
469
468
|
|
|
470
469
|
def __init__(__self__, *,
|
|
471
|
-
auto_update: Optional[
|
|
472
|
-
autoscale_cooldown: Optional[
|
|
470
|
+
auto_update: Optional[_builtins.bool] = None,
|
|
471
|
+
autoscale_cooldown: Optional[_builtins.int] = None,
|
|
473
472
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
474
473
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
475
|
-
autoscale_is_auto_config: Optional[
|
|
476
|
-
autoscale_is_enabled: Optional[
|
|
474
|
+
autoscale_is_auto_config: Optional[_builtins.bool] = None,
|
|
475
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
477
476
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
478
|
-
cluster_id: Optional[
|
|
479
|
-
location: Optional[
|
|
477
|
+
cluster_id: Optional[_builtins.str] = None,
|
|
478
|
+
location: Optional[_builtins.str] = None):
|
|
480
479
|
"""
|
|
481
|
-
:param
|
|
480
|
+
:param _builtins.int autoscale_cooldown: The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
482
481
|
:param 'ElastigroupIntegrationGkeAutoscaleDownArgs' autoscale_down: Enabling scale down.
|
|
483
482
|
:param 'ElastigroupIntegrationGkeAutoscaleHeadroomArgs' autoscale_headroom: Headroom for the cluster.
|
|
484
|
-
:param
|
|
483
|
+
:param _builtins.bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
485
484
|
:param Sequence['ElastigroupIntegrationGkeAutoscaleLabelArgs'] autoscale_labels: Labels to assign to the resource.
|
|
486
|
-
:param
|
|
485
|
+
:param _builtins.str location: The location of your GKE cluster.
|
|
487
486
|
"""
|
|
488
487
|
if auto_update is not None:
|
|
489
488
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
@@ -504,20 +503,20 @@ class ElastigroupIntegrationGke(dict):
|
|
|
504
503
|
if location is not None:
|
|
505
504
|
pulumi.set(__self__, "location", location)
|
|
506
505
|
|
|
507
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
508
507
|
@pulumi.getter(name="autoUpdate")
|
|
509
|
-
def auto_update(self) -> Optional[
|
|
508
|
+
def auto_update(self) -> Optional[_builtins.bool]:
|
|
510
509
|
return pulumi.get(self, "auto_update")
|
|
511
510
|
|
|
512
|
-
@property
|
|
511
|
+
@_builtins.property
|
|
513
512
|
@pulumi.getter(name="autoscaleCooldown")
|
|
514
|
-
def autoscale_cooldown(self) -> Optional[
|
|
513
|
+
def autoscale_cooldown(self) -> Optional[_builtins.int]:
|
|
515
514
|
"""
|
|
516
515
|
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
517
516
|
"""
|
|
518
517
|
return pulumi.get(self, "autoscale_cooldown")
|
|
519
518
|
|
|
520
|
-
@property
|
|
519
|
+
@_builtins.property
|
|
521
520
|
@pulumi.getter(name="autoscaleDown")
|
|
522
521
|
def autoscale_down(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown']:
|
|
523
522
|
"""
|
|
@@ -525,7 +524,7 @@ class ElastigroupIntegrationGke(dict):
|
|
|
525
524
|
"""
|
|
526
525
|
return pulumi.get(self, "autoscale_down")
|
|
527
526
|
|
|
528
|
-
@property
|
|
527
|
+
@_builtins.property
|
|
529
528
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
530
529
|
def autoscale_headroom(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom']:
|
|
531
530
|
"""
|
|
@@ -533,20 +532,20 @@ class ElastigroupIntegrationGke(dict):
|
|
|
533
532
|
"""
|
|
534
533
|
return pulumi.get(self, "autoscale_headroom")
|
|
535
534
|
|
|
536
|
-
@property
|
|
535
|
+
@_builtins.property
|
|
537
536
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
538
|
-
def autoscale_is_auto_config(self) -> Optional[
|
|
537
|
+
def autoscale_is_auto_config(self) -> Optional[_builtins.bool]:
|
|
539
538
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
540
539
|
|
|
541
|
-
@property
|
|
540
|
+
@_builtins.property
|
|
542
541
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
543
|
-
def autoscale_is_enabled(self) -> Optional[
|
|
542
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
544
543
|
"""
|
|
545
544
|
Specifies whether the auto scaling feature is enabled.
|
|
546
545
|
"""
|
|
547
546
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
548
547
|
|
|
549
|
-
@property
|
|
548
|
+
@_builtins.property
|
|
550
549
|
@pulumi.getter(name="autoscaleLabels")
|
|
551
550
|
def autoscale_labels(self) -> Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']]:
|
|
552
551
|
"""
|
|
@@ -554,14 +553,14 @@ class ElastigroupIntegrationGke(dict):
|
|
|
554
553
|
"""
|
|
555
554
|
return pulumi.get(self, "autoscale_labels")
|
|
556
555
|
|
|
557
|
-
@property
|
|
556
|
+
@_builtins.property
|
|
558
557
|
@pulumi.getter(name="clusterId")
|
|
559
|
-
def cluster_id(self) -> Optional[
|
|
558
|
+
def cluster_id(self) -> Optional[_builtins.str]:
|
|
560
559
|
return pulumi.get(self, "cluster_id")
|
|
561
560
|
|
|
562
|
-
@property
|
|
561
|
+
@_builtins.property
|
|
563
562
|
@pulumi.getter
|
|
564
|
-
def location(self) -> Optional[
|
|
563
|
+
def location(self) -> Optional[_builtins.str]:
|
|
565
564
|
"""
|
|
566
565
|
The location of your GKE cluster.
|
|
567
566
|
"""
|
|
@@ -588,16 +587,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
588
587
|
return super().get(key, default)
|
|
589
588
|
|
|
590
589
|
def __init__(__self__, *,
|
|
591
|
-
evaluation_periods: Optional[
|
|
590
|
+
evaluation_periods: Optional[_builtins.int] = None):
|
|
592
591
|
"""
|
|
593
|
-
:param
|
|
592
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
594
593
|
"""
|
|
595
594
|
if evaluation_periods is not None:
|
|
596
595
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
597
596
|
|
|
598
|
-
@property
|
|
597
|
+
@_builtins.property
|
|
599
598
|
@pulumi.getter(name="evaluationPeriods")
|
|
600
|
-
def evaluation_periods(self) -> Optional[
|
|
599
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
601
600
|
"""
|
|
602
601
|
Amount of cooldown evaluation periods for scale down.
|
|
603
602
|
"""
|
|
@@ -628,13 +627,13 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
628
627
|
return super().get(key, default)
|
|
629
628
|
|
|
630
629
|
def __init__(__self__, *,
|
|
631
|
-
cpu_per_unit: Optional[
|
|
632
|
-
memory_per_unit: Optional[
|
|
633
|
-
num_of_units: Optional[
|
|
630
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
631
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
632
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
634
633
|
"""
|
|
635
|
-
:param
|
|
636
|
-
:param
|
|
637
|
-
:param
|
|
634
|
+
:param _builtins.int cpu_per_unit: Cpu units for compute.
|
|
635
|
+
:param _builtins.int memory_per_unit: RAM units for compute.
|
|
636
|
+
:param _builtins.int num_of_units: Amount of units for compute.
|
|
638
637
|
"""
|
|
639
638
|
if cpu_per_unit is not None:
|
|
640
639
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -643,25 +642,25 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
643
642
|
if num_of_units is not None:
|
|
644
643
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
645
644
|
|
|
646
|
-
@property
|
|
645
|
+
@_builtins.property
|
|
647
646
|
@pulumi.getter(name="cpuPerUnit")
|
|
648
|
-
def cpu_per_unit(self) -> Optional[
|
|
647
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
649
648
|
"""
|
|
650
649
|
Cpu units for compute.
|
|
651
650
|
"""
|
|
652
651
|
return pulumi.get(self, "cpu_per_unit")
|
|
653
652
|
|
|
654
|
-
@property
|
|
653
|
+
@_builtins.property
|
|
655
654
|
@pulumi.getter(name="memoryPerUnit")
|
|
656
|
-
def memory_per_unit(self) -> Optional[
|
|
655
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
657
656
|
"""
|
|
658
657
|
RAM units for compute.
|
|
659
658
|
"""
|
|
660
659
|
return pulumi.get(self, "memory_per_unit")
|
|
661
660
|
|
|
662
|
-
@property
|
|
661
|
+
@_builtins.property
|
|
663
662
|
@pulumi.getter(name="numOfUnits")
|
|
664
|
-
def num_of_units(self) -> Optional[
|
|
663
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
665
664
|
"""
|
|
666
665
|
Amount of units for compute.
|
|
667
666
|
"""
|
|
@@ -671,57 +670,57 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
671
670
|
@pulumi.output_type
|
|
672
671
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
673
672
|
def __init__(__self__, *,
|
|
674
|
-
key:
|
|
675
|
-
value:
|
|
673
|
+
key: _builtins.str,
|
|
674
|
+
value: _builtins.str):
|
|
676
675
|
pulumi.set(__self__, "key", key)
|
|
677
676
|
pulumi.set(__self__, "value", value)
|
|
678
677
|
|
|
679
|
-
@property
|
|
678
|
+
@_builtins.property
|
|
680
679
|
@pulumi.getter
|
|
681
|
-
def key(self) ->
|
|
680
|
+
def key(self) -> _builtins.str:
|
|
682
681
|
return pulumi.get(self, "key")
|
|
683
682
|
|
|
684
|
-
@property
|
|
683
|
+
@_builtins.property
|
|
685
684
|
@pulumi.getter
|
|
686
|
-
def value(self) ->
|
|
685
|
+
def value(self) -> _builtins.str:
|
|
687
686
|
return pulumi.get(self, "value")
|
|
688
687
|
|
|
689
688
|
|
|
690
689
|
@pulumi.output_type
|
|
691
690
|
class ElastigroupLabel(dict):
|
|
692
691
|
def __init__(__self__, *,
|
|
693
|
-
key:
|
|
694
|
-
value:
|
|
692
|
+
key: _builtins.str,
|
|
693
|
+
value: _builtins.str):
|
|
695
694
|
pulumi.set(__self__, "key", key)
|
|
696
695
|
pulumi.set(__self__, "value", value)
|
|
697
696
|
|
|
698
|
-
@property
|
|
697
|
+
@_builtins.property
|
|
699
698
|
@pulumi.getter
|
|
700
|
-
def key(self) ->
|
|
699
|
+
def key(self) -> _builtins.str:
|
|
701
700
|
return pulumi.get(self, "key")
|
|
702
701
|
|
|
703
|
-
@property
|
|
702
|
+
@_builtins.property
|
|
704
703
|
@pulumi.getter
|
|
705
|
-
def value(self) ->
|
|
704
|
+
def value(self) -> _builtins.str:
|
|
706
705
|
return pulumi.get(self, "value")
|
|
707
706
|
|
|
708
707
|
|
|
709
708
|
@pulumi.output_type
|
|
710
709
|
class ElastigroupMetadata(dict):
|
|
711
710
|
def __init__(__self__, *,
|
|
712
|
-
key:
|
|
713
|
-
value:
|
|
711
|
+
key: _builtins.str,
|
|
712
|
+
value: _builtins.str):
|
|
714
713
|
pulumi.set(__self__, "key", key)
|
|
715
714
|
pulumi.set(__self__, "value", value)
|
|
716
715
|
|
|
717
|
-
@property
|
|
716
|
+
@_builtins.property
|
|
718
717
|
@pulumi.getter
|
|
719
|
-
def key(self) ->
|
|
718
|
+
def key(self) -> _builtins.str:
|
|
720
719
|
return pulumi.get(self, "key")
|
|
721
720
|
|
|
722
|
-
@property
|
|
721
|
+
@_builtins.property
|
|
723
722
|
@pulumi.getter
|
|
724
|
-
def value(self) ->
|
|
723
|
+
def value(self) -> _builtins.str:
|
|
725
724
|
return pulumi.get(self, "value")
|
|
726
725
|
|
|
727
726
|
|
|
@@ -747,7 +746,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
747
746
|
return super().get(key, default)
|
|
748
747
|
|
|
749
748
|
def __init__(__self__, *,
|
|
750
|
-
network:
|
|
749
|
+
network: _builtins.str,
|
|
751
750
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
752
751
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
753
752
|
pulumi.set(__self__, "network", network)
|
|
@@ -756,17 +755,17 @@ class ElastigroupNetworkInterface(dict):
|
|
|
756
755
|
if alias_ip_ranges is not None:
|
|
757
756
|
pulumi.set(__self__, "alias_ip_ranges", alias_ip_ranges)
|
|
758
757
|
|
|
759
|
-
@property
|
|
758
|
+
@_builtins.property
|
|
760
759
|
@pulumi.getter
|
|
761
|
-
def network(self) ->
|
|
760
|
+
def network(self) -> _builtins.str:
|
|
762
761
|
return pulumi.get(self, "network")
|
|
763
762
|
|
|
764
|
-
@property
|
|
763
|
+
@_builtins.property
|
|
765
764
|
@pulumi.getter(name="accessConfigs")
|
|
766
765
|
def access_configs(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']]:
|
|
767
766
|
return pulumi.get(self, "access_configs")
|
|
768
767
|
|
|
769
|
-
@property
|
|
768
|
+
@_builtins.property
|
|
770
769
|
@pulumi.getter(name="aliasIpRanges")
|
|
771
770
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']]:
|
|
772
771
|
return pulumi.get(self, "alias_ip_ranges")
|
|
@@ -775,21 +774,21 @@ class ElastigroupNetworkInterface(dict):
|
|
|
775
774
|
@pulumi.output_type
|
|
776
775
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
777
776
|
def __init__(__self__, *,
|
|
778
|
-
name: Optional[
|
|
779
|
-
type: Optional[
|
|
777
|
+
name: Optional[_builtins.str] = None,
|
|
778
|
+
type: Optional[_builtins.str] = None):
|
|
780
779
|
if name is not None:
|
|
781
780
|
pulumi.set(__self__, "name", name)
|
|
782
781
|
if type is not None:
|
|
783
782
|
pulumi.set(__self__, "type", type)
|
|
784
783
|
|
|
785
|
-
@property
|
|
784
|
+
@_builtins.property
|
|
786
785
|
@pulumi.getter
|
|
787
|
-
def name(self) -> Optional[
|
|
786
|
+
def name(self) -> Optional[_builtins.str]:
|
|
788
787
|
return pulumi.get(self, "name")
|
|
789
788
|
|
|
790
|
-
@property
|
|
789
|
+
@_builtins.property
|
|
791
790
|
@pulumi.getter
|
|
792
|
-
def type(self) -> Optional[
|
|
791
|
+
def type(self) -> Optional[_builtins.str]:
|
|
793
792
|
return pulumi.get(self, "type")
|
|
794
793
|
|
|
795
794
|
|
|
@@ -815,19 +814,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
815
814
|
return super().get(key, default)
|
|
816
815
|
|
|
817
816
|
def __init__(__self__, *,
|
|
818
|
-
ip_cidr_range:
|
|
819
|
-
subnetwork_range_name:
|
|
817
|
+
ip_cidr_range: _builtins.str,
|
|
818
|
+
subnetwork_range_name: _builtins.str):
|
|
820
819
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
821
820
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
822
821
|
|
|
823
|
-
@property
|
|
822
|
+
@_builtins.property
|
|
824
823
|
@pulumi.getter(name="ipCidrRange")
|
|
825
|
-
def ip_cidr_range(self) ->
|
|
824
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
826
825
|
return pulumi.get(self, "ip_cidr_range")
|
|
827
826
|
|
|
828
|
-
@property
|
|
827
|
+
@_builtins.property
|
|
829
828
|
@pulumi.getter(name="subnetworkRangeName")
|
|
830
|
-
def subnetwork_range_name(self) ->
|
|
829
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
831
830
|
return pulumi.get(self, "subnetwork_range_name")
|
|
832
831
|
|
|
833
832
|
|
|
@@ -851,12 +850,12 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
851
850
|
return super().get(key, default)
|
|
852
851
|
|
|
853
852
|
def __init__(__self__, *,
|
|
854
|
-
perform_at:
|
|
853
|
+
perform_at: _builtins.str):
|
|
855
854
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
856
855
|
|
|
857
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
858
857
|
@pulumi.getter(name="performAt")
|
|
859
|
-
def perform_at(self) ->
|
|
858
|
+
def perform_at(self) -> _builtins.str:
|
|
860
859
|
return pulumi.get(self, "perform_at")
|
|
861
860
|
|
|
862
861
|
|
|
@@ -886,22 +885,22 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
886
885
|
return super().get(key, default)
|
|
887
886
|
|
|
888
887
|
def __init__(__self__, *,
|
|
889
|
-
metric_name:
|
|
890
|
-
namespace:
|
|
891
|
-
policy_name:
|
|
892
|
-
threshold:
|
|
893
|
-
unit:
|
|
894
|
-
action_type: Optional[
|
|
895
|
-
adjustment: Optional[
|
|
896
|
-
cooldown: Optional[
|
|
888
|
+
metric_name: _builtins.str,
|
|
889
|
+
namespace: _builtins.str,
|
|
890
|
+
policy_name: _builtins.str,
|
|
891
|
+
threshold: _builtins.float,
|
|
892
|
+
unit: _builtins.str,
|
|
893
|
+
action_type: Optional[_builtins.str] = None,
|
|
894
|
+
adjustment: Optional[_builtins.int] = None,
|
|
895
|
+
cooldown: Optional[_builtins.int] = None,
|
|
897
896
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
898
|
-
evaluation_periods: Optional[
|
|
899
|
-
operator: Optional[
|
|
900
|
-
period: Optional[
|
|
901
|
-
source: Optional[
|
|
902
|
-
statistic: Optional[
|
|
897
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
898
|
+
operator: Optional[_builtins.str] = None,
|
|
899
|
+
period: Optional[_builtins.int] = None,
|
|
900
|
+
source: Optional[_builtins.str] = None,
|
|
901
|
+
statistic: Optional[_builtins.str] = None):
|
|
903
902
|
"""
|
|
904
|
-
:param
|
|
903
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
905
904
|
"""
|
|
906
905
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
907
906
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -927,97 +926,97 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
927
926
|
if statistic is not None:
|
|
928
927
|
pulumi.set(__self__, "statistic", statistic)
|
|
929
928
|
|
|
930
|
-
@property
|
|
929
|
+
@_builtins.property
|
|
931
930
|
@pulumi.getter(name="metricName")
|
|
932
|
-
def metric_name(self) ->
|
|
931
|
+
def metric_name(self) -> _builtins.str:
|
|
933
932
|
return pulumi.get(self, "metric_name")
|
|
934
933
|
|
|
935
|
-
@property
|
|
934
|
+
@_builtins.property
|
|
936
935
|
@pulumi.getter
|
|
937
|
-
def namespace(self) ->
|
|
936
|
+
def namespace(self) -> _builtins.str:
|
|
938
937
|
return pulumi.get(self, "namespace")
|
|
939
938
|
|
|
940
|
-
@property
|
|
939
|
+
@_builtins.property
|
|
941
940
|
@pulumi.getter(name="policyName")
|
|
942
|
-
def policy_name(self) ->
|
|
941
|
+
def policy_name(self) -> _builtins.str:
|
|
943
942
|
return pulumi.get(self, "policy_name")
|
|
944
943
|
|
|
945
|
-
@property
|
|
944
|
+
@_builtins.property
|
|
946
945
|
@pulumi.getter
|
|
947
|
-
def threshold(self) ->
|
|
946
|
+
def threshold(self) -> _builtins.float:
|
|
948
947
|
return pulumi.get(self, "threshold")
|
|
949
948
|
|
|
950
|
-
@property
|
|
949
|
+
@_builtins.property
|
|
951
950
|
@pulumi.getter
|
|
952
|
-
def unit(self) ->
|
|
951
|
+
def unit(self) -> _builtins.str:
|
|
953
952
|
return pulumi.get(self, "unit")
|
|
954
953
|
|
|
955
|
-
@property
|
|
954
|
+
@_builtins.property
|
|
956
955
|
@pulumi.getter(name="actionType")
|
|
957
|
-
def action_type(self) -> Optional[
|
|
956
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
958
957
|
return pulumi.get(self, "action_type")
|
|
959
958
|
|
|
960
|
-
@property
|
|
959
|
+
@_builtins.property
|
|
961
960
|
@pulumi.getter
|
|
962
|
-
def adjustment(self) -> Optional[
|
|
961
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
963
962
|
return pulumi.get(self, "adjustment")
|
|
964
963
|
|
|
965
|
-
@property
|
|
964
|
+
@_builtins.property
|
|
966
965
|
@pulumi.getter
|
|
967
|
-
def cooldown(self) -> Optional[
|
|
966
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
968
967
|
return pulumi.get(self, "cooldown")
|
|
969
968
|
|
|
970
|
-
@property
|
|
969
|
+
@_builtins.property
|
|
971
970
|
@pulumi.getter
|
|
972
971
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']]:
|
|
973
972
|
return pulumi.get(self, "dimensions")
|
|
974
973
|
|
|
975
|
-
@property
|
|
974
|
+
@_builtins.property
|
|
976
975
|
@pulumi.getter(name="evaluationPeriods")
|
|
977
|
-
def evaluation_periods(self) -> Optional[
|
|
976
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
978
977
|
"""
|
|
979
978
|
Amount of cooldown evaluation periods for scale down.
|
|
980
979
|
"""
|
|
981
980
|
return pulumi.get(self, "evaluation_periods")
|
|
982
981
|
|
|
983
|
-
@property
|
|
982
|
+
@_builtins.property
|
|
984
983
|
@pulumi.getter
|
|
985
|
-
def operator(self) -> Optional[
|
|
984
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
986
985
|
return pulumi.get(self, "operator")
|
|
987
986
|
|
|
988
|
-
@property
|
|
987
|
+
@_builtins.property
|
|
989
988
|
@pulumi.getter
|
|
990
|
-
def period(self) -> Optional[
|
|
989
|
+
def period(self) -> Optional[_builtins.int]:
|
|
991
990
|
return pulumi.get(self, "period")
|
|
992
991
|
|
|
993
|
-
@property
|
|
992
|
+
@_builtins.property
|
|
994
993
|
@pulumi.getter
|
|
995
|
-
def source(self) -> Optional[
|
|
994
|
+
def source(self) -> Optional[_builtins.str]:
|
|
996
995
|
return pulumi.get(self, "source")
|
|
997
996
|
|
|
998
|
-
@property
|
|
997
|
+
@_builtins.property
|
|
999
998
|
@pulumi.getter
|
|
1000
|
-
def statistic(self) -> Optional[
|
|
999
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1001
1000
|
return pulumi.get(self, "statistic")
|
|
1002
1001
|
|
|
1003
1002
|
|
|
1004
1003
|
@pulumi.output_type
|
|
1005
1004
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
1006
1005
|
def __init__(__self__, *,
|
|
1007
|
-
name:
|
|
1008
|
-
value: Optional[
|
|
1006
|
+
name: _builtins.str,
|
|
1007
|
+
value: Optional[_builtins.str] = None):
|
|
1009
1008
|
pulumi.set(__self__, "name", name)
|
|
1010
1009
|
if value is not None:
|
|
1011
1010
|
pulumi.set(__self__, "value", value)
|
|
1012
1011
|
|
|
1013
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
1014
1013
|
@pulumi.getter
|
|
1015
|
-
def name(self) ->
|
|
1014
|
+
def name(self) -> _builtins.str:
|
|
1016
1015
|
return pulumi.get(self, "name")
|
|
1017
1016
|
|
|
1018
|
-
@property
|
|
1017
|
+
@_builtins.property
|
|
1019
1018
|
@pulumi.getter
|
|
1020
|
-
def value(self) -> Optional[
|
|
1019
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1021
1020
|
return pulumi.get(self, "value")
|
|
1022
1021
|
|
|
1023
1022
|
|
|
@@ -1047,22 +1046,22 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1047
1046
|
return super().get(key, default)
|
|
1048
1047
|
|
|
1049
1048
|
def __init__(__self__, *,
|
|
1050
|
-
metric_name:
|
|
1051
|
-
namespace:
|
|
1052
|
-
policy_name:
|
|
1053
|
-
threshold:
|
|
1054
|
-
unit:
|
|
1055
|
-
action_type: Optional[
|
|
1056
|
-
adjustment: Optional[
|
|
1057
|
-
cooldown: Optional[
|
|
1049
|
+
metric_name: _builtins.str,
|
|
1050
|
+
namespace: _builtins.str,
|
|
1051
|
+
policy_name: _builtins.str,
|
|
1052
|
+
threshold: _builtins.float,
|
|
1053
|
+
unit: _builtins.str,
|
|
1054
|
+
action_type: Optional[_builtins.str] = None,
|
|
1055
|
+
adjustment: Optional[_builtins.int] = None,
|
|
1056
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1058
1057
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
1059
|
-
evaluation_periods: Optional[
|
|
1060
|
-
operator: Optional[
|
|
1061
|
-
period: Optional[
|
|
1062
|
-
source: Optional[
|
|
1063
|
-
statistic: Optional[
|
|
1058
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1059
|
+
operator: Optional[_builtins.str] = None,
|
|
1060
|
+
period: Optional[_builtins.int] = None,
|
|
1061
|
+
source: Optional[_builtins.str] = None,
|
|
1062
|
+
statistic: Optional[_builtins.str] = None):
|
|
1064
1063
|
"""
|
|
1065
|
-
:param
|
|
1064
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1066
1065
|
"""
|
|
1067
1066
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1068
1067
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1088,97 +1087,97 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1088
1087
|
if statistic is not None:
|
|
1089
1088
|
pulumi.set(__self__, "statistic", statistic)
|
|
1090
1089
|
|
|
1091
|
-
@property
|
|
1090
|
+
@_builtins.property
|
|
1092
1091
|
@pulumi.getter(name="metricName")
|
|
1093
|
-
def metric_name(self) ->
|
|
1092
|
+
def metric_name(self) -> _builtins.str:
|
|
1094
1093
|
return pulumi.get(self, "metric_name")
|
|
1095
1094
|
|
|
1096
|
-
@property
|
|
1095
|
+
@_builtins.property
|
|
1097
1096
|
@pulumi.getter
|
|
1098
|
-
def namespace(self) ->
|
|
1097
|
+
def namespace(self) -> _builtins.str:
|
|
1099
1098
|
return pulumi.get(self, "namespace")
|
|
1100
1099
|
|
|
1101
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1102
1101
|
@pulumi.getter(name="policyName")
|
|
1103
|
-
def policy_name(self) ->
|
|
1102
|
+
def policy_name(self) -> _builtins.str:
|
|
1104
1103
|
return pulumi.get(self, "policy_name")
|
|
1105
1104
|
|
|
1106
|
-
@property
|
|
1105
|
+
@_builtins.property
|
|
1107
1106
|
@pulumi.getter
|
|
1108
|
-
def threshold(self) ->
|
|
1107
|
+
def threshold(self) -> _builtins.float:
|
|
1109
1108
|
return pulumi.get(self, "threshold")
|
|
1110
1109
|
|
|
1111
|
-
@property
|
|
1110
|
+
@_builtins.property
|
|
1112
1111
|
@pulumi.getter
|
|
1113
|
-
def unit(self) ->
|
|
1112
|
+
def unit(self) -> _builtins.str:
|
|
1114
1113
|
return pulumi.get(self, "unit")
|
|
1115
1114
|
|
|
1116
|
-
@property
|
|
1115
|
+
@_builtins.property
|
|
1117
1116
|
@pulumi.getter(name="actionType")
|
|
1118
|
-
def action_type(self) -> Optional[
|
|
1117
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1119
1118
|
return pulumi.get(self, "action_type")
|
|
1120
1119
|
|
|
1121
|
-
@property
|
|
1120
|
+
@_builtins.property
|
|
1122
1121
|
@pulumi.getter
|
|
1123
|
-
def adjustment(self) -> Optional[
|
|
1122
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1124
1123
|
return pulumi.get(self, "adjustment")
|
|
1125
1124
|
|
|
1126
|
-
@property
|
|
1125
|
+
@_builtins.property
|
|
1127
1126
|
@pulumi.getter
|
|
1128
|
-
def cooldown(self) -> Optional[
|
|
1127
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1129
1128
|
return pulumi.get(self, "cooldown")
|
|
1130
1129
|
|
|
1131
|
-
@property
|
|
1130
|
+
@_builtins.property
|
|
1132
1131
|
@pulumi.getter
|
|
1133
1132
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']]:
|
|
1134
1133
|
return pulumi.get(self, "dimensions")
|
|
1135
1134
|
|
|
1136
|
-
@property
|
|
1135
|
+
@_builtins.property
|
|
1137
1136
|
@pulumi.getter(name="evaluationPeriods")
|
|
1138
|
-
def evaluation_periods(self) -> Optional[
|
|
1137
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1139
1138
|
"""
|
|
1140
1139
|
Amount of cooldown evaluation periods for scale down.
|
|
1141
1140
|
"""
|
|
1142
1141
|
return pulumi.get(self, "evaluation_periods")
|
|
1143
1142
|
|
|
1144
|
-
@property
|
|
1143
|
+
@_builtins.property
|
|
1145
1144
|
@pulumi.getter
|
|
1146
|
-
def operator(self) -> Optional[
|
|
1145
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1147
1146
|
return pulumi.get(self, "operator")
|
|
1148
1147
|
|
|
1149
|
-
@property
|
|
1148
|
+
@_builtins.property
|
|
1150
1149
|
@pulumi.getter
|
|
1151
|
-
def period(self) -> Optional[
|
|
1150
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1152
1151
|
return pulumi.get(self, "period")
|
|
1153
1152
|
|
|
1154
|
-
@property
|
|
1153
|
+
@_builtins.property
|
|
1155
1154
|
@pulumi.getter
|
|
1156
|
-
def source(self) -> Optional[
|
|
1155
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1157
1156
|
return pulumi.get(self, "source")
|
|
1158
1157
|
|
|
1159
|
-
@property
|
|
1158
|
+
@_builtins.property
|
|
1160
1159
|
@pulumi.getter
|
|
1161
|
-
def statistic(self) -> Optional[
|
|
1160
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1162
1161
|
return pulumi.get(self, "statistic")
|
|
1163
1162
|
|
|
1164
1163
|
|
|
1165
1164
|
@pulumi.output_type
|
|
1166
1165
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1167
1166
|
def __init__(__self__, *,
|
|
1168
|
-
name:
|
|
1169
|
-
value: Optional[
|
|
1167
|
+
name: _builtins.str,
|
|
1168
|
+
value: Optional[_builtins.str] = None):
|
|
1170
1169
|
pulumi.set(__self__, "name", name)
|
|
1171
1170
|
if value is not None:
|
|
1172
1171
|
pulumi.set(__self__, "value", value)
|
|
1173
1172
|
|
|
1174
|
-
@property
|
|
1173
|
+
@_builtins.property
|
|
1175
1174
|
@pulumi.getter
|
|
1176
|
-
def name(self) ->
|
|
1175
|
+
def name(self) -> _builtins.str:
|
|
1177
1176
|
return pulumi.get(self, "name")
|
|
1178
1177
|
|
|
1179
|
-
@property
|
|
1178
|
+
@_builtins.property
|
|
1180
1179
|
@pulumi.getter
|
|
1181
|
-
def value(self) -> Optional[
|
|
1180
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1182
1181
|
return pulumi.get(self, "value")
|
|
1183
1182
|
|
|
1184
1183
|
|
|
@@ -1204,21 +1203,21 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1204
1203
|
return super().get(key, default)
|
|
1205
1204
|
|
|
1206
1205
|
def __init__(__self__, *,
|
|
1207
|
-
enable_integrity_monitoring: Optional[
|
|
1208
|
-
enable_secure_boot: Optional[
|
|
1206
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
1207
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1209
1208
|
if enable_integrity_monitoring is not None:
|
|
1210
1209
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1211
1210
|
if enable_secure_boot is not None:
|
|
1212
1211
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1213
1212
|
|
|
1214
|
-
@property
|
|
1213
|
+
@_builtins.property
|
|
1215
1214
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1216
|
-
def enable_integrity_monitoring(self) -> Optional[
|
|
1215
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1217
1216
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1218
1217
|
|
|
1219
|
-
@property
|
|
1218
|
+
@_builtins.property
|
|
1220
1219
|
@pulumi.getter(name="enableSecureBoot")
|
|
1221
|
-
def enable_secure_boot(self) -> Optional[
|
|
1220
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1222
1221
|
return pulumi.get(self, "enable_secure_boot")
|
|
1223
1222
|
|
|
1224
1223
|
|
|
@@ -1242,16 +1241,16 @@ class OceanImportAutoUpdate(dict):
|
|
|
1242
1241
|
return super().get(key, default)
|
|
1243
1242
|
|
|
1244
1243
|
def __init__(__self__, *,
|
|
1245
|
-
is_enabled: Optional[
|
|
1244
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1246
1245
|
"""
|
|
1247
|
-
:param
|
|
1246
|
+
:param _builtins.bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1248
1247
|
"""
|
|
1249
1248
|
if is_enabled is not None:
|
|
1250
1249
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1251
1250
|
|
|
1252
|
-
@property
|
|
1251
|
+
@_builtins.property
|
|
1253
1252
|
@pulumi.getter(name="isEnabled")
|
|
1254
|
-
def is_enabled(self) -> Optional[
|
|
1253
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1255
1254
|
"""
|
|
1256
1255
|
Enable the Ocean Kubernetes AutoUpdate.
|
|
1257
1256
|
"""
|
|
@@ -1286,22 +1285,22 @@ class OceanImportAutoscaler(dict):
|
|
|
1286
1285
|
return super().get(key, default)
|
|
1287
1286
|
|
|
1288
1287
|
def __init__(__self__, *,
|
|
1289
|
-
auto_headroom_percentage: Optional[
|
|
1290
|
-
cooldown: Optional[
|
|
1288
|
+
auto_headroom_percentage: Optional[_builtins.int] = None,
|
|
1289
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1291
1290
|
down: Optional['outputs.OceanImportAutoscalerDown'] = None,
|
|
1292
|
-
enable_automatic_and_manual_headroom: Optional[
|
|
1291
|
+
enable_automatic_and_manual_headroom: Optional[_builtins.bool] = None,
|
|
1293
1292
|
headroom: Optional['outputs.OceanImportAutoscalerHeadroom'] = None,
|
|
1294
|
-
is_auto_config: Optional[
|
|
1295
|
-
is_enabled: Optional[
|
|
1293
|
+
is_auto_config: Optional[_builtins.bool] = None,
|
|
1294
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
1296
1295
|
resource_limits: Optional['outputs.OceanImportAutoscalerResourceLimits'] = None):
|
|
1297
1296
|
"""
|
|
1298
|
-
:param
|
|
1299
|
-
:param
|
|
1297
|
+
:param _builtins.int auto_headroom_percentage: Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1298
|
+
:param _builtins.int cooldown: Cooldown period between scaling actions.
|
|
1300
1299
|
:param 'OceanImportAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
1301
|
-
:param
|
|
1300
|
+
:param _builtins.bool enable_automatic_and_manual_headroom: enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1302
1301
|
:param 'OceanImportAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
1303
|
-
:param
|
|
1304
|
-
:param
|
|
1302
|
+
:param _builtins.bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1303
|
+
:param _builtins.bool is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
1305
1304
|
:param 'OceanImportAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
1306
1305
|
"""
|
|
1307
1306
|
if auto_headroom_percentage is not None:
|
|
@@ -1321,23 +1320,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1321
1320
|
if resource_limits is not None:
|
|
1322
1321
|
pulumi.set(__self__, "resource_limits", resource_limits)
|
|
1323
1322
|
|
|
1324
|
-
@property
|
|
1323
|
+
@_builtins.property
|
|
1325
1324
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
1326
|
-
def auto_headroom_percentage(self) -> Optional[
|
|
1325
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
1327
1326
|
"""
|
|
1328
1327
|
Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1329
1328
|
"""
|
|
1330
1329
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
1331
1330
|
|
|
1332
|
-
@property
|
|
1331
|
+
@_builtins.property
|
|
1333
1332
|
@pulumi.getter
|
|
1334
|
-
def cooldown(self) -> Optional[
|
|
1333
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1335
1334
|
"""
|
|
1336
1335
|
Cooldown period between scaling actions.
|
|
1337
1336
|
"""
|
|
1338
1337
|
return pulumi.get(self, "cooldown")
|
|
1339
1338
|
|
|
1340
|
-
@property
|
|
1339
|
+
@_builtins.property
|
|
1341
1340
|
@pulumi.getter
|
|
1342
1341
|
def down(self) -> Optional['outputs.OceanImportAutoscalerDown']:
|
|
1343
1342
|
"""
|
|
@@ -1345,15 +1344,15 @@ class OceanImportAutoscaler(dict):
|
|
|
1345
1344
|
"""
|
|
1346
1345
|
return pulumi.get(self, "down")
|
|
1347
1346
|
|
|
1348
|
-
@property
|
|
1347
|
+
@_builtins.property
|
|
1349
1348
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
1350
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[
|
|
1349
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[_builtins.bool]:
|
|
1351
1350
|
"""
|
|
1352
1351
|
enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1353
1352
|
"""
|
|
1354
1353
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
1355
1354
|
|
|
1356
|
-
@property
|
|
1355
|
+
@_builtins.property
|
|
1357
1356
|
@pulumi.getter
|
|
1358
1357
|
def headroom(self) -> Optional['outputs.OceanImportAutoscalerHeadroom']:
|
|
1359
1358
|
"""
|
|
@@ -1361,23 +1360,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1361
1360
|
"""
|
|
1362
1361
|
return pulumi.get(self, "headroom")
|
|
1363
1362
|
|
|
1364
|
-
@property
|
|
1363
|
+
@_builtins.property
|
|
1365
1364
|
@pulumi.getter(name="isAutoConfig")
|
|
1366
|
-
def is_auto_config(self) -> Optional[
|
|
1365
|
+
def is_auto_config(self) -> Optional[_builtins.bool]:
|
|
1367
1366
|
"""
|
|
1368
1367
|
Automatically configure and optimize headroom resources.
|
|
1369
1368
|
"""
|
|
1370
1369
|
return pulumi.get(self, "is_auto_config")
|
|
1371
1370
|
|
|
1372
|
-
@property
|
|
1371
|
+
@_builtins.property
|
|
1373
1372
|
@pulumi.getter(name="isEnabled")
|
|
1374
|
-
def is_enabled(self) -> Optional[
|
|
1373
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1375
1374
|
"""
|
|
1376
1375
|
Enable the Ocean Kubernetes Autoscaler.
|
|
1377
1376
|
"""
|
|
1378
1377
|
return pulumi.get(self, "is_enabled")
|
|
1379
1378
|
|
|
1380
|
-
@property
|
|
1379
|
+
@_builtins.property
|
|
1381
1380
|
@pulumi.getter(name="resourceLimits")
|
|
1382
1381
|
def resource_limits(self) -> Optional['outputs.OceanImportAutoscalerResourceLimits']:
|
|
1383
1382
|
"""
|
|
@@ -1410,13 +1409,13 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1410
1409
|
return super().get(key, default)
|
|
1411
1410
|
|
|
1412
1411
|
def __init__(__self__, *,
|
|
1413
|
-
evaluation_periods: Optional[
|
|
1414
|
-
is_aggressive_scale_down_enabled: Optional[
|
|
1415
|
-
max_scale_down_percentage: Optional[
|
|
1412
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1413
|
+
is_aggressive_scale_down_enabled: Optional[_builtins.bool] = None,
|
|
1414
|
+
max_scale_down_percentage: Optional[_builtins.float] = None):
|
|
1416
1415
|
"""
|
|
1417
|
-
:param
|
|
1418
|
-
:param
|
|
1419
|
-
:param
|
|
1416
|
+
:param _builtins.int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1417
|
+
:param _builtins.bool is_aggressive_scale_down_enabled: When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1418
|
+
:param _builtins.float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
1420
1419
|
"""
|
|
1421
1420
|
if evaluation_periods is not None:
|
|
1422
1421
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
@@ -1425,25 +1424,25 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1425
1424
|
if max_scale_down_percentage is not None:
|
|
1426
1425
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
1427
1426
|
|
|
1428
|
-
@property
|
|
1427
|
+
@_builtins.property
|
|
1429
1428
|
@pulumi.getter(name="evaluationPeriods")
|
|
1430
|
-
def evaluation_periods(self) -> Optional[
|
|
1429
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1431
1430
|
"""
|
|
1432
1431
|
The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1433
1432
|
"""
|
|
1434
1433
|
return pulumi.get(self, "evaluation_periods")
|
|
1435
1434
|
|
|
1436
|
-
@property
|
|
1435
|
+
@_builtins.property
|
|
1437
1436
|
@pulumi.getter(name="isAggressiveScaleDownEnabled")
|
|
1438
|
-
def is_aggressive_scale_down_enabled(self) -> Optional[
|
|
1437
|
+
def is_aggressive_scale_down_enabled(self) -> Optional[_builtins.bool]:
|
|
1439
1438
|
"""
|
|
1440
1439
|
When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1441
1440
|
"""
|
|
1442
1441
|
return pulumi.get(self, "is_aggressive_scale_down_enabled")
|
|
1443
1442
|
|
|
1444
|
-
@property
|
|
1443
|
+
@_builtins.property
|
|
1445
1444
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
1446
|
-
def max_scale_down_percentage(self) -> Optional[
|
|
1445
|
+
def max_scale_down_percentage(self) -> Optional[_builtins.float]:
|
|
1447
1446
|
"""
|
|
1448
1447
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
1449
1448
|
"""
|
|
@@ -1476,15 +1475,15 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1476
1475
|
return super().get(key, default)
|
|
1477
1476
|
|
|
1478
1477
|
def __init__(__self__, *,
|
|
1479
|
-
cpu_per_unit: Optional[
|
|
1480
|
-
gpu_per_unit: Optional[
|
|
1481
|
-
memory_per_unit: Optional[
|
|
1482
|
-
num_of_units: Optional[
|
|
1478
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
1479
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
1480
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
1481
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
1483
1482
|
"""
|
|
1484
|
-
:param
|
|
1485
|
-
:param
|
|
1486
|
-
:param
|
|
1487
|
-
:param
|
|
1483
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1484
|
+
:param _builtins.int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1485
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1486
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1488
1487
|
"""
|
|
1489
1488
|
if cpu_per_unit is not None:
|
|
1490
1489
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1495,33 +1494,33 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1495
1494
|
if num_of_units is not None:
|
|
1496
1495
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1497
1496
|
|
|
1498
|
-
@property
|
|
1497
|
+
@_builtins.property
|
|
1499
1498
|
@pulumi.getter(name="cpuPerUnit")
|
|
1500
|
-
def cpu_per_unit(self) -> Optional[
|
|
1499
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1501
1500
|
"""
|
|
1502
1501
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1503
1502
|
"""
|
|
1504
1503
|
return pulumi.get(self, "cpu_per_unit")
|
|
1505
1504
|
|
|
1506
|
-
@property
|
|
1505
|
+
@_builtins.property
|
|
1507
1506
|
@pulumi.getter(name="gpuPerUnit")
|
|
1508
|
-
def gpu_per_unit(self) -> Optional[
|
|
1507
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1509
1508
|
"""
|
|
1510
1509
|
How much GPU allocate for headroom unit.
|
|
1511
1510
|
"""
|
|
1512
1511
|
return pulumi.get(self, "gpu_per_unit")
|
|
1513
1512
|
|
|
1514
|
-
@property
|
|
1513
|
+
@_builtins.property
|
|
1515
1514
|
@pulumi.getter(name="memoryPerUnit")
|
|
1516
|
-
def memory_per_unit(self) -> Optional[
|
|
1515
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
1517
1516
|
"""
|
|
1518
1517
|
Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1519
1518
|
"""
|
|
1520
1519
|
return pulumi.get(self, "memory_per_unit")
|
|
1521
1520
|
|
|
1522
|
-
@property
|
|
1521
|
+
@_builtins.property
|
|
1523
1522
|
@pulumi.getter(name="numOfUnits")
|
|
1524
|
-
def num_of_units(self) -> Optional[
|
|
1523
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
1525
1524
|
"""
|
|
1526
1525
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1527
1526
|
"""
|
|
@@ -1550,28 +1549,28 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1550
1549
|
return super().get(key, default)
|
|
1551
1550
|
|
|
1552
1551
|
def __init__(__self__, *,
|
|
1553
|
-
max_memory_gib: Optional[
|
|
1554
|
-
max_vcpu: Optional[
|
|
1552
|
+
max_memory_gib: Optional[_builtins.int] = None,
|
|
1553
|
+
max_vcpu: Optional[_builtins.int] = None):
|
|
1555
1554
|
"""
|
|
1556
|
-
:param
|
|
1557
|
-
:param
|
|
1555
|
+
:param _builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1556
|
+
:param _builtins.int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1558
1557
|
"""
|
|
1559
1558
|
if max_memory_gib is not None:
|
|
1560
1559
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
1561
1560
|
if max_vcpu is not None:
|
|
1562
1561
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
1563
1562
|
|
|
1564
|
-
@property
|
|
1563
|
+
@_builtins.property
|
|
1565
1564
|
@pulumi.getter(name="maxMemoryGib")
|
|
1566
|
-
def max_memory_gib(self) -> Optional[
|
|
1565
|
+
def max_memory_gib(self) -> Optional[_builtins.int]:
|
|
1567
1566
|
"""
|
|
1568
1567
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
1569
1568
|
"""
|
|
1570
1569
|
return pulumi.get(self, "max_memory_gib")
|
|
1571
1570
|
|
|
1572
|
-
@property
|
|
1571
|
+
@_builtins.property
|
|
1573
1572
|
@pulumi.getter(name="maxVcpu")
|
|
1574
|
-
def max_vcpu(self) -> Optional[
|
|
1573
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1575
1574
|
"""
|
|
1576
1575
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1577
1576
|
"""
|
|
@@ -1602,14 +1601,14 @@ class OceanImportBackendService(dict):
|
|
|
1602
1601
|
return super().get(key, default)
|
|
1603
1602
|
|
|
1604
1603
|
def __init__(__self__, *,
|
|
1605
|
-
service_name:
|
|
1606
|
-
location_type: Optional[
|
|
1604
|
+
service_name: _builtins.str,
|
|
1605
|
+
location_type: Optional[_builtins.str] = None,
|
|
1607
1606
|
named_ports: Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']] = None,
|
|
1608
|
-
scheme: Optional[
|
|
1607
|
+
scheme: Optional[_builtins.str] = None):
|
|
1609
1608
|
"""
|
|
1610
|
-
:param
|
|
1611
|
-
:param
|
|
1612
|
-
:param
|
|
1609
|
+
:param _builtins.str service_name: The name of the backend service.
|
|
1610
|
+
:param _builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1611
|
+
:param _builtins.str scheme: Use when `location_type` is `regional`. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
1613
1612
|
"""
|
|
1614
1613
|
pulumi.set(__self__, "service_name", service_name)
|
|
1615
1614
|
if location_type is not None:
|
|
@@ -1619,30 +1618,30 @@ class OceanImportBackendService(dict):
|
|
|
1619
1618
|
if scheme is not None:
|
|
1620
1619
|
pulumi.set(__self__, "scheme", scheme)
|
|
1621
1620
|
|
|
1622
|
-
@property
|
|
1621
|
+
@_builtins.property
|
|
1623
1622
|
@pulumi.getter(name="serviceName")
|
|
1624
|
-
def service_name(self) ->
|
|
1623
|
+
def service_name(self) -> _builtins.str:
|
|
1625
1624
|
"""
|
|
1626
1625
|
The name of the backend service.
|
|
1627
1626
|
"""
|
|
1628
1627
|
return pulumi.get(self, "service_name")
|
|
1629
1628
|
|
|
1630
|
-
@property
|
|
1629
|
+
@_builtins.property
|
|
1631
1630
|
@pulumi.getter(name="locationType")
|
|
1632
|
-
def location_type(self) -> Optional[
|
|
1631
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
1633
1632
|
"""
|
|
1634
1633
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1635
1634
|
"""
|
|
1636
1635
|
return pulumi.get(self, "location_type")
|
|
1637
1636
|
|
|
1638
|
-
@property
|
|
1637
|
+
@_builtins.property
|
|
1639
1638
|
@pulumi.getter(name="namedPorts")
|
|
1640
1639
|
def named_ports(self) -> Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']]:
|
|
1641
1640
|
return pulumi.get(self, "named_ports")
|
|
1642
1641
|
|
|
1643
|
-
@property
|
|
1642
|
+
@_builtins.property
|
|
1644
1643
|
@pulumi.getter
|
|
1645
|
-
def scheme(self) -> Optional[
|
|
1644
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
1646
1645
|
"""
|
|
1647
1646
|
Use when `location_type` is `regional`. Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
1648
1647
|
"""
|
|
@@ -1652,22 +1651,22 @@ class OceanImportBackendService(dict):
|
|
|
1652
1651
|
@pulumi.output_type
|
|
1653
1652
|
class OceanImportBackendServiceNamedPort(dict):
|
|
1654
1653
|
def __init__(__self__, *,
|
|
1655
|
-
name:
|
|
1656
|
-
ports: Sequence[
|
|
1654
|
+
name: _builtins.str,
|
|
1655
|
+
ports: Sequence[_builtins.str]):
|
|
1657
1656
|
"""
|
|
1658
|
-
:param Sequence[
|
|
1657
|
+
:param Sequence[_builtins.str] ports: A list of ports.
|
|
1659
1658
|
"""
|
|
1660
1659
|
pulumi.set(__self__, "name", name)
|
|
1661
1660
|
pulumi.set(__self__, "ports", ports)
|
|
1662
1661
|
|
|
1663
|
-
@property
|
|
1662
|
+
@_builtins.property
|
|
1664
1663
|
@pulumi.getter
|
|
1665
|
-
def name(self) ->
|
|
1664
|
+
def name(self) -> _builtins.str:
|
|
1666
1665
|
return pulumi.get(self, "name")
|
|
1667
1666
|
|
|
1668
|
-
@property
|
|
1667
|
+
@_builtins.property
|
|
1669
1668
|
@pulumi.getter
|
|
1670
|
-
def ports(self) -> Sequence[
|
|
1669
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
1671
1670
|
"""
|
|
1672
1671
|
A list of ports.
|
|
1673
1672
|
"""
|
|
@@ -1704,19 +1703,19 @@ class OceanImportFilters(dict):
|
|
|
1704
1703
|
return super().get(key, default)
|
|
1705
1704
|
|
|
1706
1705
|
def __init__(__self__, *,
|
|
1707
|
-
exclude_families: Optional[Sequence[
|
|
1708
|
-
include_families: Optional[Sequence[
|
|
1709
|
-
max_memory_gib: Optional[
|
|
1710
|
-
max_vcpu: Optional[
|
|
1711
|
-
min_memory_gib: Optional[
|
|
1712
|
-
min_vcpu: Optional[
|
|
1713
|
-
"""
|
|
1714
|
-
:param Sequence[
|
|
1715
|
-
:param Sequence[
|
|
1716
|
-
:param
|
|
1717
|
-
:param
|
|
1718
|
-
:param
|
|
1719
|
-
:param
|
|
1706
|
+
exclude_families: Optional[Sequence[_builtins.str]] = None,
|
|
1707
|
+
include_families: Optional[Sequence[_builtins.str]] = None,
|
|
1708
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
1709
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
1710
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
1711
|
+
min_vcpu: Optional[_builtins.int] = None):
|
|
1712
|
+
"""
|
|
1713
|
+
:param Sequence[_builtins.str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1714
|
+
:param Sequence[_builtins.str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1715
|
+
:param _builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1716
|
+
:param _builtins.int max_vcpu: Maximum number of vcpus available.
|
|
1717
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1718
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
1720
1719
|
"""
|
|
1721
1720
|
if exclude_families is not None:
|
|
1722
1721
|
pulumi.set(__self__, "exclude_families", exclude_families)
|
|
@@ -1731,49 +1730,49 @@ class OceanImportFilters(dict):
|
|
|
1731
1730
|
if min_vcpu is not None:
|
|
1732
1731
|
pulumi.set(__self__, "min_vcpu", min_vcpu)
|
|
1733
1732
|
|
|
1734
|
-
@property
|
|
1733
|
+
@_builtins.property
|
|
1735
1734
|
@pulumi.getter(name="excludeFamilies")
|
|
1736
|
-
def exclude_families(self) -> Optional[Sequence[
|
|
1735
|
+
def exclude_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1737
1736
|
"""
|
|
1738
1737
|
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1739
1738
|
"""
|
|
1740
1739
|
return pulumi.get(self, "exclude_families")
|
|
1741
1740
|
|
|
1742
|
-
@property
|
|
1741
|
+
@_builtins.property
|
|
1743
1742
|
@pulumi.getter(name="includeFamilies")
|
|
1744
|
-
def include_families(self) -> Optional[Sequence[
|
|
1743
|
+
def include_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1745
1744
|
"""
|
|
1746
1745
|
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1747
1746
|
"""
|
|
1748
1747
|
return pulumi.get(self, "include_families")
|
|
1749
1748
|
|
|
1750
|
-
@property
|
|
1749
|
+
@_builtins.property
|
|
1751
1750
|
@pulumi.getter(name="maxMemoryGib")
|
|
1752
|
-
def max_memory_gib(self) -> Optional[
|
|
1751
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
1753
1752
|
"""
|
|
1754
1753
|
Maximum amount of Memory (GiB).
|
|
1755
1754
|
"""
|
|
1756
1755
|
return pulumi.get(self, "max_memory_gib")
|
|
1757
1756
|
|
|
1758
|
-
@property
|
|
1757
|
+
@_builtins.property
|
|
1759
1758
|
@pulumi.getter(name="maxVcpu")
|
|
1760
|
-
def max_vcpu(self) -> Optional[
|
|
1759
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1761
1760
|
"""
|
|
1762
1761
|
Maximum number of vcpus available.
|
|
1763
1762
|
"""
|
|
1764
1763
|
return pulumi.get(self, "max_vcpu")
|
|
1765
1764
|
|
|
1766
|
-
@property
|
|
1765
|
+
@_builtins.property
|
|
1767
1766
|
@pulumi.getter(name="minMemoryGib")
|
|
1768
|
-
def min_memory_gib(self) -> Optional[
|
|
1767
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
1769
1768
|
"""
|
|
1770
1769
|
Minimum amount of Memory (GiB).
|
|
1771
1770
|
"""
|
|
1772
1771
|
return pulumi.get(self, "min_memory_gib")
|
|
1773
1772
|
|
|
1774
|
-
@property
|
|
1773
|
+
@_builtins.property
|
|
1775
1774
|
@pulumi.getter(name="minVcpu")
|
|
1776
|
-
def min_vcpu(self) -> Optional[
|
|
1775
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
1777
1776
|
"""
|
|
1778
1777
|
Minimum number of vcpus available.
|
|
1779
1778
|
"""
|
|
@@ -1811,7 +1810,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1811
1810
|
if tasks is not None:
|
|
1812
1811
|
pulumi.set(__self__, "tasks", tasks)
|
|
1813
1812
|
|
|
1814
|
-
@property
|
|
1813
|
+
@_builtins.property
|
|
1815
1814
|
@pulumi.getter(name="shutdownHours")
|
|
1816
1815
|
def shutdown_hours(self) -> Optional['outputs.OceanImportScheduledTaskShutdownHours']:
|
|
1817
1816
|
"""
|
|
@@ -1819,7 +1818,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1819
1818
|
"""
|
|
1820
1819
|
return pulumi.get(self, "shutdown_hours")
|
|
1821
1820
|
|
|
1822
|
-
@property
|
|
1821
|
+
@_builtins.property
|
|
1823
1822
|
@pulumi.getter
|
|
1824
1823
|
def tasks(self) -> Optional[Sequence['outputs.OceanImportScheduledTaskTask']]:
|
|
1825
1824
|
"""
|
|
@@ -1850,30 +1849,30 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1850
1849
|
return super().get(key, default)
|
|
1851
1850
|
|
|
1852
1851
|
def __init__(__self__, *,
|
|
1853
|
-
time_windows: Sequence[
|
|
1854
|
-
is_enabled: Optional[
|
|
1852
|
+
time_windows: Sequence[_builtins.str],
|
|
1853
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1855
1854
|
"""
|
|
1856
|
-
:param Sequence[
|
|
1855
|
+
:param Sequence[_builtins.str] time_windows: Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1857
1856
|
Example: Fri:15:30-Wed:14:30
|
|
1858
|
-
:param
|
|
1857
|
+
:param _builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1859
1858
|
Example: `true`
|
|
1860
1859
|
"""
|
|
1861
1860
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1862
1861
|
if is_enabled is not None:
|
|
1863
1862
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1864
1863
|
|
|
1865
|
-
@property
|
|
1864
|
+
@_builtins.property
|
|
1866
1865
|
@pulumi.getter(name="timeWindows")
|
|
1867
|
-
def time_windows(self) -> Sequence[
|
|
1866
|
+
def time_windows(self) -> Sequence[_builtins.str]:
|
|
1868
1867
|
"""
|
|
1869
1868
|
Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1870
1869
|
Example: Fri:15:30-Wed:14:30
|
|
1871
1870
|
"""
|
|
1872
1871
|
return pulumi.get(self, "time_windows")
|
|
1873
1872
|
|
|
1874
|
-
@property
|
|
1873
|
+
@_builtins.property
|
|
1875
1874
|
@pulumi.getter(name="isEnabled")
|
|
1876
|
-
def is_enabled(self) -> Optional[
|
|
1875
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1877
1876
|
"""
|
|
1878
1877
|
Flag to enable / disable the shutdown hours.
|
|
1879
1878
|
Example: `true`
|
|
@@ -1907,15 +1906,15 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1907
1906
|
return super().get(key, default)
|
|
1908
1907
|
|
|
1909
1908
|
def __init__(__self__, *,
|
|
1910
|
-
cron_expression:
|
|
1911
|
-
is_enabled:
|
|
1912
|
-
task_type:
|
|
1909
|
+
cron_expression: _builtins.str,
|
|
1910
|
+
is_enabled: _builtins.bool,
|
|
1911
|
+
task_type: _builtins.str,
|
|
1913
1912
|
task_parameters: Optional['outputs.OceanImportScheduledTaskTaskTaskParameters'] = None):
|
|
1914
1913
|
"""
|
|
1915
|
-
:param
|
|
1914
|
+
:param _builtins.str cron_expression: A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1916
1915
|
Example: 0 1 * * *
|
|
1917
|
-
:param
|
|
1918
|
-
:param
|
|
1916
|
+
:param _builtins.bool is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1917
|
+
:param _builtins.str task_type: Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1919
1918
|
:param 'OceanImportScheduledTaskTaskTaskParametersArgs' task_parameters: The scheduling parameters for the cluster.
|
|
1920
1919
|
"""
|
|
1921
1920
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1924,32 +1923,32 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1924
1923
|
if task_parameters is not None:
|
|
1925
1924
|
pulumi.set(__self__, "task_parameters", task_parameters)
|
|
1926
1925
|
|
|
1927
|
-
@property
|
|
1926
|
+
@_builtins.property
|
|
1928
1927
|
@pulumi.getter(name="cronExpression")
|
|
1929
|
-
def cron_expression(self) ->
|
|
1928
|
+
def cron_expression(self) -> _builtins.str:
|
|
1930
1929
|
"""
|
|
1931
1930
|
A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1932
1931
|
Example: 0 1 * * *
|
|
1933
1932
|
"""
|
|
1934
1933
|
return pulumi.get(self, "cron_expression")
|
|
1935
1934
|
|
|
1936
|
-
@property
|
|
1935
|
+
@_builtins.property
|
|
1937
1936
|
@pulumi.getter(name="isEnabled")
|
|
1938
|
-
def is_enabled(self) ->
|
|
1937
|
+
def is_enabled(self) -> _builtins.bool:
|
|
1939
1938
|
"""
|
|
1940
1939
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1941
1940
|
"""
|
|
1942
1941
|
return pulumi.get(self, "is_enabled")
|
|
1943
1942
|
|
|
1944
|
-
@property
|
|
1943
|
+
@_builtins.property
|
|
1945
1944
|
@pulumi.getter(name="taskType")
|
|
1946
|
-
def task_type(self) ->
|
|
1945
|
+
def task_type(self) -> _builtins.str:
|
|
1947
1946
|
"""
|
|
1948
1947
|
Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1949
1948
|
"""
|
|
1950
1949
|
return pulumi.get(self, "task_type")
|
|
1951
1950
|
|
|
1952
|
-
@property
|
|
1951
|
+
@_builtins.property
|
|
1953
1952
|
@pulumi.getter(name="taskParameters")
|
|
1954
1953
|
def task_parameters(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParameters']:
|
|
1955
1954
|
"""
|
|
@@ -1985,7 +1984,7 @@ class OceanImportScheduledTaskTaskTaskParameters(dict):
|
|
|
1985
1984
|
if cluster_roll is not None:
|
|
1986
1985
|
pulumi.set(__self__, "cluster_roll", cluster_roll)
|
|
1987
1986
|
|
|
1988
|
-
@property
|
|
1987
|
+
@_builtins.property
|
|
1989
1988
|
@pulumi.getter(name="clusterRoll")
|
|
1990
1989
|
def cluster_roll(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParametersClusterRoll']:
|
|
1991
1990
|
"""
|
|
@@ -2018,15 +2017,15 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
2018
2017
|
return super().get(key, default)
|
|
2019
2018
|
|
|
2020
2019
|
def __init__(__self__, *,
|
|
2021
|
-
batch_min_healthy_percentage: Optional[
|
|
2022
|
-
batch_size_percentage: Optional[
|
|
2023
|
-
comment: Optional[
|
|
2024
|
-
respect_pdb: Optional[
|
|
2020
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
2021
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
2022
|
+
comment: Optional[_builtins.str] = None,
|
|
2023
|
+
respect_pdb: Optional[_builtins.bool] = None):
|
|
2025
2024
|
"""
|
|
2026
|
-
:param
|
|
2027
|
-
:param
|
|
2028
|
-
:param
|
|
2029
|
-
:param
|
|
2025
|
+
:param _builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2026
|
+
:param _builtins.int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
2027
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
2028
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
2030
2029
|
"""
|
|
2031
2030
|
if batch_min_healthy_percentage is not None:
|
|
2032
2031
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -2037,33 +2036,33 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
2037
2036
|
if respect_pdb is not None:
|
|
2038
2037
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
2039
2038
|
|
|
2040
|
-
@property
|
|
2039
|
+
@_builtins.property
|
|
2041
2040
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2042
|
-
def batch_min_healthy_percentage(self) -> Optional[
|
|
2041
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
2043
2042
|
"""
|
|
2044
2043
|
Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2045
2044
|
"""
|
|
2046
2045
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2047
2046
|
|
|
2048
|
-
@property
|
|
2047
|
+
@_builtins.property
|
|
2049
2048
|
@pulumi.getter(name="batchSizePercentage")
|
|
2050
|
-
def batch_size_percentage(self) -> Optional[
|
|
2049
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
2051
2050
|
"""
|
|
2052
2051
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
2053
2052
|
"""
|
|
2054
2053
|
return pulumi.get(self, "batch_size_percentage")
|
|
2055
2054
|
|
|
2056
|
-
@property
|
|
2055
|
+
@_builtins.property
|
|
2057
2056
|
@pulumi.getter
|
|
2058
|
-
def comment(self) -> Optional[
|
|
2057
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
2059
2058
|
"""
|
|
2060
2059
|
Add a comment description for the roll. The comment is limited to 256 chars.
|
|
2061
2060
|
"""
|
|
2062
2061
|
return pulumi.get(self, "comment")
|
|
2063
2062
|
|
|
2064
|
-
@property
|
|
2063
|
+
@_builtins.property
|
|
2065
2064
|
@pulumi.getter(name="respectPdb")
|
|
2066
|
-
def respect_pdb(self) -> Optional[
|
|
2065
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
2067
2066
|
"""
|
|
2068
2067
|
During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
2069
2068
|
"""
|
|
@@ -2092,28 +2091,28 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
2092
2091
|
return super().get(key, default)
|
|
2093
2092
|
|
|
2094
2093
|
def __init__(__self__, *,
|
|
2095
|
-
enable_integrity_monitoring: Optional[
|
|
2096
|
-
enable_secure_boot: Optional[
|
|
2094
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
2095
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
2097
2096
|
"""
|
|
2098
|
-
:param
|
|
2099
|
-
:param
|
|
2097
|
+
:param _builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2098
|
+
:param _builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2100
2099
|
"""
|
|
2101
2100
|
if enable_integrity_monitoring is not None:
|
|
2102
2101
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
2103
2102
|
if enable_secure_boot is not None:
|
|
2104
2103
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
2105
2104
|
|
|
2106
|
-
@property
|
|
2105
|
+
@_builtins.property
|
|
2107
2106
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2108
|
-
def enable_integrity_monitoring(self) -> Optional[
|
|
2107
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
2109
2108
|
"""
|
|
2110
2109
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2111
2110
|
"""
|
|
2112
2111
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
2113
2112
|
|
|
2114
|
-
@property
|
|
2113
|
+
@_builtins.property
|
|
2115
2114
|
@pulumi.getter(name="enableSecureBoot")
|
|
2116
|
-
def enable_secure_boot(self) -> Optional[
|
|
2115
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
2117
2116
|
"""
|
|
2118
2117
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2119
2118
|
"""
|
|
@@ -2148,17 +2147,17 @@ class OceanImportStrategy(dict):
|
|
|
2148
2147
|
return super().get(key, default)
|
|
2149
2148
|
|
|
2150
2149
|
def __init__(__self__, *,
|
|
2151
|
-
draining_timeout: Optional[
|
|
2152
|
-
preemptible_percentage: Optional[
|
|
2153
|
-
provisioning_model: Optional[
|
|
2154
|
-
scaling_orientation: Optional[
|
|
2155
|
-
should_utilize_commitments: Optional[
|
|
2156
|
-
"""
|
|
2157
|
-
:param
|
|
2158
|
-
:param
|
|
2159
|
-
:param
|
|
2160
|
-
:param
|
|
2161
|
-
:param
|
|
2150
|
+
draining_timeout: Optional[_builtins.int] = None,
|
|
2151
|
+
preemptible_percentage: Optional[_builtins.int] = None,
|
|
2152
|
+
provisioning_model: Optional[_builtins.str] = None,
|
|
2153
|
+
scaling_orientation: Optional[_builtins.str] = None,
|
|
2154
|
+
should_utilize_commitments: Optional[_builtins.bool] = None):
|
|
2155
|
+
"""
|
|
2156
|
+
:param _builtins.int draining_timeout: The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2157
|
+
:param _builtins.int preemptible_percentage: Defines the desired preemptible percentage for the cluster.
|
|
2158
|
+
:param _builtins.str provisioning_model: Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2159
|
+
:param _builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2160
|
+
:param _builtins.bool should_utilize_commitments: Enable committed use discounts utilization.
|
|
2162
2161
|
"""
|
|
2163
2162
|
if draining_timeout is not None:
|
|
2164
2163
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
@@ -2171,41 +2170,41 @@ class OceanImportStrategy(dict):
|
|
|
2171
2170
|
if should_utilize_commitments is not None:
|
|
2172
2171
|
pulumi.set(__self__, "should_utilize_commitments", should_utilize_commitments)
|
|
2173
2172
|
|
|
2174
|
-
@property
|
|
2173
|
+
@_builtins.property
|
|
2175
2174
|
@pulumi.getter(name="drainingTimeout")
|
|
2176
|
-
def draining_timeout(self) -> Optional[
|
|
2175
|
+
def draining_timeout(self) -> Optional[_builtins.int]:
|
|
2177
2176
|
"""
|
|
2178
2177
|
The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2179
2178
|
"""
|
|
2180
2179
|
return pulumi.get(self, "draining_timeout")
|
|
2181
2180
|
|
|
2182
|
-
@property
|
|
2181
|
+
@_builtins.property
|
|
2183
2182
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2184
|
-
def preemptible_percentage(self) -> Optional[
|
|
2183
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
2185
2184
|
"""
|
|
2186
2185
|
Defines the desired preemptible percentage for the cluster.
|
|
2187
2186
|
"""
|
|
2188
2187
|
return pulumi.get(self, "preemptible_percentage")
|
|
2189
2188
|
|
|
2190
|
-
@property
|
|
2189
|
+
@_builtins.property
|
|
2191
2190
|
@pulumi.getter(name="provisioningModel")
|
|
2192
|
-
def provisioning_model(self) -> Optional[
|
|
2191
|
+
def provisioning_model(self) -> Optional[_builtins.str]:
|
|
2193
2192
|
"""
|
|
2194
2193
|
Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2195
2194
|
"""
|
|
2196
2195
|
return pulumi.get(self, "provisioning_model")
|
|
2197
2196
|
|
|
2198
|
-
@property
|
|
2197
|
+
@_builtins.property
|
|
2199
2198
|
@pulumi.getter(name="scalingOrientation")
|
|
2200
|
-
def scaling_orientation(self) -> Optional[
|
|
2199
|
+
def scaling_orientation(self) -> Optional[_builtins.str]:
|
|
2201
2200
|
"""
|
|
2202
2201
|
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2203
2202
|
"""
|
|
2204
2203
|
return pulumi.get(self, "scaling_orientation")
|
|
2205
2204
|
|
|
2206
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2207
2206
|
@pulumi.getter(name="shouldUtilizeCommitments")
|
|
2208
|
-
def should_utilize_commitments(self) -> Optional[
|
|
2207
|
+
def should_utilize_commitments(self) -> Optional[_builtins.bool]:
|
|
2209
2208
|
"""
|
|
2210
2209
|
Enable committed use discounts utilization.
|
|
2211
2210
|
"""
|
|
@@ -2236,12 +2235,12 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2236
2235
|
return super().get(key, default)
|
|
2237
2236
|
|
|
2238
2237
|
def __init__(__self__, *,
|
|
2239
|
-
should_roll:
|
|
2240
|
-
conditioned_roll: Optional[
|
|
2238
|
+
should_roll: _builtins.bool,
|
|
2239
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
2241
2240
|
roll_config: Optional['outputs.OceanImportUpdatePolicyRollConfig'] = None):
|
|
2242
2241
|
"""
|
|
2243
|
-
:param
|
|
2244
|
-
:param
|
|
2242
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
2243
|
+
:param _builtins.bool conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2245
2244
|
:param 'OceanImportUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
2246
2245
|
"""
|
|
2247
2246
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -2250,23 +2249,23 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2250
2249
|
if roll_config is not None:
|
|
2251
2250
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
2252
2251
|
|
|
2253
|
-
@property
|
|
2252
|
+
@_builtins.property
|
|
2254
2253
|
@pulumi.getter(name="shouldRoll")
|
|
2255
|
-
def should_roll(self) ->
|
|
2254
|
+
def should_roll(self) -> _builtins.bool:
|
|
2256
2255
|
"""
|
|
2257
2256
|
Enables the roll.
|
|
2258
2257
|
"""
|
|
2259
2258
|
return pulumi.get(self, "should_roll")
|
|
2260
2259
|
|
|
2261
|
-
@property
|
|
2260
|
+
@_builtins.property
|
|
2262
2261
|
@pulumi.getter(name="conditionedRoll")
|
|
2263
|
-
def conditioned_roll(self) -> Optional[
|
|
2262
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
2264
2263
|
"""
|
|
2265
2264
|
Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2266
2265
|
"""
|
|
2267
2266
|
return pulumi.get(self, "conditioned_roll")
|
|
2268
2267
|
|
|
2269
|
-
@property
|
|
2268
|
+
@_builtins.property
|
|
2270
2269
|
@pulumi.getter(name="rollConfig")
|
|
2271
2270
|
def roll_config(self) -> Optional['outputs.OceanImportUpdatePolicyRollConfig']:
|
|
2272
2271
|
"""
|
|
@@ -2301,15 +2300,15 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2301
2300
|
return super().get(key, default)
|
|
2302
2301
|
|
|
2303
2302
|
def __init__(__self__, *,
|
|
2304
|
-
batch_size_percentage:
|
|
2305
|
-
batch_min_healthy_percentage: Optional[
|
|
2306
|
-
launch_spec_ids: Optional[Sequence[
|
|
2307
|
-
respect_pdb: Optional[
|
|
2303
|
+
batch_size_percentage: _builtins.int,
|
|
2304
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
2305
|
+
launch_spec_ids: Optional[Sequence[_builtins.str]] = None,
|
|
2306
|
+
respect_pdb: Optional[_builtins.bool] = None):
|
|
2308
2307
|
"""
|
|
2309
|
-
:param
|
|
2310
|
-
:param
|
|
2311
|
-
:param Sequence[
|
|
2312
|
-
:param
|
|
2308
|
+
:param _builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2309
|
+
:param _builtins.int batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2310
|
+
:param Sequence[_builtins.str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
2311
|
+
:param _builtins.bool respect_pdb: Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2313
2312
|
"""
|
|
2314
2313
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2315
2314
|
if batch_min_healthy_percentage is not None:
|
|
@@ -2319,33 +2318,33 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2319
2318
|
if respect_pdb is not None:
|
|
2320
2319
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
2321
2320
|
|
|
2322
|
-
@property
|
|
2321
|
+
@_builtins.property
|
|
2323
2322
|
@pulumi.getter(name="batchSizePercentage")
|
|
2324
|
-
def batch_size_percentage(self) ->
|
|
2323
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
2325
2324
|
"""
|
|
2326
2325
|
Sets the percentage of the instances to deploy in each batch.
|
|
2327
2326
|
"""
|
|
2328
2327
|
return pulumi.get(self, "batch_size_percentage")
|
|
2329
2328
|
|
|
2330
|
-
@property
|
|
2329
|
+
@_builtins.property
|
|
2331
2330
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2332
|
-
def batch_min_healthy_percentage(self) -> Optional[
|
|
2331
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
2333
2332
|
"""
|
|
2334
2333
|
Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2335
2334
|
"""
|
|
2336
2335
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2337
2336
|
|
|
2338
|
-
@property
|
|
2337
|
+
@_builtins.property
|
|
2339
2338
|
@pulumi.getter(name="launchSpecIds")
|
|
2340
|
-
def launch_spec_ids(self) -> Optional[Sequence[
|
|
2339
|
+
def launch_spec_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
2341
2340
|
"""
|
|
2342
2341
|
List of Virtual Node Group identifiers to be rolled.
|
|
2343
2342
|
"""
|
|
2344
2343
|
return pulumi.get(self, "launch_spec_ids")
|
|
2345
2344
|
|
|
2346
|
-
@property
|
|
2345
|
+
@_builtins.property
|
|
2347
2346
|
@pulumi.getter(name="respectPdb")
|
|
2348
|
-
def respect_pdb(self) -> Optional[
|
|
2347
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
2349
2348
|
"""
|
|
2350
2349
|
Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2351
2350
|
"""
|
|
@@ -2378,15 +2377,15 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2378
2377
|
return super().get(key, default)
|
|
2379
2378
|
|
|
2380
2379
|
def __init__(__self__, *,
|
|
2381
|
-
num_of_units:
|
|
2382
|
-
cpu_per_unit: Optional[
|
|
2383
|
-
gpu_per_unit: Optional[
|
|
2384
|
-
memory_per_unit: Optional[
|
|
2380
|
+
num_of_units: _builtins.int,
|
|
2381
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
2382
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
2383
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
2385
2384
|
"""
|
|
2386
|
-
:param
|
|
2387
|
-
:param
|
|
2388
|
-
:param
|
|
2389
|
-
:param
|
|
2385
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2386
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2387
|
+
:param _builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2388
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2390
2389
|
"""
|
|
2391
2390
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2392
2391
|
if cpu_per_unit is not None:
|
|
@@ -2396,33 +2395,33 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2396
2395
|
if memory_per_unit is not None:
|
|
2397
2396
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2398
2397
|
|
|
2399
|
-
@property
|
|
2398
|
+
@_builtins.property
|
|
2400
2399
|
@pulumi.getter(name="numOfUnits")
|
|
2401
|
-
def num_of_units(self) ->
|
|
2400
|
+
def num_of_units(self) -> _builtins.int:
|
|
2402
2401
|
"""
|
|
2403
2402
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2404
2403
|
"""
|
|
2405
2404
|
return pulumi.get(self, "num_of_units")
|
|
2406
2405
|
|
|
2407
|
-
@property
|
|
2406
|
+
@_builtins.property
|
|
2408
2407
|
@pulumi.getter(name="cpuPerUnit")
|
|
2409
|
-
def cpu_per_unit(self) -> Optional[
|
|
2408
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2410
2409
|
"""
|
|
2411
2410
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2412
2411
|
"""
|
|
2413
2412
|
return pulumi.get(self, "cpu_per_unit")
|
|
2414
2413
|
|
|
2415
|
-
@property
|
|
2414
|
+
@_builtins.property
|
|
2416
2415
|
@pulumi.getter(name="gpuPerUnit")
|
|
2417
|
-
def gpu_per_unit(self) -> Optional[
|
|
2416
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2418
2417
|
"""
|
|
2419
2418
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2420
2419
|
"""
|
|
2421
2420
|
return pulumi.get(self, "gpu_per_unit")
|
|
2422
2421
|
|
|
2423
|
-
@property
|
|
2422
|
+
@_builtins.property
|
|
2424
2423
|
@pulumi.getter(name="memoryPerUnit")
|
|
2425
|
-
def memory_per_unit(self) -> Optional[
|
|
2424
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2426
2425
|
"""
|
|
2427
2426
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2428
2427
|
"""
|
|
@@ -2449,16 +2448,16 @@ class OceanLaunchSpecAutoscaleHeadroomsAutomatic(dict):
|
|
|
2449
2448
|
return super().get(key, default)
|
|
2450
2449
|
|
|
2451
2450
|
def __init__(__self__, *,
|
|
2452
|
-
auto_headroom_percentage: Optional[
|
|
2451
|
+
auto_headroom_percentage: Optional[_builtins.int] = None):
|
|
2453
2452
|
"""
|
|
2454
|
-
:param
|
|
2453
|
+
:param _builtins.int auto_headroom_percentage: Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2455
2454
|
"""
|
|
2456
2455
|
if auto_headroom_percentage is not None:
|
|
2457
2456
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
2458
2457
|
|
|
2459
|
-
@property
|
|
2458
|
+
@_builtins.property
|
|
2460
2459
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
2461
|
-
def auto_headroom_percentage(self) -> Optional[
|
|
2460
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
2462
2461
|
"""
|
|
2463
2462
|
Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2464
2463
|
"""
|
|
@@ -2485,16 +2484,16 @@ class OceanLaunchSpecCreateOptions(dict):
|
|
|
2485
2484
|
return super().get(key, default)
|
|
2486
2485
|
|
|
2487
2486
|
def __init__(__self__, *,
|
|
2488
|
-
initial_nodes: Optional[
|
|
2487
|
+
initial_nodes: Optional[_builtins.int] = None):
|
|
2489
2488
|
"""
|
|
2490
|
-
:param
|
|
2489
|
+
:param _builtins.int initial_nodes: When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2491
2490
|
"""
|
|
2492
2491
|
if initial_nodes is not None:
|
|
2493
2492
|
pulumi.set(__self__, "initial_nodes", initial_nodes)
|
|
2494
2493
|
|
|
2495
|
-
@property
|
|
2494
|
+
@_builtins.property
|
|
2496
2495
|
@pulumi.getter(name="initialNodes")
|
|
2497
|
-
def initial_nodes(self) -> Optional[
|
|
2496
|
+
def initial_nodes(self) -> Optional[_builtins.int]:
|
|
2498
2497
|
"""
|
|
2499
2498
|
When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2500
2499
|
"""
|
|
@@ -2504,28 +2503,28 @@ class OceanLaunchSpecCreateOptions(dict):
|
|
|
2504
2503
|
@pulumi.output_type
|
|
2505
2504
|
class OceanLaunchSpecLabel(dict):
|
|
2506
2505
|
def __init__(__self__, *,
|
|
2507
|
-
key: Optional[
|
|
2508
|
-
value: Optional[
|
|
2506
|
+
key: Optional[_builtins.str] = None,
|
|
2507
|
+
value: Optional[_builtins.str] = None):
|
|
2509
2508
|
"""
|
|
2510
|
-
:param
|
|
2511
|
-
:param
|
|
2509
|
+
:param _builtins.str key: The label key.
|
|
2510
|
+
:param _builtins.str value: The label value.
|
|
2512
2511
|
"""
|
|
2513
2512
|
if key is not None:
|
|
2514
2513
|
pulumi.set(__self__, "key", key)
|
|
2515
2514
|
if value is not None:
|
|
2516
2515
|
pulumi.set(__self__, "value", value)
|
|
2517
2516
|
|
|
2518
|
-
@property
|
|
2517
|
+
@_builtins.property
|
|
2519
2518
|
@pulumi.getter
|
|
2520
|
-
def key(self) -> Optional[
|
|
2519
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2521
2520
|
"""
|
|
2522
2521
|
The label key.
|
|
2523
2522
|
"""
|
|
2524
2523
|
return pulumi.get(self, "key")
|
|
2525
2524
|
|
|
2526
|
-
@property
|
|
2525
|
+
@_builtins.property
|
|
2527
2526
|
@pulumi.getter
|
|
2528
|
-
def value(self) -> Optional[
|
|
2527
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2529
2528
|
"""
|
|
2530
2529
|
The label value.
|
|
2531
2530
|
"""
|
|
@@ -2535,28 +2534,28 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2535
2534
|
@pulumi.output_type
|
|
2536
2535
|
class OceanLaunchSpecMetadata(dict):
|
|
2537
2536
|
def __init__(__self__, *,
|
|
2538
|
-
key: Optional[
|
|
2539
|
-
value: Optional[
|
|
2537
|
+
key: Optional[_builtins.str] = None,
|
|
2538
|
+
value: Optional[_builtins.str] = None):
|
|
2540
2539
|
"""
|
|
2541
|
-
:param
|
|
2542
|
-
:param
|
|
2540
|
+
:param _builtins.str key: The metadata key.
|
|
2541
|
+
:param _builtins.str value: The metadata value.
|
|
2543
2542
|
"""
|
|
2544
2543
|
if key is not None:
|
|
2545
2544
|
pulumi.set(__self__, "key", key)
|
|
2546
2545
|
if value is not None:
|
|
2547
2546
|
pulumi.set(__self__, "value", value)
|
|
2548
2547
|
|
|
2549
|
-
@property
|
|
2548
|
+
@_builtins.property
|
|
2550
2549
|
@pulumi.getter
|
|
2551
|
-
def key(self) -> Optional[
|
|
2550
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2552
2551
|
"""
|
|
2553
2552
|
The metadata key.
|
|
2554
2553
|
"""
|
|
2555
2554
|
return pulumi.get(self, "key")
|
|
2556
2555
|
|
|
2557
|
-
@property
|
|
2556
|
+
@_builtins.property
|
|
2558
2557
|
@pulumi.getter
|
|
2559
|
-
def value(self) -> Optional[
|
|
2558
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2560
2559
|
"""
|
|
2561
2560
|
The metadata value.
|
|
2562
2561
|
"""
|
|
@@ -2587,15 +2586,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2587
2586
|
return super().get(key, default)
|
|
2588
2587
|
|
|
2589
2588
|
def __init__(__self__, *,
|
|
2590
|
-
network:
|
|
2589
|
+
network: _builtins.str,
|
|
2591
2590
|
access_configs: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']] = None,
|
|
2592
2591
|
alias_ip_ranges: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']] = None,
|
|
2593
|
-
project_id: Optional[
|
|
2592
|
+
project_id: Optional[_builtins.str] = None):
|
|
2594
2593
|
"""
|
|
2595
|
-
:param
|
|
2594
|
+
:param _builtins.str network: The name of the network.
|
|
2596
2595
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAccessConfigArgs'] access_configs: The network protocol of the VNG.
|
|
2597
2596
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAliasIpRangeArgs'] alias_ip_ranges: use the imported node pool’s associated aliasIpRange to assign secondary IP addresses to the nodes. Cannot be changed after VNG creation.
|
|
2598
|
-
:param
|
|
2597
|
+
:param _builtins.str project_id: Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2599
2598
|
"""
|
|
2600
2599
|
pulumi.set(__self__, "network", network)
|
|
2601
2600
|
if access_configs is not None:
|
|
@@ -2605,15 +2604,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2605
2604
|
if project_id is not None:
|
|
2606
2605
|
pulumi.set(__self__, "project_id", project_id)
|
|
2607
2606
|
|
|
2608
|
-
@property
|
|
2607
|
+
@_builtins.property
|
|
2609
2608
|
@pulumi.getter
|
|
2610
|
-
def network(self) ->
|
|
2609
|
+
def network(self) -> _builtins.str:
|
|
2611
2610
|
"""
|
|
2612
2611
|
The name of the network.
|
|
2613
2612
|
"""
|
|
2614
2613
|
return pulumi.get(self, "network")
|
|
2615
2614
|
|
|
2616
|
-
@property
|
|
2615
|
+
@_builtins.property
|
|
2617
2616
|
@pulumi.getter(name="accessConfigs")
|
|
2618
2617
|
def access_configs(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']]:
|
|
2619
2618
|
"""
|
|
@@ -2621,7 +2620,7 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2621
2620
|
"""
|
|
2622
2621
|
return pulumi.get(self, "access_configs")
|
|
2623
2622
|
|
|
2624
|
-
@property
|
|
2623
|
+
@_builtins.property
|
|
2625
2624
|
@pulumi.getter(name="aliasIpRanges")
|
|
2626
2625
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']]:
|
|
2627
2626
|
"""
|
|
@@ -2629,9 +2628,9 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2629
2628
|
"""
|
|
2630
2629
|
return pulumi.get(self, "alias_ip_ranges")
|
|
2631
2630
|
|
|
2632
|
-
@property
|
|
2631
|
+
@_builtins.property
|
|
2633
2632
|
@pulumi.getter(name="projectId")
|
|
2634
|
-
def project_id(self) -> Optional[
|
|
2633
|
+
def project_id(self) -> Optional[_builtins.str]:
|
|
2635
2634
|
"""
|
|
2636
2635
|
Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2637
2636
|
"""
|
|
@@ -2641,28 +2640,28 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2641
2640
|
@pulumi.output_type
|
|
2642
2641
|
class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
2643
2642
|
def __init__(__self__, *,
|
|
2644
|
-
name: Optional[
|
|
2645
|
-
type: Optional[
|
|
2643
|
+
name: Optional[_builtins.str] = None,
|
|
2644
|
+
type: Optional[_builtins.str] = None):
|
|
2646
2645
|
"""
|
|
2647
|
-
:param
|
|
2648
|
-
:param
|
|
2646
|
+
:param _builtins.str name: The name of the access configuration.
|
|
2647
|
+
:param _builtins.str type: The type of the access configuration.
|
|
2649
2648
|
"""
|
|
2650
2649
|
if name is not None:
|
|
2651
2650
|
pulumi.set(__self__, "name", name)
|
|
2652
2651
|
if type is not None:
|
|
2653
2652
|
pulumi.set(__self__, "type", type)
|
|
2654
2653
|
|
|
2655
|
-
@property
|
|
2654
|
+
@_builtins.property
|
|
2656
2655
|
@pulumi.getter
|
|
2657
|
-
def name(self) -> Optional[
|
|
2656
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2658
2657
|
"""
|
|
2659
2658
|
The name of the access configuration.
|
|
2660
2659
|
"""
|
|
2661
2660
|
return pulumi.get(self, "name")
|
|
2662
2661
|
|
|
2663
|
-
@property
|
|
2662
|
+
@_builtins.property
|
|
2664
2663
|
@pulumi.getter
|
|
2665
|
-
def type(self) -> Optional[
|
|
2664
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2666
2665
|
"""
|
|
2667
2666
|
The type of the access configuration.
|
|
2668
2667
|
"""
|
|
@@ -2691,26 +2690,26 @@ class OceanLaunchSpecNetworkInterfaceAliasIpRange(dict):
|
|
|
2691
2690
|
return super().get(key, default)
|
|
2692
2691
|
|
|
2693
2692
|
def __init__(__self__, *,
|
|
2694
|
-
ip_cidr_range:
|
|
2695
|
-
subnetwork_range_name:
|
|
2693
|
+
ip_cidr_range: _builtins.str,
|
|
2694
|
+
subnetwork_range_name: _builtins.str):
|
|
2696
2695
|
"""
|
|
2697
|
-
:param
|
|
2698
|
-
:param
|
|
2696
|
+
:param _builtins.str ip_cidr_range: specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2697
|
+
:param _builtins.str subnetwork_range_name: specify the IP address range for the subnet secondary IP range.
|
|
2699
2698
|
"""
|
|
2700
2699
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
2701
2700
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
2702
2701
|
|
|
2703
|
-
@property
|
|
2702
|
+
@_builtins.property
|
|
2704
2703
|
@pulumi.getter(name="ipCidrRange")
|
|
2705
|
-
def ip_cidr_range(self) ->
|
|
2704
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
2706
2705
|
"""
|
|
2707
2706
|
specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2708
2707
|
"""
|
|
2709
2708
|
return pulumi.get(self, "ip_cidr_range")
|
|
2710
2709
|
|
|
2711
|
-
@property
|
|
2710
|
+
@_builtins.property
|
|
2712
2711
|
@pulumi.getter(name="subnetworkRangeName")
|
|
2713
|
-
def subnetwork_range_name(self) ->
|
|
2712
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
2714
2713
|
"""
|
|
2715
2714
|
specify the IP address range for the subnet secondary IP range.
|
|
2716
2715
|
"""
|
|
@@ -2739,28 +2738,28 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2739
2738
|
return super().get(key, default)
|
|
2740
2739
|
|
|
2741
2740
|
def __init__(__self__, *,
|
|
2742
|
-
max_instance_count: Optional[
|
|
2743
|
-
min_instance_count: Optional[
|
|
2741
|
+
max_instance_count: Optional[_builtins.int] = None,
|
|
2742
|
+
min_instance_count: Optional[_builtins.int] = None):
|
|
2744
2743
|
"""
|
|
2745
|
-
:param
|
|
2746
|
-
:param
|
|
2744
|
+
:param _builtins.int max_instance_count: Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2745
|
+
:param _builtins.int min_instance_count: Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2747
2746
|
"""
|
|
2748
2747
|
if max_instance_count is not None:
|
|
2749
2748
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
|
2750
2749
|
if min_instance_count is not None:
|
|
2751
2750
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
|
2752
2751
|
|
|
2753
|
-
@property
|
|
2752
|
+
@_builtins.property
|
|
2754
2753
|
@pulumi.getter(name="maxInstanceCount")
|
|
2755
|
-
def max_instance_count(self) -> Optional[
|
|
2754
|
+
def max_instance_count(self) -> Optional[_builtins.int]:
|
|
2756
2755
|
"""
|
|
2757
2756
|
Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2758
2757
|
"""
|
|
2759
2758
|
return pulumi.get(self, "max_instance_count")
|
|
2760
2759
|
|
|
2761
|
-
@property
|
|
2760
|
+
@_builtins.property
|
|
2762
2761
|
@pulumi.getter(name="minInstanceCount")
|
|
2763
|
-
def min_instance_count(self) -> Optional[
|
|
2762
|
+
def min_instance_count(self) -> Optional[_builtins.int]:
|
|
2764
2763
|
"""
|
|
2765
2764
|
Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2766
2765
|
"""
|
|
@@ -2793,14 +2792,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2793
2792
|
return super().get(key, default)
|
|
2794
2793
|
|
|
2795
2794
|
def __init__(__self__, *,
|
|
2796
|
-
cron_expression:
|
|
2797
|
-
is_enabled:
|
|
2798
|
-
task_type:
|
|
2795
|
+
cron_expression: _builtins.str,
|
|
2796
|
+
is_enabled: _builtins.bool,
|
|
2797
|
+
task_type: _builtins.str,
|
|
2799
2798
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
2800
2799
|
"""
|
|
2801
|
-
:param
|
|
2802
|
-
:param
|
|
2803
|
-
:param
|
|
2800
|
+
:param _builtins.str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2801
|
+
:param _builtins.bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2802
|
+
:param _builtins.str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2804
2803
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
2805
2804
|
"""
|
|
2806
2805
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -2809,31 +2808,31 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2809
2808
|
if task_headrooms is not None:
|
|
2810
2809
|
pulumi.set(__self__, "task_headrooms", task_headrooms)
|
|
2811
2810
|
|
|
2812
|
-
@property
|
|
2811
|
+
@_builtins.property
|
|
2813
2812
|
@pulumi.getter(name="cronExpression")
|
|
2814
|
-
def cron_expression(self) ->
|
|
2813
|
+
def cron_expression(self) -> _builtins.str:
|
|
2815
2814
|
"""
|
|
2816
2815
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2817
2816
|
"""
|
|
2818
2817
|
return pulumi.get(self, "cron_expression")
|
|
2819
2818
|
|
|
2820
|
-
@property
|
|
2819
|
+
@_builtins.property
|
|
2821
2820
|
@pulumi.getter(name="isEnabled")
|
|
2822
|
-
def is_enabled(self) ->
|
|
2821
|
+
def is_enabled(self) -> _builtins.bool:
|
|
2823
2822
|
"""
|
|
2824
2823
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2825
2824
|
"""
|
|
2826
2825
|
return pulumi.get(self, "is_enabled")
|
|
2827
2826
|
|
|
2828
|
-
@property
|
|
2827
|
+
@_builtins.property
|
|
2829
2828
|
@pulumi.getter(name="taskType")
|
|
2830
|
-
def task_type(self) ->
|
|
2829
|
+
def task_type(self) -> _builtins.str:
|
|
2831
2830
|
"""
|
|
2832
2831
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2833
2832
|
"""
|
|
2834
2833
|
return pulumi.get(self, "task_type")
|
|
2835
2834
|
|
|
2836
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2837
2836
|
@pulumi.getter(name="taskHeadrooms")
|
|
2838
2837
|
def task_headrooms(self) -> Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']]:
|
|
2839
2838
|
"""
|
|
@@ -2868,15 +2867,15 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2868
2867
|
return super().get(key, default)
|
|
2869
2868
|
|
|
2870
2869
|
def __init__(__self__, *,
|
|
2871
|
-
num_of_units:
|
|
2872
|
-
cpu_per_unit: Optional[
|
|
2873
|
-
gpu_per_unit: Optional[
|
|
2874
|
-
memory_per_unit: Optional[
|
|
2870
|
+
num_of_units: _builtins.int,
|
|
2871
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
2872
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
2873
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
2875
2874
|
"""
|
|
2876
|
-
:param
|
|
2877
|
-
:param
|
|
2878
|
-
:param
|
|
2879
|
-
:param
|
|
2875
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2876
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2877
|
+
:param _builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2878
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2880
2879
|
"""
|
|
2881
2880
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2882
2881
|
if cpu_per_unit is not None:
|
|
@@ -2886,33 +2885,33 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2886
2885
|
if memory_per_unit is not None:
|
|
2887
2886
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2888
2887
|
|
|
2889
|
-
@property
|
|
2888
|
+
@_builtins.property
|
|
2890
2889
|
@pulumi.getter(name="numOfUnits")
|
|
2891
|
-
def num_of_units(self) ->
|
|
2890
|
+
def num_of_units(self) -> _builtins.int:
|
|
2892
2891
|
"""
|
|
2893
2892
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2894
2893
|
"""
|
|
2895
2894
|
return pulumi.get(self, "num_of_units")
|
|
2896
2895
|
|
|
2897
|
-
@property
|
|
2896
|
+
@_builtins.property
|
|
2898
2897
|
@pulumi.getter(name="cpuPerUnit")
|
|
2899
|
-
def cpu_per_unit(self) -> Optional[
|
|
2898
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2900
2899
|
"""
|
|
2901
2900
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2902
2901
|
"""
|
|
2903
2902
|
return pulumi.get(self, "cpu_per_unit")
|
|
2904
2903
|
|
|
2905
|
-
@property
|
|
2904
|
+
@_builtins.property
|
|
2906
2905
|
@pulumi.getter(name="gpuPerUnit")
|
|
2907
|
-
def gpu_per_unit(self) -> Optional[
|
|
2906
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2908
2907
|
"""
|
|
2909
2908
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2910
2909
|
"""
|
|
2911
2910
|
return pulumi.get(self, "gpu_per_unit")
|
|
2912
2911
|
|
|
2913
|
-
@property
|
|
2912
|
+
@_builtins.property
|
|
2914
2913
|
@pulumi.getter(name="memoryPerUnit")
|
|
2915
|
-
def memory_per_unit(self) -> Optional[
|
|
2914
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2916
2915
|
"""
|
|
2917
2916
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2918
2917
|
"""
|
|
@@ -2941,28 +2940,28 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2941
2940
|
return super().get(key, default)
|
|
2942
2941
|
|
|
2943
2942
|
def __init__(__self__, *,
|
|
2944
|
-
enable_integrity_monitoring: Optional[
|
|
2945
|
-
enable_secure_boot: Optional[
|
|
2943
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
2944
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
2946
2945
|
"""
|
|
2947
|
-
:param
|
|
2948
|
-
:param
|
|
2946
|
+
:param _builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2947
|
+
:param _builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2949
2948
|
"""
|
|
2950
2949
|
if enable_integrity_monitoring is not None:
|
|
2951
2950
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
2952
2951
|
if enable_secure_boot is not None:
|
|
2953
2952
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
2954
2953
|
|
|
2955
|
-
@property
|
|
2954
|
+
@_builtins.property
|
|
2956
2955
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2957
|
-
def enable_integrity_monitoring(self) -> Optional[
|
|
2956
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
2958
2957
|
"""
|
|
2959
2958
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2960
2959
|
"""
|
|
2961
2960
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
2962
2961
|
|
|
2963
|
-
@property
|
|
2962
|
+
@_builtins.property
|
|
2964
2963
|
@pulumi.getter(name="enableSecureBoot")
|
|
2965
|
-
def enable_secure_boot(self) -> Optional[
|
|
2964
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
2966
2965
|
"""
|
|
2967
2966
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2968
2967
|
"""
|
|
@@ -2989,16 +2988,16 @@ class OceanLaunchSpecStorage(dict):
|
|
|
2989
2988
|
return super().get(key, default)
|
|
2990
2989
|
|
|
2991
2990
|
def __init__(__self__, *,
|
|
2992
|
-
local_ssd_count: Optional[
|
|
2991
|
+
local_ssd_count: Optional[_builtins.int] = None):
|
|
2993
2992
|
"""
|
|
2994
|
-
:param
|
|
2993
|
+
:param _builtins.int local_ssd_count: Defines the number of local SSDs to be attached per node for this VNG.
|
|
2995
2994
|
"""
|
|
2996
2995
|
if local_ssd_count is not None:
|
|
2997
2996
|
pulumi.set(__self__, "local_ssd_count", local_ssd_count)
|
|
2998
2997
|
|
|
2999
|
-
@property
|
|
2998
|
+
@_builtins.property
|
|
3000
2999
|
@pulumi.getter(name="localSsdCount")
|
|
3001
|
-
def local_ssd_count(self) -> Optional[
|
|
3000
|
+
def local_ssd_count(self) -> Optional[_builtins.int]:
|
|
3002
3001
|
"""
|
|
3003
3002
|
Defines the number of local SSDs to be attached per node for this VNG.
|
|
3004
3003
|
"""
|
|
@@ -3027,28 +3026,28 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
3027
3026
|
return super().get(key, default)
|
|
3028
3027
|
|
|
3029
3028
|
def __init__(__self__, *,
|
|
3030
|
-
preemptible_percentage: Optional[
|
|
3031
|
-
scaling_orientation: Optional[
|
|
3029
|
+
preemptible_percentage: Optional[_builtins.int] = None,
|
|
3030
|
+
scaling_orientation: Optional[_builtins.str] = None):
|
|
3032
3031
|
"""
|
|
3033
|
-
:param
|
|
3034
|
-
:param
|
|
3032
|
+
:param _builtins.int preemptible_percentage: Defines the desired preemptible percentage for this launch specification.
|
|
3033
|
+
:param _builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
3035
3034
|
"""
|
|
3036
3035
|
if preemptible_percentage is not None:
|
|
3037
3036
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
3038
3037
|
if scaling_orientation is not None:
|
|
3039
3038
|
pulumi.set(__self__, "scaling_orientation", scaling_orientation)
|
|
3040
3039
|
|
|
3041
|
-
@property
|
|
3040
|
+
@_builtins.property
|
|
3042
3041
|
@pulumi.getter(name="preemptiblePercentage")
|
|
3043
|
-
def preemptible_percentage(self) -> Optional[
|
|
3042
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
3044
3043
|
"""
|
|
3045
3044
|
Defines the desired preemptible percentage for this launch specification.
|
|
3046
3045
|
"""
|
|
3047
3046
|
return pulumi.get(self, "preemptible_percentage")
|
|
3048
3047
|
|
|
3049
|
-
@property
|
|
3048
|
+
@_builtins.property
|
|
3050
3049
|
@pulumi.getter(name="scalingOrientation")
|
|
3051
|
-
def scaling_orientation(self) -> Optional[
|
|
3050
|
+
def scaling_orientation(self) -> Optional[_builtins.str]:
|
|
3052
3051
|
"""
|
|
3053
3052
|
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
3054
3053
|
"""
|
|
@@ -3058,13 +3057,13 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
3058
3057
|
@pulumi.output_type
|
|
3059
3058
|
class OceanLaunchSpecTaint(dict):
|
|
3060
3059
|
def __init__(__self__, *,
|
|
3061
|
-
effect: Optional[
|
|
3062
|
-
key: Optional[
|
|
3063
|
-
value: Optional[
|
|
3060
|
+
effect: Optional[_builtins.str] = None,
|
|
3061
|
+
key: Optional[_builtins.str] = None,
|
|
3062
|
+
value: Optional[_builtins.str] = None):
|
|
3064
3063
|
"""
|
|
3065
|
-
:param
|
|
3066
|
-
:param
|
|
3067
|
-
:param
|
|
3064
|
+
:param _builtins.str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3065
|
+
:param _builtins.str key: The taint key.
|
|
3066
|
+
:param _builtins.str value: The taint value.
|
|
3068
3067
|
"""
|
|
3069
3068
|
if effect is not None:
|
|
3070
3069
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -3073,25 +3072,25 @@ class OceanLaunchSpecTaint(dict):
|
|
|
3073
3072
|
if value is not None:
|
|
3074
3073
|
pulumi.set(__self__, "value", value)
|
|
3075
3074
|
|
|
3076
|
-
@property
|
|
3075
|
+
@_builtins.property
|
|
3077
3076
|
@pulumi.getter
|
|
3078
|
-
def effect(self) -> Optional[
|
|
3077
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
3079
3078
|
"""
|
|
3080
3079
|
The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3081
3080
|
"""
|
|
3082
3081
|
return pulumi.get(self, "effect")
|
|
3083
3082
|
|
|
3084
|
-
@property
|
|
3083
|
+
@_builtins.property
|
|
3085
3084
|
@pulumi.getter
|
|
3086
|
-
def key(self) -> Optional[
|
|
3085
|
+
def key(self) -> Optional[_builtins.str]:
|
|
3087
3086
|
"""
|
|
3088
3087
|
The taint key.
|
|
3089
3088
|
"""
|
|
3090
3089
|
return pulumi.get(self, "key")
|
|
3091
3090
|
|
|
3092
|
-
@property
|
|
3091
|
+
@_builtins.property
|
|
3093
3092
|
@pulumi.getter
|
|
3094
|
-
def value(self) -> Optional[
|
|
3093
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3095
3094
|
"""
|
|
3096
3095
|
The taint value.
|
|
3097
3096
|
"""
|
|
@@ -3120,25 +3119,25 @@ class OceanLaunchSpecUpdatePolicy(dict):
|
|
|
3120
3119
|
return super().get(key, default)
|
|
3121
3120
|
|
|
3122
3121
|
def __init__(__self__, *,
|
|
3123
|
-
should_roll:
|
|
3122
|
+
should_roll: _builtins.bool,
|
|
3124
3123
|
roll_config: Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig'] = None):
|
|
3125
3124
|
"""
|
|
3126
|
-
:param
|
|
3125
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
3127
3126
|
:param 'OceanLaunchSpecUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
3128
3127
|
"""
|
|
3129
3128
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
3130
3129
|
if roll_config is not None:
|
|
3131
3130
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
3132
3131
|
|
|
3133
|
-
@property
|
|
3132
|
+
@_builtins.property
|
|
3134
3133
|
@pulumi.getter(name="shouldRoll")
|
|
3135
|
-
def should_roll(self) ->
|
|
3134
|
+
def should_roll(self) -> _builtins.bool:
|
|
3136
3135
|
"""
|
|
3137
3136
|
Enables the roll.
|
|
3138
3137
|
"""
|
|
3139
3138
|
return pulumi.get(self, "should_roll")
|
|
3140
3139
|
|
|
3141
|
-
@property
|
|
3140
|
+
@_builtins.property
|
|
3142
3141
|
@pulumi.getter(name="rollConfig")
|
|
3143
3142
|
def roll_config(self) -> Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig']:
|
|
3144
3143
|
"""
|
|
@@ -3167,15 +3166,15 @@ class OceanLaunchSpecUpdatePolicyRollConfig(dict):
|
|
|
3167
3166
|
return super().get(key, default)
|
|
3168
3167
|
|
|
3169
3168
|
def __init__(__self__, *,
|
|
3170
|
-
batch_size_percentage:
|
|
3169
|
+
batch_size_percentage: _builtins.int):
|
|
3171
3170
|
"""
|
|
3172
|
-
:param
|
|
3171
|
+
:param _builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
3173
3172
|
"""
|
|
3174
3173
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
3175
3174
|
|
|
3176
|
-
@property
|
|
3175
|
+
@_builtins.property
|
|
3177
3176
|
@pulumi.getter(name="batchSizePercentage")
|
|
3178
|
-
def batch_size_percentage(self) ->
|
|
3177
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
3179
3178
|
"""
|
|
3180
3179
|
Sets the percentage of the instances to deploy in each batch.
|
|
3181
3180
|
"""
|