pulumi-spotinst 3.123.1a1753328543__py3-none-any.whl → 3.124.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 +1 -1
- pulumi_spotinst/_inputs.py +1616 -1617
- pulumi_spotinst/account.py +18 -19
- pulumi_spotinst/aws/__init__.py +1 -1
- pulumi_spotinst/aws/_inputs.py +3654 -3655
- pulumi_spotinst/aws/account.py +18 -19
- pulumi_spotinst/aws/beanstalk.py +176 -177
- pulumi_spotinst/aws/credentials.py +35 -36
- pulumi_spotinst/aws/elastigroup.py +936 -937
- pulumi_spotinst/aws/managed_instance.py +505 -506
- pulumi_spotinst/aws/mr_scalar.py +652 -653
- pulumi_spotinst/aws/ocean.py +578 -532
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +35 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +302 -303
- pulumi_spotinst/aws/outputs.py +2392 -2393
- pulumi_spotinst/aws/suspension.py +21 -22
- pulumi_spotinst/azure/__init__.py +1 -1
- pulumi_spotinst/azure/_inputs.py +606 -607
- pulumi_spotinst/azure/ocean_np.py +385 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +321 -322
- pulumi_spotinst/azure/outputs.py +410 -411
- pulumi_spotinst/config/__init__.py +1 -1
- pulumi_spotinst/config/__init__.pyi +1 -2
- pulumi_spotinst/config/vars.py +5 -6
- pulumi_spotinst/credentials_azure.py +103 -104
- pulumi_spotinst/credentials_gcp.py +188 -189
- pulumi_spotinst/data_integration.py +38 -39
- pulumi_spotinst/ecs/__init__.py +1 -1
- pulumi_spotinst/ecs/_inputs.py +583 -584
- pulumi_spotinst/ecs/ocean.py +414 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +195 -196
- pulumi_spotinst/ecs/outputs.py +393 -394
- pulumi_spotinst/elastigroup_azure_v3.py +324 -325
- pulumi_spotinst/gcp/__init__.py +1 -1
- pulumi_spotinst/gcp/_inputs.py +505 -506
- pulumi_spotinst/gcp/elastigroup.py +481 -482
- pulumi_spotinst/gcp/outputs.py +335 -336
- pulumi_spotinst/gke/__init__.py +1 -1
- pulumi_spotinst/gke/_inputs.py +917 -918
- pulumi_spotinst/gke/elastigroup.py +339 -340
- pulumi_spotinst/gke/ocean_import.py +202 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +210 -211
- pulumi_spotinst/gke/ocean_launch_spec_import.py +35 -36
- pulumi_spotinst/gke/outputs.py +597 -598
- pulumi_spotinst/health_check.py +64 -65
- pulumi_spotinst/notification_center.py +62 -63
- pulumi_spotinst/ocean_right_sizing_rule.py +74 -75
- pulumi_spotinst/oceancd/__init__.py +1 -1
- pulumi_spotinst/oceancd/_inputs.py +763 -764
- pulumi_spotinst/oceancd/outputs.py +525 -526
- pulumi_spotinst/oceancd/rollout_spec.py +33 -34
- pulumi_spotinst/oceancd/strategy.py +20 -21
- pulumi_spotinst/oceancd/verification_provider.py +50 -51
- pulumi_spotinst/oceancd/verification_template.py +24 -25
- pulumi_spotinst/organization/__init__.py +1 -1
- pulumi_spotinst/organization/_inputs.py +67 -68
- pulumi_spotinst/organization/outputs.py +45 -46
- pulumi_spotinst/organization/policy.py +38 -39
- pulumi_spotinst/organization/programmatic_user.py +58 -59
- pulumi_spotinst/organization/user.py +106 -107
- pulumi_spotinst/organization/user_group.py +55 -56
- pulumi_spotinst/outputs.py +990 -991
- pulumi_spotinst/provider.py +40 -41
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +1 -1
- pulumi_spotinst/spark/_inputs.py +103 -104
- pulumi_spotinst/spark/ocean.py +36 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +27 -28
- pulumi_spotinst/spark/outputs.py +71 -72
- pulumi_spotinst/stateful_node_azure.py +304 -305
- pulumi_spotinst/subscription.py +86 -87
- {pulumi_spotinst-3.123.1a1753328543.dist-info → pulumi_spotinst-3.124.0.dist-info}/METADATA +1 -1
- pulumi_spotinst-3.124.0.dist-info/RECORD +77 -0
- pulumi_spotinst-3.123.1a1753328543.dist-info/RECORD +0 -77
- {pulumi_spotinst-3.123.1a1753328543.dist-info → pulumi_spotinst-3.124.0.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.123.1a1753328543.dist-info → pulumi_spotinst-3.124.0.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gcp/outputs.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -70,17 +69,17 @@ class ElastigroupBackendService(dict):
|
|
|
70
69
|
return super().get(key, default)
|
|
71
70
|
|
|
72
71
|
def __init__(__self__, *,
|
|
73
|
-
service_name:
|
|
72
|
+
service_name: _builtins.str,
|
|
74
73
|
backend_balancing: Optional['outputs.ElastigroupBackendServiceBackendBalancing'] = None,
|
|
75
|
-
location_type: Optional[
|
|
74
|
+
location_type: Optional[_builtins.str] = None,
|
|
76
75
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
77
|
-
scheme: Optional[
|
|
76
|
+
scheme: Optional[_builtins.str] = None):
|
|
78
77
|
"""
|
|
79
|
-
:param
|
|
78
|
+
:param _builtins.str service_name: The name of the backend service.
|
|
80
79
|
:param 'ElastigroupBackendServiceBackendBalancingArgs' backend_balancing: Configure how traffic is distributed across instance groups.
|
|
81
|
-
:param
|
|
80
|
+
:param _builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
82
81
|
:param Sequence['ElastigroupBackendServiceNamedPortArgs'] named_ports: Describes a named port and a list of ports.
|
|
83
|
-
:param
|
|
82
|
+
: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`.
|
|
84
83
|
"""
|
|
85
84
|
pulumi.set(__self__, "service_name", service_name)
|
|
86
85
|
if backend_balancing is not None:
|
|
@@ -92,15 +91,15 @@ class ElastigroupBackendService(dict):
|
|
|
92
91
|
if scheme is not None:
|
|
93
92
|
pulumi.set(__self__, "scheme", scheme)
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter(name="serviceName")
|
|
97
|
-
def service_name(self) ->
|
|
96
|
+
def service_name(self) -> _builtins.str:
|
|
98
97
|
"""
|
|
99
98
|
The name of the backend service.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "service_name")
|
|
102
101
|
|
|
103
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
104
103
|
@pulumi.getter(name="backendBalancing")
|
|
105
104
|
def backend_balancing(self) -> Optional['outputs.ElastigroupBackendServiceBackendBalancing']:
|
|
106
105
|
"""
|
|
@@ -108,15 +107,15 @@ class ElastigroupBackendService(dict):
|
|
|
108
107
|
"""
|
|
109
108
|
return pulumi.get(self, "backend_balancing")
|
|
110
109
|
|
|
111
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
112
111
|
@pulumi.getter(name="locationType")
|
|
113
|
-
def location_type(self) -> Optional[
|
|
112
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
114
113
|
"""
|
|
115
114
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
116
115
|
"""
|
|
117
116
|
return pulumi.get(self, "location_type")
|
|
118
117
|
|
|
119
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
120
119
|
@pulumi.getter(name="namedPorts")
|
|
121
120
|
def named_ports(self) -> Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']]:
|
|
122
121
|
"""
|
|
@@ -124,9 +123,9 @@ class ElastigroupBackendService(dict):
|
|
|
124
123
|
"""
|
|
125
124
|
return pulumi.get(self, "named_ports")
|
|
126
125
|
|
|
127
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
128
127
|
@pulumi.getter
|
|
129
|
-
def scheme(self) -> Optional[
|
|
128
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
130
129
|
"""
|
|
131
130
|
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`.
|
|
132
131
|
"""
|
|
@@ -155,11 +154,11 @@ class ElastigroupBackendServiceBackendBalancing(dict):
|
|
|
155
154
|
return super().get(key, default)
|
|
156
155
|
|
|
157
156
|
def __init__(__self__, *,
|
|
158
|
-
backend_balancing_mode: Optional[
|
|
159
|
-
max_rate_per_instance: Optional[
|
|
157
|
+
backend_balancing_mode: Optional[_builtins.str] = None,
|
|
158
|
+
max_rate_per_instance: Optional[_builtins.int] = None):
|
|
160
159
|
"""
|
|
161
|
-
:param
|
|
162
|
-
:param
|
|
160
|
+
:param _builtins.str backend_balancing_mode: The backend balancing mode. Valid values: `RATE`, `UTILIZATION`.
|
|
161
|
+
:param _builtins.int max_rate_per_instance: If the backendBalancingMode is set to RATE, this field is required.
|
|
163
162
|
|
|
164
163
|
Usage:
|
|
165
164
|
"""
|
|
@@ -168,17 +167,17 @@ class ElastigroupBackendServiceBackendBalancing(dict):
|
|
|
168
167
|
if max_rate_per_instance is not None:
|
|
169
168
|
pulumi.set(__self__, "max_rate_per_instance", max_rate_per_instance)
|
|
170
169
|
|
|
171
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
172
171
|
@pulumi.getter(name="backendBalancingMode")
|
|
173
|
-
def backend_balancing_mode(self) -> Optional[
|
|
172
|
+
def backend_balancing_mode(self) -> Optional[_builtins.str]:
|
|
174
173
|
"""
|
|
175
174
|
The backend balancing mode. Valid values: `RATE`, `UTILIZATION`.
|
|
176
175
|
"""
|
|
177
176
|
return pulumi.get(self, "backend_balancing_mode")
|
|
178
177
|
|
|
179
|
-
@property
|
|
178
|
+
@_builtins.property
|
|
180
179
|
@pulumi.getter(name="maxRatePerInstance")
|
|
181
|
-
def max_rate_per_instance(self) -> Optional[
|
|
180
|
+
def max_rate_per_instance(self) -> Optional[_builtins.int]:
|
|
182
181
|
"""
|
|
183
182
|
If the backendBalancingMode is set to RATE, this field is required.
|
|
184
183
|
|
|
@@ -190,26 +189,26 @@ class ElastigroupBackendServiceBackendBalancing(dict):
|
|
|
190
189
|
@pulumi.output_type
|
|
191
190
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
192
191
|
def __init__(__self__, *,
|
|
193
|
-
name:
|
|
194
|
-
ports: Sequence[
|
|
192
|
+
name: _builtins.str,
|
|
193
|
+
ports: Sequence[_builtins.str]):
|
|
195
194
|
"""
|
|
196
|
-
:param
|
|
197
|
-
:param Sequence[
|
|
195
|
+
:param _builtins.str name: The name of the port.
|
|
196
|
+
:param Sequence[_builtins.str] ports: A list of ports.
|
|
198
197
|
"""
|
|
199
198
|
pulumi.set(__self__, "name", name)
|
|
200
199
|
pulumi.set(__self__, "ports", ports)
|
|
201
200
|
|
|
202
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
203
202
|
@pulumi.getter
|
|
204
|
-
def name(self) ->
|
|
203
|
+
def name(self) -> _builtins.str:
|
|
205
204
|
"""
|
|
206
205
|
The name of the port.
|
|
207
206
|
"""
|
|
208
207
|
return pulumi.get(self, "name")
|
|
209
208
|
|
|
210
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
211
210
|
@pulumi.getter
|
|
212
|
-
def ports(self) -> Sequence[
|
|
211
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
213
212
|
"""
|
|
214
213
|
A list of ports.
|
|
215
214
|
"""
|
|
@@ -240,23 +239,23 @@ class ElastigroupDisk(dict):
|
|
|
240
239
|
return super().get(key, default)
|
|
241
240
|
|
|
242
241
|
def __init__(__self__, *,
|
|
243
|
-
auto_delete: Optional[
|
|
244
|
-
boot: Optional[
|
|
245
|
-
device_name: Optional[
|
|
242
|
+
auto_delete: Optional[_builtins.bool] = None,
|
|
243
|
+
boot: Optional[_builtins.bool] = None,
|
|
244
|
+
device_name: Optional[_builtins.str] = None,
|
|
246
245
|
initialize_params: Optional[Sequence['outputs.ElastigroupDiskInitializeParam']] = None,
|
|
247
|
-
interface: Optional[
|
|
248
|
-
mode: Optional[
|
|
249
|
-
source: Optional[
|
|
250
|
-
type: Optional[
|
|
251
|
-
"""
|
|
252
|
-
:param
|
|
253
|
-
:param
|
|
254
|
-
:param
|
|
246
|
+
interface: Optional[_builtins.str] = None,
|
|
247
|
+
mode: Optional[_builtins.str] = None,
|
|
248
|
+
source: Optional[_builtins.str] = None,
|
|
249
|
+
type: Optional[_builtins.str] = None):
|
|
250
|
+
"""
|
|
251
|
+
:param _builtins.bool auto_delete: Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
252
|
+
: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.
|
|
253
|
+
:param _builtins.str device_name: Specifies a unique device name of your choice.
|
|
255
254
|
: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.
|
|
256
|
-
:param
|
|
257
|
-
:param
|
|
258
|
-
:param
|
|
259
|
-
:param
|
|
255
|
+
:param _builtins.str interface: Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
256
|
+
:param _builtins.str mode: The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
257
|
+
: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.
|
|
258
|
+
:param _builtins.str type: Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
260
259
|
"""
|
|
261
260
|
if auto_delete is not None:
|
|
262
261
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
@@ -275,31 +274,31 @@ class ElastigroupDisk(dict):
|
|
|
275
274
|
if type is not None:
|
|
276
275
|
pulumi.set(__self__, "type", type)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="autoDelete")
|
|
280
|
-
def auto_delete(self) -> Optional[
|
|
279
|
+
def auto_delete(self) -> Optional[_builtins.bool]:
|
|
281
280
|
"""
|
|
282
281
|
Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "auto_delete")
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter
|
|
288
|
-
def boot(self) -> Optional[
|
|
287
|
+
def boot(self) -> Optional[_builtins.bool]:
|
|
289
288
|
"""
|
|
290
289
|
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
291
290
|
"""
|
|
292
291
|
return pulumi.get(self, "boot")
|
|
293
292
|
|
|
294
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
295
294
|
@pulumi.getter(name="deviceName")
|
|
296
|
-
def device_name(self) -> Optional[
|
|
295
|
+
def device_name(self) -> Optional[_builtins.str]:
|
|
297
296
|
"""
|
|
298
297
|
Specifies a unique device name of your choice.
|
|
299
298
|
"""
|
|
300
299
|
return pulumi.get(self, "device_name")
|
|
301
300
|
|
|
302
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
303
302
|
@pulumi.getter(name="initializeParams")
|
|
304
303
|
def initialize_params(self) -> Optional[Sequence['outputs.ElastigroupDiskInitializeParam']]:
|
|
305
304
|
"""
|
|
@@ -307,33 +306,33 @@ class ElastigroupDisk(dict):
|
|
|
307
306
|
"""
|
|
308
307
|
return pulumi.get(self, "initialize_params")
|
|
309
308
|
|
|
310
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
311
310
|
@pulumi.getter
|
|
312
|
-
def interface(self) -> Optional[
|
|
311
|
+
def interface(self) -> Optional[_builtins.str]:
|
|
313
312
|
"""
|
|
314
313
|
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
315
314
|
"""
|
|
316
315
|
return pulumi.get(self, "interface")
|
|
317
316
|
|
|
318
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
319
318
|
@pulumi.getter
|
|
320
|
-
def mode(self) -> Optional[
|
|
319
|
+
def mode(self) -> Optional[_builtins.str]:
|
|
321
320
|
"""
|
|
322
321
|
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
323
322
|
"""
|
|
324
323
|
return pulumi.get(self, "mode")
|
|
325
324
|
|
|
326
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
327
326
|
@pulumi.getter
|
|
328
|
-
def source(self) -> Optional[
|
|
327
|
+
def source(self) -> Optional[_builtins.str]:
|
|
329
328
|
"""
|
|
330
329
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
331
330
|
"""
|
|
332
331
|
return pulumi.get(self, "source")
|
|
333
332
|
|
|
334
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
335
334
|
@pulumi.getter
|
|
336
|
-
def type(self) -> Optional[
|
|
335
|
+
def type(self) -> Optional[_builtins.str]:
|
|
337
336
|
"""
|
|
338
337
|
Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
339
338
|
"""
|
|
@@ -364,15 +363,15 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
364
363
|
return super().get(key, default)
|
|
365
364
|
|
|
366
365
|
def __init__(__self__, *,
|
|
367
|
-
source_image:
|
|
368
|
-
disk_size_gb: Optional[
|
|
369
|
-
disk_type: Optional[
|
|
366
|
+
source_image: _builtins.str,
|
|
367
|
+
disk_size_gb: Optional[_builtins.str] = None,
|
|
368
|
+
disk_type: Optional[_builtins.str] = None):
|
|
370
369
|
"""
|
|
371
|
-
:param
|
|
370
|
+
: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.
|
|
372
371
|
|
|
373
372
|
Usage:
|
|
374
|
-
:param
|
|
375
|
-
:param
|
|
373
|
+
:param _builtins.str disk_size_gb: Specifies disk size in gigabytes. Must be in increments of 2.
|
|
374
|
+
:param _builtins.str disk_type: Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
376
375
|
"""
|
|
377
376
|
pulumi.set(__self__, "source_image", source_image)
|
|
378
377
|
if disk_size_gb is not None:
|
|
@@ -380,9 +379,9 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
380
379
|
if disk_type is not None:
|
|
381
380
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
382
381
|
|
|
383
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
384
383
|
@pulumi.getter(name="sourceImage")
|
|
385
|
-
def source_image(self) ->
|
|
384
|
+
def source_image(self) -> _builtins.str:
|
|
386
385
|
"""
|
|
387
386
|
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.
|
|
388
387
|
|
|
@@ -390,17 +389,17 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
390
389
|
"""
|
|
391
390
|
return pulumi.get(self, "source_image")
|
|
392
391
|
|
|
393
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
394
393
|
@pulumi.getter(name="diskSizeGb")
|
|
395
|
-
def disk_size_gb(self) -> Optional[
|
|
394
|
+
def disk_size_gb(self) -> Optional[_builtins.str]:
|
|
396
395
|
"""
|
|
397
396
|
Specifies disk size in gigabytes. Must be in increments of 2.
|
|
398
397
|
"""
|
|
399
398
|
return pulumi.get(self, "disk_size_gb")
|
|
400
399
|
|
|
401
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
402
401
|
@pulumi.getter(name="diskType")
|
|
403
|
-
def disk_type(self) -> Optional[
|
|
402
|
+
def disk_type(self) -> Optional[_builtins.str]:
|
|
404
403
|
"""
|
|
405
404
|
Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
406
405
|
"""
|
|
@@ -410,20 +409,20 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
410
409
|
@pulumi.output_type
|
|
411
410
|
class ElastigroupGpu(dict):
|
|
412
411
|
def __init__(__self__, *,
|
|
413
|
-
count:
|
|
414
|
-
type:
|
|
412
|
+
count: _builtins.int,
|
|
413
|
+
type: _builtins.str):
|
|
415
414
|
"""
|
|
416
|
-
:param
|
|
415
|
+
:param _builtins.int count: The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
417
416
|
|
|
418
417
|
Usage:
|
|
419
|
-
:param
|
|
418
|
+
:param _builtins.str type: The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
420
419
|
"""
|
|
421
420
|
pulumi.set(__self__, "count", count)
|
|
422
421
|
pulumi.set(__self__, "type", type)
|
|
423
422
|
|
|
424
|
-
@property
|
|
423
|
+
@_builtins.property
|
|
425
424
|
@pulumi.getter
|
|
426
|
-
def count(self) ->
|
|
425
|
+
def count(self) -> _builtins.int:
|
|
427
426
|
"""
|
|
428
427
|
The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
429
428
|
|
|
@@ -431,9 +430,9 @@ class ElastigroupGpu(dict):
|
|
|
431
430
|
"""
|
|
432
431
|
return pulumi.get(self, "count")
|
|
433
432
|
|
|
434
|
-
@property
|
|
433
|
+
@_builtins.property
|
|
435
434
|
@pulumi.getter
|
|
436
|
-
def type(self) ->
|
|
435
|
+
def type(self) -> _builtins.str:
|
|
437
436
|
"""
|
|
438
437
|
The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
439
438
|
"""
|
|
@@ -460,25 +459,25 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
460
459
|
return super().get(key, default)
|
|
461
460
|
|
|
462
461
|
def __init__(__self__, *,
|
|
463
|
-
memory_gib:
|
|
464
|
-
vcpu:
|
|
462
|
+
memory_gib: _builtins.int,
|
|
463
|
+
vcpu: _builtins.int):
|
|
465
464
|
"""
|
|
466
|
-
:param
|
|
465
|
+
: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]
|
|
467
466
|
"""
|
|
468
467
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
469
468
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
470
469
|
|
|
471
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
472
471
|
@pulumi.getter(name="memoryGib")
|
|
473
|
-
def memory_gib(self) ->
|
|
472
|
+
def memory_gib(self) -> _builtins.int:
|
|
474
473
|
"""
|
|
475
474
|
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]
|
|
476
475
|
"""
|
|
477
476
|
return pulumi.get(self, "memory_gib")
|
|
478
477
|
|
|
479
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
480
479
|
@pulumi.getter
|
|
481
|
-
def vcpu(self) ->
|
|
480
|
+
def vcpu(self) -> _builtins.int:
|
|
482
481
|
return pulumi.get(self, "vcpu")
|
|
483
482
|
|
|
484
483
|
|
|
@@ -504,28 +503,28 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
504
503
|
return super().get(key, default)
|
|
505
504
|
|
|
506
505
|
def __init__(__self__, *,
|
|
507
|
-
master_host:
|
|
508
|
-
master_port:
|
|
506
|
+
master_host: _builtins.str,
|
|
507
|
+
master_port: _builtins.int):
|
|
509
508
|
"""
|
|
510
|
-
:param
|
|
511
|
-
:param
|
|
509
|
+
:param _builtins.str master_host: IP or FQDN of one of your swarm managers.
|
|
510
|
+
:param _builtins.int master_port: Network port used by your swarm.
|
|
512
511
|
|
|
513
512
|
Usage:
|
|
514
513
|
"""
|
|
515
514
|
pulumi.set(__self__, "master_host", master_host)
|
|
516
515
|
pulumi.set(__self__, "master_port", master_port)
|
|
517
516
|
|
|
518
|
-
@property
|
|
517
|
+
@_builtins.property
|
|
519
518
|
@pulumi.getter(name="masterHost")
|
|
520
|
-
def master_host(self) ->
|
|
519
|
+
def master_host(self) -> _builtins.str:
|
|
521
520
|
"""
|
|
522
521
|
IP or FQDN of one of your swarm managers.
|
|
523
522
|
"""
|
|
524
523
|
return pulumi.get(self, "master_host")
|
|
525
524
|
|
|
526
|
-
@property
|
|
525
|
+
@_builtins.property
|
|
527
526
|
@pulumi.getter(name="masterPort")
|
|
528
|
-
def master_port(self) ->
|
|
527
|
+
def master_port(self) -> _builtins.int:
|
|
529
528
|
"""
|
|
530
529
|
Network port used by your swarm.
|
|
531
530
|
|
|
@@ -568,15 +567,15 @@ class ElastigroupIntegrationGke(dict):
|
|
|
568
567
|
return super().get(key, default)
|
|
569
568
|
|
|
570
569
|
def __init__(__self__, *,
|
|
571
|
-
auto_update: Optional[
|
|
572
|
-
autoscale_cooldown: Optional[
|
|
570
|
+
auto_update: Optional[_builtins.bool] = None,
|
|
571
|
+
autoscale_cooldown: Optional[_builtins.int] = None,
|
|
573
572
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
574
573
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
575
|
-
autoscale_is_auto_config: Optional[
|
|
576
|
-
autoscale_is_enabled: Optional[
|
|
574
|
+
autoscale_is_auto_config: Optional[_builtins.bool] = None,
|
|
575
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
577
576
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
578
|
-
cluster_id: Optional[
|
|
579
|
-
location: Optional[
|
|
577
|
+
cluster_id: Optional[_builtins.str] = None,
|
|
578
|
+
location: Optional[_builtins.str] = None):
|
|
580
579
|
if auto_update is not None:
|
|
581
580
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
582
581
|
if autoscale_cooldown is not None:
|
|
@@ -596,49 +595,49 @@ class ElastigroupIntegrationGke(dict):
|
|
|
596
595
|
if location is not None:
|
|
597
596
|
pulumi.set(__self__, "location", location)
|
|
598
597
|
|
|
599
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
600
599
|
@pulumi.getter(name="autoUpdate")
|
|
601
|
-
def auto_update(self) -> Optional[
|
|
600
|
+
def auto_update(self) -> Optional[_builtins.bool]:
|
|
602
601
|
return pulumi.get(self, "auto_update")
|
|
603
602
|
|
|
604
|
-
@property
|
|
603
|
+
@_builtins.property
|
|
605
604
|
@pulumi.getter(name="autoscaleCooldown")
|
|
606
|
-
def autoscale_cooldown(self) -> Optional[
|
|
605
|
+
def autoscale_cooldown(self) -> Optional[_builtins.int]:
|
|
607
606
|
return pulumi.get(self, "autoscale_cooldown")
|
|
608
607
|
|
|
609
|
-
@property
|
|
608
|
+
@_builtins.property
|
|
610
609
|
@pulumi.getter(name="autoscaleDown")
|
|
611
610
|
def autoscale_down(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown']:
|
|
612
611
|
return pulumi.get(self, "autoscale_down")
|
|
613
612
|
|
|
614
|
-
@property
|
|
613
|
+
@_builtins.property
|
|
615
614
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
616
615
|
def autoscale_headroom(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom']:
|
|
617
616
|
return pulumi.get(self, "autoscale_headroom")
|
|
618
617
|
|
|
619
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
620
619
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
621
|
-
def autoscale_is_auto_config(self) -> Optional[
|
|
620
|
+
def autoscale_is_auto_config(self) -> Optional[_builtins.bool]:
|
|
622
621
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
623
622
|
|
|
624
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
625
624
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
626
|
-
def autoscale_is_enabled(self) -> Optional[
|
|
625
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
627
626
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
628
627
|
|
|
629
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
630
629
|
@pulumi.getter(name="autoscaleLabels")
|
|
631
630
|
def autoscale_labels(self) -> Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']]:
|
|
632
631
|
return pulumi.get(self, "autoscale_labels")
|
|
633
632
|
|
|
634
|
-
@property
|
|
633
|
+
@_builtins.property
|
|
635
634
|
@pulumi.getter(name="clusterId")
|
|
636
|
-
def cluster_id(self) -> Optional[
|
|
635
|
+
def cluster_id(self) -> Optional[_builtins.str]:
|
|
637
636
|
return pulumi.get(self, "cluster_id")
|
|
638
637
|
|
|
639
|
-
@property
|
|
638
|
+
@_builtins.property
|
|
640
639
|
@pulumi.getter
|
|
641
|
-
def location(self) -> Optional[
|
|
640
|
+
def location(self) -> Optional[_builtins.str]:
|
|
642
641
|
return pulumi.get(self, "location")
|
|
643
642
|
|
|
644
643
|
|
|
@@ -662,16 +661,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
662
661
|
return super().get(key, default)
|
|
663
662
|
|
|
664
663
|
def __init__(__self__, *,
|
|
665
|
-
evaluation_periods: Optional[
|
|
664
|
+
evaluation_periods: Optional[_builtins.int] = None):
|
|
666
665
|
"""
|
|
667
|
-
:param
|
|
666
|
+
:param _builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
668
667
|
"""
|
|
669
668
|
if evaluation_periods is not None:
|
|
670
669
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
671
670
|
|
|
672
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
673
672
|
@pulumi.getter(name="evaluationPeriods")
|
|
674
|
-
def evaluation_periods(self) -> Optional[
|
|
673
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
675
674
|
"""
|
|
676
675
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
677
676
|
"""
|
|
@@ -702,9 +701,9 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
702
701
|
return super().get(key, default)
|
|
703
702
|
|
|
704
703
|
def __init__(__self__, *,
|
|
705
|
-
cpu_per_unit: Optional[
|
|
706
|
-
memory_per_unit: Optional[
|
|
707
|
-
num_of_units: Optional[
|
|
704
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
705
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
706
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
708
707
|
if cpu_per_unit is not None:
|
|
709
708
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
710
709
|
if memory_per_unit is not None:
|
|
@@ -712,64 +711,64 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
712
711
|
if num_of_units is not None:
|
|
713
712
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
714
713
|
|
|
715
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
716
715
|
@pulumi.getter(name="cpuPerUnit")
|
|
717
|
-
def cpu_per_unit(self) -> Optional[
|
|
716
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
718
717
|
return pulumi.get(self, "cpu_per_unit")
|
|
719
718
|
|
|
720
|
-
@property
|
|
719
|
+
@_builtins.property
|
|
721
720
|
@pulumi.getter(name="memoryPerUnit")
|
|
722
|
-
def memory_per_unit(self) -> Optional[
|
|
721
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
723
722
|
return pulumi.get(self, "memory_per_unit")
|
|
724
723
|
|
|
725
|
-
@property
|
|
724
|
+
@_builtins.property
|
|
726
725
|
@pulumi.getter(name="numOfUnits")
|
|
727
|
-
def num_of_units(self) -> Optional[
|
|
726
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
728
727
|
return pulumi.get(self, "num_of_units")
|
|
729
728
|
|
|
730
729
|
|
|
731
730
|
@pulumi.output_type
|
|
732
731
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
733
732
|
def __init__(__self__, *,
|
|
734
|
-
key:
|
|
735
|
-
value:
|
|
733
|
+
key: _builtins.str,
|
|
734
|
+
value: _builtins.str):
|
|
736
735
|
pulumi.set(__self__, "key", key)
|
|
737
736
|
pulumi.set(__self__, "value", value)
|
|
738
737
|
|
|
739
|
-
@property
|
|
738
|
+
@_builtins.property
|
|
740
739
|
@pulumi.getter
|
|
741
|
-
def key(self) ->
|
|
740
|
+
def key(self) -> _builtins.str:
|
|
742
741
|
return pulumi.get(self, "key")
|
|
743
742
|
|
|
744
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
745
744
|
@pulumi.getter
|
|
746
|
-
def value(self) ->
|
|
745
|
+
def value(self) -> _builtins.str:
|
|
747
746
|
return pulumi.get(self, "value")
|
|
748
747
|
|
|
749
748
|
|
|
750
749
|
@pulumi.output_type
|
|
751
750
|
class ElastigroupLabel(dict):
|
|
752
751
|
def __init__(__self__, *,
|
|
753
|
-
key:
|
|
754
|
-
value:
|
|
752
|
+
key: _builtins.str,
|
|
753
|
+
value: _builtins.str):
|
|
755
754
|
"""
|
|
756
|
-
:param
|
|
757
|
-
:param
|
|
755
|
+
:param _builtins.str key: Labels key.
|
|
756
|
+
:param _builtins.str value: Labels value.
|
|
758
757
|
"""
|
|
759
758
|
pulumi.set(__self__, "key", key)
|
|
760
759
|
pulumi.set(__self__, "value", value)
|
|
761
760
|
|
|
762
|
-
@property
|
|
761
|
+
@_builtins.property
|
|
763
762
|
@pulumi.getter
|
|
764
|
-
def key(self) ->
|
|
763
|
+
def key(self) -> _builtins.str:
|
|
765
764
|
"""
|
|
766
765
|
Labels key.
|
|
767
766
|
"""
|
|
768
767
|
return pulumi.get(self, "key")
|
|
769
768
|
|
|
770
|
-
@property
|
|
769
|
+
@_builtins.property
|
|
771
770
|
@pulumi.getter
|
|
772
|
-
def value(self) ->
|
|
771
|
+
def value(self) -> _builtins.str:
|
|
773
772
|
"""
|
|
774
773
|
Labels value.
|
|
775
774
|
"""
|
|
@@ -779,26 +778,26 @@ class ElastigroupLabel(dict):
|
|
|
779
778
|
@pulumi.output_type
|
|
780
779
|
class ElastigroupMetadata(dict):
|
|
781
780
|
def __init__(__self__, *,
|
|
782
|
-
key:
|
|
783
|
-
value:
|
|
781
|
+
key: _builtins.str,
|
|
782
|
+
value: _builtins.str):
|
|
784
783
|
"""
|
|
785
|
-
:param
|
|
786
|
-
:param
|
|
784
|
+
:param _builtins.str key: Metadata key.
|
|
785
|
+
:param _builtins.str value: Metadata value.
|
|
787
786
|
"""
|
|
788
787
|
pulumi.set(__self__, "key", key)
|
|
789
788
|
pulumi.set(__self__, "value", value)
|
|
790
789
|
|
|
791
|
-
@property
|
|
790
|
+
@_builtins.property
|
|
792
791
|
@pulumi.getter
|
|
793
|
-
def key(self) ->
|
|
792
|
+
def key(self) -> _builtins.str:
|
|
794
793
|
"""
|
|
795
794
|
Metadata key.
|
|
796
795
|
"""
|
|
797
796
|
return pulumi.get(self, "key")
|
|
798
797
|
|
|
799
|
-
@property
|
|
798
|
+
@_builtins.property
|
|
800
799
|
@pulumi.getter
|
|
801
|
-
def value(self) ->
|
|
800
|
+
def value(self) -> _builtins.str:
|
|
802
801
|
"""
|
|
803
802
|
Metadata value.
|
|
804
803
|
"""
|
|
@@ -827,11 +826,11 @@ class ElastigroupNetworkInterface(dict):
|
|
|
827
826
|
return super().get(key, default)
|
|
828
827
|
|
|
829
828
|
def __init__(__self__, *,
|
|
830
|
-
network:
|
|
829
|
+
network: _builtins.str,
|
|
831
830
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
832
831
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
833
832
|
"""
|
|
834
|
-
:param
|
|
833
|
+
:param _builtins.str network: Network resource for this group.
|
|
835
834
|
:param Sequence['ElastigroupNetworkInterfaceAccessConfigArgs'] access_configs: Array of configurations.
|
|
836
835
|
"""
|
|
837
836
|
pulumi.set(__self__, "network", network)
|
|
@@ -840,15 +839,15 @@ class ElastigroupNetworkInterface(dict):
|
|
|
840
839
|
if alias_ip_ranges is not None:
|
|
841
840
|
pulumi.set(__self__, "alias_ip_ranges", alias_ip_ranges)
|
|
842
841
|
|
|
843
|
-
@property
|
|
842
|
+
@_builtins.property
|
|
844
843
|
@pulumi.getter
|
|
845
|
-
def network(self) ->
|
|
844
|
+
def network(self) -> _builtins.str:
|
|
846
845
|
"""
|
|
847
846
|
Network resource for this group.
|
|
848
847
|
"""
|
|
849
848
|
return pulumi.get(self, "network")
|
|
850
849
|
|
|
851
|
-
@property
|
|
850
|
+
@_builtins.property
|
|
852
851
|
@pulumi.getter(name="accessConfigs")
|
|
853
852
|
def access_configs(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']]:
|
|
854
853
|
"""
|
|
@@ -856,7 +855,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
856
855
|
"""
|
|
857
856
|
return pulumi.get(self, "access_configs")
|
|
858
857
|
|
|
859
|
-
@property
|
|
858
|
+
@_builtins.property
|
|
860
859
|
@pulumi.getter(name="aliasIpRanges")
|
|
861
860
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']]:
|
|
862
861
|
return pulumi.get(self, "alias_ip_ranges")
|
|
@@ -865,27 +864,27 @@ class ElastigroupNetworkInterface(dict):
|
|
|
865
864
|
@pulumi.output_type
|
|
866
865
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
867
866
|
def __init__(__self__, *,
|
|
868
|
-
name: Optional[
|
|
869
|
-
type: Optional[
|
|
867
|
+
name: Optional[_builtins.str] = None,
|
|
868
|
+
type: Optional[_builtins.str] = None):
|
|
870
869
|
"""
|
|
871
|
-
:param
|
|
870
|
+
:param _builtins.str name: The group name.
|
|
872
871
|
"""
|
|
873
872
|
if name is not None:
|
|
874
873
|
pulumi.set(__self__, "name", name)
|
|
875
874
|
if type is not None:
|
|
876
875
|
pulumi.set(__self__, "type", type)
|
|
877
876
|
|
|
878
|
-
@property
|
|
877
|
+
@_builtins.property
|
|
879
878
|
@pulumi.getter
|
|
880
|
-
def name(self) -> Optional[
|
|
879
|
+
def name(self) -> Optional[_builtins.str]:
|
|
881
880
|
"""
|
|
882
881
|
The group name.
|
|
883
882
|
"""
|
|
884
883
|
return pulumi.get(self, "name")
|
|
885
884
|
|
|
886
|
-
@property
|
|
885
|
+
@_builtins.property
|
|
887
886
|
@pulumi.getter
|
|
888
|
-
def type(self) -> Optional[
|
|
887
|
+
def type(self) -> Optional[_builtins.str]:
|
|
889
888
|
return pulumi.get(self, "type")
|
|
890
889
|
|
|
891
890
|
|
|
@@ -911,19 +910,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
911
910
|
return super().get(key, default)
|
|
912
911
|
|
|
913
912
|
def __init__(__self__, *,
|
|
914
|
-
ip_cidr_range:
|
|
915
|
-
subnetwork_range_name:
|
|
913
|
+
ip_cidr_range: _builtins.str,
|
|
914
|
+
subnetwork_range_name: _builtins.str):
|
|
916
915
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
917
916
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
918
917
|
|
|
919
|
-
@property
|
|
918
|
+
@_builtins.property
|
|
920
919
|
@pulumi.getter(name="ipCidrRange")
|
|
921
|
-
def ip_cidr_range(self) ->
|
|
920
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
922
921
|
return pulumi.get(self, "ip_cidr_range")
|
|
923
922
|
|
|
924
|
-
@property
|
|
923
|
+
@_builtins.property
|
|
925
924
|
@pulumi.getter(name="subnetworkRangeName")
|
|
926
|
-
def subnetwork_range_name(self) ->
|
|
925
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
927
926
|
return pulumi.get(self, "subnetwork_range_name")
|
|
928
927
|
|
|
929
928
|
|
|
@@ -947,15 +946,15 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
947
946
|
return super().get(key, default)
|
|
948
947
|
|
|
949
948
|
def __init__(__self__, *,
|
|
950
|
-
perform_at:
|
|
949
|
+
perform_at: _builtins.str):
|
|
951
950
|
"""
|
|
952
|
-
:param
|
|
951
|
+
:param _builtins.str perform_at: Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
953
952
|
"""
|
|
954
953
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
955
954
|
|
|
956
|
-
@property
|
|
955
|
+
@_builtins.property
|
|
957
956
|
@pulumi.getter(name="performAt")
|
|
958
|
-
def perform_at(self) ->
|
|
957
|
+
def perform_at(self) -> _builtins.str:
|
|
959
958
|
"""
|
|
960
959
|
Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
961
960
|
"""
|
|
@@ -988,33 +987,33 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
988
987
|
return super().get(key, default)
|
|
989
988
|
|
|
990
989
|
def __init__(__self__, *,
|
|
991
|
-
metric_name:
|
|
992
|
-
namespace:
|
|
993
|
-
policy_name:
|
|
994
|
-
threshold:
|
|
995
|
-
unit:
|
|
996
|
-
action_type: Optional[
|
|
997
|
-
adjustment: Optional[
|
|
998
|
-
cooldown: Optional[
|
|
990
|
+
metric_name: _builtins.str,
|
|
991
|
+
namespace: _builtins.str,
|
|
992
|
+
policy_name: _builtins.str,
|
|
993
|
+
threshold: _builtins.float,
|
|
994
|
+
unit: _builtins.str,
|
|
995
|
+
action_type: Optional[_builtins.str] = None,
|
|
996
|
+
adjustment: Optional[_builtins.int] = None,
|
|
997
|
+
cooldown: Optional[_builtins.int] = None,
|
|
999
998
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
1000
|
-
evaluation_periods: Optional[
|
|
1001
|
-
operator: Optional[
|
|
1002
|
-
period: Optional[
|
|
1003
|
-
source: Optional[
|
|
1004
|
-
statistic: Optional[
|
|
1005
|
-
"""
|
|
1006
|
-
:param
|
|
1007
|
-
:param
|
|
1008
|
-
:param
|
|
1009
|
-
:param
|
|
1010
|
-
:param
|
|
1011
|
-
:param
|
|
999
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1000
|
+
operator: Optional[_builtins.str] = None,
|
|
1001
|
+
period: Optional[_builtins.int] = None,
|
|
1002
|
+
source: Optional[_builtins.str] = None,
|
|
1003
|
+
statistic: Optional[_builtins.str] = None):
|
|
1004
|
+
"""
|
|
1005
|
+
: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".
|
|
1006
|
+
:param _builtins.str policy_name: Name of scaling policy.
|
|
1007
|
+
:param _builtins.float threshold: The value at which the scaling action is triggered.
|
|
1008
|
+
:param _builtins.str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1009
|
+
:param _builtins.int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1010
|
+
:param _builtins.int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1012
1011
|
:param Sequence['ElastigroupScalingDownPolicyDimensionArgs'] dimensions: A list of dimensions describing qualities of the metric.
|
|
1013
|
-
:param
|
|
1014
|
-
:param
|
|
1015
|
-
:param
|
|
1016
|
-
:param
|
|
1017
|
-
:param
|
|
1012
|
+
:param _builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1013
|
+
: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).
|
|
1014
|
+
:param _builtins.int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1015
|
+
: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.
|
|
1016
|
+
:param _builtins.str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1018
1017
|
"""
|
|
1019
1018
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1020
1019
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1040,65 +1039,65 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1040
1039
|
if statistic is not None:
|
|
1041
1040
|
pulumi.set(__self__, "statistic", statistic)
|
|
1042
1041
|
|
|
1043
|
-
@property
|
|
1042
|
+
@_builtins.property
|
|
1044
1043
|
@pulumi.getter(name="metricName")
|
|
1045
|
-
def metric_name(self) ->
|
|
1044
|
+
def metric_name(self) -> _builtins.str:
|
|
1046
1045
|
"""
|
|
1047
1046
|
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".
|
|
1048
1047
|
"""
|
|
1049
1048
|
return pulumi.get(self, "metric_name")
|
|
1050
1049
|
|
|
1051
|
-
@property
|
|
1050
|
+
@_builtins.property
|
|
1052
1051
|
@pulumi.getter
|
|
1053
|
-
def namespace(self) ->
|
|
1052
|
+
def namespace(self) -> _builtins.str:
|
|
1054
1053
|
return pulumi.get(self, "namespace")
|
|
1055
1054
|
|
|
1056
|
-
@property
|
|
1055
|
+
@_builtins.property
|
|
1057
1056
|
@pulumi.getter(name="policyName")
|
|
1058
|
-
def policy_name(self) ->
|
|
1057
|
+
def policy_name(self) -> _builtins.str:
|
|
1059
1058
|
"""
|
|
1060
1059
|
Name of scaling policy.
|
|
1061
1060
|
"""
|
|
1062
1061
|
return pulumi.get(self, "policy_name")
|
|
1063
1062
|
|
|
1064
|
-
@property
|
|
1063
|
+
@_builtins.property
|
|
1065
1064
|
@pulumi.getter
|
|
1066
|
-
def threshold(self) ->
|
|
1065
|
+
def threshold(self) -> _builtins.float:
|
|
1067
1066
|
"""
|
|
1068
1067
|
The value at which the scaling action is triggered.
|
|
1069
1068
|
"""
|
|
1070
1069
|
return pulumi.get(self, "threshold")
|
|
1071
1070
|
|
|
1072
|
-
@property
|
|
1071
|
+
@_builtins.property
|
|
1073
1072
|
@pulumi.getter
|
|
1074
|
-
def unit(self) ->
|
|
1073
|
+
def unit(self) -> _builtins.str:
|
|
1075
1074
|
return pulumi.get(self, "unit")
|
|
1076
1075
|
|
|
1077
|
-
@property
|
|
1076
|
+
@_builtins.property
|
|
1078
1077
|
@pulumi.getter(name="actionType")
|
|
1079
|
-
def action_type(self) -> Optional[
|
|
1078
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1080
1079
|
"""
|
|
1081
1080
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1082
1081
|
"""
|
|
1083
1082
|
return pulumi.get(self, "action_type")
|
|
1084
1083
|
|
|
1085
|
-
@property
|
|
1084
|
+
@_builtins.property
|
|
1086
1085
|
@pulumi.getter
|
|
1087
|
-
def adjustment(self) -> Optional[
|
|
1086
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1088
1087
|
"""
|
|
1089
1088
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1090
1089
|
"""
|
|
1091
1090
|
return pulumi.get(self, "adjustment")
|
|
1092
1091
|
|
|
1093
|
-
@property
|
|
1092
|
+
@_builtins.property
|
|
1094
1093
|
@pulumi.getter
|
|
1095
|
-
def cooldown(self) -> Optional[
|
|
1094
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1096
1095
|
"""
|
|
1097
1096
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1098
1097
|
"""
|
|
1099
1098
|
return pulumi.get(self, "cooldown")
|
|
1100
1099
|
|
|
1101
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1102
1101
|
@pulumi.getter
|
|
1103
1102
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']]:
|
|
1104
1103
|
"""
|
|
@@ -1106,41 +1105,41 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1106
1105
|
"""
|
|
1107
1106
|
return pulumi.get(self, "dimensions")
|
|
1108
1107
|
|
|
1109
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1110
1109
|
@pulumi.getter(name="evaluationPeriods")
|
|
1111
|
-
def evaluation_periods(self) -> Optional[
|
|
1110
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1112
1111
|
"""
|
|
1113
1112
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1114
1113
|
"""
|
|
1115
1114
|
return pulumi.get(self, "evaluation_periods")
|
|
1116
1115
|
|
|
1117
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1118
1117
|
@pulumi.getter
|
|
1119
|
-
def operator(self) -> Optional[
|
|
1118
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1120
1119
|
"""
|
|
1121
1120
|
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).
|
|
1122
1121
|
"""
|
|
1123
1122
|
return pulumi.get(self, "operator")
|
|
1124
1123
|
|
|
1125
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1126
1125
|
@pulumi.getter
|
|
1127
|
-
def period(self) -> Optional[
|
|
1126
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1128
1127
|
"""
|
|
1129
1128
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1130
1129
|
"""
|
|
1131
1130
|
return pulumi.get(self, "period")
|
|
1132
1131
|
|
|
1133
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1134
1133
|
@pulumi.getter
|
|
1135
|
-
def source(self) -> Optional[
|
|
1134
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1136
1135
|
"""
|
|
1137
1136
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1138
1137
|
"""
|
|
1139
1138
|
return pulumi.get(self, "source")
|
|
1140
1139
|
|
|
1141
|
-
@property
|
|
1140
|
+
@_builtins.property
|
|
1142
1141
|
@pulumi.getter
|
|
1143
|
-
def statistic(self) -> Optional[
|
|
1142
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1144
1143
|
"""
|
|
1145
1144
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1146
1145
|
"""
|
|
@@ -1150,26 +1149,26 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1150
1149
|
@pulumi.output_type
|
|
1151
1150
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
1152
1151
|
def __init__(__self__, *,
|
|
1153
|
-
name:
|
|
1154
|
-
value: Optional[
|
|
1152
|
+
name: _builtins.str,
|
|
1153
|
+
value: Optional[_builtins.str] = None):
|
|
1155
1154
|
"""
|
|
1156
|
-
:param
|
|
1155
|
+
:param _builtins.str name: The group name.
|
|
1157
1156
|
"""
|
|
1158
1157
|
pulumi.set(__self__, "name", name)
|
|
1159
1158
|
if value is not None:
|
|
1160
1159
|
pulumi.set(__self__, "value", value)
|
|
1161
1160
|
|
|
1162
|
-
@property
|
|
1161
|
+
@_builtins.property
|
|
1163
1162
|
@pulumi.getter
|
|
1164
|
-
def name(self) ->
|
|
1163
|
+
def name(self) -> _builtins.str:
|
|
1165
1164
|
"""
|
|
1166
1165
|
The group name.
|
|
1167
1166
|
"""
|
|
1168
1167
|
return pulumi.get(self, "name")
|
|
1169
1168
|
|
|
1170
|
-
@property
|
|
1169
|
+
@_builtins.property
|
|
1171
1170
|
@pulumi.getter
|
|
1172
|
-
def value(self) -> Optional[
|
|
1171
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1173
1172
|
return pulumi.get(self, "value")
|
|
1174
1173
|
|
|
1175
1174
|
|
|
@@ -1199,33 +1198,33 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1199
1198
|
return super().get(key, default)
|
|
1200
1199
|
|
|
1201
1200
|
def __init__(__self__, *,
|
|
1202
|
-
metric_name:
|
|
1203
|
-
namespace:
|
|
1204
|
-
policy_name:
|
|
1205
|
-
threshold:
|
|
1206
|
-
unit:
|
|
1207
|
-
action_type: Optional[
|
|
1208
|
-
adjustment: Optional[
|
|
1209
|
-
cooldown: Optional[
|
|
1201
|
+
metric_name: _builtins.str,
|
|
1202
|
+
namespace: _builtins.str,
|
|
1203
|
+
policy_name: _builtins.str,
|
|
1204
|
+
threshold: _builtins.float,
|
|
1205
|
+
unit: _builtins.str,
|
|
1206
|
+
action_type: Optional[_builtins.str] = None,
|
|
1207
|
+
adjustment: Optional[_builtins.int] = None,
|
|
1208
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1210
1209
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
1211
|
-
evaluation_periods: Optional[
|
|
1212
|
-
operator: Optional[
|
|
1213
|
-
period: Optional[
|
|
1214
|
-
source: Optional[
|
|
1215
|
-
statistic: Optional[
|
|
1216
|
-
"""
|
|
1217
|
-
:param
|
|
1218
|
-
:param
|
|
1219
|
-
:param
|
|
1220
|
-
:param
|
|
1221
|
-
:param
|
|
1222
|
-
:param
|
|
1210
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1211
|
+
operator: Optional[_builtins.str] = None,
|
|
1212
|
+
period: Optional[_builtins.int] = None,
|
|
1213
|
+
source: Optional[_builtins.str] = None,
|
|
1214
|
+
statistic: Optional[_builtins.str] = None):
|
|
1215
|
+
"""
|
|
1216
|
+
: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".
|
|
1217
|
+
:param _builtins.str policy_name: Name of scaling policy.
|
|
1218
|
+
:param _builtins.float threshold: The value at which the scaling action is triggered.
|
|
1219
|
+
:param _builtins.str action_type: Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1220
|
+
:param _builtins.int adjustment: Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1221
|
+
:param _builtins.int cooldown: Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1223
1222
|
:param Sequence['ElastigroupScalingUpPolicyDimensionArgs'] dimensions: A list of dimensions describing qualities of the metric.
|
|
1224
|
-
:param
|
|
1225
|
-
:param
|
|
1226
|
-
:param
|
|
1227
|
-
:param
|
|
1228
|
-
:param
|
|
1223
|
+
:param _builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1224
|
+
: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).
|
|
1225
|
+
:param _builtins.int period: Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1226
|
+
: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.
|
|
1227
|
+
:param _builtins.str statistic: Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1229
1228
|
"""
|
|
1230
1229
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1231
1230
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1251,65 +1250,65 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1251
1250
|
if statistic is not None:
|
|
1252
1251
|
pulumi.set(__self__, "statistic", statistic)
|
|
1253
1252
|
|
|
1254
|
-
@property
|
|
1253
|
+
@_builtins.property
|
|
1255
1254
|
@pulumi.getter(name="metricName")
|
|
1256
|
-
def metric_name(self) ->
|
|
1255
|
+
def metric_name(self) -> _builtins.str:
|
|
1257
1256
|
"""
|
|
1258
1257
|
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".
|
|
1259
1258
|
"""
|
|
1260
1259
|
return pulumi.get(self, "metric_name")
|
|
1261
1260
|
|
|
1262
|
-
@property
|
|
1261
|
+
@_builtins.property
|
|
1263
1262
|
@pulumi.getter
|
|
1264
|
-
def namespace(self) ->
|
|
1263
|
+
def namespace(self) -> _builtins.str:
|
|
1265
1264
|
return pulumi.get(self, "namespace")
|
|
1266
1265
|
|
|
1267
|
-
@property
|
|
1266
|
+
@_builtins.property
|
|
1268
1267
|
@pulumi.getter(name="policyName")
|
|
1269
|
-
def policy_name(self) ->
|
|
1268
|
+
def policy_name(self) -> _builtins.str:
|
|
1270
1269
|
"""
|
|
1271
1270
|
Name of scaling policy.
|
|
1272
1271
|
"""
|
|
1273
1272
|
return pulumi.get(self, "policy_name")
|
|
1274
1273
|
|
|
1275
|
-
@property
|
|
1274
|
+
@_builtins.property
|
|
1276
1275
|
@pulumi.getter
|
|
1277
|
-
def threshold(self) ->
|
|
1276
|
+
def threshold(self) -> _builtins.float:
|
|
1278
1277
|
"""
|
|
1279
1278
|
The value at which the scaling action is triggered.
|
|
1280
1279
|
"""
|
|
1281
1280
|
return pulumi.get(self, "threshold")
|
|
1282
1281
|
|
|
1283
|
-
@property
|
|
1282
|
+
@_builtins.property
|
|
1284
1283
|
@pulumi.getter
|
|
1285
|
-
def unit(self) ->
|
|
1284
|
+
def unit(self) -> _builtins.str:
|
|
1286
1285
|
return pulumi.get(self, "unit")
|
|
1287
1286
|
|
|
1288
|
-
@property
|
|
1287
|
+
@_builtins.property
|
|
1289
1288
|
@pulumi.getter(name="actionType")
|
|
1290
|
-
def action_type(self) -> Optional[
|
|
1289
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1291
1290
|
"""
|
|
1292
1291
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1293
1292
|
"""
|
|
1294
1293
|
return pulumi.get(self, "action_type")
|
|
1295
1294
|
|
|
1296
|
-
@property
|
|
1295
|
+
@_builtins.property
|
|
1297
1296
|
@pulumi.getter
|
|
1298
|
-
def adjustment(self) -> Optional[
|
|
1297
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1299
1298
|
"""
|
|
1300
1299
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1301
1300
|
"""
|
|
1302
1301
|
return pulumi.get(self, "adjustment")
|
|
1303
1302
|
|
|
1304
|
-
@property
|
|
1303
|
+
@_builtins.property
|
|
1305
1304
|
@pulumi.getter
|
|
1306
|
-
def cooldown(self) -> Optional[
|
|
1305
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1307
1306
|
"""
|
|
1308
1307
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1309
1308
|
"""
|
|
1310
1309
|
return pulumi.get(self, "cooldown")
|
|
1311
1310
|
|
|
1312
|
-
@property
|
|
1311
|
+
@_builtins.property
|
|
1313
1312
|
@pulumi.getter
|
|
1314
1313
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']]:
|
|
1315
1314
|
"""
|
|
@@ -1317,41 +1316,41 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1317
1316
|
"""
|
|
1318
1317
|
return pulumi.get(self, "dimensions")
|
|
1319
1318
|
|
|
1320
|
-
@property
|
|
1319
|
+
@_builtins.property
|
|
1321
1320
|
@pulumi.getter(name="evaluationPeriods")
|
|
1322
|
-
def evaluation_periods(self) -> Optional[
|
|
1321
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1323
1322
|
"""
|
|
1324
1323
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1325
1324
|
"""
|
|
1326
1325
|
return pulumi.get(self, "evaluation_periods")
|
|
1327
1326
|
|
|
1328
|
-
@property
|
|
1327
|
+
@_builtins.property
|
|
1329
1328
|
@pulumi.getter
|
|
1330
|
-
def operator(self) -> Optional[
|
|
1329
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1331
1330
|
"""
|
|
1332
1331
|
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).
|
|
1333
1332
|
"""
|
|
1334
1333
|
return pulumi.get(self, "operator")
|
|
1335
1334
|
|
|
1336
|
-
@property
|
|
1335
|
+
@_builtins.property
|
|
1337
1336
|
@pulumi.getter
|
|
1338
|
-
def period(self) -> Optional[
|
|
1337
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1339
1338
|
"""
|
|
1340
1339
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1341
1340
|
"""
|
|
1342
1341
|
return pulumi.get(self, "period")
|
|
1343
1342
|
|
|
1344
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1345
1344
|
@pulumi.getter
|
|
1346
|
-
def source(self) -> Optional[
|
|
1345
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1347
1346
|
"""
|
|
1348
1347
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1349
1348
|
"""
|
|
1350
1349
|
return pulumi.get(self, "source")
|
|
1351
1350
|
|
|
1352
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1353
1352
|
@pulumi.getter
|
|
1354
|
-
def statistic(self) -> Optional[
|
|
1353
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1355
1354
|
"""
|
|
1356
1355
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1357
1356
|
"""
|
|
@@ -1361,11 +1360,11 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1361
1360
|
@pulumi.output_type
|
|
1362
1361
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1363
1362
|
def __init__(__self__, *,
|
|
1364
|
-
name:
|
|
1365
|
-
value: Optional[
|
|
1363
|
+
name: _builtins.str,
|
|
1364
|
+
value: Optional[_builtins.str] = None):
|
|
1366
1365
|
"""
|
|
1367
|
-
:param
|
|
1368
|
-
:param
|
|
1366
|
+
:param _builtins.str name: The dimension name.
|
|
1367
|
+
:param _builtins.str value: The dimension value.
|
|
1369
1368
|
|
|
1370
1369
|
Usage:
|
|
1371
1370
|
"""
|
|
@@ -1373,17 +1372,17 @@ class ElastigroupScalingUpPolicyDimension(dict):
|
|
|
1373
1372
|
if value is not None:
|
|
1374
1373
|
pulumi.set(__self__, "value", value)
|
|
1375
1374
|
|
|
1376
|
-
@property
|
|
1375
|
+
@_builtins.property
|
|
1377
1376
|
@pulumi.getter
|
|
1378
|
-
def name(self) ->
|
|
1377
|
+
def name(self) -> _builtins.str:
|
|
1379
1378
|
"""
|
|
1380
1379
|
The dimension name.
|
|
1381
1380
|
"""
|
|
1382
1381
|
return pulumi.get(self, "name")
|
|
1383
1382
|
|
|
1384
|
-
@property
|
|
1383
|
+
@_builtins.property
|
|
1385
1384
|
@pulumi.getter
|
|
1386
|
-
def value(self) -> Optional[
|
|
1385
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1387
1386
|
"""
|
|
1388
1387
|
The dimension value.
|
|
1389
1388
|
|
|
@@ -1422,21 +1421,21 @@ class ElastigroupScheduledTask(dict):
|
|
|
1422
1421
|
return super().get(key, default)
|
|
1423
1422
|
|
|
1424
1423
|
def __init__(__self__, *,
|
|
1425
|
-
task_type:
|
|
1426
|
-
cron_expression: Optional[
|
|
1427
|
-
is_enabled: Optional[
|
|
1428
|
-
max_capacity: Optional[
|
|
1429
|
-
min_capacity: Optional[
|
|
1430
|
-
target_capacity: Optional[
|
|
1431
|
-
"""
|
|
1432
|
-
:param
|
|
1433
|
-
:param
|
|
1434
|
-
:param
|
|
1435
|
-
:param
|
|
1424
|
+
task_type: _builtins.str,
|
|
1425
|
+
cron_expression: Optional[_builtins.str] = None,
|
|
1426
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
1427
|
+
max_capacity: Optional[_builtins.str] = None,
|
|
1428
|
+
min_capacity: Optional[_builtins.str] = None,
|
|
1429
|
+
target_capacity: Optional[_builtins.str] = None):
|
|
1430
|
+
"""
|
|
1431
|
+
:param _builtins.str task_type: The task type to run. Valid values: `"setCapacity"`.
|
|
1432
|
+
: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).
|
|
1433
|
+
:param _builtins.bool is_enabled: Setting the task to being enabled or disabled.
|
|
1434
|
+
:param _builtins.str max_capacity: The maximum number of instances the group should have.
|
|
1436
1435
|
|
|
1437
1436
|
Usage:
|
|
1438
|
-
:param
|
|
1439
|
-
:param
|
|
1437
|
+
:param _builtins.str min_capacity: The minimum number of instances the group should have.
|
|
1438
|
+
:param _builtins.str target_capacity: The desired number of instances the group should have.
|
|
1440
1439
|
"""
|
|
1441
1440
|
pulumi.set(__self__, "task_type", task_type)
|
|
1442
1441
|
if cron_expression is not None:
|
|
@@ -1450,33 +1449,33 @@ class ElastigroupScheduledTask(dict):
|
|
|
1450
1449
|
if target_capacity is not None:
|
|
1451
1450
|
pulumi.set(__self__, "target_capacity", target_capacity)
|
|
1452
1451
|
|
|
1453
|
-
@property
|
|
1452
|
+
@_builtins.property
|
|
1454
1453
|
@pulumi.getter(name="taskType")
|
|
1455
|
-
def task_type(self) ->
|
|
1454
|
+
def task_type(self) -> _builtins.str:
|
|
1456
1455
|
"""
|
|
1457
1456
|
The task type to run. Valid values: `"setCapacity"`.
|
|
1458
1457
|
"""
|
|
1459
1458
|
return pulumi.get(self, "task_type")
|
|
1460
1459
|
|
|
1461
|
-
@property
|
|
1460
|
+
@_builtins.property
|
|
1462
1461
|
@pulumi.getter(name="cronExpression")
|
|
1463
|
-
def cron_expression(self) -> Optional[
|
|
1462
|
+
def cron_expression(self) -> Optional[_builtins.str]:
|
|
1464
1463
|
"""
|
|
1465
1464
|
A valid cron expression. The cron is running in UTC time zone and is in [Unix cron format](https://en.wikipedia.org/wiki/Cron).
|
|
1466
1465
|
"""
|
|
1467
1466
|
return pulumi.get(self, "cron_expression")
|
|
1468
1467
|
|
|
1469
|
-
@property
|
|
1468
|
+
@_builtins.property
|
|
1470
1469
|
@pulumi.getter(name="isEnabled")
|
|
1471
|
-
def is_enabled(self) -> Optional[
|
|
1470
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1472
1471
|
"""
|
|
1473
1472
|
Setting the task to being enabled or disabled.
|
|
1474
1473
|
"""
|
|
1475
1474
|
return pulumi.get(self, "is_enabled")
|
|
1476
1475
|
|
|
1477
|
-
@property
|
|
1476
|
+
@_builtins.property
|
|
1478
1477
|
@pulumi.getter(name="maxCapacity")
|
|
1479
|
-
def max_capacity(self) -> Optional[
|
|
1478
|
+
def max_capacity(self) -> Optional[_builtins.str]:
|
|
1480
1479
|
"""
|
|
1481
1480
|
The maximum number of instances the group should have.
|
|
1482
1481
|
|
|
@@ -1484,17 +1483,17 @@ class ElastigroupScheduledTask(dict):
|
|
|
1484
1483
|
"""
|
|
1485
1484
|
return pulumi.get(self, "max_capacity")
|
|
1486
1485
|
|
|
1487
|
-
@property
|
|
1486
|
+
@_builtins.property
|
|
1488
1487
|
@pulumi.getter(name="minCapacity")
|
|
1489
|
-
def min_capacity(self) -> Optional[
|
|
1488
|
+
def min_capacity(self) -> Optional[_builtins.str]:
|
|
1490
1489
|
"""
|
|
1491
1490
|
The minimum number of instances the group should have.
|
|
1492
1491
|
"""
|
|
1493
1492
|
return pulumi.get(self, "min_capacity")
|
|
1494
1493
|
|
|
1495
|
-
@property
|
|
1494
|
+
@_builtins.property
|
|
1496
1495
|
@pulumi.getter(name="targetCapacity")
|
|
1497
|
-
def target_capacity(self) -> Optional[
|
|
1496
|
+
def target_capacity(self) -> Optional[_builtins.str]:
|
|
1498
1497
|
"""
|
|
1499
1498
|
The desired number of instances the group should have.
|
|
1500
1499
|
"""
|
|
@@ -1523,28 +1522,28 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1523
1522
|
return super().get(key, default)
|
|
1524
1523
|
|
|
1525
1524
|
def __init__(__self__, *,
|
|
1526
|
-
enable_integrity_monitoring: Optional[
|
|
1527
|
-
enable_secure_boot: Optional[
|
|
1525
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
1526
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1528
1527
|
"""
|
|
1529
|
-
:param
|
|
1530
|
-
:param
|
|
1528
|
+
:param _builtins.bool enable_integrity_monitoring: Default: false
|
|
1529
|
+
:param _builtins.bool enable_secure_boot: Default: false
|
|
1531
1530
|
"""
|
|
1532
1531
|
if enable_integrity_monitoring is not None:
|
|
1533
1532
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1534
1533
|
if enable_secure_boot is not None:
|
|
1535
1534
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1536
1535
|
|
|
1537
|
-
@property
|
|
1536
|
+
@_builtins.property
|
|
1538
1537
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1539
|
-
def enable_integrity_monitoring(self) -> Optional[
|
|
1538
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1540
1539
|
"""
|
|
1541
1540
|
Default: false
|
|
1542
1541
|
"""
|
|
1543
1542
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1544
1543
|
|
|
1545
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1546
1545
|
@pulumi.getter(name="enableSecureBoot")
|
|
1547
|
-
def enable_secure_boot(self) -> Optional[
|
|
1546
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1548
1547
|
"""
|
|
1549
1548
|
Default: false
|
|
1550
1549
|
"""
|
|
@@ -1571,26 +1570,26 @@ class ElastigroupSubnet(dict):
|
|
|
1571
1570
|
return super().get(key, default)
|
|
1572
1571
|
|
|
1573
1572
|
def __init__(__self__, *,
|
|
1574
|
-
region:
|
|
1575
|
-
subnet_names: Sequence[
|
|
1573
|
+
region: _builtins.str,
|
|
1574
|
+
subnet_names: Sequence[_builtins.str]):
|
|
1576
1575
|
"""
|
|
1577
|
-
:param
|
|
1578
|
-
:param Sequence[
|
|
1576
|
+
:param _builtins.str region: The region for the group of subnets.
|
|
1577
|
+
:param Sequence[_builtins.str] subnet_names: The names of the subnets in the region.
|
|
1579
1578
|
"""
|
|
1580
1579
|
pulumi.set(__self__, "region", region)
|
|
1581
1580
|
pulumi.set(__self__, "subnet_names", subnet_names)
|
|
1582
1581
|
|
|
1583
|
-
@property
|
|
1582
|
+
@_builtins.property
|
|
1584
1583
|
@pulumi.getter
|
|
1585
|
-
def region(self) ->
|
|
1584
|
+
def region(self) -> _builtins.str:
|
|
1586
1585
|
"""
|
|
1587
1586
|
The region for the group of subnets.
|
|
1588
1587
|
"""
|
|
1589
1588
|
return pulumi.get(self, "region")
|
|
1590
1589
|
|
|
1591
|
-
@property
|
|
1590
|
+
@_builtins.property
|
|
1592
1591
|
@pulumi.getter(name="subnetNames")
|
|
1593
|
-
def subnet_names(self) -> Sequence[
|
|
1592
|
+
def subnet_names(self) -> Sequence[_builtins.str]:
|
|
1594
1593
|
"""
|
|
1595
1594
|
The names of the subnets in the region.
|
|
1596
1595
|
"""
|