pulumi-spotinst 3.83.0a1720524486__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 +38 -1
- pulumi_spotinst/_inputs.py +4082 -846
- pulumi_spotinst/_utilities.py +15 -10
- pulumi_spotinst/account.py +171 -0
- pulumi_spotinst/aws/__init__.py +2 -1
- pulumi_spotinst/aws/_inputs.py +7292 -2871
- pulumi_spotinst/aws/account.py +25 -19
- pulumi_spotinst/aws/beanstalk.py +272 -190
- pulumi_spotinst/aws/credentials.py +42 -36
- pulumi_spotinst/aws/elastigroup.py +1321 -1176
- pulumi_spotinst/aws/managed_instance.py +633 -526
- pulumi_spotinst/aws/mr_scalar.py +827 -983
- pulumi_spotinst/aws/ocean.py +764 -570
- pulumi_spotinst/aws/ocean_extended_resource_definition.py +42 -36
- pulumi_spotinst/aws/ocean_launch_spec.py +580 -366
- pulumi_spotinst/aws/outputs.py +3421 -2205
- pulumi_spotinst/aws/suspension.py +51 -45
- pulumi_spotinst/azure/__init__.py +2 -1
- pulumi_spotinst/azure/_inputs.py +1492 -434
- pulumi_spotinst/azure/ocean_np.py +518 -464
- pulumi_spotinst/azure/ocean_np_virtual_node_group.py +479 -408
- pulumi_spotinst/azure/outputs.py +840 -345
- pulumi_spotinst/config/__init__.py +2 -1
- pulumi_spotinst/config/__init__.pyi +7 -2
- pulumi_spotinst/config/vars.py +11 -6
- pulumi_spotinst/credentials_azure.py +423 -0
- pulumi_spotinst/credentials_gcp.py +632 -0
- pulumi_spotinst/data_integration.py +58 -52
- pulumi_spotinst/ecs/__init__.py +2 -1
- pulumi_spotinst/ecs/_inputs.py +1164 -469
- pulumi_spotinst/ecs/ocean.py +711 -446
- pulumi_spotinst/ecs/ocean_launch_spec.py +367 -341
- pulumi_spotinst/ecs/outputs.py +463 -374
- pulumi_spotinst/elastigroup_azure_v3.py +985 -197
- pulumi_spotinst/gcp/__init__.py +2 -1
- pulumi_spotinst/gcp/_inputs.py +1061 -381
- pulumi_spotinst/gcp/elastigroup.py +885 -567
- pulumi_spotinst/gcp/outputs.py +542 -301
- pulumi_spotinst/gke/__init__.py +2 -1
- pulumi_spotinst/gke/_inputs.py +2071 -715
- pulumi_spotinst/gke/elastigroup.py +558 -382
- pulumi_spotinst/gke/ocean_import.py +379 -255
- pulumi_spotinst/gke/ocean_launch_spec.py +501 -384
- pulumi_spotinst/gke/ocean_launch_spec_import.py +42 -36
- pulumi_spotinst/gke/outputs.py +1063 -528
- pulumi_spotinst/health_check.py +116 -70
- pulumi_spotinst/notification_center.py +344 -0
- pulumi_spotinst/ocean_right_sizing_rule.py +515 -95
- pulumi_spotinst/oceancd/__init__.py +2 -1
- pulumi_spotinst/oceancd/_inputs.py +1709 -651
- pulumi_spotinst/oceancd/outputs.py +537 -526
- pulumi_spotinst/oceancd/rollout_spec.py +65 -59
- pulumi_spotinst/oceancd/strategy.py +37 -31
- pulumi_spotinst/oceancd/verification_provider.py +128 -122
- pulumi_spotinst/oceancd/verification_template.py +265 -259
- pulumi_spotinst/organization/__init__.py +2 -1
- pulumi_spotinst/organization/_inputs.py +151 -57
- pulumi_spotinst/organization/outputs.py +51 -46
- pulumi_spotinst/organization/policy.py +76 -70
- pulumi_spotinst/organization/programmatic_user.py +83 -77
- pulumi_spotinst/organization/user.py +126 -120
- pulumi_spotinst/organization/user_group.py +75 -69
- pulumi_spotinst/outputs.py +3005 -832
- pulumi_spotinst/provider.py +66 -40
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/spark/__init__.py +2 -1
- pulumi_spotinst/spark/_inputs.py +290 -81
- pulumi_spotinst/spark/ocean.py +169 -115
- pulumi_spotinst/spark/ocean_virtual_node_group.py +34 -28
- pulumi_spotinst/spark/outputs.py +136 -66
- pulumi_spotinst/stateful_node_azure.py +820 -784
- pulumi_spotinst/subscription.py +93 -87
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/METADATA +7 -6
- pulumi_spotinst-3.128.0a1767140134.dist-info/RECORD +77 -0
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/WHEEL +1 -1
- pulumi_spotinst-3.83.0a1720524486.dist-info/RECORD +0 -73
- {pulumi_spotinst-3.83.0a1720524486.dist-info → pulumi_spotinst-3.128.0a1767140134.dist-info}/top_level.txt +0 -0
pulumi_spotinst/gke/outputs.py
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
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
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from .. import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
13
18
|
__all__ = [
|
|
14
19
|
'ElastigroupBackendService',
|
|
20
|
+
'ElastigroupBackendServiceBackendBalancing',
|
|
15
21
|
'ElastigroupBackendServiceNamedPort',
|
|
16
22
|
'ElastigroupDisk',
|
|
17
23
|
'ElastigroupDiskInitializeParam',
|
|
@@ -27,16 +33,20 @@ __all__ = [
|
|
|
27
33
|
'ElastigroupNetworkInterface',
|
|
28
34
|
'ElastigroupNetworkInterfaceAccessConfig',
|
|
29
35
|
'ElastigroupNetworkInterfaceAliasIpRange',
|
|
36
|
+
'ElastigroupRevertToPreemptible',
|
|
30
37
|
'ElastigroupScalingDownPolicy',
|
|
31
38
|
'ElastigroupScalingDownPolicyDimension',
|
|
32
39
|
'ElastigroupScalingUpPolicy',
|
|
33
40
|
'ElastigroupScalingUpPolicyDimension',
|
|
41
|
+
'ElastigroupShieldedInstanceConfig',
|
|
42
|
+
'OceanImportAutoUpdate',
|
|
34
43
|
'OceanImportAutoscaler',
|
|
35
44
|
'OceanImportAutoscalerDown',
|
|
36
45
|
'OceanImportAutoscalerHeadroom',
|
|
37
46
|
'OceanImportAutoscalerResourceLimits',
|
|
38
47
|
'OceanImportBackendService',
|
|
39
48
|
'OceanImportBackendServiceNamedPort',
|
|
49
|
+
'OceanImportFilters',
|
|
40
50
|
'OceanImportScheduledTask',
|
|
41
51
|
'OceanImportScheduledTaskShutdownHours',
|
|
42
52
|
'OceanImportScheduledTaskTask',
|
|
@@ -48,6 +58,8 @@ __all__ = [
|
|
|
48
58
|
'OceanImportUpdatePolicyRollConfig',
|
|
49
59
|
'OceanLaunchSpecAutoscaleHeadroom',
|
|
50
60
|
'OceanLaunchSpecAutoscaleHeadroomsAutomatic',
|
|
61
|
+
'OceanLaunchSpecCreateOptions',
|
|
62
|
+
'OceanLaunchSpecFilters',
|
|
51
63
|
'OceanLaunchSpecLabel',
|
|
52
64
|
'OceanLaunchSpecMetadata',
|
|
53
65
|
'OceanLaunchSpecNetworkInterface',
|
|
@@ -71,6 +83,8 @@ class ElastigroupBackendService(dict):
|
|
|
71
83
|
suggest = None
|
|
72
84
|
if key == "serviceName":
|
|
73
85
|
suggest = "service_name"
|
|
86
|
+
elif key == "backendBalancing":
|
|
87
|
+
suggest = "backend_balancing"
|
|
74
88
|
elif key == "locationType":
|
|
75
89
|
suggest = "location_type"
|
|
76
90
|
elif key == "namedPorts":
|
|
@@ -88,11 +102,14 @@ class ElastigroupBackendService(dict):
|
|
|
88
102
|
return super().get(key, default)
|
|
89
103
|
|
|
90
104
|
def __init__(__self__, *,
|
|
91
|
-
service_name: str,
|
|
92
|
-
|
|
105
|
+
service_name: _builtins.str,
|
|
106
|
+
backend_balancing: Optional['outputs.ElastigroupBackendServiceBackendBalancing'] = None,
|
|
107
|
+
location_type: Optional[_builtins.str] = None,
|
|
93
108
|
named_ports: Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']] = None,
|
|
94
|
-
scheme: Optional[str] = None):
|
|
109
|
+
scheme: Optional[_builtins.str] = None):
|
|
95
110
|
pulumi.set(__self__, "service_name", service_name)
|
|
111
|
+
if backend_balancing is not None:
|
|
112
|
+
pulumi.set(__self__, "backend_balancing", backend_balancing)
|
|
96
113
|
if location_type is not None:
|
|
97
114
|
pulumi.set(__self__, "location_type", location_type)
|
|
98
115
|
if named_ports is not None:
|
|
@@ -100,43 +117,88 @@ class ElastigroupBackendService(dict):
|
|
|
100
117
|
if scheme is not None:
|
|
101
118
|
pulumi.set(__self__, "scheme", scheme)
|
|
102
119
|
|
|
103
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
104
121
|
@pulumi.getter(name="serviceName")
|
|
105
|
-
def service_name(self) -> str:
|
|
122
|
+
def service_name(self) -> _builtins.str:
|
|
106
123
|
return pulumi.get(self, "service_name")
|
|
107
124
|
|
|
108
|
-
@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
|
|
109
131
|
@pulumi.getter(name="locationType")
|
|
110
|
-
def location_type(self) -> Optional[str]:
|
|
132
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
111
133
|
return pulumi.get(self, "location_type")
|
|
112
134
|
|
|
113
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
114
136
|
@pulumi.getter(name="namedPorts")
|
|
115
137
|
def named_ports(self) -> Optional[Sequence['outputs.ElastigroupBackendServiceNamedPort']]:
|
|
116
138
|
return pulumi.get(self, "named_ports")
|
|
117
139
|
|
|
118
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
119
141
|
@pulumi.getter
|
|
120
|
-
def scheme(self) -> Optional[str]:
|
|
142
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
121
143
|
return pulumi.get(self, "scheme")
|
|
122
144
|
|
|
123
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
|
+
|
|
124
186
|
@pulumi.output_type
|
|
125
187
|
class ElastigroupBackendServiceNamedPort(dict):
|
|
126
188
|
def __init__(__self__, *,
|
|
127
|
-
name: str,
|
|
128
|
-
ports: Sequence[str]):
|
|
189
|
+
name: _builtins.str,
|
|
190
|
+
ports: Sequence[_builtins.str]):
|
|
129
191
|
pulumi.set(__self__, "name", name)
|
|
130
192
|
pulumi.set(__self__, "ports", ports)
|
|
131
193
|
|
|
132
|
-
@property
|
|
194
|
+
@_builtins.property
|
|
133
195
|
@pulumi.getter
|
|
134
|
-
def name(self) -> str:
|
|
196
|
+
def name(self) -> _builtins.str:
|
|
135
197
|
return pulumi.get(self, "name")
|
|
136
198
|
|
|
137
|
-
@property
|
|
199
|
+
@_builtins.property
|
|
138
200
|
@pulumi.getter
|
|
139
|
-
def ports(self) -> Sequence[str]:
|
|
201
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
140
202
|
return pulumi.get(self, "ports")
|
|
141
203
|
|
|
142
204
|
|
|
@@ -164,14 +226,14 @@ class ElastigroupDisk(dict):
|
|
|
164
226
|
return super().get(key, default)
|
|
165
227
|
|
|
166
228
|
def __init__(__self__, *,
|
|
167
|
-
auto_delete: Optional[bool] = None,
|
|
168
|
-
boot: Optional[bool] = None,
|
|
169
|
-
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,
|
|
170
232
|
initialize_params: Optional[Sequence['outputs.ElastigroupDiskInitializeParam']] = None,
|
|
171
|
-
interface: Optional[str] = None,
|
|
172
|
-
mode: Optional[str] = None,
|
|
173
|
-
source: Optional[str] = None,
|
|
174
|
-
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):
|
|
175
237
|
if auto_delete is not None:
|
|
176
238
|
pulumi.set(__self__, "auto_delete", auto_delete)
|
|
177
239
|
if boot is not None:
|
|
@@ -189,44 +251,44 @@ class ElastigroupDisk(dict):
|
|
|
189
251
|
if type is not None:
|
|
190
252
|
pulumi.set(__self__, "type", type)
|
|
191
253
|
|
|
192
|
-
@property
|
|
254
|
+
@_builtins.property
|
|
193
255
|
@pulumi.getter(name="autoDelete")
|
|
194
|
-
def auto_delete(self) -> Optional[bool]:
|
|
256
|
+
def auto_delete(self) -> Optional[_builtins.bool]:
|
|
195
257
|
return pulumi.get(self, "auto_delete")
|
|
196
258
|
|
|
197
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
198
260
|
@pulumi.getter
|
|
199
|
-
def boot(self) -> Optional[bool]:
|
|
261
|
+
def boot(self) -> Optional[_builtins.bool]:
|
|
200
262
|
return pulumi.get(self, "boot")
|
|
201
263
|
|
|
202
|
-
@property
|
|
264
|
+
@_builtins.property
|
|
203
265
|
@pulumi.getter(name="deviceName")
|
|
204
|
-
def device_name(self) -> Optional[str]:
|
|
266
|
+
def device_name(self) -> Optional[_builtins.str]:
|
|
205
267
|
return pulumi.get(self, "device_name")
|
|
206
268
|
|
|
207
|
-
@property
|
|
269
|
+
@_builtins.property
|
|
208
270
|
@pulumi.getter(name="initializeParams")
|
|
209
271
|
def initialize_params(self) -> Optional[Sequence['outputs.ElastigroupDiskInitializeParam']]:
|
|
210
272
|
return pulumi.get(self, "initialize_params")
|
|
211
273
|
|
|
212
|
-
@property
|
|
274
|
+
@_builtins.property
|
|
213
275
|
@pulumi.getter
|
|
214
|
-
def interface(self) -> Optional[str]:
|
|
276
|
+
def interface(self) -> Optional[_builtins.str]:
|
|
215
277
|
return pulumi.get(self, "interface")
|
|
216
278
|
|
|
217
|
-
@property
|
|
279
|
+
@_builtins.property
|
|
218
280
|
@pulumi.getter
|
|
219
|
-
def mode(self) -> Optional[str]:
|
|
281
|
+
def mode(self) -> Optional[_builtins.str]:
|
|
220
282
|
return pulumi.get(self, "mode")
|
|
221
283
|
|
|
222
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
223
285
|
@pulumi.getter
|
|
224
|
-
def source(self) -> Optional[str]:
|
|
286
|
+
def source(self) -> Optional[_builtins.str]:
|
|
225
287
|
return pulumi.get(self, "source")
|
|
226
288
|
|
|
227
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
228
290
|
@pulumi.getter
|
|
229
|
-
def type(self) -> Optional[str]:
|
|
291
|
+
def type(self) -> Optional[_builtins.str]:
|
|
230
292
|
return pulumi.get(self, "type")
|
|
231
293
|
|
|
232
294
|
|
|
@@ -254,47 +316,47 @@ class ElastigroupDiskInitializeParam(dict):
|
|
|
254
316
|
return super().get(key, default)
|
|
255
317
|
|
|
256
318
|
def __init__(__self__, *,
|
|
257
|
-
source_image: str,
|
|
258
|
-
disk_size_gb: Optional[str] = None,
|
|
259
|
-
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):
|
|
260
322
|
pulumi.set(__self__, "source_image", source_image)
|
|
261
323
|
if disk_size_gb is not None:
|
|
262
324
|
pulumi.set(__self__, "disk_size_gb", disk_size_gb)
|
|
263
325
|
if disk_type is not None:
|
|
264
326
|
pulumi.set(__self__, "disk_type", disk_type)
|
|
265
327
|
|
|
266
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
267
329
|
@pulumi.getter(name="sourceImage")
|
|
268
|
-
def source_image(self) -> str:
|
|
330
|
+
def source_image(self) -> _builtins.str:
|
|
269
331
|
return pulumi.get(self, "source_image")
|
|
270
332
|
|
|
271
|
-
@property
|
|
333
|
+
@_builtins.property
|
|
272
334
|
@pulumi.getter(name="diskSizeGb")
|
|
273
|
-
def disk_size_gb(self) -> Optional[str]:
|
|
335
|
+
def disk_size_gb(self) -> Optional[_builtins.str]:
|
|
274
336
|
return pulumi.get(self, "disk_size_gb")
|
|
275
337
|
|
|
276
|
-
@property
|
|
338
|
+
@_builtins.property
|
|
277
339
|
@pulumi.getter(name="diskType")
|
|
278
|
-
def disk_type(self) -> Optional[str]:
|
|
340
|
+
def disk_type(self) -> Optional[_builtins.str]:
|
|
279
341
|
return pulumi.get(self, "disk_type")
|
|
280
342
|
|
|
281
343
|
|
|
282
344
|
@pulumi.output_type
|
|
283
345
|
class ElastigroupGpu(dict):
|
|
284
346
|
def __init__(__self__, *,
|
|
285
|
-
count: int,
|
|
286
|
-
type: str):
|
|
347
|
+
count: _builtins.int,
|
|
348
|
+
type: _builtins.str):
|
|
287
349
|
pulumi.set(__self__, "count", count)
|
|
288
350
|
pulumi.set(__self__, "type", type)
|
|
289
351
|
|
|
290
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
291
353
|
@pulumi.getter
|
|
292
|
-
def count(self) -> int:
|
|
354
|
+
def count(self) -> _builtins.int:
|
|
293
355
|
return pulumi.get(self, "count")
|
|
294
356
|
|
|
295
|
-
@property
|
|
357
|
+
@_builtins.property
|
|
296
358
|
@pulumi.getter
|
|
297
|
-
def type(self) -> str:
|
|
359
|
+
def type(self) -> _builtins.str:
|
|
298
360
|
return pulumi.get(self, "type")
|
|
299
361
|
|
|
300
362
|
|
|
@@ -318,19 +380,19 @@ class ElastigroupInstanceTypesCustom(dict):
|
|
|
318
380
|
return super().get(key, default)
|
|
319
381
|
|
|
320
382
|
def __init__(__self__, *,
|
|
321
|
-
memory_gib: int,
|
|
322
|
-
vcpu: int):
|
|
383
|
+
memory_gib: _builtins.int,
|
|
384
|
+
vcpu: _builtins.int):
|
|
323
385
|
pulumi.set(__self__, "memory_gib", memory_gib)
|
|
324
386
|
pulumi.set(__self__, "vcpu", vcpu)
|
|
325
387
|
|
|
326
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
327
389
|
@pulumi.getter(name="memoryGib")
|
|
328
|
-
def memory_gib(self) -> int:
|
|
390
|
+
def memory_gib(self) -> _builtins.int:
|
|
329
391
|
return pulumi.get(self, "memory_gib")
|
|
330
392
|
|
|
331
|
-
@property
|
|
393
|
+
@_builtins.property
|
|
332
394
|
@pulumi.getter
|
|
333
|
-
def vcpu(self) -> int:
|
|
395
|
+
def vcpu(self) -> _builtins.int:
|
|
334
396
|
return pulumi.get(self, "vcpu")
|
|
335
397
|
|
|
336
398
|
|
|
@@ -356,19 +418,19 @@ class ElastigroupIntegrationDockerSwarm(dict):
|
|
|
356
418
|
return super().get(key, default)
|
|
357
419
|
|
|
358
420
|
def __init__(__self__, *,
|
|
359
|
-
master_host: str,
|
|
360
|
-
master_port: int):
|
|
421
|
+
master_host: _builtins.str,
|
|
422
|
+
master_port: _builtins.int):
|
|
361
423
|
pulumi.set(__self__, "master_host", master_host)
|
|
362
424
|
pulumi.set(__self__, "master_port", master_port)
|
|
363
425
|
|
|
364
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
365
427
|
@pulumi.getter(name="masterHost")
|
|
366
|
-
def master_host(self) -> str:
|
|
428
|
+
def master_host(self) -> _builtins.str:
|
|
367
429
|
return pulumi.get(self, "master_host")
|
|
368
430
|
|
|
369
|
-
@property
|
|
431
|
+
@_builtins.property
|
|
370
432
|
@pulumi.getter(name="masterPort")
|
|
371
|
-
def master_port(self) -> int:
|
|
433
|
+
def master_port(self) -> _builtins.int:
|
|
372
434
|
return pulumi.get(self, "master_port")
|
|
373
435
|
|
|
374
436
|
|
|
@@ -406,15 +468,23 @@ class ElastigroupIntegrationGke(dict):
|
|
|
406
468
|
return super().get(key, default)
|
|
407
469
|
|
|
408
470
|
def __init__(__self__, *,
|
|
409
|
-
auto_update: Optional[bool] = None,
|
|
410
|
-
autoscale_cooldown: Optional[int] = None,
|
|
471
|
+
auto_update: Optional[_builtins.bool] = None,
|
|
472
|
+
autoscale_cooldown: Optional[_builtins.int] = None,
|
|
411
473
|
autoscale_down: Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown'] = None,
|
|
412
474
|
autoscale_headroom: Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom'] = None,
|
|
413
|
-
autoscale_is_auto_config: Optional[bool] = None,
|
|
414
|
-
autoscale_is_enabled: Optional[bool] = None,
|
|
475
|
+
autoscale_is_auto_config: Optional[_builtins.bool] = None,
|
|
476
|
+
autoscale_is_enabled: Optional[_builtins.bool] = None,
|
|
415
477
|
autoscale_labels: Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']] = None,
|
|
416
|
-
cluster_id: Optional[str] = None,
|
|
417
|
-
location: Optional[str] = None):
|
|
478
|
+
cluster_id: Optional[_builtins.str] = None,
|
|
479
|
+
location: Optional[_builtins.str] = None):
|
|
480
|
+
"""
|
|
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.
|
|
482
|
+
:param 'ElastigroupIntegrationGkeAutoscaleDownArgs' autoscale_down: Enabling scale down.
|
|
483
|
+
:param 'ElastigroupIntegrationGkeAutoscaleHeadroomArgs' autoscale_headroom: Headroom for the cluster.
|
|
484
|
+
:param _builtins.bool autoscale_is_enabled: Specifies whether the auto scaling feature is enabled.
|
|
485
|
+
:param Sequence['ElastigroupIntegrationGkeAutoscaleLabelArgs'] autoscale_labels: Labels to assign to the resource.
|
|
486
|
+
:param _builtins.str location: The location of your GKE cluster.
|
|
487
|
+
"""
|
|
418
488
|
if auto_update is not None:
|
|
419
489
|
pulumi.set(__self__, "auto_update", auto_update)
|
|
420
490
|
if autoscale_cooldown is not None:
|
|
@@ -434,49 +504,67 @@ class ElastigroupIntegrationGke(dict):
|
|
|
434
504
|
if location is not None:
|
|
435
505
|
pulumi.set(__self__, "location", location)
|
|
436
506
|
|
|
437
|
-
@property
|
|
507
|
+
@_builtins.property
|
|
438
508
|
@pulumi.getter(name="autoUpdate")
|
|
439
|
-
def auto_update(self) -> Optional[bool]:
|
|
509
|
+
def auto_update(self) -> Optional[_builtins.bool]:
|
|
440
510
|
return pulumi.get(self, "auto_update")
|
|
441
511
|
|
|
442
|
-
@property
|
|
512
|
+
@_builtins.property
|
|
443
513
|
@pulumi.getter(name="autoscaleCooldown")
|
|
444
|
-
def autoscale_cooldown(self) -> Optional[int]:
|
|
514
|
+
def autoscale_cooldown(self) -> Optional[_builtins.int]:
|
|
515
|
+
"""
|
|
516
|
+
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
|
|
517
|
+
"""
|
|
445
518
|
return pulumi.get(self, "autoscale_cooldown")
|
|
446
519
|
|
|
447
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
448
521
|
@pulumi.getter(name="autoscaleDown")
|
|
449
522
|
def autoscale_down(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleDown']:
|
|
523
|
+
"""
|
|
524
|
+
Enabling scale down.
|
|
525
|
+
"""
|
|
450
526
|
return pulumi.get(self, "autoscale_down")
|
|
451
527
|
|
|
452
|
-
@property
|
|
528
|
+
@_builtins.property
|
|
453
529
|
@pulumi.getter(name="autoscaleHeadroom")
|
|
454
530
|
def autoscale_headroom(self) -> Optional['outputs.ElastigroupIntegrationGkeAutoscaleHeadroom']:
|
|
531
|
+
"""
|
|
532
|
+
Headroom for the cluster.
|
|
533
|
+
"""
|
|
455
534
|
return pulumi.get(self, "autoscale_headroom")
|
|
456
535
|
|
|
457
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
458
537
|
@pulumi.getter(name="autoscaleIsAutoConfig")
|
|
459
|
-
def autoscale_is_auto_config(self) -> Optional[bool]:
|
|
538
|
+
def autoscale_is_auto_config(self) -> Optional[_builtins.bool]:
|
|
460
539
|
return pulumi.get(self, "autoscale_is_auto_config")
|
|
461
540
|
|
|
462
|
-
@property
|
|
541
|
+
@_builtins.property
|
|
463
542
|
@pulumi.getter(name="autoscaleIsEnabled")
|
|
464
|
-
def autoscale_is_enabled(self) -> Optional[bool]:
|
|
543
|
+
def autoscale_is_enabled(self) -> Optional[_builtins.bool]:
|
|
544
|
+
"""
|
|
545
|
+
Specifies whether the auto scaling feature is enabled.
|
|
546
|
+
"""
|
|
465
547
|
return pulumi.get(self, "autoscale_is_enabled")
|
|
466
548
|
|
|
467
|
-
@property
|
|
549
|
+
@_builtins.property
|
|
468
550
|
@pulumi.getter(name="autoscaleLabels")
|
|
469
551
|
def autoscale_labels(self) -> Optional[Sequence['outputs.ElastigroupIntegrationGkeAutoscaleLabel']]:
|
|
552
|
+
"""
|
|
553
|
+
Labels to assign to the resource.
|
|
554
|
+
"""
|
|
470
555
|
return pulumi.get(self, "autoscale_labels")
|
|
471
556
|
|
|
472
|
-
@property
|
|
557
|
+
@_builtins.property
|
|
473
558
|
@pulumi.getter(name="clusterId")
|
|
474
|
-
def cluster_id(self) -> Optional[str]:
|
|
559
|
+
def cluster_id(self) -> Optional[_builtins.str]:
|
|
475
560
|
return pulumi.get(self, "cluster_id")
|
|
476
561
|
|
|
477
|
-
@property
|
|
562
|
+
@_builtins.property
|
|
478
563
|
@pulumi.getter
|
|
479
|
-
def location(self) -> Optional[str]:
|
|
564
|
+
def location(self) -> Optional[_builtins.str]:
|
|
565
|
+
"""
|
|
566
|
+
The location of your GKE cluster.
|
|
567
|
+
"""
|
|
480
568
|
return pulumi.get(self, "location")
|
|
481
569
|
|
|
482
570
|
|
|
@@ -500,13 +588,19 @@ class ElastigroupIntegrationGkeAutoscaleDown(dict):
|
|
|
500
588
|
return super().get(key, default)
|
|
501
589
|
|
|
502
590
|
def __init__(__self__, *,
|
|
503
|
-
evaluation_periods: Optional[int] = None):
|
|
591
|
+
evaluation_periods: Optional[_builtins.int] = None):
|
|
592
|
+
"""
|
|
593
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
594
|
+
"""
|
|
504
595
|
if evaluation_periods is not None:
|
|
505
596
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
506
597
|
|
|
507
|
-
@property
|
|
598
|
+
@_builtins.property
|
|
508
599
|
@pulumi.getter(name="evaluationPeriods")
|
|
509
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
600
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
601
|
+
"""
|
|
602
|
+
Amount of cooldown evaluation periods for scale down.
|
|
603
|
+
"""
|
|
510
604
|
return pulumi.get(self, "evaluation_periods")
|
|
511
605
|
|
|
512
606
|
|
|
@@ -534,9 +628,14 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
534
628
|
return super().get(key, default)
|
|
535
629
|
|
|
536
630
|
def __init__(__self__, *,
|
|
537
|
-
cpu_per_unit: Optional[int] = None,
|
|
538
|
-
memory_per_unit: Optional[int] = None,
|
|
539
|
-
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):
|
|
634
|
+
"""
|
|
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.
|
|
638
|
+
"""
|
|
540
639
|
if cpu_per_unit is not None:
|
|
541
640
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
542
641
|
if memory_per_unit is not None:
|
|
@@ -544,76 +643,85 @@ class ElastigroupIntegrationGkeAutoscaleHeadroom(dict):
|
|
|
544
643
|
if num_of_units is not None:
|
|
545
644
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
546
645
|
|
|
547
|
-
@property
|
|
646
|
+
@_builtins.property
|
|
548
647
|
@pulumi.getter(name="cpuPerUnit")
|
|
549
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
648
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
649
|
+
"""
|
|
650
|
+
Cpu units for compute.
|
|
651
|
+
"""
|
|
550
652
|
return pulumi.get(self, "cpu_per_unit")
|
|
551
653
|
|
|
552
|
-
@property
|
|
654
|
+
@_builtins.property
|
|
553
655
|
@pulumi.getter(name="memoryPerUnit")
|
|
554
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
656
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
657
|
+
"""
|
|
658
|
+
RAM units for compute.
|
|
659
|
+
"""
|
|
555
660
|
return pulumi.get(self, "memory_per_unit")
|
|
556
661
|
|
|
557
|
-
@property
|
|
662
|
+
@_builtins.property
|
|
558
663
|
@pulumi.getter(name="numOfUnits")
|
|
559
|
-
def num_of_units(self) -> Optional[int]:
|
|
664
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
665
|
+
"""
|
|
666
|
+
Amount of units for compute.
|
|
667
|
+
"""
|
|
560
668
|
return pulumi.get(self, "num_of_units")
|
|
561
669
|
|
|
562
670
|
|
|
563
671
|
@pulumi.output_type
|
|
564
672
|
class ElastigroupIntegrationGkeAutoscaleLabel(dict):
|
|
565
673
|
def __init__(__self__, *,
|
|
566
|
-
key: str,
|
|
567
|
-
value: str):
|
|
674
|
+
key: _builtins.str,
|
|
675
|
+
value: _builtins.str):
|
|
568
676
|
pulumi.set(__self__, "key", key)
|
|
569
677
|
pulumi.set(__self__, "value", value)
|
|
570
678
|
|
|
571
|
-
@property
|
|
679
|
+
@_builtins.property
|
|
572
680
|
@pulumi.getter
|
|
573
|
-
def key(self) -> str:
|
|
681
|
+
def key(self) -> _builtins.str:
|
|
574
682
|
return pulumi.get(self, "key")
|
|
575
683
|
|
|
576
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
577
685
|
@pulumi.getter
|
|
578
|
-
def value(self) -> str:
|
|
686
|
+
def value(self) -> _builtins.str:
|
|
579
687
|
return pulumi.get(self, "value")
|
|
580
688
|
|
|
581
689
|
|
|
582
690
|
@pulumi.output_type
|
|
583
691
|
class ElastigroupLabel(dict):
|
|
584
692
|
def __init__(__self__, *,
|
|
585
|
-
key: str,
|
|
586
|
-
value: str):
|
|
693
|
+
key: _builtins.str,
|
|
694
|
+
value: _builtins.str):
|
|
587
695
|
pulumi.set(__self__, "key", key)
|
|
588
696
|
pulumi.set(__self__, "value", value)
|
|
589
697
|
|
|
590
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
591
699
|
@pulumi.getter
|
|
592
|
-
def key(self) -> str:
|
|
700
|
+
def key(self) -> _builtins.str:
|
|
593
701
|
return pulumi.get(self, "key")
|
|
594
702
|
|
|
595
|
-
@property
|
|
703
|
+
@_builtins.property
|
|
596
704
|
@pulumi.getter
|
|
597
|
-
def value(self) -> str:
|
|
705
|
+
def value(self) -> _builtins.str:
|
|
598
706
|
return pulumi.get(self, "value")
|
|
599
707
|
|
|
600
708
|
|
|
601
709
|
@pulumi.output_type
|
|
602
710
|
class ElastigroupMetadata(dict):
|
|
603
711
|
def __init__(__self__, *,
|
|
604
|
-
key: str,
|
|
605
|
-
value: str):
|
|
712
|
+
key: _builtins.str,
|
|
713
|
+
value: _builtins.str):
|
|
606
714
|
pulumi.set(__self__, "key", key)
|
|
607
715
|
pulumi.set(__self__, "value", value)
|
|
608
716
|
|
|
609
|
-
@property
|
|
717
|
+
@_builtins.property
|
|
610
718
|
@pulumi.getter
|
|
611
|
-
def key(self) -> str:
|
|
719
|
+
def key(self) -> _builtins.str:
|
|
612
720
|
return pulumi.get(self, "key")
|
|
613
721
|
|
|
614
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
615
723
|
@pulumi.getter
|
|
616
|
-
def value(self) -> str:
|
|
724
|
+
def value(self) -> _builtins.str:
|
|
617
725
|
return pulumi.get(self, "value")
|
|
618
726
|
|
|
619
727
|
|
|
@@ -639,7 +747,7 @@ class ElastigroupNetworkInterface(dict):
|
|
|
639
747
|
return super().get(key, default)
|
|
640
748
|
|
|
641
749
|
def __init__(__self__, *,
|
|
642
|
-
network: str,
|
|
750
|
+
network: _builtins.str,
|
|
643
751
|
access_configs: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']] = None,
|
|
644
752
|
alias_ip_ranges: Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']] = None):
|
|
645
753
|
pulumi.set(__self__, "network", network)
|
|
@@ -648,17 +756,17 @@ class ElastigroupNetworkInterface(dict):
|
|
|
648
756
|
if alias_ip_ranges is not None:
|
|
649
757
|
pulumi.set(__self__, "alias_ip_ranges", alias_ip_ranges)
|
|
650
758
|
|
|
651
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
652
760
|
@pulumi.getter
|
|
653
|
-
def network(self) -> str:
|
|
761
|
+
def network(self) -> _builtins.str:
|
|
654
762
|
return pulumi.get(self, "network")
|
|
655
763
|
|
|
656
|
-
@property
|
|
764
|
+
@_builtins.property
|
|
657
765
|
@pulumi.getter(name="accessConfigs")
|
|
658
766
|
def access_configs(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAccessConfig']]:
|
|
659
767
|
return pulumi.get(self, "access_configs")
|
|
660
768
|
|
|
661
|
-
@property
|
|
769
|
+
@_builtins.property
|
|
662
770
|
@pulumi.getter(name="aliasIpRanges")
|
|
663
771
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.ElastigroupNetworkInterfaceAliasIpRange']]:
|
|
664
772
|
return pulumi.get(self, "alias_ip_ranges")
|
|
@@ -667,21 +775,21 @@ class ElastigroupNetworkInterface(dict):
|
|
|
667
775
|
@pulumi.output_type
|
|
668
776
|
class ElastigroupNetworkInterfaceAccessConfig(dict):
|
|
669
777
|
def __init__(__self__, *,
|
|
670
|
-
name: Optional[str] = None,
|
|
671
|
-
type: Optional[str] = None):
|
|
778
|
+
name: Optional[_builtins.str] = None,
|
|
779
|
+
type: Optional[_builtins.str] = None):
|
|
672
780
|
if name is not None:
|
|
673
781
|
pulumi.set(__self__, "name", name)
|
|
674
782
|
if type is not None:
|
|
675
783
|
pulumi.set(__self__, "type", type)
|
|
676
784
|
|
|
677
|
-
@property
|
|
785
|
+
@_builtins.property
|
|
678
786
|
@pulumi.getter
|
|
679
|
-
def name(self) -> Optional[str]:
|
|
787
|
+
def name(self) -> Optional[_builtins.str]:
|
|
680
788
|
return pulumi.get(self, "name")
|
|
681
789
|
|
|
682
|
-
@property
|
|
790
|
+
@_builtins.property
|
|
683
791
|
@pulumi.getter
|
|
684
|
-
def type(self) -> Optional[str]:
|
|
792
|
+
def type(self) -> Optional[_builtins.str]:
|
|
685
793
|
return pulumi.get(self, "type")
|
|
686
794
|
|
|
687
795
|
|
|
@@ -707,22 +815,51 @@ class ElastigroupNetworkInterfaceAliasIpRange(dict):
|
|
|
707
815
|
return super().get(key, default)
|
|
708
816
|
|
|
709
817
|
def __init__(__self__, *,
|
|
710
|
-
ip_cidr_range: str,
|
|
711
|
-
subnetwork_range_name: str):
|
|
818
|
+
ip_cidr_range: _builtins.str,
|
|
819
|
+
subnetwork_range_name: _builtins.str):
|
|
712
820
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
713
821
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
714
822
|
|
|
715
|
-
@property
|
|
823
|
+
@_builtins.property
|
|
716
824
|
@pulumi.getter(name="ipCidrRange")
|
|
717
|
-
def ip_cidr_range(self) -> str:
|
|
825
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
718
826
|
return pulumi.get(self, "ip_cidr_range")
|
|
719
827
|
|
|
720
|
-
@property
|
|
828
|
+
@_builtins.property
|
|
721
829
|
@pulumi.getter(name="subnetworkRangeName")
|
|
722
|
-
def subnetwork_range_name(self) -> str:
|
|
830
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
723
831
|
return pulumi.get(self, "subnetwork_range_name")
|
|
724
832
|
|
|
725
833
|
|
|
834
|
+
@pulumi.output_type
|
|
835
|
+
class ElastigroupRevertToPreemptible(dict):
|
|
836
|
+
@staticmethod
|
|
837
|
+
def __key_warning(key: str):
|
|
838
|
+
suggest = None
|
|
839
|
+
if key == "performAt":
|
|
840
|
+
suggest = "perform_at"
|
|
841
|
+
|
|
842
|
+
if suggest:
|
|
843
|
+
pulumi.log.warn(f"Key '{key}' not found in ElastigroupRevertToPreemptible. Access the value via the '{suggest}' property getter instead.")
|
|
844
|
+
|
|
845
|
+
def __getitem__(self, key: str) -> Any:
|
|
846
|
+
ElastigroupRevertToPreemptible.__key_warning(key)
|
|
847
|
+
return super().__getitem__(key)
|
|
848
|
+
|
|
849
|
+
def get(self, key: str, default = None) -> Any:
|
|
850
|
+
ElastigroupRevertToPreemptible.__key_warning(key)
|
|
851
|
+
return super().get(key, default)
|
|
852
|
+
|
|
853
|
+
def __init__(__self__, *,
|
|
854
|
+
perform_at: _builtins.str):
|
|
855
|
+
pulumi.set(__self__, "perform_at", perform_at)
|
|
856
|
+
|
|
857
|
+
@_builtins.property
|
|
858
|
+
@pulumi.getter(name="performAt")
|
|
859
|
+
def perform_at(self) -> _builtins.str:
|
|
860
|
+
return pulumi.get(self, "perform_at")
|
|
861
|
+
|
|
862
|
+
|
|
726
863
|
@pulumi.output_type
|
|
727
864
|
class ElastigroupScalingDownPolicy(dict):
|
|
728
865
|
@staticmethod
|
|
@@ -749,20 +886,23 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
749
886
|
return super().get(key, default)
|
|
750
887
|
|
|
751
888
|
def __init__(__self__, *,
|
|
752
|
-
metric_name: str,
|
|
753
|
-
namespace: str,
|
|
754
|
-
policy_name: str,
|
|
755
|
-
threshold: float,
|
|
756
|
-
unit: str,
|
|
757
|
-
action_type: Optional[str] = None,
|
|
758
|
-
adjustment: Optional[int] = None,
|
|
759
|
-
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,
|
|
760
897
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']] = None,
|
|
761
|
-
evaluation_periods: Optional[int] = None,
|
|
762
|
-
operator: Optional[str] = None,
|
|
763
|
-
period: Optional[int] = None,
|
|
764
|
-
source: Optional[str] = None,
|
|
765
|
-
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):
|
|
903
|
+
"""
|
|
904
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
905
|
+
"""
|
|
766
906
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
767
907
|
pulumi.set(__self__, "namespace", namespace)
|
|
768
908
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
@@ -787,94 +927,97 @@ class ElastigroupScalingDownPolicy(dict):
|
|
|
787
927
|
if statistic is not None:
|
|
788
928
|
pulumi.set(__self__, "statistic", statistic)
|
|
789
929
|
|
|
790
|
-
@property
|
|
930
|
+
@_builtins.property
|
|
791
931
|
@pulumi.getter(name="metricName")
|
|
792
|
-
def metric_name(self) -> str:
|
|
932
|
+
def metric_name(self) -> _builtins.str:
|
|
793
933
|
return pulumi.get(self, "metric_name")
|
|
794
934
|
|
|
795
|
-
@property
|
|
935
|
+
@_builtins.property
|
|
796
936
|
@pulumi.getter
|
|
797
|
-
def namespace(self) -> str:
|
|
937
|
+
def namespace(self) -> _builtins.str:
|
|
798
938
|
return pulumi.get(self, "namespace")
|
|
799
939
|
|
|
800
|
-
@property
|
|
940
|
+
@_builtins.property
|
|
801
941
|
@pulumi.getter(name="policyName")
|
|
802
|
-
def policy_name(self) -> str:
|
|
942
|
+
def policy_name(self) -> _builtins.str:
|
|
803
943
|
return pulumi.get(self, "policy_name")
|
|
804
944
|
|
|
805
|
-
@property
|
|
945
|
+
@_builtins.property
|
|
806
946
|
@pulumi.getter
|
|
807
|
-
def threshold(self) -> float:
|
|
947
|
+
def threshold(self) -> _builtins.float:
|
|
808
948
|
return pulumi.get(self, "threshold")
|
|
809
949
|
|
|
810
|
-
@property
|
|
950
|
+
@_builtins.property
|
|
811
951
|
@pulumi.getter
|
|
812
|
-
def unit(self) -> str:
|
|
952
|
+
def unit(self) -> _builtins.str:
|
|
813
953
|
return pulumi.get(self, "unit")
|
|
814
954
|
|
|
815
|
-
@property
|
|
955
|
+
@_builtins.property
|
|
816
956
|
@pulumi.getter(name="actionType")
|
|
817
|
-
def action_type(self) -> Optional[str]:
|
|
957
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
818
958
|
return pulumi.get(self, "action_type")
|
|
819
959
|
|
|
820
|
-
@property
|
|
960
|
+
@_builtins.property
|
|
821
961
|
@pulumi.getter
|
|
822
|
-
def adjustment(self) -> Optional[int]:
|
|
962
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
823
963
|
return pulumi.get(self, "adjustment")
|
|
824
964
|
|
|
825
|
-
@property
|
|
965
|
+
@_builtins.property
|
|
826
966
|
@pulumi.getter
|
|
827
|
-
def cooldown(self) -> Optional[int]:
|
|
967
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
828
968
|
return pulumi.get(self, "cooldown")
|
|
829
969
|
|
|
830
|
-
@property
|
|
970
|
+
@_builtins.property
|
|
831
971
|
@pulumi.getter
|
|
832
972
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingDownPolicyDimension']]:
|
|
833
973
|
return pulumi.get(self, "dimensions")
|
|
834
974
|
|
|
835
|
-
@property
|
|
975
|
+
@_builtins.property
|
|
836
976
|
@pulumi.getter(name="evaluationPeriods")
|
|
837
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
977
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
978
|
+
"""
|
|
979
|
+
Amount of cooldown evaluation periods for scale down.
|
|
980
|
+
"""
|
|
838
981
|
return pulumi.get(self, "evaluation_periods")
|
|
839
982
|
|
|
840
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
841
984
|
@pulumi.getter
|
|
842
|
-
def operator(self) -> Optional[str]:
|
|
985
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
843
986
|
return pulumi.get(self, "operator")
|
|
844
987
|
|
|
845
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
846
989
|
@pulumi.getter
|
|
847
|
-
def period(self) -> Optional[int]:
|
|
990
|
+
def period(self) -> Optional[_builtins.int]:
|
|
848
991
|
return pulumi.get(self, "period")
|
|
849
992
|
|
|
850
|
-
@property
|
|
993
|
+
@_builtins.property
|
|
851
994
|
@pulumi.getter
|
|
852
|
-
def source(self) -> Optional[str]:
|
|
995
|
+
def source(self) -> Optional[_builtins.str]:
|
|
853
996
|
return pulumi.get(self, "source")
|
|
854
997
|
|
|
855
|
-
@property
|
|
998
|
+
@_builtins.property
|
|
856
999
|
@pulumi.getter
|
|
857
|
-
def statistic(self) -> Optional[str]:
|
|
1000
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
858
1001
|
return pulumi.get(self, "statistic")
|
|
859
1002
|
|
|
860
1003
|
|
|
861
1004
|
@pulumi.output_type
|
|
862
1005
|
class ElastigroupScalingDownPolicyDimension(dict):
|
|
863
1006
|
def __init__(__self__, *,
|
|
864
|
-
name: str,
|
|
865
|
-
value: Optional[str] = None):
|
|
1007
|
+
name: _builtins.str,
|
|
1008
|
+
value: Optional[_builtins.str] = None):
|
|
866
1009
|
pulumi.set(__self__, "name", name)
|
|
867
1010
|
if value is not None:
|
|
868
1011
|
pulumi.set(__self__, "value", value)
|
|
869
1012
|
|
|
870
|
-
@property
|
|
1013
|
+
@_builtins.property
|
|
871
1014
|
@pulumi.getter
|
|
872
|
-
def name(self) -> str:
|
|
1015
|
+
def name(self) -> _builtins.str:
|
|
873
1016
|
return pulumi.get(self, "name")
|
|
874
1017
|
|
|
875
|
-
@property
|
|
1018
|
+
@_builtins.property
|
|
876
1019
|
@pulumi.getter
|
|
877
|
-
def value(self) -> Optional[str]:
|
|
1020
|
+
def value(self) -> Optional[_builtins.str]:
|
|
878
1021
|
return pulumi.get(self, "value")
|
|
879
1022
|
|
|
880
1023
|
|
|
@@ -904,20 +1047,23 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
904
1047
|
return super().get(key, default)
|
|
905
1048
|
|
|
906
1049
|
def __init__(__self__, *,
|
|
907
|
-
metric_name: str,
|
|
908
|
-
namespace: str,
|
|
909
|
-
policy_name: str,
|
|
910
|
-
threshold: float,
|
|
911
|
-
unit: str,
|
|
912
|
-
action_type: Optional[str] = None,
|
|
913
|
-
adjustment: Optional[int] = None,
|
|
914
|
-
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,
|
|
915
1058
|
dimensions: Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']] = None,
|
|
916
|
-
evaluation_periods: Optional[int] = None,
|
|
917
|
-
operator: Optional[str] = None,
|
|
918
|
-
period: Optional[int] = None,
|
|
919
|
-
source: Optional[str] = None,
|
|
920
|
-
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):
|
|
1064
|
+
"""
|
|
1065
|
+
:param _builtins.int evaluation_periods: Amount of cooldown evaluation periods for scale down.
|
|
1066
|
+
"""
|
|
921
1067
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
922
1068
|
pulumi.set(__self__, "namespace", namespace)
|
|
923
1069
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
@@ -942,97 +1088,176 @@ class ElastigroupScalingUpPolicy(dict):
|
|
|
942
1088
|
if statistic is not None:
|
|
943
1089
|
pulumi.set(__self__, "statistic", statistic)
|
|
944
1090
|
|
|
945
|
-
@property
|
|
1091
|
+
@_builtins.property
|
|
946
1092
|
@pulumi.getter(name="metricName")
|
|
947
|
-
def metric_name(self) -> str:
|
|
1093
|
+
def metric_name(self) -> _builtins.str:
|
|
948
1094
|
return pulumi.get(self, "metric_name")
|
|
949
1095
|
|
|
950
|
-
@property
|
|
1096
|
+
@_builtins.property
|
|
951
1097
|
@pulumi.getter
|
|
952
|
-
def namespace(self) -> str:
|
|
1098
|
+
def namespace(self) -> _builtins.str:
|
|
953
1099
|
return pulumi.get(self, "namespace")
|
|
954
1100
|
|
|
955
|
-
@property
|
|
1101
|
+
@_builtins.property
|
|
956
1102
|
@pulumi.getter(name="policyName")
|
|
957
|
-
def policy_name(self) -> str:
|
|
1103
|
+
def policy_name(self) -> _builtins.str:
|
|
958
1104
|
return pulumi.get(self, "policy_name")
|
|
959
1105
|
|
|
960
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
961
1107
|
@pulumi.getter
|
|
962
|
-
def threshold(self) -> float:
|
|
1108
|
+
def threshold(self) -> _builtins.float:
|
|
963
1109
|
return pulumi.get(self, "threshold")
|
|
964
1110
|
|
|
965
|
-
@property
|
|
1111
|
+
@_builtins.property
|
|
966
1112
|
@pulumi.getter
|
|
967
|
-
def unit(self) -> str:
|
|
1113
|
+
def unit(self) -> _builtins.str:
|
|
968
1114
|
return pulumi.get(self, "unit")
|
|
969
1115
|
|
|
970
|
-
@property
|
|
1116
|
+
@_builtins.property
|
|
971
1117
|
@pulumi.getter(name="actionType")
|
|
972
|
-
def action_type(self) -> Optional[str]:
|
|
1118
|
+
def action_type(self) -> Optional[_builtins.str]:
|
|
973
1119
|
return pulumi.get(self, "action_type")
|
|
974
1120
|
|
|
975
|
-
@property
|
|
1121
|
+
@_builtins.property
|
|
976
1122
|
@pulumi.getter
|
|
977
|
-
def adjustment(self) -> Optional[int]:
|
|
1123
|
+
def adjustment(self) -> Optional[_builtins.int]:
|
|
978
1124
|
return pulumi.get(self, "adjustment")
|
|
979
1125
|
|
|
980
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
981
1127
|
@pulumi.getter
|
|
982
|
-
def cooldown(self) -> Optional[int]:
|
|
1128
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
983
1129
|
return pulumi.get(self, "cooldown")
|
|
984
1130
|
|
|
985
|
-
@property
|
|
1131
|
+
@_builtins.property
|
|
986
1132
|
@pulumi.getter
|
|
987
1133
|
def dimensions(self) -> Optional[Sequence['outputs.ElastigroupScalingUpPolicyDimension']]:
|
|
988
1134
|
return pulumi.get(self, "dimensions")
|
|
989
1135
|
|
|
990
|
-
@property
|
|
1136
|
+
@_builtins.property
|
|
991
1137
|
@pulumi.getter(name="evaluationPeriods")
|
|
992
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1138
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1139
|
+
"""
|
|
1140
|
+
Amount of cooldown evaluation periods for scale down.
|
|
1141
|
+
"""
|
|
993
1142
|
return pulumi.get(self, "evaluation_periods")
|
|
994
1143
|
|
|
995
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
996
1145
|
@pulumi.getter
|
|
997
|
-
def operator(self) -> Optional[str]:
|
|
1146
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
998
1147
|
return pulumi.get(self, "operator")
|
|
999
1148
|
|
|
1000
|
-
@property
|
|
1149
|
+
@_builtins.property
|
|
1001
1150
|
@pulumi.getter
|
|
1002
|
-
def period(self) -> Optional[int]:
|
|
1151
|
+
def period(self) -> Optional[_builtins.int]:
|
|
1003
1152
|
return pulumi.get(self, "period")
|
|
1004
1153
|
|
|
1005
|
-
@property
|
|
1154
|
+
@_builtins.property
|
|
1006
1155
|
@pulumi.getter
|
|
1007
|
-
def source(self) -> Optional[str]:
|
|
1156
|
+
def source(self) -> Optional[_builtins.str]:
|
|
1008
1157
|
return pulumi.get(self, "source")
|
|
1009
1158
|
|
|
1010
|
-
@property
|
|
1159
|
+
@_builtins.property
|
|
1011
1160
|
@pulumi.getter
|
|
1012
|
-
def statistic(self) -> Optional[str]:
|
|
1161
|
+
def statistic(self) -> Optional[_builtins.str]:
|
|
1013
1162
|
return pulumi.get(self, "statistic")
|
|
1014
1163
|
|
|
1015
1164
|
|
|
1016
1165
|
@pulumi.output_type
|
|
1017
1166
|
class ElastigroupScalingUpPolicyDimension(dict):
|
|
1018
1167
|
def __init__(__self__, *,
|
|
1019
|
-
name: str,
|
|
1020
|
-
value: Optional[str] = None):
|
|
1168
|
+
name: _builtins.str,
|
|
1169
|
+
value: Optional[_builtins.str] = None):
|
|
1021
1170
|
pulumi.set(__self__, "name", name)
|
|
1022
1171
|
if value is not None:
|
|
1023
1172
|
pulumi.set(__self__, "value", value)
|
|
1024
1173
|
|
|
1025
|
-
@property
|
|
1174
|
+
@_builtins.property
|
|
1026
1175
|
@pulumi.getter
|
|
1027
|
-
def name(self) -> str:
|
|
1176
|
+
def name(self) -> _builtins.str:
|
|
1028
1177
|
return pulumi.get(self, "name")
|
|
1029
1178
|
|
|
1030
|
-
@property
|
|
1179
|
+
@_builtins.property
|
|
1031
1180
|
@pulumi.getter
|
|
1032
|
-
def value(self) -> Optional[str]:
|
|
1181
|
+
def value(self) -> Optional[_builtins.str]:
|
|
1033
1182
|
return pulumi.get(self, "value")
|
|
1034
1183
|
|
|
1035
1184
|
|
|
1185
|
+
@pulumi.output_type
|
|
1186
|
+
class ElastigroupShieldedInstanceConfig(dict):
|
|
1187
|
+
@staticmethod
|
|
1188
|
+
def __key_warning(key: str):
|
|
1189
|
+
suggest = None
|
|
1190
|
+
if key == "enableIntegrityMonitoring":
|
|
1191
|
+
suggest = "enable_integrity_monitoring"
|
|
1192
|
+
elif key == "enableSecureBoot":
|
|
1193
|
+
suggest = "enable_secure_boot"
|
|
1194
|
+
|
|
1195
|
+
if suggest:
|
|
1196
|
+
pulumi.log.warn(f"Key '{key}' not found in ElastigroupShieldedInstanceConfig. Access the value via the '{suggest}' property getter instead.")
|
|
1197
|
+
|
|
1198
|
+
def __getitem__(self, key: str) -> Any:
|
|
1199
|
+
ElastigroupShieldedInstanceConfig.__key_warning(key)
|
|
1200
|
+
return super().__getitem__(key)
|
|
1201
|
+
|
|
1202
|
+
def get(self, key: str, default = None) -> Any:
|
|
1203
|
+
ElastigroupShieldedInstanceConfig.__key_warning(key)
|
|
1204
|
+
return super().get(key, default)
|
|
1205
|
+
|
|
1206
|
+
def __init__(__self__, *,
|
|
1207
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
1208
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1209
|
+
if enable_integrity_monitoring is not None:
|
|
1210
|
+
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1211
|
+
if enable_secure_boot is not None:
|
|
1212
|
+
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1213
|
+
|
|
1214
|
+
@_builtins.property
|
|
1215
|
+
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1216
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1217
|
+
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1218
|
+
|
|
1219
|
+
@_builtins.property
|
|
1220
|
+
@pulumi.getter(name="enableSecureBoot")
|
|
1221
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1222
|
+
return pulumi.get(self, "enable_secure_boot")
|
|
1223
|
+
|
|
1224
|
+
|
|
1225
|
+
@pulumi.output_type
|
|
1226
|
+
class OceanImportAutoUpdate(dict):
|
|
1227
|
+
@staticmethod
|
|
1228
|
+
def __key_warning(key: str):
|
|
1229
|
+
suggest = None
|
|
1230
|
+
if key == "isEnabled":
|
|
1231
|
+
suggest = "is_enabled"
|
|
1232
|
+
|
|
1233
|
+
if suggest:
|
|
1234
|
+
pulumi.log.warn(f"Key '{key}' not found in OceanImportAutoUpdate. Access the value via the '{suggest}' property getter instead.")
|
|
1235
|
+
|
|
1236
|
+
def __getitem__(self, key: str) -> Any:
|
|
1237
|
+
OceanImportAutoUpdate.__key_warning(key)
|
|
1238
|
+
return super().__getitem__(key)
|
|
1239
|
+
|
|
1240
|
+
def get(self, key: str, default = None) -> Any:
|
|
1241
|
+
OceanImportAutoUpdate.__key_warning(key)
|
|
1242
|
+
return super().get(key, default)
|
|
1243
|
+
|
|
1244
|
+
def __init__(__self__, *,
|
|
1245
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1246
|
+
"""
|
|
1247
|
+
:param _builtins.bool is_enabled: Enable the Ocean Kubernetes AutoUpdate.
|
|
1248
|
+
"""
|
|
1249
|
+
if is_enabled is not None:
|
|
1250
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1251
|
+
|
|
1252
|
+
@_builtins.property
|
|
1253
|
+
@pulumi.getter(name="isEnabled")
|
|
1254
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1255
|
+
"""
|
|
1256
|
+
Enable the Ocean Kubernetes AutoUpdate.
|
|
1257
|
+
"""
|
|
1258
|
+
return pulumi.get(self, "is_enabled")
|
|
1259
|
+
|
|
1260
|
+
|
|
1036
1261
|
@pulumi.output_type
|
|
1037
1262
|
class OceanImportAutoscaler(dict):
|
|
1038
1263
|
@staticmethod
|
|
@@ -1061,22 +1286,22 @@ class OceanImportAutoscaler(dict):
|
|
|
1061
1286
|
return super().get(key, default)
|
|
1062
1287
|
|
|
1063
1288
|
def __init__(__self__, *,
|
|
1064
|
-
auto_headroom_percentage: Optional[int] = None,
|
|
1065
|
-
cooldown: Optional[int] = None,
|
|
1289
|
+
auto_headroom_percentage: Optional[_builtins.int] = None,
|
|
1290
|
+
cooldown: Optional[_builtins.int] = None,
|
|
1066
1291
|
down: Optional['outputs.OceanImportAutoscalerDown'] = None,
|
|
1067
|
-
enable_automatic_and_manual_headroom: Optional[bool] = None,
|
|
1292
|
+
enable_automatic_and_manual_headroom: Optional[_builtins.bool] = None,
|
|
1068
1293
|
headroom: Optional['outputs.OceanImportAutoscalerHeadroom'] = None,
|
|
1069
|
-
is_auto_config: Optional[bool] = None,
|
|
1070
|
-
is_enabled: Optional[bool] = None,
|
|
1294
|
+
is_auto_config: Optional[_builtins.bool] = None,
|
|
1295
|
+
is_enabled: Optional[_builtins.bool] = None,
|
|
1071
1296
|
resource_limits: Optional['outputs.OceanImportAutoscalerResourceLimits'] = None):
|
|
1072
1297
|
"""
|
|
1073
|
-
: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.
|
|
1074
|
-
: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.
|
|
1075
1300
|
:param 'OceanImportAutoscalerDownArgs' down: Auto Scaling scale down operations.
|
|
1076
|
-
: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.
|
|
1077
1302
|
:param 'OceanImportAutoscalerHeadroomArgs' headroom: Spare resource capacity management enabling fast assignment of Pods without waiting for new resources to launch.
|
|
1078
|
-
:param bool is_auto_config: Automatically configure and optimize headroom resources.
|
|
1079
|
-
: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.
|
|
1080
1305
|
:param 'OceanImportAutoscalerResourceLimitsArgs' resource_limits: Optionally set upper and lower bounds on the resource usage of the cluster.
|
|
1081
1306
|
"""
|
|
1082
1307
|
if auto_headroom_percentage is not None:
|
|
@@ -1096,23 +1321,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1096
1321
|
if resource_limits is not None:
|
|
1097
1322
|
pulumi.set(__self__, "resource_limits", resource_limits)
|
|
1098
1323
|
|
|
1099
|
-
@property
|
|
1324
|
+
@_builtins.property
|
|
1100
1325
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
1101
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
1326
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
1102
1327
|
"""
|
|
1103
1328
|
Optionally set the auto headroom percentage, set a number between 0-200 to control the headroom % from the cluster. Relevant when isAutoConfig=true.
|
|
1104
1329
|
"""
|
|
1105
1330
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
1106
1331
|
|
|
1107
|
-
@property
|
|
1332
|
+
@_builtins.property
|
|
1108
1333
|
@pulumi.getter
|
|
1109
|
-
def cooldown(self) -> Optional[int]:
|
|
1334
|
+
def cooldown(self) -> Optional[_builtins.int]:
|
|
1110
1335
|
"""
|
|
1111
1336
|
Cooldown period between scaling actions.
|
|
1112
1337
|
"""
|
|
1113
1338
|
return pulumi.get(self, "cooldown")
|
|
1114
1339
|
|
|
1115
|
-
@property
|
|
1340
|
+
@_builtins.property
|
|
1116
1341
|
@pulumi.getter
|
|
1117
1342
|
def down(self) -> Optional['outputs.OceanImportAutoscalerDown']:
|
|
1118
1343
|
"""
|
|
@@ -1120,15 +1345,15 @@ class OceanImportAutoscaler(dict):
|
|
|
1120
1345
|
"""
|
|
1121
1346
|
return pulumi.get(self, "down")
|
|
1122
1347
|
|
|
1123
|
-
@property
|
|
1348
|
+
@_builtins.property
|
|
1124
1349
|
@pulumi.getter(name="enableAutomaticAndManualHeadroom")
|
|
1125
|
-
def enable_automatic_and_manual_headroom(self) -> Optional[bool]:
|
|
1350
|
+
def enable_automatic_and_manual_headroom(self) -> Optional[_builtins.bool]:
|
|
1126
1351
|
"""
|
|
1127
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.
|
|
1128
1353
|
"""
|
|
1129
1354
|
return pulumi.get(self, "enable_automatic_and_manual_headroom")
|
|
1130
1355
|
|
|
1131
|
-
@property
|
|
1356
|
+
@_builtins.property
|
|
1132
1357
|
@pulumi.getter
|
|
1133
1358
|
def headroom(self) -> Optional['outputs.OceanImportAutoscalerHeadroom']:
|
|
1134
1359
|
"""
|
|
@@ -1136,23 +1361,23 @@ class OceanImportAutoscaler(dict):
|
|
|
1136
1361
|
"""
|
|
1137
1362
|
return pulumi.get(self, "headroom")
|
|
1138
1363
|
|
|
1139
|
-
@property
|
|
1364
|
+
@_builtins.property
|
|
1140
1365
|
@pulumi.getter(name="isAutoConfig")
|
|
1141
|
-
def is_auto_config(self) -> Optional[bool]:
|
|
1366
|
+
def is_auto_config(self) -> Optional[_builtins.bool]:
|
|
1142
1367
|
"""
|
|
1143
1368
|
Automatically configure and optimize headroom resources.
|
|
1144
1369
|
"""
|
|
1145
1370
|
return pulumi.get(self, "is_auto_config")
|
|
1146
1371
|
|
|
1147
|
-
@property
|
|
1372
|
+
@_builtins.property
|
|
1148
1373
|
@pulumi.getter(name="isEnabled")
|
|
1149
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1374
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1150
1375
|
"""
|
|
1151
1376
|
Enable the Ocean Kubernetes Autoscaler.
|
|
1152
1377
|
"""
|
|
1153
1378
|
return pulumi.get(self, "is_enabled")
|
|
1154
1379
|
|
|
1155
|
-
@property
|
|
1380
|
+
@_builtins.property
|
|
1156
1381
|
@pulumi.getter(name="resourceLimits")
|
|
1157
1382
|
def resource_limits(self) -> Optional['outputs.OceanImportAutoscalerResourceLimits']:
|
|
1158
1383
|
"""
|
|
@@ -1168,6 +1393,8 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1168
1393
|
suggest = None
|
|
1169
1394
|
if key == "evaluationPeriods":
|
|
1170
1395
|
suggest = "evaluation_periods"
|
|
1396
|
+
elif key == "isAggressiveScaleDownEnabled":
|
|
1397
|
+
suggest = "is_aggressive_scale_down_enabled"
|
|
1171
1398
|
elif key == "maxScaleDownPercentage":
|
|
1172
1399
|
suggest = "max_scale_down_percentage"
|
|
1173
1400
|
|
|
@@ -1183,28 +1410,40 @@ class OceanImportAutoscalerDown(dict):
|
|
|
1183
1410
|
return super().get(key, default)
|
|
1184
1411
|
|
|
1185
1412
|
def __init__(__self__, *,
|
|
1186
|
-
evaluation_periods: Optional[int] = None,
|
|
1187
|
-
|
|
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):
|
|
1188
1416
|
"""
|
|
1189
|
-
:param int evaluation_periods: The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1190
|
-
:param
|
|
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.
|
|
1191
1420
|
"""
|
|
1192
1421
|
if evaluation_periods is not None:
|
|
1193
1422
|
pulumi.set(__self__, "evaluation_periods", evaluation_periods)
|
|
1423
|
+
if is_aggressive_scale_down_enabled is not None:
|
|
1424
|
+
pulumi.set(__self__, "is_aggressive_scale_down_enabled", is_aggressive_scale_down_enabled)
|
|
1194
1425
|
if max_scale_down_percentage is not None:
|
|
1195
1426
|
pulumi.set(__self__, "max_scale_down_percentage", max_scale_down_percentage)
|
|
1196
1427
|
|
|
1197
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1198
1429
|
@pulumi.getter(name="evaluationPeriods")
|
|
1199
|
-
def evaluation_periods(self) -> Optional[int]:
|
|
1430
|
+
def evaluation_periods(self) -> Optional[_builtins.int]:
|
|
1200
1431
|
"""
|
|
1201
1432
|
The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
1202
1433
|
"""
|
|
1203
1434
|
return pulumi.get(self, "evaluation_periods")
|
|
1204
1435
|
|
|
1205
|
-
@property
|
|
1436
|
+
@_builtins.property
|
|
1437
|
+
@pulumi.getter(name="isAggressiveScaleDownEnabled")
|
|
1438
|
+
def is_aggressive_scale_down_enabled(self) -> Optional[_builtins.bool]:
|
|
1439
|
+
"""
|
|
1440
|
+
When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
1441
|
+
"""
|
|
1442
|
+
return pulumi.get(self, "is_aggressive_scale_down_enabled")
|
|
1443
|
+
|
|
1444
|
+
@_builtins.property
|
|
1206
1445
|
@pulumi.getter(name="maxScaleDownPercentage")
|
|
1207
|
-
def max_scale_down_percentage(self) -> Optional[float]:
|
|
1446
|
+
def max_scale_down_percentage(self) -> Optional[_builtins.float]:
|
|
1208
1447
|
"""
|
|
1209
1448
|
Would represent the maximum % to scale-down. Number between 1-100.
|
|
1210
1449
|
"""
|
|
@@ -1237,15 +1476,15 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1237
1476
|
return super().get(key, default)
|
|
1238
1477
|
|
|
1239
1478
|
def __init__(__self__, *,
|
|
1240
|
-
cpu_per_unit: Optional[int] = None,
|
|
1241
|
-
gpu_per_unit: Optional[int] = None,
|
|
1242
|
-
memory_per_unit: Optional[int] = None,
|
|
1243
|
-
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):
|
|
1244
1483
|
"""
|
|
1245
|
-
: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.
|
|
1246
|
-
:param int gpu_per_unit: How much GPU allocate for headroom unit.
|
|
1247
|
-
:param int memory_per_unit: Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1248
|
-
: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.
|
|
1249
1488
|
"""
|
|
1250
1489
|
if cpu_per_unit is not None:
|
|
1251
1490
|
pulumi.set(__self__, "cpu_per_unit", cpu_per_unit)
|
|
@@ -1256,33 +1495,33 @@ class OceanImportAutoscalerHeadroom(dict):
|
|
|
1256
1495
|
if num_of_units is not None:
|
|
1257
1496
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
1258
1497
|
|
|
1259
|
-
@property
|
|
1498
|
+
@_builtins.property
|
|
1260
1499
|
@pulumi.getter(name="cpuPerUnit")
|
|
1261
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
1500
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1262
1501
|
"""
|
|
1263
1502
|
Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
1264
1503
|
"""
|
|
1265
1504
|
return pulumi.get(self, "cpu_per_unit")
|
|
1266
1505
|
|
|
1267
|
-
@property
|
|
1506
|
+
@_builtins.property
|
|
1268
1507
|
@pulumi.getter(name="gpuPerUnit")
|
|
1269
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
1508
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
1270
1509
|
"""
|
|
1271
1510
|
How much GPU allocate for headroom unit.
|
|
1272
1511
|
"""
|
|
1273
1512
|
return pulumi.get(self, "gpu_per_unit")
|
|
1274
1513
|
|
|
1275
|
-
@property
|
|
1514
|
+
@_builtins.property
|
|
1276
1515
|
@pulumi.getter(name="memoryPerUnit")
|
|
1277
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
1516
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
1278
1517
|
"""
|
|
1279
1518
|
Optionally configure the amount of memory (MiB) to allocate the headroom.
|
|
1280
1519
|
"""
|
|
1281
1520
|
return pulumi.get(self, "memory_per_unit")
|
|
1282
1521
|
|
|
1283
|
-
@property
|
|
1522
|
+
@_builtins.property
|
|
1284
1523
|
@pulumi.getter(name="numOfUnits")
|
|
1285
|
-
def num_of_units(self) -> Optional[int]:
|
|
1524
|
+
def num_of_units(self) -> Optional[_builtins.int]:
|
|
1286
1525
|
"""
|
|
1287
1526
|
The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
|
|
1288
1527
|
"""
|
|
@@ -1311,28 +1550,28 @@ class OceanImportAutoscalerResourceLimits(dict):
|
|
|
1311
1550
|
return super().get(key, default)
|
|
1312
1551
|
|
|
1313
1552
|
def __init__(__self__, *,
|
|
1314
|
-
max_memory_gib: Optional[int] = None,
|
|
1315
|
-
max_vcpu: Optional[int] = None):
|
|
1553
|
+
max_memory_gib: Optional[_builtins.int] = None,
|
|
1554
|
+
max_vcpu: Optional[_builtins.int] = None):
|
|
1316
1555
|
"""
|
|
1317
|
-
:param int max_memory_gib: The maximum memory in GiB units that can be allocated to the cluster.
|
|
1318
|
-
: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.
|
|
1319
1558
|
"""
|
|
1320
1559
|
if max_memory_gib is not None:
|
|
1321
1560
|
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
1322
1561
|
if max_vcpu is not None:
|
|
1323
1562
|
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
1324
1563
|
|
|
1325
|
-
@property
|
|
1564
|
+
@_builtins.property
|
|
1326
1565
|
@pulumi.getter(name="maxMemoryGib")
|
|
1327
|
-
def max_memory_gib(self) -> Optional[int]:
|
|
1566
|
+
def max_memory_gib(self) -> Optional[_builtins.int]:
|
|
1328
1567
|
"""
|
|
1329
1568
|
The maximum memory in GiB units that can be allocated to the cluster.
|
|
1330
1569
|
"""
|
|
1331
1570
|
return pulumi.get(self, "max_memory_gib")
|
|
1332
1571
|
|
|
1333
|
-
@property
|
|
1572
|
+
@_builtins.property
|
|
1334
1573
|
@pulumi.getter(name="maxVcpu")
|
|
1335
|
-
def max_vcpu(self) -> Optional[int]:
|
|
1574
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1336
1575
|
"""
|
|
1337
1576
|
The maximum cpu in vCpu units that can be allocated to the cluster.
|
|
1338
1577
|
"""
|
|
@@ -1363,14 +1602,14 @@ class OceanImportBackendService(dict):
|
|
|
1363
1602
|
return super().get(key, default)
|
|
1364
1603
|
|
|
1365
1604
|
def __init__(__self__, *,
|
|
1366
|
-
service_name: str,
|
|
1367
|
-
location_type: Optional[str] = None,
|
|
1605
|
+
service_name: _builtins.str,
|
|
1606
|
+
location_type: Optional[_builtins.str] = None,
|
|
1368
1607
|
named_ports: Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']] = None,
|
|
1369
|
-
scheme: Optional[str] = None):
|
|
1608
|
+
scheme: Optional[_builtins.str] = None):
|
|
1370
1609
|
"""
|
|
1371
|
-
:param str service_name: The name of the backend service.
|
|
1372
|
-
:param str location_type: Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1373
|
-
: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`.
|
|
1374
1613
|
"""
|
|
1375
1614
|
pulumi.set(__self__, "service_name", service_name)
|
|
1376
1615
|
if location_type is not None:
|
|
@@ -1380,30 +1619,30 @@ class OceanImportBackendService(dict):
|
|
|
1380
1619
|
if scheme is not None:
|
|
1381
1620
|
pulumi.set(__self__, "scheme", scheme)
|
|
1382
1621
|
|
|
1383
|
-
@property
|
|
1622
|
+
@_builtins.property
|
|
1384
1623
|
@pulumi.getter(name="serviceName")
|
|
1385
|
-
def service_name(self) -> str:
|
|
1624
|
+
def service_name(self) -> _builtins.str:
|
|
1386
1625
|
"""
|
|
1387
1626
|
The name of the backend service.
|
|
1388
1627
|
"""
|
|
1389
1628
|
return pulumi.get(self, "service_name")
|
|
1390
1629
|
|
|
1391
|
-
@property
|
|
1630
|
+
@_builtins.property
|
|
1392
1631
|
@pulumi.getter(name="locationType")
|
|
1393
|
-
def location_type(self) -> Optional[str]:
|
|
1632
|
+
def location_type(self) -> Optional[_builtins.str]:
|
|
1394
1633
|
"""
|
|
1395
1634
|
Sets which location the backend services will be active. Valid values: `regional`, `global`.
|
|
1396
1635
|
"""
|
|
1397
1636
|
return pulumi.get(self, "location_type")
|
|
1398
1637
|
|
|
1399
|
-
@property
|
|
1638
|
+
@_builtins.property
|
|
1400
1639
|
@pulumi.getter(name="namedPorts")
|
|
1401
1640
|
def named_ports(self) -> Optional[Sequence['outputs.OceanImportBackendServiceNamedPort']]:
|
|
1402
1641
|
return pulumi.get(self, "named_ports")
|
|
1403
1642
|
|
|
1404
|
-
@property
|
|
1643
|
+
@_builtins.property
|
|
1405
1644
|
@pulumi.getter
|
|
1406
|
-
def scheme(self) -> Optional[str]:
|
|
1645
|
+
def scheme(self) -> Optional[_builtins.str]:
|
|
1407
1646
|
"""
|
|
1408
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`.
|
|
1409
1648
|
"""
|
|
@@ -1413,22 +1652,134 @@ class OceanImportBackendService(dict):
|
|
|
1413
1652
|
@pulumi.output_type
|
|
1414
1653
|
class OceanImportBackendServiceNamedPort(dict):
|
|
1415
1654
|
def __init__(__self__, *,
|
|
1416
|
-
name: str,
|
|
1417
|
-
ports: Sequence[str]):
|
|
1655
|
+
name: _builtins.str,
|
|
1656
|
+
ports: Sequence[_builtins.str]):
|
|
1657
|
+
"""
|
|
1658
|
+
:param Sequence[_builtins.str] ports: A list of ports.
|
|
1659
|
+
"""
|
|
1418
1660
|
pulumi.set(__self__, "name", name)
|
|
1419
1661
|
pulumi.set(__self__, "ports", ports)
|
|
1420
1662
|
|
|
1421
|
-
@property
|
|
1663
|
+
@_builtins.property
|
|
1422
1664
|
@pulumi.getter
|
|
1423
|
-
def name(self) -> str:
|
|
1665
|
+
def name(self) -> _builtins.str:
|
|
1424
1666
|
return pulumi.get(self, "name")
|
|
1425
1667
|
|
|
1426
|
-
@property
|
|
1668
|
+
@_builtins.property
|
|
1427
1669
|
@pulumi.getter
|
|
1428
|
-
def ports(self) -> Sequence[str]:
|
|
1670
|
+
def ports(self) -> Sequence[_builtins.str]:
|
|
1671
|
+
"""
|
|
1672
|
+
A list of ports.
|
|
1673
|
+
"""
|
|
1429
1674
|
return pulumi.get(self, "ports")
|
|
1430
1675
|
|
|
1431
1676
|
|
|
1677
|
+
@pulumi.output_type
|
|
1678
|
+
class OceanImportFilters(dict):
|
|
1679
|
+
@staticmethod
|
|
1680
|
+
def __key_warning(key: str):
|
|
1681
|
+
suggest = None
|
|
1682
|
+
if key == "excludeFamilies":
|
|
1683
|
+
suggest = "exclude_families"
|
|
1684
|
+
elif key == "includeFamilies":
|
|
1685
|
+
suggest = "include_families"
|
|
1686
|
+
elif key == "maxMemoryGib":
|
|
1687
|
+
suggest = "max_memory_gib"
|
|
1688
|
+
elif key == "maxVcpu":
|
|
1689
|
+
suggest = "max_vcpu"
|
|
1690
|
+
elif key == "minMemoryGib":
|
|
1691
|
+
suggest = "min_memory_gib"
|
|
1692
|
+
elif key == "minVcpu":
|
|
1693
|
+
suggest = "min_vcpu"
|
|
1694
|
+
|
|
1695
|
+
if suggest:
|
|
1696
|
+
pulumi.log.warn(f"Key '{key}' not found in OceanImportFilters. Access the value via the '{suggest}' property getter instead.")
|
|
1697
|
+
|
|
1698
|
+
def __getitem__(self, key: str) -> Any:
|
|
1699
|
+
OceanImportFilters.__key_warning(key)
|
|
1700
|
+
return super().__getitem__(key)
|
|
1701
|
+
|
|
1702
|
+
def get(self, key: str, default = None) -> Any:
|
|
1703
|
+
OceanImportFilters.__key_warning(key)
|
|
1704
|
+
return super().get(key, default)
|
|
1705
|
+
|
|
1706
|
+
def __init__(__self__, *,
|
|
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.
|
|
1720
|
+
"""
|
|
1721
|
+
if exclude_families is not None:
|
|
1722
|
+
pulumi.set(__self__, "exclude_families", exclude_families)
|
|
1723
|
+
if include_families is not None:
|
|
1724
|
+
pulumi.set(__self__, "include_families", include_families)
|
|
1725
|
+
if max_memory_gib is not None:
|
|
1726
|
+
pulumi.set(__self__, "max_memory_gib", max_memory_gib)
|
|
1727
|
+
if max_vcpu is not None:
|
|
1728
|
+
pulumi.set(__self__, "max_vcpu", max_vcpu)
|
|
1729
|
+
if min_memory_gib is not None:
|
|
1730
|
+
pulumi.set(__self__, "min_memory_gib", min_memory_gib)
|
|
1731
|
+
if min_vcpu is not None:
|
|
1732
|
+
pulumi.set(__self__, "min_vcpu", min_vcpu)
|
|
1733
|
+
|
|
1734
|
+
@_builtins.property
|
|
1735
|
+
@pulumi.getter(name="excludeFamilies")
|
|
1736
|
+
def exclude_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1737
|
+
"""
|
|
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.
|
|
1739
|
+
"""
|
|
1740
|
+
return pulumi.get(self, "exclude_families")
|
|
1741
|
+
|
|
1742
|
+
@_builtins.property
|
|
1743
|
+
@pulumi.getter(name="includeFamilies")
|
|
1744
|
+
def include_families(self) -> Optional[Sequence[_builtins.str]]:
|
|
1745
|
+
"""
|
|
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.
|
|
1747
|
+
"""
|
|
1748
|
+
return pulumi.get(self, "include_families")
|
|
1749
|
+
|
|
1750
|
+
@_builtins.property
|
|
1751
|
+
@pulumi.getter(name="maxMemoryGib")
|
|
1752
|
+
def max_memory_gib(self) -> Optional[_builtins.float]:
|
|
1753
|
+
"""
|
|
1754
|
+
Maximum amount of Memory (GiB).
|
|
1755
|
+
"""
|
|
1756
|
+
return pulumi.get(self, "max_memory_gib")
|
|
1757
|
+
|
|
1758
|
+
@_builtins.property
|
|
1759
|
+
@pulumi.getter(name="maxVcpu")
|
|
1760
|
+
def max_vcpu(self) -> Optional[_builtins.int]:
|
|
1761
|
+
"""
|
|
1762
|
+
Maximum number of vcpus available.
|
|
1763
|
+
"""
|
|
1764
|
+
return pulumi.get(self, "max_vcpu")
|
|
1765
|
+
|
|
1766
|
+
@_builtins.property
|
|
1767
|
+
@pulumi.getter(name="minMemoryGib")
|
|
1768
|
+
def min_memory_gib(self) -> Optional[_builtins.float]:
|
|
1769
|
+
"""
|
|
1770
|
+
Minimum amount of Memory (GiB).
|
|
1771
|
+
"""
|
|
1772
|
+
return pulumi.get(self, "min_memory_gib")
|
|
1773
|
+
|
|
1774
|
+
@_builtins.property
|
|
1775
|
+
@pulumi.getter(name="minVcpu")
|
|
1776
|
+
def min_vcpu(self) -> Optional[_builtins.int]:
|
|
1777
|
+
"""
|
|
1778
|
+
Minimum number of vcpus available.
|
|
1779
|
+
"""
|
|
1780
|
+
return pulumi.get(self, "min_vcpu")
|
|
1781
|
+
|
|
1782
|
+
|
|
1432
1783
|
@pulumi.output_type
|
|
1433
1784
|
class OceanImportScheduledTask(dict):
|
|
1434
1785
|
@staticmethod
|
|
@@ -1460,7 +1811,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1460
1811
|
if tasks is not None:
|
|
1461
1812
|
pulumi.set(__self__, "tasks", tasks)
|
|
1462
1813
|
|
|
1463
|
-
@property
|
|
1814
|
+
@_builtins.property
|
|
1464
1815
|
@pulumi.getter(name="shutdownHours")
|
|
1465
1816
|
def shutdown_hours(self) -> Optional['outputs.OceanImportScheduledTaskShutdownHours']:
|
|
1466
1817
|
"""
|
|
@@ -1468,7 +1819,7 @@ class OceanImportScheduledTask(dict):
|
|
|
1468
1819
|
"""
|
|
1469
1820
|
return pulumi.get(self, "shutdown_hours")
|
|
1470
1821
|
|
|
1471
|
-
@property
|
|
1822
|
+
@_builtins.property
|
|
1472
1823
|
@pulumi.getter
|
|
1473
1824
|
def tasks(self) -> Optional[Sequence['outputs.OceanImportScheduledTaskTask']]:
|
|
1474
1825
|
"""
|
|
@@ -1499,33 +1850,33 @@ class OceanImportScheduledTaskShutdownHours(dict):
|
|
|
1499
1850
|
return super().get(key, default)
|
|
1500
1851
|
|
|
1501
1852
|
def __init__(__self__, *,
|
|
1502
|
-
time_windows: Sequence[str],
|
|
1503
|
-
is_enabled: Optional[bool] = None):
|
|
1853
|
+
time_windows: Sequence[_builtins.str],
|
|
1854
|
+
is_enabled: Optional[_builtins.bool] = None):
|
|
1504
1855
|
"""
|
|
1505
|
-
: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 =
|
|
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
|
|
1506
1857
|
Example: Fri:15:30-Wed:14:30
|
|
1507
|
-
:param bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1508
|
-
Example:
|
|
1858
|
+
:param _builtins.bool is_enabled: Flag to enable / disable the shutdown hours.
|
|
1859
|
+
Example: `true`
|
|
1509
1860
|
"""
|
|
1510
1861
|
pulumi.set(__self__, "time_windows", time_windows)
|
|
1511
1862
|
if is_enabled is not None:
|
|
1512
1863
|
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
1513
1864
|
|
|
1514
|
-
@property
|
|
1865
|
+
@_builtins.property
|
|
1515
1866
|
@pulumi.getter(name="timeWindows")
|
|
1516
|
-
def time_windows(self) -> Sequence[str]:
|
|
1867
|
+
def time_windows(self) -> Sequence[_builtins.str]:
|
|
1517
1868
|
"""
|
|
1518
|
-
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 =
|
|
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
|
|
1519
1870
|
Example: Fri:15:30-Wed:14:30
|
|
1520
1871
|
"""
|
|
1521
1872
|
return pulumi.get(self, "time_windows")
|
|
1522
1873
|
|
|
1523
|
-
@property
|
|
1874
|
+
@_builtins.property
|
|
1524
1875
|
@pulumi.getter(name="isEnabled")
|
|
1525
|
-
def is_enabled(self) -> Optional[bool]:
|
|
1876
|
+
def is_enabled(self) -> Optional[_builtins.bool]:
|
|
1526
1877
|
"""
|
|
1527
1878
|
Flag to enable / disable the shutdown hours.
|
|
1528
|
-
Example:
|
|
1879
|
+
Example: `true`
|
|
1529
1880
|
"""
|
|
1530
1881
|
return pulumi.get(self, "is_enabled")
|
|
1531
1882
|
|
|
@@ -1556,15 +1907,15 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1556
1907
|
return super().get(key, default)
|
|
1557
1908
|
|
|
1558
1909
|
def __init__(__self__, *,
|
|
1559
|
-
cron_expression: str,
|
|
1560
|
-
is_enabled: bool,
|
|
1561
|
-
task_type: str,
|
|
1910
|
+
cron_expression: _builtins.str,
|
|
1911
|
+
is_enabled: _builtins.bool,
|
|
1912
|
+
task_type: _builtins.str,
|
|
1562
1913
|
task_parameters: Optional['outputs.OceanImportScheduledTaskTaskTaskParameters'] = None):
|
|
1563
1914
|
"""
|
|
1564
|
-
: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
|
|
1565
1916
|
Example: 0 1 * * *
|
|
1566
|
-
: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.
|
|
1567
|
-
: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.
|
|
1568
1919
|
:param 'OceanImportScheduledTaskTaskTaskParametersArgs' task_parameters: The scheduling parameters for the cluster.
|
|
1569
1920
|
"""
|
|
1570
1921
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -1573,32 +1924,32 @@ class OceanImportScheduledTaskTask(dict):
|
|
|
1573
1924
|
if task_parameters is not None:
|
|
1574
1925
|
pulumi.set(__self__, "task_parameters", task_parameters)
|
|
1575
1926
|
|
|
1576
|
-
@property
|
|
1927
|
+
@_builtins.property
|
|
1577
1928
|
@pulumi.getter(name="cronExpression")
|
|
1578
|
-
def cron_expression(self) -> str:
|
|
1929
|
+
def cron_expression(self) -> _builtins.str:
|
|
1579
1930
|
"""
|
|
1580
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
|
|
1581
1932
|
Example: 0 1 * * *
|
|
1582
1933
|
"""
|
|
1583
1934
|
return pulumi.get(self, "cron_expression")
|
|
1584
1935
|
|
|
1585
|
-
@property
|
|
1936
|
+
@_builtins.property
|
|
1586
1937
|
@pulumi.getter(name="isEnabled")
|
|
1587
|
-
def is_enabled(self) -> bool:
|
|
1938
|
+
def is_enabled(self) -> _builtins.bool:
|
|
1588
1939
|
"""
|
|
1589
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.
|
|
1590
1941
|
"""
|
|
1591
1942
|
return pulumi.get(self, "is_enabled")
|
|
1592
1943
|
|
|
1593
|
-
@property
|
|
1944
|
+
@_builtins.property
|
|
1594
1945
|
@pulumi.getter(name="taskType")
|
|
1595
|
-
def task_type(self) -> str:
|
|
1946
|
+
def task_type(self) -> _builtins.str:
|
|
1596
1947
|
"""
|
|
1597
1948
|
Valid values: "clusterRoll". Required for cluster.scheduling.tasks object.
|
|
1598
1949
|
"""
|
|
1599
1950
|
return pulumi.get(self, "task_type")
|
|
1600
1951
|
|
|
1601
|
-
@property
|
|
1952
|
+
@_builtins.property
|
|
1602
1953
|
@pulumi.getter(name="taskParameters")
|
|
1603
1954
|
def task_parameters(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParameters']:
|
|
1604
1955
|
"""
|
|
@@ -1634,7 +1985,7 @@ class OceanImportScheduledTaskTaskTaskParameters(dict):
|
|
|
1634
1985
|
if cluster_roll is not None:
|
|
1635
1986
|
pulumi.set(__self__, "cluster_roll", cluster_roll)
|
|
1636
1987
|
|
|
1637
|
-
@property
|
|
1988
|
+
@_builtins.property
|
|
1638
1989
|
@pulumi.getter(name="clusterRoll")
|
|
1639
1990
|
def cluster_roll(self) -> Optional['outputs.OceanImportScheduledTaskTaskTaskParametersClusterRoll']:
|
|
1640
1991
|
"""
|
|
@@ -1667,15 +2018,15 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1667
2018
|
return super().get(key, default)
|
|
1668
2019
|
|
|
1669
2020
|
def __init__(__self__, *,
|
|
1670
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1671
|
-
batch_size_percentage: Optional[int] = None,
|
|
1672
|
-
comment: Optional[str] = None,
|
|
1673
|
-
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):
|
|
1674
2025
|
"""
|
|
1675
|
-
: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.
|
|
1676
|
-
:param int batch_size_percentage: Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
1677
|
-
:param str comment: Add a comment description for the roll. The comment is limited to 256 chars.
|
|
1678
|
-
: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.
|
|
1679
2030
|
"""
|
|
1680
2031
|
if batch_min_healthy_percentage is not None:
|
|
1681
2032
|
pulumi.set(__self__, "batch_min_healthy_percentage", batch_min_healthy_percentage)
|
|
@@ -1686,33 +2037,33 @@ class OceanImportScheduledTaskTaskTaskParametersClusterRoll(dict):
|
|
|
1686
2037
|
if respect_pdb is not None:
|
|
1687
2038
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
1688
2039
|
|
|
1689
|
-
@property
|
|
2040
|
+
@_builtins.property
|
|
1690
2041
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1691
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2042
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1692
2043
|
"""
|
|
1693
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.
|
|
1694
2045
|
"""
|
|
1695
2046
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1696
2047
|
|
|
1697
|
-
@property
|
|
2048
|
+
@_builtins.property
|
|
1698
2049
|
@pulumi.getter(name="batchSizePercentage")
|
|
1699
|
-
def batch_size_percentage(self) -> Optional[int]:
|
|
2050
|
+
def batch_size_percentage(self) -> Optional[_builtins.int]:
|
|
1700
2051
|
"""
|
|
1701
2052
|
Value as a percent to set the size of a batch in a roll. Valid values are 0-100.
|
|
1702
2053
|
"""
|
|
1703
2054
|
return pulumi.get(self, "batch_size_percentage")
|
|
1704
2055
|
|
|
1705
|
-
@property
|
|
2056
|
+
@_builtins.property
|
|
1706
2057
|
@pulumi.getter
|
|
1707
|
-
def comment(self) -> Optional[str]:
|
|
2058
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
1708
2059
|
"""
|
|
1709
2060
|
Add a comment description for the roll. The comment is limited to 256 chars.
|
|
1710
2061
|
"""
|
|
1711
2062
|
return pulumi.get(self, "comment")
|
|
1712
2063
|
|
|
1713
|
-
@property
|
|
2064
|
+
@_builtins.property
|
|
1714
2065
|
@pulumi.getter(name="respectPdb")
|
|
1715
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2066
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
1716
2067
|
"""
|
|
1717
2068
|
During the roll, if the parameter is set to true we honor PDB during the instance replacement.
|
|
1718
2069
|
"""
|
|
@@ -1741,28 +2092,28 @@ class OceanImportShieldedInstanceConfig(dict):
|
|
|
1741
2092
|
return super().get(key, default)
|
|
1742
2093
|
|
|
1743
2094
|
def __init__(__self__, *,
|
|
1744
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
1745
|
-
enable_secure_boot: Optional[bool] = None):
|
|
2095
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
2096
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
1746
2097
|
"""
|
|
1747
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
1748
|
-
: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.
|
|
1749
2100
|
"""
|
|
1750
2101
|
if enable_integrity_monitoring is not None:
|
|
1751
2102
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
1752
2103
|
if enable_secure_boot is not None:
|
|
1753
2104
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
1754
2105
|
|
|
1755
|
-
@property
|
|
2106
|
+
@_builtins.property
|
|
1756
2107
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
1757
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
2108
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
1758
2109
|
"""
|
|
1759
2110
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
1760
2111
|
"""
|
|
1761
2112
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
1762
2113
|
|
|
1763
|
-
@property
|
|
2114
|
+
@_builtins.property
|
|
1764
2115
|
@pulumi.getter(name="enableSecureBoot")
|
|
1765
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
2116
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
1766
2117
|
"""
|
|
1767
2118
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
1768
2119
|
"""
|
|
@@ -1780,6 +2131,10 @@ class OceanImportStrategy(dict):
|
|
|
1780
2131
|
suggest = "preemptible_percentage"
|
|
1781
2132
|
elif key == "provisioningModel":
|
|
1782
2133
|
suggest = "provisioning_model"
|
|
2134
|
+
elif key == "scalingOrientation":
|
|
2135
|
+
suggest = "scaling_orientation"
|
|
2136
|
+
elif key == "shouldUtilizeCommitments":
|
|
2137
|
+
suggest = "should_utilize_commitments"
|
|
1783
2138
|
|
|
1784
2139
|
if suggest:
|
|
1785
2140
|
pulumi.log.warn(f"Key '{key}' not found in OceanImportStrategy. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -1793,13 +2148,17 @@ class OceanImportStrategy(dict):
|
|
|
1793
2148
|
return super().get(key, default)
|
|
1794
2149
|
|
|
1795
2150
|
def __init__(__self__, *,
|
|
1796
|
-
draining_timeout: Optional[int] = None,
|
|
1797
|
-
preemptible_percentage: Optional[int] = None,
|
|
1798
|
-
provisioning_model: Optional[str] = None
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
: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.
|
|
1803
2162
|
"""
|
|
1804
2163
|
if draining_timeout is not None:
|
|
1805
2164
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
@@ -1807,31 +2166,51 @@ class OceanImportStrategy(dict):
|
|
|
1807
2166
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
1808
2167
|
if provisioning_model is not None:
|
|
1809
2168
|
pulumi.set(__self__, "provisioning_model", provisioning_model)
|
|
2169
|
+
if scaling_orientation is not None:
|
|
2170
|
+
pulumi.set(__self__, "scaling_orientation", scaling_orientation)
|
|
2171
|
+
if should_utilize_commitments is not None:
|
|
2172
|
+
pulumi.set(__self__, "should_utilize_commitments", should_utilize_commitments)
|
|
1810
2173
|
|
|
1811
|
-
@property
|
|
2174
|
+
@_builtins.property
|
|
1812
2175
|
@pulumi.getter(name="drainingTimeout")
|
|
1813
|
-
def draining_timeout(self) -> Optional[int]:
|
|
2176
|
+
def draining_timeout(self) -> Optional[_builtins.int]:
|
|
1814
2177
|
"""
|
|
1815
2178
|
The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
1816
2179
|
"""
|
|
1817
2180
|
return pulumi.get(self, "draining_timeout")
|
|
1818
2181
|
|
|
1819
|
-
@property
|
|
2182
|
+
@_builtins.property
|
|
1820
2183
|
@pulumi.getter(name="preemptiblePercentage")
|
|
1821
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
2184
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
1822
2185
|
"""
|
|
1823
2186
|
Defines the desired preemptible percentage for the cluster.
|
|
1824
2187
|
"""
|
|
1825
2188
|
return pulumi.get(self, "preemptible_percentage")
|
|
1826
2189
|
|
|
1827
|
-
@property
|
|
2190
|
+
@_builtins.property
|
|
1828
2191
|
@pulumi.getter(name="provisioningModel")
|
|
1829
|
-
def provisioning_model(self) -> Optional[str]:
|
|
2192
|
+
def provisioning_model(self) -> Optional[_builtins.str]:
|
|
1830
2193
|
"""
|
|
1831
2194
|
Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
1832
2195
|
"""
|
|
1833
2196
|
return pulumi.get(self, "provisioning_model")
|
|
1834
2197
|
|
|
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
|
|
2207
|
+
@pulumi.getter(name="shouldUtilizeCommitments")
|
|
2208
|
+
def should_utilize_commitments(self) -> Optional[_builtins.bool]:
|
|
2209
|
+
"""
|
|
2210
|
+
Enable committed use discounts utilization.
|
|
2211
|
+
"""
|
|
2212
|
+
return pulumi.get(self, "should_utilize_commitments")
|
|
2213
|
+
|
|
1835
2214
|
|
|
1836
2215
|
@pulumi.output_type
|
|
1837
2216
|
class OceanImportUpdatePolicy(dict):
|
|
@@ -1857,12 +2236,12 @@ class OceanImportUpdatePolicy(dict):
|
|
|
1857
2236
|
return super().get(key, default)
|
|
1858
2237
|
|
|
1859
2238
|
def __init__(__self__, *,
|
|
1860
|
-
should_roll: bool,
|
|
1861
|
-
conditioned_roll: Optional[bool] = None,
|
|
2239
|
+
should_roll: _builtins.bool,
|
|
2240
|
+
conditioned_roll: Optional[_builtins.bool] = None,
|
|
1862
2241
|
roll_config: Optional['outputs.OceanImportUpdatePolicyRollConfig'] = None):
|
|
1863
2242
|
"""
|
|
1864
|
-
:param bool should_roll: Enables the roll.
|
|
1865
|
-
: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).
|
|
1866
2245
|
:param 'OceanImportUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
1867
2246
|
"""
|
|
1868
2247
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
@@ -1871,23 +2250,23 @@ class OceanImportUpdatePolicy(dict):
|
|
|
1871
2250
|
if roll_config is not None:
|
|
1872
2251
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
1873
2252
|
|
|
1874
|
-
@property
|
|
2253
|
+
@_builtins.property
|
|
1875
2254
|
@pulumi.getter(name="shouldRoll")
|
|
1876
|
-
def should_roll(self) -> bool:
|
|
2255
|
+
def should_roll(self) -> _builtins.bool:
|
|
1877
2256
|
"""
|
|
1878
2257
|
Enables the roll.
|
|
1879
2258
|
"""
|
|
1880
2259
|
return pulumi.get(self, "should_roll")
|
|
1881
2260
|
|
|
1882
|
-
@property
|
|
2261
|
+
@_builtins.property
|
|
1883
2262
|
@pulumi.getter(name="conditionedRoll")
|
|
1884
|
-
def conditioned_roll(self) -> Optional[bool]:
|
|
2263
|
+
def conditioned_roll(self) -> Optional[_builtins.bool]:
|
|
1885
2264
|
"""
|
|
1886
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).
|
|
1887
2266
|
"""
|
|
1888
2267
|
return pulumi.get(self, "conditioned_roll")
|
|
1889
2268
|
|
|
1890
|
-
@property
|
|
2269
|
+
@_builtins.property
|
|
1891
2270
|
@pulumi.getter(name="rollConfig")
|
|
1892
2271
|
def roll_config(self) -> Optional['outputs.OceanImportUpdatePolicyRollConfig']:
|
|
1893
2272
|
"""
|
|
@@ -1922,15 +2301,15 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
1922
2301
|
return super().get(key, default)
|
|
1923
2302
|
|
|
1924
2303
|
def __init__(__self__, *,
|
|
1925
|
-
batch_size_percentage: int,
|
|
1926
|
-
batch_min_healthy_percentage: Optional[int] = None,
|
|
1927
|
-
launch_spec_ids: Optional[Sequence[str]] = None,
|
|
1928
|
-
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):
|
|
1929
2308
|
"""
|
|
1930
|
-
:param int batch_size_percentage: Sets the percentage of the instances to deploy in each batch.
|
|
1931
|
-
: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.
|
|
1932
|
-
:param Sequence[str] launch_spec_ids: List of Virtual Node Group identifiers to be rolled.
|
|
1933
|
-
:param bool respect_pdb: Default:
|
|
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.
|
|
1934
2313
|
"""
|
|
1935
2314
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
1936
2315
|
if batch_min_healthy_percentage is not None:
|
|
@@ -1940,35 +2319,35 @@ class OceanImportUpdatePolicyRollConfig(dict):
|
|
|
1940
2319
|
if respect_pdb is not None:
|
|
1941
2320
|
pulumi.set(__self__, "respect_pdb", respect_pdb)
|
|
1942
2321
|
|
|
1943
|
-
@property
|
|
2322
|
+
@_builtins.property
|
|
1944
2323
|
@pulumi.getter(name="batchSizePercentage")
|
|
1945
|
-
def batch_size_percentage(self) -> int:
|
|
2324
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
1946
2325
|
"""
|
|
1947
2326
|
Sets the percentage of the instances to deploy in each batch.
|
|
1948
2327
|
"""
|
|
1949
2328
|
return pulumi.get(self, "batch_size_percentage")
|
|
1950
2329
|
|
|
1951
|
-
@property
|
|
2330
|
+
@_builtins.property
|
|
1952
2331
|
@pulumi.getter(name="batchMinHealthyPercentage")
|
|
1953
|
-
def batch_min_healthy_percentage(self) -> Optional[int]:
|
|
2332
|
+
def batch_min_healthy_percentage(self) -> Optional[_builtins.int]:
|
|
1954
2333
|
"""
|
|
1955
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.
|
|
1956
2335
|
"""
|
|
1957
2336
|
return pulumi.get(self, "batch_min_healthy_percentage")
|
|
1958
2337
|
|
|
1959
|
-
@property
|
|
2338
|
+
@_builtins.property
|
|
1960
2339
|
@pulumi.getter(name="launchSpecIds")
|
|
1961
|
-
def launch_spec_ids(self) -> Optional[Sequence[str]]:
|
|
2340
|
+
def launch_spec_ids(self) -> Optional[Sequence[_builtins.str]]:
|
|
1962
2341
|
"""
|
|
1963
2342
|
List of Virtual Node Group identifiers to be rolled.
|
|
1964
2343
|
"""
|
|
1965
2344
|
return pulumi.get(self, "launch_spec_ids")
|
|
1966
2345
|
|
|
1967
|
-
@property
|
|
2346
|
+
@_builtins.property
|
|
1968
2347
|
@pulumi.getter(name="respectPdb")
|
|
1969
|
-
def respect_pdb(self) -> Optional[bool]:
|
|
2348
|
+
def respect_pdb(self) -> Optional[_builtins.bool]:
|
|
1970
2349
|
"""
|
|
1971
|
-
Default:
|
|
2350
|
+
Default: `false`. During the roll, if the parameter is set to `true` we honor PDB during the instance replacement.
|
|
1972
2351
|
"""
|
|
1973
2352
|
return pulumi.get(self, "respect_pdb")
|
|
1974
2353
|
|
|
@@ -1999,15 +2378,15 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
1999
2378
|
return super().get(key, default)
|
|
2000
2379
|
|
|
2001
2380
|
def __init__(__self__, *,
|
|
2002
|
-
num_of_units: int,
|
|
2003
|
-
cpu_per_unit: Optional[int] = None,
|
|
2004
|
-
gpu_per_unit: Optional[int] = None,
|
|
2005
|
-
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):
|
|
2006
2385
|
"""
|
|
2007
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2008
|
-
: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.
|
|
2009
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2010
|
-
: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.
|
|
2011
2390
|
"""
|
|
2012
2391
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2013
2392
|
if cpu_per_unit is not None:
|
|
@@ -2017,33 +2396,33 @@ class OceanLaunchSpecAutoscaleHeadroom(dict):
|
|
|
2017
2396
|
if memory_per_unit is not None:
|
|
2018
2397
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2019
2398
|
|
|
2020
|
-
@property
|
|
2399
|
+
@_builtins.property
|
|
2021
2400
|
@pulumi.getter(name="numOfUnits")
|
|
2022
|
-
def num_of_units(self) -> int:
|
|
2401
|
+
def num_of_units(self) -> _builtins.int:
|
|
2023
2402
|
"""
|
|
2024
2403
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2025
2404
|
"""
|
|
2026
2405
|
return pulumi.get(self, "num_of_units")
|
|
2027
2406
|
|
|
2028
|
-
@property
|
|
2407
|
+
@_builtins.property
|
|
2029
2408
|
@pulumi.getter(name="cpuPerUnit")
|
|
2030
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
2409
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2031
2410
|
"""
|
|
2032
2411
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2033
2412
|
"""
|
|
2034
2413
|
return pulumi.get(self, "cpu_per_unit")
|
|
2035
2414
|
|
|
2036
|
-
@property
|
|
2415
|
+
@_builtins.property
|
|
2037
2416
|
@pulumi.getter(name="gpuPerUnit")
|
|
2038
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
2417
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2039
2418
|
"""
|
|
2040
2419
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2041
2420
|
"""
|
|
2042
2421
|
return pulumi.get(self, "gpu_per_unit")
|
|
2043
2422
|
|
|
2044
|
-
@property
|
|
2423
|
+
@_builtins.property
|
|
2045
2424
|
@pulumi.getter(name="memoryPerUnit")
|
|
2046
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
2425
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2047
2426
|
"""
|
|
2048
2427
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2049
2428
|
"""
|
|
@@ -2070,47 +2449,189 @@ class OceanLaunchSpecAutoscaleHeadroomsAutomatic(dict):
|
|
|
2070
2449
|
return super().get(key, default)
|
|
2071
2450
|
|
|
2072
2451
|
def __init__(__self__, *,
|
|
2073
|
-
auto_headroom_percentage: Optional[int] = None):
|
|
2452
|
+
auto_headroom_percentage: Optional[_builtins.int] = None):
|
|
2074
2453
|
"""
|
|
2075
|
-
: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.
|
|
2076
2455
|
"""
|
|
2077
2456
|
if auto_headroom_percentage is not None:
|
|
2078
2457
|
pulumi.set(__self__, "auto_headroom_percentage", auto_headroom_percentage)
|
|
2079
2458
|
|
|
2080
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2081
2460
|
@pulumi.getter(name="autoHeadroomPercentage")
|
|
2082
|
-
def auto_headroom_percentage(self) -> Optional[int]:
|
|
2461
|
+
def auto_headroom_percentage(self) -> Optional[_builtins.int]:
|
|
2083
2462
|
"""
|
|
2084
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.
|
|
2085
2464
|
"""
|
|
2086
2465
|
return pulumi.get(self, "auto_headroom_percentage")
|
|
2087
2466
|
|
|
2088
2467
|
|
|
2468
|
+
@pulumi.output_type
|
|
2469
|
+
class OceanLaunchSpecCreateOptions(dict):
|
|
2470
|
+
@staticmethod
|
|
2471
|
+
def __key_warning(key: str):
|
|
2472
|
+
suggest = None
|
|
2473
|
+
if key == "initialNodes":
|
|
2474
|
+
suggest = "initial_nodes"
|
|
2475
|
+
|
|
2476
|
+
if suggest:
|
|
2477
|
+
pulumi.log.warn(f"Key '{key}' not found in OceanLaunchSpecCreateOptions. Access the value via the '{suggest}' property getter instead.")
|
|
2478
|
+
|
|
2479
|
+
def __getitem__(self, key: str) -> Any:
|
|
2480
|
+
OceanLaunchSpecCreateOptions.__key_warning(key)
|
|
2481
|
+
return super().__getitem__(key)
|
|
2482
|
+
|
|
2483
|
+
def get(self, key: str, default = None) -> Any:
|
|
2484
|
+
OceanLaunchSpecCreateOptions.__key_warning(key)
|
|
2485
|
+
return super().get(key, default)
|
|
2486
|
+
|
|
2487
|
+
def __init__(__self__, *,
|
|
2488
|
+
initial_nodes: Optional[_builtins.int] = None):
|
|
2489
|
+
"""
|
|
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.
|
|
2491
|
+
"""
|
|
2492
|
+
if initial_nodes is not None:
|
|
2493
|
+
pulumi.set(__self__, "initial_nodes", initial_nodes)
|
|
2494
|
+
|
|
2495
|
+
@_builtins.property
|
|
2496
|
+
@pulumi.getter(name="initialNodes")
|
|
2497
|
+
def initial_nodes(self) -> Optional[_builtins.int]:
|
|
2498
|
+
"""
|
|
2499
|
+
When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group.
|
|
2500
|
+
"""
|
|
2501
|
+
return pulumi.get(self, "initial_nodes")
|
|
2502
|
+
|
|
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
|
+
|
|
2089
2610
|
@pulumi.output_type
|
|
2090
2611
|
class OceanLaunchSpecLabel(dict):
|
|
2091
2612
|
def __init__(__self__, *,
|
|
2092
|
-
key: Optional[str] = None,
|
|
2093
|
-
value: Optional[str] = None):
|
|
2613
|
+
key: Optional[_builtins.str] = None,
|
|
2614
|
+
value: Optional[_builtins.str] = None):
|
|
2094
2615
|
"""
|
|
2095
|
-
:param str key: The label key.
|
|
2096
|
-
:param str value: The label value.
|
|
2616
|
+
:param _builtins.str key: The label key.
|
|
2617
|
+
:param _builtins.str value: The label value.
|
|
2097
2618
|
"""
|
|
2098
2619
|
if key is not None:
|
|
2099
2620
|
pulumi.set(__self__, "key", key)
|
|
2100
2621
|
if value is not None:
|
|
2101
2622
|
pulumi.set(__self__, "value", value)
|
|
2102
2623
|
|
|
2103
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2104
2625
|
@pulumi.getter
|
|
2105
|
-
def key(self) -> Optional[str]:
|
|
2626
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2106
2627
|
"""
|
|
2107
2628
|
The label key.
|
|
2108
2629
|
"""
|
|
2109
2630
|
return pulumi.get(self, "key")
|
|
2110
2631
|
|
|
2111
|
-
@property
|
|
2632
|
+
@_builtins.property
|
|
2112
2633
|
@pulumi.getter
|
|
2113
|
-
def value(self) -> Optional[str]:
|
|
2634
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2114
2635
|
"""
|
|
2115
2636
|
The label value.
|
|
2116
2637
|
"""
|
|
@@ -2120,28 +2641,28 @@ class OceanLaunchSpecLabel(dict):
|
|
|
2120
2641
|
@pulumi.output_type
|
|
2121
2642
|
class OceanLaunchSpecMetadata(dict):
|
|
2122
2643
|
def __init__(__self__, *,
|
|
2123
|
-
key: Optional[str] = None,
|
|
2124
|
-
value: Optional[str] = None):
|
|
2644
|
+
key: Optional[_builtins.str] = None,
|
|
2645
|
+
value: Optional[_builtins.str] = None):
|
|
2125
2646
|
"""
|
|
2126
|
-
:param str key: The metadata key.
|
|
2127
|
-
:param str value: The metadata value.
|
|
2647
|
+
:param _builtins.str key: The metadata key.
|
|
2648
|
+
:param _builtins.str value: The metadata value.
|
|
2128
2649
|
"""
|
|
2129
2650
|
if key is not None:
|
|
2130
2651
|
pulumi.set(__self__, "key", key)
|
|
2131
2652
|
if value is not None:
|
|
2132
2653
|
pulumi.set(__self__, "value", value)
|
|
2133
2654
|
|
|
2134
|
-
@property
|
|
2655
|
+
@_builtins.property
|
|
2135
2656
|
@pulumi.getter
|
|
2136
|
-
def key(self) -> Optional[str]:
|
|
2657
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2137
2658
|
"""
|
|
2138
2659
|
The metadata key.
|
|
2139
2660
|
"""
|
|
2140
2661
|
return pulumi.get(self, "key")
|
|
2141
2662
|
|
|
2142
|
-
@property
|
|
2663
|
+
@_builtins.property
|
|
2143
2664
|
@pulumi.getter
|
|
2144
|
-
def value(self) -> Optional[str]:
|
|
2665
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2145
2666
|
"""
|
|
2146
2667
|
The metadata value.
|
|
2147
2668
|
"""
|
|
@@ -2172,15 +2693,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2172
2693
|
return super().get(key, default)
|
|
2173
2694
|
|
|
2174
2695
|
def __init__(__self__, *,
|
|
2175
|
-
network: str,
|
|
2696
|
+
network: _builtins.str,
|
|
2176
2697
|
access_configs: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']] = None,
|
|
2177
2698
|
alias_ip_ranges: Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']] = None,
|
|
2178
|
-
project_id: Optional[str] = None):
|
|
2699
|
+
project_id: Optional[_builtins.str] = None):
|
|
2179
2700
|
"""
|
|
2180
|
-
:param str network: The name of the network.
|
|
2701
|
+
:param _builtins.str network: The name of the network.
|
|
2181
2702
|
:param Sequence['OceanLaunchSpecNetworkInterfaceAccessConfigArgs'] access_configs: The network protocol of the VNG.
|
|
2182
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.
|
|
2183
|
-
: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.
|
|
2184
2705
|
"""
|
|
2185
2706
|
pulumi.set(__self__, "network", network)
|
|
2186
2707
|
if access_configs is not None:
|
|
@@ -2190,15 +2711,15 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2190
2711
|
if project_id is not None:
|
|
2191
2712
|
pulumi.set(__self__, "project_id", project_id)
|
|
2192
2713
|
|
|
2193
|
-
@property
|
|
2714
|
+
@_builtins.property
|
|
2194
2715
|
@pulumi.getter
|
|
2195
|
-
def network(self) -> str:
|
|
2716
|
+
def network(self) -> _builtins.str:
|
|
2196
2717
|
"""
|
|
2197
2718
|
The name of the network.
|
|
2198
2719
|
"""
|
|
2199
2720
|
return pulumi.get(self, "network")
|
|
2200
2721
|
|
|
2201
|
-
@property
|
|
2722
|
+
@_builtins.property
|
|
2202
2723
|
@pulumi.getter(name="accessConfigs")
|
|
2203
2724
|
def access_configs(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAccessConfig']]:
|
|
2204
2725
|
"""
|
|
@@ -2206,7 +2727,7 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2206
2727
|
"""
|
|
2207
2728
|
return pulumi.get(self, "access_configs")
|
|
2208
2729
|
|
|
2209
|
-
@property
|
|
2730
|
+
@_builtins.property
|
|
2210
2731
|
@pulumi.getter(name="aliasIpRanges")
|
|
2211
2732
|
def alias_ip_ranges(self) -> Optional[Sequence['outputs.OceanLaunchSpecNetworkInterfaceAliasIpRange']]:
|
|
2212
2733
|
"""
|
|
@@ -2214,9 +2735,9 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2214
2735
|
"""
|
|
2215
2736
|
return pulumi.get(self, "alias_ip_ranges")
|
|
2216
2737
|
|
|
2217
|
-
@property
|
|
2738
|
+
@_builtins.property
|
|
2218
2739
|
@pulumi.getter(name="projectId")
|
|
2219
|
-
def project_id(self) -> Optional[str]:
|
|
2740
|
+
def project_id(self) -> Optional[_builtins.str]:
|
|
2220
2741
|
"""
|
|
2221
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.
|
|
2222
2743
|
"""
|
|
@@ -2226,28 +2747,28 @@ class OceanLaunchSpecNetworkInterface(dict):
|
|
|
2226
2747
|
@pulumi.output_type
|
|
2227
2748
|
class OceanLaunchSpecNetworkInterfaceAccessConfig(dict):
|
|
2228
2749
|
def __init__(__self__, *,
|
|
2229
|
-
name: Optional[str] = None,
|
|
2230
|
-
type: Optional[str] = None):
|
|
2750
|
+
name: Optional[_builtins.str] = None,
|
|
2751
|
+
type: Optional[_builtins.str] = None):
|
|
2231
2752
|
"""
|
|
2232
|
-
:param str name: The name of the access configuration.
|
|
2233
|
-
: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.
|
|
2234
2755
|
"""
|
|
2235
2756
|
if name is not None:
|
|
2236
2757
|
pulumi.set(__self__, "name", name)
|
|
2237
2758
|
if type is not None:
|
|
2238
2759
|
pulumi.set(__self__, "type", type)
|
|
2239
2760
|
|
|
2240
|
-
@property
|
|
2761
|
+
@_builtins.property
|
|
2241
2762
|
@pulumi.getter
|
|
2242
|
-
def name(self) -> Optional[str]:
|
|
2763
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2243
2764
|
"""
|
|
2244
2765
|
The name of the access configuration.
|
|
2245
2766
|
"""
|
|
2246
2767
|
return pulumi.get(self, "name")
|
|
2247
2768
|
|
|
2248
|
-
@property
|
|
2769
|
+
@_builtins.property
|
|
2249
2770
|
@pulumi.getter
|
|
2250
|
-
def type(self) -> Optional[str]:
|
|
2771
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2251
2772
|
"""
|
|
2252
2773
|
The type of the access configuration.
|
|
2253
2774
|
"""
|
|
@@ -2276,26 +2797,26 @@ class OceanLaunchSpecNetworkInterfaceAliasIpRange(dict):
|
|
|
2276
2797
|
return super().get(key, default)
|
|
2277
2798
|
|
|
2278
2799
|
def __init__(__self__, *,
|
|
2279
|
-
ip_cidr_range: str,
|
|
2280
|
-
subnetwork_range_name: str):
|
|
2800
|
+
ip_cidr_range: _builtins.str,
|
|
2801
|
+
subnetwork_range_name: _builtins.str):
|
|
2281
2802
|
"""
|
|
2282
|
-
: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.
|
|
2283
|
-
: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.
|
|
2284
2805
|
"""
|
|
2285
2806
|
pulumi.set(__self__, "ip_cidr_range", ip_cidr_range)
|
|
2286
2807
|
pulumi.set(__self__, "subnetwork_range_name", subnetwork_range_name)
|
|
2287
2808
|
|
|
2288
|
-
@property
|
|
2809
|
+
@_builtins.property
|
|
2289
2810
|
@pulumi.getter(name="ipCidrRange")
|
|
2290
|
-
def ip_cidr_range(self) -> str:
|
|
2811
|
+
def ip_cidr_range(self) -> _builtins.str:
|
|
2291
2812
|
"""
|
|
2292
2813
|
specify the IP address range in CIDR notation that can be used for the alias IP addresses associated with the imported node pool.
|
|
2293
2814
|
"""
|
|
2294
2815
|
return pulumi.get(self, "ip_cidr_range")
|
|
2295
2816
|
|
|
2296
|
-
@property
|
|
2817
|
+
@_builtins.property
|
|
2297
2818
|
@pulumi.getter(name="subnetworkRangeName")
|
|
2298
|
-
def subnetwork_range_name(self) -> str:
|
|
2819
|
+
def subnetwork_range_name(self) -> _builtins.str:
|
|
2299
2820
|
"""
|
|
2300
2821
|
specify the IP address range for the subnet secondary IP range.
|
|
2301
2822
|
"""
|
|
@@ -2324,28 +2845,28 @@ class OceanLaunchSpecResourceLimits(dict):
|
|
|
2324
2845
|
return super().get(key, default)
|
|
2325
2846
|
|
|
2326
2847
|
def __init__(__self__, *,
|
|
2327
|
-
max_instance_count: Optional[int] = None,
|
|
2328
|
-
min_instance_count: Optional[int] = None):
|
|
2848
|
+
max_instance_count: Optional[_builtins.int] = None,
|
|
2849
|
+
min_instance_count: Optional[_builtins.int] = None):
|
|
2329
2850
|
"""
|
|
2330
|
-
: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.
|
|
2331
|
-
: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.
|
|
2332
2853
|
"""
|
|
2333
2854
|
if max_instance_count is not None:
|
|
2334
2855
|
pulumi.set(__self__, "max_instance_count", max_instance_count)
|
|
2335
2856
|
if min_instance_count is not None:
|
|
2336
2857
|
pulumi.set(__self__, "min_instance_count", min_instance_count)
|
|
2337
2858
|
|
|
2338
|
-
@property
|
|
2859
|
+
@_builtins.property
|
|
2339
2860
|
@pulumi.getter(name="maxInstanceCount")
|
|
2340
|
-
def max_instance_count(self) -> Optional[int]:
|
|
2861
|
+
def max_instance_count(self) -> Optional[_builtins.int]:
|
|
2341
2862
|
"""
|
|
2342
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.
|
|
2343
2864
|
"""
|
|
2344
2865
|
return pulumi.get(self, "max_instance_count")
|
|
2345
2866
|
|
|
2346
|
-
@property
|
|
2867
|
+
@_builtins.property
|
|
2347
2868
|
@pulumi.getter(name="minInstanceCount")
|
|
2348
|
-
def min_instance_count(self) -> Optional[int]:
|
|
2869
|
+
def min_instance_count(self) -> Optional[_builtins.int]:
|
|
2349
2870
|
"""
|
|
2350
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.
|
|
2351
2872
|
"""
|
|
@@ -2378,14 +2899,14 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2378
2899
|
return super().get(key, default)
|
|
2379
2900
|
|
|
2380
2901
|
def __init__(__self__, *,
|
|
2381
|
-
cron_expression: str,
|
|
2382
|
-
is_enabled: bool,
|
|
2383
|
-
task_type: str,
|
|
2902
|
+
cron_expression: _builtins.str,
|
|
2903
|
+
is_enabled: _builtins.bool,
|
|
2904
|
+
task_type: _builtins.str,
|
|
2384
2905
|
task_headrooms: Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']] = None):
|
|
2385
2906
|
"""
|
|
2386
|
-
:param str cron_expression: A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2387
|
-
:param bool is_enabled: Describes whether the task is enabled. When
|
|
2388
|
-
: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".
|
|
2389
2910
|
:param Sequence['OceanLaunchSpecSchedulingTaskTaskHeadroomArgs'] task_headrooms: The config of this scheduled task. Depends on the value of taskType.
|
|
2390
2911
|
"""
|
|
2391
2912
|
pulumi.set(__self__, "cron_expression", cron_expression)
|
|
@@ -2394,31 +2915,31 @@ class OceanLaunchSpecSchedulingTask(dict):
|
|
|
2394
2915
|
if task_headrooms is not None:
|
|
2395
2916
|
pulumi.set(__self__, "task_headrooms", task_headrooms)
|
|
2396
2917
|
|
|
2397
|
-
@property
|
|
2918
|
+
@_builtins.property
|
|
2398
2919
|
@pulumi.getter(name="cronExpression")
|
|
2399
|
-
def cron_expression(self) -> str:
|
|
2920
|
+
def cron_expression(self) -> _builtins.str:
|
|
2400
2921
|
"""
|
|
2401
2922
|
A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
|
|
2402
2923
|
"""
|
|
2403
2924
|
return pulumi.get(self, "cron_expression")
|
|
2404
2925
|
|
|
2405
|
-
@property
|
|
2926
|
+
@_builtins.property
|
|
2406
2927
|
@pulumi.getter(name="isEnabled")
|
|
2407
|
-
def is_enabled(self) -> bool:
|
|
2928
|
+
def is_enabled(self) -> _builtins.bool:
|
|
2408
2929
|
"""
|
|
2409
|
-
Describes whether the task is enabled. When
|
|
2930
|
+
Describes whether the task is enabled. When `true`, the task runs. When `false`, it does not run.
|
|
2410
2931
|
"""
|
|
2411
2932
|
return pulumi.get(self, "is_enabled")
|
|
2412
2933
|
|
|
2413
|
-
@property
|
|
2934
|
+
@_builtins.property
|
|
2414
2935
|
@pulumi.getter(name="taskType")
|
|
2415
|
-
def task_type(self) -> str:
|
|
2936
|
+
def task_type(self) -> _builtins.str:
|
|
2416
2937
|
"""
|
|
2417
2938
|
The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
|
|
2418
2939
|
"""
|
|
2419
2940
|
return pulumi.get(self, "task_type")
|
|
2420
2941
|
|
|
2421
|
-
@property
|
|
2942
|
+
@_builtins.property
|
|
2422
2943
|
@pulumi.getter(name="taskHeadrooms")
|
|
2423
2944
|
def task_headrooms(self) -> Optional[Sequence['outputs.OceanLaunchSpecSchedulingTaskTaskHeadroom']]:
|
|
2424
2945
|
"""
|
|
@@ -2453,15 +2974,15 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2453
2974
|
return super().get(key, default)
|
|
2454
2975
|
|
|
2455
2976
|
def __init__(__self__, *,
|
|
2456
|
-
num_of_units: int,
|
|
2457
|
-
cpu_per_unit: Optional[int] = None,
|
|
2458
|
-
gpu_per_unit: Optional[int] = None,
|
|
2459
|
-
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):
|
|
2460
2981
|
"""
|
|
2461
|
-
:param int num_of_units: The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2462
|
-
: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.
|
|
2463
|
-
:param int gpu_per_unit: Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2464
|
-
: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.
|
|
2465
2986
|
"""
|
|
2466
2987
|
pulumi.set(__self__, "num_of_units", num_of_units)
|
|
2467
2988
|
if cpu_per_unit is not None:
|
|
@@ -2471,33 +2992,33 @@ class OceanLaunchSpecSchedulingTaskTaskHeadroom(dict):
|
|
|
2471
2992
|
if memory_per_unit is not None:
|
|
2472
2993
|
pulumi.set(__self__, "memory_per_unit", memory_per_unit)
|
|
2473
2994
|
|
|
2474
|
-
@property
|
|
2995
|
+
@_builtins.property
|
|
2475
2996
|
@pulumi.getter(name="numOfUnits")
|
|
2476
|
-
def num_of_units(self) -> int:
|
|
2997
|
+
def num_of_units(self) -> _builtins.int:
|
|
2477
2998
|
"""
|
|
2478
2999
|
The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
|
|
2479
3000
|
"""
|
|
2480
3001
|
return pulumi.get(self, "num_of_units")
|
|
2481
3002
|
|
|
2482
|
-
@property
|
|
3003
|
+
@_builtins.property
|
|
2483
3004
|
@pulumi.getter(name="cpuPerUnit")
|
|
2484
|
-
def cpu_per_unit(self) -> Optional[int]:
|
|
3005
|
+
def cpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2485
3006
|
"""
|
|
2486
3007
|
Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
|
|
2487
3008
|
"""
|
|
2488
3009
|
return pulumi.get(self, "cpu_per_unit")
|
|
2489
3010
|
|
|
2490
|
-
@property
|
|
3011
|
+
@_builtins.property
|
|
2491
3012
|
@pulumi.getter(name="gpuPerUnit")
|
|
2492
|
-
def gpu_per_unit(self) -> Optional[int]:
|
|
3013
|
+
def gpu_per_unit(self) -> Optional[_builtins.int]:
|
|
2493
3014
|
"""
|
|
2494
3015
|
Optionally configure the number of GPUS to allocate for each headroom unit.
|
|
2495
3016
|
"""
|
|
2496
3017
|
return pulumi.get(self, "gpu_per_unit")
|
|
2497
3018
|
|
|
2498
|
-
@property
|
|
3019
|
+
@_builtins.property
|
|
2499
3020
|
@pulumi.getter(name="memoryPerUnit")
|
|
2500
|
-
def memory_per_unit(self) -> Optional[int]:
|
|
3021
|
+
def memory_per_unit(self) -> Optional[_builtins.int]:
|
|
2501
3022
|
"""
|
|
2502
3023
|
Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
|
|
2503
3024
|
"""
|
|
@@ -2526,28 +3047,28 @@ class OceanLaunchSpecShieldedInstanceConfig(dict):
|
|
|
2526
3047
|
return super().get(key, default)
|
|
2527
3048
|
|
|
2528
3049
|
def __init__(__self__, *,
|
|
2529
|
-
enable_integrity_monitoring: Optional[bool] = None,
|
|
2530
|
-
enable_secure_boot: Optional[bool] = None):
|
|
3050
|
+
enable_integrity_monitoring: Optional[_builtins.bool] = None,
|
|
3051
|
+
enable_secure_boot: Optional[_builtins.bool] = None):
|
|
2531
3052
|
"""
|
|
2532
|
-
:param bool enable_integrity_monitoring: Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2533
|
-
: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.
|
|
2534
3055
|
"""
|
|
2535
3056
|
if enable_integrity_monitoring is not None:
|
|
2536
3057
|
pulumi.set(__self__, "enable_integrity_monitoring", enable_integrity_monitoring)
|
|
2537
3058
|
if enable_secure_boot is not None:
|
|
2538
3059
|
pulumi.set(__self__, "enable_secure_boot", enable_secure_boot)
|
|
2539
3060
|
|
|
2540
|
-
@property
|
|
3061
|
+
@_builtins.property
|
|
2541
3062
|
@pulumi.getter(name="enableIntegrityMonitoring")
|
|
2542
|
-
def enable_integrity_monitoring(self) -> Optional[bool]:
|
|
3063
|
+
def enable_integrity_monitoring(self) -> Optional[_builtins.bool]:
|
|
2543
3064
|
"""
|
|
2544
3065
|
Boolean. Enable the integrity monitoring parameter on the GCP instances.
|
|
2545
3066
|
"""
|
|
2546
3067
|
return pulumi.get(self, "enable_integrity_monitoring")
|
|
2547
3068
|
|
|
2548
|
-
@property
|
|
3069
|
+
@_builtins.property
|
|
2549
3070
|
@pulumi.getter(name="enableSecureBoot")
|
|
2550
|
-
def enable_secure_boot(self) -> Optional[bool]:
|
|
3071
|
+
def enable_secure_boot(self) -> Optional[_builtins.bool]:
|
|
2551
3072
|
"""
|
|
2552
3073
|
Boolean. Enable the secure boot parameter on the GCP instances.
|
|
2553
3074
|
"""
|
|
@@ -2574,16 +3095,16 @@ class OceanLaunchSpecStorage(dict):
|
|
|
2574
3095
|
return super().get(key, default)
|
|
2575
3096
|
|
|
2576
3097
|
def __init__(__self__, *,
|
|
2577
|
-
local_ssd_count: Optional[int] = None):
|
|
3098
|
+
local_ssd_count: Optional[_builtins.int] = None):
|
|
2578
3099
|
"""
|
|
2579
|
-
: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.
|
|
2580
3101
|
"""
|
|
2581
3102
|
if local_ssd_count is not None:
|
|
2582
3103
|
pulumi.set(__self__, "local_ssd_count", local_ssd_count)
|
|
2583
3104
|
|
|
2584
|
-
@property
|
|
3105
|
+
@_builtins.property
|
|
2585
3106
|
@pulumi.getter(name="localSsdCount")
|
|
2586
|
-
def local_ssd_count(self) -> Optional[int]:
|
|
3107
|
+
def local_ssd_count(self) -> Optional[_builtins.int]:
|
|
2587
3108
|
"""
|
|
2588
3109
|
Defines the number of local SSDs to be attached per node for this VNG.
|
|
2589
3110
|
"""
|
|
@@ -2597,6 +3118,8 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2597
3118
|
suggest = None
|
|
2598
3119
|
if key == "preemptiblePercentage":
|
|
2599
3120
|
suggest = "preemptible_percentage"
|
|
3121
|
+
elif key == "scalingOrientation":
|
|
3122
|
+
suggest = "scaling_orientation"
|
|
2600
3123
|
|
|
2601
3124
|
if suggest:
|
|
2602
3125
|
pulumi.log.warn(f"Key '{key}' not found in OceanLaunchSpecStrategy. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -2610,32 +3133,44 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
2610
3133
|
return super().get(key, default)
|
|
2611
3134
|
|
|
2612
3135
|
def __init__(__self__, *,
|
|
2613
|
-
preemptible_percentage: Optional[int] = None
|
|
3136
|
+
preemptible_percentage: Optional[_builtins.int] = None,
|
|
3137
|
+
scaling_orientation: Optional[_builtins.str] = None):
|
|
2614
3138
|
"""
|
|
2615
|
-
: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.
|
|
2616
3141
|
"""
|
|
2617
3142
|
if preemptible_percentage is not None:
|
|
2618
3143
|
pulumi.set(__self__, "preemptible_percentage", preemptible_percentage)
|
|
3144
|
+
if scaling_orientation is not None:
|
|
3145
|
+
pulumi.set(__self__, "scaling_orientation", scaling_orientation)
|
|
2619
3146
|
|
|
2620
|
-
@property
|
|
3147
|
+
@_builtins.property
|
|
2621
3148
|
@pulumi.getter(name="preemptiblePercentage")
|
|
2622
|
-
def preemptible_percentage(self) -> Optional[int]:
|
|
3149
|
+
def preemptible_percentage(self) -> Optional[_builtins.int]:
|
|
2623
3150
|
"""
|
|
2624
3151
|
Defines the desired preemptible percentage for this launch specification.
|
|
2625
3152
|
"""
|
|
2626
3153
|
return pulumi.get(self, "preemptible_percentage")
|
|
2627
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
|
+
|
|
2628
3163
|
|
|
2629
3164
|
@pulumi.output_type
|
|
2630
3165
|
class OceanLaunchSpecTaint(dict):
|
|
2631
3166
|
def __init__(__self__, *,
|
|
2632
|
-
effect: Optional[str] = None,
|
|
2633
|
-
key: Optional[str] = None,
|
|
2634
|
-
value: Optional[str] = None):
|
|
3167
|
+
effect: Optional[_builtins.str] = None,
|
|
3168
|
+
key: Optional[_builtins.str] = None,
|
|
3169
|
+
value: Optional[_builtins.str] = None):
|
|
2635
3170
|
"""
|
|
2636
|
-
:param str effect: The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
2637
|
-
:param str key: The taint key.
|
|
2638
|
-
: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.
|
|
2639
3174
|
"""
|
|
2640
3175
|
if effect is not None:
|
|
2641
3176
|
pulumi.set(__self__, "effect", effect)
|
|
@@ -2644,25 +3179,25 @@ class OceanLaunchSpecTaint(dict):
|
|
|
2644
3179
|
if value is not None:
|
|
2645
3180
|
pulumi.set(__self__, "value", value)
|
|
2646
3181
|
|
|
2647
|
-
@property
|
|
3182
|
+
@_builtins.property
|
|
2648
3183
|
@pulumi.getter
|
|
2649
|
-
def effect(self) -> Optional[str]:
|
|
3184
|
+
def effect(self) -> Optional[_builtins.str]:
|
|
2650
3185
|
"""
|
|
2651
3186
|
The effect of the taint. Valid values: `"NoSchedule"`, `"PreferNoSchedule"`, `"NoExecute"`.
|
|
2652
3187
|
"""
|
|
2653
3188
|
return pulumi.get(self, "effect")
|
|
2654
3189
|
|
|
2655
|
-
@property
|
|
3190
|
+
@_builtins.property
|
|
2656
3191
|
@pulumi.getter
|
|
2657
|
-
def key(self) -> Optional[str]:
|
|
3192
|
+
def key(self) -> Optional[_builtins.str]:
|
|
2658
3193
|
"""
|
|
2659
3194
|
The taint key.
|
|
2660
3195
|
"""
|
|
2661
3196
|
return pulumi.get(self, "key")
|
|
2662
3197
|
|
|
2663
|
-
@property
|
|
3198
|
+
@_builtins.property
|
|
2664
3199
|
@pulumi.getter
|
|
2665
|
-
def value(self) -> Optional[str]:
|
|
3200
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2666
3201
|
"""
|
|
2667
3202
|
The taint value.
|
|
2668
3203
|
"""
|
|
@@ -2691,25 +3226,25 @@ class OceanLaunchSpecUpdatePolicy(dict):
|
|
|
2691
3226
|
return super().get(key, default)
|
|
2692
3227
|
|
|
2693
3228
|
def __init__(__self__, *,
|
|
2694
|
-
should_roll: bool,
|
|
3229
|
+
should_roll: _builtins.bool,
|
|
2695
3230
|
roll_config: Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig'] = None):
|
|
2696
3231
|
"""
|
|
2697
|
-
:param bool should_roll: Enables the roll.
|
|
3232
|
+
:param _builtins.bool should_roll: Enables the roll.
|
|
2698
3233
|
:param 'OceanLaunchSpecUpdatePolicyRollConfigArgs' roll_config: Holds the roll configuration.
|
|
2699
3234
|
"""
|
|
2700
3235
|
pulumi.set(__self__, "should_roll", should_roll)
|
|
2701
3236
|
if roll_config is not None:
|
|
2702
3237
|
pulumi.set(__self__, "roll_config", roll_config)
|
|
2703
3238
|
|
|
2704
|
-
@property
|
|
3239
|
+
@_builtins.property
|
|
2705
3240
|
@pulumi.getter(name="shouldRoll")
|
|
2706
|
-
def should_roll(self) -> bool:
|
|
3241
|
+
def should_roll(self) -> _builtins.bool:
|
|
2707
3242
|
"""
|
|
2708
3243
|
Enables the roll.
|
|
2709
3244
|
"""
|
|
2710
3245
|
return pulumi.get(self, "should_roll")
|
|
2711
3246
|
|
|
2712
|
-
@property
|
|
3247
|
+
@_builtins.property
|
|
2713
3248
|
@pulumi.getter(name="rollConfig")
|
|
2714
3249
|
def roll_config(self) -> Optional['outputs.OceanLaunchSpecUpdatePolicyRollConfig']:
|
|
2715
3250
|
"""
|
|
@@ -2738,15 +3273,15 @@ class OceanLaunchSpecUpdatePolicyRollConfig(dict):
|
|
|
2738
3273
|
return super().get(key, default)
|
|
2739
3274
|
|
|
2740
3275
|
def __init__(__self__, *,
|
|
2741
|
-
batch_size_percentage: int):
|
|
3276
|
+
batch_size_percentage: _builtins.int):
|
|
2742
3277
|
"""
|
|
2743
|
-
: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.
|
|
2744
3279
|
"""
|
|
2745
3280
|
pulumi.set(__self__, "batch_size_percentage", batch_size_percentage)
|
|
2746
3281
|
|
|
2747
|
-
@property
|
|
3282
|
+
@_builtins.property
|
|
2748
3283
|
@pulumi.getter(name="batchSizePercentage")
|
|
2749
|
-
def batch_size_percentage(self) -> int:
|
|
3284
|
+
def batch_size_percentage(self) -> _builtins.int:
|
|
2750
3285
|
"""
|
|
2751
3286
|
Sets the percentage of the instances to deploy in each batch.
|
|
2752
3287
|
"""
|