pulumi-spotinst 3.117.0a1743575538__py3-none-any.whl → 3.117.0a1744183551__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/__init__.py +1 -0
- pulumi_spotinst/_inputs.py +1181 -1180
- pulumi_spotinst/account.py +15 -14
- pulumi_spotinst/aws/__init__.py +1 -0
- pulumi_spotinst/aws/_inputs.py +2919 -2918
- pulumi_spotinst/aws/account.py +15 -14
- pulumi_spotinst/aws/beanstalk.py +137 -136
- pulumi_spotinst/aws/credentials.py +29 -28
- pulumi_spotinst/aws/elastigroup.py +681 -680
- pulumi_spotinst/aws/managed_instance.py +361 -360
- pulumi_spotinst/aws/mr_scalar.py +470 -469
- pulumi_spotinst/aws/ocean.py +399 -398
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +29 -28
- pulumi_spotinst/aws/ocean_launch_spec.py +197 -196
- pulumi_spotinst/aws/outputs.py +1673 -1672
- pulumi_spotinst/aws/suspension.py +15 -14
- pulumi_spotinst/azure/__init__.py +1 -0
- pulumi_spotinst/azure/_inputs.py +489 -488
- pulumi_spotinst/azure/ocean_np.py +289 -288
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +249 -248
- pulumi_spotinst/azure/outputs.py +293 -292
- pulumi_spotinst/config/__init__.py +1 -0
- pulumi_spotinst/config/__init__.pyi +1 -0
- pulumi_spotinst/config/vars.py +1 -0
- pulumi_spotinst/credentials_azure.py +71 -70
- pulumi_spotinst/credentials_gcp.py +155 -154
- pulumi_spotinst/data_integration.py +29 -28
- pulumi_spotinst/ecs/__init__.py +1 -0
- pulumi_spotinst/ecs/_inputs.py +475 -474
- pulumi_spotinst/ecs/ocean.py +315 -314
- pulumi_spotinst/ecs/ocean_launch_spec.py +141 -140
- pulumi_spotinst/ecs/outputs.py +285 -284
- pulumi_spotinst/elastigroup_azure_v3.py +201 -200
- pulumi_spotinst/gcp/__init__.py +1 -0
- pulumi_spotinst/gcp/_inputs.py +400 -399
- pulumi_spotinst/gcp/elastigroup.py +355 -354
- pulumi_spotinst/gcp/outputs.py +234 -233
- pulumi_spotinst/gke/__init__.py +1 -0
- pulumi_spotinst/gke/_inputs.py +726 -725
- pulumi_spotinst/gke/elastigroup.py +231 -230
- pulumi_spotinst/gke/ocean_import.py +146 -145
- pulumi_spotinst/gke/ocean_launch_spec.py +141 -140
- pulumi_spotinst/gke/ocean_launch_spec_import.py +29 -28
- pulumi_spotinst/gke/outputs.py +410 -409
- pulumi_spotinst/health_check.py +89 -48
- pulumi_spotinst/ocean_right_sizing_rule.py +41 -40
- pulumi_spotinst/oceancd/__init__.py +1 -0
- pulumi_spotinst/oceancd/_inputs.py +594 -593
- pulumi_spotinst/oceancd/outputs.py +356 -355
- pulumi_spotinst/oceancd/rollout_spec.py +15 -14
- pulumi_spotinst/oceancd/strategy.py +11 -10
- pulumi_spotinst/oceancd/verification_provider.py +29 -28
- pulumi_spotinst/oceancd/verification_template.py +15 -14
- pulumi_spotinst/organization/__init__.py +1 -0
- pulumi_spotinst/organization/_inputs.py +55 -54
- pulumi_spotinst/organization/outputs.py +33 -32
- pulumi_spotinst/organization/policy.py +29 -28
- pulumi_spotinst/organization/programmatic_user.py +43 -42
- pulumi_spotinst/organization/user.py +85 -84
- pulumi_spotinst/organization/user_group.py +43 -42
- pulumi_spotinst/outputs.py +595 -594
- pulumi_spotinst/provider.py +32 -31
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -0
- pulumi_spotinst/spark/_inputs.py +81 -80
- pulumi_spotinst/spark/ocean.py +15 -14
- pulumi_spotinst/spark/ocean_virtual_node_group.py +21 -20
- pulumi_spotinst/spark/outputs.py +49 -48
- pulumi_spotinst/stateful_node_azure.py +191 -190
- pulumi_spotinst/subscription.py +71 -70
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.117.0a1744183551.dist-info/RECORD +76 -0
- pulumi_spotinst-3.117.0a1743575538.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.117.0a1743575538.dist-info → pulumi_spotinst-3.117.0a1744183551.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gcp/outputs.py
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -66,15 +67,15 @@ class ElastigroupBackendService(dict):
|
|
|
66
67
|
return super().get(key, default)
|
|
67
68
|
|
|
68
69
|
def __init__(__self__, *,
|
|
69
|
-
service_name: str,
|
|
70
|
-
location_type: Optional[str] = None,
|
|
70
|
+
service_name: builtins.str,
|
|
71
|
+
location_type: Optional[builtins.str] = None,
|
|
71
72
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
72
|
-
scheme: Optional[str] = None):
|
|
73
|
+
scheme: Optional[builtins.str] = None):
|
|
73
74
|
"""
|
|
74
|
-
:param str service_name: The name of the backend service.
|
|
75
|
-
:param str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
75
|
+
:param builtins.str service_name: The name of the backend service.
|
|
76
|
+
:param builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
76
77
|
:param Sequence['ElastigroupBackendServiceNamedPortArgs'] named_ports: Describes a named port and a list of ports.
|
|
77
|
-
:param str scheme: Use when `location_type` is "regional". Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
78
|
+
:param builtins.str scheme: Use when `location_type` is "regional". Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
78
79
|
"""
|
|
79
80
|
pulumi.set(__self__, "service_name", service_name)
|
|
80
81
|
if location_type is not None:
|
|
@@ -86,7 +87,7 @@ class ElastigroupBackendService(dict):
|
|
|
86
87
|
|
|
87
88
|
@property
|
|
88
89
|
@pulumi.getter(name="serviceName")
|
|
89
|
-
def service_name(self) -> str:
|
|
90
|
+
def service_name(self) -> builtins.str:
|
|
90
91
|
"""
|
|
91
92
|
The name of the backend service.
|
|
92
93
|
"""
|
|
@@ -94,7 +95,7 @@ class ElastigroupBackendService(dict):
|
|
|
94
95
|
|
|
95
96
|
@property
|
|
96
97
|
@pulumi.getter(name="locationType")
|
|
97
|
-
def location_type(self) -> Optional[str]:
|
|
98
|
+
def location_type(self) -> Optional[builtins.str]:
|
|
98
99
|
"""
|
|
99
100
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
100
101
|
"""
|
|
@@ -110,7 +111,7 @@ class ElastigroupBackendService(dict):
|
|
|
110
111
|
|
|
111
112
|
@property
|
|
112
113
|
@pulumi.getter
|
|
113
|
-
def scheme(self) -> Optional[str]:
|
|
114
|
+
def scheme(self) -> Optional[builtins.str]:
|
|
114
115
|
"""
|
|
115
116
|
Use when `location_type` is "regional". Set the traffic for the backend service to either between the instances in the vpc or to traffic from the internet. Valid values: `INTERNAL`, `EXTERNAL`.
|
|
116
117
|
"""
|
|
@@ -120,11 +121,11 @@ class ElastigroupBackendService(dict):
|
|
|
120
121
|
@pulumi.output_type
|
|
121
122
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
122
123
|
def __init__(__self__, *,
|
|
123
|
-
name: str,
|
|
124
|
-
ports: Sequence[str]):
|
|
124
|
+
name: builtins.str,
|
|
125
|
+
ports: Sequence[builtins.str]):
|
|
125
126
|
"""
|
|
126
|
-
:param str name: The name of the port.
|
|
127
|
-
:param Sequence[str] ports: A list of ports.
|
|
127
|
+
:param builtins.str name: The name of the port.
|
|
128
|
+
:param Sequence[builtins.str] ports: A list of ports.
|
|
128
129
|
|
|
129
130
|
Usage:
|
|
130
131
|
"""
|
|
@@ -133,7 +134,7 @@ class ElastigroupBackendServiceNamedPort(dict):
|
|
|
133
134
|
|
|
134
135
|
@property
|
|
135
136
|
@pulumi.getter
|
|
136
|
-
def name(self) -> str:
|
|
137
|
+
def name(self) -> builtins.str:
|
|
137
138
|
"""
|
|
138
139
|
The name of the port.
|
|
139
140
|
"""
|
|
@@ -141,7 +142,7 @@ class ElastigroupBackendServiceNamedPort(dict):
|
|
|
141
142
|
|
|
142
143
|
@property
|
|
143
144
|
@pulumi.getter
|
|
144
|
-
def ports(self) -> Sequence[str]:
|
|
145
|
+
def ports(self) -> Sequence[builtins.str]:
|
|
145
146
|
"""
|
|
146
147
|
A list of ports.
|
|
147
148
|
|
|
@@ -174,23 +175,23 @@ class ElastigroupDisk(dict):
|
|
|
174
175
|
return super().get(key, default)
|
|
175
176
|
|
|
176
177
|
def __init__(__self__, *,
|
|
177
|
-
auto_delete: Optional[bool] = None,
|
|
178
|
-
boot: Optional[bool] = None,
|
|
179
|
-
device_name: Optional[str] = None,
|
|
178
|
+
auto_delete: Optional[builtins.bool] = None,
|
|
179
|
+
boot: Optional[builtins.bool] = None,
|
|
180
|
+
device_name: Optional[builtins.str] = None,
|
|
180
181
|
initialize_params: Optional[Sequence['outputs.ElastigroupDiskInitializeParam']] = None,
|
|
181
|
-
interface: Optional[str] = None,
|
|
182
|
-
mode: Optional[str] = None,
|
|
183
|
-
source: Optional[str] = None,
|
|
184
|
-
type: Optional[str] = None):
|
|
185
|
-
"""
|
|
186
|
-
:param bool auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
187
|
-
:param bool boot: Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
188
|
-
:param str device_name: Specifies a unique device name of your choice.
|
|
182
|
+
interface: Optional[builtins.str] = None,
|
|
183
|
+
mode: Optional[builtins.str] = None,
|
|
184
|
+
source: Optional[builtins.str] = None,
|
|
185
|
+
type: Optional[builtins.str] = None):
|
|
186
|
+
"""
|
|
187
|
+
:param builtins.bool auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
188
|
+
:param builtins.bool boot: Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
189
|
+
:param builtins.str device_name: Specifies a unique device name of your choice.
|
|
189
190
|
:param Sequence['ElastigroupDiskInitializeParamArgs'] initialize_params: Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.
|
|
190
|
-
:param str interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
191
|
-
:param str mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
192
|
-
:param str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
193
|
-
:param str type: Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
191
|
+
:param builtins.str interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
192
|
+
:param builtins.str mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
193
|
+
:param builtins.str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
194
|
+
:param builtins.str type: Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
194
195
|
"""
|
|
195
196
|
if auto_delete is not None:
|
|
196
197
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
@@ -211,7 +212,7 @@ class ElastigroupDisk(dict):
|
|
|
211
212
|
|
|
212
213
|
@property
|
|
213
214
|
@pulumi.getter(name="autoDelete")
|
|
214
|
-
def auto_delete(self) -> Optional[bool]:
|
|
215
|
+
def auto_delete(self) -> Optional[builtins.bool]:
|
|
215
216
|
"""
|
|
216
217
|
Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
217
218
|
"""
|
|
@@ -219,7 +220,7 @@ class ElastigroupDisk(dict):
|
|
|
219
220
|
|
|
220
221
|
@property
|
|
221
222
|
@pulumi.getter
|
|
222
|
-
def boot(self) -> Optional[bool]:
|
|
223
|
+
def boot(self) -> Optional[builtins.bool]:
|
|
223
224
|
"""
|
|
224
225
|
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
225
226
|
"""
|
|
@@ -227,7 +228,7 @@ class ElastigroupDisk(dict):
|
|
|
227
228
|
|
|
228
229
|
@property
|
|
229
230
|
@pulumi.getter(name="deviceName")
|
|
230
|
-
def device_name(self) -> Optional[str]:
|
|
231
|
+
def device_name(self) -> Optional[builtins.str]:
|
|
231
232
|
"""
|
|
232
233
|
Specifies a unique device name of your choice.
|
|
233
234
|
"""
|
|
@@ -243,7 +244,7 @@ class ElastigroupDisk(dict):
|
|
|
243
244
|
|
|
244
245
|
@property
|
|
245
246
|
@pulumi.getter
|
|
246
|
-
def interface(self) -> Optional[str]:
|
|
247
|
+
def interface(self) -> Optional[builtins.str]:
|
|
247
248
|
"""
|
|
248
249
|
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
249
250
|
"""
|
|
@@ -251,7 +252,7 @@ class ElastigroupDisk(dict):
|
|
|
251
252
|
|
|
252
253
|
@property
|
|
253
254
|
@pulumi.getter
|
|
254
|
-
def mode(self) -> Optional[str]:
|
|
255
|
+
def mode(self) -> Optional[builtins.str]:
|
|
255
256
|
"""
|
|
256
257
|
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
257
258
|
"""
|
|
@@ -259,7 +260,7 @@ class ElastigroupDisk(dict):
|
|
|
259
260
|
|
|
260
261
|
@property
|
|
261
262
|
@pulumi.getter
|
|
262
|
-
def source(self) -> Optional[str]:
|
|
263
|
+
def source(self) -> Optional[builtins.str]:
|
|
263
264
|
"""
|
|
264
265
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
265
266
|
"""
|
|
@@ -267,7 +268,7 @@ class ElastigroupDisk(dict):
|
|
|
267
268
|
|
|
268
269
|
@property
|
|
269
270
|
@pulumi.getter
|
|
270
|
-
def type(self) -> Optional[str]:
|
|
271
|
+
def type(self) -> Optional[builtins.str]:
|
|
271
272
|
"""
|
|
272
273
|
Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
273
274
|
"""
|
|
@@ -298,15 +299,15 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
298
299
|
return super().get(key, default)
|
|
299
300
|
|
|
300
301
|
def __init__(__self__, *,
|
|
301
|
-
source_image: str,
|
|
302
|
-
disk_size_gb: Optional[str] = None,
|
|
303
|
-
disk_type: Optional[str] = None):
|
|
302
|
+
source_image: builtins.str,
|
|
303
|
+
disk_size_gb: Optional[builtins.str] = None,
|
|
304
|
+
disk_type: Optional[builtins.str] = None):
|
|
304
305
|
"""
|
|
305
|
-
:param str source_image: A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project.
|
|
306
|
+
:param builtins.str source_image: A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project.
|
|
306
307
|
|
|
307
308
|
Usage:
|
|
308
|
-
:param str disk_size_gb: Specifies disk size in gigabytes. Must be in increments of 2.
|
|
309
|
-
:param str disk_type: Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
309
|
+
:param builtins.str disk_size_gb: Specifies disk size in gigabytes. Must be in increments of 2.
|
|
310
|
+
:param builtins.str disk_type: Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
310
311
|
"""
|
|
311
312
|
pulumi.set(__self__, "source_image", source_image)
|
|
312
313
|
if disk_size_gb is not None:
|
|
@@ -316,7 +317,7 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
316
317
|
|
|
317
318
|
@property
|
|
318
319
|
@pulumi.getter(name="sourceImage")
|
|
319
|
-
def source_image(self) -> str:
|
|
320
|
+
def source_image(self) -> builtins.str:
|
|
320
321
|
"""
|
|
321
322
|
A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project.
|
|
322
323
|
|
|
@@ -326,7 +327,7 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
326
327
|
|
|
327
328
|
@property
|
|
328
329
|
@pulumi.getter(name="diskSizeGb")
|
|
329
|
-
def disk_size_gb(self) -> Optional[str]:
|
|
330
|
+
def disk_size_gb(self) -> Optional[builtins.str]:
|
|
330
331
|
"""
|
|
331
332
|
Specifies disk size in gigabytes. Must be in increments of 2.
|
|
332
333
|
"""
|
|
@@ -334,7 +335,7 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
334
335
|
|
|
335
336
|
@property
|
|
336
337
|
@pulumi.getter(name="diskType")
|
|
337
|
-
def disk_type(self) -> Optional[str]:
|
|
338
|
+
def disk_type(self) -> Optional[builtins.str]:
|
|
338
339
|
"""
|
|
339
340
|
Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
340
341
|
"""
|
|
@@ -344,20 +345,20 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
344
345
|
@pulumi.output_type
|
|
345
346
|
class ElastigroupGpu(dict):
|
|
346
347
|
def __init__(__self__, *,
|
|
347
|
-
count: int,
|
|
348
|
-
type: str):
|
|
348
|
+
count: builtins.int,
|
|
349
|
+
type: builtins.str):
|
|
349
350
|
"""
|
|
350
|
-
:param int count: The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
351
|
+
:param builtins.int count: The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
351
352
|
|
|
352
353
|
Usage:
|
|
353
|
-
:param str type: The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
354
|
+
:param builtins.str type: The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
354
355
|
"""
|
|
355
356
|
pulumi.set(__self__, "count", count)
|
|
356
357
|
pulumi.set(__self__, "type", type)
|
|
357
358
|
|
|
358
359
|
@property
|
|
359
360
|
@pulumi.getter
|
|
360
|
-
def count(self) -> int:
|
|
361
|
+
def count(self) -> builtins.int:
|
|
361
362
|
"""
|
|
362
363
|
The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
363
364
|
|
|
@@ -367,7 +368,7 @@ class ElastigroupGpu(dict):
|
|
|
367
368
|
|
|
368
369
|
@property
|
|
369
370
|
@pulumi.getter
|
|
370
|
-
def type(self) -> str:
|
|
371
|
+
def type(self) -> builtins.str:
|
|
371
372
|
"""
|
|
372
373
|
The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
373
374
|
"""
|
|
@@ -394,17 +395,17 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
394
395
|
return super().get(key, default)
|
|
395
396
|
|
|
396
397
|
def __init__(__self__, *,
|
|
397
|
-
memory_gib: int,
|
|
398
|
-
vcpu: int):
|
|
398
|
+
memory_gib: builtins.int,
|
|
399
|
+
vcpu: builtins.int):
|
|
399
400
|
"""
|
|
400
|
-
:param int memory_gib: The memory (in GiB) in the custom instance types. GCP has a number of limitations on accepted memory values.For more information, see the GCP documentation (here.)[https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#specifications]
|
|
401
|
+
:param builtins.int memory_gib: The memory (in GiB) in the custom instance types. GCP has a number of limitations on accepted memory values.For more information, see the GCP documentation (here.)[https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#specifications]
|
|
401
402
|
"""
|
|
402
403
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
403
404
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
404
405
|
|
|
405
406
|
@property
|
|
406
407
|
@pulumi.getter(name="memoryGib")
|
|
407
|
-
def memory_gib(self) -> int:
|
|
408
|
+
def memory_gib(self) -> builtins.int:
|
|
408
409
|
"""
|
|
409
410
|
The memory (in GiB) in the custom instance types. GCP has a number of limitations on accepted memory values.For more information, see the GCP documentation (here.)[https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#specifications]
|
|
410
411
|
"""
|
|
@@ -412,7 +413,7 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
412
413
|
|
|
413
414
|
@property
|
|
414
415
|
@pulumi.getter
|
|
415
|
-
def vcpu(self) -> int:
|
|
416
|
+
def vcpu(self) -> builtins.int:
|
|
416
417
|
return pulumi.get(self, "vcpu")
|
|
417
418
|
|
|
418
419
|
|
|
@@ -438,11 +439,11 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
438
439
|
return super().get(key, default)
|
|
439
440
|
|
|
440
441
|
def __init__(__self__, *,
|
|
441
|
-
master_host: str,
|
|
442
|
-
master_port: int):
|
|
442
|
+
master_host: builtins.str,
|
|
443
|
+
master_port: builtins.int):
|
|
443
444
|
"""
|
|
444
|
-
:param str master_host: IP or FQDN of one of your swarm managers.
|
|
445
|
-
:param int master_port: Network port used by your swarm.
|
|
445
|
+
:param builtins.str master_host: IP or FQDN of one of your swarm managers.
|
|
446
|
+
:param builtins.int master_port: Network port used by your swarm.
|
|
446
447
|
|
|
447
448
|
Usage:
|
|
448
449
|
"""
|
|
@@ -451,7 +452,7 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
451
452
|
|
|
452
453
|
@property
|
|
453
454
|
@pulumi.getter(name="masterHost")
|
|
454
|
-
def master_host(self) -> str:
|
|
455
|
+
def master_host(self) -> builtins.str:
|
|
455
456
|
"""
|
|
456
457
|
IP or FQDN of one of your swarm managers.
|
|
457
458
|
"""
|
|
@@ -459,7 +460,7 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
459
460
|
|
|
460
461
|
@property
|
|
461
462
|
@pulumi.getter(name="masterPort")
|
|
462
|
-
def master_port(self) -> int:
|
|
463
|
+
def master_port(self) -> builtins.int:
|
|
463
464
|
"""
|
|
464
465
|
Network port used by your swarm.
|
|
465
466
|
|
|
@@ -502,15 +503,15 @@ class ElastigroupIntegrationGke(dict):
|
|
|
502
503
|
return super().get(key, default)
|
|
503
504
|
|
|
504
505
|
def __init__(__self__, *,
|
|
505
|
-
auto_update: Optional[bool] = None,
|
|
506
|
-
autoscale_cooldown: Optional[int] = None,
|
|
506
|
+
auto_update: Optional[builtins.bool] = None,
|
|
507
|
+
autoscale_cooldown: Optional[builtins.int] = None,
|
|
507
508
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
508
509
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
509
|
-
autoscale_is_auto_config: Optional[bool] = None,
|
|
510
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
510
|
+
autoscale_is_auto_config: Optional[builtins.bool] = None,
|
|
511
|
+
autoscale_is_enabled: Optional[builtins.bool] = None,
|
|
511
512
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
512
|
-
cluster_id: Optional[str] = None,
|
|
513
|
-
location: Optional[str] = None):
|
|
513
|
+
cluster_id: Optional[builtins.str] = None,
|
|
514
|
+
location: Optional[builtins.str] = None):
|
|
514
515
|
if auto_update is not None:
|
|
515
516
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
516
517
|
if autoscale_cooldown is not None:
|
|
@@ -532,12 +533,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
532
533
|
|
|
533
534
|
@property
|
|
534
535
|
@pulumi.getter(name="autoUpdate")
|
|
535
|
-
def auto_update(self) -> Optional[bool]:
|
|
536
|
+
def auto_update(self) -> Optional[builtins.bool]:
|
|
536
537
|
return pulumi.get(self, "auto_update")
|
|
537
538
|
|
|
538
539
|
@property
|
|
539
540
|
@pulumi.getter(name="autoscaleCooldown")
|
|
540
|
-
def autoscale_cooldown(self) -> Optional[int]:
|
|
541
|
+
def autoscale_cooldown(self) -> Optional[builtins.int]:
|
|
541
542
|
return pulumi.get(self, "autoscale_cooldown")
|
|
542
543
|
|
|
543
544
|
@property
|
|
@@ -552,12 +553,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
552
553
|
|
|
553
554
|
@property
|
|
554
555
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
555
|
-
def autoscale_is_auto_config(self) -> Optional[bool]:
|
|
556
|
+
def autoscale_is_auto_config(self) -> Optional[builtins.bool]:
|
|
556
557
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
557
558
|
|
|
558
559
|
@property
|
|
559
560
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
560
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
561
|
+
def autoscale_is_enabled(self) -> Optional[builtins.bool]:
|
|
561
562
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
562
563
|
|
|
563
564
|
@property
|
|
@@ -567,12 +568,12 @@ class ElastigroupIntegrationGke(dict):
|
|
|
567
568
|
|
|
568
569
|
@property
|
|
569
570
|
@pulumi.getter(name="clusterId")
|
|
570
|
-
def cluster_id(self) -> Optional[str]:
|
|
571
|
+
def cluster_id(self) -> Optional[builtins.str]:
|
|
571
572
|
return pulumi.get(self, "cluster_id")
|
|
572
573
|
|
|
573
574
|
@property
|
|
574
575
|
@pulumi.getter
|
|
575
|
-
def location(self) -> Optional[str]:
|
|
576
|
+
def location(self) -> Optional[builtins.str]:
|
|
576
577
|
return pulumi.get(self, "location")
|
|
577
578
|
|
|
578
579
|
|
|
@@ -596,16 +597,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
596
597
|
return super().get(key, default)
|
|
597
598
|
|
|
598
599
|
def __init__(__self__, *,
|
|
599
|
-
evaluation_periods: Optional[int] = None):
|
|
600
|
+
evaluation_periods: Optional[builtins.int] = None):
|
|
600
601
|
"""
|
|
601
|
-
:param int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
602
|
+
:param builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
602
603
|
"""
|
|
603
604
|
if evaluation_periods is not None:
|
|
604
605
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
605
606
|
|
|
606
607
|
@property
|
|
607
608
|
@pulumi.getter(name="evaluationPeriods")
|
|
608
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
609
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
609
610
|
"""
|
|
610
611
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
611
612
|
"""
|
|
@@ -636,9 +637,9 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
636
637
|
return super().get(key, default)
|
|
637
638
|
|
|
638
639
|
def __init__(__self__, *,
|
|
639
|
-
cpu_per_unit: Optional[int] = None,
|
|
640
|
-
memory_per_unit: Optional[int] = None,
|
|
641
|
-
num_of_units: Optional[int] = None):
|
|
640
|
+
cpu_per_unit: Optional[builtins.int] = None,
|
|
641
|
+
memory_per_unit: Optional[builtins.int] = None,
|
|
642
|
+
num_of_units: Optional[builtins.int] = None):
|
|
642
643
|
if cpu_per_unit is not None:
|
|
643
644
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
644
645
|
if memory_per_unit is not None:
|
|
@@ -648,54 +649,54 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
648
649
|
|
|
649
650
|
@property
|
|
650
651
|
@pulumi.getter(name="cpuPerUnit")
|
|
651
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
652
|
+
def cpu_per_unit(self) -> Optional[builtins.int]:
|
|
652
653
|
return pulumi.get(self, "cpu_per_unit")
|
|
653
654
|
|
|
654
655
|
@property
|
|
655
656
|
@pulumi.getter(name="memoryPerUnit")
|
|
656
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
657
|
+
def memory_per_unit(self) -> Optional[builtins.int]:
|
|
657
658
|
return pulumi.get(self, "memory_per_unit")
|
|
658
659
|
|
|
659
660
|
@property
|
|
660
661
|
@pulumi.getter(name="numOfUnits")
|
|
661
|
-
def num_of_units(self) -> Optional[int]:
|
|
662
|
+
def num_of_units(self) -> Optional[builtins.int]:
|
|
662
663
|
return pulumi.get(self, "num_of_units")
|
|
663
664
|
|
|
664
665
|
|
|
665
666
|
@pulumi.output_type
|
|
666
667
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
667
668
|
def __init__(__self__, *,
|
|
668
|
-
key: str,
|
|
669
|
-
value: str):
|
|
669
|
+
key: builtins.str,
|
|
670
|
+
value: builtins.str):
|
|
670
671
|
pulumi.set(__self__, "key", key)
|
|
671
672
|
pulumi.set(__self__, "value", value)
|
|
672
673
|
|
|
673
674
|
@property
|
|
674
675
|
@pulumi.getter
|
|
675
|
-
def key(self) -> str:
|
|
676
|
+
def key(self) -> builtins.str:
|
|
676
677
|
return pulumi.get(self, "key")
|
|
677
678
|
|
|
678
679
|
@property
|
|
679
680
|
@pulumi.getter
|
|
680
|
-
def value(self) -> str:
|
|
681
|
+
def value(self) -> builtins.str:
|
|
681
682
|
return pulumi.get(self, "value")
|
|
682
683
|
|
|
683
684
|
|
|
684
685
|
@pulumi.output_type
|
|
685
686
|
class ElastigroupLabel(dict):
|
|
686
687
|
def __init__(__self__, *,
|
|
687
|
-
key: str,
|
|
688
|
-
value: str):
|
|
688
|
+
key: builtins.str,
|
|
689
|
+
value: builtins.str):
|
|
689
690
|
"""
|
|
690
|
-
:param str key: Labels key.
|
|
691
|
-
:param str value: Labels value.
|
|
691
|
+
:param builtins.str key: Labels key.
|
|
692
|
+
:param builtins.str value: Labels value.
|
|
692
693
|
"""
|
|
693
694
|
pulumi.set(__self__, "key", key)
|
|
694
695
|
pulumi.set(__self__, "value", value)
|
|
695
696
|
|
|
696
697
|
@property
|
|
697
698
|
@pulumi.getter
|
|
698
|
-
def key(self) -> str:
|
|
699
|
+
def key(self) -> builtins.str:
|
|
699
700
|
"""
|
|
700
701
|
Labels key.
|
|
701
702
|
"""
|
|
@@ -703,7 +704,7 @@ class ElastigroupLabel(dict):
|
|
|
703
704
|
|
|
704
705
|
@property
|
|
705
706
|
@pulumi.getter
|
|
706
|
-
def value(self) -> str:
|
|
707
|
+
def value(self) -> builtins.str:
|
|
707
708
|
"""
|
|
708
709
|
Labels value.
|
|
709
710
|
"""
|
|
@@ -713,18 +714,18 @@ class ElastigroupLabel(dict):
|
|
|
713
714
|
@pulumi.output_type
|
|
714
715
|
class ElastigroupMetadata(dict):
|
|
715
716
|
def __init__(__self__, *,
|
|
716
|
-
key: str,
|
|
717
|
-
value: str):
|
|
717
|
+
key: builtins.str,
|
|
718
|
+
value: builtins.str):
|
|
718
719
|
"""
|
|
719
|
-
:param str key: Metadata key.
|
|
720
|
-
:param str value: Metadata value.
|
|
720
|
+
:param builtins.str key: Metadata key.
|
|
721
|
+
:param builtins.str value: Metadata value.
|
|
721
722
|
"""
|
|
722
723
|
pulumi.set(__self__, "key", key)
|
|
723
724
|
pulumi.set(__self__, "value", value)
|
|
724
725
|
|
|
725
726
|
@property
|
|
726
727
|
@pulumi.getter
|
|
727
|
-
def key(self) -> str:
|
|
728
|
+
def key(self) -> builtins.str:
|
|
728
729
|
"""
|
|
729
730
|
Metadata key.
|
|
730
731
|
"""
|
|
@@ -732,7 +733,7 @@ class ElastigroupMetadata(dict):
|
|
|
732
733
|
|
|
733
734
|
@property
|
|
734
735
|
@pulumi.getter
|
|
735
|
-
def value(self) -> str:
|
|
736
|
+
def value(self) -> builtins.str:
|
|
736
737
|
"""
|
|
737
738
|
Metadata value.
|
|
738
739
|
"""
|
|
@@ -761,11 +762,11 @@ class ElastigroupNetworkInterface(dict):
|
|
|
761
762
|
return super().get(key, default)
|
|
762
763
|
|
|
763
764
|
def __init__(__self__, *,
|
|
764
|
-
network: str,
|
|
765
|
+
network: builtins.str,
|
|
765
766
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
766
767
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
767
768
|
"""
|
|
768
|
-
:param str network: Network resource for this group.
|
|
769
|
+
:param builtins.str network: Network resource for this group.
|
|
769
770
|
:param Sequence['ElastigroupNetworkInterfaceAccessConfigArgs'] access_configs: Array of configurations.
|
|
770
771
|
"""
|
|
771
772
|
pulumi.set(__self__, "network", network)
|
|
@@ -776,7 +777,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
776
777
|
|
|
777
778
|
@property
|
|
778
779
|
@pulumi.getter
|
|
779
|
-
def network(self) -> str:
|
|
780
|
+
def network(self) -> builtins.str:
|
|
780
781
|
"""
|
|
781
782
|
Network resource for this group.
|
|
782
783
|
"""
|
|
@@ -799,10 +800,10 @@ class ElastigroupNetworkInterface(dict):
|
|
|
799
800
|
@pulumi.output_type
|
|
800
801
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
801
802
|
def __init__(__self__, *,
|
|
802
|
-
name: Optional[str] = None,
|
|
803
|
-
type: Optional[str] = None):
|
|
803
|
+
name: Optional[builtins.str] = None,
|
|
804
|
+
type: Optional[builtins.str] = None):
|
|
804
805
|
"""
|
|
805
|
-
:param str name: The group name.
|
|
806
|
+
:param builtins.str name: The group name.
|
|
806
807
|
"""
|
|
807
808
|
if name is not None:
|
|
808
809
|
pulumi.set(__self__, "name", name)
|
|
@@ -811,7 +812,7 @@ class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
|
811
812
|
|
|
812
813
|
@property
|
|
813
814
|
@pulumi.getter
|
|
814
|
-
def name(self) -> Optional[str]:
|
|
815
|
+
def name(self) -> Optional[builtins.str]:
|
|
815
816
|
"""
|
|
816
817
|
The group name.
|
|
817
818
|
"""
|
|
@@ -819,7 +820,7 @@ class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
|
819
820
|
|
|
820
821
|
@property
|
|
821
822
|
@pulumi.getter
|
|
822
|
-
def type(self) -> Optional[str]:
|
|
823
|
+
def type(self) -> Optional[builtins.str]:
|
|
823
824
|
return pulumi.get(self, "type")
|
|
824
825
|
|
|
825
826
|
|
|
@@ -845,19 +846,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
845
846
|
return super().get(key, default)
|
|
846
847
|
|
|
847
848
|
def __init__(__self__, *,
|
|
848
|
-
ip_cidr_range: str,
|
|
849
|
-
subnetwork_range_name: str):
|
|
849
|
+
ip_cidr_range: builtins.str,
|
|
850
|
+
subnetwork_range_name: builtins.str):
|
|
850
851
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
851
852
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
852
853
|
|
|
853
854
|
@property
|
|
854
855
|
@pulumi.getter(name="ipCidrRange")
|
|
855
|
-
def ip_cidr_range(self) -> str:
|
|
856
|
+
def ip_cidr_range(self) -> builtins.str:
|
|
856
857
|
return pulumi.get(self, "ip_cidr_range")
|
|
857
858
|
|
|
858
859
|
@property
|
|
859
860
|
@pulumi.getter(name="subnetworkRangeName")
|
|
860
|
-
def subnetwork_range_name(self) -> str:
|
|
861
|
+
def subnetwork_range_name(self) -> builtins.str:
|
|
861
862
|
return pulumi.get(self, "subnetwork_range_name")
|
|
862
863
|
|
|
863
864
|
|
|
@@ -881,15 +882,15 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
881
882
|
return super().get(key, default)
|
|
882
883
|
|
|
883
884
|
def __init__(__self__, *,
|
|
884
|
-
perform_at: str):
|
|
885
|
+
perform_at: builtins.str):
|
|
885
886
|
"""
|
|
886
|
-
:param str perform_at: Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
887
|
+
:param builtins.str perform_at: Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
887
888
|
"""
|
|
888
889
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
889
890
|
|
|
890
891
|
@property
|
|
891
892
|
@pulumi.getter(name="performAt")
|
|
892
|
-
def perform_at(self) -> str:
|
|
893
|
+
def perform_at(self) -> builtins.str:
|
|
893
894
|
"""
|
|
894
895
|
Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
895
896
|
"""
|
|
@@ -922,33 +923,33 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
922
923
|
return super().get(key, default)
|
|
923
924
|
|
|
924
925
|
def __init__(__self__, *,
|
|
925
|
-
metric_name: str,
|
|
926
|
-
namespace: str,
|
|
927
|
-
policy_name: str,
|
|
928
|
-
threshold: float,
|
|
929
|
-
unit: str,
|
|
930
|
-
action_type: Optional[str] = None,
|
|
931
|
-
adjustment: Optional[int] = None,
|
|
932
|
-
cooldown: Optional[int] = None,
|
|
926
|
+
metric_name: builtins.str,
|
|
927
|
+
namespace: builtins.str,
|
|
928
|
+
policy_name: builtins.str,
|
|
929
|
+
threshold: builtins.float,
|
|
930
|
+
unit: builtins.str,
|
|
931
|
+
action_type: Optional[builtins.str] = None,
|
|
932
|
+
adjustment: Optional[builtins.int] = None,
|
|
933
|
+
cooldown: Optional[builtins.int] = None,
|
|
933
934
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
934
|
-
evaluation_periods: Optional[int] = None,
|
|
935
|
-
operator: Optional[str] = None,
|
|
936
|
-
period: Optional[int] = None,
|
|
937
|
-
source: Optional[str] = None,
|
|
938
|
-
statistic: Optional[str] = None):
|
|
939
|
-
"""
|
|
940
|
-
:param str metric_name: Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
941
|
-
:param str policy_name: Name of scaling policy.
|
|
942
|
-
:param float threshold: The value at which the scaling action is triggered.
|
|
943
|
-
:param str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
944
|
-
:param int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
945
|
-
:param int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
935
|
+
evaluation_periods: Optional[builtins.int] = None,
|
|
936
|
+
operator: Optional[builtins.str] = None,
|
|
937
|
+
period: Optional[builtins.int] = None,
|
|
938
|
+
source: Optional[builtins.str] = None,
|
|
939
|
+
statistic: Optional[builtins.str] = None):
|
|
940
|
+
"""
|
|
941
|
+
:param builtins.str metric_name: Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
942
|
+
:param builtins.str policy_name: Name of scaling policy.
|
|
943
|
+
:param builtins.float threshold: The value at which the scaling action is triggered.
|
|
944
|
+
:param builtins.str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
945
|
+
:param builtins.int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
946
|
+
:param builtins.int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
946
947
|
:param Sequence['ElastigroupScalingDownPolicyDimensionArgs'] dimensions: A list of dimensions describing qualities of the metric.
|
|
947
|
-
:param int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
948
|
-
:param str operator: The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
949
|
-
:param int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
950
|
-
:param str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
951
|
-
:param str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
948
|
+
:param builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
949
|
+
:param builtins.str operator: The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
950
|
+
:param builtins.int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
951
|
+
:param builtins.str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
952
|
+
:param builtins.str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
952
953
|
"""
|
|
953
954
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
954
955
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -976,7 +977,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
976
977
|
|
|
977
978
|
@property
|
|
978
979
|
@pulumi.getter(name="metricName")
|
|
979
|
-
def metric_name(self) -> str:
|
|
980
|
+
def metric_name(self) -> builtins.str:
|
|
980
981
|
"""
|
|
981
982
|
Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
982
983
|
"""
|
|
@@ -984,12 +985,12 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
984
985
|
|
|
985
986
|
@property
|
|
986
987
|
@pulumi.getter
|
|
987
|
-
def namespace(self) -> str:
|
|
988
|
+
def namespace(self) -> builtins.str:
|
|
988
989
|
return pulumi.get(self, "namespace")
|
|
989
990
|
|
|
990
991
|
@property
|
|
991
992
|
@pulumi.getter(name="policyName")
|
|
992
|
-
def policy_name(self) -> str:
|
|
993
|
+
def policy_name(self) -> builtins.str:
|
|
993
994
|
"""
|
|
994
995
|
Name of scaling policy.
|
|
995
996
|
"""
|
|
@@ -997,7 +998,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
997
998
|
|
|
998
999
|
@property
|
|
999
1000
|
@pulumi.getter
|
|
1000
|
-
def threshold(self) -> float:
|
|
1001
|
+
def threshold(self) -> builtins.float:
|
|
1001
1002
|
"""
|
|
1002
1003
|
The value at which the scaling action is triggered.
|
|
1003
1004
|
"""
|
|
@@ -1005,12 +1006,12 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1005
1006
|
|
|
1006
1007
|
@property
|
|
1007
1008
|
@pulumi.getter
|
|
1008
|
-
def unit(self) -> str:
|
|
1009
|
+
def unit(self) -> builtins.str:
|
|
1009
1010
|
return pulumi.get(self, "unit")
|
|
1010
1011
|
|
|
1011
1012
|
@property
|
|
1012
1013
|
@pulumi.getter(name="actionType")
|
|
1013
|
-
def action_type(self) -> Optional[str]:
|
|
1014
|
+
def action_type(self) -> Optional[builtins.str]:
|
|
1014
1015
|
"""
|
|
1015
1016
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1016
1017
|
"""
|
|
@@ -1018,7 +1019,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1018
1019
|
|
|
1019
1020
|
@property
|
|
1020
1021
|
@pulumi.getter
|
|
1021
|
-
def adjustment(self) -> Optional[int]:
|
|
1022
|
+
def adjustment(self) -> Optional[builtins.int]:
|
|
1022
1023
|
"""
|
|
1023
1024
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1024
1025
|
"""
|
|
@@ -1026,7 +1027,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1026
1027
|
|
|
1027
1028
|
@property
|
|
1028
1029
|
@pulumi.getter
|
|
1029
|
-
def cooldown(self) -> Optional[int]:
|
|
1030
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
1030
1031
|
"""
|
|
1031
1032
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1032
1033
|
"""
|
|
@@ -1042,7 +1043,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1042
1043
|
|
|
1043
1044
|
@property
|
|
1044
1045
|
@pulumi.getter(name="evaluationPeriods")
|
|
1045
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1046
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
1046
1047
|
"""
|
|
1047
1048
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1048
1049
|
"""
|
|
@@ -1050,7 +1051,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1050
1051
|
|
|
1051
1052
|
@property
|
|
1052
1053
|
@pulumi.getter
|
|
1053
|
-
def operator(self) -> Optional[str]:
|
|
1054
|
+
def operator(self) -> Optional[builtins.str]:
|
|
1054
1055
|
"""
|
|
1055
1056
|
The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
1056
1057
|
"""
|
|
@@ -1058,7 +1059,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1058
1059
|
|
|
1059
1060
|
@property
|
|
1060
1061
|
@pulumi.getter
|
|
1061
|
-
def period(self) -> Optional[int]:
|
|
1062
|
+
def period(self) -> Optional[builtins.int]:
|
|
1062
1063
|
"""
|
|
1063
1064
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1064
1065
|
"""
|
|
@@ -1066,7 +1067,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1066
1067
|
|
|
1067
1068
|
@property
|
|
1068
1069
|
@pulumi.getter
|
|
1069
|
-
def source(self) -> Optional[str]:
|
|
1070
|
+
def source(self) -> Optional[builtins.str]:
|
|
1070
1071
|
"""
|
|
1071
1072
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1072
1073
|
"""
|
|
@@ -1074,7 +1075,7 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1074
1075
|
|
|
1075
1076
|
@property
|
|
1076
1077
|
@pulumi.getter
|
|
1077
|
-
def statistic(self) -> Optional[str]:
|
|
1078
|
+
def statistic(self) -> Optional[builtins.str]:
|
|
1078
1079
|
"""
|
|
1079
1080
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1080
1081
|
"""
|
|
@@ -1084,10 +1085,10 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1084
1085
|
@pulumi.output_type
|
|
1085
1086
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
1086
1087
|
def __init__(__self__, *,
|
|
1087
|
-
name: str,
|
|
1088
|
-
value: Optional[str] = None):
|
|
1088
|
+
name: builtins.str,
|
|
1089
|
+
value: Optional[builtins.str] = None):
|
|
1089
1090
|
"""
|
|
1090
|
-
:param str name: The group name.
|
|
1091
|
+
:param builtins.str name: The group name.
|
|
1091
1092
|
"""
|
|
1092
1093
|
pulumi.set(__self__, "name", name)
|
|
1093
1094
|
if value is not None:
|
|
@@ -1095,7 +1096,7 @@ class ElastigroupScalingDownPolicyDimension(dict):
|
|
|
1095
1096
|
|
|
1096
1097
|
@property
|
|
1097
1098
|
@pulumi.getter
|
|
1098
|
-
def name(self) -> str:
|
|
1099
|
+
def name(self) -> builtins.str:
|
|
1099
1100
|
"""
|
|
1100
1101
|
The group name.
|
|
1101
1102
|
"""
|
|
@@ -1103,7 +1104,7 @@ class ElastigroupScalingDownPolicyDimension(dict):
|
|
|
1103
1104
|
|
|
1104
1105
|
@property
|
|
1105
1106
|
@pulumi.getter
|
|
1106
|
-
def value(self) -> Optional[str]:
|
|
1107
|
+
def value(self) -> Optional[builtins.str]:
|
|
1107
1108
|
return pulumi.get(self, "value")
|
|
1108
1109
|
|
|
1109
1110
|
|
|
@@ -1133,33 +1134,33 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1133
1134
|
return super().get(key, default)
|
|
1134
1135
|
|
|
1135
1136
|
def __init__(__self__, *,
|
|
1136
|
-
metric_name: str,
|
|
1137
|
-
namespace: str,
|
|
1138
|
-
policy_name: str,
|
|
1139
|
-
threshold: float,
|
|
1140
|
-
unit: str,
|
|
1141
|
-
action_type: Optional[str] = None,
|
|
1142
|
-
adjustment: Optional[int] = None,
|
|
1143
|
-
cooldown: Optional[int] = None,
|
|
1137
|
+
metric_name: builtins.str,
|
|
1138
|
+
namespace: builtins.str,
|
|
1139
|
+
policy_name: builtins.str,
|
|
1140
|
+
threshold: builtins.float,
|
|
1141
|
+
unit: builtins.str,
|
|
1142
|
+
action_type: Optional[builtins.str] = None,
|
|
1143
|
+
adjustment: Optional[builtins.int] = None,
|
|
1144
|
+
cooldown: Optional[builtins.int] = None,
|
|
1144
1145
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
1145
|
-
evaluation_periods: Optional[int] = None,
|
|
1146
|
-
operator: Optional[str] = None,
|
|
1147
|
-
period: Optional[int] = None,
|
|
1148
|
-
source: Optional[str] = None,
|
|
1149
|
-
statistic: Optional[str] = None):
|
|
1150
|
-
"""
|
|
1151
|
-
:param str metric_name: Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
1152
|
-
:param str policy_name: Name of scaling policy.
|
|
1153
|
-
:param float threshold: The value at which the scaling action is triggered.
|
|
1154
|
-
:param str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1155
|
-
:param int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1156
|
-
:param int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1146
|
+
evaluation_periods: Optional[builtins.int] = None,
|
|
1147
|
+
operator: Optional[builtins.str] = None,
|
|
1148
|
+
period: Optional[builtins.int] = None,
|
|
1149
|
+
source: Optional[builtins.str] = None,
|
|
1150
|
+
statistic: Optional[builtins.str] = None):
|
|
1151
|
+
"""
|
|
1152
|
+
:param builtins.str metric_name: Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
1153
|
+
:param builtins.str policy_name: Name of scaling policy.
|
|
1154
|
+
:param builtins.float threshold: The value at which the scaling action is triggered.
|
|
1155
|
+
:param builtins.str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1156
|
+
:param builtins.int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1157
|
+
:param builtins.int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1157
1158
|
:param Sequence['ElastigroupScalingUpPolicyDimensionArgs'] dimensions: A list of dimensions describing qualities of the metric.
|
|
1158
|
-
:param int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1159
|
-
:param str operator: The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
1160
|
-
:param int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1161
|
-
:param str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1162
|
-
:param str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1159
|
+
:param builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1160
|
+
:param builtins.str operator: The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
1161
|
+
:param builtins.int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1162
|
+
:param builtins.str source: Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1163
|
+
:param builtins.str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1163
1164
|
"""
|
|
1164
1165
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1165
1166
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1187,7 +1188,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1187
1188
|
|
|
1188
1189
|
@property
|
|
1189
1190
|
@pulumi.getter(name="metricName")
|
|
1190
|
-
def metric_name(self) -> str:
|
|
1191
|
+
def metric_name(self) -> builtins.str:
|
|
1191
1192
|
"""
|
|
1192
1193
|
Metric to monitor. Valid values: "Percentage CPU", "Network In", "Network Out", "Disk Read Bytes", "Disk Write Bytes", "Disk Write Operations/Sec", "Disk Read Operations/Sec".
|
|
1193
1194
|
"""
|
|
@@ -1195,12 +1196,12 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1195
1196
|
|
|
1196
1197
|
@property
|
|
1197
1198
|
@pulumi.getter
|
|
1198
|
-
def namespace(self) -> str:
|
|
1199
|
+
def namespace(self) -> builtins.str:
|
|
1199
1200
|
return pulumi.get(self, "namespace")
|
|
1200
1201
|
|
|
1201
1202
|
@property
|
|
1202
1203
|
@pulumi.getter(name="policyName")
|
|
1203
|
-
def policy_name(self) -> str:
|
|
1204
|
+
def policy_name(self) -> builtins.str:
|
|
1204
1205
|
"""
|
|
1205
1206
|
Name of scaling policy.
|
|
1206
1207
|
"""
|
|
@@ -1208,7 +1209,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1208
1209
|
|
|
1209
1210
|
@property
|
|
1210
1211
|
@pulumi.getter
|
|
1211
|
-
def threshold(self) -> float:
|
|
1212
|
+
def threshold(self) -> builtins.float:
|
|
1212
1213
|
"""
|
|
1213
1214
|
The value at which the scaling action is triggered.
|
|
1214
1215
|
"""
|
|
@@ -1216,12 +1217,12 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1216
1217
|
|
|
1217
1218
|
@property
|
|
1218
1219
|
@pulumi.getter
|
|
1219
|
-
def unit(self) -> str:
|
|
1220
|
+
def unit(self) -> builtins.str:
|
|
1220
1221
|
return pulumi.get(self, "unit")
|
|
1221
1222
|
|
|
1222
1223
|
@property
|
|
1223
1224
|
@pulumi.getter(name="actionType")
|
|
1224
|
-
def action_type(self) -> Optional[str]:
|
|
1225
|
+
def action_type(self) -> Optional[builtins.str]:
|
|
1225
1226
|
"""
|
|
1226
1227
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1227
1228
|
"""
|
|
@@ -1229,7 +1230,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1229
1230
|
|
|
1230
1231
|
@property
|
|
1231
1232
|
@pulumi.getter
|
|
1232
|
-
def adjustment(self) -> Optional[int]:
|
|
1233
|
+
def adjustment(self) -> Optional[builtins.int]:
|
|
1233
1234
|
"""
|
|
1234
1235
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1235
1236
|
"""
|
|
@@ -1237,7 +1238,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1237
1238
|
|
|
1238
1239
|
@property
|
|
1239
1240
|
@pulumi.getter
|
|
1240
|
-
def cooldown(self) -> Optional[int]:
|
|
1241
|
+
def cooldown(self) -> Optional[builtins.int]:
|
|
1241
1242
|
"""
|
|
1242
1243
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1243
1244
|
"""
|
|
@@ -1253,7 +1254,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1253
1254
|
|
|
1254
1255
|
@property
|
|
1255
1256
|
@pulumi.getter(name="evaluationPeriods")
|
|
1256
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1257
|
+
def evaluation_periods(self) -> Optional[builtins.int]:
|
|
1257
1258
|
"""
|
|
1258
1259
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1259
1260
|
"""
|
|
@@ -1261,7 +1262,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1261
1262
|
|
|
1262
1263
|
@property
|
|
1263
1264
|
@pulumi.getter
|
|
1264
|
-
def operator(self) -> Optional[str]:
|
|
1265
|
+
def operator(self) -> Optional[builtins.str]:
|
|
1265
1266
|
"""
|
|
1266
1267
|
The operator used to evaluate the threshold against the current metric value. Valid values: "gt" (greater than), "get" (greater-than or equal), "lt" (less than), "lte" (less than or equal).
|
|
1267
1268
|
"""
|
|
@@ -1269,7 +1270,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1269
1270
|
|
|
1270
1271
|
@property
|
|
1271
1272
|
@pulumi.getter
|
|
1272
|
-
def period(self) -> Optional[int]:
|
|
1273
|
+
def period(self) -> Optional[builtins.int]:
|
|
1273
1274
|
"""
|
|
1274
1275
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1275
1276
|
"""
|
|
@@ -1277,7 +1278,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1277
1278
|
|
|
1278
1279
|
@property
|
|
1279
1280
|
@pulumi.getter
|
|
1280
|
-
def source(self) -> Optional[str]:
|
|
1281
|
+
def source(self) -> Optional[builtins.str]:
|
|
1281
1282
|
"""
|
|
1282
1283
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1283
1284
|
"""
|
|
@@ -1285,7 +1286,7 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1285
1286
|
|
|
1286
1287
|
@property
|
|
1287
1288
|
@pulumi.getter
|
|
1288
|
-
def statistic(self) -> Optional[str]:
|
|
1289
|
+
def statistic(self) -> Optional[builtins.str]:
|
|
1289
1290
|
"""
|
|
1290
1291
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1291
1292
|
"""
|
|
@@ -1295,11 +1296,11 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1295
1296
|
@pulumi.output_type
|
|
1296
1297
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1297
1298
|
def __init__(__self__, *,
|
|
1298
|
-
name: str,
|
|
1299
|
-
value: Optional[str] = None):
|
|
1299
|
+
name: builtins.str,
|
|
1300
|
+
value: Optional[builtins.str] = None):
|
|
1300
1301
|
"""
|
|
1301
|
-
:param str name: The dimension name.
|
|
1302
|
-
:param str value: The dimension value.
|
|
1302
|
+
:param builtins.str name: The dimension name.
|
|
1303
|
+
:param builtins.str value: The dimension value.
|
|
1303
1304
|
|
|
1304
1305
|
Usage:
|
|
1305
1306
|
"""
|
|
@@ -1309,7 +1310,7 @@ class ElastigroupScalingUpPolicyDimension(dict):
|
|
|
1309
1310
|
|
|
1310
1311
|
@property
|
|
1311
1312
|
@pulumi.getter
|
|
1312
|
-
def name(self) -> str:
|
|
1313
|
+
def name(self) -> builtins.str:
|
|
1313
1314
|
"""
|
|
1314
1315
|
The dimension name.
|
|
1315
1316
|
"""
|
|
@@ -1317,7 +1318,7 @@ class ElastigroupScalingUpPolicyDimension(dict):
|
|
|
1317
1318
|
|
|
1318
1319
|
@property
|
|
1319
1320
|
@pulumi.getter
|
|
1320
|
-
def value(self) -> Optional[str]:
|
|
1321
|
+
def value(self) -> Optional[builtins.str]:
|
|
1321
1322
|
"""
|
|
1322
1323
|
The dimension value.
|
|
1323
1324
|
|
|
@@ -1356,21 +1357,21 @@ class ElastigroupScheduledTask(dict):
|
|
|
1356
1357
|
return super().get(key, default)
|
|
1357
1358
|
|
|
1358
1359
|
def __init__(__self__, *,
|
|
1359
|
-
task_type: str,
|
|
1360
|
-
cron_expression: Optional[str] = None,
|
|
1361
|
-
is_enabled: Optional[bool] = None,
|
|
1362
|
-
max_capacity: Optional[str] = None,
|
|
1363
|
-
min_capacity: Optional[str] = None,
|
|
1364
|
-
target_capacity: Optional[str] = None):
|
|
1365
|
-
"""
|
|
1366
|
-
:param str task_type: The task type to run. Valid values: `"setCapacity"`.
|
|
1367
|
-
:param str cron_expression: A valid cron expression. The cron is running in UTC time zone and is in [Unix cron format](https://en.wikipedia.org/wiki/Cron).
|
|
1368
|
-
:param bool is_enabled: Setting the task to being enabled or disabled.
|
|
1369
|
-
:param str max_capacity: The maximum number of instances the group should have.
|
|
1360
|
+
task_type: builtins.str,
|
|
1361
|
+
cron_expression: Optional[builtins.str] = None,
|
|
1362
|
+
is_enabled: Optional[builtins.bool] = None,
|
|
1363
|
+
max_capacity: Optional[builtins.str] = None,
|
|
1364
|
+
min_capacity: Optional[builtins.str] = None,
|
|
1365
|
+
target_capacity: Optional[builtins.str] = None):
|
|
1366
|
+
"""
|
|
1367
|
+
:param builtins.str task_type: The task type to run. Valid values: `"setCapacity"`.
|
|
1368
|
+
:param builtins.str cron_expression: A valid cron expression. The cron is running in UTC time zone and is in [Unix cron format](https://en.wikipedia.org/wiki/Cron).
|
|
1369
|
+
:param builtins.bool is_enabled: Setting the task to being enabled or disabled.
|
|
1370
|
+
:param builtins.str max_capacity: The maximum number of instances the group should have.
|
|
1370
1371
|
|
|
1371
1372
|
Usage:
|
|
1372
|
-
:param str min_capacity: The minimum number of instances the group should have.
|
|
1373
|
-
:param str target_capacity: The desired number of instances the group should have.
|
|
1373
|
+
:param builtins.str min_capacity: The minimum number of instances the group should have.
|
|
1374
|
+
:param builtins.str target_capacity: The desired number of instances the group should have.
|
|
1374
1375
|
"""
|
|
1375
1376
|
pulumi.set(__self__, "task_type", task_type)
|
|
1376
1377
|
if cron_expression is not None:
|
|
@@ -1386,7 +1387,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1386
1387
|
|
|
1387
1388
|
@property
|
|
1388
1389
|
@pulumi.getter(name="taskType")
|
|
1389
|
-
def task_type(self) -> str:
|
|
1390
|
+
def task_type(self) -> builtins.str:
|
|
1390
1391
|
"""
|
|
1391
1392
|
The task type to run. Valid values: `"setCapacity"`.
|
|
1392
1393
|
"""
|
|
@@ -1394,7 +1395,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1394
1395
|
|
|
1395
1396
|
@property
|
|
1396
1397
|
@pulumi.getter(name="cronExpression")
|
|
1397
|
-
def cron_expression(self) -> Optional[str]:
|
|
1398
|
+
def cron_expression(self) -> Optional[builtins.str]:
|
|
1398
1399
|
"""
|
|
1399
1400
|
A valid cron expression. The cron is running in UTC time zone and is in [Unix cron format](https://en.wikipedia.org/wiki/Cron).
|
|
1400
1401
|
"""
|
|
@@ -1402,7 +1403,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1402
1403
|
|
|
1403
1404
|
@property
|
|
1404
1405
|
@pulumi.getter(name="isEnabled")
|
|
1405
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1406
|
+
def is_enabled(self) -> Optional[builtins.bool]:
|
|
1406
1407
|
"""
|
|
1407
1408
|
Setting the task to being enabled or disabled.
|
|
1408
1409
|
"""
|
|
@@ -1410,7 +1411,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1410
1411
|
|
|
1411
1412
|
@property
|
|
1412
1413
|
@pulumi.getter(name="maxCapacity")
|
|
1413
|
-
def max_capacity(self) -> Optional[str]:
|
|
1414
|
+
def max_capacity(self) -> Optional[builtins.str]:
|
|
1414
1415
|
"""
|
|
1415
1416
|
The maximum number of instances the group should have.
|
|
1416
1417
|
|
|
@@ -1420,7 +1421,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1420
1421
|
|
|
1421
1422
|
@property
|
|
1422
1423
|
@pulumi.getter(name="minCapacity")
|
|
1423
|
-
def min_capacity(self) -> Optional[str]:
|
|
1424
|
+
def min_capacity(self) -> Optional[builtins.str]:
|
|
1424
1425
|
"""
|
|
1425
1426
|
The minimum number of instances the group should have.
|
|
1426
1427
|
"""
|
|
@@ -1428,7 +1429,7 @@ class ElastigroupScheduledTask(dict):
|
|
|
1428
1429
|
|
|
1429
1430
|
@property
|
|
1430
1431
|
@pulumi.getter(name="targetCapacity")
|
|
1431
|
-
def target_capacity(self) -> Optional[str]:
|
|
1432
|
+
def target_capacity(self) -> Optional[builtins.str]:
|
|
1432
1433
|
"""
|
|
1433
1434
|
The desired number of instances the group should have.
|
|
1434
1435
|
"""
|
|
@@ -1457,11 +1458,11 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1457
1458
|
return super().get(key, default)
|
|
1458
1459
|
|
|
1459
1460
|
def __init__(__self__, *,
|
|
1460
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
1461
|
-
enable_secure_boot: Optional[bool] = None):
|
|
1461
|
+
enable_integrity_monitoring: Optional[builtins.bool] = None,
|
|
1462
|
+
enable_secure_boot: Optional[builtins.bool] = None):
|
|
1462
1463
|
"""
|
|
1463
|
-
:param bool enable_integrity_monitoring: Default: false
|
|
1464
|
-
:param bool enable_secure_boot: Default: false
|
|
1464
|
+
:param builtins.bool enable_integrity_monitoring: Default: false
|
|
1465
|
+
:param builtins.bool enable_secure_boot: Default: false
|
|
1465
1466
|
"""
|
|
1466
1467
|
if enable_integrity_monitoring is not None:
|
|
1467
1468
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
@@ -1470,7 +1471,7 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1470
1471
|
|
|
1471
1472
|
@property
|
|
1472
1473
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1473
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
1474
|
+
def enable_integrity_monitoring(self) -> Optional[builtins.bool]:
|
|
1474
1475
|
"""
|
|
1475
1476
|
Default: false
|
|
1476
1477
|
"""
|
|
@@ -1478,7 +1479,7 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1478
1479
|
|
|
1479
1480
|
@property
|
|
1480
1481
|
@pulumi.getter(name="enableSecureBoot")
|
|
1481
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
1482
|
+
def enable_secure_boot(self) -> Optional[builtins.bool]:
|
|
1482
1483
|
"""
|
|
1483
1484
|
Default: false
|
|
1484
1485
|
"""
|
|
@@ -1505,18 +1506,18 @@ class ElastigroupSubnet(dict):
|
|
|
1505
1506
|
return super().get(key, default)
|
|
1506
1507
|
|
|
1507
1508
|
def __init__(__self__, *,
|
|
1508
|
-
region: str,
|
|
1509
|
-
subnet_names: Sequence[str]):
|
|
1509
|
+
region: builtins.str,
|
|
1510
|
+
subnet_names: Sequence[builtins.str]):
|
|
1510
1511
|
"""
|
|
1511
|
-
:param str region: The region for the group of subnets.
|
|
1512
|
-
:param Sequence[str] subnet_names: The names of the subnets in the region.
|
|
1512
|
+
:param builtins.str region: The region for the group of subnets.
|
|
1513
|
+
:param Sequence[builtins.str] subnet_names: The names of the subnets in the region.
|
|
1513
1514
|
"""
|
|
1514
1515
|
pulumi.set(__self__, "region", region)
|
|
1515
1516
|
pulumi.set(__self__, "subnet_names", subnet_names)
|
|
1516
1517
|
|
|
1517
1518
|
@property
|
|
1518
1519
|
@pulumi.getter
|
|
1519
|
-
def region(self) -> str:
|
|
1520
|
+
def region(self) -> builtins.str:
|
|
1520
1521
|
"""
|
|
1521
1522
|
The region for the group of subnets.
|
|
1522
1523
|
"""
|
|
@@ -1524,7 +1525,7 @@ class ElastigroupSubnet(dict):
|
|
|
1524
1525
|
|
|
1525
1526
|
@property
|
|
1526
1527
|
@pulumi.getter(name="subnetNames")
|
|
1527
|
-
def subnet_names(self) -> Sequence[str]:
|
|
1528
|
+
def subnet_names(self) -> Sequence[builtins.str]:
|
|
1528
1529
|
"""
|
|
1529
1530
|
The names of the subnets in the region.
|
|
1530
1531
|
"""
|