pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744183551__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744183551.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
pulumi_spotinst/azure/outputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -81,12 +82,12 @@ class OceanNpAutoscaler(dict):
|
|
|
81
82
|
def __init__(__self__, *,
|
|
82
83
|
autoscale_down: Optional['outputs.OceanNpAutoscalerAutoscaleDown'] = None,
|
|
83
84
|
autoscale_headroom: Optional['outputs.OceanNpAutoscalerAutoscaleHeadroom'] = None,
|
|
84
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
85
|
+
autoscale_is_enabled: Optional[builtins.bool] = None,
|
|
85
86
|
resource_limits: Optional['outputs.OceanNpAutoscalerResourceLimits'] = None):
|
|
86
87
|
"""
|
|
87
88
|
:param 'OceanNpAutoscalerAutoscaleDownArgs' autoscale_down: Auto Scaling scale down operations.
|
|
88
89
|
:param 'OceanNpAutoscalerAutoscaleHeadroomArgs' autoscale_headroom: Spare resource capacity management enabling fast assignment of pods without waiting for new resources to launch.
|
|
89
|
-
:param bool autoscale_is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
90
|
+
:param builtins.bool autoscale_is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
90
91
|
:param 'OceanNpAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
91
92
|
"""
|
|
92
93
|
if autoscale_down is not None:
|
|
@@ -116,7 +117,7 @@ class OceanNpAutoscaler(dict):
|
|
|
116
117
|
|
|
117
118
|
@property
|
|
118
119
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
119
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
120
|
+
def autoscale_is_enabled(self) -> Optional[builtins.bool]:
|
|
120
121
|
"""
|
|
121
122
|
Enable the Ocean Kubernetes Autoscaler.
|
|
122
123
|
"""
|
|
@@ -151,16 +152,16 @@ class OceanNpAutoscalerAutoscaleDown(dict):
|
|
|
151
152
|
return super().get(key, default)
|
|
152
153
|
|
|
153
154
|
def __init__(__self__, *,
|
|
154
|
-
max_scale_down_percentage: Optional[int] = None):
|
|
155
|
+
max_scale_down_percentage: Optional[builtins.int] = None):
|
|
155
156
|
"""
|
|
156
|
-
:param int max_scale_down_percentage: The maximum percentage allowed to scale down in a single scaling action.
|
|
157
|
+
:param builtins.int max_scale_down_percentage: The maximum percentage allowed to scale down in a single scaling action.
|
|
157
158
|
"""
|
|
158
159
|
if max_scale_down_percentage is not None:
|
|
159
160
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
160
161
|
|
|
161
162
|
@property
|
|
162
163
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
163
|
-
def max_scale_down_percentage(self) -> Optional[int]:
|
|
164
|
+
def max_scale_down_percentage(self) -> Optional[builtins.int]:
|
|
164
165
|
"""
|
|
165
166
|
The maximum percentage allowed to scale down in a single scaling action.
|
|
166
167
|
"""
|
|
@@ -206,11 +207,11 @@ class OceanNpAutoscalerAutoscaleHeadroomAutomatic(dict):
|
|
|
206
207
|
return super().get(key, default)
|
|
207
208
|
|
|
208
209
|
def __init__(__self__, *,
|
|
209
|
-
is_enabled: Optional[bool] = None,
|
|
210
|
-
percentage: Optional[int] = None):
|
|
210
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
211
|
+
percentage: Optional[builtins.int] = None):
|
|
211
212
|
"""
|
|
212
|
-
:param bool is_enabled: Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
213
|
-
:param int percentage: Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
213
|
+
:param builtins.bool is_enabled: Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
214
|
+
:param builtins.int percentage: Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
214
215
|
"""
|
|
215
216
|
if is_enabled is not None:
|
|
216
217
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -219,7 +220,7 @@ class OceanNpAutoscalerAutoscaleHeadroomAutomatic(dict):
|
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter(name="isEnabled")
|
|
222
|
-
def is_enabled(self) -> Optional[bool]:
|
|
223
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
223
224
|
"""
|
|
224
225
|
Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
225
226
|
"""
|
|
@@ -227,7 +228,7 @@ class OceanNpAutoscalerAutoscaleHeadroomAutomatic(dict):
|
|
|
227
228
|
|
|
228
229
|
@property
|
|
229
230
|
@pulumi.getter
|
|
230
|
-
def percentage(self) -> Optional[int]:
|
|
231
|
+
def percentage(self) -> Optional[builtins.int]:
|
|
231
232
|
"""
|
|
232
233
|
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
233
234
|
"""
|
|
@@ -256,11 +257,11 @@ class OceanNpAutoscalerResourceLimits(dict):
|
|
|
256
257
|
return super().get(key, default)
|
|
257
258
|
|
|
258
259
|
def __init__(__self__, *,
|
|
259
|
-
max_memory_gib: Optional[int] = None,
|
|
260
|
-
max_vcpu: Optional[int] = None):
|
|
260
|
+
max_memory_gib: Optional[builtins.int] = None,
|
|
261
|
+
max_vcpu: Optional[builtins.int] = None):
|
|
261
262
|
"""
|
|
262
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
263
|
-
:param int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
263
|
+
:param builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
264
|
+
:param builtins.int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
264
265
|
"""
|
|
265
266
|
if max_memory_gib is not None:
|
|
266
267
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
@@ -269,7 +270,7 @@ class OceanNpAutoscalerResourceLimits(dict):
|
|
|
269
270
|
|
|
270
271
|
@property
|
|
271
272
|
@pulumi.getter(name="maxMemoryGib")
|
|
272
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
273
|
+
def max_memory_gib(self) -> Optional[builtins.int]:
|
|
273
274
|
"""
|
|
274
275
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
275
276
|
"""
|
|
@@ -277,7 +278,7 @@ class OceanNpAutoscalerResourceLimits(dict):
|
|
|
277
278
|
|
|
278
279
|
@property
|
|
279
280
|
@pulumi.getter(name="maxVcpu")
|
|
280
|
-
def max_vcpu(self) -> Optional[int]:
|
|
281
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
281
282
|
"""
|
|
282
283
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
283
284
|
"""
|
|
@@ -328,37 +329,37 @@ class OceanNpFilters(dict):
|
|
|
328
329
|
return super().get(key, default)
|
|
329
330
|
|
|
330
331
|
def __init__(__self__, *,
|
|
331
|
-
accelerated_networking: Optional[str] = None,
|
|
332
|
-
architectures: Optional[Sequence[str]] = None,
|
|
333
|
-
disk_performance: Optional[str] = None,
|
|
334
|
-
exclude_series: Optional[Sequence[str]] = None,
|
|
335
|
-
gpu_types: Optional[Sequence[str]] = None,
|
|
336
|
-
max_gpu: Optional[float] = None,
|
|
337
|
-
max_memory_gib: Optional[float] = None,
|
|
338
|
-
max_vcpu: Optional[int] = None,
|
|
339
|
-
min_disk: Optional[int] = None,
|
|
340
|
-
min_gpu: Optional[float] = None,
|
|
341
|
-
min_memory_gib: Optional[float] = None,
|
|
342
|
-
min_nics: Optional[int] = None,
|
|
343
|
-
min_vcpu: Optional[int] = None,
|
|
344
|
-
series: Optional[Sequence[str]] = None,
|
|
345
|
-
vm_types: Optional[Sequence[str]] = None):
|
|
346
|
-
"""
|
|
347
|
-
:param str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
348
|
-
:param Sequence[str] architectures: The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
349
|
-
:param str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
350
|
-
:param Sequence[str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling
|
|
351
|
-
:param Sequence[str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
352
|
-
:param float max_gpu: Maximum number of GPUs available.
|
|
353
|
-
:param float max_memory_gib: Maximum amount of Memory (GiB).
|
|
354
|
-
:param int max_vcpu: Maximum number of vcpus available.
|
|
355
|
-
:param int min_disk: Minimum number of data disks available.
|
|
356
|
-
:param float min_gpu: Minimum number of GPUs available.
|
|
357
|
-
:param float min_memory_gib: Minimum amount of Memory (GiB).
|
|
358
|
-
:param int min_nics: Minimum number of network interfaces.
|
|
359
|
-
:param int min_vcpu: Minimum number of vcpus available.
|
|
360
|
-
:param Sequence[str] series: Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
|
|
361
|
-
:param Sequence[str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
332
|
+
accelerated_networking: Optional[builtins.str] = None,
|
|
333
|
+
architectures: Optional[Sequence[builtins.str]] = None,
|
|
334
|
+
disk_performance: Optional[builtins.str] = None,
|
|
335
|
+
exclude_series: Optional[Sequence[builtins.str]] = None,
|
|
336
|
+
gpu_types: Optional[Sequence[builtins.str]] = None,
|
|
337
|
+
max_gpu: Optional[builtins.float] = None,
|
|
338
|
+
max_memory_gib: Optional[builtins.float] = None,
|
|
339
|
+
max_vcpu: Optional[builtins.int] = None,
|
|
340
|
+
min_disk: Optional[builtins.int] = None,
|
|
341
|
+
min_gpu: Optional[builtins.float] = None,
|
|
342
|
+
min_memory_gib: Optional[builtins.float] = None,
|
|
343
|
+
min_nics: Optional[builtins.int] = None,
|
|
344
|
+
min_vcpu: Optional[builtins.int] = None,
|
|
345
|
+
series: Optional[Sequence[builtins.str]] = None,
|
|
346
|
+
vm_types: Optional[Sequence[builtins.str]] = None):
|
|
347
|
+
"""
|
|
348
|
+
:param builtins.str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
349
|
+
:param Sequence[builtins.str] architectures: The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
350
|
+
:param builtins.str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
351
|
+
:param Sequence[builtins.str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling
|
|
352
|
+
:param Sequence[builtins.str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
353
|
+
:param builtins.float max_gpu: Maximum number of GPUs available.
|
|
354
|
+
:param builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
355
|
+
:param builtins.int max_vcpu: Maximum number of vcpus available.
|
|
356
|
+
:param builtins.int min_disk: Minimum number of data disks available.
|
|
357
|
+
:param builtins.float min_gpu: Minimum number of GPUs available.
|
|
358
|
+
:param builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
359
|
+
:param builtins.int min_nics: Minimum number of network interfaces.
|
|
360
|
+
:param builtins.int min_vcpu: Minimum number of vcpus available.
|
|
361
|
+
:param Sequence[builtins.str] series: Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
|
|
362
|
+
:param Sequence[builtins.str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
362
363
|
"""
|
|
363
364
|
if accelerated_networking is not None:
|
|
364
365
|
pulumi.set(__self__, "accelerated_networking", accelerated_networking)
|
|
@@ -393,7 +394,7 @@ class OceanNpFilters(dict):
|
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter(name="acceleratedNetworking")
|
|
396
|
-
def accelerated_networking(self) -> Optional[str]:
|
|
397
|
+
def accelerated_networking(self) -> Optional[builtins.str]:
|
|
397
398
|
"""
|
|
398
399
|
In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
399
400
|
"""
|
|
@@ -401,7 +402,7 @@ class OceanNpFilters(dict):
|
|
|
401
402
|
|
|
402
403
|
@property
|
|
403
404
|
@pulumi.getter
|
|
404
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
405
|
+
def architectures(self) -> Optional[Sequence[builtins.str]]:
|
|
405
406
|
"""
|
|
406
407
|
The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
407
408
|
"""
|
|
@@ -409,7 +410,7 @@ class OceanNpFilters(dict):
|
|
|
409
410
|
|
|
410
411
|
@property
|
|
411
412
|
@pulumi.getter(name="diskPerformance")
|
|
412
|
-
def disk_performance(self) -> Optional[str]:
|
|
413
|
+
def disk_performance(self) -> Optional[builtins.str]:
|
|
413
414
|
"""
|
|
414
415
|
The filtered vm sizes will support at least one of the classes from this list.
|
|
415
416
|
"""
|
|
@@ -417,7 +418,7 @@ class OceanNpFilters(dict):
|
|
|
417
418
|
|
|
418
419
|
@property
|
|
419
420
|
@pulumi.getter(name="excludeSeries")
|
|
420
|
-
def exclude_series(self) -> Optional[Sequence[str]]:
|
|
421
|
+
def exclude_series(self) -> Optional[Sequence[builtins.str]]:
|
|
421
422
|
"""
|
|
422
423
|
Vm sizes belonging to a series from the list will not be available for scaling
|
|
423
424
|
"""
|
|
@@ -425,7 +426,7 @@ class OceanNpFilters(dict):
|
|
|
425
426
|
|
|
426
427
|
@property
|
|
427
428
|
@pulumi.getter(name="gpuTypes")
|
|
428
|
-
def gpu_types(self) -> Optional[Sequence[str]]:
|
|
429
|
+
def gpu_types(self) -> Optional[Sequence[builtins.str]]:
|
|
429
430
|
"""
|
|
430
431
|
The filtered gpu types will belong to one of the gpu types from this list.
|
|
431
432
|
"""
|
|
@@ -433,7 +434,7 @@ class OceanNpFilters(dict):
|
|
|
433
434
|
|
|
434
435
|
@property
|
|
435
436
|
@pulumi.getter(name="maxGpu")
|
|
436
|
-
def max_gpu(self) -> Optional[float]:
|
|
437
|
+
def max_gpu(self) -> Optional[builtins.float]:
|
|
437
438
|
"""
|
|
438
439
|
Maximum number of GPUs available.
|
|
439
440
|
"""
|
|
@@ -441,7 +442,7 @@ class OceanNpFilters(dict):
|
|
|
441
442
|
|
|
442
443
|
@property
|
|
443
444
|
@pulumi.getter(name="maxMemoryGib")
|
|
444
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
445
|
+
def max_memory_gib(self) -> Optional[builtins.float]:
|
|
445
446
|
"""
|
|
446
447
|
Maximum amount of Memory (GiB).
|
|
447
448
|
"""
|
|
@@ -449,7 +450,7 @@ class OceanNpFilters(dict):
|
|
|
449
450
|
|
|
450
451
|
@property
|
|
451
452
|
@pulumi.getter(name="maxVcpu")
|
|
452
|
-
def max_vcpu(self) -> Optional[int]:
|
|
453
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
453
454
|
"""
|
|
454
455
|
Maximum number of vcpus available.
|
|
455
456
|
"""
|
|
@@ -457,7 +458,7 @@ class OceanNpFilters(dict):
|
|
|
457
458
|
|
|
458
459
|
@property
|
|
459
460
|
@pulumi.getter(name="minDisk")
|
|
460
|
-
def min_disk(self) -> Optional[int]:
|
|
461
|
+
def min_disk(self) -> Optional[builtins.int]:
|
|
461
462
|
"""
|
|
462
463
|
Minimum number of data disks available.
|
|
463
464
|
"""
|
|
@@ -465,7 +466,7 @@ class OceanNpFilters(dict):
|
|
|
465
466
|
|
|
466
467
|
@property
|
|
467
468
|
@pulumi.getter(name="minGpu")
|
|
468
|
-
def min_gpu(self) -> Optional[float]:
|
|
469
|
+
def min_gpu(self) -> Optional[builtins.float]:
|
|
469
470
|
"""
|
|
470
471
|
Minimum number of GPUs available.
|
|
471
472
|
"""
|
|
@@ -473,7 +474,7 @@ class OceanNpFilters(dict):
|
|
|
473
474
|
|
|
474
475
|
@property
|
|
475
476
|
@pulumi.getter(name="minMemoryGib")
|
|
476
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
477
|
+
def min_memory_gib(self) -> Optional[builtins.float]:
|
|
477
478
|
"""
|
|
478
479
|
Minimum amount of Memory (GiB).
|
|
479
480
|
"""
|
|
@@ -481,7 +482,7 @@ class OceanNpFilters(dict):
|
|
|
481
482
|
|
|
482
483
|
@property
|
|
483
484
|
@pulumi.getter(name="minNics")
|
|
484
|
-
def min_nics(self) -> Optional[int]:
|
|
485
|
+
def min_nics(self) -> Optional[builtins.int]:
|
|
485
486
|
"""
|
|
486
487
|
Minimum number of network interfaces.
|
|
487
488
|
"""
|
|
@@ -489,7 +490,7 @@ class OceanNpFilters(dict):
|
|
|
489
490
|
|
|
490
491
|
@property
|
|
491
492
|
@pulumi.getter(name="minVcpu")
|
|
492
|
-
def min_vcpu(self) -> Optional[int]:
|
|
493
|
+
def min_vcpu(self) -> Optional[builtins.int]:
|
|
493
494
|
"""
|
|
494
495
|
Minimum number of vcpus available.
|
|
495
496
|
"""
|
|
@@ -497,7 +498,7 @@ class OceanNpFilters(dict):
|
|
|
497
498
|
|
|
498
499
|
@property
|
|
499
500
|
@pulumi.getter
|
|
500
|
-
def series(self) -> Optional[Sequence[str]]:
|
|
501
|
+
def series(self) -> Optional[Sequence[builtins.str]]:
|
|
501
502
|
"""
|
|
502
503
|
Vm sizes belonging to a series from the list will be available for scaling. We can specify include list and series can be specified with capital or small letters, with space, without space or with underscore '_' . For example all of these "DSv2", "Ds v2", "ds_v2" refer to same DS_v2 series.
|
|
503
504
|
"""
|
|
@@ -505,7 +506,7 @@ class OceanNpFilters(dict):
|
|
|
505
506
|
|
|
506
507
|
@property
|
|
507
508
|
@pulumi.getter(name="vmTypes")
|
|
508
|
-
def vm_types(self) -> Optional[Sequence[str]]:
|
|
509
|
+
def vm_types(self) -> Optional[Sequence[builtins.str]]:
|
|
509
510
|
"""
|
|
510
511
|
The filtered vm types will belong to one of the vm types from this list.
|
|
511
512
|
"""
|
|
@@ -538,15 +539,15 @@ class OceanNpHeadroom(dict):
|
|
|
538
539
|
return super().get(key, default)
|
|
539
540
|
|
|
540
541
|
def __init__(__self__, *,
|
|
541
|
-
cpu_per_unit: Optional[int] = None,
|
|
542
|
-
gpu_per_unit: Optional[int] = None,
|
|
543
|
-
memory_per_unit: Optional[int] = None,
|
|
544
|
-
num_of_units: Optional[int] = None):
|
|
542
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
543
|
+
gpu_per_unit: Optional[builtins.int] = None,
|
|
544
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
545
|
+
num_of_units: Optional[builtins.int] = None):
|
|
545
546
|
"""
|
|
546
|
-
:param int cpu_per_unit: Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
547
|
-
:param int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
548
|
-
:param int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
549
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
547
|
+
:param builtins.int cpu_per_unit: Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
548
|
+
:param builtins.int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
549
|
+
:param builtins.int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
550
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
550
551
|
"""
|
|
551
552
|
if cpu_per_unit is not None:
|
|
552
553
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -559,7 +560,7 @@ class OceanNpHeadroom(dict):
|
|
|
559
560
|
|
|
560
561
|
@property
|
|
561
562
|
@pulumi.getter(name="cpuPerUnit")
|
|
562
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
563
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
563
564
|
"""
|
|
564
565
|
Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
565
566
|
"""
|
|
@@ -567,7 +568,7 @@ class OceanNpHeadroom(dict):
|
|
|
567
568
|
|
|
568
569
|
@property
|
|
569
570
|
@pulumi.getter(name="gpuPerUnit")
|
|
570
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
571
|
+
def gpu_per_unit(self) -> Optional[builtins.int]:
|
|
571
572
|
"""
|
|
572
573
|
Amount of GPU to allocate for headroom unit.
|
|
573
574
|
"""
|
|
@@ -575,7 +576,7 @@ class OceanNpHeadroom(dict):
|
|
|
575
576
|
|
|
576
577
|
@property
|
|
577
578
|
@pulumi.getter(name="memoryPerUnit")
|
|
578
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
579
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
579
580
|
"""
|
|
580
581
|
Configure the amount of memory (MiB) to allocate the headroom.
|
|
581
582
|
"""
|
|
@@ -583,7 +584,7 @@ class OceanNpHeadroom(dict):
|
|
|
583
584
|
|
|
584
585
|
@property
|
|
585
586
|
@pulumi.getter(name="numOfUnits")
|
|
586
|
-
def num_of_units(self) -> Optional[int]:
|
|
587
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
587
588
|
"""
|
|
588
589
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
589
590
|
"""
|
|
@@ -610,16 +611,16 @@ class OceanNpHealth(dict):
|
|
|
610
611
|
return super().get(key, default)
|
|
611
612
|
|
|
612
613
|
def __init__(__self__, *,
|
|
613
|
-
grace_period: Optional[int] = None):
|
|
614
|
+
grace_period: Optional[builtins.int] = None):
|
|
614
615
|
"""
|
|
615
|
-
:param int grace_period: The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
616
|
+
:param builtins.int grace_period: The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
616
617
|
"""
|
|
617
618
|
if grace_period is not None:
|
|
618
619
|
pulumi.set(__self__, "grace_period", grace_period)
|
|
619
620
|
|
|
620
621
|
@property
|
|
621
622
|
@pulumi.getter(name="gracePeriod")
|
|
622
|
-
def grace_period(self) -> Optional[int]:
|
|
623
|
+
def grace_period(self) -> Optional[builtins.int]:
|
|
623
624
|
"""
|
|
624
625
|
The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
625
626
|
"""
|
|
@@ -665,16 +666,16 @@ class OceanNpLinuxOsConfigSysctl(dict):
|
|
|
665
666
|
return super().get(key, default)
|
|
666
667
|
|
|
667
668
|
def __init__(__self__, *,
|
|
668
|
-
vm_max_map_count: Optional[int] = None):
|
|
669
|
+
vm_max_map_count: Optional[builtins.int] = None):
|
|
669
670
|
"""
|
|
670
|
-
:param int vm_max_map_count: Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
671
|
+
:param builtins.int vm_max_map_count: Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
671
672
|
"""
|
|
672
673
|
if vm_max_map_count is not None:
|
|
673
674
|
pulumi.set(__self__, "vm_max_map_count", vm_max_map_count)
|
|
674
675
|
|
|
675
676
|
@property
|
|
676
677
|
@pulumi.getter(name="vmMaxMapCount")
|
|
677
|
-
def vm_max_map_count(self) -> Optional[int]:
|
|
678
|
+
def vm_max_map_count(self) -> Optional[builtins.int]:
|
|
678
679
|
"""
|
|
679
680
|
Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
680
681
|
"""
|
|
@@ -739,16 +740,16 @@ class OceanNpLoggingExport(dict):
|
|
|
739
740
|
@pulumi.output_type
|
|
740
741
|
class OceanNpLoggingExportAzureBlob(dict):
|
|
741
742
|
def __init__(__self__, *,
|
|
742
|
-
id: Optional[str] = None):
|
|
743
|
+
id: Optional[builtins.str] = None):
|
|
743
744
|
"""
|
|
744
|
-
:param str id: The identifier of The Azure Blob data integration to export the logs to.
|
|
745
|
+
:param builtins.str id: The identifier of The Azure Blob data integration to export the logs to.
|
|
745
746
|
"""
|
|
746
747
|
if id is not None:
|
|
747
748
|
pulumi.set(__self__, "id", id)
|
|
748
749
|
|
|
749
750
|
@property
|
|
750
751
|
@pulumi.getter
|
|
751
|
-
def id(self) -> Optional[str]:
|
|
752
|
+
def id(self) -> Optional[builtins.str]:
|
|
752
753
|
"""
|
|
753
754
|
The identifier of The Azure Blob data integration to export the logs to.
|
|
754
755
|
"""
|
|
@@ -831,10 +832,10 @@ class OceanNpSchedulingShutdownHours(dict):
|
|
|
831
832
|
return super().get(key, default)
|
|
832
833
|
|
|
833
834
|
def __init__(__self__, *,
|
|
834
|
-
is_enabled: Optional[bool] = None,
|
|
835
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
835
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
836
|
+
time_windows: Optional[Sequence[builtins.str]] = None):
|
|
836
837
|
"""
|
|
837
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
838
|
+
:param Sequence[builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
838
839
|
"""
|
|
839
840
|
if is_enabled is not None:
|
|
840
841
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -843,12 +844,12 @@ class OceanNpSchedulingShutdownHours(dict):
|
|
|
843
844
|
|
|
844
845
|
@property
|
|
845
846
|
@pulumi.getter(name="isEnabled")
|
|
846
|
-
def is_enabled(self) -> Optional[bool]:
|
|
847
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
847
848
|
return pulumi.get(self, "is_enabled")
|
|
848
849
|
|
|
849
850
|
@property
|
|
850
851
|
@pulumi.getter(name="timeWindows")
|
|
851
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
852
|
+
def time_windows(self) -> Optional[Sequence[builtins.str]]:
|
|
852
853
|
"""
|
|
853
854
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
854
855
|
"""
|
|
@@ -877,10 +878,10 @@ class OceanNpSchedulingSuspensionHours(dict):
|
|
|
877
878
|
return super().get(key, default)
|
|
878
879
|
|
|
879
880
|
def __init__(__self__, *,
|
|
880
|
-
is_enabled: Optional[bool] = None,
|
|
881
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
881
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
882
|
+
time_windows: Optional[Sequence[builtins.str]] = None):
|
|
882
883
|
"""
|
|
883
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
884
|
+
:param Sequence[builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
884
885
|
"""
|
|
885
886
|
if is_enabled is not None:
|
|
886
887
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -889,12 +890,12 @@ class OceanNpSchedulingSuspensionHours(dict):
|
|
|
889
890
|
|
|
890
891
|
@property
|
|
891
892
|
@pulumi.getter(name="isEnabled")
|
|
892
|
-
def is_enabled(self) -> Optional[bool]:
|
|
893
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
893
894
|
return pulumi.get(self, "is_enabled")
|
|
894
895
|
|
|
895
896
|
@property
|
|
896
897
|
@pulumi.getter(name="timeWindows")
|
|
897
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
898
|
+
def time_windows(self) -> Optional[Sequence[builtins.str]]:
|
|
898
899
|
"""
|
|
899
900
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
900
901
|
"""
|
|
@@ -925,9 +926,9 @@ class OceanNpSchedulingTask(dict):
|
|
|
925
926
|
return super().get(key, default)
|
|
926
927
|
|
|
927
928
|
def __init__(__self__, *,
|
|
928
|
-
cron_expression: str,
|
|
929
|
-
is_enabled: bool,
|
|
930
|
-
task_type: str,
|
|
929
|
+
cron_expression: builtins.str,
|
|
930
|
+
is_enabled: builtins.bool,
|
|
931
|
+
task_type: builtins.str,
|
|
931
932
|
parameters: Optional['outputs.OceanNpSchedulingTaskParameters'] = None):
|
|
932
933
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
933
934
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -937,17 +938,17 @@ class OceanNpSchedulingTask(dict):
|
|
|
937
938
|
|
|
938
939
|
@property
|
|
939
940
|
@pulumi.getter(name="cronExpression")
|
|
940
|
-
def cron_expression(self) -> str:
|
|
941
|
+
def cron_expression(self) -> builtins.str:
|
|
941
942
|
return pulumi.get(self, "cron_expression")
|
|
942
943
|
|
|
943
944
|
@property
|
|
944
945
|
@pulumi.getter(name="isEnabled")
|
|
945
|
-
def is_enabled(self) -> bool:
|
|
946
|
+
def is_enabled(self) -> builtins.bool:
|
|
946
947
|
return pulumi.get(self, "is_enabled")
|
|
947
948
|
|
|
948
949
|
@property
|
|
949
950
|
@pulumi.getter(name="taskType")
|
|
950
|
-
def task_type(self) -> str:
|
|
951
|
+
def task_type(self) -> builtins.str:
|
|
951
952
|
return pulumi.get(self, "task_type")
|
|
952
953
|
|
|
953
954
|
@property
|
|
@@ -1024,19 +1025,19 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1024
1025
|
return super().get(key, default)
|
|
1025
1026
|
|
|
1026
1027
|
def __init__(__self__, *,
|
|
1027
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1028
|
-
batch_size_percentage: Optional[int] = None,
|
|
1029
|
-
comment: Optional[str] = None,
|
|
1030
|
-
respect_pdb: Optional[bool] = None,
|
|
1031
|
-
respect_restrict_scale_down: Optional[bool] = None,
|
|
1032
|
-
vng_ids: Optional[Sequence[str]] = None):
|
|
1033
|
-
"""
|
|
1034
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1035
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1036
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1037
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1038
|
-
:param bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1039
|
-
:param Sequence[str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1028
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
1029
|
+
batch_size_percentage: Optional[builtins.int] = None,
|
|
1030
|
+
comment: Optional[builtins.str] = None,
|
|
1031
|
+
respect_pdb: Optional[builtins.bool] = None,
|
|
1032
|
+
respect_restrict_scale_down: Optional[builtins.bool] = None,
|
|
1033
|
+
vng_ids: Optional[Sequence[builtins.str]] = None):
|
|
1034
|
+
"""
|
|
1035
|
+
:param builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1036
|
+
: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. In case of null as value, the default value in the backend will be 20%.
|
|
1037
|
+
:param builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1038
|
+
:param builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1039
|
+
:param builtins.bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1040
|
+
:param Sequence[builtins.str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1040
1041
|
"""
|
|
1041
1042
|
if batch_min_healthy_percentage is not None:
|
|
1042
1043
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1053,7 +1054,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1053
1054
|
|
|
1054
1055
|
@property
|
|
1055
1056
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1056
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1057
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
1057
1058
|
"""
|
|
1058
1059
|
Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1059
1060
|
"""
|
|
@@ -1061,7 +1062,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1061
1062
|
|
|
1062
1063
|
@property
|
|
1063
1064
|
@pulumi.getter(name="batchSizePercentage")
|
|
1064
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1065
|
+
def batch_size_percentage(self) -> Optional[builtins.int]:
|
|
1065
1066
|
"""
|
|
1066
1067
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1067
1068
|
"""
|
|
@@ -1069,7 +1070,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1069
1070
|
|
|
1070
1071
|
@property
|
|
1071
1072
|
@pulumi.getter
|
|
1072
|
-
def comment(self) -> Optional[str]:
|
|
1073
|
+
def comment(self) -> Optional[builtins.str]:
|
|
1073
1074
|
"""
|
|
1074
1075
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1075
1076
|
"""
|
|
@@ -1077,7 +1078,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1077
1078
|
|
|
1078
1079
|
@property
|
|
1079
1080
|
@pulumi.getter(name="respectPdb")
|
|
1080
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1081
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
1081
1082
|
"""
|
|
1082
1083
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1083
1084
|
"""
|
|
@@ -1085,7 +1086,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1085
1086
|
|
|
1086
1087
|
@property
|
|
1087
1088
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1088
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1089
|
+
def respect_restrict_scale_down(self) -> Optional[builtins.bool]:
|
|
1089
1090
|
"""
|
|
1090
1091
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1091
1092
|
"""
|
|
@@ -1093,7 +1094,7 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1093
1094
|
|
|
1094
1095
|
@property
|
|
1095
1096
|
@pulumi.getter(name="vngIds")
|
|
1096
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
1097
|
+
def vng_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
1097
1098
|
"""
|
|
1098
1099
|
List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1099
1100
|
"""
|
|
@@ -1124,9 +1125,9 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfig(dict):
|
|
|
1124
1125
|
return super().get(key, default)
|
|
1125
1126
|
|
|
1126
1127
|
def __init__(__self__, *,
|
|
1127
|
-
apply_roll: Optional[bool] = None,
|
|
1128
|
+
apply_roll: Optional[builtins.bool] = None,
|
|
1128
1129
|
roll_parameters: Optional['outputs.OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters'] = None,
|
|
1129
|
-
scope_version: Optional[str] = None):
|
|
1130
|
+
scope_version: Optional[builtins.str] = None):
|
|
1130
1131
|
if apply_roll is not None:
|
|
1131
1132
|
pulumi.set(__self__, "apply_roll", apply_roll)
|
|
1132
1133
|
if roll_parameters is not None:
|
|
@@ -1136,7 +1137,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfig(dict):
|
|
|
1136
1137
|
|
|
1137
1138
|
@property
|
|
1138
1139
|
@pulumi.getter(name="applyRoll")
|
|
1139
|
-
def apply_roll(self) -> Optional[bool]:
|
|
1140
|
+
def apply_roll(self) -> Optional[builtins.bool]:
|
|
1140
1141
|
return pulumi.get(self, "apply_roll")
|
|
1141
1142
|
|
|
1142
1143
|
@property
|
|
@@ -1146,7 +1147,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfig(dict):
|
|
|
1146
1147
|
|
|
1147
1148
|
@property
|
|
1148
1149
|
@pulumi.getter(name="scopeVersion")
|
|
1149
|
-
def scope_version(self) -> Optional[str]:
|
|
1150
|
+
def scope_version(self) -> Optional[builtins.str]:
|
|
1150
1151
|
return pulumi.get(self, "scope_version")
|
|
1151
1152
|
|
|
1152
1153
|
|
|
@@ -1176,17 +1177,17 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1176
1177
|
return super().get(key, default)
|
|
1177
1178
|
|
|
1178
1179
|
def __init__(__self__, *,
|
|
1179
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1180
|
-
batch_size_percentage: Optional[int] = None,
|
|
1181
|
-
comment: Optional[str] = None,
|
|
1182
|
-
respect_pdb: Optional[bool] = None,
|
|
1183
|
-
respect_restrict_scale_down: Optional[bool] = None):
|
|
1184
|
-
"""
|
|
1185
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1186
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1187
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1188
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1189
|
-
:param bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1180
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
1181
|
+
batch_size_percentage: Optional[builtins.int] = None,
|
|
1182
|
+
comment: Optional[builtins.str] = None,
|
|
1183
|
+
respect_pdb: Optional[builtins.bool] = None,
|
|
1184
|
+
respect_restrict_scale_down: Optional[builtins.bool] = None):
|
|
1185
|
+
"""
|
|
1186
|
+
:param builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1187
|
+
: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. In case of null as value, the default value in the backend will be 20%.
|
|
1188
|
+
:param builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1189
|
+
:param builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1190
|
+
:param builtins.bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1190
1191
|
"""
|
|
1191
1192
|
if batch_min_healthy_percentage is not None:
|
|
1192
1193
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1201,7 +1202,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1201
1202
|
|
|
1202
1203
|
@property
|
|
1203
1204
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1204
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1205
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
1205
1206
|
"""
|
|
1206
1207
|
Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1207
1208
|
"""
|
|
@@ -1209,7 +1210,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1209
1210
|
|
|
1210
1211
|
@property
|
|
1211
1212
|
@pulumi.getter(name="batchSizePercentage")
|
|
1212
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1213
|
+
def batch_size_percentage(self) -> Optional[builtins.int]:
|
|
1213
1214
|
"""
|
|
1214
1215
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1215
1216
|
"""
|
|
@@ -1217,7 +1218,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1217
1218
|
|
|
1218
1219
|
@property
|
|
1219
1220
|
@pulumi.getter
|
|
1220
|
-
def comment(self) -> Optional[str]:
|
|
1221
|
+
def comment(self) -> Optional[builtins.str]:
|
|
1221
1222
|
"""
|
|
1222
1223
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1223
1224
|
"""
|
|
@@ -1225,7 +1226,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1225
1226
|
|
|
1226
1227
|
@property
|
|
1227
1228
|
@pulumi.getter(name="respectPdb")
|
|
1228
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1229
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
1229
1230
|
"""
|
|
1230
1231
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1231
1232
|
"""
|
|
@@ -1233,7 +1234,7 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1233
1234
|
|
|
1234
1235
|
@property
|
|
1235
1236
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1236
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1237
|
+
def respect_restrict_scale_down(self) -> Optional[builtins.bool]:
|
|
1237
1238
|
"""
|
|
1238
1239
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1239
1240
|
"""
|
|
@@ -1243,13 +1244,13 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1243
1244
|
@pulumi.output_type
|
|
1244
1245
|
class OceanNpTaint(dict):
|
|
1245
1246
|
def __init__(__self__, *,
|
|
1246
|
-
effect: str,
|
|
1247
|
-
key: str,
|
|
1248
|
-
value: str):
|
|
1247
|
+
effect: builtins.str,
|
|
1248
|
+
key: builtins.str,
|
|
1249
|
+
value: builtins.str):
|
|
1249
1250
|
"""
|
|
1250
|
-
:param str effect: Set taint effect.
|
|
1251
|
-
:param str key: Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
|
|
1252
|
-
:param str value: Set taint value.
|
|
1251
|
+
:param builtins.str effect: Set taint effect.
|
|
1252
|
+
:param builtins.str key: Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
|
|
1253
|
+
:param builtins.str value: Set taint value.
|
|
1253
1254
|
"""
|
|
1254
1255
|
pulumi.set(__self__, "effect", effect)
|
|
1255
1256
|
pulumi.set(__self__, "key", key)
|
|
@@ -1257,7 +1258,7 @@ class OceanNpTaint(dict):
|
|
|
1257
1258
|
|
|
1258
1259
|
@property
|
|
1259
1260
|
@pulumi.getter
|
|
1260
|
-
def effect(self) -> str:
|
|
1261
|
+
def effect(self) -> builtins.str:
|
|
1261
1262
|
"""
|
|
1262
1263
|
Set taint effect.
|
|
1263
1264
|
"""
|
|
@@ -1265,7 +1266,7 @@ class OceanNpTaint(dict):
|
|
|
1265
1266
|
|
|
1266
1267
|
@property
|
|
1267
1268
|
@pulumi.getter
|
|
1268
|
-
def key(self) -> str:
|
|
1269
|
+
def key(self) -> builtins.str:
|
|
1269
1270
|
"""
|
|
1270
1271
|
Set taint key. The following taint keys are not allowed: ["node.kubernetes.io/not-ready", "node.kubernetes.io/unreachable", "node.kubernetes.io/unschedulable", "node.kubernetes.io/memory-pressure", "node.kubernetes.io/disk-pressure", "node.kubernetes.io/network-unavailable", "node.kubernetes.io/pid-pressure", "node.kubernetes.io/out-of-service", "node.cloudprovider.kubernetes.io/uninitialized", "node.cloudprovider.kubernetes.io/shutdown", "kubernetes.azure.com/scalesetpriority"]
|
|
1271
1272
|
"""
|
|
@@ -1273,7 +1274,7 @@ class OceanNpTaint(dict):
|
|
|
1273
1274
|
|
|
1274
1275
|
@property
|
|
1275
1276
|
@pulumi.getter
|
|
1276
|
-
def value(self) -> str:
|
|
1277
|
+
def value(self) -> builtins.str:
|
|
1277
1278
|
"""
|
|
1278
1279
|
Set taint value.
|
|
1279
1280
|
"""
|
|
@@ -1304,12 +1305,12 @@ class OceanNpUpdatePolicy(dict):
|
|
|
1304
1305
|
return super().get(key, default)
|
|
1305
1306
|
|
|
1306
1307
|
def __init__(__self__, *,
|
|
1307
|
-
should_roll: bool,
|
|
1308
|
-
conditioned_roll: Optional[bool] = None,
|
|
1308
|
+
should_roll: builtins.bool,
|
|
1309
|
+
conditioned_roll: Optional[builtins.bool] = None,
|
|
1309
1310
|
roll_config: Optional['outputs.OceanNpUpdatePolicyRollConfig'] = None):
|
|
1310
1311
|
"""
|
|
1311
|
-
:param bool should_roll: If set to true along with the cluster update, roll will be triggered.
|
|
1312
|
-
:param 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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
1312
|
+
:param builtins.bool should_roll: If set to true along with the cluster update, roll will be triggered.
|
|
1313
|
+
: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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
1313
1314
|
:param 'OceanNpUpdatePolicyRollConfigArgs' roll_config: While used, you can control whether the group should perform a deployment after an update to the configuration.
|
|
1314
1315
|
"""
|
|
1315
1316
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -1320,7 +1321,7 @@ class OceanNpUpdatePolicy(dict):
|
|
|
1320
1321
|
|
|
1321
1322
|
@property
|
|
1322
1323
|
@pulumi.getter(name="shouldRoll")
|
|
1323
|
-
def should_roll(self) -> bool:
|
|
1324
|
+
def should_roll(self) -> builtins.bool:
|
|
1324
1325
|
"""
|
|
1325
1326
|
If set to true along with the cluster update, roll will be triggered.
|
|
1326
1327
|
"""
|
|
@@ -1328,7 +1329,7 @@ class OceanNpUpdatePolicy(dict):
|
|
|
1328
1329
|
|
|
1329
1330
|
@property
|
|
1330
1331
|
@pulumi.getter(name="conditionedRoll")
|
|
1331
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
1332
|
+
def conditioned_roll(self) -> Optional[builtins.bool]:
|
|
1332
1333
|
"""
|
|
1333
1334
|
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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
1334
1335
|
"""
|
|
@@ -1375,23 +1376,23 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1375
1376
|
return super().get(key, default)
|
|
1376
1377
|
|
|
1377
1378
|
def __init__(__self__, *,
|
|
1378
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1379
|
-
batch_size_percentage: Optional[int] = None,
|
|
1380
|
-
comment: Optional[str] = None,
|
|
1381
|
-
node_names: Optional[Sequence[str]] = None,
|
|
1382
|
-
node_pool_names: Optional[Sequence[str]] = None,
|
|
1383
|
-
respect_pdb: Optional[bool] = None,
|
|
1384
|
-
respect_restrict_scale_down: Optional[bool] = None,
|
|
1385
|
-
vng_ids: Optional[Sequence[str]] = None):
|
|
1386
|
-
"""
|
|
1387
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1388
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1389
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1390
|
-
:param Sequence[str] node_names: List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
1391
|
-
:param Sequence[str] node_pool_names: List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
1392
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1393
|
-
:param bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1394
|
-
:param Sequence[str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1379
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
1380
|
+
batch_size_percentage: Optional[builtins.int] = None,
|
|
1381
|
+
comment: Optional[builtins.str] = None,
|
|
1382
|
+
node_names: Optional[Sequence[builtins.str]] = None,
|
|
1383
|
+
node_pool_names: Optional[Sequence[builtins.str]] = None,
|
|
1384
|
+
respect_pdb: Optional[builtins.bool] = None,
|
|
1385
|
+
respect_restrict_scale_down: Optional[builtins.bool] = None,
|
|
1386
|
+
vng_ids: Optional[Sequence[builtins.str]] = None):
|
|
1387
|
+
"""
|
|
1388
|
+
:param builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1389
|
+
: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. In case of null as value, the default value in the backend will be 20%.
|
|
1390
|
+
:param builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1391
|
+
:param Sequence[builtins.str] node_names: List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
1392
|
+
:param Sequence[builtins.str] node_pool_names: List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
1393
|
+
:param builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1394
|
+
:param builtins.bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1395
|
+
:param Sequence[builtins.str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1395
1396
|
"""
|
|
1396
1397
|
if batch_min_healthy_percentage is not None:
|
|
1397
1398
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1412,7 +1413,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1412
1413
|
|
|
1413
1414
|
@property
|
|
1414
1415
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1415
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1416
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
1416
1417
|
"""
|
|
1417
1418
|
Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
1418
1419
|
"""
|
|
@@ -1420,7 +1421,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1420
1421
|
|
|
1421
1422
|
@property
|
|
1422
1423
|
@pulumi.getter(name="batchSizePercentage")
|
|
1423
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1424
|
+
def batch_size_percentage(self) -> Optional[builtins.int]:
|
|
1424
1425
|
"""
|
|
1425
1426
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
1426
1427
|
"""
|
|
@@ -1428,7 +1429,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1428
1429
|
|
|
1429
1430
|
@property
|
|
1430
1431
|
@pulumi.getter
|
|
1431
|
-
def comment(self) -> Optional[str]:
|
|
1432
|
+
def comment(self) -> Optional[builtins.str]:
|
|
1432
1433
|
"""
|
|
1433
1434
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1434
1435
|
"""
|
|
@@ -1436,7 +1437,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1436
1437
|
|
|
1437
1438
|
@property
|
|
1438
1439
|
@pulumi.getter(name="nodeNames")
|
|
1439
|
-
def node_names(self) -> Optional[Sequence[str]]:
|
|
1440
|
+
def node_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1440
1441
|
"""
|
|
1441
1442
|
List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
1442
1443
|
"""
|
|
@@ -1444,7 +1445,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1444
1445
|
|
|
1445
1446
|
@property
|
|
1446
1447
|
@pulumi.getter(name="nodePoolNames")
|
|
1447
|
-
def node_pool_names(self) -> Optional[Sequence[str]]:
|
|
1448
|
+
def node_pool_names(self) -> Optional[Sequence[builtins.str]]:
|
|
1448
1449
|
"""
|
|
1449
1450
|
List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
1450
1451
|
"""
|
|
@@ -1452,7 +1453,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1452
1453
|
|
|
1453
1454
|
@property
|
|
1454
1455
|
@pulumi.getter(name="respectPdb")
|
|
1455
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1456
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
1456
1457
|
"""
|
|
1457
1458
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1458
1459
|
"""
|
|
@@ -1460,7 +1461,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1460
1461
|
|
|
1461
1462
|
@property
|
|
1462
1463
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1463
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1464
|
+
def respect_restrict_scale_down(self) -> Optional[builtins.bool]:
|
|
1464
1465
|
"""
|
|
1465
1466
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1466
1467
|
"""
|
|
@@ -1468,7 +1469,7 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1468
1469
|
|
|
1469
1470
|
@property
|
|
1470
1471
|
@pulumi.getter(name="vngIds")
|
|
1471
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
1472
|
+
def vng_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
1472
1473
|
"""
|
|
1473
1474
|
List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
1474
1475
|
"""
|
|
@@ -1519,37 +1520,37 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1519
1520
|
return super().get(key, default)
|
|
1520
1521
|
|
|
1521
1522
|
def __init__(__self__, *,
|
|
1522
|
-
accelerated_networking: Optional[str] = None,
|
|
1523
|
-
architectures: Optional[Sequence[str]] = None,
|
|
1524
|
-
disk_performance: Optional[str] = None,
|
|
1525
|
-
exclude_series: Optional[Sequence[str]] = None,
|
|
1526
|
-
gpu_types: Optional[Sequence[str]] = None,
|
|
1527
|
-
max_gpu: Optional[float] = None,
|
|
1528
|
-
max_memory_gib: Optional[float] = None,
|
|
1529
|
-
max_vcpu: Optional[int] = None,
|
|
1530
|
-
min_disk: Optional[int] = None,
|
|
1531
|
-
min_gpu: Optional[float] = None,
|
|
1532
|
-
min_memory_gib: Optional[float] = None,
|
|
1533
|
-
min_nics: Optional[int] = None,
|
|
1534
|
-
min_vcpu: Optional[int] = None,
|
|
1535
|
-
series: Optional[Sequence[str]] = None,
|
|
1536
|
-
vm_types: Optional[Sequence[str]] = None):
|
|
1537
|
-
"""
|
|
1538
|
-
:param str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
1539
|
-
:param Sequence[str] architectures: The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
1540
|
-
:param str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
1541
|
-
:param Sequence[str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling.
|
|
1542
|
-
:param Sequence[str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
1543
|
-
:param float max_gpu: Maximum number of GPUs available.
|
|
1544
|
-
:param float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1545
|
-
:param int max_vcpu: Maximum number of vcpus available.
|
|
1546
|
-
:param int min_disk: Minimum number of data disks available.
|
|
1547
|
-
:param float min_gpu: Minimum number of GPUs available.
|
|
1548
|
-
:param float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1549
|
-
:param int min_nics: Minimum number of network interfaces.
|
|
1550
|
-
:param int min_vcpu: Minimum number of vcpus available.
|
|
1551
|
-
:param Sequence[str] series: Vm sizes belonging to a series from the list will be available for scaling.
|
|
1552
|
-
:param Sequence[str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
1523
|
+
accelerated_networking: Optional[builtins.str] = None,
|
|
1524
|
+
architectures: Optional[Sequence[builtins.str]] = None,
|
|
1525
|
+
disk_performance: Optional[builtins.str] = None,
|
|
1526
|
+
exclude_series: Optional[Sequence[builtins.str]] = None,
|
|
1527
|
+
gpu_types: Optional[Sequence[builtins.str]] = None,
|
|
1528
|
+
max_gpu: Optional[builtins.float] = None,
|
|
1529
|
+
max_memory_gib: Optional[builtins.float] = None,
|
|
1530
|
+
max_vcpu: Optional[builtins.int] = None,
|
|
1531
|
+
min_disk: Optional[builtins.int] = None,
|
|
1532
|
+
min_gpu: Optional[builtins.float] = None,
|
|
1533
|
+
min_memory_gib: Optional[builtins.float] = None,
|
|
1534
|
+
min_nics: Optional[builtins.int] = None,
|
|
1535
|
+
min_vcpu: Optional[builtins.int] = None,
|
|
1536
|
+
series: Optional[Sequence[builtins.str]] = None,
|
|
1537
|
+
vm_types: Optional[Sequence[builtins.str]] = None):
|
|
1538
|
+
"""
|
|
1539
|
+
:param builtins.str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
1540
|
+
:param Sequence[builtins.str] architectures: The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
1541
|
+
:param builtins.str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
1542
|
+
:param Sequence[builtins.str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling.
|
|
1543
|
+
:param Sequence[builtins.str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
1544
|
+
:param builtins.float max_gpu: Maximum number of GPUs available.
|
|
1545
|
+
:param builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1546
|
+
:param builtins.int max_vcpu: Maximum number of vcpus available.
|
|
1547
|
+
:param builtins.int min_disk: Minimum number of data disks available.
|
|
1548
|
+
:param builtins.float min_gpu: Minimum number of GPUs available.
|
|
1549
|
+
:param builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1550
|
+
:param builtins.int min_nics: Minimum number of network interfaces.
|
|
1551
|
+
:param builtins.int min_vcpu: Minimum number of vcpus available.
|
|
1552
|
+
:param Sequence[builtins.str] series: Vm sizes belonging to a series from the list will be available for scaling.
|
|
1553
|
+
:param Sequence[builtins.str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
1553
1554
|
"""
|
|
1554
1555
|
if accelerated_networking is not None:
|
|
1555
1556
|
pulumi.set(__self__, "accelerated_networking", accelerated_networking)
|
|
@@ -1584,7 +1585,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1584
1585
|
|
|
1585
1586
|
@property
|
|
1586
1587
|
@pulumi.getter(name="acceleratedNetworking")
|
|
1587
|
-
def accelerated_networking(self) -> Optional[str]:
|
|
1588
|
+
def accelerated_networking(self) -> Optional[builtins.str]:
|
|
1588
1589
|
"""
|
|
1589
1590
|
In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
1590
1591
|
"""
|
|
@@ -1592,7 +1593,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1592
1593
|
|
|
1593
1594
|
@property
|
|
1594
1595
|
@pulumi.getter
|
|
1595
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
1596
|
+
def architectures(self) -> Optional[Sequence[builtins.str]]:
|
|
1596
1597
|
"""
|
|
1597
1598
|
The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
1598
1599
|
"""
|
|
@@ -1600,7 +1601,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1600
1601
|
|
|
1601
1602
|
@property
|
|
1602
1603
|
@pulumi.getter(name="diskPerformance")
|
|
1603
|
-
def disk_performance(self) -> Optional[str]:
|
|
1604
|
+
def disk_performance(self) -> Optional[builtins.str]:
|
|
1604
1605
|
"""
|
|
1605
1606
|
The filtered vm sizes will support at least one of the classes from this list.
|
|
1606
1607
|
"""
|
|
@@ -1608,7 +1609,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1608
1609
|
|
|
1609
1610
|
@property
|
|
1610
1611
|
@pulumi.getter(name="excludeSeries")
|
|
1611
|
-
def exclude_series(self) -> Optional[Sequence[str]]:
|
|
1612
|
+
def exclude_series(self) -> Optional[Sequence[builtins.str]]:
|
|
1612
1613
|
"""
|
|
1613
1614
|
Vm sizes belonging to a series from the list will not be available for scaling.
|
|
1614
1615
|
"""
|
|
@@ -1616,7 +1617,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1616
1617
|
|
|
1617
1618
|
@property
|
|
1618
1619
|
@pulumi.getter(name="gpuTypes")
|
|
1619
|
-
def gpu_types(self) -> Optional[Sequence[str]]:
|
|
1620
|
+
def gpu_types(self) -> Optional[Sequence[builtins.str]]:
|
|
1620
1621
|
"""
|
|
1621
1622
|
The filtered gpu types will belong to one of the gpu types from this list.
|
|
1622
1623
|
"""
|
|
@@ -1624,7 +1625,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1624
1625
|
|
|
1625
1626
|
@property
|
|
1626
1627
|
@pulumi.getter(name="maxGpu")
|
|
1627
|
-
def max_gpu(self) -> Optional[float]:
|
|
1628
|
+
def max_gpu(self) -> Optional[builtins.float]:
|
|
1628
1629
|
"""
|
|
1629
1630
|
Maximum number of GPUs available.
|
|
1630
1631
|
"""
|
|
@@ -1632,7 +1633,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1632
1633
|
|
|
1633
1634
|
@property
|
|
1634
1635
|
@pulumi.getter(name="maxMemoryGib")
|
|
1635
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
1636
|
+
def max_memory_gib(self) -> Optional[builtins.float]:
|
|
1636
1637
|
"""
|
|
1637
1638
|
Maximum amount of Memory (GiB).
|
|
1638
1639
|
"""
|
|
@@ -1640,7 +1641,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1640
1641
|
|
|
1641
1642
|
@property
|
|
1642
1643
|
@pulumi.getter(name="maxVcpu")
|
|
1643
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1644
|
+
def max_vcpu(self) -> Optional[builtins.int]:
|
|
1644
1645
|
"""
|
|
1645
1646
|
Maximum number of vcpus available.
|
|
1646
1647
|
"""
|
|
@@ -1648,7 +1649,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1648
1649
|
|
|
1649
1650
|
@property
|
|
1650
1651
|
@pulumi.getter(name="minDisk")
|
|
1651
|
-
def min_disk(self) -> Optional[int]:
|
|
1652
|
+
def min_disk(self) -> Optional[builtins.int]:
|
|
1652
1653
|
"""
|
|
1653
1654
|
Minimum number of data disks available.
|
|
1654
1655
|
"""
|
|
@@ -1656,7 +1657,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1656
1657
|
|
|
1657
1658
|
@property
|
|
1658
1659
|
@pulumi.getter(name="minGpu")
|
|
1659
|
-
def min_gpu(self) -> Optional[float]:
|
|
1660
|
+
def min_gpu(self) -> Optional[builtins.float]:
|
|
1660
1661
|
"""
|
|
1661
1662
|
Minimum number of GPUs available.
|
|
1662
1663
|
"""
|
|
@@ -1664,7 +1665,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1664
1665
|
|
|
1665
1666
|
@property
|
|
1666
1667
|
@pulumi.getter(name="minMemoryGib")
|
|
1667
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
1668
|
+
def min_memory_gib(self) -> Optional[builtins.float]:
|
|
1668
1669
|
"""
|
|
1669
1670
|
Minimum amount of Memory (GiB).
|
|
1670
1671
|
"""
|
|
@@ -1672,7 +1673,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1672
1673
|
|
|
1673
1674
|
@property
|
|
1674
1675
|
@pulumi.getter(name="minNics")
|
|
1675
|
-
def min_nics(self) -> Optional[int]:
|
|
1676
|
+
def min_nics(self) -> Optional[builtins.int]:
|
|
1676
1677
|
"""
|
|
1677
1678
|
Minimum number of network interfaces.
|
|
1678
1679
|
"""
|
|
@@ -1680,7 +1681,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1680
1681
|
|
|
1681
1682
|
@property
|
|
1682
1683
|
@pulumi.getter(name="minVcpu")
|
|
1683
|
-
def min_vcpu(self) -> Optional[int]:
|
|
1684
|
+
def min_vcpu(self) -> Optional[builtins.int]:
|
|
1684
1685
|
"""
|
|
1685
1686
|
Minimum number of vcpus available.
|
|
1686
1687
|
"""
|
|
@@ -1688,7 +1689,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1688
1689
|
|
|
1689
1690
|
@property
|
|
1690
1691
|
@pulumi.getter
|
|
1691
|
-
def series(self) -> Optional[Sequence[str]]:
|
|
1692
|
+
def series(self) -> Optional[Sequence[builtins.str]]:
|
|
1692
1693
|
"""
|
|
1693
1694
|
Vm sizes belonging to a series from the list will be available for scaling.
|
|
1694
1695
|
"""
|
|
@@ -1696,7 +1697,7 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1696
1697
|
|
|
1697
1698
|
@property
|
|
1698
1699
|
@pulumi.getter(name="vmTypes")
|
|
1699
|
-
def vm_types(self) -> Optional[Sequence[str]]:
|
|
1700
|
+
def vm_types(self) -> Optional[Sequence[builtins.str]]:
|
|
1700
1701
|
"""
|
|
1701
1702
|
The filtered vm types will belong to one of the vm types from this list.
|
|
1702
1703
|
"""
|
|
@@ -1729,15 +1730,15 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1729
1730
|
return super().get(key, default)
|
|
1730
1731
|
|
|
1731
1732
|
def __init__(__self__, *,
|
|
1732
|
-
cpu_per_unit: Optional[int] = None,
|
|
1733
|
-
gpu_per_unit: Optional[int] = None,
|
|
1734
|
-
memory_per_unit: Optional[int] = None,
|
|
1735
|
-
num_of_units: Optional[int] = None):
|
|
1733
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
1734
|
+
gpu_per_unit: Optional[builtins.int] = None,
|
|
1735
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
1736
|
+
num_of_units: Optional[builtins.int] = None):
|
|
1736
1737
|
"""
|
|
1737
|
-
:param int cpu_per_unit: Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1738
|
-
:param int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
1739
|
-
:param int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
1740
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1738
|
+
:param builtins.int cpu_per_unit: Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1739
|
+
:param builtins.int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
1740
|
+
:param builtins.int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
1741
|
+
:param builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1741
1742
|
"""
|
|
1742
1743
|
if cpu_per_unit is not None:
|
|
1743
1744
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1750,7 +1751,7 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1750
1751
|
|
|
1751
1752
|
@property
|
|
1752
1753
|
@pulumi.getter(name="cpuPerUnit")
|
|
1753
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1754
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
1754
1755
|
"""
|
|
1755
1756
|
Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1756
1757
|
"""
|
|
@@ -1758,7 +1759,7 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1758
1759
|
|
|
1759
1760
|
@property
|
|
1760
1761
|
@pulumi.getter(name="gpuPerUnit")
|
|
1761
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
1762
|
+
def gpu_per_unit(self) -> Optional[builtins.int]:
|
|
1762
1763
|
"""
|
|
1763
1764
|
Amount of GPU to allocate for headroom unit.
|
|
1764
1765
|
"""
|
|
@@ -1766,7 +1767,7 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1766
1767
|
|
|
1767
1768
|
@property
|
|
1768
1769
|
@pulumi.getter(name="memoryPerUnit")
|
|
1769
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1770
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
1770
1771
|
"""
|
|
1771
1772
|
Configure the amount of memory (MiB) to allocate the headroom.
|
|
1772
1773
|
"""
|
|
@@ -1774,7 +1775,7 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1774
1775
|
|
|
1775
1776
|
@property
|
|
1776
1777
|
@pulumi.getter(name="numOfUnits")
|
|
1777
|
-
def num_of_units(self) -> Optional[int]:
|
|
1778
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
1778
1779
|
"""
|
|
1779
1780
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1780
1781
|
"""
|
|
@@ -1820,16 +1821,16 @@ class OceanNpVirtualNodeGroupLinuxOsConfigSysctl(dict):
|
|
|
1820
1821
|
return super().get(key, default)
|
|
1821
1822
|
|
|
1822
1823
|
def __init__(__self__, *,
|
|
1823
|
-
vm_max_map_count: Optional[int] = None):
|
|
1824
|
+
vm_max_map_count: Optional[builtins.int] = None):
|
|
1824
1825
|
"""
|
|
1825
|
-
:param int vm_max_map_count: Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
1826
|
+
:param builtins.int vm_max_map_count: Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
1826
1827
|
"""
|
|
1827
1828
|
if vm_max_map_count is not None:
|
|
1828
1829
|
pulumi.set(__self__, "vm_max_map_count", vm_max_map_count)
|
|
1829
1830
|
|
|
1830
1831
|
@property
|
|
1831
1832
|
@pulumi.getter(name="vmMaxMapCount")
|
|
1832
|
-
def vm_max_map_count(self) -> Optional[int]:
|
|
1833
|
+
def vm_max_map_count(self) -> Optional[builtins.int]:
|
|
1833
1834
|
"""
|
|
1834
1835
|
Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
1835
1836
|
"""
|
|
@@ -1894,11 +1895,11 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1894
1895
|
return super().get(key, default)
|
|
1895
1896
|
|
|
1896
1897
|
def __init__(__self__, *,
|
|
1897
|
-
is_enabled: Optional[bool] = None,
|
|
1898
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
1898
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
1899
|
+
time_windows: Optional[Sequence[builtins.str]] = None):
|
|
1899
1900
|
"""
|
|
1900
|
-
:param bool is_enabled: Flag to enable or disable the shutdown hours mechanism. When `false`, the mechanism is deactivated, and the virtual node gorup remains in its current state.
|
|
1901
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if isEnabled is true.
|
|
1901
|
+
:param builtins.bool is_enabled: Flag to enable or disable the shutdown hours mechanism. When `false`, the mechanism is deactivated, and the virtual node gorup remains in its current state.
|
|
1902
|
+
:param Sequence[builtins.str] time_windows: The times that the shutdown hours will apply. Required if isEnabled is true.
|
|
1902
1903
|
"""
|
|
1903
1904
|
if is_enabled is not None:
|
|
1904
1905
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -1907,7 +1908,7 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1907
1908
|
|
|
1908
1909
|
@property
|
|
1909
1910
|
@pulumi.getter(name="isEnabled")
|
|
1910
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1911
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1911
1912
|
"""
|
|
1912
1913
|
Flag to enable or disable the shutdown hours mechanism. When `false`, the mechanism is deactivated, and the virtual node gorup remains in its current state.
|
|
1913
1914
|
"""
|
|
@@ -1915,7 +1916,7 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1915
1916
|
|
|
1916
1917
|
@property
|
|
1917
1918
|
@pulumi.getter(name="timeWindows")
|
|
1918
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
1919
|
+
def time_windows(self) -> Optional[Sequence[builtins.str]]:
|
|
1919
1920
|
"""
|
|
1920
1921
|
The times that the shutdown hours will apply. Required if isEnabled is true.
|
|
1921
1922
|
"""
|
|
@@ -1925,13 +1926,13 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1925
1926
|
@pulumi.output_type
|
|
1926
1927
|
class OceanNpVirtualNodeGroupTaint(dict):
|
|
1927
1928
|
def __init__(__self__, *,
|
|
1928
|
-
effect: str,
|
|
1929
|
-
key: str,
|
|
1930
|
-
value: str):
|
|
1929
|
+
effect: builtins.str,
|
|
1930
|
+
key: builtins.str,
|
|
1931
|
+
value: builtins.str):
|
|
1931
1932
|
"""
|
|
1932
|
-
:param str effect: Set taint effect.
|
|
1933
|
-
:param str key: Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
1934
|
-
:param str value: Set taint value.
|
|
1933
|
+
:param builtins.str effect: Set taint effect.
|
|
1934
|
+
:param builtins.str key: Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
1935
|
+
:param builtins.str value: Set taint value.
|
|
1935
1936
|
"""
|
|
1936
1937
|
pulumi.set(__self__, "effect", effect)
|
|
1937
1938
|
pulumi.set(__self__, "key", key)
|
|
@@ -1939,7 +1940,7 @@ class OceanNpVirtualNodeGroupTaint(dict):
|
|
|
1939
1940
|
|
|
1940
1941
|
@property
|
|
1941
1942
|
@pulumi.getter
|
|
1942
|
-
def effect(self) -> str:
|
|
1943
|
+
def effect(self) -> builtins.str:
|
|
1943
1944
|
"""
|
|
1944
1945
|
Set taint effect.
|
|
1945
1946
|
"""
|
|
@@ -1947,7 +1948,7 @@ class OceanNpVirtualNodeGroupTaint(dict):
|
|
|
1947
1948
|
|
|
1948
1949
|
@property
|
|
1949
1950
|
@pulumi.getter
|
|
1950
|
-
def key(self) -> str:
|
|
1951
|
+
def key(self) -> builtins.str:
|
|
1951
1952
|
"""
|
|
1952
1953
|
Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
1953
1954
|
"""
|
|
@@ -1955,7 +1956,7 @@ class OceanNpVirtualNodeGroupTaint(dict):
|
|
|
1955
1956
|
|
|
1956
1957
|
@property
|
|
1957
1958
|
@pulumi.getter
|
|
1958
|
-
def value(self) -> str:
|
|
1959
|
+
def value(self) -> builtins.str:
|
|
1959
1960
|
"""
|
|
1960
1961
|
Set taint value.
|
|
1961
1962
|
"""
|
|
@@ -1986,12 +1987,12 @@ class OceanNpVirtualNodeGroupUpdatePolicy(dict):
|
|
|
1986
1987
|
return super().get(key, default)
|
|
1987
1988
|
|
|
1988
1989
|
def __init__(__self__, *,
|
|
1989
|
-
should_roll: bool,
|
|
1990
|
-
conditioned_roll: Optional[bool] = None,
|
|
1990
|
+
should_roll: builtins.bool,
|
|
1991
|
+
conditioned_roll: Optional[builtins.bool] = None,
|
|
1991
1992
|
roll_config: Optional['outputs.OceanNpVirtualNodeGroupUpdatePolicyRollConfig'] = None):
|
|
1992
1993
|
"""
|
|
1993
|
-
:param bool should_roll: If set to true along with the vng update, roll will be triggered.
|
|
1994
|
-
:param 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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
1994
|
+
:param builtins.bool should_roll: If set to true along with the vng update, roll will be triggered.
|
|
1995
|
+
: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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
1995
1996
|
:param 'OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs' roll_config: While used, you can control whether the group should perform a deployment after an update to the configuration.
|
|
1996
1997
|
"""
|
|
1997
1998
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -2002,7 +2003,7 @@ class OceanNpVirtualNodeGroupUpdatePolicy(dict):
|
|
|
2002
2003
|
|
|
2003
2004
|
@property
|
|
2004
2005
|
@pulumi.getter(name="shouldRoll")
|
|
2005
|
-
def should_roll(self) -> bool:
|
|
2006
|
+
def should_roll(self) -> builtins.bool:
|
|
2006
2007
|
"""
|
|
2007
2008
|
If set to true along with the vng update, roll will be triggered.
|
|
2008
2009
|
"""
|
|
@@ -2010,7 +2011,7 @@ class OceanNpVirtualNodeGroupUpdatePolicy(dict):
|
|
|
2010
2011
|
|
|
2011
2012
|
@property
|
|
2012
2013
|
@pulumi.getter(name="conditionedRoll")
|
|
2013
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
2014
|
+
def conditioned_roll(self) -> Optional[builtins.bool]:
|
|
2014
2015
|
"""
|
|
2015
2016
|
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 availability_zones, max_pods_per_node, enable_node_public_ip, os_disk_size_gb, os_disk_type, os_sku, kubernetes_version, vnet_subnet_ids, pod_subnet_ids, labels, taints and tags).
|
|
2016
2017
|
"""
|
|
@@ -2057,23 +2058,23 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2057
2058
|
return super().get(key, default)
|
|
2058
2059
|
|
|
2059
2060
|
def __init__(__self__, *,
|
|
2060
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
2061
|
-
batch_size_percentage: Optional[int] = None,
|
|
2062
|
-
comment: Optional[str] = None,
|
|
2063
|
-
node_names: Optional[Sequence[str]] = None,
|
|
2064
|
-
node_pool_names: Optional[Sequence[str]] = None,
|
|
2065
|
-
respect_pdb: Optional[bool] = None,
|
|
2066
|
-
respect_restrict_scale_down: Optional[bool] = None,
|
|
2067
|
-
vng_ids: Optional[Sequence[str]] = None):
|
|
2068
|
-
"""
|
|
2069
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
2070
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
2071
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2072
|
-
:param Sequence[str] node_names: List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
2073
|
-
:param Sequence[str] node_pool_names: List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
2074
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2075
|
-
:param bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
2076
|
-
:param Sequence[str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
2061
|
+
batch_min_healthy_percentage: Optional[builtins.int] = None,
|
|
2062
|
+
batch_size_percentage: Optional[builtins.int] = None,
|
|
2063
|
+
comment: Optional[builtins.str] = None,
|
|
2064
|
+
node_names: Optional[Sequence[builtins.str]] = None,
|
|
2065
|
+
node_pool_names: Optional[Sequence[builtins.str]] = None,
|
|
2066
|
+
respect_pdb: Optional[builtins.bool] = None,
|
|
2067
|
+
respect_restrict_scale_down: Optional[builtins.bool] = None,
|
|
2068
|
+
vng_ids: Optional[Sequence[builtins.str]] = None):
|
|
2069
|
+
"""
|
|
2070
|
+
:param builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
2071
|
+
: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. In case of null as value, the default value in the backend will be 20%.
|
|
2072
|
+
:param builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2073
|
+
:param Sequence[builtins.str] node_names: List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
2074
|
+
:param Sequence[builtins.str] node_pool_names: List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
2075
|
+
:param builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2076
|
+
:param builtins.bool respect_restrict_scale_down: During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
2077
|
+
:param Sequence[builtins.str] vng_ids: List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
2077
2078
|
"""
|
|
2078
2079
|
if batch_min_healthy_percentage is not None:
|
|
2079
2080
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -2094,7 +2095,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2094
2095
|
|
|
2095
2096
|
@property
|
|
2096
2097
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2097
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2098
|
+
def batch_min_healthy_percentage(self) -> Optional[builtins.int]:
|
|
2098
2099
|
"""
|
|
2099
2100
|
Indicates the threshold of minimum healthy nodes in single batch. If the amount of healthy nodes in single batch is under the threshold, the 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.
|
|
2100
2101
|
"""
|
|
@@ -2102,7 +2103,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2102
2103
|
|
|
2103
2104
|
@property
|
|
2104
2105
|
@pulumi.getter(name="batchSizePercentage")
|
|
2105
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
2106
|
+
def batch_size_percentage(self) -> Optional[builtins.int]:
|
|
2106
2107
|
"""
|
|
2107
2108
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100. In case of null as value, the default value in the backend will be 20%.
|
|
2108
2109
|
"""
|
|
@@ -2110,7 +2111,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2110
2111
|
|
|
2111
2112
|
@property
|
|
2112
2113
|
@pulumi.getter
|
|
2113
|
-
def comment(self) -> Optional[str]:
|
|
2114
|
+
def comment(self) -> Optional[builtins.str]:
|
|
2114
2115
|
"""
|
|
2115
2116
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2116
2117
|
"""
|
|
@@ -2118,7 +2119,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2118
2119
|
|
|
2119
2120
|
@property
|
|
2120
2121
|
@pulumi.getter(name="nodeNames")
|
|
2121
|
-
def node_names(self) -> Optional[Sequence[str]]:
|
|
2122
|
+
def node_names(self) -> Optional[Sequence[builtins.str]]:
|
|
2122
2123
|
"""
|
|
2123
2124
|
List of node names to be rolled. Each identifier is a string. nodeNames can be null, and cannot be used together with nodePoolNames and vngIds.
|
|
2124
2125
|
"""
|
|
@@ -2126,7 +2127,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2126
2127
|
|
|
2127
2128
|
@property
|
|
2128
2129
|
@pulumi.getter(name="nodePoolNames")
|
|
2129
|
-
def node_pool_names(self) -> Optional[Sequence[str]]:
|
|
2130
|
+
def node_pool_names(self) -> Optional[Sequence[builtins.str]]:
|
|
2130
2131
|
"""
|
|
2131
2132
|
List of node pools to be rolled. Each node pool name is a string. nodePoolNames can be null, and cannot be used together with nodeNames and vngIds.
|
|
2132
2133
|
"""
|
|
@@ -2134,7 +2135,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2134
2135
|
|
|
2135
2136
|
@property
|
|
2136
2137
|
@pulumi.getter(name="respectPdb")
|
|
2137
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2138
|
+
def respect_pdb(self) -> Optional[builtins.bool]:
|
|
2138
2139
|
"""
|
|
2139
2140
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2140
2141
|
"""
|
|
@@ -2142,7 +2143,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2142
2143
|
|
|
2143
2144
|
@property
|
|
2144
2145
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
2145
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
2146
|
+
def respect_restrict_scale_down(self) -> Optional[builtins.bool]:
|
|
2146
2147
|
"""
|
|
2147
2148
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
2148
2149
|
"""
|
|
@@ -2150,7 +2151,7 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2150
2151
|
|
|
2151
2152
|
@property
|
|
2152
2153
|
@pulumi.getter(name="vngIds")
|
|
2153
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
2154
|
+
def vng_ids(self) -> Optional[Sequence[builtins.str]]:
|
|
2154
2155
|
"""
|
|
2155
2156
|
List of virtual node group identifiers to be rolled. Each identifier is a string. vngIds can be null, and cannot be used together with nodeNames and nodePoolNames.
|
|
2156
2157
|
"""
|
|
@@ -2209,10 +2210,10 @@ class OceanNpVngTemplateSchedulingVngTemplateShutdownHours(dict):
|
|
|
2209
2210
|
return super().get(key, default)
|
|
2210
2211
|
|
|
2211
2212
|
def __init__(__self__, *,
|
|
2212
|
-
is_enabled: Optional[bool] = None,
|
|
2213
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
2213
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
2214
|
+
time_windows: Optional[Sequence[builtins.str]] = None):
|
|
2214
2215
|
"""
|
|
2215
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2216
|
+
:param Sequence[builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2216
2217
|
"""
|
|
2217
2218
|
if is_enabled is not None:
|
|
2218
2219
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -2221,12 +2222,12 @@ class OceanNpVngTemplateSchedulingVngTemplateShutdownHours(dict):
|
|
|
2221
2222
|
|
|
2222
2223
|
@property
|
|
2223
2224
|
@pulumi.getter(name="isEnabled")
|
|
2224
|
-
def is_enabled(self) -> Optional[bool]:
|
|
2225
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
2225
2226
|
return pulumi.get(self, "is_enabled")
|
|
2226
2227
|
|
|
2227
2228
|
@property
|
|
2228
2229
|
@pulumi.getter(name="timeWindows")
|
|
2229
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
2230
|
+
def time_windows(self) -> Optional[Sequence[builtins.str]]:
|
|
2230
2231
|
"""
|
|
2231
2232
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2232
2233
|
"""
|