pulumi-spotinst 3.112.0a1741317810__py3-none-any.whl → 3.128.0__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 +11 -1
- pulumi_spotinst/_inputs.py +2283 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +4047 -3607
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +970 -924
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +668 -526
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +439 -297
- pulumi_spotinst/aws/outputs.py +2697 -2363
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +288 -216
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1539 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +340 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/METADATA +4 -4
- pulumi_spotinst-3.128.0.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.112.0a1741317810.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.112.0a1741317810.dist-info → pulumi_spotinst-3.128.0.dist-info}/top_level.txt +0 -0
pulumi_spotinst/azure/outputs.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -81,12 +81,12 @@ class OceanNpAutoscaler(dict):
|
|
|
81
81
|
def __init__(__self__, *,
|
|
82
82
|
autoscale_down: Optional['outputs.OceanNpAutoscalerAutoscaleDown'] = None,
|
|
83
83
|
autoscale_headroom: Optional['outputs.OceanNpAutoscalerAutoscaleHeadroom'] = None,
|
|
84
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
84
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
85
85
|
resource_limits: Optional['outputs.OceanNpAutoscalerResourceLimits'] = None):
|
|
86
86
|
"""
|
|
87
87
|
:param 'OceanNpAutoscalerAutoscaleDownArgs' autoscale_down: Auto Scaling scale down operations.
|
|
88
88
|
: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.
|
|
89
|
+
:param _builtins.bool autoscale_is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
90
90
|
:param 'OceanNpAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
91
91
|
"""
|
|
92
92
|
if autoscale_down is not None:
|
|
@@ -98,7 +98,7 @@ class OceanNpAutoscaler(dict):
|
|
|
98
98
|
if resource_limits is not None:
|
|
99
99
|
pulumi.set(__self__, "resource_limits", resource_limits)
|
|
100
100
|
|
|
101
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
102
102
|
@pulumi.getter(name="autoscaleDown")
|
|
103
103
|
def autoscale_down(self) -> Optional['outputs.OceanNpAutoscalerAutoscaleDown']:
|
|
104
104
|
"""
|
|
@@ -106,7 +106,7 @@ class OceanNpAutoscaler(dict):
|
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "autoscale_down")
|
|
108
108
|
|
|
109
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
110
110
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
111
111
|
def autoscale_headroom(self) -> Optional['outputs.OceanNpAutoscalerAutoscaleHeadroom']:
|
|
112
112
|
"""
|
|
@@ -114,15 +114,15 @@ class OceanNpAutoscaler(dict):
|
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "autoscale_headroom")
|
|
116
116
|
|
|
117
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
118
118
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
119
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
119
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
120
120
|
"""
|
|
121
121
|
Enable the Ocean Kubernetes Autoscaler.
|
|
122
122
|
"""
|
|
123
123
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
124
124
|
|
|
125
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
126
126
|
@pulumi.getter(name="resourceLimits")
|
|
127
127
|
def resource_limits(self) -> Optional['outputs.OceanNpAutoscalerResourceLimits']:
|
|
128
128
|
"""
|
|
@@ -151,16 +151,16 @@ class OceanNpAutoscalerAutoscaleDown(dict):
|
|
|
151
151
|
return super().get(key, default)
|
|
152
152
|
|
|
153
153
|
def __init__(__self__, *,
|
|
154
|
-
max_scale_down_percentage: Optional[int] = None):
|
|
154
|
+
max_scale_down_percentage: Optional[_builtins.int] = None):
|
|
155
155
|
"""
|
|
156
|
-
:param int max_scale_down_percentage: The maximum percentage allowed to scale down in a single scaling action.
|
|
156
|
+
:param _builtins.int max_scale_down_percentage: The maximum percentage allowed to scale down in a single scaling action.
|
|
157
157
|
"""
|
|
158
158
|
if max_scale_down_percentage is not None:
|
|
159
159
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
160
160
|
|
|
161
|
-
@property
|
|
161
|
+
@_builtins.property
|
|
162
162
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
163
|
-
def max_scale_down_percentage(self) -> Optional[int]:
|
|
163
|
+
def max_scale_down_percentage(self) -> Optional[_builtins.int]:
|
|
164
164
|
"""
|
|
165
165
|
The maximum percentage allowed to scale down in a single scaling action.
|
|
166
166
|
"""
|
|
@@ -177,7 +177,7 @@ class OceanNpAutoscalerAutoscaleHeadroom(dict):
|
|
|
177
177
|
if automatic is not None:
|
|
178
178
|
pulumi.set(__self__, "automatic", automatic)
|
|
179
179
|
|
|
180
|
-
@property
|
|
180
|
+
@_builtins.property
|
|
181
181
|
@pulumi.getter
|
|
182
182
|
def automatic(self) -> Optional['outputs.OceanNpAutoscalerAutoscaleHeadroomAutomatic']:
|
|
183
183
|
"""
|
|
@@ -206,28 +206,28 @@ class OceanNpAutoscalerAutoscaleHeadroomAutomatic(dict):
|
|
|
206
206
|
return super().get(key, default)
|
|
207
207
|
|
|
208
208
|
def __init__(__self__, *,
|
|
209
|
-
is_enabled: Optional[bool] = None,
|
|
210
|
-
percentage: Optional[int] = None):
|
|
209
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
210
|
+
percentage: Optional[_builtins.int] = None):
|
|
211
211
|
"""
|
|
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.
|
|
212
|
+
:param _builtins.bool is_enabled: Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
213
|
+
:param _builtins.int percentage: Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
214
214
|
"""
|
|
215
215
|
if is_enabled is not None:
|
|
216
216
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
217
217
|
if percentage is not None:
|
|
218
218
|
pulumi.set(__self__, "percentage", percentage)
|
|
219
219
|
|
|
220
|
-
@property
|
|
220
|
+
@_builtins.property
|
|
221
221
|
@pulumi.getter(name="isEnabled")
|
|
222
|
-
def is_enabled(self) -> Optional[bool]:
|
|
222
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
223
223
|
"""
|
|
224
224
|
Enable automatic headroom. When set to `true`, Ocean configures and optimizes headroom automatically.
|
|
225
225
|
"""
|
|
226
226
|
return pulumi.get(self, "is_enabled")
|
|
227
227
|
|
|
228
|
-
@property
|
|
228
|
+
@_builtins.property
|
|
229
229
|
@pulumi.getter
|
|
230
|
-
def percentage(self) -> Optional[int]:
|
|
230
|
+
def percentage(self) -> Optional[_builtins.int]:
|
|
231
231
|
"""
|
|
232
232
|
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom.
|
|
233
233
|
"""
|
|
@@ -256,28 +256,28 @@ class OceanNpAutoscalerResourceLimits(dict):
|
|
|
256
256
|
return super().get(key, default)
|
|
257
257
|
|
|
258
258
|
def __init__(__self__, *,
|
|
259
|
-
max_memory_gib: Optional[int] = None,
|
|
260
|
-
max_vcpu: Optional[int] = None):
|
|
259
|
+
max_memory_gib: Optional[_builtins.int] = None,
|
|
260
|
+
max_vcpu: Optional[_builtins.int] = None):
|
|
261
261
|
"""
|
|
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.
|
|
262
|
+
:param _builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
263
|
+
:param _builtins.int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
264
264
|
"""
|
|
265
265
|
if max_memory_gib is not None:
|
|
266
266
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
267
267
|
if max_vcpu is not None:
|
|
268
268
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
269
269
|
|
|
270
|
-
@property
|
|
270
|
+
@_builtins.property
|
|
271
271
|
@pulumi.getter(name="maxMemoryGib")
|
|
272
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
272
|
+
def max_memory_gib(self) -> Optional[_builtins.int]:
|
|
273
273
|
"""
|
|
274
274
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
275
275
|
"""
|
|
276
276
|
return pulumi.get(self, "max_memory_gib")
|
|
277
277
|
|
|
278
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
279
279
|
@pulumi.getter(name="maxVcpu")
|
|
280
|
-
def max_vcpu(self) -> Optional[int]:
|
|
280
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
281
281
|
"""
|
|
282
282
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
283
283
|
"""
|
|
@@ -328,37 +328,37 @@ class OceanNpFilters(dict):
|
|
|
328
328
|
return super().get(key, default)
|
|
329
329
|
|
|
330
330
|
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.
|
|
331
|
+
accelerated_networking: Optional[_builtins.str] = None,
|
|
332
|
+
architectures: Optional[Sequence[_builtins.str]] = None,
|
|
333
|
+
disk_performance: Optional[_builtins.str] = None,
|
|
334
|
+
exclude_series: Optional[Sequence[_builtins.str]] = None,
|
|
335
|
+
gpu_types: Optional[Sequence[_builtins.str]] = None,
|
|
336
|
+
max_gpu: Optional[_builtins.float] = None,
|
|
337
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
338
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
339
|
+
min_disk: Optional[_builtins.int] = None,
|
|
340
|
+
min_gpu: Optional[_builtins.float] = None,
|
|
341
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
342
|
+
min_nics: Optional[_builtins.int] = None,
|
|
343
|
+
min_vcpu: Optional[_builtins.int] = None,
|
|
344
|
+
series: Optional[Sequence[_builtins.str]] = None,
|
|
345
|
+
vm_types: Optional[Sequence[_builtins.str]] = None):
|
|
346
|
+
"""
|
|
347
|
+
:param _builtins.str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
348
|
+
: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.
|
|
349
|
+
:param _builtins.str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
350
|
+
:param Sequence[_builtins.str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling
|
|
351
|
+
:param Sequence[_builtins.str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
352
|
+
:param _builtins.float max_gpu: Maximum number of GPUs available.
|
|
353
|
+
:param _builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
354
|
+
:param _builtins.int max_vcpu: Maximum number of vcpus available.
|
|
355
|
+
:param _builtins.int min_disk: Minimum number of data disks available.
|
|
356
|
+
:param _builtins.float min_gpu: Minimum number of GPUs available.
|
|
357
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
358
|
+
:param _builtins.int min_nics: Minimum number of network interfaces.
|
|
359
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
360
|
+
: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.
|
|
361
|
+
:param Sequence[_builtins.str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
362
362
|
"""
|
|
363
363
|
if accelerated_networking is not None:
|
|
364
364
|
pulumi.set(__self__, "accelerated_networking", accelerated_networking)
|
|
@@ -391,121 +391,121 @@ class OceanNpFilters(dict):
|
|
|
391
391
|
if vm_types is not None:
|
|
392
392
|
pulumi.set(__self__, "vm_types", vm_types)
|
|
393
393
|
|
|
394
|
-
@property
|
|
394
|
+
@_builtins.property
|
|
395
395
|
@pulumi.getter(name="acceleratedNetworking")
|
|
396
|
-
def accelerated_networking(self) -> Optional[str]:
|
|
396
|
+
def accelerated_networking(self) -> Optional[_builtins.str]:
|
|
397
397
|
"""
|
|
398
398
|
In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
399
399
|
"""
|
|
400
400
|
return pulumi.get(self, "accelerated_networking")
|
|
401
401
|
|
|
402
|
-
@property
|
|
402
|
+
@_builtins.property
|
|
403
403
|
@pulumi.getter
|
|
404
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
404
|
+
def architectures(self) -> Optional[Sequence[_builtins.str]]:
|
|
405
405
|
"""
|
|
406
406
|
The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
407
407
|
"""
|
|
408
408
|
return pulumi.get(self, "architectures")
|
|
409
409
|
|
|
410
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
411
411
|
@pulumi.getter(name="diskPerformance")
|
|
412
|
-
def disk_performance(self) -> Optional[str]:
|
|
412
|
+
def disk_performance(self) -> Optional[_builtins.str]:
|
|
413
413
|
"""
|
|
414
414
|
The filtered vm sizes will support at least one of the classes from this list.
|
|
415
415
|
"""
|
|
416
416
|
return pulumi.get(self, "disk_performance")
|
|
417
417
|
|
|
418
|
-
@property
|
|
418
|
+
@_builtins.property
|
|
419
419
|
@pulumi.getter(name="excludeSeries")
|
|
420
|
-
def exclude_series(self) -> Optional[Sequence[str]]:
|
|
420
|
+
def exclude_series(self) -> Optional[Sequence[_builtins.str]]:
|
|
421
421
|
"""
|
|
422
422
|
Vm sizes belonging to a series from the list will not be available for scaling
|
|
423
423
|
"""
|
|
424
424
|
return pulumi.get(self, "exclude_series")
|
|
425
425
|
|
|
426
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
427
427
|
@pulumi.getter(name="gpuTypes")
|
|
428
|
-
def gpu_types(self) -> Optional[Sequence[str]]:
|
|
428
|
+
def gpu_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
429
429
|
"""
|
|
430
430
|
The filtered gpu types will belong to one of the gpu types from this list.
|
|
431
431
|
"""
|
|
432
432
|
return pulumi.get(self, "gpu_types")
|
|
433
433
|
|
|
434
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
435
435
|
@pulumi.getter(name="maxGpu")
|
|
436
|
-
def max_gpu(self) -> Optional[float]:
|
|
436
|
+
def max_gpu(self) -> Optional[_builtins.float]:
|
|
437
437
|
"""
|
|
438
438
|
Maximum number of GPUs available.
|
|
439
439
|
"""
|
|
440
440
|
return pulumi.get(self, "max_gpu")
|
|
441
441
|
|
|
442
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
443
443
|
@pulumi.getter(name="maxMemoryGib")
|
|
444
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
444
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
445
445
|
"""
|
|
446
446
|
Maximum amount of Memory (GiB).
|
|
447
447
|
"""
|
|
448
448
|
return pulumi.get(self, "max_memory_gib")
|
|
449
449
|
|
|
450
|
-
@property
|
|
450
|
+
@_builtins.property
|
|
451
451
|
@pulumi.getter(name="maxVcpu")
|
|
452
|
-
def max_vcpu(self) -> Optional[int]:
|
|
452
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
453
453
|
"""
|
|
454
454
|
Maximum number of vcpus available.
|
|
455
455
|
"""
|
|
456
456
|
return pulumi.get(self, "max_vcpu")
|
|
457
457
|
|
|
458
|
-
@property
|
|
458
|
+
@_builtins.property
|
|
459
459
|
@pulumi.getter(name="minDisk")
|
|
460
|
-
def min_disk(self) -> Optional[int]:
|
|
460
|
+
def min_disk(self) -> Optional[_builtins.int]:
|
|
461
461
|
"""
|
|
462
462
|
Minimum number of data disks available.
|
|
463
463
|
"""
|
|
464
464
|
return pulumi.get(self, "min_disk")
|
|
465
465
|
|
|
466
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
467
467
|
@pulumi.getter(name="minGpu")
|
|
468
|
-
def min_gpu(self) -> Optional[float]:
|
|
468
|
+
def min_gpu(self) -> Optional[_builtins.float]:
|
|
469
469
|
"""
|
|
470
470
|
Minimum number of GPUs available.
|
|
471
471
|
"""
|
|
472
472
|
return pulumi.get(self, "min_gpu")
|
|
473
473
|
|
|
474
|
-
@property
|
|
474
|
+
@_builtins.property
|
|
475
475
|
@pulumi.getter(name="minMemoryGib")
|
|
476
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
476
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
477
477
|
"""
|
|
478
478
|
Minimum amount of Memory (GiB).
|
|
479
479
|
"""
|
|
480
480
|
return pulumi.get(self, "min_memory_gib")
|
|
481
481
|
|
|
482
|
-
@property
|
|
482
|
+
@_builtins.property
|
|
483
483
|
@pulumi.getter(name="minNics")
|
|
484
|
-
def min_nics(self) -> Optional[int]:
|
|
484
|
+
def min_nics(self) -> Optional[_builtins.int]:
|
|
485
485
|
"""
|
|
486
486
|
Minimum number of network interfaces.
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "min_nics")
|
|
489
489
|
|
|
490
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
491
491
|
@pulumi.getter(name="minVcpu")
|
|
492
|
-
def min_vcpu(self) -> Optional[int]:
|
|
492
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
493
493
|
"""
|
|
494
494
|
Minimum number of vcpus available.
|
|
495
495
|
"""
|
|
496
496
|
return pulumi.get(self, "min_vcpu")
|
|
497
497
|
|
|
498
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
499
499
|
@pulumi.getter
|
|
500
|
-
def series(self) -> Optional[Sequence[str]]:
|
|
500
|
+
def series(self) -> Optional[Sequence[_builtins.str]]:
|
|
501
501
|
"""
|
|
502
502
|
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
503
|
"""
|
|
504
504
|
return pulumi.get(self, "series")
|
|
505
505
|
|
|
506
|
-
@property
|
|
506
|
+
@_builtins.property
|
|
507
507
|
@pulumi.getter(name="vmTypes")
|
|
508
|
-
def vm_types(self) -> Optional[Sequence[str]]:
|
|
508
|
+
def vm_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
509
509
|
"""
|
|
510
510
|
The filtered vm types will belong to one of the vm types from this list.
|
|
511
511
|
"""
|
|
@@ -538,15 +538,15 @@ class OceanNpHeadroom(dict):
|
|
|
538
538
|
return super().get(key, default)
|
|
539
539
|
|
|
540
540
|
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):
|
|
541
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
542
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
543
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
544
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
545
545
|
"""
|
|
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.
|
|
546
|
+
: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.
|
|
547
|
+
:param _builtins.int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
548
|
+
:param _builtins.int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
549
|
+
: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
550
|
"""
|
|
551
551
|
if cpu_per_unit is not None:
|
|
552
552
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -557,33 +557,33 @@ class OceanNpHeadroom(dict):
|
|
|
557
557
|
if num_of_units is not None:
|
|
558
558
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
559
559
|
|
|
560
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
561
561
|
@pulumi.getter(name="cpuPerUnit")
|
|
562
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
562
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
563
563
|
"""
|
|
564
564
|
Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
565
565
|
"""
|
|
566
566
|
return pulumi.get(self, "cpu_per_unit")
|
|
567
567
|
|
|
568
|
-
@property
|
|
568
|
+
@_builtins.property
|
|
569
569
|
@pulumi.getter(name="gpuPerUnit")
|
|
570
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
570
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
571
571
|
"""
|
|
572
572
|
Amount of GPU to allocate for headroom unit.
|
|
573
573
|
"""
|
|
574
574
|
return pulumi.get(self, "gpu_per_unit")
|
|
575
575
|
|
|
576
|
-
@property
|
|
576
|
+
@_builtins.property
|
|
577
577
|
@pulumi.getter(name="memoryPerUnit")
|
|
578
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
578
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
579
579
|
"""
|
|
580
580
|
Configure the amount of memory (MiB) to allocate the headroom.
|
|
581
581
|
"""
|
|
582
582
|
return pulumi.get(self, "memory_per_unit")
|
|
583
583
|
|
|
584
|
-
@property
|
|
584
|
+
@_builtins.property
|
|
585
585
|
@pulumi.getter(name="numOfUnits")
|
|
586
|
-
def num_of_units(self) -> Optional[int]:
|
|
586
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
587
587
|
"""
|
|
588
588
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
589
589
|
"""
|
|
@@ -610,16 +610,16 @@ class OceanNpHealth(dict):
|
|
|
610
610
|
return super().get(key, default)
|
|
611
611
|
|
|
612
612
|
def __init__(__self__, *,
|
|
613
|
-
grace_period: Optional[int] = None):
|
|
613
|
+
grace_period: Optional[_builtins.int] = None):
|
|
614
614
|
"""
|
|
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.
|
|
615
|
+
: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
616
|
"""
|
|
617
617
|
if grace_period is not None:
|
|
618
618
|
pulumi.set(__self__, "grace_period", grace_period)
|
|
619
619
|
|
|
620
|
-
@property
|
|
620
|
+
@_builtins.property
|
|
621
621
|
@pulumi.getter(name="gracePeriod")
|
|
622
|
-
def grace_period(self) -> Optional[int]:
|
|
622
|
+
def grace_period(self) -> Optional[_builtins.int]:
|
|
623
623
|
"""
|
|
624
624
|
The amount of time to wait, in seconds, from the moment the instance has launched until monitoring of its health checks begins.
|
|
625
625
|
"""
|
|
@@ -636,7 +636,7 @@ class OceanNpLinuxOsConfig(dict):
|
|
|
636
636
|
if sysctls is not None:
|
|
637
637
|
pulumi.set(__self__, "sysctls", sysctls)
|
|
638
638
|
|
|
639
|
-
@property
|
|
639
|
+
@_builtins.property
|
|
640
640
|
@pulumi.getter
|
|
641
641
|
def sysctls(self) -> Optional[Sequence['outputs.OceanNpLinuxOsConfigSysctl']]:
|
|
642
642
|
"""
|
|
@@ -665,16 +665,16 @@ class OceanNpLinuxOsConfigSysctl(dict):
|
|
|
665
665
|
return super().get(key, default)
|
|
666
666
|
|
|
667
667
|
def __init__(__self__, *,
|
|
668
|
-
vm_max_map_count: Optional[int] = None):
|
|
668
|
+
vm_max_map_count: Optional[_builtins.int] = None):
|
|
669
669
|
"""
|
|
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.
|
|
670
|
+
: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
671
|
"""
|
|
672
672
|
if vm_max_map_count is not None:
|
|
673
673
|
pulumi.set(__self__, "vm_max_map_count", vm_max_map_count)
|
|
674
674
|
|
|
675
|
-
@property
|
|
675
|
+
@_builtins.property
|
|
676
676
|
@pulumi.getter(name="vmMaxMapCount")
|
|
677
|
-
def vm_max_map_count(self) -> Optional[int]:
|
|
677
|
+
def vm_max_map_count(self) -> Optional[_builtins.int]:
|
|
678
678
|
"""
|
|
679
679
|
Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
680
680
|
"""
|
|
@@ -691,7 +691,7 @@ class OceanNpLogging(dict):
|
|
|
691
691
|
if export is not None:
|
|
692
692
|
pulumi.set(__self__, "export", export)
|
|
693
693
|
|
|
694
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
695
695
|
@pulumi.getter
|
|
696
696
|
def export(self) -> Optional['outputs.OceanNpLoggingExport']:
|
|
697
697
|
"""
|
|
@@ -727,7 +727,7 @@ class OceanNpLoggingExport(dict):
|
|
|
727
727
|
if azure_blobs is not None:
|
|
728
728
|
pulumi.set(__self__, "azure_blobs", azure_blobs)
|
|
729
729
|
|
|
730
|
-
@property
|
|
730
|
+
@_builtins.property
|
|
731
731
|
@pulumi.getter(name="azureBlobs")
|
|
732
732
|
def azure_blobs(self) -> Optional[Sequence['outputs.OceanNpLoggingExportAzureBlob']]:
|
|
733
733
|
"""
|
|
@@ -739,16 +739,16 @@ class OceanNpLoggingExport(dict):
|
|
|
739
739
|
@pulumi.output_type
|
|
740
740
|
class OceanNpLoggingExportAzureBlob(dict):
|
|
741
741
|
def __init__(__self__, *,
|
|
742
|
-
id: Optional[str] = None):
|
|
742
|
+
id: Optional[_builtins.str] = None):
|
|
743
743
|
"""
|
|
744
|
-
:param str id: The identifier of The Azure Blob data integration to export the logs to.
|
|
744
|
+
:param _builtins.str id: The identifier of The Azure Blob data integration to export the logs to.
|
|
745
745
|
"""
|
|
746
746
|
if id is not None:
|
|
747
747
|
pulumi.set(__self__, "id", id)
|
|
748
748
|
|
|
749
|
-
@property
|
|
749
|
+
@_builtins.property
|
|
750
750
|
@pulumi.getter
|
|
751
|
-
def id(self) -> Optional[str]:
|
|
751
|
+
def id(self) -> Optional[_builtins.str]:
|
|
752
752
|
"""
|
|
753
753
|
The identifier of The Azure Blob data integration to export the logs to.
|
|
754
754
|
"""
|
|
@@ -790,7 +790,7 @@ class OceanNpScheduling(dict):
|
|
|
790
790
|
if tasks is not None:
|
|
791
791
|
pulumi.set(__self__, "tasks", tasks)
|
|
792
792
|
|
|
793
|
-
@property
|
|
793
|
+
@_builtins.property
|
|
794
794
|
@pulumi.getter(name="shutdownHours")
|
|
795
795
|
def shutdown_hours(self) -> Optional['outputs.OceanNpSchedulingShutdownHours']:
|
|
796
796
|
"""
|
|
@@ -798,12 +798,12 @@ class OceanNpScheduling(dict):
|
|
|
798
798
|
"""
|
|
799
799
|
return pulumi.get(self, "shutdown_hours")
|
|
800
800
|
|
|
801
|
-
@property
|
|
801
|
+
@_builtins.property
|
|
802
802
|
@pulumi.getter(name="suspensionHours")
|
|
803
803
|
def suspension_hours(self) -> Optional['outputs.OceanNpSchedulingSuspensionHours']:
|
|
804
804
|
return pulumi.get(self, "suspension_hours")
|
|
805
805
|
|
|
806
|
-
@property
|
|
806
|
+
@_builtins.property
|
|
807
807
|
@pulumi.getter
|
|
808
808
|
def tasks(self) -> Optional[Sequence['outputs.OceanNpSchedulingTask']]:
|
|
809
809
|
return pulumi.get(self, "tasks")
|
|
@@ -831,24 +831,24 @@ class OceanNpSchedulingShutdownHours(dict):
|
|
|
831
831
|
return super().get(key, default)
|
|
832
832
|
|
|
833
833
|
def __init__(__self__, *,
|
|
834
|
-
is_enabled: Optional[bool] = None,
|
|
835
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
834
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
835
|
+
time_windows: Optional[Sequence[_builtins.str]] = None):
|
|
836
836
|
"""
|
|
837
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
837
|
+
:param Sequence[_builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
838
838
|
"""
|
|
839
839
|
if is_enabled is not None:
|
|
840
840
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
841
841
|
if time_windows is not None:
|
|
842
842
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
843
843
|
|
|
844
|
-
@property
|
|
844
|
+
@_builtins.property
|
|
845
845
|
@pulumi.getter(name="isEnabled")
|
|
846
|
-
def is_enabled(self) -> Optional[bool]:
|
|
846
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
847
847
|
return pulumi.get(self, "is_enabled")
|
|
848
848
|
|
|
849
|
-
@property
|
|
849
|
+
@_builtins.property
|
|
850
850
|
@pulumi.getter(name="timeWindows")
|
|
851
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
851
|
+
def time_windows(self) -> Optional[Sequence[_builtins.str]]:
|
|
852
852
|
"""
|
|
853
853
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
854
854
|
"""
|
|
@@ -877,24 +877,24 @@ class OceanNpSchedulingSuspensionHours(dict):
|
|
|
877
877
|
return super().get(key, default)
|
|
878
878
|
|
|
879
879
|
def __init__(__self__, *,
|
|
880
|
-
is_enabled: Optional[bool] = None,
|
|
881
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
880
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
881
|
+
time_windows: Optional[Sequence[_builtins.str]] = None):
|
|
882
882
|
"""
|
|
883
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
883
|
+
:param Sequence[_builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
884
884
|
"""
|
|
885
885
|
if is_enabled is not None:
|
|
886
886
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
887
887
|
if time_windows is not None:
|
|
888
888
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
889
889
|
|
|
890
|
-
@property
|
|
890
|
+
@_builtins.property
|
|
891
891
|
@pulumi.getter(name="isEnabled")
|
|
892
|
-
def is_enabled(self) -> Optional[bool]:
|
|
892
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
893
893
|
return pulumi.get(self, "is_enabled")
|
|
894
894
|
|
|
895
|
-
@property
|
|
895
|
+
@_builtins.property
|
|
896
896
|
@pulumi.getter(name="timeWindows")
|
|
897
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
897
|
+
def time_windows(self) -> Optional[Sequence[_builtins.str]]:
|
|
898
898
|
"""
|
|
899
899
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
900
900
|
"""
|
|
@@ -925,9 +925,9 @@ class OceanNpSchedulingTask(dict):
|
|
|
925
925
|
return super().get(key, default)
|
|
926
926
|
|
|
927
927
|
def __init__(__self__, *,
|
|
928
|
-
cron_expression: str,
|
|
929
|
-
is_enabled: bool,
|
|
930
|
-
task_type: str,
|
|
928
|
+
cron_expression: _builtins.str,
|
|
929
|
+
is_enabled: _builtins.bool,
|
|
930
|
+
task_type: _builtins.str,
|
|
931
931
|
parameters: Optional['outputs.OceanNpSchedulingTaskParameters'] = None):
|
|
932
932
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
933
933
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
@@ -935,22 +935,22 @@ class OceanNpSchedulingTask(dict):
|
|
|
935
935
|
if parameters is not None:
|
|
936
936
|
pulumi.set(__self__, "parameters", parameters)
|
|
937
937
|
|
|
938
|
-
@property
|
|
938
|
+
@_builtins.property
|
|
939
939
|
@pulumi.getter(name="cronExpression")
|
|
940
|
-
def cron_expression(self) -> str:
|
|
940
|
+
def cron_expression(self) -> _builtins.str:
|
|
941
941
|
return pulumi.get(self, "cron_expression")
|
|
942
942
|
|
|
943
|
-
@property
|
|
943
|
+
@_builtins.property
|
|
944
944
|
@pulumi.getter(name="isEnabled")
|
|
945
|
-
def is_enabled(self) -> bool:
|
|
945
|
+
def is_enabled(self) -> _builtins.bool:
|
|
946
946
|
return pulumi.get(self, "is_enabled")
|
|
947
947
|
|
|
948
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
949
949
|
@pulumi.getter(name="taskType")
|
|
950
|
-
def task_type(self) -> str:
|
|
950
|
+
def task_type(self) -> _builtins.str:
|
|
951
951
|
return pulumi.get(self, "task_type")
|
|
952
952
|
|
|
953
|
-
@property
|
|
953
|
+
@_builtins.property
|
|
954
954
|
@pulumi.getter
|
|
955
955
|
def parameters(self) -> Optional['outputs.OceanNpSchedulingTaskParameters']:
|
|
956
956
|
return pulumi.get(self, "parameters")
|
|
@@ -985,12 +985,12 @@ class OceanNpSchedulingTaskParameters(dict):
|
|
|
985
985
|
if parameters_upgrade_config is not None:
|
|
986
986
|
pulumi.set(__self__, "parameters_upgrade_config", parameters_upgrade_config)
|
|
987
987
|
|
|
988
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
989
989
|
@pulumi.getter(name="parametersClusterRoll")
|
|
990
990
|
def parameters_cluster_roll(self) -> Optional['outputs.OceanNpSchedulingTaskParametersParametersClusterRoll']:
|
|
991
991
|
return pulumi.get(self, "parameters_cluster_roll")
|
|
992
992
|
|
|
993
|
-
@property
|
|
993
|
+
@_builtins.property
|
|
994
994
|
@pulumi.getter(name="parametersUpgradeConfig")
|
|
995
995
|
def parameters_upgrade_config(self) -> Optional['outputs.OceanNpSchedulingTaskParametersParametersUpgradeConfig']:
|
|
996
996
|
return pulumi.get(self, "parameters_upgrade_config")
|
|
@@ -1024,19 +1024,19 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1024
1024
|
return super().get(key, default)
|
|
1025
1025
|
|
|
1026
1026
|
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.
|
|
1027
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
1028
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
1029
|
+
comment: Optional[_builtins.str] = None,
|
|
1030
|
+
respect_pdb: Optional[_builtins.bool] = None,
|
|
1031
|
+
respect_restrict_scale_down: Optional[_builtins.bool] = None,
|
|
1032
|
+
vng_ids: Optional[Sequence[_builtins.str]] = None):
|
|
1033
|
+
"""
|
|
1034
|
+
: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.
|
|
1035
|
+
: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%.
|
|
1036
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1037
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1038
|
+
: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.
|
|
1039
|
+
: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
1040
|
"""
|
|
1041
1041
|
if batch_min_healthy_percentage is not None:
|
|
1042
1042
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1051,49 +1051,49 @@ class OceanNpSchedulingTaskParametersParametersClusterRoll(dict):
|
|
|
1051
1051
|
if vng_ids is not None:
|
|
1052
1052
|
pulumi.set(__self__, "vng_ids", vng_ids)
|
|
1053
1053
|
|
|
1054
|
-
@property
|
|
1054
|
+
@_builtins.property
|
|
1055
1055
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1056
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1056
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1057
1057
|
"""
|
|
1058
1058
|
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
1059
|
"""
|
|
1060
1060
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1061
1061
|
|
|
1062
|
-
@property
|
|
1062
|
+
@_builtins.property
|
|
1063
1063
|
@pulumi.getter(name="batchSizePercentage")
|
|
1064
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1064
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
1065
1065
|
"""
|
|
1066
1066
|
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
1067
|
"""
|
|
1068
1068
|
return pulumi.get(self, "batch_size_percentage")
|
|
1069
1069
|
|
|
1070
|
-
@property
|
|
1070
|
+
@_builtins.property
|
|
1071
1071
|
@pulumi.getter
|
|
1072
|
-
def comment(self) -> Optional[str]:
|
|
1072
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
1073
1073
|
"""
|
|
1074
1074
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1075
1075
|
"""
|
|
1076
1076
|
return pulumi.get(self, "comment")
|
|
1077
1077
|
|
|
1078
|
-
@property
|
|
1078
|
+
@_builtins.property
|
|
1079
1079
|
@pulumi.getter(name="respectPdb")
|
|
1080
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1080
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
1081
1081
|
"""
|
|
1082
1082
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1083
1083
|
"""
|
|
1084
1084
|
return pulumi.get(self, "respect_pdb")
|
|
1085
1085
|
|
|
1086
|
-
@property
|
|
1086
|
+
@_builtins.property
|
|
1087
1087
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1088
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1088
|
+
def respect_restrict_scale_down(self) -> Optional[_builtins.bool]:
|
|
1089
1089
|
"""
|
|
1090
1090
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1091
1091
|
"""
|
|
1092
1092
|
return pulumi.get(self, "respect_restrict_scale_down")
|
|
1093
1093
|
|
|
1094
|
-
@property
|
|
1094
|
+
@_builtins.property
|
|
1095
1095
|
@pulumi.getter(name="vngIds")
|
|
1096
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
1096
|
+
def vng_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
1097
1097
|
"""
|
|
1098
1098
|
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
1099
|
"""
|
|
@@ -1124,9 +1124,9 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfig(dict):
|
|
|
1124
1124
|
return super().get(key, default)
|
|
1125
1125
|
|
|
1126
1126
|
def __init__(__self__, *,
|
|
1127
|
-
apply_roll: Optional[bool] = None,
|
|
1127
|
+
apply_roll: Optional[_builtins.bool] = None,
|
|
1128
1128
|
roll_parameters: Optional['outputs.OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters'] = None,
|
|
1129
|
-
scope_version: Optional[str] = None):
|
|
1129
|
+
scope_version: Optional[_builtins.str] = None):
|
|
1130
1130
|
if apply_roll is not None:
|
|
1131
1131
|
pulumi.set(__self__, "apply_roll", apply_roll)
|
|
1132
1132
|
if roll_parameters is not None:
|
|
@@ -1134,19 +1134,19 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfig(dict):
|
|
|
1134
1134
|
if scope_version is not None:
|
|
1135
1135
|
pulumi.set(__self__, "scope_version", scope_version)
|
|
1136
1136
|
|
|
1137
|
-
@property
|
|
1137
|
+
@_builtins.property
|
|
1138
1138
|
@pulumi.getter(name="applyRoll")
|
|
1139
|
-
def apply_roll(self) -> Optional[bool]:
|
|
1139
|
+
def apply_roll(self) -> Optional[_builtins.bool]:
|
|
1140
1140
|
return pulumi.get(self, "apply_roll")
|
|
1141
1141
|
|
|
1142
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1143
1143
|
@pulumi.getter(name="rollParameters")
|
|
1144
1144
|
def roll_parameters(self) -> Optional['outputs.OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters']:
|
|
1145
1145
|
return pulumi.get(self, "roll_parameters")
|
|
1146
1146
|
|
|
1147
|
-
@property
|
|
1147
|
+
@_builtins.property
|
|
1148
1148
|
@pulumi.getter(name="scopeVersion")
|
|
1149
|
-
def scope_version(self) -> Optional[str]:
|
|
1149
|
+
def scope_version(self) -> Optional[_builtins.str]:
|
|
1150
1150
|
return pulumi.get(self, "scope_version")
|
|
1151
1151
|
|
|
1152
1152
|
|
|
@@ -1176,17 +1176,17 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1176
1176
|
return super().get(key, default)
|
|
1177
1177
|
|
|
1178
1178
|
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.
|
|
1179
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
1180
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
1181
|
+
comment: Optional[_builtins.str] = None,
|
|
1182
|
+
respect_pdb: Optional[_builtins.bool] = None,
|
|
1183
|
+
respect_restrict_scale_down: Optional[_builtins.bool] = None):
|
|
1184
|
+
"""
|
|
1185
|
+
: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.
|
|
1186
|
+
: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%.
|
|
1187
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1188
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1189
|
+
: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
1190
|
"""
|
|
1191
1191
|
if batch_min_healthy_percentage is not None:
|
|
1192
1192
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1199,41 +1199,41 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1199
1199
|
if respect_restrict_scale_down is not None:
|
|
1200
1200
|
pulumi.set(__self__, "respect_restrict_scale_down", respect_restrict_scale_down)
|
|
1201
1201
|
|
|
1202
|
-
@property
|
|
1202
|
+
@_builtins.property
|
|
1203
1203
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1204
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1204
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1205
1205
|
"""
|
|
1206
1206
|
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
1207
|
"""
|
|
1208
1208
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1209
1209
|
|
|
1210
|
-
@property
|
|
1210
|
+
@_builtins.property
|
|
1211
1211
|
@pulumi.getter(name="batchSizePercentage")
|
|
1212
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1212
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
1213
1213
|
"""
|
|
1214
1214
|
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
1215
|
"""
|
|
1216
1216
|
return pulumi.get(self, "batch_size_percentage")
|
|
1217
1217
|
|
|
1218
|
-
@property
|
|
1218
|
+
@_builtins.property
|
|
1219
1219
|
@pulumi.getter
|
|
1220
|
-
def comment(self) -> Optional[str]:
|
|
1220
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
1221
1221
|
"""
|
|
1222
1222
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1223
1223
|
"""
|
|
1224
1224
|
return pulumi.get(self, "comment")
|
|
1225
1225
|
|
|
1226
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1227
1227
|
@pulumi.getter(name="respectPdb")
|
|
1228
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1228
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
1229
1229
|
"""
|
|
1230
1230
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1231
1231
|
"""
|
|
1232
1232
|
return pulumi.get(self, "respect_pdb")
|
|
1233
1233
|
|
|
1234
|
-
@property
|
|
1234
|
+
@_builtins.property
|
|
1235
1235
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1236
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1236
|
+
def respect_restrict_scale_down(self) -> Optional[_builtins.bool]:
|
|
1237
1237
|
"""
|
|
1238
1238
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1239
1239
|
"""
|
|
@@ -1243,37 +1243,37 @@ class OceanNpSchedulingTaskParametersParametersUpgradeConfigRollParameters(dict)
|
|
|
1243
1243
|
@pulumi.output_type
|
|
1244
1244
|
class OceanNpTaint(dict):
|
|
1245
1245
|
def __init__(__self__, *,
|
|
1246
|
-
effect: str,
|
|
1247
|
-
key: str,
|
|
1248
|
-
value: str):
|
|
1246
|
+
effect: _builtins.str,
|
|
1247
|
+
key: _builtins.str,
|
|
1248
|
+
value: _builtins.str):
|
|
1249
1249
|
"""
|
|
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.
|
|
1250
|
+
:param _builtins.str effect: Set taint effect.
|
|
1251
|
+
: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"]
|
|
1252
|
+
:param _builtins.str value: Set taint value.
|
|
1253
1253
|
"""
|
|
1254
1254
|
pulumi.set(__self__, "effect", effect)
|
|
1255
1255
|
pulumi.set(__self__, "key", key)
|
|
1256
1256
|
pulumi.set(__self__, "value", value)
|
|
1257
1257
|
|
|
1258
|
-
@property
|
|
1258
|
+
@_builtins.property
|
|
1259
1259
|
@pulumi.getter
|
|
1260
|
-
def effect(self) -> str:
|
|
1260
|
+
def effect(self) -> _builtins.str:
|
|
1261
1261
|
"""
|
|
1262
1262
|
Set taint effect.
|
|
1263
1263
|
"""
|
|
1264
1264
|
return pulumi.get(self, "effect")
|
|
1265
1265
|
|
|
1266
|
-
@property
|
|
1266
|
+
@_builtins.property
|
|
1267
1267
|
@pulumi.getter
|
|
1268
|
-
def key(self) -> str:
|
|
1268
|
+
def key(self) -> _builtins.str:
|
|
1269
1269
|
"""
|
|
1270
1270
|
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
1271
|
"""
|
|
1272
1272
|
return pulumi.get(self, "key")
|
|
1273
1273
|
|
|
1274
|
-
@property
|
|
1274
|
+
@_builtins.property
|
|
1275
1275
|
@pulumi.getter
|
|
1276
|
-
def value(self) -> str:
|
|
1276
|
+
def value(self) -> _builtins.str:
|
|
1277
1277
|
"""
|
|
1278
1278
|
Set taint value.
|
|
1279
1279
|
"""
|
|
@@ -1304,12 +1304,12 @@ class OceanNpUpdatePolicy(dict):
|
|
|
1304
1304
|
return super().get(key, default)
|
|
1305
1305
|
|
|
1306
1306
|
def __init__(__self__, *,
|
|
1307
|
-
should_roll: bool,
|
|
1308
|
-
conditioned_roll: Optional[bool] = None,
|
|
1307
|
+
should_roll: _builtins.bool,
|
|
1308
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
1309
1309
|
roll_config: Optional['outputs.OceanNpUpdatePolicyRollConfig'] = None):
|
|
1310
1310
|
"""
|
|
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).
|
|
1311
|
+
:param _builtins.bool should_roll: If set to true along with the cluster update, roll will be triggered.
|
|
1312
|
+
: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
1313
|
:param 'OceanNpUpdatePolicyRollConfigArgs' roll_config: While used, you can control whether the group should perform a deployment after an update to the configuration.
|
|
1314
1314
|
"""
|
|
1315
1315
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -1318,23 +1318,23 @@ class OceanNpUpdatePolicy(dict):
|
|
|
1318
1318
|
if roll_config is not None:
|
|
1319
1319
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
1320
1320
|
|
|
1321
|
-
@property
|
|
1321
|
+
@_builtins.property
|
|
1322
1322
|
@pulumi.getter(name="shouldRoll")
|
|
1323
|
-
def should_roll(self) -> bool:
|
|
1323
|
+
def should_roll(self) -> _builtins.bool:
|
|
1324
1324
|
"""
|
|
1325
1325
|
If set to true along with the cluster update, roll will be triggered.
|
|
1326
1326
|
"""
|
|
1327
1327
|
return pulumi.get(self, "should_roll")
|
|
1328
1328
|
|
|
1329
|
-
@property
|
|
1329
|
+
@_builtins.property
|
|
1330
1330
|
@pulumi.getter(name="conditionedRoll")
|
|
1331
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
1331
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
1332
1332
|
"""
|
|
1333
1333
|
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
1334
|
"""
|
|
1335
1335
|
return pulumi.get(self, "conditioned_roll")
|
|
1336
1336
|
|
|
1337
|
-
@property
|
|
1337
|
+
@_builtins.property
|
|
1338
1338
|
@pulumi.getter(name="rollConfig")
|
|
1339
1339
|
def roll_config(self) -> Optional['outputs.OceanNpUpdatePolicyRollConfig']:
|
|
1340
1340
|
"""
|
|
@@ -1375,23 +1375,23 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1375
1375
|
return super().get(key, default)
|
|
1376
1376
|
|
|
1377
1377
|
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.
|
|
1378
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
1379
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
1380
|
+
comment: Optional[_builtins.str] = None,
|
|
1381
|
+
node_names: Optional[Sequence[_builtins.str]] = None,
|
|
1382
|
+
node_pool_names: Optional[Sequence[_builtins.str]] = None,
|
|
1383
|
+
respect_pdb: Optional[_builtins.bool] = None,
|
|
1384
|
+
respect_restrict_scale_down: Optional[_builtins.bool] = None,
|
|
1385
|
+
vng_ids: Optional[Sequence[_builtins.str]] = None):
|
|
1386
|
+
"""
|
|
1387
|
+
: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.
|
|
1388
|
+
: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%.
|
|
1389
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1390
|
+
: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.
|
|
1391
|
+
: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.
|
|
1392
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1393
|
+
: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.
|
|
1394
|
+
: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
1395
|
"""
|
|
1396
1396
|
if batch_min_healthy_percentage is not None:
|
|
1397
1397
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1410,65 +1410,65 @@ class OceanNpUpdatePolicyRollConfig(dict):
|
|
|
1410
1410
|
if vng_ids is not None:
|
|
1411
1411
|
pulumi.set(__self__, "vng_ids", vng_ids)
|
|
1412
1412
|
|
|
1413
|
-
@property
|
|
1413
|
+
@_builtins.property
|
|
1414
1414
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1415
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
1415
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1416
1416
|
"""
|
|
1417
1417
|
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
1418
|
"""
|
|
1419
1419
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1420
1420
|
|
|
1421
|
-
@property
|
|
1421
|
+
@_builtins.property
|
|
1422
1422
|
@pulumi.getter(name="batchSizePercentage")
|
|
1423
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
1423
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
1424
1424
|
"""
|
|
1425
1425
|
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
1426
|
"""
|
|
1427
1427
|
return pulumi.get(self, "batch_size_percentage")
|
|
1428
1428
|
|
|
1429
|
-
@property
|
|
1429
|
+
@_builtins.property
|
|
1430
1430
|
@pulumi.getter
|
|
1431
|
-
def comment(self) -> Optional[str]:
|
|
1431
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
1432
1432
|
"""
|
|
1433
1433
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
1434
1434
|
"""
|
|
1435
1435
|
return pulumi.get(self, "comment")
|
|
1436
1436
|
|
|
1437
|
-
@property
|
|
1437
|
+
@_builtins.property
|
|
1438
1438
|
@pulumi.getter(name="nodeNames")
|
|
1439
|
-
def node_names(self) -> Optional[Sequence[str]]:
|
|
1439
|
+
def node_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1440
1440
|
"""
|
|
1441
1441
|
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
1442
|
"""
|
|
1443
1443
|
return pulumi.get(self, "node_names")
|
|
1444
1444
|
|
|
1445
|
-
@property
|
|
1445
|
+
@_builtins.property
|
|
1446
1446
|
@pulumi.getter(name="nodePoolNames")
|
|
1447
|
-
def node_pool_names(self) -> Optional[Sequence[str]]:
|
|
1447
|
+
def node_pool_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
1448
1448
|
"""
|
|
1449
1449
|
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
1450
|
"""
|
|
1451
1451
|
return pulumi.get(self, "node_pool_names")
|
|
1452
1452
|
|
|
1453
|
-
@property
|
|
1453
|
+
@_builtins.property
|
|
1454
1454
|
@pulumi.getter(name="respectPdb")
|
|
1455
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
1455
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
1456
1456
|
"""
|
|
1457
1457
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
1458
1458
|
"""
|
|
1459
1459
|
return pulumi.get(self, "respect_pdb")
|
|
1460
1460
|
|
|
1461
|
-
@property
|
|
1461
|
+
@_builtins.property
|
|
1462
1462
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
1463
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
1463
|
+
def respect_restrict_scale_down(self) -> Optional[_builtins.bool]:
|
|
1464
1464
|
"""
|
|
1465
1465
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
1466
1466
|
"""
|
|
1467
1467
|
return pulumi.get(self, "respect_restrict_scale_down")
|
|
1468
1468
|
|
|
1469
|
-
@property
|
|
1469
|
+
@_builtins.property
|
|
1470
1470
|
@pulumi.getter(name="vngIds")
|
|
1471
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
1471
|
+
def vng_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
1472
1472
|
"""
|
|
1473
1473
|
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
1474
|
"""
|
|
@@ -1519,37 +1519,37 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1519
1519
|
return super().get(key, default)
|
|
1520
1520
|
|
|
1521
1521
|
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.
|
|
1522
|
+
accelerated_networking: Optional[_builtins.str] = None,
|
|
1523
|
+
architectures: Optional[Sequence[_builtins.str]] = None,
|
|
1524
|
+
disk_performance: Optional[_builtins.str] = None,
|
|
1525
|
+
exclude_series: Optional[Sequence[_builtins.str]] = None,
|
|
1526
|
+
gpu_types: Optional[Sequence[_builtins.str]] = None,
|
|
1527
|
+
max_gpu: Optional[_builtins.float] = None,
|
|
1528
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
1529
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
1530
|
+
min_disk: Optional[_builtins.int] = None,
|
|
1531
|
+
min_gpu: Optional[_builtins.float] = None,
|
|
1532
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
1533
|
+
min_nics: Optional[_builtins.int] = None,
|
|
1534
|
+
min_vcpu: Optional[_builtins.int] = None,
|
|
1535
|
+
series: Optional[Sequence[_builtins.str]] = None,
|
|
1536
|
+
vm_types: Optional[Sequence[_builtins.str]] = None):
|
|
1537
|
+
"""
|
|
1538
|
+
:param _builtins.str accelerated_networking: In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
1539
|
+
: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.
|
|
1540
|
+
:param _builtins.str disk_performance: The filtered vm sizes will support at least one of the classes from this list.
|
|
1541
|
+
:param Sequence[_builtins.str] exclude_series: Vm sizes belonging to a series from the list will not be available for scaling.
|
|
1542
|
+
:param Sequence[_builtins.str] gpu_types: The filtered gpu types will belong to one of the gpu types from this list.
|
|
1543
|
+
:param _builtins.float max_gpu: Maximum number of GPUs available.
|
|
1544
|
+
:param _builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1545
|
+
:param _builtins.int max_vcpu: Maximum number of vcpus available.
|
|
1546
|
+
:param _builtins.int min_disk: Minimum number of data disks available.
|
|
1547
|
+
:param _builtins.float min_gpu: Minimum number of GPUs available.
|
|
1548
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1549
|
+
:param _builtins.int min_nics: Minimum number of network interfaces.
|
|
1550
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
1551
|
+
:param Sequence[_builtins.str] series: Vm sizes belonging to a series from the list will be available for scaling.
|
|
1552
|
+
:param Sequence[_builtins.str] vm_types: The filtered vm types will belong to one of the vm types from this list.
|
|
1553
1553
|
"""
|
|
1554
1554
|
if accelerated_networking is not None:
|
|
1555
1555
|
pulumi.set(__self__, "accelerated_networking", accelerated_networking)
|
|
@@ -1582,121 +1582,121 @@ class OceanNpVirtualNodeGroupFilters(dict):
|
|
|
1582
1582
|
if vm_types is not None:
|
|
1583
1583
|
pulumi.set(__self__, "vm_types", vm_types)
|
|
1584
1584
|
|
|
1585
|
-
@property
|
|
1585
|
+
@_builtins.property
|
|
1586
1586
|
@pulumi.getter(name="acceleratedNetworking")
|
|
1587
|
-
def accelerated_networking(self) -> Optional[str]:
|
|
1587
|
+
def accelerated_networking(self) -> Optional[_builtins.str]:
|
|
1588
1588
|
"""
|
|
1589
1589
|
In case acceleratedNetworking is set to Enabled, accelerated networking applies only to the VM that enables it.
|
|
1590
1590
|
"""
|
|
1591
1591
|
return pulumi.get(self, "accelerated_networking")
|
|
1592
1592
|
|
|
1593
|
-
@property
|
|
1593
|
+
@_builtins.property
|
|
1594
1594
|
@pulumi.getter
|
|
1595
|
-
def architectures(self) -> Optional[Sequence[str]]:
|
|
1595
|
+
def architectures(self) -> Optional[Sequence[_builtins.str]]:
|
|
1596
1596
|
"""
|
|
1597
1597
|
The filtered vm sizes will support at least one of the architectures from this list. x86_64 includes both intel64 and amd64.
|
|
1598
1598
|
"""
|
|
1599
1599
|
return pulumi.get(self, "architectures")
|
|
1600
1600
|
|
|
1601
|
-
@property
|
|
1601
|
+
@_builtins.property
|
|
1602
1602
|
@pulumi.getter(name="diskPerformance")
|
|
1603
|
-
def disk_performance(self) -> Optional[str]:
|
|
1603
|
+
def disk_performance(self) -> Optional[_builtins.str]:
|
|
1604
1604
|
"""
|
|
1605
1605
|
The filtered vm sizes will support at least one of the classes from this list.
|
|
1606
1606
|
"""
|
|
1607
1607
|
return pulumi.get(self, "disk_performance")
|
|
1608
1608
|
|
|
1609
|
-
@property
|
|
1609
|
+
@_builtins.property
|
|
1610
1610
|
@pulumi.getter(name="excludeSeries")
|
|
1611
|
-
def exclude_series(self) -> Optional[Sequence[str]]:
|
|
1611
|
+
def exclude_series(self) -> Optional[Sequence[_builtins.str]]:
|
|
1612
1612
|
"""
|
|
1613
1613
|
Vm sizes belonging to a series from the list will not be available for scaling.
|
|
1614
1614
|
"""
|
|
1615
1615
|
return pulumi.get(self, "exclude_series")
|
|
1616
1616
|
|
|
1617
|
-
@property
|
|
1617
|
+
@_builtins.property
|
|
1618
1618
|
@pulumi.getter(name="gpuTypes")
|
|
1619
|
-
def gpu_types(self) -> Optional[Sequence[str]]:
|
|
1619
|
+
def gpu_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
1620
1620
|
"""
|
|
1621
1621
|
The filtered gpu types will belong to one of the gpu types from this list.
|
|
1622
1622
|
"""
|
|
1623
1623
|
return pulumi.get(self, "gpu_types")
|
|
1624
1624
|
|
|
1625
|
-
@property
|
|
1625
|
+
@_builtins.property
|
|
1626
1626
|
@pulumi.getter(name="maxGpu")
|
|
1627
|
-
def max_gpu(self) -> Optional[float]:
|
|
1627
|
+
def max_gpu(self) -> Optional[_builtins.float]:
|
|
1628
1628
|
"""
|
|
1629
1629
|
Maximum number of GPUs available.
|
|
1630
1630
|
"""
|
|
1631
1631
|
return pulumi.get(self, "max_gpu")
|
|
1632
1632
|
|
|
1633
|
-
@property
|
|
1633
|
+
@_builtins.property
|
|
1634
1634
|
@pulumi.getter(name="maxMemoryGib")
|
|
1635
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
1635
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
1636
1636
|
"""
|
|
1637
1637
|
Maximum amount of Memory (GiB).
|
|
1638
1638
|
"""
|
|
1639
1639
|
return pulumi.get(self, "max_memory_gib")
|
|
1640
1640
|
|
|
1641
|
-
@property
|
|
1641
|
+
@_builtins.property
|
|
1642
1642
|
@pulumi.getter(name="maxVcpu")
|
|
1643
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1643
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1644
1644
|
"""
|
|
1645
1645
|
Maximum number of vcpus available.
|
|
1646
1646
|
"""
|
|
1647
1647
|
return pulumi.get(self, "max_vcpu")
|
|
1648
1648
|
|
|
1649
|
-
@property
|
|
1649
|
+
@_builtins.property
|
|
1650
1650
|
@pulumi.getter(name="minDisk")
|
|
1651
|
-
def min_disk(self) -> Optional[int]:
|
|
1651
|
+
def min_disk(self) -> Optional[_builtins.int]:
|
|
1652
1652
|
"""
|
|
1653
1653
|
Minimum number of data disks available.
|
|
1654
1654
|
"""
|
|
1655
1655
|
return pulumi.get(self, "min_disk")
|
|
1656
1656
|
|
|
1657
|
-
@property
|
|
1657
|
+
@_builtins.property
|
|
1658
1658
|
@pulumi.getter(name="minGpu")
|
|
1659
|
-
def min_gpu(self) -> Optional[float]:
|
|
1659
|
+
def min_gpu(self) -> Optional[_builtins.float]:
|
|
1660
1660
|
"""
|
|
1661
1661
|
Minimum number of GPUs available.
|
|
1662
1662
|
"""
|
|
1663
1663
|
return pulumi.get(self, "min_gpu")
|
|
1664
1664
|
|
|
1665
|
-
@property
|
|
1665
|
+
@_builtins.property
|
|
1666
1666
|
@pulumi.getter(name="minMemoryGib")
|
|
1667
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
1667
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
1668
1668
|
"""
|
|
1669
1669
|
Minimum amount of Memory (GiB).
|
|
1670
1670
|
"""
|
|
1671
1671
|
return pulumi.get(self, "min_memory_gib")
|
|
1672
1672
|
|
|
1673
|
-
@property
|
|
1673
|
+
@_builtins.property
|
|
1674
1674
|
@pulumi.getter(name="minNics")
|
|
1675
|
-
def min_nics(self) -> Optional[int]:
|
|
1675
|
+
def min_nics(self) -> Optional[_builtins.int]:
|
|
1676
1676
|
"""
|
|
1677
1677
|
Minimum number of network interfaces.
|
|
1678
1678
|
"""
|
|
1679
1679
|
return pulumi.get(self, "min_nics")
|
|
1680
1680
|
|
|
1681
|
-
@property
|
|
1681
|
+
@_builtins.property
|
|
1682
1682
|
@pulumi.getter(name="minVcpu")
|
|
1683
|
-
def min_vcpu(self) -> Optional[int]:
|
|
1683
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
1684
1684
|
"""
|
|
1685
1685
|
Minimum number of vcpus available.
|
|
1686
1686
|
"""
|
|
1687
1687
|
return pulumi.get(self, "min_vcpu")
|
|
1688
1688
|
|
|
1689
|
-
@property
|
|
1689
|
+
@_builtins.property
|
|
1690
1690
|
@pulumi.getter
|
|
1691
|
-
def series(self) -> Optional[Sequence[str]]:
|
|
1691
|
+
def series(self) -> Optional[Sequence[_builtins.str]]:
|
|
1692
1692
|
"""
|
|
1693
1693
|
Vm sizes belonging to a series from the list will be available for scaling.
|
|
1694
1694
|
"""
|
|
1695
1695
|
return pulumi.get(self, "series")
|
|
1696
1696
|
|
|
1697
|
-
@property
|
|
1697
|
+
@_builtins.property
|
|
1698
1698
|
@pulumi.getter(name="vmTypes")
|
|
1699
|
-
def vm_types(self) -> Optional[Sequence[str]]:
|
|
1699
|
+
def vm_types(self) -> Optional[Sequence[_builtins.str]]:
|
|
1700
1700
|
"""
|
|
1701
1701
|
The filtered vm types will belong to one of the vm types from this list.
|
|
1702
1702
|
"""
|
|
@@ -1729,15 +1729,15 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1729
1729
|
return super().get(key, default)
|
|
1730
1730
|
|
|
1731
1731
|
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):
|
|
1732
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
1733
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
1734
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
1735
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
1736
1736
|
"""
|
|
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.
|
|
1737
|
+
: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.
|
|
1738
|
+
:param _builtins.int gpu_per_unit: Amount of GPU to allocate for headroom unit.
|
|
1739
|
+
:param _builtins.int memory_per_unit: Configure the amount of memory (MiB) to allocate the headroom.
|
|
1740
|
+
: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
1741
|
"""
|
|
1742
1742
|
if cpu_per_unit is not None:
|
|
1743
1743
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1748,33 +1748,33 @@ class OceanNpVirtualNodeGroupHeadroom(dict):
|
|
|
1748
1748
|
if num_of_units is not None:
|
|
1749
1749
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1750
1750
|
|
|
1751
|
-
@property
|
|
1751
|
+
@_builtins.property
|
|
1752
1752
|
@pulumi.getter(name="cpuPerUnit")
|
|
1753
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1753
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1754
1754
|
"""
|
|
1755
1755
|
Configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1756
1756
|
"""
|
|
1757
1757
|
return pulumi.get(self, "cpu_per_unit")
|
|
1758
1758
|
|
|
1759
|
-
@property
|
|
1759
|
+
@_builtins.property
|
|
1760
1760
|
@pulumi.getter(name="gpuPerUnit")
|
|
1761
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
1761
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1762
1762
|
"""
|
|
1763
1763
|
Amount of GPU to allocate for headroom unit.
|
|
1764
1764
|
"""
|
|
1765
1765
|
return pulumi.get(self, "gpu_per_unit")
|
|
1766
1766
|
|
|
1767
|
-
@property
|
|
1767
|
+
@_builtins.property
|
|
1768
1768
|
@pulumi.getter(name="memoryPerUnit")
|
|
1769
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1769
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
1770
1770
|
"""
|
|
1771
1771
|
Configure the amount of memory (MiB) to allocate the headroom.
|
|
1772
1772
|
"""
|
|
1773
1773
|
return pulumi.get(self, "memory_per_unit")
|
|
1774
1774
|
|
|
1775
|
-
@property
|
|
1775
|
+
@_builtins.property
|
|
1776
1776
|
@pulumi.getter(name="numOfUnits")
|
|
1777
|
-
def num_of_units(self) -> Optional[int]:
|
|
1777
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
1778
1778
|
"""
|
|
1779
1779
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1780
1780
|
"""
|
|
@@ -1791,7 +1791,7 @@ class OceanNpVirtualNodeGroupLinuxOsConfig(dict):
|
|
|
1791
1791
|
if sysctls is not None:
|
|
1792
1792
|
pulumi.set(__self__, "sysctls", sysctls)
|
|
1793
1793
|
|
|
1794
|
-
@property
|
|
1794
|
+
@_builtins.property
|
|
1795
1795
|
@pulumi.getter
|
|
1796
1796
|
def sysctls(self) -> Optional[Sequence['outputs.OceanNpVirtualNodeGroupLinuxOsConfigSysctl']]:
|
|
1797
1797
|
"""
|
|
@@ -1820,16 +1820,16 @@ class OceanNpVirtualNodeGroupLinuxOsConfigSysctl(dict):
|
|
|
1820
1820
|
return super().get(key, default)
|
|
1821
1821
|
|
|
1822
1822
|
def __init__(__self__, *,
|
|
1823
|
-
vm_max_map_count: Optional[int] = None):
|
|
1823
|
+
vm_max_map_count: Optional[_builtins.int] = None):
|
|
1824
1824
|
"""
|
|
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.
|
|
1825
|
+
: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
1826
|
"""
|
|
1827
1827
|
if vm_max_map_count is not None:
|
|
1828
1828
|
pulumi.set(__self__, "vm_max_map_count", vm_max_map_count)
|
|
1829
1829
|
|
|
1830
|
-
@property
|
|
1830
|
+
@_builtins.property
|
|
1831
1831
|
@pulumi.getter(name="vmMaxMapCount")
|
|
1832
|
-
def vm_max_map_count(self) -> Optional[int]:
|
|
1832
|
+
def vm_max_map_count(self) -> Optional[_builtins.int]:
|
|
1833
1833
|
"""
|
|
1834
1834
|
Maximum number of memory map areas a process may have. Can be configured only if OS type is Linux.
|
|
1835
1835
|
"""
|
|
@@ -1863,7 +1863,7 @@ class OceanNpVirtualNodeGroupScheduling(dict):
|
|
|
1863
1863
|
if shutdown_hours is not None:
|
|
1864
1864
|
pulumi.set(__self__, "shutdown_hours", shutdown_hours)
|
|
1865
1865
|
|
|
1866
|
-
@property
|
|
1866
|
+
@_builtins.property
|
|
1867
1867
|
@pulumi.getter(name="shutdownHours")
|
|
1868
1868
|
def shutdown_hours(self) -> Optional['outputs.OceanNpVirtualNodeGroupSchedulingShutdownHours']:
|
|
1869
1869
|
"""
|
|
@@ -1894,28 +1894,28 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1894
1894
|
return super().get(key, default)
|
|
1895
1895
|
|
|
1896
1896
|
def __init__(__self__, *,
|
|
1897
|
-
is_enabled: Optional[bool] = None,
|
|
1898
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
1897
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
1898
|
+
time_windows: Optional[Sequence[_builtins.str]] = None):
|
|
1899
1899
|
"""
|
|
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.
|
|
1900
|
+
: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.
|
|
1901
|
+
:param Sequence[_builtins.str] time_windows: The times that the shutdown hours will apply. Required if isEnabled is true.
|
|
1902
1902
|
"""
|
|
1903
1903
|
if is_enabled is not None:
|
|
1904
1904
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1905
1905
|
if time_windows is not None:
|
|
1906
1906
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1907
1907
|
|
|
1908
|
-
@property
|
|
1908
|
+
@_builtins.property
|
|
1909
1909
|
@pulumi.getter(name="isEnabled")
|
|
1910
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1910
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1911
1911
|
"""
|
|
1912
1912
|
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
1913
|
"""
|
|
1914
1914
|
return pulumi.get(self, "is_enabled")
|
|
1915
1915
|
|
|
1916
|
-
@property
|
|
1916
|
+
@_builtins.property
|
|
1917
1917
|
@pulumi.getter(name="timeWindows")
|
|
1918
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
1918
|
+
def time_windows(self) -> Optional[Sequence[_builtins.str]]:
|
|
1919
1919
|
"""
|
|
1920
1920
|
The times that the shutdown hours will apply. Required if isEnabled is true.
|
|
1921
1921
|
"""
|
|
@@ -1925,37 +1925,37 @@ class OceanNpVirtualNodeGroupSchedulingShutdownHours(dict):
|
|
|
1925
1925
|
@pulumi.output_type
|
|
1926
1926
|
class OceanNpVirtualNodeGroupTaint(dict):
|
|
1927
1927
|
def __init__(__self__, *,
|
|
1928
|
-
effect: str,
|
|
1929
|
-
key: str,
|
|
1930
|
-
value: str):
|
|
1928
|
+
effect: _builtins.str,
|
|
1929
|
+
key: _builtins.str,
|
|
1930
|
+
value: _builtins.str):
|
|
1931
1931
|
"""
|
|
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.
|
|
1932
|
+
:param _builtins.str effect: Set taint effect.
|
|
1933
|
+
:param _builtins.str key: Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
1934
|
+
:param _builtins.str value: Set taint value.
|
|
1935
1935
|
"""
|
|
1936
1936
|
pulumi.set(__self__, "effect", effect)
|
|
1937
1937
|
pulumi.set(__self__, "key", key)
|
|
1938
1938
|
pulumi.set(__self__, "value", value)
|
|
1939
1939
|
|
|
1940
|
-
@property
|
|
1940
|
+
@_builtins.property
|
|
1941
1941
|
@pulumi.getter
|
|
1942
|
-
def effect(self) -> str:
|
|
1942
|
+
def effect(self) -> _builtins.str:
|
|
1943
1943
|
"""
|
|
1944
1944
|
Set taint effect.
|
|
1945
1945
|
"""
|
|
1946
1946
|
return pulumi.get(self, "effect")
|
|
1947
1947
|
|
|
1948
|
-
@property
|
|
1948
|
+
@_builtins.property
|
|
1949
1949
|
@pulumi.getter
|
|
1950
|
-
def key(self) -> str:
|
|
1950
|
+
def key(self) -> _builtins.str:
|
|
1951
1951
|
"""
|
|
1952
1952
|
Set taint key. The following are not allowed: "kubernetes.azure.com/scalesetpriority".
|
|
1953
1953
|
"""
|
|
1954
1954
|
return pulumi.get(self, "key")
|
|
1955
1955
|
|
|
1956
|
-
@property
|
|
1956
|
+
@_builtins.property
|
|
1957
1957
|
@pulumi.getter
|
|
1958
|
-
def value(self) -> str:
|
|
1958
|
+
def value(self) -> _builtins.str:
|
|
1959
1959
|
"""
|
|
1960
1960
|
Set taint value.
|
|
1961
1961
|
"""
|
|
@@ -1986,12 +1986,12 @@ class OceanNpVirtualNodeGroupUpdatePolicy(dict):
|
|
|
1986
1986
|
return super().get(key, default)
|
|
1987
1987
|
|
|
1988
1988
|
def __init__(__self__, *,
|
|
1989
|
-
should_roll: bool,
|
|
1990
|
-
conditioned_roll: Optional[bool] = None,
|
|
1989
|
+
should_roll: _builtins.bool,
|
|
1990
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
1991
1991
|
roll_config: Optional['outputs.OceanNpVirtualNodeGroupUpdatePolicyRollConfig'] = None):
|
|
1992
1992
|
"""
|
|
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).
|
|
1993
|
+
:param _builtins.bool should_roll: If set to true along with the vng update, roll will be triggered.
|
|
1994
|
+
: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
1995
|
:param 'OceanNpVirtualNodeGroupUpdatePolicyRollConfigArgs' roll_config: While used, you can control whether the group should perform a deployment after an update to the configuration.
|
|
1996
1996
|
"""
|
|
1997
1997
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -2000,23 +2000,23 @@ class OceanNpVirtualNodeGroupUpdatePolicy(dict):
|
|
|
2000
2000
|
if roll_config is not None:
|
|
2001
2001
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
2002
2002
|
|
|
2003
|
-
@property
|
|
2003
|
+
@_builtins.property
|
|
2004
2004
|
@pulumi.getter(name="shouldRoll")
|
|
2005
|
-
def should_roll(self) -> bool:
|
|
2005
|
+
def should_roll(self) -> _builtins.bool:
|
|
2006
2006
|
"""
|
|
2007
2007
|
If set to true along with the vng update, roll will be triggered.
|
|
2008
2008
|
"""
|
|
2009
2009
|
return pulumi.get(self, "should_roll")
|
|
2010
2010
|
|
|
2011
|
-
@property
|
|
2011
|
+
@_builtins.property
|
|
2012
2012
|
@pulumi.getter(name="conditionedRoll")
|
|
2013
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
2013
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
2014
2014
|
"""
|
|
2015
2015
|
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
2016
|
"""
|
|
2017
2017
|
return pulumi.get(self, "conditioned_roll")
|
|
2018
2018
|
|
|
2019
|
-
@property
|
|
2019
|
+
@_builtins.property
|
|
2020
2020
|
@pulumi.getter(name="rollConfig")
|
|
2021
2021
|
def roll_config(self) -> Optional['outputs.OceanNpVirtualNodeGroupUpdatePolicyRollConfig']:
|
|
2022
2022
|
"""
|
|
@@ -2057,23 +2057,23 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2057
2057
|
return super().get(key, default)
|
|
2058
2058
|
|
|
2059
2059
|
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.
|
|
2060
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
2061
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
2062
|
+
comment: Optional[_builtins.str] = None,
|
|
2063
|
+
node_names: Optional[Sequence[_builtins.str]] = None,
|
|
2064
|
+
node_pool_names: Optional[Sequence[_builtins.str]] = None,
|
|
2065
|
+
respect_pdb: Optional[_builtins.bool] = None,
|
|
2066
|
+
respect_restrict_scale_down: Optional[_builtins.bool] = None,
|
|
2067
|
+
vng_ids: Optional[Sequence[_builtins.str]] = None):
|
|
2068
|
+
"""
|
|
2069
|
+
: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.
|
|
2070
|
+
: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%.
|
|
2071
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2072
|
+
: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.
|
|
2073
|
+
: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.
|
|
2074
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2075
|
+
: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.
|
|
2076
|
+
: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
2077
|
"""
|
|
2078
2078
|
if batch_min_healthy_percentage is not None:
|
|
2079
2079
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -2092,65 +2092,65 @@ class OceanNpVirtualNodeGroupUpdatePolicyRollConfig(dict):
|
|
|
2092
2092
|
if vng_ids is not None:
|
|
2093
2093
|
pulumi.set(__self__, "vng_ids", vng_ids)
|
|
2094
2094
|
|
|
2095
|
-
@property
|
|
2095
|
+
@_builtins.property
|
|
2096
2096
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2097
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2097
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
2098
2098
|
"""
|
|
2099
2099
|
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
2100
|
"""
|
|
2101
2101
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2102
2102
|
|
|
2103
|
-
@property
|
|
2103
|
+
@_builtins.property
|
|
2104
2104
|
@pulumi.getter(name="batchSizePercentage")
|
|
2105
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
2105
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
2106
2106
|
"""
|
|
2107
2107
|
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
2108
|
"""
|
|
2109
2109
|
return pulumi.get(self, "batch_size_percentage")
|
|
2110
2110
|
|
|
2111
|
-
@property
|
|
2111
|
+
@_builtins.property
|
|
2112
2112
|
@pulumi.getter
|
|
2113
|
-
def comment(self) -> Optional[str]:
|
|
2113
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
2114
2114
|
"""
|
|
2115
2115
|
Add a comment description for the roll. The comment is limited to 256 chars and optional.
|
|
2116
2116
|
"""
|
|
2117
2117
|
return pulumi.get(self, "comment")
|
|
2118
2118
|
|
|
2119
|
-
@property
|
|
2119
|
+
@_builtins.property
|
|
2120
2120
|
@pulumi.getter(name="nodeNames")
|
|
2121
|
-
def node_names(self) -> Optional[Sequence[str]]:
|
|
2121
|
+
def node_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
2122
2122
|
"""
|
|
2123
2123
|
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
2124
|
"""
|
|
2125
2125
|
return pulumi.get(self, "node_names")
|
|
2126
2126
|
|
|
2127
|
-
@property
|
|
2127
|
+
@_builtins.property
|
|
2128
2128
|
@pulumi.getter(name="nodePoolNames")
|
|
2129
|
-
def node_pool_names(self) -> Optional[Sequence[str]]:
|
|
2129
|
+
def node_pool_names(self) -> Optional[Sequence[_builtins.str]]:
|
|
2130
2130
|
"""
|
|
2131
2131
|
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
2132
|
"""
|
|
2133
2133
|
return pulumi.get(self, "node_pool_names")
|
|
2134
2134
|
|
|
2135
|
-
@property
|
|
2135
|
+
@_builtins.property
|
|
2136
2136
|
@pulumi.getter(name="respectPdb")
|
|
2137
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2137
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
2138
2138
|
"""
|
|
2139
2139
|
During the roll, if the parameter is set to true we honor PDB during the nodes replacement.
|
|
2140
2140
|
"""
|
|
2141
2141
|
return pulumi.get(self, "respect_pdb")
|
|
2142
2142
|
|
|
2143
|
-
@property
|
|
2143
|
+
@_builtins.property
|
|
2144
2144
|
@pulumi.getter(name="respectRestrictScaleDown")
|
|
2145
|
-
def respect_restrict_scale_down(self) -> Optional[bool]:
|
|
2145
|
+
def respect_restrict_scale_down(self) -> Optional[_builtins.bool]:
|
|
2146
2146
|
"""
|
|
2147
2147
|
During the roll, if the parameter is set to true we honor Restrict Scale Down label during the nodes replacement.
|
|
2148
2148
|
"""
|
|
2149
2149
|
return pulumi.get(self, "respect_restrict_scale_down")
|
|
2150
2150
|
|
|
2151
|
-
@property
|
|
2151
|
+
@_builtins.property
|
|
2152
2152
|
@pulumi.getter(name="vngIds")
|
|
2153
|
-
def vng_ids(self) -> Optional[Sequence[str]]:
|
|
2153
|
+
def vng_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
2154
2154
|
"""
|
|
2155
2155
|
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
2156
|
"""
|
|
@@ -2181,7 +2181,7 @@ class OceanNpVngTemplateScheduling(dict):
|
|
|
2181
2181
|
if vng_template_shutdown_hours is not None:
|
|
2182
2182
|
pulumi.set(__self__, "vng_template_shutdown_hours", vng_template_shutdown_hours)
|
|
2183
2183
|
|
|
2184
|
-
@property
|
|
2184
|
+
@_builtins.property
|
|
2185
2185
|
@pulumi.getter(name="vngTemplateShutdownHours")
|
|
2186
2186
|
def vng_template_shutdown_hours(self) -> Optional['outputs.OceanNpVngTemplateSchedulingVngTemplateShutdownHours']:
|
|
2187
2187
|
return pulumi.get(self, "vng_template_shutdown_hours")
|
|
@@ -2209,24 +2209,24 @@ class OceanNpVngTemplateSchedulingVngTemplateShutdownHours(dict):
|
|
|
2209
2209
|
return super().get(key, default)
|
|
2210
2210
|
|
|
2211
2211
|
def __init__(__self__, *,
|
|
2212
|
-
is_enabled: Optional[bool] = None,
|
|
2213
|
-
time_windows: Optional[Sequence[str]] = None):
|
|
2212
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
2213
|
+
time_windows: Optional[Sequence[_builtins.str]] = None):
|
|
2214
2214
|
"""
|
|
2215
|
-
:param Sequence[str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2215
|
+
:param Sequence[_builtins.str] time_windows: The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2216
2216
|
"""
|
|
2217
2217
|
if is_enabled is not None:
|
|
2218
2218
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
2219
2219
|
if time_windows is not None:
|
|
2220
2220
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
2221
2221
|
|
|
2222
|
-
@property
|
|
2222
|
+
@_builtins.property
|
|
2223
2223
|
@pulumi.getter(name="isEnabled")
|
|
2224
|
-
def is_enabled(self) -> Optional[bool]:
|
|
2224
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
2225
2225
|
return pulumi.get(self, "is_enabled")
|
|
2226
2226
|
|
|
2227
|
-
@property
|
|
2227
|
+
@_builtins.property
|
|
2228
2228
|
@pulumi.getter(name="timeWindows")
|
|
2229
|
-
def time_windows(self) -> Optional[Sequence[str]]:
|
|
2229
|
+
def time_windows(self) -> Optional[Sequence[_builtins.str]]:
|
|
2230
2230
|
"""
|
|
2231
2231
|
The times that the shutdown hours will apply. Required if `is_enabled` is true.
|
|
2232
2232
|
"""
|