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/gke/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',
|
|
@@ -58,6 +59,7 @@ __all__ = [
|
|
|
58
59
|
'OceanLaunchSpecAutoscaleHeadroom',
|
|
59
60
|
'OceanLaunchSpecAutoscaleHeadroomsAutomatic',
|
|
60
61
|
'OceanLaunchSpecCreateOptions',
|
|
62
|
+
'OceanLaunchSpecFilters',
|
|
61
63
|
'OceanLaunchSpecLabel',
|
|
62
64
|
'OceanLaunchSpecMetadata',
|
|
63
65
|
'OceanLaunchSpecNetworkInterface',
|
|
@@ -81,6 +83,8 @@ class ElastigroupBackendService(dict):
|
|
|
81
83
|
suggest = None
|
|
82
84
|
if key == "serviceName":
|
|
83
85
|
suggest = "service_name"
|
|
86
|
+
elif key == "backendBalancing":
|
|
87
|
+
suggest = "backend_balancing"
|
|
84
88
|
elif key == "locationType":
|
|
85
89
|
suggest = "location_type"
|
|
86
90
|
elif key == "namedPorts":
|
|
@@ -98,11 +102,14 @@ class ElastigroupBackendService(dict):
|
|
|
98
102
|
return super().get(key, default)
|
|
99
103
|
|
|
100
104
|
def __init__(__self__, *,
|
|
101
|
-
service_name: str,
|
|
102
|
-
|
|
105
|
+
service_name: _builtins.str,
|
|
106
|
+
backend_balancing: Optional['outputs.ElastigroupBackendServiceBackendBalancing'] = None,
|
|
107
|
+
location_type: Optional[_builtins.str] = None,
|
|
103
108
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
104
|
-
scheme: Optional[str] = None):
|
|
109
|
+
scheme: Optional[_builtins.str] = None):
|
|
105
110
|
pulumi.set(__self__, "service_name", service_name)
|
|
111
|
+
if backend_balancing is not None:
|
|
112
|
+
pulumi.set(__self__, "backend_balancing", backend_balancing)
|
|
106
113
|
if location_type is not None:
|
|
107
114
|
pulumi.set(__self__, "location_type", location_type)
|
|
108
115
|
if named_ports is not None:
|
|
@@ -110,43 +117,88 @@ class ElastigroupBackendService(dict):
|
|
|
110
117
|
if scheme is not None:
|
|
111
118
|
pulumi.set(__self__, "scheme", scheme)
|
|
112
119
|
|
|
113
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
114
121
|
@pulumi.getter(name="serviceName")
|
|
115
|
-
def service_name(self) -> str:
|
|
122
|
+
def service_name(self) -> _builtins.str:
|
|
116
123
|
return pulumi.get(self, "service_name")
|
|
117
124
|
|
|
118
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
126
|
+
@pulumi.getter(name="backendBalancing")
|
|
127
|
+
def backend_balancing(self) -> Optional['outputs.ElastigroupBackendServiceBackendBalancing']:
|
|
128
|
+
return pulumi.get(self, "backend_balancing")
|
|
129
|
+
|
|
130
|
+
@_builtins.property
|
|
119
131
|
@pulumi.getter(name="locationType")
|
|
120
|
-
def location_type(self) -> Optional[str]:
|
|
132
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
121
133
|
return pulumi.get(self, "location_type")
|
|
122
134
|
|
|
123
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
124
136
|
@pulumi.getter(name="namedPorts")
|
|
125
137
|
def named_ports(self) -> Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']]:
|
|
126
138
|
return pulumi.get(self, "named_ports")
|
|
127
139
|
|
|
128
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
129
141
|
@pulumi.getter
|
|
130
|
-
def scheme(self) -> Optional[str]:
|
|
142
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
131
143
|
return pulumi.get(self, "scheme")
|
|
132
144
|
|
|
133
145
|
|
|
146
|
+
@pulumi.output_type
|
|
147
|
+
class ElastigroupBackendServiceBackendBalancing(dict):
|
|
148
|
+
@staticmethod
|
|
149
|
+
def __key_warning(key: str):
|
|
150
|
+
suggest = None
|
|
151
|
+
if key == "backendBalancingMode":
|
|
152
|
+
suggest = "backend_balancing_mode"
|
|
153
|
+
elif key == "maxRatePerInstance":
|
|
154
|
+
suggest = "max_rate_per_instance"
|
|
155
|
+
|
|
156
|
+
if suggest:
|
|
157
|
+
pulumi.log.warn(f"Key '{key}' not found in ElastigroupBackendServiceBackendBalancing. Access the value via the '{suggest}' property getter instead.")
|
|
158
|
+
|
|
159
|
+
def __getitem__(self, key: str) -> Any:
|
|
160
|
+
ElastigroupBackendServiceBackendBalancing.__key_warning(key)
|
|
161
|
+
return super().__getitem__(key)
|
|
162
|
+
|
|
163
|
+
def get(self, key: str, default = None) -> Any:
|
|
164
|
+
ElastigroupBackendServiceBackendBalancing.__key_warning(key)
|
|
165
|
+
return super().get(key, default)
|
|
166
|
+
|
|
167
|
+
def __init__(__self__, *,
|
|
168
|
+
backend_balancing_mode: Optional[_builtins.str] = None,
|
|
169
|
+
max_rate_per_instance: Optional[_builtins.int] = None):
|
|
170
|
+
if backend_balancing_mode is not None:
|
|
171
|
+
pulumi.set(__self__, "backend_balancing_mode", backend_balancing_mode)
|
|
172
|
+
if max_rate_per_instance is not None:
|
|
173
|
+
pulumi.set(__self__, "max_rate_per_instance", max_rate_per_instance)
|
|
174
|
+
|
|
175
|
+
@_builtins.property
|
|
176
|
+
@pulumi.getter(name="backendBalancingMode")
|
|
177
|
+
def backend_balancing_mode(self) -> Optional[_builtins.str]:
|
|
178
|
+
return pulumi.get(self, "backend_balancing_mode")
|
|
179
|
+
|
|
180
|
+
@_builtins.property
|
|
181
|
+
@pulumi.getter(name="maxRatePerInstance")
|
|
182
|
+
def max_rate_per_instance(self) -> Optional[_builtins.int]:
|
|
183
|
+
return pulumi.get(self, "max_rate_per_instance")
|
|
184
|
+
|
|
185
|
+
|
|
134
186
|
@pulumi.output_type
|
|
135
187
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
136
188
|
def __init__(__self__, *,
|
|
137
|
-
name: str,
|
|
138
|
-
ports: Sequence[str]):
|
|
189
|
+
name: _builtins.str,
|
|
190
|
+
ports: Sequence[_builtins.str]):
|
|
139
191
|
pulumi.set(__self__, "name", name)
|
|
140
192
|
pulumi.set(__self__, "ports", ports)
|
|
141
193
|
|
|
142
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
143
195
|
@pulumi.getter
|
|
144
|
-
def name(self) -> str:
|
|
196
|
+
def name(self) -> _builtins.str:
|
|
145
197
|
return pulumi.get(self, "name")
|
|
146
198
|
|
|
147
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
148
200
|
@pulumi.getter
|
|
149
|
-
def ports(self) -> Sequence[str]:
|
|
201
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
150
202
|
return pulumi.get(self, "ports")
|
|
151
203
|
|
|
152
204
|
|
|
@@ -174,14 +226,14 @@ class ElastigroupDisk(dict):
|
|
|
174
226
|
return super().get(key, default)
|
|
175
227
|
|
|
176
228
|
def __init__(__self__, *,
|
|
177
|
-
auto_delete: Optional[bool] = None,
|
|
178
|
-
boot: Optional[bool] = None,
|
|
179
|
-
device_name: Optional[str] = None,
|
|
229
|
+
auto_delete: Optional[_builtins.bool] = None,
|
|
230
|
+
boot: Optional[_builtins.bool] = None,
|
|
231
|
+
device_name: Optional[_builtins.str] = None,
|
|
180
232
|
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):
|
|
233
|
+
interface: Optional[_builtins.str] = None,
|
|
234
|
+
mode: Optional[_builtins.str] = None,
|
|
235
|
+
source: Optional[_builtins.str] = None,
|
|
236
|
+
type: Optional[_builtins.str] = None):
|
|
185
237
|
if auto_delete is not None:
|
|
186
238
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
187
239
|
if boot is not None:
|
|
@@ -199,44 +251,44 @@ class ElastigroupDisk(dict):
|
|
|
199
251
|
if type is not None:
|
|
200
252
|
pulumi.set(__self__, "type", type)
|
|
201
253
|
|
|
202
|
-
@property
|
|
254
|
+
@_builtins.property
|
|
203
255
|
@pulumi.getter(name="autoDelete")
|
|
204
|
-
def auto_delete(self) -> Optional[bool]:
|
|
256
|
+
def auto_delete(self) -> Optional[_builtins.bool]:
|
|
205
257
|
return pulumi.get(self, "auto_delete")
|
|
206
258
|
|
|
207
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
208
260
|
@pulumi.getter
|
|
209
|
-
def boot(self) -> Optional[bool]:
|
|
261
|
+
def boot(self) -> Optional[_builtins.bool]:
|
|
210
262
|
return pulumi.get(self, "boot")
|
|
211
263
|
|
|
212
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
213
265
|
@pulumi.getter(name="deviceName")
|
|
214
|
-
def device_name(self) -> Optional[str]:
|
|
266
|
+
def device_name(self) -> Optional[_builtins.str]:
|
|
215
267
|
return pulumi.get(self, "device_name")
|
|
216
268
|
|
|
217
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
218
270
|
@pulumi.getter(name="initializeParams")
|
|
219
271
|
def initialize_params(self) -> Optional[Sequence['outputs.ElastigroupDiskInitializeParam']]:
|
|
220
272
|
return pulumi.get(self, "initialize_params")
|
|
221
273
|
|
|
222
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
223
275
|
@pulumi.getter
|
|
224
|
-
def interface(self) -> Optional[str]:
|
|
276
|
+
def interface(self) -> Optional[_builtins.str]:
|
|
225
277
|
return pulumi.get(self, "interface")
|
|
226
278
|
|
|
227
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
228
280
|
@pulumi.getter
|
|
229
|
-
def mode(self) -> Optional[str]:
|
|
281
|
+
def mode(self) -> Optional[_builtins.str]:
|
|
230
282
|
return pulumi.get(self, "mode")
|
|
231
283
|
|
|
232
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
233
285
|
@pulumi.getter
|
|
234
|
-
def source(self) -> Optional[str]:
|
|
286
|
+
def source(self) -> Optional[_builtins.str]:
|
|
235
287
|
return pulumi.get(self, "source")
|
|
236
288
|
|
|
237
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
238
290
|
@pulumi.getter
|
|
239
|
-
def type(self) -> Optional[str]:
|
|
291
|
+
def type(self) -> Optional[_builtins.str]:
|
|
240
292
|
return pulumi.get(self, "type")
|
|
241
293
|
|
|
242
294
|
|
|
@@ -264,47 +316,47 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
264
316
|
return super().get(key, default)
|
|
265
317
|
|
|
266
318
|
def __init__(__self__, *,
|
|
267
|
-
source_image: str,
|
|
268
|
-
disk_size_gb: Optional[str] = None,
|
|
269
|
-
disk_type: Optional[str] = None):
|
|
319
|
+
source_image: _builtins.str,
|
|
320
|
+
disk_size_gb: Optional[_builtins.str] = None,
|
|
321
|
+
disk_type: Optional[_builtins.str] = None):
|
|
270
322
|
pulumi.set(__self__, "source_image", source_image)
|
|
271
323
|
if disk_size_gb is not None:
|
|
272
324
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
|
273
325
|
if disk_type is not None:
|
|
274
326
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
275
327
|
|
|
276
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
277
329
|
@pulumi.getter(name="sourceImage")
|
|
278
|
-
def source_image(self) -> str:
|
|
330
|
+
def source_image(self) -> _builtins.str:
|
|
279
331
|
return pulumi.get(self, "source_image")
|
|
280
332
|
|
|
281
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
282
334
|
@pulumi.getter(name="diskSizeGb")
|
|
283
|
-
def disk_size_gb(self) -> Optional[str]:
|
|
335
|
+
def disk_size_gb(self) -> Optional[_builtins.str]:
|
|
284
336
|
return pulumi.get(self, "disk_size_gb")
|
|
285
337
|
|
|
286
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
287
339
|
@pulumi.getter(name="diskType")
|
|
288
|
-
def disk_type(self) -> Optional[str]:
|
|
340
|
+
def disk_type(self) -> Optional[_builtins.str]:
|
|
289
341
|
return pulumi.get(self, "disk_type")
|
|
290
342
|
|
|
291
343
|
|
|
292
344
|
@pulumi.output_type
|
|
293
345
|
class ElastigroupGpu(dict):
|
|
294
346
|
def __init__(__self__, *,
|
|
295
|
-
count: int,
|
|
296
|
-
type: str):
|
|
347
|
+
count: _builtins.int,
|
|
348
|
+
type: _builtins.str):
|
|
297
349
|
pulumi.set(__self__, "count", count)
|
|
298
350
|
pulumi.set(__self__, "type", type)
|
|
299
351
|
|
|
300
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
301
353
|
@pulumi.getter
|
|
302
|
-
def count(self) -> int:
|
|
354
|
+
def count(self) -> _builtins.int:
|
|
303
355
|
return pulumi.get(self, "count")
|
|
304
356
|
|
|
305
|
-
@property
|
|
357
|
+
@_builtins.property
|
|
306
358
|
@pulumi.getter
|
|
307
|
-
def type(self) -> str:
|
|
359
|
+
def type(self) -> _builtins.str:
|
|
308
360
|
return pulumi.get(self, "type")
|
|
309
361
|
|
|
310
362
|
|
|
@@ -328,19 +380,19 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
328
380
|
return super().get(key, default)
|
|
329
381
|
|
|
330
382
|
def __init__(__self__, *,
|
|
331
|
-
memory_gib: int,
|
|
332
|
-
vcpu: int):
|
|
383
|
+
memory_gib: _builtins.int,
|
|
384
|
+
vcpu: _builtins.int):
|
|
333
385
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
334
386
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
335
387
|
|
|
336
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
337
389
|
@pulumi.getter(name="memoryGib")
|
|
338
|
-
def memory_gib(self) -> int:
|
|
390
|
+
def memory_gib(self) -> _builtins.int:
|
|
339
391
|
return pulumi.get(self, "memory_gib")
|
|
340
392
|
|
|
341
|
-
@property
|
|
393
|
+
@_builtins.property
|
|
342
394
|
@pulumi.getter
|
|
343
|
-
def vcpu(self) -> int:
|
|
395
|
+
def vcpu(self) -> _builtins.int:
|
|
344
396
|
return pulumi.get(self, "vcpu")
|
|
345
397
|
|
|
346
398
|
|
|
@@ -366,19 +418,19 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
366
418
|
return super().get(key, default)
|
|
367
419
|
|
|
368
420
|
def __init__(__self__, *,
|
|
369
|
-
master_host: str,
|
|
370
|
-
master_port: int):
|
|
421
|
+
master_host: _builtins.str,
|
|
422
|
+
master_port: _builtins.int):
|
|
371
423
|
pulumi.set(__self__, "master_host", master_host)
|
|
372
424
|
pulumi.set(__self__, "master_port", master_port)
|
|
373
425
|
|
|
374
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
375
427
|
@pulumi.getter(name="masterHost")
|
|
376
|
-
def master_host(self) -> str:
|
|
428
|
+
def master_host(self) -> _builtins.str:
|
|
377
429
|
return pulumi.get(self, "master_host")
|
|
378
430
|
|
|
379
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
380
432
|
@pulumi.getter(name="masterPort")
|
|
381
|
-
def master_port(self) -> int:
|
|
433
|
+
def master_port(self) -> _builtins.int:
|
|
382
434
|
return pulumi.get(self, "master_port")
|
|
383
435
|
|
|
384
436
|
|
|
@@ -416,22 +468,22 @@ class ElastigroupIntegrationGke(dict):
|
|
|
416
468
|
return super().get(key, default)
|
|
417
469
|
|
|
418
470
|
def __init__(__self__, *,
|
|
419
|
-
auto_update: Optional[bool] = None,
|
|
420
|
-
autoscale_cooldown: Optional[int] = None,
|
|
471
|
+
auto_update: Optional[_builtins.bool] = None,
|
|
472
|
+
autoscale_cooldown: Optional[_builtins.int] = None,
|
|
421
473
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
422
474
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
423
|
-
autoscale_is_auto_config: Optional[bool] = None,
|
|
424
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
475
|
+
autoscale_is_auto_config: Optional[_builtins.bool] = None,
|
|
476
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
425
477
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
426
|
-
cluster_id: Optional[str] = None,
|
|
427
|
-
location: Optional[str] = None):
|
|
478
|
+
cluster_id: Optional[_builtins.str] = None,
|
|
479
|
+
location: Optional[_builtins.str] = None):
|
|
428
480
|
"""
|
|
429
|
-
:param int autoscale_cooldown: The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
481
|
+
:param _builtins.int autoscale_cooldown: The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
430
482
|
:param 'ElastigroupIntegrationGkeAutoscaleDownArgs' autoscale_down: Enabling scale down.
|
|
431
483
|
:param 'ElastigroupIntegrationGkeAutoscaleHeadroomArgs' autoscale_headroom: Headroom for the cluster.
|
|
432
|
-
:param bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
484
|
+
:param _builtins.bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
433
485
|
:param Sequence['ElastigroupIntegrationGkeAutoscaleLabelArgs'] autoscale_labels: Labels to assign to the resource.
|
|
434
|
-
:param str location: The location of your GKE cluster.
|
|
486
|
+
:param _builtins.str location: The location of your GKE cluster.
|
|
435
487
|
"""
|
|
436
488
|
if auto_update is not None:
|
|
437
489
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
@@ -452,20 +504,20 @@ class ElastigroupIntegrationGke(dict):
|
|
|
452
504
|
if location is not None:
|
|
453
505
|
pulumi.set(__self__, "location", location)
|
|
454
506
|
|
|
455
|
-
@property
|
|
507
|
+
@_builtins.property
|
|
456
508
|
@pulumi.getter(name="autoUpdate")
|
|
457
|
-
def auto_update(self) -> Optional[bool]:
|
|
509
|
+
def auto_update(self) -> Optional[_builtins.bool]:
|
|
458
510
|
return pulumi.get(self, "auto_update")
|
|
459
511
|
|
|
460
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
461
513
|
@pulumi.getter(name="autoscaleCooldown")
|
|
462
|
-
def autoscale_cooldown(self) -> Optional[int]:
|
|
514
|
+
def autoscale_cooldown(self) -> Optional[_builtins.int]:
|
|
463
515
|
"""
|
|
464
516
|
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
465
517
|
"""
|
|
466
518
|
return pulumi.get(self, "autoscale_cooldown")
|
|
467
519
|
|
|
468
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
469
521
|
@pulumi.getter(name="autoscaleDown")
|
|
470
522
|
def autoscale_down(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown']:
|
|
471
523
|
"""
|
|
@@ -473,7 +525,7 @@ class ElastigroupIntegrationGke(dict):
|
|
|
473
525
|
"""
|
|
474
526
|
return pulumi.get(self, "autoscale_down")
|
|
475
527
|
|
|
476
|
-
@property
|
|
528
|
+
@_builtins.property
|
|
477
529
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
478
530
|
def autoscale_headroom(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom']:
|
|
479
531
|
"""
|
|
@@ -481,20 +533,20 @@ class ElastigroupIntegrationGke(dict):
|
|
|
481
533
|
"""
|
|
482
534
|
return pulumi.get(self, "autoscale_headroom")
|
|
483
535
|
|
|
484
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
485
537
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
486
|
-
def autoscale_is_auto_config(self) -> Optional[bool]:
|
|
538
|
+
def autoscale_is_auto_config(self) -> Optional[_builtins.bool]:
|
|
487
539
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
488
540
|
|
|
489
|
-
@property
|
|
541
|
+
@_builtins.property
|
|
490
542
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
491
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
543
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
492
544
|
"""
|
|
493
545
|
Specifies whether the auto scaling feature is enabled.
|
|
494
546
|
"""
|
|
495
547
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
496
548
|
|
|
497
|
-
@property
|
|
549
|
+
@_builtins.property
|
|
498
550
|
@pulumi.getter(name="autoscaleLabels")
|
|
499
551
|
def autoscale_labels(self) -> Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']]:
|
|
500
552
|
"""
|
|
@@ -502,14 +554,14 @@ class ElastigroupIntegrationGke(dict):
|
|
|
502
554
|
"""
|
|
503
555
|
return pulumi.get(self, "autoscale_labels")
|
|
504
556
|
|
|
505
|
-
@property
|
|
557
|
+
@_builtins.property
|
|
506
558
|
@pulumi.getter(name="clusterId")
|
|
507
|
-
def cluster_id(self) -> Optional[str]:
|
|
559
|
+
def cluster_id(self) -> Optional[_builtins.str]:
|
|
508
560
|
return pulumi.get(self, "cluster_id")
|
|
509
561
|
|
|
510
|
-
@property
|
|
562
|
+
@_builtins.property
|
|
511
563
|
@pulumi.getter
|
|
512
|
-
def location(self) -> Optional[str]:
|
|
564
|
+
def location(self) -> Optional[_builtins.str]:
|
|
513
565
|
"""
|
|
514
566
|
The location of your GKE cluster.
|
|
515
567
|
"""
|
|
@@ -536,16 +588,16 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
536
588
|
return super().get(key, default)
|
|
537
589
|
|
|
538
590
|
def __init__(__self__, *,
|
|
539
|
-
evaluation_periods: Optional[int] = None):
|
|
591
|
+
evaluation_periods: Optional[_builtins.int] = None):
|
|
540
592
|
"""
|
|
541
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
593
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
542
594
|
"""
|
|
543
595
|
if evaluation_periods is not None:
|
|
544
596
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
545
597
|
|
|
546
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
547
599
|
@pulumi.getter(name="evaluationPeriods")
|
|
548
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
600
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
549
601
|
"""
|
|
550
602
|
Amount of cooldown evaluation periods for scale down.
|
|
551
603
|
"""
|
|
@@ -576,13 +628,13 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
576
628
|
return super().get(key, default)
|
|
577
629
|
|
|
578
630
|
def __init__(__self__, *,
|
|
579
|
-
cpu_per_unit: Optional[int] = None,
|
|
580
|
-
memory_per_unit: Optional[int] = None,
|
|
581
|
-
num_of_units: Optional[int] = None):
|
|
631
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
632
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
633
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
582
634
|
"""
|
|
583
|
-
:param int cpu_per_unit: Cpu units for compute.
|
|
584
|
-
:param int memory_per_unit: RAM units for compute.
|
|
585
|
-
:param int num_of_units: Amount of units for compute.
|
|
635
|
+
:param _builtins.int cpu_per_unit: Cpu units for compute.
|
|
636
|
+
:param _builtins.int memory_per_unit: RAM units for compute.
|
|
637
|
+
:param _builtins.int num_of_units: Amount of units for compute.
|
|
586
638
|
"""
|
|
587
639
|
if cpu_per_unit is not None:
|
|
588
640
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -591,25 +643,25 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
591
643
|
if num_of_units is not None:
|
|
592
644
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
593
645
|
|
|
594
|
-
@property
|
|
646
|
+
@_builtins.property
|
|
595
647
|
@pulumi.getter(name="cpuPerUnit")
|
|
596
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
648
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
597
649
|
"""
|
|
598
650
|
Cpu units for compute.
|
|
599
651
|
"""
|
|
600
652
|
return pulumi.get(self, "cpu_per_unit")
|
|
601
653
|
|
|
602
|
-
@property
|
|
654
|
+
@_builtins.property
|
|
603
655
|
@pulumi.getter(name="memoryPerUnit")
|
|
604
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
656
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
605
657
|
"""
|
|
606
658
|
RAM units for compute.
|
|
607
659
|
"""
|
|
608
660
|
return pulumi.get(self, "memory_per_unit")
|
|
609
661
|
|
|
610
|
-
@property
|
|
662
|
+
@_builtins.property
|
|
611
663
|
@pulumi.getter(name="numOfUnits")
|
|
612
|
-
def num_of_units(self) -> Optional[int]:
|
|
664
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
613
665
|
"""
|
|
614
666
|
Amount of units for compute.
|
|
615
667
|
"""
|
|
@@ -619,57 +671,57 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
619
671
|
@pulumi.output_type
|
|
620
672
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
621
673
|
def __init__(__self__, *,
|
|
622
|
-
key: str,
|
|
623
|
-
value: str):
|
|
674
|
+
key: _builtins.str,
|
|
675
|
+
value: _builtins.str):
|
|
624
676
|
pulumi.set(__self__, "key", key)
|
|
625
677
|
pulumi.set(__self__, "value", value)
|
|
626
678
|
|
|
627
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
628
680
|
@pulumi.getter
|
|
629
|
-
def key(self) -> str:
|
|
681
|
+
def key(self) -> _builtins.str:
|
|
630
682
|
return pulumi.get(self, "key")
|
|
631
683
|
|
|
632
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
633
685
|
@pulumi.getter
|
|
634
|
-
def value(self) -> str:
|
|
686
|
+
def value(self) -> _builtins.str:
|
|
635
687
|
return pulumi.get(self, "value")
|
|
636
688
|
|
|
637
689
|
|
|
638
690
|
@pulumi.output_type
|
|
639
691
|
class ElastigroupLabel(dict):
|
|
640
692
|
def __init__(__self__, *,
|
|
641
|
-
key: str,
|
|
642
|
-
value: str):
|
|
693
|
+
key: _builtins.str,
|
|
694
|
+
value: _builtins.str):
|
|
643
695
|
pulumi.set(__self__, "key", key)
|
|
644
696
|
pulumi.set(__self__, "value", value)
|
|
645
697
|
|
|
646
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
647
699
|
@pulumi.getter
|
|
648
|
-
def key(self) -> str:
|
|
700
|
+
def key(self) -> _builtins.str:
|
|
649
701
|
return pulumi.get(self, "key")
|
|
650
702
|
|
|
651
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
652
704
|
@pulumi.getter
|
|
653
|
-
def value(self) -> str:
|
|
705
|
+
def value(self) -> _builtins.str:
|
|
654
706
|
return pulumi.get(self, "value")
|
|
655
707
|
|
|
656
708
|
|
|
657
709
|
@pulumi.output_type
|
|
658
710
|
class ElastigroupMetadata(dict):
|
|
659
711
|
def __init__(__self__, *,
|
|
660
|
-
key: str,
|
|
661
|
-
value: str):
|
|
712
|
+
key: _builtins.str,
|
|
713
|
+
value: _builtins.str):
|
|
662
714
|
pulumi.set(__self__, "key", key)
|
|
663
715
|
pulumi.set(__self__, "value", value)
|
|
664
716
|
|
|
665
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
666
718
|
@pulumi.getter
|
|
667
|
-
def key(self) -> str:
|
|
719
|
+
def key(self) -> _builtins.str:
|
|
668
720
|
return pulumi.get(self, "key")
|
|
669
721
|
|
|
670
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
671
723
|
@pulumi.getter
|
|
672
|
-
def value(self) -> str:
|
|
724
|
+
def value(self) -> _builtins.str:
|
|
673
725
|
return pulumi.get(self, "value")
|
|
674
726
|
|
|
675
727
|
|
|
@@ -695,7 +747,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
695
747
|
return super().get(key, default)
|
|
696
748
|
|
|
697
749
|
def __init__(__self__, *,
|
|
698
|
-
network: str,
|
|
750
|
+
network: _builtins.str,
|
|
699
751
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
700
752
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
701
753
|
pulumi.set(__self__, "network", network)
|
|
@@ -704,17 +756,17 @@ class ElastigroupNetworkInterface(dict):
|
|
|
704
756
|
if alias_ip_ranges is not None:
|
|
705
757
|
pulumi.set(__self__, "alias_ip_ranges", alias_ip_ranges)
|
|
706
758
|
|
|
707
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
708
760
|
@pulumi.getter
|
|
709
|
-
def network(self) -> str:
|
|
761
|
+
def network(self) -> _builtins.str:
|
|
710
762
|
return pulumi.get(self, "network")
|
|
711
763
|
|
|
712
|
-
@property
|
|
764
|
+
@_builtins.property
|
|
713
765
|
@pulumi.getter(name="accessConfigs")
|
|
714
766
|
def access_configs(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']]:
|
|
715
767
|
return pulumi.get(self, "access_configs")
|
|
716
768
|
|
|
717
|
-
@property
|
|
769
|
+
@_builtins.property
|
|
718
770
|
@pulumi.getter(name="aliasIpRanges")
|
|
719
771
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']]:
|
|
720
772
|
return pulumi.get(self, "alias_ip_ranges")
|
|
@@ -723,21 +775,21 @@ class ElastigroupNetworkInterface(dict):
|
|
|
723
775
|
@pulumi.output_type
|
|
724
776
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
725
777
|
def __init__(__self__, *,
|
|
726
|
-
name: Optional[str] = None,
|
|
727
|
-
type: Optional[str] = None):
|
|
778
|
+
name: Optional[_builtins.str] = None,
|
|
779
|
+
type: Optional[_builtins.str] = None):
|
|
728
780
|
if name is not None:
|
|
729
781
|
pulumi.set(__self__, "name", name)
|
|
730
782
|
if type is not None:
|
|
731
783
|
pulumi.set(__self__, "type", type)
|
|
732
784
|
|
|
733
|
-
@property
|
|
785
|
+
@_builtins.property
|
|
734
786
|
@pulumi.getter
|
|
735
|
-
def name(self) -> Optional[str]:
|
|
787
|
+
def name(self) -> Optional[_builtins.str]:
|
|
736
788
|
return pulumi.get(self, "name")
|
|
737
789
|
|
|
738
|
-
@property
|
|
790
|
+
@_builtins.property
|
|
739
791
|
@pulumi.getter
|
|
740
|
-
def type(self) -> Optional[str]:
|
|
792
|
+
def type(self) -> Optional[_builtins.str]:
|
|
741
793
|
return pulumi.get(self, "type")
|
|
742
794
|
|
|
743
795
|
|
|
@@ -763,19 +815,19 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
763
815
|
return super().get(key, default)
|
|
764
816
|
|
|
765
817
|
def __init__(__self__, *,
|
|
766
|
-
ip_cidr_range: str,
|
|
767
|
-
subnetwork_range_name: str):
|
|
818
|
+
ip_cidr_range: _builtins.str,
|
|
819
|
+
subnetwork_range_name: _builtins.str):
|
|
768
820
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
769
821
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
770
822
|
|
|
771
|
-
@property
|
|
823
|
+
@_builtins.property
|
|
772
824
|
@pulumi.getter(name="ipCidrRange")
|
|
773
|
-
def ip_cidr_range(self) -> str:
|
|
825
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
774
826
|
return pulumi.get(self, "ip_cidr_range")
|
|
775
827
|
|
|
776
|
-
@property
|
|
828
|
+
@_builtins.property
|
|
777
829
|
@pulumi.getter(name="subnetworkRangeName")
|
|
778
|
-
def subnetwork_range_name(self) -> str:
|
|
830
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
779
831
|
return pulumi.get(self, "subnetwork_range_name")
|
|
780
832
|
|
|
781
833
|
|
|
@@ -799,12 +851,12 @@ class ElastigroupRevertToPreemptible(dict):
|
|
|
799
851
|
return super().get(key, default)
|
|
800
852
|
|
|
801
853
|
def __init__(__self__, *,
|
|
802
|
-
perform_at: str):
|
|
854
|
+
perform_at: _builtins.str):
|
|
803
855
|
pulumi.set(__self__, "perform_at", perform_at)
|
|
804
856
|
|
|
805
|
-
@property
|
|
857
|
+
@_builtins.property
|
|
806
858
|
@pulumi.getter(name="performAt")
|
|
807
|
-
def perform_at(self) -> str:
|
|
859
|
+
def perform_at(self) -> _builtins.str:
|
|
808
860
|
return pulumi.get(self, "perform_at")
|
|
809
861
|
|
|
810
862
|
|
|
@@ -834,22 +886,22 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
834
886
|
return super().get(key, default)
|
|
835
887
|
|
|
836
888
|
def __init__(__self__, *,
|
|
837
|
-
metric_name: str,
|
|
838
|
-
namespace: str,
|
|
839
|
-
policy_name: str,
|
|
840
|
-
threshold: float,
|
|
841
|
-
unit: str,
|
|
842
|
-
action_type: Optional[str] = None,
|
|
843
|
-
adjustment: Optional[int] = None,
|
|
844
|
-
cooldown: Optional[int] = None,
|
|
889
|
+
metric_name: _builtins.str,
|
|
890
|
+
namespace: _builtins.str,
|
|
891
|
+
policy_name: _builtins.str,
|
|
892
|
+
threshold: _builtins.float,
|
|
893
|
+
unit: _builtins.str,
|
|
894
|
+
action_type: Optional[_builtins.str] = None,
|
|
895
|
+
adjustment: Optional[_builtins.int] = None,
|
|
896
|
+
cooldown: Optional[_builtins.int] = None,
|
|
845
897
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
846
|
-
evaluation_periods: Optional[int] = None,
|
|
847
|
-
operator: Optional[str] = None,
|
|
848
|
-
period: Optional[int] = None,
|
|
849
|
-
source: Optional[str] = None,
|
|
850
|
-
statistic: Optional[str] = None):
|
|
898
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
899
|
+
operator: Optional[_builtins.str] = None,
|
|
900
|
+
period: Optional[_builtins.int] = None,
|
|
901
|
+
source: Optional[_builtins.str] = None,
|
|
902
|
+
statistic: Optional[_builtins.str] = None):
|
|
851
903
|
"""
|
|
852
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
904
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
853
905
|
"""
|
|
854
906
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
855
907
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -875,97 +927,97 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
875
927
|
if statistic is not None:
|
|
876
928
|
pulumi.set(__self__, "statistic", statistic)
|
|
877
929
|
|
|
878
|
-
@property
|
|
930
|
+
@_builtins.property
|
|
879
931
|
@pulumi.getter(name="metricName")
|
|
880
|
-
def metric_name(self) -> str:
|
|
932
|
+
def metric_name(self) -> _builtins.str:
|
|
881
933
|
return pulumi.get(self, "metric_name")
|
|
882
934
|
|
|
883
|
-
@property
|
|
935
|
+
@_builtins.property
|
|
884
936
|
@pulumi.getter
|
|
885
|
-
def namespace(self) -> str:
|
|
937
|
+
def namespace(self) -> _builtins.str:
|
|
886
938
|
return pulumi.get(self, "namespace")
|
|
887
939
|
|
|
888
|
-
@property
|
|
940
|
+
@_builtins.property
|
|
889
941
|
@pulumi.getter(name="policyName")
|
|
890
|
-
def policy_name(self) -> str:
|
|
942
|
+
def policy_name(self) -> _builtins.str:
|
|
891
943
|
return pulumi.get(self, "policy_name")
|
|
892
944
|
|
|
893
|
-
@property
|
|
945
|
+
@_builtins.property
|
|
894
946
|
@pulumi.getter
|
|
895
|
-
def threshold(self) -> float:
|
|
947
|
+
def threshold(self) -> _builtins.float:
|
|
896
948
|
return pulumi.get(self, "threshold")
|
|
897
949
|
|
|
898
|
-
@property
|
|
950
|
+
@_builtins.property
|
|
899
951
|
@pulumi.getter
|
|
900
|
-
def unit(self) -> str:
|
|
952
|
+
def unit(self) -> _builtins.str:
|
|
901
953
|
return pulumi.get(self, "unit")
|
|
902
954
|
|
|
903
|
-
@property
|
|
955
|
+
@_builtins.property
|
|
904
956
|
@pulumi.getter(name="actionType")
|
|
905
|
-
def action_type(self) -> Optional[str]:
|
|
957
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
906
958
|
return pulumi.get(self, "action_type")
|
|
907
959
|
|
|
908
|
-
@property
|
|
960
|
+
@_builtins.property
|
|
909
961
|
@pulumi.getter
|
|
910
|
-
def adjustment(self) -> Optional[int]:
|
|
962
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
911
963
|
return pulumi.get(self, "adjustment")
|
|
912
964
|
|
|
913
|
-
@property
|
|
965
|
+
@_builtins.property
|
|
914
966
|
@pulumi.getter
|
|
915
|
-
def cooldown(self) -> Optional[int]:
|
|
967
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
916
968
|
return pulumi.get(self, "cooldown")
|
|
917
969
|
|
|
918
|
-
@property
|
|
970
|
+
@_builtins.property
|
|
919
971
|
@pulumi.getter
|
|
920
972
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']]:
|
|
921
973
|
return pulumi.get(self, "dimensions")
|
|
922
974
|
|
|
923
|
-
@property
|
|
975
|
+
@_builtins.property
|
|
924
976
|
@pulumi.getter(name="evaluationPeriods")
|
|
925
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
977
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
926
978
|
"""
|
|
927
979
|
Amount of cooldown evaluation periods for scale down.
|
|
928
980
|
"""
|
|
929
981
|
return pulumi.get(self, "evaluation_periods")
|
|
930
982
|
|
|
931
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
932
984
|
@pulumi.getter
|
|
933
|
-
def operator(self) -> Optional[str]:
|
|
985
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
934
986
|
return pulumi.get(self, "operator")
|
|
935
987
|
|
|
936
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
937
989
|
@pulumi.getter
|
|
938
|
-
def period(self) -> Optional[int]:
|
|
990
|
+
def period(self) -> Optional[_builtins.int]:
|
|
939
991
|
return pulumi.get(self, "period")
|
|
940
992
|
|
|
941
|
-
@property
|
|
993
|
+
@_builtins.property
|
|
942
994
|
@pulumi.getter
|
|
943
|
-
def source(self) -> Optional[str]:
|
|
995
|
+
def source(self) -> Optional[_builtins.str]:
|
|
944
996
|
return pulumi.get(self, "source")
|
|
945
997
|
|
|
946
|
-
@property
|
|
998
|
+
@_builtins.property
|
|
947
999
|
@pulumi.getter
|
|
948
|
-
def statistic(self) -> Optional[str]:
|
|
1000
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
949
1001
|
return pulumi.get(self, "statistic")
|
|
950
1002
|
|
|
951
1003
|
|
|
952
1004
|
@pulumi.output_type
|
|
953
1005
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
954
1006
|
def __init__(__self__, *,
|
|
955
|
-
name: str,
|
|
956
|
-
value: Optional[str] = None):
|
|
1007
|
+
name: _builtins.str,
|
|
1008
|
+
value: Optional[_builtins.str] = None):
|
|
957
1009
|
pulumi.set(__self__, "name", name)
|
|
958
1010
|
if value is not None:
|
|
959
1011
|
pulumi.set(__self__, "value", value)
|
|
960
1012
|
|
|
961
|
-
@property
|
|
1013
|
+
@_builtins.property
|
|
962
1014
|
@pulumi.getter
|
|
963
|
-
def name(self) -> str:
|
|
1015
|
+
def name(self) -> _builtins.str:
|
|
964
1016
|
return pulumi.get(self, "name")
|
|
965
1017
|
|
|
966
|
-
@property
|
|
1018
|
+
@_builtins.property
|
|
967
1019
|
@pulumi.getter
|
|
968
|
-
def value(self) -> Optional[str]:
|
|
1020
|
+
def value(self) -> Optional[_builtins.str]:
|
|
969
1021
|
return pulumi.get(self, "value")
|
|
970
1022
|
|
|
971
1023
|
|
|
@@ -995,22 +1047,22 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
995
1047
|
return super().get(key, default)
|
|
996
1048
|
|
|
997
1049
|
def __init__(__self__, *,
|
|
998
|
-
metric_name: str,
|
|
999
|
-
namespace: str,
|
|
1000
|
-
policy_name: str,
|
|
1001
|
-
threshold: float,
|
|
1002
|
-
unit: str,
|
|
1003
|
-
action_type: Optional[str] = None,
|
|
1004
|
-
adjustment: Optional[int] = None,
|
|
1005
|
-
cooldown: Optional[int] = None,
|
|
1050
|
+
metric_name: _builtins.str,
|
|
1051
|
+
namespace: _builtins.str,
|
|
1052
|
+
policy_name: _builtins.str,
|
|
1053
|
+
threshold: _builtins.float,
|
|
1054
|
+
unit: _builtins.str,
|
|
1055
|
+
action_type: Optional[_builtins.str] = None,
|
|
1056
|
+
adjustment: Optional[_builtins.int] = None,
|
|
1057
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1006
1058
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
1007
|
-
evaluation_periods: Optional[int] = None,
|
|
1008
|
-
operator: Optional[str] = None,
|
|
1009
|
-
period: Optional[int] = None,
|
|
1010
|
-
source: Optional[str] = None,
|
|
1011
|
-
statistic: Optional[str] = None):
|
|
1059
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1060
|
+
operator: Optional[_builtins.str] = None,
|
|
1061
|
+
period: Optional[_builtins.int] = None,
|
|
1062
|
+
source: Optional[_builtins.str] = None,
|
|
1063
|
+
statistic: Optional[_builtins.str] = None):
|
|
1012
1064
|
"""
|
|
1013
|
-
:param int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1065
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1014
1066
|
"""
|
|
1015
1067
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
1016
1068
|
pulumi.set(__self__, "namespace", namespace)
|
|
@@ -1036,97 +1088,97 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
1036
1088
|
if statistic is not None:
|
|
1037
1089
|
pulumi.set(__self__, "statistic", statistic)
|
|
1038
1090
|
|
|
1039
|
-
@property
|
|
1091
|
+
@_builtins.property
|
|
1040
1092
|
@pulumi.getter(name="metricName")
|
|
1041
|
-
def metric_name(self) -> str:
|
|
1093
|
+
def metric_name(self) -> _builtins.str:
|
|
1042
1094
|
return pulumi.get(self, "metric_name")
|
|
1043
1095
|
|
|
1044
|
-
@property
|
|
1096
|
+
@_builtins.property
|
|
1045
1097
|
@pulumi.getter
|
|
1046
|
-
def namespace(self) -> str:
|
|
1098
|
+
def namespace(self) -> _builtins.str:
|
|
1047
1099
|
return pulumi.get(self, "namespace")
|
|
1048
1100
|
|
|
1049
|
-
@property
|
|
1101
|
+
@_builtins.property
|
|
1050
1102
|
@pulumi.getter(name="policyName")
|
|
1051
|
-
def policy_name(self) -> str:
|
|
1103
|
+
def policy_name(self) -> _builtins.str:
|
|
1052
1104
|
return pulumi.get(self, "policy_name")
|
|
1053
1105
|
|
|
1054
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
1055
1107
|
@pulumi.getter
|
|
1056
|
-
def threshold(self) -> float:
|
|
1108
|
+
def threshold(self) -> _builtins.float:
|
|
1057
1109
|
return pulumi.get(self, "threshold")
|
|
1058
1110
|
|
|
1059
|
-
@property
|
|
1111
|
+
@_builtins.property
|
|
1060
1112
|
@pulumi.getter
|
|
1061
|
-
def unit(self) -> str:
|
|
1113
|
+
def unit(self) -> _builtins.str:
|
|
1062
1114
|
return pulumi.get(self, "unit")
|
|
1063
1115
|
|
|
1064
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
1065
1117
|
@pulumi.getter(name="actionType")
|
|
1066
|
-
def action_type(self) -> Optional[str]:
|
|
1118
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
1067
1119
|
return pulumi.get(self, "action_type")
|
|
1068
1120
|
|
|
1069
|
-
@property
|
|
1121
|
+
@_builtins.property
|
|
1070
1122
|
@pulumi.getter
|
|
1071
|
-
def adjustment(self) -> Optional[int]:
|
|
1123
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
1072
1124
|
return pulumi.get(self, "adjustment")
|
|
1073
1125
|
|
|
1074
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1075
1127
|
@pulumi.getter
|
|
1076
|
-
def cooldown(self) -> Optional[int]:
|
|
1128
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1077
1129
|
return pulumi.get(self, "cooldown")
|
|
1078
1130
|
|
|
1079
|
-
@property
|
|
1131
|
+
@_builtins.property
|
|
1080
1132
|
@pulumi.getter
|
|
1081
1133
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']]:
|
|
1082
1134
|
return pulumi.get(self, "dimensions")
|
|
1083
1135
|
|
|
1084
|
-
@property
|
|
1136
|
+
@_builtins.property
|
|
1085
1137
|
@pulumi.getter(name="evaluationPeriods")
|
|
1086
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1138
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1087
1139
|
"""
|
|
1088
1140
|
Amount of cooldown evaluation periods for scale down.
|
|
1089
1141
|
"""
|
|
1090
1142
|
return pulumi.get(self, "evaluation_periods")
|
|
1091
1143
|
|
|
1092
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1093
1145
|
@pulumi.getter
|
|
1094
|
-
def operator(self) -> Optional[str]:
|
|
1146
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
1095
1147
|
return pulumi.get(self, "operator")
|
|
1096
1148
|
|
|
1097
|
-
@property
|
|
1149
|
+
@_builtins.property
|
|
1098
1150
|
@pulumi.getter
|
|
1099
|
-
def period(self) -> Optional[int]:
|
|
1151
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1100
1152
|
return pulumi.get(self, "period")
|
|
1101
1153
|
|
|
1102
|
-
@property
|
|
1154
|
+
@_builtins.property
|
|
1103
1155
|
@pulumi.getter
|
|
1104
|
-
def source(self) -> Optional[str]:
|
|
1156
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1105
1157
|
return pulumi.get(self, "source")
|
|
1106
1158
|
|
|
1107
|
-
@property
|
|
1159
|
+
@_builtins.property
|
|
1108
1160
|
@pulumi.getter
|
|
1109
|
-
def statistic(self) -> Optional[str]:
|
|
1161
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1110
1162
|
return pulumi.get(self, "statistic")
|
|
1111
1163
|
|
|
1112
1164
|
|
|
1113
1165
|
@pulumi.output_type
|
|
1114
1166
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1115
1167
|
def __init__(__self__, *,
|
|
1116
|
-
name: str,
|
|
1117
|
-
value: Optional[str] = None):
|
|
1168
|
+
name: _builtins.str,
|
|
1169
|
+
value: Optional[_builtins.str] = None):
|
|
1118
1170
|
pulumi.set(__self__, "name", name)
|
|
1119
1171
|
if value is not None:
|
|
1120
1172
|
pulumi.set(__self__, "value", value)
|
|
1121
1173
|
|
|
1122
|
-
@property
|
|
1174
|
+
@_builtins.property
|
|
1123
1175
|
@pulumi.getter
|
|
1124
|
-
def name(self) -> str:
|
|
1176
|
+
def name(self) -> _builtins.str:
|
|
1125
1177
|
return pulumi.get(self, "name")
|
|
1126
1178
|
|
|
1127
|
-
@property
|
|
1179
|
+
@_builtins.property
|
|
1128
1180
|
@pulumi.getter
|
|
1129
|
-
def value(self) -> Optional[str]:
|
|
1181
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1130
1182
|
return pulumi.get(self, "value")
|
|
1131
1183
|
|
|
1132
1184
|
|
|
@@ -1152,21 +1204,21 @@ class ElastigroupShieldedInstanceConfig(dict):
|
|
|
1152
1204
|
return super().get(key, default)
|
|
1153
1205
|
|
|
1154
1206
|
def __init__(__self__, *,
|
|
1155
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
1156
|
-
enable_secure_boot: Optional[bool] = None):
|
|
1207
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
1208
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1157
1209
|
if enable_integrity_monitoring is not None:
|
|
1158
1210
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1159
1211
|
if enable_secure_boot is not None:
|
|
1160
1212
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1161
1213
|
|
|
1162
|
-
@property
|
|
1214
|
+
@_builtins.property
|
|
1163
1215
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1164
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
1216
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1165
1217
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1166
1218
|
|
|
1167
|
-
@property
|
|
1219
|
+
@_builtins.property
|
|
1168
1220
|
@pulumi.getter(name="enableSecureBoot")
|
|
1169
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
1221
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1170
1222
|
return pulumi.get(self, "enable_secure_boot")
|
|
1171
1223
|
|
|
1172
1224
|
|
|
@@ -1190,16 +1242,16 @@ class OceanImportAutoUpdate(dict):
|
|
|
1190
1242
|
return super().get(key, default)
|
|
1191
1243
|
|
|
1192
1244
|
def __init__(__self__, *,
|
|
1193
|
-
is_enabled: Optional[bool] = None):
|
|
1245
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1194
1246
|
"""
|
|
1195
|
-
:param bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1247
|
+
:param _builtins.bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1196
1248
|
"""
|
|
1197
1249
|
if is_enabled is not None:
|
|
1198
1250
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1199
1251
|
|
|
1200
|
-
@property
|
|
1252
|
+
@_builtins.property
|
|
1201
1253
|
@pulumi.getter(name="isEnabled")
|
|
1202
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1254
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1203
1255
|
"""
|
|
1204
1256
|
Enable the Ocean Kubernetes AutoUpdate.
|
|
1205
1257
|
"""
|
|
@@ -1234,22 +1286,22 @@ class OceanImportAutoscaler(dict):
|
|
|
1234
1286
|
return super().get(key, default)
|
|
1235
1287
|
|
|
1236
1288
|
def __init__(__self__, *,
|
|
1237
|
-
auto_headroom_percentage: Optional[int] = None,
|
|
1238
|
-
cooldown: Optional[int] = None,
|
|
1289
|
+
auto_headroom_percentage: Optional[_builtins.int] = None,
|
|
1290
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1239
1291
|
down: Optional['outputs.OceanImportAutoscalerDown'] = None,
|
|
1240
|
-
enable_automatic_and_manual_headroom: Optional[bool] = None,
|
|
1292
|
+
enable_automatic_and_manual_headroom: Optional[_builtins.bool] = None,
|
|
1241
1293
|
headroom: Optional['outputs.OceanImportAutoscalerHeadroom'] = None,
|
|
1242
|
-
is_auto_config: Optional[bool] = None,
|
|
1243
|
-
is_enabled: Optional[bool] = None,
|
|
1294
|
+
is_auto_config: Optional[_builtins.bool] = None,
|
|
1295
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
1244
1296
|
resource_limits: Optional['outputs.OceanImportAutoscalerResourceLimits'] = None):
|
|
1245
1297
|
"""
|
|
1246
|
-
:param int auto_headroom_percentage: Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1247
|
-
:param int cooldown: Cooldown period between scaling actions.
|
|
1298
|
+
:param _builtins.int auto_headroom_percentage: Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1299
|
+
:param _builtins.int cooldown: Cooldown period between scaling actions.
|
|
1248
1300
|
:param 'OceanImportAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
1249
|
-
:param bool enable_automatic_and_manual_headroom: enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1301
|
+
:param _builtins.bool enable_automatic_and_manual_headroom: enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1250
1302
|
:param 'OceanImportAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
1251
|
-
:param bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1252
|
-
:param bool is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
1303
|
+
:param _builtins.bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1304
|
+
:param _builtins.bool is_enabled: Enable the Ocean Kubernetes Autoscaler.
|
|
1253
1305
|
:param 'OceanImportAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
1254
1306
|
"""
|
|
1255
1307
|
if auto_headroom_percentage is not None:
|
|
@@ -1269,23 +1321,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1269
1321
|
if resource_limits is not None:
|
|
1270
1322
|
pulumi.set(__self__, "resource_limits", resource_limits)
|
|
1271
1323
|
|
|
1272
|
-
@property
|
|
1324
|
+
@_builtins.property
|
|
1273
1325
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
1274
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
1326
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
1275
1327
|
"""
|
|
1276
1328
|
Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1277
1329
|
"""
|
|
1278
1330
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
1279
1331
|
|
|
1280
|
-
@property
|
|
1332
|
+
@_builtins.property
|
|
1281
1333
|
@pulumi.getter
|
|
1282
|
-
def cooldown(self) -> Optional[int]:
|
|
1334
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1283
1335
|
"""
|
|
1284
1336
|
Cooldown period between scaling actions.
|
|
1285
1337
|
"""
|
|
1286
1338
|
return pulumi.get(self, "cooldown")
|
|
1287
1339
|
|
|
1288
|
-
@property
|
|
1340
|
+
@_builtins.property
|
|
1289
1341
|
@pulumi.getter
|
|
1290
1342
|
def down(self) -> Optional['outputs.OceanImportAutoscalerDown']:
|
|
1291
1343
|
"""
|
|
@@ -1293,15 +1345,15 @@ class OceanImportAutoscaler(dict):
|
|
|
1293
1345
|
"""
|
|
1294
1346
|
return pulumi.get(self, "down")
|
|
1295
1347
|
|
|
1296
|
-
@property
|
|
1348
|
+
@_builtins.property
|
|
1297
1349
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
1298
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[bool]:
|
|
1350
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[_builtins.bool]:
|
|
1299
1351
|
"""
|
|
1300
1352
|
enables automatic and manual headroom to work in parallel. When set to false, automatic headroom overrides all other headroom definitions manually configured, whether they are at cluster or VNG level.
|
|
1301
1353
|
"""
|
|
1302
1354
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
1303
1355
|
|
|
1304
|
-
@property
|
|
1356
|
+
@_builtins.property
|
|
1305
1357
|
@pulumi.getter
|
|
1306
1358
|
def headroom(self) -> Optional['outputs.OceanImportAutoscalerHeadroom']:
|
|
1307
1359
|
"""
|
|
@@ -1309,23 +1361,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1309
1361
|
"""
|
|
1310
1362
|
return pulumi.get(self, "headroom")
|
|
1311
1363
|
|
|
1312
|
-
@property
|
|
1364
|
+
@_builtins.property
|
|
1313
1365
|
@pulumi.getter(name="isAutoConfig")
|
|
1314
|
-
def is_auto_config(self) -> Optional[bool]:
|
|
1366
|
+
def is_auto_config(self) -> Optional[_builtins.bool]:
|
|
1315
1367
|
"""
|
|
1316
1368
|
Automatically configure and optimize headroom resources.
|
|
1317
1369
|
"""
|
|
1318
1370
|
return pulumi.get(self, "is_auto_config")
|
|
1319
1371
|
|
|
1320
|
-
@property
|
|
1372
|
+
@_builtins.property
|
|
1321
1373
|
@pulumi.getter(name="isEnabled")
|
|
1322
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1374
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1323
1375
|
"""
|
|
1324
1376
|
Enable the Ocean Kubernetes Autoscaler.
|
|
1325
1377
|
"""
|
|
1326
1378
|
return pulumi.get(self, "is_enabled")
|
|
1327
1379
|
|
|
1328
|
-
@property
|
|
1380
|
+
@_builtins.property
|
|
1329
1381
|
@pulumi.getter(name="resourceLimits")
|
|
1330
1382
|
def resource_limits(self) -> Optional['outputs.OceanImportAutoscalerResourceLimits']:
|
|
1331
1383
|
"""
|
|
@@ -1358,13 +1410,13 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1358
1410
|
return super().get(key, default)
|
|
1359
1411
|
|
|
1360
1412
|
def __init__(__self__, *,
|
|
1361
|
-
evaluation_periods: Optional[int] = None,
|
|
1362
|
-
is_aggressive_scale_down_enabled: Optional[bool] = None,
|
|
1363
|
-
max_scale_down_percentage: Optional[float] = None):
|
|
1413
|
+
evaluation_periods: Optional[_builtins.int] = None,
|
|
1414
|
+
is_aggressive_scale_down_enabled: Optional[_builtins.bool] = None,
|
|
1415
|
+
max_scale_down_percentage: Optional[_builtins.float] = None):
|
|
1364
1416
|
"""
|
|
1365
|
-
:param int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1366
|
-
:param bool is_aggressive_scale_down_enabled: When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1367
|
-
:param float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
1417
|
+
:param _builtins.int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1418
|
+
:param _builtins.bool is_aggressive_scale_down_enabled: When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1419
|
+
:param _builtins.float max_scale_down_percentage: Would represent the maximum % to scale-down. Number between 1-100.
|
|
1368
1420
|
"""
|
|
1369
1421
|
if evaluation_periods is not None:
|
|
1370
1422
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
@@ -1373,25 +1425,25 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1373
1425
|
if max_scale_down_percentage is not None:
|
|
1374
1426
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
1375
1427
|
|
|
1376
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1377
1429
|
@pulumi.getter(name="evaluationPeriods")
|
|
1378
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1430
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1379
1431
|
"""
|
|
1380
1432
|
The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1381
1433
|
"""
|
|
1382
1434
|
return pulumi.get(self, "evaluation_periods")
|
|
1383
1435
|
|
|
1384
|
-
@property
|
|
1436
|
+
@_builtins.property
|
|
1385
1437
|
@pulumi.getter(name="isAggressiveScaleDownEnabled")
|
|
1386
|
-
def is_aggressive_scale_down_enabled(self) -> Optional[bool]:
|
|
1438
|
+
def is_aggressive_scale_down_enabled(self) -> Optional[_builtins.bool]:
|
|
1387
1439
|
"""
|
|
1388
1440
|
When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1389
1441
|
"""
|
|
1390
1442
|
return pulumi.get(self, "is_aggressive_scale_down_enabled")
|
|
1391
1443
|
|
|
1392
|
-
@property
|
|
1444
|
+
@_builtins.property
|
|
1393
1445
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
1394
|
-
def max_scale_down_percentage(self) -> Optional[float]:
|
|
1446
|
+
def max_scale_down_percentage(self) -> Optional[_builtins.float]:
|
|
1395
1447
|
"""
|
|
1396
1448
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
1397
1449
|
"""
|
|
@@ -1424,15 +1476,15 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1424
1476
|
return super().get(key, default)
|
|
1425
1477
|
|
|
1426
1478
|
def __init__(__self__, *,
|
|
1427
|
-
cpu_per_unit: Optional[int] = None,
|
|
1428
|
-
gpu_per_unit: Optional[int] = None,
|
|
1429
|
-
memory_per_unit: Optional[int] = None,
|
|
1430
|
-
num_of_units: Optional[int] = None):
|
|
1479
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
1480
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
1481
|
+
memory_per_unit: Optional[_builtins.int] = None,
|
|
1482
|
+
num_of_units: Optional[_builtins.int] = None):
|
|
1431
1483
|
"""
|
|
1432
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1433
|
-
:param int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1434
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1435
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1484
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1485
|
+
:param _builtins.int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1486
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1487
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1436
1488
|
"""
|
|
1437
1489
|
if cpu_per_unit is not None:
|
|
1438
1490
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1443,33 +1495,33 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1443
1495
|
if num_of_units is not None:
|
|
1444
1496
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1445
1497
|
|
|
1446
|
-
@property
|
|
1498
|
+
@_builtins.property
|
|
1447
1499
|
@pulumi.getter(name="cpuPerUnit")
|
|
1448
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1500
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1449
1501
|
"""
|
|
1450
1502
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1451
1503
|
"""
|
|
1452
1504
|
return pulumi.get(self, "cpu_per_unit")
|
|
1453
1505
|
|
|
1454
|
-
@property
|
|
1506
|
+
@_builtins.property
|
|
1455
1507
|
@pulumi.getter(name="gpuPerUnit")
|
|
1456
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
1508
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1457
1509
|
"""
|
|
1458
1510
|
How much GPU allocate for headroom unit.
|
|
1459
1511
|
"""
|
|
1460
1512
|
return pulumi.get(self, "gpu_per_unit")
|
|
1461
1513
|
|
|
1462
|
-
@property
|
|
1514
|
+
@_builtins.property
|
|
1463
1515
|
@pulumi.getter(name="memoryPerUnit")
|
|
1464
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1516
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
1465
1517
|
"""
|
|
1466
1518
|
Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1467
1519
|
"""
|
|
1468
1520
|
return pulumi.get(self, "memory_per_unit")
|
|
1469
1521
|
|
|
1470
|
-
@property
|
|
1522
|
+
@_builtins.property
|
|
1471
1523
|
@pulumi.getter(name="numOfUnits")
|
|
1472
|
-
def num_of_units(self) -> Optional[int]:
|
|
1524
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
1473
1525
|
"""
|
|
1474
1526
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1475
1527
|
"""
|
|
@@ -1498,28 +1550,28 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1498
1550
|
return super().get(key, default)
|
|
1499
1551
|
|
|
1500
1552
|
def __init__(__self__, *,
|
|
1501
|
-
max_memory_gib: Optional[int] = None,
|
|
1502
|
-
max_vcpu: Optional[int] = None):
|
|
1553
|
+
max_memory_gib: Optional[_builtins.int] = None,
|
|
1554
|
+
max_vcpu: Optional[_builtins.int] = None):
|
|
1503
1555
|
"""
|
|
1504
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1505
|
-
:param int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1556
|
+
:param _builtins.int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1557
|
+
:param _builtins.int max_vcpu: The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1506
1558
|
"""
|
|
1507
1559
|
if max_memory_gib is not None:
|
|
1508
1560
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
1509
1561
|
if max_vcpu is not None:
|
|
1510
1562
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
1511
1563
|
|
|
1512
|
-
@property
|
|
1564
|
+
@_builtins.property
|
|
1513
1565
|
@pulumi.getter(name="maxMemoryGib")
|
|
1514
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
1566
|
+
def max_memory_gib(self) -> Optional[_builtins.int]:
|
|
1515
1567
|
"""
|
|
1516
1568
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
1517
1569
|
"""
|
|
1518
1570
|
return pulumi.get(self, "max_memory_gib")
|
|
1519
1571
|
|
|
1520
|
-
@property
|
|
1572
|
+
@_builtins.property
|
|
1521
1573
|
@pulumi.getter(name="maxVcpu")
|
|
1522
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1574
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1523
1575
|
"""
|
|
1524
1576
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1525
1577
|
"""
|
|
@@ -1550,14 +1602,14 @@ class OceanImportBackendService(dict):
|
|
|
1550
1602
|
return super().get(key, default)
|
|
1551
1603
|
|
|
1552
1604
|
def __init__(__self__, *,
|
|
1553
|
-
service_name: str,
|
|
1554
|
-
location_type: Optional[str] = None,
|
|
1605
|
+
service_name: _builtins.str,
|
|
1606
|
+
location_type: Optional[_builtins.str] = None,
|
|
1555
1607
|
named_ports: Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']] = None,
|
|
1556
|
-
scheme: Optional[str] = None):
|
|
1608
|
+
scheme: Optional[_builtins.str] = None):
|
|
1557
1609
|
"""
|
|
1558
|
-
:param str service_name: The name of the backend service.
|
|
1559
|
-
:param str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1560
|
-
: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`.
|
|
1610
|
+
:param _builtins.str service_name: The name of the backend service.
|
|
1611
|
+
:param _builtins.str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1612
|
+
: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`.
|
|
1561
1613
|
"""
|
|
1562
1614
|
pulumi.set(__self__, "service_name", service_name)
|
|
1563
1615
|
if location_type is not None:
|
|
@@ -1567,30 +1619,30 @@ class OceanImportBackendService(dict):
|
|
|
1567
1619
|
if scheme is not None:
|
|
1568
1620
|
pulumi.set(__self__, "scheme", scheme)
|
|
1569
1621
|
|
|
1570
|
-
@property
|
|
1622
|
+
@_builtins.property
|
|
1571
1623
|
@pulumi.getter(name="serviceName")
|
|
1572
|
-
def service_name(self) -> str:
|
|
1624
|
+
def service_name(self) -> _builtins.str:
|
|
1573
1625
|
"""
|
|
1574
1626
|
The name of the backend service.
|
|
1575
1627
|
"""
|
|
1576
1628
|
return pulumi.get(self, "service_name")
|
|
1577
1629
|
|
|
1578
|
-
@property
|
|
1630
|
+
@_builtins.property
|
|
1579
1631
|
@pulumi.getter(name="locationType")
|
|
1580
|
-
def location_type(self) -> Optional[str]:
|
|
1632
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
1581
1633
|
"""
|
|
1582
1634
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1583
1635
|
"""
|
|
1584
1636
|
return pulumi.get(self, "location_type")
|
|
1585
1637
|
|
|
1586
|
-
@property
|
|
1638
|
+
@_builtins.property
|
|
1587
1639
|
@pulumi.getter(name="namedPorts")
|
|
1588
1640
|
def named_ports(self) -> Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']]:
|
|
1589
1641
|
return pulumi.get(self, "named_ports")
|
|
1590
1642
|
|
|
1591
|
-
@property
|
|
1643
|
+
@_builtins.property
|
|
1592
1644
|
@pulumi.getter
|
|
1593
|
-
def scheme(self) -> Optional[str]:
|
|
1645
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
1594
1646
|
"""
|
|
1595
1647
|
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`.
|
|
1596
1648
|
"""
|
|
@@ -1600,22 +1652,22 @@ class OceanImportBackendService(dict):
|
|
|
1600
1652
|
@pulumi.output_type
|
|
1601
1653
|
class OceanImportBackendServiceNamedPort(dict):
|
|
1602
1654
|
def __init__(__self__, *,
|
|
1603
|
-
name: str,
|
|
1604
|
-
ports: Sequence[str]):
|
|
1655
|
+
name: _builtins.str,
|
|
1656
|
+
ports: Sequence[_builtins.str]):
|
|
1605
1657
|
"""
|
|
1606
|
-
:param Sequence[str] ports: A list of ports.
|
|
1658
|
+
:param Sequence[_builtins.str] ports: A list of ports.
|
|
1607
1659
|
"""
|
|
1608
1660
|
pulumi.set(__self__, "name", name)
|
|
1609
1661
|
pulumi.set(__self__, "ports", ports)
|
|
1610
1662
|
|
|
1611
|
-
@property
|
|
1663
|
+
@_builtins.property
|
|
1612
1664
|
@pulumi.getter
|
|
1613
|
-
def name(self) -> str:
|
|
1665
|
+
def name(self) -> _builtins.str:
|
|
1614
1666
|
return pulumi.get(self, "name")
|
|
1615
1667
|
|
|
1616
|
-
@property
|
|
1668
|
+
@_builtins.property
|
|
1617
1669
|
@pulumi.getter
|
|
1618
|
-
def ports(self) -> Sequence[str]:
|
|
1670
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
1619
1671
|
"""
|
|
1620
1672
|
A list of ports.
|
|
1621
1673
|
"""
|
|
@@ -1652,19 +1704,19 @@ class OceanImportFilters(dict):
|
|
|
1652
1704
|
return super().get(key, default)
|
|
1653
1705
|
|
|
1654
1706
|
def __init__(__self__, *,
|
|
1655
|
-
exclude_families: Optional[Sequence[str]] = None,
|
|
1656
|
-
include_families: Optional[Sequence[str]] = None,
|
|
1657
|
-
max_memory_gib: Optional[float] = None,
|
|
1658
|
-
max_vcpu: Optional[int] = None,
|
|
1659
|
-
min_memory_gib: Optional[float] = None,
|
|
1660
|
-
min_vcpu: Optional[int] = None):
|
|
1661
|
-
"""
|
|
1662
|
-
:param Sequence[str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1663
|
-
:param Sequence[str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1664
|
-
:param float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1665
|
-
:param int max_vcpu: Maximum number of vcpus available.
|
|
1666
|
-
:param float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1667
|
-
:param int min_vcpu: Minimum number of vcpus available.
|
|
1707
|
+
exclude_families: Optional[Sequence[_builtins.str]] = None,
|
|
1708
|
+
include_families: Optional[Sequence[_builtins.str]] = None,
|
|
1709
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
1710
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
1711
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
1712
|
+
min_vcpu: Optional[_builtins.int] = None):
|
|
1713
|
+
"""
|
|
1714
|
+
:param Sequence[_builtins.str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1715
|
+
:param Sequence[_builtins.str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1716
|
+
:param _builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
1717
|
+
:param _builtins.int max_vcpu: Maximum number of vcpus available.
|
|
1718
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
1719
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
1668
1720
|
"""
|
|
1669
1721
|
if exclude_families is not None:
|
|
1670
1722
|
pulumi.set(__self__, "exclude_families", exclude_families)
|
|
@@ -1679,49 +1731,49 @@ class OceanImportFilters(dict):
|
|
|
1679
1731
|
if min_vcpu is not None:
|
|
1680
1732
|
pulumi.set(__self__, "min_vcpu", min_vcpu)
|
|
1681
1733
|
|
|
1682
|
-
@property
|
|
1734
|
+
@_builtins.property
|
|
1683
1735
|
@pulumi.getter(name="excludeFamilies")
|
|
1684
|
-
def exclude_families(self) -> Optional[Sequence[str]]:
|
|
1736
|
+
def exclude_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1685
1737
|
"""
|
|
1686
1738
|
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
1687
1739
|
"""
|
|
1688
1740
|
return pulumi.get(self, "exclude_families")
|
|
1689
1741
|
|
|
1690
|
-
@property
|
|
1742
|
+
@_builtins.property
|
|
1691
1743
|
@pulumi.getter(name="includeFamilies")
|
|
1692
|
-
def include_families(self) -> Optional[Sequence[str]]:
|
|
1744
|
+
def include_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1693
1745
|
"""
|
|
1694
1746
|
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
1695
1747
|
"""
|
|
1696
1748
|
return pulumi.get(self, "include_families")
|
|
1697
1749
|
|
|
1698
|
-
@property
|
|
1750
|
+
@_builtins.property
|
|
1699
1751
|
@pulumi.getter(name="maxMemoryGib")
|
|
1700
|
-
def max_memory_gib(self) -> Optional[float]:
|
|
1752
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
1701
1753
|
"""
|
|
1702
1754
|
Maximum amount of Memory (GiB).
|
|
1703
1755
|
"""
|
|
1704
1756
|
return pulumi.get(self, "max_memory_gib")
|
|
1705
1757
|
|
|
1706
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1707
1759
|
@pulumi.getter(name="maxVcpu")
|
|
1708
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1760
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1709
1761
|
"""
|
|
1710
1762
|
Maximum number of vcpus available.
|
|
1711
1763
|
"""
|
|
1712
1764
|
return pulumi.get(self, "max_vcpu")
|
|
1713
1765
|
|
|
1714
|
-
@property
|
|
1766
|
+
@_builtins.property
|
|
1715
1767
|
@pulumi.getter(name="minMemoryGib")
|
|
1716
|
-
def min_memory_gib(self) -> Optional[float]:
|
|
1768
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
1717
1769
|
"""
|
|
1718
1770
|
Minimum amount of Memory (GiB).
|
|
1719
1771
|
"""
|
|
1720
1772
|
return pulumi.get(self, "min_memory_gib")
|
|
1721
1773
|
|
|
1722
|
-
@property
|
|
1774
|
+
@_builtins.property
|
|
1723
1775
|
@pulumi.getter(name="minVcpu")
|
|
1724
|
-
def min_vcpu(self) -> Optional[int]:
|
|
1776
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
1725
1777
|
"""
|
|
1726
1778
|
Minimum number of vcpus available.
|
|
1727
1779
|
"""
|
|
@@ -1759,7 +1811,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1759
1811
|
if tasks is not None:
|
|
1760
1812
|
pulumi.set(__self__, "tasks", tasks)
|
|
1761
1813
|
|
|
1762
|
-
@property
|
|
1814
|
+
@_builtins.property
|
|
1763
1815
|
@pulumi.getter(name="shutdownHours")
|
|
1764
1816
|
def shutdown_hours(self) -> Optional['outputs.OceanImportScheduledTaskShutdownHours']:
|
|
1765
1817
|
"""
|
|
@@ -1767,7 +1819,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1767
1819
|
"""
|
|
1768
1820
|
return pulumi.get(self, "shutdown_hours")
|
|
1769
1821
|
|
|
1770
|
-
@property
|
|
1822
|
+
@_builtins.property
|
|
1771
1823
|
@pulumi.getter
|
|
1772
1824
|
def tasks(self) -> Optional[Sequence['outputs.OceanImportScheduledTaskTask']]:
|
|
1773
1825
|
"""
|
|
@@ -1798,30 +1850,30 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1798
1850
|
return super().get(key, default)
|
|
1799
1851
|
|
|
1800
1852
|
def __init__(__self__, *,
|
|
1801
|
-
time_windows: Sequence[str],
|
|
1802
|
-
is_enabled: Optional[bool] = None):
|
|
1853
|
+
time_windows: Sequence[_builtins.str],
|
|
1854
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1803
1855
|
"""
|
|
1804
|
-
:param Sequence[str] time_windows: Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1856
|
+
:param Sequence[_builtins.str] time_windows: Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1805
1857
|
Example: Fri:15:30-Wed:14:30
|
|
1806
|
-
:param bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1858
|
+
:param _builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1807
1859
|
Example: `true`
|
|
1808
1860
|
"""
|
|
1809
1861
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1810
1862
|
if is_enabled is not None:
|
|
1811
1863
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1812
1864
|
|
|
1813
|
-
@property
|
|
1865
|
+
@_builtins.property
|
|
1814
1866
|
@pulumi.getter(name="timeWindows")
|
|
1815
|
-
def time_windows(self) -> Sequence[str]:
|
|
1867
|
+
def time_windows(self) -> Sequence[_builtins.str]:
|
|
1816
1868
|
"""
|
|
1817
1869
|
Set time windows for shutdown hours. specify a list of 'timeWindows' with at least one time window Each string is in the format of - ddd:hh:mm-ddd:hh:mm ddd = day of week = Sun | Mon | Tue | Wed | Thu | Fri | Sat hh = hour 24 = 0 -23 mm = minute = 0 - 59. Time windows should not overlap. required on cluster.scheduling.isEnabled = `true`. API Times are in UTC
|
|
1818
1870
|
Example: Fri:15:30-Wed:14:30
|
|
1819
1871
|
"""
|
|
1820
1872
|
return pulumi.get(self, "time_windows")
|
|
1821
1873
|
|
|
1822
|
-
@property
|
|
1874
|
+
@_builtins.property
|
|
1823
1875
|
@pulumi.getter(name="isEnabled")
|
|
1824
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1876
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1825
1877
|
"""
|
|
1826
1878
|
Flag to enable / disable the shutdown hours.
|
|
1827
1879
|
Example: `true`
|
|
@@ -1855,15 +1907,15 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1855
1907
|
return super().get(key, default)
|
|
1856
1908
|
|
|
1857
1909
|
def __init__(__self__, *,
|
|
1858
|
-
cron_expression: str,
|
|
1859
|
-
is_enabled: bool,
|
|
1860
|
-
task_type: str,
|
|
1910
|
+
cron_expression: _builtins.str,
|
|
1911
|
+
is_enabled: _builtins.bool,
|
|
1912
|
+
task_type: _builtins.str,
|
|
1861
1913
|
task_parameters: Optional['outputs.OceanImportScheduledTaskTaskTaskParameters'] = None):
|
|
1862
1914
|
"""
|
|
1863
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1915
|
+
:param _builtins.str cron_expression: A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1864
1916
|
Example: 0 1 * * *
|
|
1865
|
-
:param bool is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1866
|
-
:param str task_type: Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1917
|
+
:param _builtins.bool is_enabled: Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1918
|
+
:param _builtins.str task_type: Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1867
1919
|
:param 'OceanImportScheduledTaskTaskTaskParametersArgs' task_parameters: The scheduling parameters for the cluster.
|
|
1868
1920
|
"""
|
|
1869
1921
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1872,32 +1924,32 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1872
1924
|
if task_parameters is not None:
|
|
1873
1925
|
pulumi.set(__self__, "task_parameters", task_parameters)
|
|
1874
1926
|
|
|
1875
|
-
@property
|
|
1927
|
+
@_builtins.property
|
|
1876
1928
|
@pulumi.getter(name="cronExpression")
|
|
1877
|
-
def cron_expression(self) -> str:
|
|
1929
|
+
def cron_expression(self) -> _builtins.str:
|
|
1878
1930
|
"""
|
|
1879
1931
|
A valid cron expression. For example : " * * * * * ".The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of ‘frequency’ or ‘cronExpression’ should be used at a time. Required for cluster.scheduling.tasks object
|
|
1880
1932
|
Example: 0 1 * * *
|
|
1881
1933
|
"""
|
|
1882
1934
|
return pulumi.get(self, "cron_expression")
|
|
1883
1935
|
|
|
1884
|
-
@property
|
|
1936
|
+
@_builtins.property
|
|
1885
1937
|
@pulumi.getter(name="isEnabled")
|
|
1886
|
-
def is_enabled(self) -> bool:
|
|
1938
|
+
def is_enabled(self) -> _builtins.bool:
|
|
1887
1939
|
"""
|
|
1888
1940
|
Describes whether the task is enabled. When true the task should run when false it should not run. Required for cluster.scheduling.tasks object.
|
|
1889
1941
|
"""
|
|
1890
1942
|
return pulumi.get(self, "is_enabled")
|
|
1891
1943
|
|
|
1892
|
-
@property
|
|
1944
|
+
@_builtins.property
|
|
1893
1945
|
@pulumi.getter(name="taskType")
|
|
1894
|
-
def task_type(self) -> str:
|
|
1946
|
+
def task_type(self) -> _builtins.str:
|
|
1895
1947
|
"""
|
|
1896
1948
|
Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1897
1949
|
"""
|
|
1898
1950
|
return pulumi.get(self, "task_type")
|
|
1899
1951
|
|
|
1900
|
-
@property
|
|
1952
|
+
@_builtins.property
|
|
1901
1953
|
@pulumi.getter(name="taskParameters")
|
|
1902
1954
|
def task_parameters(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParameters']:
|
|
1903
1955
|
"""
|
|
@@ -1933,7 +1985,7 @@ class OceanImportScheduledTaskTaskTaskParameters(dict):
|
|
|
1933
1985
|
if cluster_roll is not None:
|
|
1934
1986
|
pulumi.set(__self__, "cluster_roll", cluster_roll)
|
|
1935
1987
|
|
|
1936
|
-
@property
|
|
1988
|
+
@_builtins.property
|
|
1937
1989
|
@pulumi.getter(name="clusterRoll")
|
|
1938
1990
|
def cluster_roll(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParametersClusterRoll']:
|
|
1939
1991
|
"""
|
|
@@ -1966,15 +2018,15 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1966
2018
|
return super().get(key, default)
|
|
1967
2019
|
|
|
1968
2020
|
def __init__(__self__, *,
|
|
1969
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1970
|
-
batch_size_percentage: Optional[int] = None,
|
|
1971
|
-
comment: Optional[str] = None,
|
|
1972
|
-
respect_pdb: Optional[bool] = None):
|
|
2021
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
2022
|
+
batch_size_percentage: Optional[_builtins.int] = None,
|
|
2023
|
+
comment: Optional[_builtins.str] = None,
|
|
2024
|
+
respect_pdb: Optional[_builtins.bool] = None):
|
|
1973
2025
|
"""
|
|
1974
|
-
:param int batch_min_healthy_percentage: Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
1975
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
1976
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
1977
|
-
:param bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
2026
|
+
:param _builtins.int batch_min_healthy_percentage: Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2027
|
+
:param _builtins.int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
2028
|
+
:param _builtins.str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
2029
|
+
:param _builtins.bool respect_pdb: During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
1978
2030
|
"""
|
|
1979
2031
|
if batch_min_healthy_percentage is not None:
|
|
1980
2032
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1985,33 +2037,33 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1985
2037
|
if respect_pdb is not None:
|
|
1986
2038
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
1987
2039
|
|
|
1988
|
-
@property
|
|
2040
|
+
@_builtins.property
|
|
1989
2041
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1990
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2042
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1991
2043
|
"""
|
|
1992
2044
|
Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
1993
2045
|
"""
|
|
1994
2046
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1995
2047
|
|
|
1996
|
-
@property
|
|
2048
|
+
@_builtins.property
|
|
1997
2049
|
@pulumi.getter(name="batchSizePercentage")
|
|
1998
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
2050
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
1999
2051
|
"""
|
|
2000
2052
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
2001
2053
|
"""
|
|
2002
2054
|
return pulumi.get(self, "batch_size_percentage")
|
|
2003
2055
|
|
|
2004
|
-
@property
|
|
2056
|
+
@_builtins.property
|
|
2005
2057
|
@pulumi.getter
|
|
2006
|
-
def comment(self) -> Optional[str]:
|
|
2058
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
2007
2059
|
"""
|
|
2008
2060
|
Add a comment description for the roll. The comment is limited to 256 chars.
|
|
2009
2061
|
"""
|
|
2010
2062
|
return pulumi.get(self, "comment")
|
|
2011
2063
|
|
|
2012
|
-
@property
|
|
2064
|
+
@_builtins.property
|
|
2013
2065
|
@pulumi.getter(name="respectPdb")
|
|
2014
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2066
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
2015
2067
|
"""
|
|
2016
2068
|
During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
2017
2069
|
"""
|
|
@@ -2040,28 +2092,28 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
2040
2092
|
return super().get(key, default)
|
|
2041
2093
|
|
|
2042
2094
|
def __init__(__self__, *,
|
|
2043
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
2044
|
-
enable_secure_boot: Optional[bool] = None):
|
|
2095
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
2096
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
2045
2097
|
"""
|
|
2046
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2047
|
-
:param bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2098
|
+
:param _builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2099
|
+
:param _builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2048
2100
|
"""
|
|
2049
2101
|
if enable_integrity_monitoring is not None:
|
|
2050
2102
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
2051
2103
|
if enable_secure_boot is not None:
|
|
2052
2104
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
2053
2105
|
|
|
2054
|
-
@property
|
|
2106
|
+
@_builtins.property
|
|
2055
2107
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2056
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
2108
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
2057
2109
|
"""
|
|
2058
2110
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2059
2111
|
"""
|
|
2060
2112
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
2061
2113
|
|
|
2062
|
-
@property
|
|
2114
|
+
@_builtins.property
|
|
2063
2115
|
@pulumi.getter(name="enableSecureBoot")
|
|
2064
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
2116
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
2065
2117
|
"""
|
|
2066
2118
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2067
2119
|
"""
|
|
@@ -2079,6 +2131,8 @@ class OceanImportStrategy(dict):
|
|
|
2079
2131
|
suggest = "preemptible_percentage"
|
|
2080
2132
|
elif key == "provisioningModel":
|
|
2081
2133
|
suggest = "provisioning_model"
|
|
2134
|
+
elif key == "scalingOrientation":
|
|
2135
|
+
suggest = "scaling_orientation"
|
|
2082
2136
|
elif key == "shouldUtilizeCommitments":
|
|
2083
2137
|
suggest = "should_utilize_commitments"
|
|
2084
2138
|
|
|
@@ -2094,15 +2148,17 @@ class OceanImportStrategy(dict):
|
|
|
2094
2148
|
return super().get(key, default)
|
|
2095
2149
|
|
|
2096
2150
|
def __init__(__self__, *,
|
|
2097
|
-
draining_timeout: Optional[int] = None,
|
|
2098
|
-
preemptible_percentage: Optional[int] = None,
|
|
2099
|
-
provisioning_model: Optional[str] = None,
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
:param int
|
|
2104
|
-
:param
|
|
2105
|
-
:param
|
|
2151
|
+
draining_timeout: Optional[_builtins.int] = None,
|
|
2152
|
+
preemptible_percentage: Optional[_builtins.int] = None,
|
|
2153
|
+
provisioning_model: Optional[_builtins.str] = None,
|
|
2154
|
+
scaling_orientation: Optional[_builtins.str] = None,
|
|
2155
|
+
should_utilize_commitments: Optional[_builtins.bool] = None):
|
|
2156
|
+
"""
|
|
2157
|
+
:param _builtins.int draining_timeout: The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2158
|
+
:param _builtins.int preemptible_percentage: Defines the desired preemptible percentage for the cluster.
|
|
2159
|
+
:param _builtins.str provisioning_model: Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2160
|
+
:param _builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2161
|
+
:param _builtins.bool should_utilize_commitments: Enable committed use discounts utilization.
|
|
2106
2162
|
"""
|
|
2107
2163
|
if draining_timeout is not None:
|
|
2108
2164
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
@@ -2110,36 +2166,46 @@ class OceanImportStrategy(dict):
|
|
|
2110
2166
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
2111
2167
|
if provisioning_model is not None:
|
|
2112
2168
|
pulumi.set(__self__, "provisioning_model", provisioning_model)
|
|
2169
|
+
if scaling_orientation is not None:
|
|
2170
|
+
pulumi.set(__self__, "scaling_orientation", scaling_orientation)
|
|
2113
2171
|
if should_utilize_commitments is not None:
|
|
2114
2172
|
pulumi.set(__self__, "should_utilize_commitments", should_utilize_commitments)
|
|
2115
2173
|
|
|
2116
|
-
@property
|
|
2174
|
+
@_builtins.property
|
|
2117
2175
|
@pulumi.getter(name="drainingTimeout")
|
|
2118
|
-
def draining_timeout(self) -> Optional[int]:
|
|
2176
|
+
def draining_timeout(self) -> Optional[_builtins.int]:
|
|
2119
2177
|
"""
|
|
2120
2178
|
The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
2121
2179
|
"""
|
|
2122
2180
|
return pulumi.get(self, "draining_timeout")
|
|
2123
2181
|
|
|
2124
|
-
@property
|
|
2182
|
+
@_builtins.property
|
|
2125
2183
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2126
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
2184
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
2127
2185
|
"""
|
|
2128
2186
|
Defines the desired preemptible percentage for the cluster.
|
|
2129
2187
|
"""
|
|
2130
2188
|
return pulumi.get(self, "preemptible_percentage")
|
|
2131
2189
|
|
|
2132
|
-
@property
|
|
2190
|
+
@_builtins.property
|
|
2133
2191
|
@pulumi.getter(name="provisioningModel")
|
|
2134
|
-
def provisioning_model(self) -> Optional[str]:
|
|
2192
|
+
def provisioning_model(self) -> Optional[_builtins.str]:
|
|
2135
2193
|
"""
|
|
2136
2194
|
Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
2137
2195
|
"""
|
|
2138
2196
|
return pulumi.get(self, "provisioning_model")
|
|
2139
2197
|
|
|
2140
|
-
@property
|
|
2198
|
+
@_builtins.property
|
|
2199
|
+
@pulumi.getter(name="scalingOrientation")
|
|
2200
|
+
def scaling_orientation(self) -> Optional[_builtins.str]:
|
|
2201
|
+
"""
|
|
2202
|
+
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2203
|
+
"""
|
|
2204
|
+
return pulumi.get(self, "scaling_orientation")
|
|
2205
|
+
|
|
2206
|
+
@_builtins.property
|
|
2141
2207
|
@pulumi.getter(name="shouldUtilizeCommitments")
|
|
2142
|
-
def should_utilize_commitments(self) -> Optional[bool]:
|
|
2208
|
+
def should_utilize_commitments(self) -> Optional[_builtins.bool]:
|
|
2143
2209
|
"""
|
|
2144
2210
|
Enable committed use discounts utilization.
|
|
2145
2211
|
"""
|
|
@@ -2170,12 +2236,12 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2170
2236
|
return super().get(key, default)
|
|
2171
2237
|
|
|
2172
2238
|
def __init__(__self__, *,
|
|
2173
|
-
should_roll: bool,
|
|
2174
|
-
conditioned_roll: Optional[bool] = None,
|
|
2239
|
+
should_roll: _builtins.bool,
|
|
2240
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
2175
2241
|
roll_config: Optional['outputs.OceanImportUpdatePolicyRollConfig'] = None):
|
|
2176
2242
|
"""
|
|
2177
|
-
:param bool should_roll: Enables the roll.
|
|
2178
|
-
:param bool conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2243
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
2244
|
+
:param _builtins.bool conditioned_roll: Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2179
2245
|
:param 'OceanImportUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
2180
2246
|
"""
|
|
2181
2247
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -2184,23 +2250,23 @@ class OceanImportUpdatePolicy(dict):
|
|
|
2184
2250
|
if roll_config is not None:
|
|
2185
2251
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
2186
2252
|
|
|
2187
|
-
@property
|
|
2253
|
+
@_builtins.property
|
|
2188
2254
|
@pulumi.getter(name="shouldRoll")
|
|
2189
|
-
def should_roll(self) -> bool:
|
|
2255
|
+
def should_roll(self) -> _builtins.bool:
|
|
2190
2256
|
"""
|
|
2191
2257
|
Enables the roll.
|
|
2192
2258
|
"""
|
|
2193
2259
|
return pulumi.get(self, "should_roll")
|
|
2194
2260
|
|
|
2195
|
-
@property
|
|
2261
|
+
@_builtins.property
|
|
2196
2262
|
@pulumi.getter(name="conditionedRoll")
|
|
2197
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
2263
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
2198
2264
|
"""
|
|
2199
2265
|
Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
|
|
2200
2266
|
"""
|
|
2201
2267
|
return pulumi.get(self, "conditioned_roll")
|
|
2202
2268
|
|
|
2203
|
-
@property
|
|
2269
|
+
@_builtins.property
|
|
2204
2270
|
@pulumi.getter(name="rollConfig")
|
|
2205
2271
|
def roll_config(self) -> Optional['outputs.OceanImportUpdatePolicyRollConfig']:
|
|
2206
2272
|
"""
|
|
@@ -2235,15 +2301,15 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2235
2301
|
return super().get(key, default)
|
|
2236
2302
|
|
|
2237
2303
|
def __init__(__self__, *,
|
|
2238
|
-
batch_size_percentage: int,
|
|
2239
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
2240
|
-
launch_spec_ids: Optional[Sequence[str]] = None,
|
|
2241
|
-
respect_pdb: Optional[bool] = None):
|
|
2304
|
+
batch_size_percentage: _builtins.int,
|
|
2305
|
+
batch_min_healthy_percentage: Optional[_builtins.int] = None,
|
|
2306
|
+
launch_spec_ids: Optional[Sequence[_builtins.str]] = None,
|
|
2307
|
+
respect_pdb: Optional[_builtins.bool] = None):
|
|
2242
2308
|
"""
|
|
2243
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2244
|
-
:param int batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2245
|
-
:param Sequence[str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
2246
|
-
:param bool respect_pdb: Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2309
|
+
:param _builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
2310
|
+
:param _builtins.int batch_min_healthy_percentage: Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2311
|
+
:param Sequence[_builtins.str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
2312
|
+
:param _builtins.bool respect_pdb: Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2247
2313
|
"""
|
|
2248
2314
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2249
2315
|
if batch_min_healthy_percentage is not None:
|
|
@@ -2253,33 +2319,33 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
2253
2319
|
if respect_pdb is not None:
|
|
2254
2320
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
2255
2321
|
|
|
2256
|
-
@property
|
|
2322
|
+
@_builtins.property
|
|
2257
2323
|
@pulumi.getter(name="batchSizePercentage")
|
|
2258
|
-
def batch_size_percentage(self) -> int:
|
|
2324
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
2259
2325
|
"""
|
|
2260
2326
|
Sets the percentage of the instances to deploy in each batch.
|
|
2261
2327
|
"""
|
|
2262
2328
|
return pulumi.get(self, "batch_size_percentage")
|
|
2263
2329
|
|
|
2264
|
-
@property
|
|
2330
|
+
@_builtins.property
|
|
2265
2331
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
2266
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2332
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
2267
2333
|
"""
|
|
2268
2334
|
Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
|
|
2269
2335
|
"""
|
|
2270
2336
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
2271
2337
|
|
|
2272
|
-
@property
|
|
2338
|
+
@_builtins.property
|
|
2273
2339
|
@pulumi.getter(name="launchSpecIds")
|
|
2274
|
-
def launch_spec_ids(self) -> Optional[Sequence[str]]:
|
|
2340
|
+
def launch_spec_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
2275
2341
|
"""
|
|
2276
2342
|
List of Virtual Node Group identifiers to be rolled.
|
|
2277
2343
|
"""
|
|
2278
2344
|
return pulumi.get(self, "launch_spec_ids")
|
|
2279
2345
|
|
|
2280
|
-
@property
|
|
2346
|
+
@_builtins.property
|
|
2281
2347
|
@pulumi.getter(name="respectPdb")
|
|
2282
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2348
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
2283
2349
|
"""
|
|
2284
2350
|
Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
2285
2351
|
"""
|
|
@@ -2312,15 +2378,15 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2312
2378
|
return super().get(key, default)
|
|
2313
2379
|
|
|
2314
2380
|
def __init__(__self__, *,
|
|
2315
|
-
num_of_units: int,
|
|
2316
|
-
cpu_per_unit: Optional[int] = None,
|
|
2317
|
-
gpu_per_unit: Optional[int] = None,
|
|
2318
|
-
memory_per_unit: Optional[int] = None):
|
|
2381
|
+
num_of_units: _builtins.int,
|
|
2382
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
2383
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
2384
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
2319
2385
|
"""
|
|
2320
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2321
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2322
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2323
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2386
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2387
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2388
|
+
:param _builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2389
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2324
2390
|
"""
|
|
2325
2391
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2326
2392
|
if cpu_per_unit is not None:
|
|
@@ -2330,33 +2396,33 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2330
2396
|
if memory_per_unit is not None:
|
|
2331
2397
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2332
2398
|
|
|
2333
|
-
@property
|
|
2399
|
+
@_builtins.property
|
|
2334
2400
|
@pulumi.getter(name="numOfUnits")
|
|
2335
|
-
def num_of_units(self) -> int:
|
|
2401
|
+
def num_of_units(self) -> _builtins.int:
|
|
2336
2402
|
"""
|
|
2337
2403
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2338
2404
|
"""
|
|
2339
2405
|
return pulumi.get(self, "num_of_units")
|
|
2340
2406
|
|
|
2341
|
-
@property
|
|
2407
|
+
@_builtins.property
|
|
2342
2408
|
@pulumi.getter(name="cpuPerUnit")
|
|
2343
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
2409
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2344
2410
|
"""
|
|
2345
2411
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2346
2412
|
"""
|
|
2347
2413
|
return pulumi.get(self, "cpu_per_unit")
|
|
2348
2414
|
|
|
2349
|
-
@property
|
|
2415
|
+
@_builtins.property
|
|
2350
2416
|
@pulumi.getter(name="gpuPerUnit")
|
|
2351
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
2417
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2352
2418
|
"""
|
|
2353
2419
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2354
2420
|
"""
|
|
2355
2421
|
return pulumi.get(self, "gpu_per_unit")
|
|
2356
2422
|
|
|
2357
|
-
@property
|
|
2423
|
+
@_builtins.property
|
|
2358
2424
|
@pulumi.getter(name="memoryPerUnit")
|
|
2359
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
2425
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2360
2426
|
"""
|
|
2361
2427
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2362
2428
|
"""
|
|
@@ -2383,16 +2449,16 @@ class OceanLaunchSpecAutoscaleHeadroomsAutomatic(dict):
|
|
|
2383
2449
|
return super().get(key, default)
|
|
2384
2450
|
|
|
2385
2451
|
def __init__(__self__, *,
|
|
2386
|
-
auto_headroom_percentage: Optional[int] = None):
|
|
2452
|
+
auto_headroom_percentage: Optional[_builtins.int] = None):
|
|
2387
2453
|
"""
|
|
2388
|
-
:param int auto_headroom_percentage: Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2454
|
+
:param _builtins.int auto_headroom_percentage: Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2389
2455
|
"""
|
|
2390
2456
|
if auto_headroom_percentage is not None:
|
|
2391
2457
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
2392
2458
|
|
|
2393
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2394
2460
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
2395
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
2461
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
2396
2462
|
"""
|
|
2397
2463
|
Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.`is_enabled` = true is set on the Ocean cluster.
|
|
2398
2464
|
"""
|
|
@@ -2419,47 +2485,153 @@ class OceanLaunchSpecCreateOptions(dict):
|
|
|
2419
2485
|
return super().get(key, default)
|
|
2420
2486
|
|
|
2421
2487
|
def __init__(__self__, *,
|
|
2422
|
-
initial_nodes: Optional[int] = None):
|
|
2488
|
+
initial_nodes: Optional[_builtins.int] = None):
|
|
2423
2489
|
"""
|
|
2424
|
-
:param int initial_nodes: When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2490
|
+
:param _builtins.int initial_nodes: When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2425
2491
|
"""
|
|
2426
2492
|
if initial_nodes is not None:
|
|
2427
2493
|
pulumi.set(__self__, "initial_nodes", initial_nodes)
|
|
2428
2494
|
|
|
2429
|
-
@property
|
|
2495
|
+
@_builtins.property
|
|
2430
2496
|
@pulumi.getter(name="initialNodes")
|
|
2431
|
-
def initial_nodes(self) -> Optional[int]:
|
|
2497
|
+
def initial_nodes(self) -> Optional[_builtins.int]:
|
|
2432
2498
|
"""
|
|
2433
2499
|
When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2434
2500
|
"""
|
|
2435
2501
|
return pulumi.get(self, "initial_nodes")
|
|
2436
2502
|
|
|
2437
2503
|
|
|
2504
|
+
@pulumi.output_type
|
|
2505
|
+
class OceanLaunchSpecFilters(dict):
|
|
2506
|
+
@staticmethod
|
|
2507
|
+
def __key_warning(key: str):
|
|
2508
|
+
suggest = None
|
|
2509
|
+
if key == "excludeFamilies":
|
|
2510
|
+
suggest = "exclude_families"
|
|
2511
|
+
elif key == "includeFamilies":
|
|
2512
|
+
suggest = "include_families"
|
|
2513
|
+
elif key == "maxMemoryGib":
|
|
2514
|
+
suggest = "max_memory_gib"
|
|
2515
|
+
elif key == "maxVcpu":
|
|
2516
|
+
suggest = "max_vcpu"
|
|
2517
|
+
elif key == "minMemoryGib":
|
|
2518
|
+
suggest = "min_memory_gib"
|
|
2519
|
+
elif key == "minVcpu":
|
|
2520
|
+
suggest = "min_vcpu"
|
|
2521
|
+
|
|
2522
|
+
if suggest:
|
|
2523
|
+
pulumi.log.warn(f"Key '{key}' not found in OceanLaunchSpecFilters. Access the value via the '{suggest}' property getter instead.")
|
|
2524
|
+
|
|
2525
|
+
def __getitem__(self, key: str) -> Any:
|
|
2526
|
+
OceanLaunchSpecFilters.__key_warning(key)
|
|
2527
|
+
return super().__getitem__(key)
|
|
2528
|
+
|
|
2529
|
+
def get(self, key: str, default = None) -> Any:
|
|
2530
|
+
OceanLaunchSpecFilters.__key_warning(key)
|
|
2531
|
+
return super().get(key, default)
|
|
2532
|
+
|
|
2533
|
+
def __init__(__self__, *,
|
|
2534
|
+
exclude_families: Optional[Sequence[_builtins.str]] = None,
|
|
2535
|
+
include_families: Optional[Sequence[_builtins.str]] = None,
|
|
2536
|
+
max_memory_gib: Optional[_builtins.float] = None,
|
|
2537
|
+
max_vcpu: Optional[_builtins.int] = None,
|
|
2538
|
+
min_memory_gib: Optional[_builtins.float] = None,
|
|
2539
|
+
min_vcpu: Optional[_builtins.int] = None):
|
|
2540
|
+
"""
|
|
2541
|
+
:param Sequence[_builtins.str] exclude_families: Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
2542
|
+
:param Sequence[_builtins.str] include_families: Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
2543
|
+
:param _builtins.float max_memory_gib: Maximum amount of Memory (GiB).
|
|
2544
|
+
:param _builtins.int max_vcpu: Maximum number of vcpus available.
|
|
2545
|
+
:param _builtins.float min_memory_gib: Minimum amount of Memory (GiB).
|
|
2546
|
+
:param _builtins.int min_vcpu: Minimum number of vcpus available.
|
|
2547
|
+
"""
|
|
2548
|
+
if exclude_families is not None:
|
|
2549
|
+
pulumi.set(__self__, "exclude_families", exclude_families)
|
|
2550
|
+
if include_families is not None:
|
|
2551
|
+
pulumi.set(__self__, "include_families", include_families)
|
|
2552
|
+
if max_memory_gib is not None:
|
|
2553
|
+
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
2554
|
+
if max_vcpu is not None:
|
|
2555
|
+
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
2556
|
+
if min_memory_gib is not None:
|
|
2557
|
+
pulumi.set(__self__, "min_memory_gib", min_memory_gib)
|
|
2558
|
+
if min_vcpu is not None:
|
|
2559
|
+
pulumi.set(__self__, "min_vcpu", min_vcpu)
|
|
2560
|
+
|
|
2561
|
+
@_builtins.property
|
|
2562
|
+
@pulumi.getter(name="excludeFamilies")
|
|
2563
|
+
def exclude_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
2564
|
+
"""
|
|
2565
|
+
Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
|
|
2566
|
+
"""
|
|
2567
|
+
return pulumi.get(self, "exclude_families")
|
|
2568
|
+
|
|
2569
|
+
@_builtins.property
|
|
2570
|
+
@pulumi.getter(name="includeFamilies")
|
|
2571
|
+
def include_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
2572
|
+
"""
|
|
2573
|
+
Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
|
|
2574
|
+
"""
|
|
2575
|
+
return pulumi.get(self, "include_families")
|
|
2576
|
+
|
|
2577
|
+
@_builtins.property
|
|
2578
|
+
@pulumi.getter(name="maxMemoryGib")
|
|
2579
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
2580
|
+
"""
|
|
2581
|
+
Maximum amount of Memory (GiB).
|
|
2582
|
+
"""
|
|
2583
|
+
return pulumi.get(self, "max_memory_gib")
|
|
2584
|
+
|
|
2585
|
+
@_builtins.property
|
|
2586
|
+
@pulumi.getter(name="maxVcpu")
|
|
2587
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
2588
|
+
"""
|
|
2589
|
+
Maximum number of vcpus available.
|
|
2590
|
+
"""
|
|
2591
|
+
return pulumi.get(self, "max_vcpu")
|
|
2592
|
+
|
|
2593
|
+
@_builtins.property
|
|
2594
|
+
@pulumi.getter(name="minMemoryGib")
|
|
2595
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
2596
|
+
"""
|
|
2597
|
+
Minimum amount of Memory (GiB).
|
|
2598
|
+
"""
|
|
2599
|
+
return pulumi.get(self, "min_memory_gib")
|
|
2600
|
+
|
|
2601
|
+
@_builtins.property
|
|
2602
|
+
@pulumi.getter(name="minVcpu")
|
|
2603
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
2604
|
+
"""
|
|
2605
|
+
Minimum number of vcpus available.
|
|
2606
|
+
"""
|
|
2607
|
+
return pulumi.get(self, "min_vcpu")
|
|
2608
|
+
|
|
2609
|
+
|
|
2438
2610
|
@pulumi.output_type
|
|
2439
2611
|
class OceanLaunchSpecLabel(dict):
|
|
2440
2612
|
def __init__(__self__, *,
|
|
2441
|
-
key: Optional[str] = None,
|
|
2442
|
-
value: Optional[str] = None):
|
|
2613
|
+
key: Optional[_builtins.str] = None,
|
|
2614
|
+
value: Optional[_builtins.str] = None):
|
|
2443
2615
|
"""
|
|
2444
|
-
:param str key: The label key.
|
|
2445
|
-
:param str value: The label value.
|
|
2616
|
+
:param _builtins.str key: The label key.
|
|
2617
|
+
:param _builtins.str value: The label value.
|
|
2446
2618
|
"""
|
|
2447
2619
|
if key is not None:
|
|
2448
2620
|
pulumi.set(__self__, "key", key)
|
|
2449
2621
|
if value is not None:
|
|
2450
2622
|
pulumi.set(__self__, "value", value)
|
|
2451
2623
|
|
|
2452
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2453
2625
|
@pulumi.getter
|
|
2454
|
-
def key(self) -> Optional[str]:
|
|
2626
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2455
2627
|
"""
|
|
2456
2628
|
The label key.
|
|
2457
2629
|
"""
|
|
2458
2630
|
return pulumi.get(self, "key")
|
|
2459
2631
|
|
|
2460
|
-
@property
|
|
2632
|
+
@_builtins.property
|
|
2461
2633
|
@pulumi.getter
|
|
2462
|
-
def value(self) -> Optional[str]:
|
|
2634
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2463
2635
|
"""
|
|
2464
2636
|
The label value.
|
|
2465
2637
|
"""
|
|
@@ -2469,28 +2641,28 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2469
2641
|
@pulumi.output_type
|
|
2470
2642
|
class OceanLaunchSpecMetadata(dict):
|
|
2471
2643
|
def __init__(__self__, *,
|
|
2472
|
-
key: Optional[str] = None,
|
|
2473
|
-
value: Optional[str] = None):
|
|
2644
|
+
key: Optional[_builtins.str] = None,
|
|
2645
|
+
value: Optional[_builtins.str] = None):
|
|
2474
2646
|
"""
|
|
2475
|
-
:param str key: The metadata key.
|
|
2476
|
-
:param str value: The metadata value.
|
|
2647
|
+
:param _builtins.str key: The metadata key.
|
|
2648
|
+
:param _builtins.str value: The metadata value.
|
|
2477
2649
|
"""
|
|
2478
2650
|
if key is not None:
|
|
2479
2651
|
pulumi.set(__self__, "key", key)
|
|
2480
2652
|
if value is not None:
|
|
2481
2653
|
pulumi.set(__self__, "value", value)
|
|
2482
2654
|
|
|
2483
|
-
@property
|
|
2655
|
+
@_builtins.property
|
|
2484
2656
|
@pulumi.getter
|
|
2485
|
-
def key(self) -> Optional[str]:
|
|
2657
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2486
2658
|
"""
|
|
2487
2659
|
The metadata key.
|
|
2488
2660
|
"""
|
|
2489
2661
|
return pulumi.get(self, "key")
|
|
2490
2662
|
|
|
2491
|
-
@property
|
|
2663
|
+
@_builtins.property
|
|
2492
2664
|
@pulumi.getter
|
|
2493
|
-
def value(self) -> Optional[str]:
|
|
2665
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2494
2666
|
"""
|
|
2495
2667
|
The metadata value.
|
|
2496
2668
|
"""
|
|
@@ -2521,15 +2693,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2521
2693
|
return super().get(key, default)
|
|
2522
2694
|
|
|
2523
2695
|
def __init__(__self__, *,
|
|
2524
|
-
network: str,
|
|
2696
|
+
network: _builtins.str,
|
|
2525
2697
|
access_configs: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']] = None,
|
|
2526
2698
|
alias_ip_ranges: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']] = None,
|
|
2527
|
-
project_id: Optional[str] = None):
|
|
2699
|
+
project_id: Optional[_builtins.str] = None):
|
|
2528
2700
|
"""
|
|
2529
|
-
:param str network: The name of the network.
|
|
2701
|
+
:param _builtins.str network: The name of the network.
|
|
2530
2702
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAccessConfigArgs'] access_configs: The network protocol of the VNG.
|
|
2531
2703
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAliasIpRangeArgs'] alias_ip_ranges: use the imported node pool’s associated aliasIpRange to assign secondary IP addresses to the nodes. Cannot be changed after VNG creation.
|
|
2532
|
-
:param str project_id: Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2704
|
+
:param _builtins.str project_id: Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2533
2705
|
"""
|
|
2534
2706
|
pulumi.set(__self__, "network", network)
|
|
2535
2707
|
if access_configs is not None:
|
|
@@ -2539,15 +2711,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2539
2711
|
if project_id is not None:
|
|
2540
2712
|
pulumi.set(__self__, "project_id", project_id)
|
|
2541
2713
|
|
|
2542
|
-
@property
|
|
2714
|
+
@_builtins.property
|
|
2543
2715
|
@pulumi.getter
|
|
2544
|
-
def network(self) -> str:
|
|
2716
|
+
def network(self) -> _builtins.str:
|
|
2545
2717
|
"""
|
|
2546
2718
|
The name of the network.
|
|
2547
2719
|
"""
|
|
2548
2720
|
return pulumi.get(self, "network")
|
|
2549
2721
|
|
|
2550
|
-
@property
|
|
2722
|
+
@_builtins.property
|
|
2551
2723
|
@pulumi.getter(name="accessConfigs")
|
|
2552
2724
|
def access_configs(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']]:
|
|
2553
2725
|
"""
|
|
@@ -2555,7 +2727,7 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2555
2727
|
"""
|
|
2556
2728
|
return pulumi.get(self, "access_configs")
|
|
2557
2729
|
|
|
2558
|
-
@property
|
|
2730
|
+
@_builtins.property
|
|
2559
2731
|
@pulumi.getter(name="aliasIpRanges")
|
|
2560
2732
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']]:
|
|
2561
2733
|
"""
|
|
@@ -2563,9 +2735,9 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2563
2735
|
"""
|
|
2564
2736
|
return pulumi.get(self, "alias_ip_ranges")
|
|
2565
2737
|
|
|
2566
|
-
@property
|
|
2738
|
+
@_builtins.property
|
|
2567
2739
|
@pulumi.getter(name="projectId")
|
|
2568
|
-
def project_id(self) -> Optional[str]:
|
|
2740
|
+
def project_id(self) -> Optional[_builtins.str]:
|
|
2569
2741
|
"""
|
|
2570
2742
|
Use a network resource from a different project. Set the project identifier to use its network resource. This parameter is relevant only if the network resource is in a different project.
|
|
2571
2743
|
"""
|
|
@@ -2575,28 +2747,28 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2575
2747
|
@pulumi.output_type
|
|
2576
2748
|
class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
2577
2749
|
def __init__(__self__, *,
|
|
2578
|
-
name: Optional[str] = None,
|
|
2579
|
-
type: Optional[str] = None):
|
|
2750
|
+
name: Optional[_builtins.str] = None,
|
|
2751
|
+
type: Optional[_builtins.str] = None):
|
|
2580
2752
|
"""
|
|
2581
|
-
:param str name: The name of the access configuration.
|
|
2582
|
-
:param str type: The type of the access configuration.
|
|
2753
|
+
:param _builtins.str name: The name of the access configuration.
|
|
2754
|
+
:param _builtins.str type: The type of the access configuration.
|
|
2583
2755
|
"""
|
|
2584
2756
|
if name is not None:
|
|
2585
2757
|
pulumi.set(__self__, "name", name)
|
|
2586
2758
|
if type is not None:
|
|
2587
2759
|
pulumi.set(__self__, "type", type)
|
|
2588
2760
|
|
|
2589
|
-
@property
|
|
2761
|
+
@_builtins.property
|
|
2590
2762
|
@pulumi.getter
|
|
2591
|
-
def name(self) -> Optional[str]:
|
|
2763
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2592
2764
|
"""
|
|
2593
2765
|
The name of the access configuration.
|
|
2594
2766
|
"""
|
|
2595
2767
|
return pulumi.get(self, "name")
|
|
2596
2768
|
|
|
2597
|
-
@property
|
|
2769
|
+
@_builtins.property
|
|
2598
2770
|
@pulumi.getter
|
|
2599
|
-
def type(self) -> Optional[str]:
|
|
2771
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2600
2772
|
"""
|
|
2601
2773
|
The type of the access configuration.
|
|
2602
2774
|
"""
|
|
@@ -2625,26 +2797,26 @@ class OceanLaunchSpecNetworkInterfaceAliasIpRange(dict):
|
|
|
2625
2797
|
return super().get(key, default)
|
|
2626
2798
|
|
|
2627
2799
|
def __init__(__self__, *,
|
|
2628
|
-
ip_cidr_range: str,
|
|
2629
|
-
subnetwork_range_name: str):
|
|
2800
|
+
ip_cidr_range: _builtins.str,
|
|
2801
|
+
subnetwork_range_name: _builtins.str):
|
|
2630
2802
|
"""
|
|
2631
|
-
:param str ip_cidr_range: specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2632
|
-
:param str subnetwork_range_name: specify the IP address range for the subnet secondary IP range.
|
|
2803
|
+
:param _builtins.str ip_cidr_range: specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2804
|
+
:param _builtins.str subnetwork_range_name: specify the IP address range for the subnet secondary IP range.
|
|
2633
2805
|
"""
|
|
2634
2806
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
2635
2807
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
2636
2808
|
|
|
2637
|
-
@property
|
|
2809
|
+
@_builtins.property
|
|
2638
2810
|
@pulumi.getter(name="ipCidrRange")
|
|
2639
|
-
def ip_cidr_range(self) -> str:
|
|
2811
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
2640
2812
|
"""
|
|
2641
2813
|
specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2642
2814
|
"""
|
|
2643
2815
|
return pulumi.get(self, "ip_cidr_range")
|
|
2644
2816
|
|
|
2645
|
-
@property
|
|
2817
|
+
@_builtins.property
|
|
2646
2818
|
@pulumi.getter(name="subnetworkRangeName")
|
|
2647
|
-
def subnetwork_range_name(self) -> str:
|
|
2819
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
2648
2820
|
"""
|
|
2649
2821
|
specify the IP address range for the subnet secondary IP range.
|
|
2650
2822
|
"""
|
|
@@ -2673,28 +2845,28 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2673
2845
|
return super().get(key, default)
|
|
2674
2846
|
|
|
2675
2847
|
def __init__(__self__, *,
|
|
2676
|
-
max_instance_count: Optional[int] = None,
|
|
2677
|
-
min_instance_count: Optional[int] = None):
|
|
2848
|
+
max_instance_count: Optional[_builtins.int] = None,
|
|
2849
|
+
min_instance_count: Optional[_builtins.int] = None):
|
|
2678
2850
|
"""
|
|
2679
|
-
:param int max_instance_count: Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2680
|
-
:param int min_instance_count: Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2851
|
+
:param _builtins.int max_instance_count: Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2852
|
+
:param _builtins.int min_instance_count: Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2681
2853
|
"""
|
|
2682
2854
|
if max_instance_count is not None:
|
|
2683
2855
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
|
2684
2856
|
if min_instance_count is not None:
|
|
2685
2857
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
|
2686
2858
|
|
|
2687
|
-
@property
|
|
2859
|
+
@_builtins.property
|
|
2688
2860
|
@pulumi.getter(name="maxInstanceCount")
|
|
2689
|
-
def max_instance_count(self) -> Optional[int]:
|
|
2861
|
+
def max_instance_count(self) -> Optional[_builtins.int]:
|
|
2690
2862
|
"""
|
|
2691
2863
|
Option to set a maximum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2692
2864
|
"""
|
|
2693
2865
|
return pulumi.get(self, "max_instance_count")
|
|
2694
2866
|
|
|
2695
|
-
@property
|
|
2867
|
+
@_builtins.property
|
|
2696
2868
|
@pulumi.getter(name="minInstanceCount")
|
|
2697
|
-
def min_instance_count(self) -> Optional[int]:
|
|
2869
|
+
def min_instance_count(self) -> Optional[_builtins.int]:
|
|
2698
2870
|
"""
|
|
2699
2871
|
Option to set a minimum number of instances per virtual node group. Can be null. If set, the value must be greater than or equal to 0.
|
|
2700
2872
|
"""
|
|
@@ -2727,14 +2899,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2727
2899
|
return super().get(key, default)
|
|
2728
2900
|
|
|
2729
2901
|
def __init__(__self__, *,
|
|
2730
|
-
cron_expression: str,
|
|
2731
|
-
is_enabled: bool,
|
|
2732
|
-
task_type: str,
|
|
2902
|
+
cron_expression: _builtins.str,
|
|
2903
|
+
is_enabled: _builtins.bool,
|
|
2904
|
+
task_type: _builtins.str,
|
|
2733
2905
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
2734
2906
|
"""
|
|
2735
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2736
|
-
:param bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2737
|
-
:param str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2907
|
+
:param _builtins.str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2908
|
+
:param _builtins.bool is_enabled: Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2909
|
+
:param _builtins.str task_type: The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2738
2910
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
2739
2911
|
"""
|
|
2740
2912
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -2743,31 +2915,31 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2743
2915
|
if task_headrooms is not None:
|
|
2744
2916
|
pulumi.set(__self__, "task_headrooms", task_headrooms)
|
|
2745
2917
|
|
|
2746
|
-
@property
|
|
2918
|
+
@_builtins.property
|
|
2747
2919
|
@pulumi.getter(name="cronExpression")
|
|
2748
|
-
def cron_expression(self) -> str:
|
|
2920
|
+
def cron_expression(self) -> _builtins.str:
|
|
2749
2921
|
"""
|
|
2750
2922
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2751
2923
|
"""
|
|
2752
2924
|
return pulumi.get(self, "cron_expression")
|
|
2753
2925
|
|
|
2754
|
-
@property
|
|
2926
|
+
@_builtins.property
|
|
2755
2927
|
@pulumi.getter(name="isEnabled")
|
|
2756
|
-
def is_enabled(self) -> bool:
|
|
2928
|
+
def is_enabled(self) -> _builtins.bool:
|
|
2757
2929
|
"""
|
|
2758
2930
|
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2759
2931
|
"""
|
|
2760
2932
|
return pulumi.get(self, "is_enabled")
|
|
2761
2933
|
|
|
2762
|
-
@property
|
|
2934
|
+
@_builtins.property
|
|
2763
2935
|
@pulumi.getter(name="taskType")
|
|
2764
|
-
def task_type(self) -> str:
|
|
2936
|
+
def task_type(self) -> _builtins.str:
|
|
2765
2937
|
"""
|
|
2766
2938
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2767
2939
|
"""
|
|
2768
2940
|
return pulumi.get(self, "task_type")
|
|
2769
2941
|
|
|
2770
|
-
@property
|
|
2942
|
+
@_builtins.property
|
|
2771
2943
|
@pulumi.getter(name="taskHeadrooms")
|
|
2772
2944
|
def task_headrooms(self) -> Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']]:
|
|
2773
2945
|
"""
|
|
@@ -2802,15 +2974,15 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2802
2974
|
return super().get(key, default)
|
|
2803
2975
|
|
|
2804
2976
|
def __init__(__self__, *,
|
|
2805
|
-
num_of_units: int,
|
|
2806
|
-
cpu_per_unit: Optional[int] = None,
|
|
2807
|
-
gpu_per_unit: Optional[int] = None,
|
|
2808
|
-
memory_per_unit: Optional[int] = None):
|
|
2977
|
+
num_of_units: _builtins.int,
|
|
2978
|
+
cpu_per_unit: Optional[_builtins.int] = None,
|
|
2979
|
+
gpu_per_unit: Optional[_builtins.int] = None,
|
|
2980
|
+
memory_per_unit: Optional[_builtins.int] = None):
|
|
2809
2981
|
"""
|
|
2810
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2811
|
-
:param int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2812
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2813
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2982
|
+
:param _builtins.int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2983
|
+
:param _builtins.int cpu_per_unit: Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2984
|
+
:param _builtins.int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2985
|
+
:param _builtins.int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2814
2986
|
"""
|
|
2815
2987
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2816
2988
|
if cpu_per_unit is not None:
|
|
@@ -2820,33 +2992,33 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2820
2992
|
if memory_per_unit is not None:
|
|
2821
2993
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2822
2994
|
|
|
2823
|
-
@property
|
|
2995
|
+
@_builtins.property
|
|
2824
2996
|
@pulumi.getter(name="numOfUnits")
|
|
2825
|
-
def num_of_units(self) -> int:
|
|
2997
|
+
def num_of_units(self) -> _builtins.int:
|
|
2826
2998
|
"""
|
|
2827
2999
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2828
3000
|
"""
|
|
2829
3001
|
return pulumi.get(self, "num_of_units")
|
|
2830
3002
|
|
|
2831
|
-
@property
|
|
3003
|
+
@_builtins.property
|
|
2832
3004
|
@pulumi.getter(name="cpuPerUnit")
|
|
2833
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
3005
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2834
3006
|
"""
|
|
2835
3007
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2836
3008
|
"""
|
|
2837
3009
|
return pulumi.get(self, "cpu_per_unit")
|
|
2838
3010
|
|
|
2839
|
-
@property
|
|
3011
|
+
@_builtins.property
|
|
2840
3012
|
@pulumi.getter(name="gpuPerUnit")
|
|
2841
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
3013
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2842
3014
|
"""
|
|
2843
3015
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2844
3016
|
"""
|
|
2845
3017
|
return pulumi.get(self, "gpu_per_unit")
|
|
2846
3018
|
|
|
2847
|
-
@property
|
|
3019
|
+
@_builtins.property
|
|
2848
3020
|
@pulumi.getter(name="memoryPerUnit")
|
|
2849
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
3021
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2850
3022
|
"""
|
|
2851
3023
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2852
3024
|
"""
|
|
@@ -2875,28 +3047,28 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2875
3047
|
return super().get(key, default)
|
|
2876
3048
|
|
|
2877
3049
|
def __init__(__self__, *,
|
|
2878
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
2879
|
-
enable_secure_boot: Optional[bool] = None):
|
|
3050
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
3051
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
2880
3052
|
"""
|
|
2881
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2882
|
-
:param bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
3053
|
+
:param _builtins.bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
3054
|
+
:param _builtins.bool enable_secure_boot: Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2883
3055
|
"""
|
|
2884
3056
|
if enable_integrity_monitoring is not None:
|
|
2885
3057
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
2886
3058
|
if enable_secure_boot is not None:
|
|
2887
3059
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
2888
3060
|
|
|
2889
|
-
@property
|
|
3061
|
+
@_builtins.property
|
|
2890
3062
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2891
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
3063
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
2892
3064
|
"""
|
|
2893
3065
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2894
3066
|
"""
|
|
2895
3067
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
2896
3068
|
|
|
2897
|
-
@property
|
|
3069
|
+
@_builtins.property
|
|
2898
3070
|
@pulumi.getter(name="enableSecureBoot")
|
|
2899
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
3071
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
2900
3072
|
"""
|
|
2901
3073
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2902
3074
|
"""
|
|
@@ -2923,16 +3095,16 @@ class OceanLaunchSpecStorage(dict):
|
|
|
2923
3095
|
return super().get(key, default)
|
|
2924
3096
|
|
|
2925
3097
|
def __init__(__self__, *,
|
|
2926
|
-
local_ssd_count: Optional[int] = None):
|
|
3098
|
+
local_ssd_count: Optional[_builtins.int] = None):
|
|
2927
3099
|
"""
|
|
2928
|
-
:param int local_ssd_count: Defines the number of local SSDs to be attached per node for this VNG.
|
|
3100
|
+
:param _builtins.int local_ssd_count: Defines the number of local SSDs to be attached per node for this VNG.
|
|
2929
3101
|
"""
|
|
2930
3102
|
if local_ssd_count is not None:
|
|
2931
3103
|
pulumi.set(__self__, "local_ssd_count", local_ssd_count)
|
|
2932
3104
|
|
|
2933
|
-
@property
|
|
3105
|
+
@_builtins.property
|
|
2934
3106
|
@pulumi.getter(name="localSsdCount")
|
|
2935
|
-
def local_ssd_count(self) -> Optional[int]:
|
|
3107
|
+
def local_ssd_count(self) -> Optional[_builtins.int]:
|
|
2936
3108
|
"""
|
|
2937
3109
|
Defines the number of local SSDs to be attached per node for this VNG.
|
|
2938
3110
|
"""
|
|
@@ -2946,6 +3118,8 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2946
3118
|
suggest = None
|
|
2947
3119
|
if key == "preemptiblePercentage":
|
|
2948
3120
|
suggest = "preemptible_percentage"
|
|
3121
|
+
elif key == "scalingOrientation":
|
|
3122
|
+
suggest = "scaling_orientation"
|
|
2949
3123
|
|
|
2950
3124
|
if suggest:
|
|
2951
3125
|
pulumi.log.warn(f"Key '{key}' not found in OceanLaunchSpecStrategy. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -2959,32 +3133,44 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2959
3133
|
return super().get(key, default)
|
|
2960
3134
|
|
|
2961
3135
|
def __init__(__self__, *,
|
|
2962
|
-
preemptible_percentage: Optional[int] = None
|
|
3136
|
+
preemptible_percentage: Optional[_builtins.int] = None,
|
|
3137
|
+
scaling_orientation: Optional[_builtins.str] = None):
|
|
2963
3138
|
"""
|
|
2964
|
-
:param int preemptible_percentage: Defines the desired preemptible percentage for this launch specification.
|
|
3139
|
+
:param _builtins.int preemptible_percentage: Defines the desired preemptible percentage for this launch specification.
|
|
3140
|
+
:param _builtins.str scaling_orientation: Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
2965
3141
|
"""
|
|
2966
3142
|
if preemptible_percentage is not None:
|
|
2967
3143
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
3144
|
+
if scaling_orientation is not None:
|
|
3145
|
+
pulumi.set(__self__, "scaling_orientation", scaling_orientation)
|
|
2968
3146
|
|
|
2969
|
-
@property
|
|
3147
|
+
@_builtins.property
|
|
2970
3148
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2971
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
3149
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
2972
3150
|
"""
|
|
2973
3151
|
Defines the desired preemptible percentage for this launch specification.
|
|
2974
3152
|
"""
|
|
2975
3153
|
return pulumi.get(self, "preemptible_percentage")
|
|
2976
3154
|
|
|
3155
|
+
@_builtins.property
|
|
3156
|
+
@pulumi.getter(name="scalingOrientation")
|
|
3157
|
+
def scaling_orientation(self) -> Optional[_builtins.str]:
|
|
3158
|
+
"""
|
|
3159
|
+
Valid Values: `"cost", "availability", "balanced"`. Set this value to control the approach that Ocean takes when launching nodes.
|
|
3160
|
+
"""
|
|
3161
|
+
return pulumi.get(self, "scaling_orientation")
|
|
3162
|
+
|
|
2977
3163
|
|
|
2978
3164
|
@pulumi.output_type
|
|
2979
3165
|
class OceanLaunchSpecTaint(dict):
|
|
2980
3166
|
def __init__(__self__, *,
|
|
2981
|
-
effect: Optional[str] = None,
|
|
2982
|
-
key: Optional[str] = None,
|
|
2983
|
-
value: Optional[str] = None):
|
|
3167
|
+
effect: Optional[_builtins.str] = None,
|
|
3168
|
+
key: Optional[_builtins.str] = None,
|
|
3169
|
+
value: Optional[_builtins.str] = None):
|
|
2984
3170
|
"""
|
|
2985
|
-
:param str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
2986
|
-
:param str key: The taint key.
|
|
2987
|
-
:param str value: The taint value.
|
|
3171
|
+
:param _builtins.str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3172
|
+
:param _builtins.str key: The taint key.
|
|
3173
|
+
:param _builtins.str value: The taint value.
|
|
2988
3174
|
"""
|
|
2989
3175
|
if effect is not None:
|
|
2990
3176
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -2993,25 +3179,25 @@ class OceanLaunchSpecTaint(dict):
|
|
|
2993
3179
|
if value is not None:
|
|
2994
3180
|
pulumi.set(__self__, "value", value)
|
|
2995
3181
|
|
|
2996
|
-
@property
|
|
3182
|
+
@_builtins.property
|
|
2997
3183
|
@pulumi.getter
|
|
2998
|
-
def effect(self) -> Optional[str]:
|
|
3184
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
2999
3185
|
"""
|
|
3000
3186
|
The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
3001
3187
|
"""
|
|
3002
3188
|
return pulumi.get(self, "effect")
|
|
3003
3189
|
|
|
3004
|
-
@property
|
|
3190
|
+
@_builtins.property
|
|
3005
3191
|
@pulumi.getter
|
|
3006
|
-
def key(self) -> Optional[str]:
|
|
3192
|
+
def key(self) -> Optional[_builtins.str]:
|
|
3007
3193
|
"""
|
|
3008
3194
|
The taint key.
|
|
3009
3195
|
"""
|
|
3010
3196
|
return pulumi.get(self, "key")
|
|
3011
3197
|
|
|
3012
|
-
@property
|
|
3198
|
+
@_builtins.property
|
|
3013
3199
|
@pulumi.getter
|
|
3014
|
-
def value(self) -> Optional[str]:
|
|
3200
|
+
def value(self) -> Optional[_builtins.str]:
|
|
3015
3201
|
"""
|
|
3016
3202
|
The taint value.
|
|
3017
3203
|
"""
|
|
@@ -3040,25 +3226,25 @@ class OceanLaunchSpecUpdatePolicy(dict):
|
|
|
3040
3226
|
return super().get(key, default)
|
|
3041
3227
|
|
|
3042
3228
|
def __init__(__self__, *,
|
|
3043
|
-
should_roll: bool,
|
|
3229
|
+
should_roll: _builtins.bool,
|
|
3044
3230
|
roll_config: Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig'] = None):
|
|
3045
3231
|
"""
|
|
3046
|
-
:param bool should_roll: Enables the roll.
|
|
3232
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
3047
3233
|
:param 'OceanLaunchSpecUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
3048
3234
|
"""
|
|
3049
3235
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
3050
3236
|
if roll_config is not None:
|
|
3051
3237
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
3052
3238
|
|
|
3053
|
-
@property
|
|
3239
|
+
@_builtins.property
|
|
3054
3240
|
@pulumi.getter(name="shouldRoll")
|
|
3055
|
-
def should_roll(self) -> bool:
|
|
3241
|
+
def should_roll(self) -> _builtins.bool:
|
|
3056
3242
|
"""
|
|
3057
3243
|
Enables the roll.
|
|
3058
3244
|
"""
|
|
3059
3245
|
return pulumi.get(self, "should_roll")
|
|
3060
3246
|
|
|
3061
|
-
@property
|
|
3247
|
+
@_builtins.property
|
|
3062
3248
|
@pulumi.getter(name="rollConfig")
|
|
3063
3249
|
def roll_config(self) -> Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig']:
|
|
3064
3250
|
"""
|
|
@@ -3087,15 +3273,15 @@ class OceanLaunchSpecUpdatePolicyRollConfig(dict):
|
|
|
3087
3273
|
return super().get(key, default)
|
|
3088
3274
|
|
|
3089
3275
|
def __init__(__self__, *,
|
|
3090
|
-
batch_size_percentage: int):
|
|
3276
|
+
batch_size_percentage: _builtins.int):
|
|
3091
3277
|
"""
|
|
3092
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
3278
|
+
:param _builtins.int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
3093
3279
|
"""
|
|
3094
3280
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
3095
3281
|
|
|
3096
|
-
@property
|
|
3282
|
+
@_builtins.property
|
|
3097
3283
|
@pulumi.getter(name="batchSizePercentage")
|
|
3098
|
-
def batch_size_percentage(self) -> int:
|
|
3284
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
3099
3285
|
"""
|
|
3100
3286
|
Sets the percentage of the instances to deploy in each batch.
|
|
3101
3287
|
"""
|