pulumi-spotinst 3.115.0a1742873189__py3-none-any.whl → 3.128.0a1767140134__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.
- pulumi_spotinst/__init__.py +11 -1
- pulumi_spotinst/_inputs.py +2206 -1519
- pulumi_spotinst/_utilities.py +1 -1
- pulumi_spotinst/account.py +20 -19
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +3991 -3619
- pulumi_spotinst/aws/account.py +20 -19
- pulumi_spotinst/aws/beanstalk.py +254 -177
- pulumi_spotinst/aws/credentials.py +37 -36
- pulumi_spotinst/aws/elastigroup.py +938 -950
- pulumi_spotinst/aws/managed_instance.py +507 -506
- pulumi_spotinst/aws/mr_scalar.py +658 -653
- pulumi_spotinst/aws/ocean.py +624 -529
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +37 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +395 -300
- pulumi_spotinst/aws/outputs.py +2631 -2371
- pulumi_spotinst/aws/suspension.py +23 -22
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +607 -607
- pulumi_spotinst/azure/ocean_np.py +387 -386
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +323 -322
- pulumi_spotinst/azure/outputs.py +411 -411
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +2 -2
- pulumi_spotinst/config/vars.py +6 -6
- pulumi_spotinst/credentials_azure.py +139 -89
- pulumi_spotinst/credentials_gcp.py +190 -189
- pulumi_spotinst/data_integration.py +40 -39
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +584 -584
- pulumi_spotinst/ecs/ocean.py +628 -415
- pulumi_spotinst/ecs/ocean_launch_spec.py +197 -196
- pulumi_spotinst/ecs/outputs.py +394 -394
- pulumi_spotinst/elastigroup_azure_v3.py +326 -325
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +573 -499
- pulumi_spotinst/gcp/elastigroup.py +491 -482
- pulumi_spotinst/gcp/outputs.py +395 -330
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +1120 -895
- pulumi_spotinst/gke/elastigroup.py +341 -340
- pulumi_spotinst/gke/ocean_import.py +204 -203
- pulumi_spotinst/gke/ocean_launch_spec.py +285 -213
- pulumi_spotinst/gke/ocean_launch_spec_import.py +37 -36
- pulumi_spotinst/gke/outputs.py +769 -583
- pulumi_spotinst/health_check.py +106 -65
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +424 -77
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +764 -764
- pulumi_spotinst/oceancd/outputs.py +526 -526
- pulumi_spotinst/oceancd/rollout_spec.py +35 -34
- pulumi_spotinst/oceancd/strategy.py +22 -21
- pulumi_spotinst/oceancd/verification_provider.py +52 -51
- pulumi_spotinst/oceancd/verification_template.py +26 -25
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +68 -68
- pulumi_spotinst/organization/outputs.py +46 -46
- pulumi_spotinst/organization/policy.py +40 -39
- pulumi_spotinst/organization/programmatic_user.py +60 -59
- pulumi_spotinst/organization/user.py +108 -107
- pulumi_spotinst/organization/user_group.py +57 -56
- pulumi_spotinst/outputs.py +1472 -932
- pulumi_spotinst/provider.py +61 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +104 -104
- pulumi_spotinst/spark/ocean.py +38 -37
- pulumi_spotinst/spark/ocean_virtual_node_group.py +29 -28
- pulumi_spotinst/spark/outputs.py +72 -72
- pulumi_spotinst/stateful_node_azure.py +318 -343
- pulumi_spotinst/subscription.py +88 -87
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +3 -3
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.115.0a1742873189.dist-info/RECORD +0 -76
- {pulumi_spotinst-3.115.0a1742873189.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gcp/outputs.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
7
|
import sys
|
|
8
8
|
import pulumi
|
|
@@ -17,6 +17,7 @@ from . import outputs
|
|
|
17
17
|
|
|
18
18
|
__all__ = [
|
|
19
19
|
'ElastigroupBackendService',
|
|
20
|
+
'ElastigroupBackendServiceBackendBalancing',
|
|
20
21
|
'ElastigroupBackendServiceNamedPort',
|
|
21
22
|
'ElastigroupDisk',
|
|
22
23
|
'ElastigroupDiskInitializeParam',
|
|
@@ -49,6 +50,8 @@ class ElastigroupBackendService(dict):
|
|
|
49
50
|
suggest = None
|
|
50
51
|
if key == "serviceName":
|
|
51
52
|
suggest = "service_name"
|
|
53
|
+
elif key == "backendBalancing":
|
|
54
|
+
suggest = "backend_balancing"
|
|
52
55
|
elif key == "locationType":
|
|
53
56
|
suggest = "location_type"
|
|
54
57
|
elif key == "namedPorts":
|
|
@@ -66,17 +69,21 @@ class ElastigroupBackendService(dict):
|
|
|
66
69
|
return super().get(key, default)
|
|
67
70
|
|
|
68
71
|
def __init__(__self__, *,
|
|
69
|
-
service_name: str,
|
|
70
|
-
|
|
72
|
+
service_name: _builtins.str,
|
|
73
|
+
backend_balancing: Optional['outputs.ElastigroupBackendServiceBackendBalancing'] = None,
|
|
74
|
+
location_type: Optional[_builtins.str] = None,
|
|
71
75
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
72
|
-
scheme: Optional[str] = None):
|
|
76
|
+
scheme: Optional[_builtins.str] = None):
|
|
73
77
|
"""
|
|
74
|
-
:param str service_name: The name of the backend service.
|
|
75
|
-
:param
|
|
78
|
+
:param _builtins.str service_name: The name of the backend service.
|
|
79
|
+
:param 'ElastigroupBackendServiceBackendBalancingArgs' backend_balancing: Configure how traffic is distributed across instance groups.
|
|
80
|
+
:param _builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
76
81
|
: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`.
|
|
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`.
|
|
78
83
|
"""
|
|
79
84
|
pulumi.set(__self__, "service_name", service_name)
|
|
85
|
+
if backend_balancing is not None:
|
|
86
|
+
pulumi.set(__self__, "backend_balancing", backend_balancing)
|
|
80
87
|
if location_type is not None:
|
|
81
88
|
pulumi.set(__self__, "location_type", location_type)
|
|
82
89
|
if named_ports is not None:
|
|
@@ -84,23 +91,31 @@ class ElastigroupBackendService(dict):
|
|
|
84
91
|
if scheme is not None:
|
|
85
92
|
pulumi.set(__self__, "scheme", scheme)
|
|
86
93
|
|
|
87
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
88
95
|
@pulumi.getter(name="serviceName")
|
|
89
|
-
def service_name(self) -> str:
|
|
96
|
+
def service_name(self) -> _builtins.str:
|
|
90
97
|
"""
|
|
91
98
|
The name of the backend service.
|
|
92
99
|
"""
|
|
93
100
|
return pulumi.get(self, "service_name")
|
|
94
101
|
|
|
95
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
|
+
@pulumi.getter(name="backendBalancing")
|
|
104
|
+
def backend_balancing(self) -> Optional['outputs.ElastigroupBackendServiceBackendBalancing']:
|
|
105
|
+
"""
|
|
106
|
+
Configure how traffic is distributed across instance groups.
|
|
107
|
+
"""
|
|
108
|
+
return pulumi.get(self, "backend_balancing")
|
|
109
|
+
|
|
110
|
+
@_builtins.property
|
|
96
111
|
@pulumi.getter(name="locationType")
|
|
97
|
-
def location_type(self) -> Optional[str]:
|
|
112
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
98
113
|
"""
|
|
99
114
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
100
115
|
"""
|
|
101
116
|
return pulumi.get(self, "location_type")
|
|
102
117
|
|
|
103
|
-
@property
|
|
118
|
+
@_builtins.property
|
|
104
119
|
@pulumi.getter(name="namedPorts")
|
|
105
120
|
def named_ports(self) -> Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']]:
|
|
106
121
|
"""
|
|
@@ -108,9 +123,9 @@ class ElastigroupBackendService(dict):
|
|
|
108
123
|
"""
|
|
109
124
|
return pulumi.get(self, "named_ports")
|
|
110
125
|
|
|
111
|
-
@property
|
|
126
|
+
@_builtins.property
|
|
112
127
|
@pulumi.getter
|
|
113
|
-
def scheme(self) -> Optional[str]:
|
|
128
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
114
129
|
"""
|
|
115
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`.
|
|
116
131
|
"""
|
|
@@ -118,34 +133,84 @@ class ElastigroupBackendService(dict):
|
|
|
118
133
|
|
|
119
134
|
|
|
120
135
|
@pulumi.output_type
|
|
121
|
-
class
|
|
136
|
+
class ElastigroupBackendServiceBackendBalancing(dict):
|
|
137
|
+
@staticmethod
|
|
138
|
+
def __key_warning(key: str):
|
|
139
|
+
suggest = None
|
|
140
|
+
if key == "backendBalancingMode":
|
|
141
|
+
suggest = "backend_balancing_mode"
|
|
142
|
+
elif key == "maxRatePerInstance":
|
|
143
|
+
suggest = "max_rate_per_instance"
|
|
144
|
+
|
|
145
|
+
if suggest:
|
|
146
|
+
pulumi.log.warn(f"Key '{key}' not found in ElastigroupBackendServiceBackendBalancing. Access the value via the '{suggest}' property getter instead.")
|
|
147
|
+
|
|
148
|
+
def __getitem__(self, key: str) -> Any:
|
|
149
|
+
ElastigroupBackendServiceBackendBalancing.__key_warning(key)
|
|
150
|
+
return super().__getitem__(key)
|
|
151
|
+
|
|
152
|
+
def get(self, key: str, default = None) -> Any:
|
|
153
|
+
ElastigroupBackendServiceBackendBalancing.__key_warning(key)
|
|
154
|
+
return super().get(key, default)
|
|
155
|
+
|
|
122
156
|
def __init__(__self__, *,
|
|
123
|
-
|
|
124
|
-
|
|
157
|
+
backend_balancing_mode: Optional[_builtins.str] = None,
|
|
158
|
+
max_rate_per_instance: Optional[_builtins.int] = None):
|
|
125
159
|
"""
|
|
126
|
-
:param str
|
|
127
|
-
: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.
|
|
128
162
|
|
|
129
163
|
Usage:
|
|
130
164
|
"""
|
|
165
|
+
if backend_balancing_mode is not None:
|
|
166
|
+
pulumi.set(__self__, "backend_balancing_mode", backend_balancing_mode)
|
|
167
|
+
if max_rate_per_instance is not None:
|
|
168
|
+
pulumi.set(__self__, "max_rate_per_instance", max_rate_per_instance)
|
|
169
|
+
|
|
170
|
+
@_builtins.property
|
|
171
|
+
@pulumi.getter(name="backendBalancingMode")
|
|
172
|
+
def backend_balancing_mode(self) -> Optional[_builtins.str]:
|
|
173
|
+
"""
|
|
174
|
+
The backend balancing mode. Valid values: `RATE`, `UTILIZATION`.
|
|
175
|
+
"""
|
|
176
|
+
return pulumi.get(self, "backend_balancing_mode")
|
|
177
|
+
|
|
178
|
+
@_builtins.property
|
|
179
|
+
@pulumi.getter(name="maxRatePerInstance")
|
|
180
|
+
def max_rate_per_instance(self) -> Optional[_builtins.int]:
|
|
181
|
+
"""
|
|
182
|
+
If the backendBalancingMode is set to RATE, this field is required.
|
|
183
|
+
|
|
184
|
+
Usage:
|
|
185
|
+
"""
|
|
186
|
+
return pulumi.get(self, "max_rate_per_instance")
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
@pulumi.output_type
|
|
190
|
+
class ElastigroupBackendServiceNamedPort(dict):
|
|
191
|
+
def __init__(__self__, *,
|
|
192
|
+
name: _builtins.str,
|
|
193
|
+
ports: Sequence[_builtins.str]):
|
|
194
|
+
"""
|
|
195
|
+
:param _builtins.str name: The name of the port.
|
|
196
|
+
:param Sequence[_builtins.str] ports: A list of ports.
|
|
197
|
+
"""
|
|
131
198
|
pulumi.set(__self__, "name", name)
|
|
132
199
|
pulumi.set(__self__, "ports", ports)
|
|
133
200
|
|
|
134
|
-
@property
|
|
201
|
+
@_builtins.property
|
|
135
202
|
@pulumi.getter
|
|
136
|
-
def name(self) -> str:
|
|
203
|
+
def name(self) -> _builtins.str:
|
|
137
204
|
"""
|
|
138
205
|
The name of the port.
|
|
139
206
|
"""
|
|
140
207
|
return pulumi.get(self, "name")
|
|
141
208
|
|
|
142
|
-
@property
|
|
209
|
+
@_builtins.property
|
|
143
210
|
@pulumi.getter
|
|
144
|
-
def ports(self) -> Sequence[str]:
|
|
211
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
145
212
|
"""
|
|
146
213
|
A list of ports.
|
|
147
|
-
|
|
148
|
-
Usage:
|
|
149
214
|
"""
|
|
150
215
|
return pulumi.get(self, "ports")
|
|
151
216
|
|
|
@@ -174,23 +239,23 @@ class ElastigroupDisk(dict):
|
|
|
174
239
|
return super().get(key, default)
|
|
175
240
|
|
|
176
241
|
def __init__(__self__, *,
|
|
177
|
-
auto_delete: Optional[bool] = None,
|
|
178
|
-
boot: Optional[bool] = None,
|
|
179
|
-
device_name: Optional[str] = None,
|
|
242
|
+
auto_delete: Optional[_builtins.bool] = None,
|
|
243
|
+
boot: Optional[_builtins.bool] = None,
|
|
244
|
+
device_name: Optional[_builtins.str] = None,
|
|
180
245
|
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.
|
|
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.
|
|
189
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.
|
|
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.
|
|
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.
|
|
194
259
|
"""
|
|
195
260
|
if auto_delete is not None:
|
|
196
261
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
@@ -209,31 +274,31 @@ class ElastigroupDisk(dict):
|
|
|
209
274
|
if type is not None:
|
|
210
275
|
pulumi.set(__self__, "type", type)
|
|
211
276
|
|
|
212
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
213
278
|
@pulumi.getter(name="autoDelete")
|
|
214
|
-
def auto_delete(self) -> Optional[bool]:
|
|
279
|
+
def auto_delete(self) -> Optional[_builtins.bool]:
|
|
215
280
|
"""
|
|
216
281
|
Specifies whether the disk will be auto-deleted when the instance is deleted.
|
|
217
282
|
"""
|
|
218
283
|
return pulumi.get(self, "auto_delete")
|
|
219
284
|
|
|
220
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
221
286
|
@pulumi.getter
|
|
222
|
-
def boot(self) -> Optional[bool]:
|
|
287
|
+
def boot(self) -> Optional[_builtins.bool]:
|
|
223
288
|
"""
|
|
224
289
|
Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
|
|
225
290
|
"""
|
|
226
291
|
return pulumi.get(self, "boot")
|
|
227
292
|
|
|
228
|
-
@property
|
|
293
|
+
@_builtins.property
|
|
229
294
|
@pulumi.getter(name="deviceName")
|
|
230
|
-
def device_name(self) -> Optional[str]:
|
|
295
|
+
def device_name(self) -> Optional[_builtins.str]:
|
|
231
296
|
"""
|
|
232
297
|
Specifies a unique device name of your choice.
|
|
233
298
|
"""
|
|
234
299
|
return pulumi.get(self, "device_name")
|
|
235
300
|
|
|
236
|
-
@property
|
|
301
|
+
@_builtins.property
|
|
237
302
|
@pulumi.getter(name="initializeParams")
|
|
238
303
|
def initialize_params(self) -> Optional[Sequence['outputs.ElastigroupDiskInitializeParam']]:
|
|
239
304
|
"""
|
|
@@ -241,33 +306,33 @@ class ElastigroupDisk(dict):
|
|
|
241
306
|
"""
|
|
242
307
|
return pulumi.get(self, "initialize_params")
|
|
243
308
|
|
|
244
|
-
@property
|
|
309
|
+
@_builtins.property
|
|
245
310
|
@pulumi.getter
|
|
246
|
-
def interface(self) -> Optional[str]:
|
|
311
|
+
def interface(self) -> Optional[_builtins.str]:
|
|
247
312
|
"""
|
|
248
313
|
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
|
249
314
|
"""
|
|
250
315
|
return pulumi.get(self, "interface")
|
|
251
316
|
|
|
252
|
-
@property
|
|
317
|
+
@_builtins.property
|
|
253
318
|
@pulumi.getter
|
|
254
|
-
def mode(self) -> Optional[str]:
|
|
319
|
+
def mode(self) -> Optional[_builtins.str]:
|
|
255
320
|
"""
|
|
256
321
|
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
|
257
322
|
"""
|
|
258
323
|
return pulumi.get(self, "mode")
|
|
259
324
|
|
|
260
|
-
@property
|
|
325
|
+
@_builtins.property
|
|
261
326
|
@pulumi.getter
|
|
262
|
-
def source(self) -> Optional[str]:
|
|
327
|
+
def source(self) -> Optional[_builtins.str]:
|
|
263
328
|
"""
|
|
264
329
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
265
330
|
"""
|
|
266
331
|
return pulumi.get(self, "source")
|
|
267
332
|
|
|
268
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
269
334
|
@pulumi.getter
|
|
270
|
-
def type(self) -> Optional[str]:
|
|
335
|
+
def type(self) -> Optional[_builtins.str]:
|
|
271
336
|
"""
|
|
272
337
|
Specifies the type of disk, either SCRATCH or PERSISTENT.
|
|
273
338
|
"""
|
|
@@ -298,15 +363,15 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
298
363
|
return super().get(key, default)
|
|
299
364
|
|
|
300
365
|
def __init__(__self__, *,
|
|
301
|
-
source_image: str,
|
|
302
|
-
disk_size_gb: Optional[str] = None,
|
|
303
|
-
disk_type: Optional[str] = None):
|
|
366
|
+
source_image: _builtins.str,
|
|
367
|
+
disk_size_gb: Optional[_builtins.str] = None,
|
|
368
|
+
disk_type: Optional[_builtins.str] = None):
|
|
304
369
|
"""
|
|
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.
|
|
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.
|
|
306
371
|
|
|
307
372
|
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.
|
|
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.
|
|
310
375
|
"""
|
|
311
376
|
pulumi.set(__self__, "source_image", source_image)
|
|
312
377
|
if disk_size_gb is not None:
|
|
@@ -314,9 +379,9 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
314
379
|
if disk_type is not None:
|
|
315
380
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
316
381
|
|
|
317
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
318
383
|
@pulumi.getter(name="sourceImage")
|
|
319
|
-
def source_image(self) -> str:
|
|
384
|
+
def source_image(self) -> _builtins.str:
|
|
320
385
|
"""
|
|
321
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.
|
|
322
387
|
|
|
@@ -324,17 +389,17 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
324
389
|
"""
|
|
325
390
|
return pulumi.get(self, "source_image")
|
|
326
391
|
|
|
327
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
328
393
|
@pulumi.getter(name="diskSizeGb")
|
|
329
|
-
def disk_size_gb(self) -> Optional[str]:
|
|
394
|
+
def disk_size_gb(self) -> Optional[_builtins.str]:
|
|
330
395
|
"""
|
|
331
396
|
Specifies disk size in gigabytes. Must be in increments of 2.
|
|
332
397
|
"""
|
|
333
398
|
return pulumi.get(self, "disk_size_gb")
|
|
334
399
|
|
|
335
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
336
401
|
@pulumi.getter(name="diskType")
|
|
337
|
-
def disk_type(self) -> Optional[str]:
|
|
402
|
+
def disk_type(self) -> Optional[_builtins.str]:
|
|
338
403
|
"""
|
|
339
404
|
Specifies the disk type to use to create the instance. Valid values: pd-ssd, local-ssd.
|
|
340
405
|
"""
|
|
@@ -344,20 +409,20 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
344
409
|
@pulumi.output_type
|
|
345
410
|
class ElastigroupGpu(dict):
|
|
346
411
|
def __init__(__self__, *,
|
|
347
|
-
count: int,
|
|
348
|
-
type: str):
|
|
412
|
+
count: _builtins.int,
|
|
413
|
+
type: _builtins.str):
|
|
349
414
|
"""
|
|
350
|
-
:param int count: The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
415
|
+
:param _builtins.int count: The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
351
416
|
|
|
352
417
|
Usage:
|
|
353
|
-
:param str type: The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
418
|
+
:param _builtins.str type: The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
354
419
|
"""
|
|
355
420
|
pulumi.set(__self__, "count", count)
|
|
356
421
|
pulumi.set(__self__, "type", type)
|
|
357
422
|
|
|
358
|
-
@property
|
|
423
|
+
@_builtins.property
|
|
359
424
|
@pulumi.getter
|
|
360
|
-
def count(self) -> int:
|
|
425
|
+
def count(self) -> _builtins.int:
|
|
361
426
|
"""
|
|
362
427
|
The number of GPUs. Must be 0, 2, 4, 6, 8.
|
|
363
428
|
|
|
@@ -365,9 +430,9 @@ class ElastigroupGpu(dict):
|
|
|
365
430
|
"""
|
|
366
431
|
return pulumi.get(self, "count")
|
|
367
432
|
|
|
368
|
-
@property
|
|
433
|
+
@_builtins.property
|
|
369
434
|
@pulumi.getter
|
|
370
|
-
def type(self) -> str:
|
|
435
|
+
def type(self) -> _builtins.str:
|
|
371
436
|
"""
|
|
372
437
|
The type of GPU instance. Valid values: `nvidia-tesla-v100`, `nvidia-tesla-p100`, `nvidia-tesla-k80`.
|
|
373
438
|
"""
|
|
@@ -394,25 +459,25 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
394
459
|
return super().get(key, default)
|
|
395
460
|
|
|
396
461
|
def __init__(__self__, *,
|
|
397
|
-
memory_gib: int,
|
|
398
|
-
vcpu: int):
|
|
462
|
+
memory_gib: _builtins.int,
|
|
463
|
+
vcpu: _builtins.int):
|
|
399
464
|
"""
|
|
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]
|
|
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]
|
|
401
466
|
"""
|
|
402
467
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
403
468
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
404
469
|
|
|
405
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
406
471
|
@pulumi.getter(name="memoryGib")
|
|
407
|
-
def memory_gib(self) -> int:
|
|
472
|
+
def memory_gib(self) -> _builtins.int:
|
|
408
473
|
"""
|
|
409
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]
|
|
410
475
|
"""
|
|
411
476
|
return pulumi.get(self, "memory_gib")
|
|
412
477
|
|
|
413
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
414
479
|
@pulumi.getter
|
|
415
|
-
def vcpu(self) -> int:
|
|
480
|
+
def vcpu(self) -> _builtins.int:
|
|
416
481
|
return pulumi.get(self, "vcpu")
|
|
417
482
|
|
|
418
483
|
|
|
@@ -438,28 +503,28 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
438
503
|
return super().get(key, default)
|
|
439
504
|
|
|
440
505
|
def __init__(__self__, *,
|
|
441
|
-
master_host: str,
|
|
442
|
-
master_port: int):
|
|
506
|
+
master_host: _builtins.str,
|
|
507
|
+
master_port: _builtins.int):
|
|
443
508
|
"""
|
|
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.
|
|
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.
|
|
446
511
|
|
|
447
512
|
Usage:
|
|
448
513
|
"""
|
|
449
514
|
pulumi.set(__self__, "master_host", master_host)
|
|
450
515
|
pulumi.set(__self__, "master_port", master_port)
|
|
451
516
|
|
|
452
|
-
@property
|
|
517
|
+
@_builtins.property
|
|
453
518
|
@pulumi.getter(name="masterHost")
|
|
454
|
-
def master_host(self) -> str:
|
|
519
|
+
def master_host(self) -> _builtins.str:
|
|
455
520
|
"""
|
|
456
521
|
IP or FQDN of one of your swarm managers.
|
|
457
522
|
"""
|
|
458
523
|
return pulumi.get(self, "master_host")
|
|
459
524
|
|
|
460
|
-
@property
|
|
525
|
+
@_builtins.property
|
|
461
526
|
@pulumi.getter(name="masterPort")
|
|
462
|
-
def master_port(self) -> int:
|
|
527
|
+
def master_port(self) -> _builtins.int:
|
|
463
528
|
"""
|
|
464
529
|
Network port used by your swarm.
|
|
465
530
|
|
|
@@ -502,15 +567,15 @@ class ElastigroupIntegrationGke(dict):
|
|
|
502
567
|
return super().get(key, default)
|
|
503
568
|
|
|
504
569
|
def __init__(__self__, *,
|
|
505
|
-
auto_update: Optional[bool] = None,
|
|
506
|
-
autoscale_cooldown: Optional[int] = None,
|
|
570
|
+
auto_update: Optional[_builtins.bool] = None,
|
|
571
|
+
autoscale_cooldown: Optional[_builtins.int] = None,
|
|
507
572
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
508
573
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
509
|
-
autoscale_is_auto_config: Optional[bool] = None,
|
|
510
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
574
|
+
autoscale_is_auto_config: Optional[_builtins.bool] = None,
|
|
575
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
511
576
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
512
|
-
cluster_id: Optional[str] = None,
|
|
513
|
-
location: Optional[str] = None):
|
|
577
|
+
cluster_id: Optional[_builtins.str] = None,
|
|
578
|
+
location: Optional[_builtins.str] = None):
|
|
514
579
|
if auto_update is not None:
|
|
515
580
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
516
581
|
if autoscale_cooldown is not None:
|
|
@@ -530,49 +595,49 @@ class ElastigroupIntegrationGke(dict):
|
|
|
530
595
|
if location is not None:
|
|
531
596
|
pulumi.set(__self__, "location", location)
|
|
532
597
|
|
|
533
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
534
599
|
@pulumi.getter(name="autoUpdate")
|
|
535
|
-
def auto_update(self) -> Optional[bool]:
|
|
600
|
+
def auto_update(self) -> Optional[_builtins.bool]:
|
|
536
601
|
return pulumi.get(self, "auto_update")
|
|
537
602
|
|
|
538
|
-
@property
|
|
603
|
+
@_builtins.property
|
|
539
604
|
@pulumi.getter(name="autoscaleCooldown")
|
|
540
|
-
def autoscale_cooldown(self) -> Optional[int]:
|
|
605
|
+
def autoscale_cooldown(self) -> Optional[_builtins.int]:
|
|
541
606
|
return pulumi.get(self, "autoscale_cooldown")
|
|
542
607
|
|
|
543
|
-
@property
|
|
608
|
+
@_builtins.property
|
|
544
609
|
@pulumi.getter(name="autoscaleDown")
|
|
545
610
|
def autoscale_down(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown']:
|
|
546
611
|
return pulumi.get(self, "autoscale_down")
|
|
547
612
|
|
|
548
|
-
@property
|
|
613
|
+
@_builtins.property
|
|
549
614
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
550
615
|
def autoscale_headroom(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom']:
|
|
551
616
|
return pulumi.get(self, "autoscale_headroom")
|
|
552
617
|
|
|
553
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
554
619
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
555
|
-
def autoscale_is_auto_config(self) -> Optional[bool]:
|
|
620
|
+
def autoscale_is_auto_config(self) -> Optional[_builtins.bool]:
|
|
556
621
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
557
622
|
|
|
558
|
-
@property
|
|
623
|
+
@_builtins.property
|
|
559
624
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
560
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
625
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
561
626
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
562
627
|
|
|
563
|
-
@property
|
|
628
|
+
@_builtins.property
|
|
564
629
|
@pulumi.getter(name="autoscaleLabels")
|
|
565
630
|
def autoscale_labels(self) -> Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']]:
|
|
566
631
|
return pulumi.get(self, "autoscale_labels")
|
|
567
632
|
|
|
568
|
-
@property
|
|
633
|
+
@_builtins.property
|
|
569
634
|
@pulumi.getter(name="clusterId")
|
|
570
|
-
def cluster_id(self) -> Optional[str]:
|
|
635
|
+
def cluster_id(self) -> Optional[_builtins.str]:
|
|
571
636
|
return pulumi.get(self, "cluster_id")
|
|
572
637
|
|
|
573
|
-
@property
|
|
638
|
+
@_builtins.property
|
|
574
639
|
@pulumi.getter
|
|
575
|
-
def location(self) -> Optional[str]:
|
|
640
|
+
def location(self) -> Optional[_builtins.str]:
|
|
576
641
|
return pulumi.get(self, "location")
|
|
577
642
|
|
|
578
643
|
|
|
@@ -596,16 +661,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
596
661
|
return super().get(key, default)
|
|
597
662
|
|
|
598
663
|
def __init__(__self__, *,
|
|
599
|
-
evaluation_periods: Optional[int] = None):
|
|
664
|
+
evaluation_periods: Optional[_builtins.int] = None):
|
|
600
665
|
"""
|
|
601
|
-
:param int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
666
|
+
:param _builtins.int evaluation_periods: Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
602
667
|
"""
|
|
603
668
|
if evaluation_periods is not None:
|
|
604
669
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
605
670
|
|
|
606
|
-
@property
|
|
671
|
+
@_builtins.property
|
|
607
672
|
@pulumi.getter(name="evaluationPeriods")
|
|
608
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
673
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
609
674
|
"""
|
|
610
675
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
611
676
|
"""
|
|
@@ -636,9 +701,9 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
636
701
|
return super().get(key, default)
|
|
637
702
|
|
|
638
703
|
def __init__(__self__, *,
|
|
639
|
-
cpu_per_unit: Optional[int] = None,
|
|
640
|
-
memory_per_unit: Optional[int] = None,
|
|
641
|
-
num_of_units: Optional[int] = None):
|
|
704
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
705
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
706
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
642
707
|
if cpu_per_unit is not None:
|
|
643
708
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
644
709
|
if memory_per_unit is not None:
|
|
@@ -646,64 +711,64 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
646
711
|
if num_of_units is not None:
|
|
647
712
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
648
713
|
|
|
649
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
650
715
|
@pulumi.getter(name="cpuPerUnit")
|
|
651
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
716
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
652
717
|
return pulumi.get(self, "cpu_per_unit")
|
|
653
718
|
|
|
654
|
-
@property
|
|
719
|
+
@_builtins.property
|
|
655
720
|
@pulumi.getter(name="memoryPerUnit")
|
|
656
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
721
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
657
722
|
return pulumi.get(self, "memory_per_unit")
|
|
658
723
|
|
|
659
|
-
@property
|
|
724
|
+
@_builtins.property
|
|
660
725
|
@pulumi.getter(name="numOfUnits")
|
|
661
|
-
def num_of_units(self) -> Optional[int]:
|
|
726
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
662
727
|
return pulumi.get(self, "num_of_units")
|
|
663
728
|
|
|
664
729
|
|
|
665
730
|
@pulumi.output_type
|
|
666
731
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
667
732
|
def __init__(__self__, *,
|
|
668
|
-
key: str,
|
|
669
|
-
value: str):
|
|
733
|
+
key: _builtins.str,
|
|
734
|
+
value: _builtins.str):
|
|
670
735
|
pulumi.set(__self__, "key", key)
|
|
671
736
|
pulumi.set(__self__, "value", value)
|
|
672
737
|
|
|
673
|
-
@property
|
|
738
|
+
@_builtins.property
|
|
674
739
|
@pulumi.getter
|
|
675
|
-
def key(self) -> str:
|
|
740
|
+
def key(self) -> _builtins.str:
|
|
676
741
|
return pulumi.get(self, "key")
|
|
677
742
|
|
|
678
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
679
744
|
@pulumi.getter
|
|
680
|
-
def value(self) -> str:
|
|
745
|
+
def value(self) -> _builtins.str:
|
|
681
746
|
return pulumi.get(self, "value")
|
|
682
747
|
|
|
683
748
|
|
|
684
749
|
@pulumi.output_type
|
|
685
750
|
class ElastigroupLabel(dict):
|
|
686
751
|
def __init__(__self__, *,
|
|
687
|
-
key: str,
|
|
688
|
-
value: str):
|
|
752
|
+
key: _builtins.str,
|
|
753
|
+
value: _builtins.str):
|
|
689
754
|
"""
|
|
690
|
-
:param str key: Labels key.
|
|
691
|
-
:param str value: Labels value.
|
|
755
|
+
:param _builtins.str key: Labels key.
|
|
756
|
+
:param _builtins.str value: Labels value.
|
|
692
757
|
"""
|
|
693
758
|
pulumi.set(__self__, "key", key)
|
|
694
759
|
pulumi.set(__self__, "value", value)
|
|
695
760
|
|
|
696
|
-
@property
|
|
761
|
+
@_builtins.property
|
|
697
762
|
@pulumi.getter
|
|
698
|
-
def key(self) -> str:
|
|
763
|
+
def key(self) -> _builtins.str:
|
|
699
764
|
"""
|
|
700
765
|
Labels key.
|
|
701
766
|
"""
|
|
702
767
|
return pulumi.get(self, "key")
|
|
703
768
|
|
|
704
|
-
@property
|
|
769
|
+
@_builtins.property
|
|
705
770
|
@pulumi.getter
|
|
706
|
-
def value(self) -> str:
|
|
771
|
+
def value(self) -> _builtins.str:
|
|
707
772
|
"""
|
|
708
773
|
Labels value.
|
|
709
774
|
"""
|
|
@@ -713,26 +778,26 @@ class ElastigroupLabel(dict):
|
|
|
713
778
|
@pulumi.output_type
|
|
714
779
|
class ElastigroupMetadata(dict):
|
|
715
780
|
def __init__(__self__, *,
|
|
716
|
-
key: str,
|
|
717
|
-
value: str):
|
|
781
|
+
key: _builtins.str,
|
|
782
|
+
value: _builtins.str):
|
|
718
783
|
"""
|
|
719
|
-
:param str key: Metadata key.
|
|
720
|
-
:param str value: Metadata value.
|
|
784
|
+
:param _builtins.str key: Metadata key.
|
|
785
|
+
:param _builtins.str value: Metadata value.
|
|
721
786
|
"""
|
|
722
787
|
pulumi.set(__self__, "key", key)
|
|
723
788
|
pulumi.set(__self__, "value", value)
|
|
724
789
|
|
|
725
|
-
@property
|
|
790
|
+
@_builtins.property
|
|
726
791
|
@pulumi.getter
|
|
727
|
-
def key(self) -> str:
|
|
792
|
+
def key(self) -> _builtins.str:
|
|
728
793
|
"""
|
|
729
794
|
Metadata key.
|
|
730
795
|
"""
|
|
731
796
|
return pulumi.get(self, "key")
|
|
732
797
|
|
|
733
|
-
@property
|
|
798
|
+
@_builtins.property
|
|
734
799
|
@pulumi.getter
|
|
735
|
-
def value(self) -> str:
|
|
800
|
+
def value(self) -> _builtins.str:
|
|
736
801
|
"""
|
|
737
802
|
Metadata value.
|
|
738
803
|
"""
|
|
@@ -761,11 +826,11 @@ class ElastigroupNetworkInterface(dict):
|
|
|
761
826
|
return super().get(key, default)
|
|
762
827
|
|
|
763
828
|
def __init__(__self__, *,
|
|
764
|
-
network: str,
|
|
829
|
+
network: _builtins.str,
|
|
765
830
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
766
831
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
767
832
|
"""
|
|
768
|
-
:param str network: Network resource for this group.
|
|
833
|
+
:param _builtins.str network: Network resource for this group.
|
|
769
834
|
:param Sequence['ElastigroupNetworkInterfaceAccessConfigArgs'] access_configs: Array of configurations.
|
|
770
835
|
"""
|
|
771
836
|
pulumi.set(__self__, "network", network)
|
|
@@ -774,15 +839,15 @@ class ElastigroupNetworkInterface(dict):
|
|
|
774
839
|
if alias_ip_ranges is not None:
|
|
775
840
|
pulumi.set(__self__, "alias_ip_ranges", alias_ip_ranges)
|
|
776
841
|
|
|
777
|
-
@property
|
|
842
|
+
@_builtins.property
|
|
778
843
|
@pulumi.getter
|
|
779
|
-
def network(self) -> str:
|
|
844
|
+
def network(self) -> _builtins.str:
|
|
780
845
|
"""
|
|
781
846
|
Network resource for this group.
|
|
782
847
|
"""
|
|
783
848
|
return pulumi.get(self, "network")
|
|
784
849
|
|
|
785
|
-
@property
|
|
850
|
+
@_builtins.property
|
|
786
851
|
@pulumi.getter(name="accessConfigs")
|
|
787
852
|
def access_configs(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']]:
|
|
788
853
|
"""
|
|
@@ -790,7 +855,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
790
855
|
"""
|
|
791
856
|
return pulumi.get(self, "access_configs")
|
|
792
857
|
|
|
793
|
-
@property
|
|
858
|
+
@_builtins.property
|
|
794
859
|
@pulumi.getter(name="aliasIpRanges")
|
|
795
860
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']]:
|
|
796
861
|
return pulumi.get(self, "alias_ip_ranges")
|
|
@@ -799,27 +864,27 @@ class ElastigroupNetworkInterface(dict):
|
|
|
799
864
|
@pulumi.output_type
|
|
800
865
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
801
866
|
def __init__(__self__, *,
|
|
802
|
-
name: Optional[str] = None,
|
|
803
|
-
type: Optional[str] = None):
|
|
867
|
+
name: Optional[_builtins.str] = None,
|
|
868
|
+
type: Optional[_builtins.str] = None):
|
|
804
869
|
"""
|
|
805
|
-
:param str name: The group name.
|
|
870
|
+
:param _builtins.str name: The group name.
|
|
806
871
|
"""
|
|
807
872
|
if name is not None:
|
|
808
873
|
pulumi.set(__self__, "name", name)
|
|
809
874
|
if type is not None:
|
|
810
875
|
pulumi.set(__self__, "type", type)
|
|
811
876
|
|
|
812
|
-
@property
|
|
877
|
+
@_builtins.property
|
|
813
878
|
@pulumi.getter
|
|
814
|
-
def name(self) -> Optional[str]:
|
|
879
|
+
def name(self) -> Optional[_builtins.str]:
|
|
815
880
|
"""
|
|
816
881
|
The group name.
|
|
817
882
|
"""
|
|
818
883
|
return pulumi.get(self, "name")
|
|
819
884
|
|
|
820
|
-
@property
|
|
885
|
+
@_builtins.property
|
|
821
886
|
@pulumi.getter
|
|
822
|
-
def type(self) -> Optional[str]:
|
|
887
|
+
def type(self) -> Optional[_builtins.str]:
|
|
823
888
|
return pulumi.get(self, "type")
|
|
824
889
|
|
|
825
890
|
|
|
@@ -845,19 +910,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
845
910
|
return super().get(key, default)
|
|
846
911
|
|
|
847
912
|
def __init__(__self__, *,
|
|
848
|
-
ip_cidr_range: str,
|
|
849
|
-
subnetwork_range_name: str):
|
|
913
|
+
ip_cidr_range: _builtins.str,
|
|
914
|
+
subnetwork_range_name: _builtins.str):
|
|
850
915
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
851
916
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
852
917
|
|
|
853
|
-
@property
|
|
918
|
+
@_builtins.property
|
|
854
919
|
@pulumi.getter(name="ipCidrRange")
|
|
855
|
-
def ip_cidr_range(self) -> str:
|
|
920
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
856
921
|
return pulumi.get(self, "ip_cidr_range")
|
|
857
922
|
|
|
858
|
-
@property
|
|
923
|
+
@_builtins.property
|
|
859
924
|
@pulumi.getter(name="subnetworkRangeName")
|
|
860
|
-
def subnetwork_range_name(self) -> str:
|
|
925
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
861
926
|
return pulumi.get(self, "subnetwork_range_name")
|
|
862
927
|
|
|
863
928
|
|
|
@@ -881,15 +946,15 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
881
946
|
return super().get(key, default)
|
|
882
947
|
|
|
883
948
|
def __init__(__self__, *,
|
|
884
|
-
perform_at: str):
|
|
949
|
+
perform_at: _builtins.str):
|
|
885
950
|
"""
|
|
886
|
-
:param str perform_at: Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
951
|
+
:param _builtins.str perform_at: Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
887
952
|
"""
|
|
888
953
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
889
954
|
|
|
890
|
-
@property
|
|
955
|
+
@_builtins.property
|
|
891
956
|
@pulumi.getter(name="performAt")
|
|
892
|
-
def perform_at(self) -> str:
|
|
957
|
+
def perform_at(self) -> _builtins.str:
|
|
893
958
|
"""
|
|
894
959
|
Valid values: "always", "never", "timeWindow". Required on strategy.revertToPreemptible object.
|
|
895
960
|
"""
|
|
@@ -922,33 +987,33 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
922
987
|
return super().get(key, default)
|
|
923
988
|
|
|
924
989
|
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,
|
|
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,
|
|
933
998
|
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.
|
|
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.
|
|
946
1011
|
: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".
|
|
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".
|
|
952
1017
|
"""
|
|
953
1018
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
954
1019
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -974,65 +1039,65 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
974
1039
|
if statistic is not None:
|
|
975
1040
|
pulumi.set(__self__, "statistic", statistic)
|
|
976
1041
|
|
|
977
|
-
@property
|
|
1042
|
+
@_builtins.property
|
|
978
1043
|
@pulumi.getter(name="metricName")
|
|
979
|
-
def metric_name(self) -> str:
|
|
1044
|
+
def metric_name(self) -> _builtins.str:
|
|
980
1045
|
"""
|
|
981
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".
|
|
982
1047
|
"""
|
|
983
1048
|
return pulumi.get(self, "metric_name")
|
|
984
1049
|
|
|
985
|
-
@property
|
|
1050
|
+
@_builtins.property
|
|
986
1051
|
@pulumi.getter
|
|
987
|
-
def namespace(self) -> str:
|
|
1052
|
+
def namespace(self) -> _builtins.str:
|
|
988
1053
|
return pulumi.get(self, "namespace")
|
|
989
1054
|
|
|
990
|
-
@property
|
|
1055
|
+
@_builtins.property
|
|
991
1056
|
@pulumi.getter(name="policyName")
|
|
992
|
-
def policy_name(self) -> str:
|
|
1057
|
+
def policy_name(self) -> _builtins.str:
|
|
993
1058
|
"""
|
|
994
1059
|
Name of scaling policy.
|
|
995
1060
|
"""
|
|
996
1061
|
return pulumi.get(self, "policy_name")
|
|
997
1062
|
|
|
998
|
-
@property
|
|
1063
|
+
@_builtins.property
|
|
999
1064
|
@pulumi.getter
|
|
1000
|
-
def threshold(self) -> float:
|
|
1065
|
+
def threshold(self) -> _builtins.float:
|
|
1001
1066
|
"""
|
|
1002
1067
|
The value at which the scaling action is triggered.
|
|
1003
1068
|
"""
|
|
1004
1069
|
return pulumi.get(self, "threshold")
|
|
1005
1070
|
|
|
1006
|
-
@property
|
|
1071
|
+
@_builtins.property
|
|
1007
1072
|
@pulumi.getter
|
|
1008
|
-
def unit(self) -> str:
|
|
1073
|
+
def unit(self) -> _builtins.str:
|
|
1009
1074
|
return pulumi.get(self, "unit")
|
|
1010
1075
|
|
|
1011
|
-
@property
|
|
1076
|
+
@_builtins.property
|
|
1012
1077
|
@pulumi.getter(name="actionType")
|
|
1013
|
-
def action_type(self) -> Optional[str]:
|
|
1078
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1014
1079
|
"""
|
|
1015
1080
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1016
1081
|
"""
|
|
1017
1082
|
return pulumi.get(self, "action_type")
|
|
1018
1083
|
|
|
1019
|
-
@property
|
|
1084
|
+
@_builtins.property
|
|
1020
1085
|
@pulumi.getter
|
|
1021
|
-
def adjustment(self) -> Optional[int]:
|
|
1086
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1022
1087
|
"""
|
|
1023
1088
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1024
1089
|
"""
|
|
1025
1090
|
return pulumi.get(self, "adjustment")
|
|
1026
1091
|
|
|
1027
|
-
@property
|
|
1092
|
+
@_builtins.property
|
|
1028
1093
|
@pulumi.getter
|
|
1029
|
-
def cooldown(self) -> Optional[int]:
|
|
1094
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1030
1095
|
"""
|
|
1031
1096
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1032
1097
|
"""
|
|
1033
1098
|
return pulumi.get(self, "cooldown")
|
|
1034
1099
|
|
|
1035
|
-
@property
|
|
1100
|
+
@_builtins.property
|
|
1036
1101
|
@pulumi.getter
|
|
1037
1102
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']]:
|
|
1038
1103
|
"""
|
|
@@ -1040,41 +1105,41 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1040
1105
|
"""
|
|
1041
1106
|
return pulumi.get(self, "dimensions")
|
|
1042
1107
|
|
|
1043
|
-
@property
|
|
1108
|
+
@_builtins.property
|
|
1044
1109
|
@pulumi.getter(name="evaluationPeriods")
|
|
1045
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1110
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1046
1111
|
"""
|
|
1047
1112
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1048
1113
|
"""
|
|
1049
1114
|
return pulumi.get(self, "evaluation_periods")
|
|
1050
1115
|
|
|
1051
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1052
1117
|
@pulumi.getter
|
|
1053
|
-
def operator(self) -> Optional[str]:
|
|
1118
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1054
1119
|
"""
|
|
1055
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).
|
|
1056
1121
|
"""
|
|
1057
1122
|
return pulumi.get(self, "operator")
|
|
1058
1123
|
|
|
1059
|
-
@property
|
|
1124
|
+
@_builtins.property
|
|
1060
1125
|
@pulumi.getter
|
|
1061
|
-
def period(self) -> Optional[int]:
|
|
1126
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1062
1127
|
"""
|
|
1063
1128
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1064
1129
|
"""
|
|
1065
1130
|
return pulumi.get(self, "period")
|
|
1066
1131
|
|
|
1067
|
-
@property
|
|
1132
|
+
@_builtins.property
|
|
1068
1133
|
@pulumi.getter
|
|
1069
|
-
def source(self) -> Optional[str]:
|
|
1134
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1070
1135
|
"""
|
|
1071
1136
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1072
1137
|
"""
|
|
1073
1138
|
return pulumi.get(self, "source")
|
|
1074
1139
|
|
|
1075
|
-
@property
|
|
1140
|
+
@_builtins.property
|
|
1076
1141
|
@pulumi.getter
|
|
1077
|
-
def statistic(self) -> Optional[str]:
|
|
1142
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1078
1143
|
"""
|
|
1079
1144
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1080
1145
|
"""
|
|
@@ -1084,26 +1149,26 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
1084
1149
|
@pulumi.output_type
|
|
1085
1150
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
1086
1151
|
def __init__(__self__, *,
|
|
1087
|
-
name: str,
|
|
1088
|
-
value: Optional[str] = None):
|
|
1152
|
+
name: _builtins.str,
|
|
1153
|
+
value: Optional[_builtins.str] = None):
|
|
1089
1154
|
"""
|
|
1090
|
-
:param str name: The group name.
|
|
1155
|
+
:param _builtins.str name: The group name.
|
|
1091
1156
|
"""
|
|
1092
1157
|
pulumi.set(__self__, "name", name)
|
|
1093
1158
|
if value is not None:
|
|
1094
1159
|
pulumi.set(__self__, "value", value)
|
|
1095
1160
|
|
|
1096
|
-
@property
|
|
1161
|
+
@_builtins.property
|
|
1097
1162
|
@pulumi.getter
|
|
1098
|
-
def name(self) -> str:
|
|
1163
|
+
def name(self) -> _builtins.str:
|
|
1099
1164
|
"""
|
|
1100
1165
|
The group name.
|
|
1101
1166
|
"""
|
|
1102
1167
|
return pulumi.get(self, "name")
|
|
1103
1168
|
|
|
1104
|
-
@property
|
|
1169
|
+
@_builtins.property
|
|
1105
1170
|
@pulumi.getter
|
|
1106
|
-
def value(self) -> Optional[str]:
|
|
1171
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1107
1172
|
return pulumi.get(self, "value")
|
|
1108
1173
|
|
|
1109
1174
|
|
|
@@ -1133,33 +1198,33 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1133
1198
|
return super().get(key, default)
|
|
1134
1199
|
|
|
1135
1200
|
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,
|
|
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,
|
|
1144
1209
|
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.
|
|
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.
|
|
1157
1222
|
: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".
|
|
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".
|
|
1163
1228
|
"""
|
|
1164
1229
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1165
1230
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1185,65 +1250,65 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1185
1250
|
if statistic is not None:
|
|
1186
1251
|
pulumi.set(__self__, "statistic", statistic)
|
|
1187
1252
|
|
|
1188
|
-
@property
|
|
1253
|
+
@_builtins.property
|
|
1189
1254
|
@pulumi.getter(name="metricName")
|
|
1190
|
-
def metric_name(self) -> str:
|
|
1255
|
+
def metric_name(self) -> _builtins.str:
|
|
1191
1256
|
"""
|
|
1192
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".
|
|
1193
1258
|
"""
|
|
1194
1259
|
return pulumi.get(self, "metric_name")
|
|
1195
1260
|
|
|
1196
|
-
@property
|
|
1261
|
+
@_builtins.property
|
|
1197
1262
|
@pulumi.getter
|
|
1198
|
-
def namespace(self) -> str:
|
|
1263
|
+
def namespace(self) -> _builtins.str:
|
|
1199
1264
|
return pulumi.get(self, "namespace")
|
|
1200
1265
|
|
|
1201
|
-
@property
|
|
1266
|
+
@_builtins.property
|
|
1202
1267
|
@pulumi.getter(name="policyName")
|
|
1203
|
-
def policy_name(self) -> str:
|
|
1268
|
+
def policy_name(self) -> _builtins.str:
|
|
1204
1269
|
"""
|
|
1205
1270
|
Name of scaling policy.
|
|
1206
1271
|
"""
|
|
1207
1272
|
return pulumi.get(self, "policy_name")
|
|
1208
1273
|
|
|
1209
|
-
@property
|
|
1274
|
+
@_builtins.property
|
|
1210
1275
|
@pulumi.getter
|
|
1211
|
-
def threshold(self) -> float:
|
|
1276
|
+
def threshold(self) -> _builtins.float:
|
|
1212
1277
|
"""
|
|
1213
1278
|
The value at which the scaling action is triggered.
|
|
1214
1279
|
"""
|
|
1215
1280
|
return pulumi.get(self, "threshold")
|
|
1216
1281
|
|
|
1217
|
-
@property
|
|
1282
|
+
@_builtins.property
|
|
1218
1283
|
@pulumi.getter
|
|
1219
|
-
def unit(self) -> str:
|
|
1284
|
+
def unit(self) -> _builtins.str:
|
|
1220
1285
|
return pulumi.get(self, "unit")
|
|
1221
1286
|
|
|
1222
|
-
@property
|
|
1287
|
+
@_builtins.property
|
|
1223
1288
|
@pulumi.getter(name="actionType")
|
|
1224
|
-
def action_type(self) -> Optional[str]:
|
|
1289
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1225
1290
|
"""
|
|
1226
1291
|
Type of scaling action to take when the scaling policy is triggered. Valid values: "adjustment", "setMinTarget", "updateCapacity", "percentageAdjustment"
|
|
1227
1292
|
"""
|
|
1228
1293
|
return pulumi.get(self, "action_type")
|
|
1229
1294
|
|
|
1230
|
-
@property
|
|
1295
|
+
@_builtins.property
|
|
1231
1296
|
@pulumi.getter
|
|
1232
|
-
def adjustment(self) -> Optional[int]:
|
|
1297
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1233
1298
|
"""
|
|
1234
1299
|
Value to which the action type will be adjusted. Required if using "numeric" or "percentageAdjustment" action types.
|
|
1235
1300
|
"""
|
|
1236
1301
|
return pulumi.get(self, "adjustment")
|
|
1237
1302
|
|
|
1238
|
-
@property
|
|
1303
|
+
@_builtins.property
|
|
1239
1304
|
@pulumi.getter
|
|
1240
|
-
def cooldown(self) -> Optional[int]:
|
|
1305
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1241
1306
|
"""
|
|
1242
1307
|
Time (seconds) to wait after a scaling action before resuming monitoring.
|
|
1243
1308
|
"""
|
|
1244
1309
|
return pulumi.get(self, "cooldown")
|
|
1245
1310
|
|
|
1246
|
-
@property
|
|
1311
|
+
@_builtins.property
|
|
1247
1312
|
@pulumi.getter
|
|
1248
1313
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']]:
|
|
1249
1314
|
"""
|
|
@@ -1251,41 +1316,41 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1251
1316
|
"""
|
|
1252
1317
|
return pulumi.get(self, "dimensions")
|
|
1253
1318
|
|
|
1254
|
-
@property
|
|
1319
|
+
@_builtins.property
|
|
1255
1320
|
@pulumi.getter(name="evaluationPeriods")
|
|
1256
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1321
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1257
1322
|
"""
|
|
1258
1323
|
Number of consecutive periods in which the threshold must be met in order to trigger a scaling action.
|
|
1259
1324
|
"""
|
|
1260
1325
|
return pulumi.get(self, "evaluation_periods")
|
|
1261
1326
|
|
|
1262
|
-
@property
|
|
1327
|
+
@_builtins.property
|
|
1263
1328
|
@pulumi.getter
|
|
1264
|
-
def operator(self) -> Optional[str]:
|
|
1329
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1265
1330
|
"""
|
|
1266
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).
|
|
1267
1332
|
"""
|
|
1268
1333
|
return pulumi.get(self, "operator")
|
|
1269
1334
|
|
|
1270
|
-
@property
|
|
1335
|
+
@_builtins.property
|
|
1271
1336
|
@pulumi.getter
|
|
1272
|
-
def period(self) -> Optional[int]:
|
|
1337
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1273
1338
|
"""
|
|
1274
1339
|
Amount of time (seconds) for which the threshold must be met in order to trigger the scaling action.
|
|
1275
1340
|
"""
|
|
1276
1341
|
return pulumi.get(self, "period")
|
|
1277
1342
|
|
|
1278
|
-
@property
|
|
1343
|
+
@_builtins.property
|
|
1279
1344
|
@pulumi.getter
|
|
1280
|
-
def source(self) -> Optional[str]:
|
|
1345
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1281
1346
|
"""
|
|
1282
1347
|
Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks.
|
|
1283
1348
|
"""
|
|
1284
1349
|
return pulumi.get(self, "source")
|
|
1285
1350
|
|
|
1286
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1287
1352
|
@pulumi.getter
|
|
1288
|
-
def statistic(self) -> Optional[str]:
|
|
1353
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1289
1354
|
"""
|
|
1290
1355
|
Statistic by which to evaluate the selected metric. Valid values: "AVERAGE", "SAMPLE_COUNT", "SUM", "MINIMUM", "MAXIMUM", "PERCENTILE", "COUNT".
|
|
1291
1356
|
"""
|
|
@@ -1295,11 +1360,11 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1295
1360
|
@pulumi.output_type
|
|
1296
1361
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1297
1362
|
def __init__(__self__, *,
|
|
1298
|
-
name: str,
|
|
1299
|
-
value: Optional[str] = None):
|
|
1363
|
+
name: _builtins.str,
|
|
1364
|
+
value: Optional[_builtins.str] = None):
|
|
1300
1365
|
"""
|
|
1301
|
-
:param str name: The dimension name.
|
|
1302
|
-
:param str value: The dimension value.
|
|
1366
|
+
:param _builtins.str name: The dimension name.
|
|
1367
|
+
:param _builtins.str value: The dimension value.
|
|
1303
1368
|
|
|
1304
1369
|
Usage:
|
|
1305
1370
|
"""
|
|
@@ -1307,17 +1372,17 @@ class ElastigroupScalingUpPolicyDimension(dict):
|
|
|
1307
1372
|
if value is not None:
|
|
1308
1373
|
pulumi.set(__self__, "value", value)
|
|
1309
1374
|
|
|
1310
|
-
@property
|
|
1375
|
+
@_builtins.property
|
|
1311
1376
|
@pulumi.getter
|
|
1312
|
-
def name(self) -> str:
|
|
1377
|
+
def name(self) -> _builtins.str:
|
|
1313
1378
|
"""
|
|
1314
1379
|
The dimension name.
|
|
1315
1380
|
"""
|
|
1316
1381
|
return pulumi.get(self, "name")
|
|
1317
1382
|
|
|
1318
|
-
@property
|
|
1383
|
+
@_builtins.property
|
|
1319
1384
|
@pulumi.getter
|
|
1320
|
-
def value(self) -> Optional[str]:
|
|
1385
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1321
1386
|
"""
|
|
1322
1387
|
The dimension value.
|
|
1323
1388
|
|
|
@@ -1356,21 +1421,21 @@ class ElastigroupScheduledTask(dict):
|
|
|
1356
1421
|
return super().get(key, default)
|
|
1357
1422
|
|
|
1358
1423
|
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.
|
|
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.
|
|
1370
1435
|
|
|
1371
1436
|
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.
|
|
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.
|
|
1374
1439
|
"""
|
|
1375
1440
|
pulumi.set(__self__, "task_type", task_type)
|
|
1376
1441
|
if cron_expression is not None:
|
|
@@ -1384,33 +1449,33 @@ class ElastigroupScheduledTask(dict):
|
|
|
1384
1449
|
if target_capacity is not None:
|
|
1385
1450
|
pulumi.set(__self__, "target_capacity", target_capacity)
|
|
1386
1451
|
|
|
1387
|
-
@property
|
|
1452
|
+
@_builtins.property
|
|
1388
1453
|
@pulumi.getter(name="taskType")
|
|
1389
|
-
def task_type(self) -> str:
|
|
1454
|
+
def task_type(self) -> _builtins.str:
|
|
1390
1455
|
"""
|
|
1391
1456
|
The task type to run. Valid values: `"setCapacity"`.
|
|
1392
1457
|
"""
|
|
1393
1458
|
return pulumi.get(self, "task_type")
|
|
1394
1459
|
|
|
1395
|
-
@property
|
|
1460
|
+
@_builtins.property
|
|
1396
1461
|
@pulumi.getter(name="cronExpression")
|
|
1397
|
-
def cron_expression(self) -> Optional[str]:
|
|
1462
|
+
def cron_expression(self) -> Optional[_builtins.str]:
|
|
1398
1463
|
"""
|
|
1399
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).
|
|
1400
1465
|
"""
|
|
1401
1466
|
return pulumi.get(self, "cron_expression")
|
|
1402
1467
|
|
|
1403
|
-
@property
|
|
1468
|
+
@_builtins.property
|
|
1404
1469
|
@pulumi.getter(name="isEnabled")
|
|
1405
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1470
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1406
1471
|
"""
|
|
1407
1472
|
Setting the task to being enabled or disabled.
|
|
1408
1473
|
"""
|
|
1409
1474
|
return pulumi.get(self, "is_enabled")
|
|
1410
1475
|
|
|
1411
|
-
@property
|
|
1476
|
+
@_builtins.property
|
|
1412
1477
|
@pulumi.getter(name="maxCapacity")
|
|
1413
|
-
def max_capacity(self) -> Optional[str]:
|
|
1478
|
+
def max_capacity(self) -> Optional[_builtins.str]:
|
|
1414
1479
|
"""
|
|
1415
1480
|
The maximum number of instances the group should have.
|
|
1416
1481
|
|
|
@@ -1418,17 +1483,17 @@ class ElastigroupScheduledTask(dict):
|
|
|
1418
1483
|
"""
|
|
1419
1484
|
return pulumi.get(self, "max_capacity")
|
|
1420
1485
|
|
|
1421
|
-
@property
|
|
1486
|
+
@_builtins.property
|
|
1422
1487
|
@pulumi.getter(name="minCapacity")
|
|
1423
|
-
def min_capacity(self) -> Optional[str]:
|
|
1488
|
+
def min_capacity(self) -> Optional[_builtins.str]:
|
|
1424
1489
|
"""
|
|
1425
1490
|
The minimum number of instances the group should have.
|
|
1426
1491
|
"""
|
|
1427
1492
|
return pulumi.get(self, "min_capacity")
|
|
1428
1493
|
|
|
1429
|
-
@property
|
|
1494
|
+
@_builtins.property
|
|
1430
1495
|
@pulumi.getter(name="targetCapacity")
|
|
1431
|
-
def target_capacity(self) -> Optional[str]:
|
|
1496
|
+
def target_capacity(self) -> Optional[_builtins.str]:
|
|
1432
1497
|
"""
|
|
1433
1498
|
The desired number of instances the group should have.
|
|
1434
1499
|
"""
|
|
@@ -1457,28 +1522,28 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1457
1522
|
return super().get(key, default)
|
|
1458
1523
|
|
|
1459
1524
|
def __init__(__self__, *,
|
|
1460
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
1461
|
-
enable_secure_boot: Optional[bool] = None):
|
|
1525
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
1526
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1462
1527
|
"""
|
|
1463
|
-
:param bool enable_integrity_monitoring: Default: false
|
|
1464
|
-
:param bool enable_secure_boot: Default: false
|
|
1528
|
+
:param _builtins.bool enable_integrity_monitoring: Default: false
|
|
1529
|
+
:param _builtins.bool enable_secure_boot: Default: false
|
|
1465
1530
|
"""
|
|
1466
1531
|
if enable_integrity_monitoring is not None:
|
|
1467
1532
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1468
1533
|
if enable_secure_boot is not None:
|
|
1469
1534
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1470
1535
|
|
|
1471
|
-
@property
|
|
1536
|
+
@_builtins.property
|
|
1472
1537
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1473
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
1538
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1474
1539
|
"""
|
|
1475
1540
|
Default: false
|
|
1476
1541
|
"""
|
|
1477
1542
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1478
1543
|
|
|
1479
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1480
1545
|
@pulumi.getter(name="enableSecureBoot")
|
|
1481
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
1546
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1482
1547
|
"""
|
|
1483
1548
|
Default: false
|
|
1484
1549
|
"""
|
|
@@ -1505,26 +1570,26 @@ class ElastigroupSubnet(dict):
|
|
|
1505
1570
|
return super().get(key, default)
|
|
1506
1571
|
|
|
1507
1572
|
def __init__(__self__, *,
|
|
1508
|
-
region: str,
|
|
1509
|
-
subnet_names: Sequence[str]):
|
|
1573
|
+
region: _builtins.str,
|
|
1574
|
+
subnet_names: Sequence[_builtins.str]):
|
|
1510
1575
|
"""
|
|
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.
|
|
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.
|
|
1513
1578
|
"""
|
|
1514
1579
|
pulumi.set(__self__, "region", region)
|
|
1515
1580
|
pulumi.set(__self__, "subnet_names", subnet_names)
|
|
1516
1581
|
|
|
1517
|
-
@property
|
|
1582
|
+
@_builtins.property
|
|
1518
1583
|
@pulumi.getter
|
|
1519
|
-
def region(self) -> str:
|
|
1584
|
+
def region(self) -> _builtins.str:
|
|
1520
1585
|
"""
|
|
1521
1586
|
The region for the group of subnets.
|
|
1522
1587
|
"""
|
|
1523
1588
|
return pulumi.get(self, "region")
|
|
1524
1589
|
|
|
1525
|
-
@property
|
|
1590
|
+
@_builtins.property
|
|
1526
1591
|
@pulumi.getter(name="subnetNames")
|
|
1527
|
-
def subnet_names(self) -> Sequence[str]:
|
|
1592
|
+
def subnet_names(self) -> Sequence[_builtins.str]:
|
|
1528
1593
|
"""
|
|
1529
1594
|
The names of the subnets in the region.
|
|
1530
1595
|
"""
|