pulumi-spotinst 3.121.0a1751945899__py3-none-any.whl → 3.122.0a1752118703__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/aws/_inputs.py +54 -0
- pulumi_spotinst/aws/outputs.py +49 -0
- pulumi_spotinst/pulumi-plugin.json +1 -1
- {pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/METADATA +1 -1
- {pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/RECORD +7 -7
- {pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/top_level.txt +0 -0
pulumi_spotinst/aws/_inputs.py
CHANGED
|
@@ -318,6 +318,8 @@ __all__ = [
|
|
|
318
318
|
'OceanLaunchSpecStartupTaintArgsDict',
|
|
319
319
|
'OceanLaunchSpecStrategyArgs',
|
|
320
320
|
'OceanLaunchSpecStrategyArgsDict',
|
|
321
|
+
'OceanLaunchSpecStrategyOrientationArgs',
|
|
322
|
+
'OceanLaunchSpecStrategyOrientationArgsDict',
|
|
321
323
|
'OceanLaunchSpecTagArgs',
|
|
322
324
|
'OceanLaunchSpecTagArgsDict',
|
|
323
325
|
'OceanLaunchSpecTaintArgs',
|
|
@@ -13210,6 +13212,10 @@ if not MYPY:
|
|
|
13210
13212
|
"""
|
|
13211
13213
|
The configurable amount of time that Ocean will wait for the draining process to complete before terminating an instance. If you have not defined a draining timeout, the default of 300 seconds will be used.
|
|
13212
13214
|
"""
|
|
13215
|
+
orientation: NotRequired[pulumi.Input['OceanLaunchSpecStrategyOrientationArgsDict']]
|
|
13216
|
+
"""
|
|
13217
|
+
Vng orientation configuration.
|
|
13218
|
+
"""
|
|
13213
13219
|
spot_percentage: NotRequired[pulumi.Input[builtins.int]]
|
|
13214
13220
|
"""
|
|
13215
13221
|
The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
|
|
@@ -13229,17 +13235,21 @@ elif False:
|
|
|
13229
13235
|
class OceanLaunchSpecStrategyArgs:
|
|
13230
13236
|
def __init__(__self__, *,
|
|
13231
13237
|
draining_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
13238
|
+
orientation: Optional[pulumi.Input['OceanLaunchSpecStrategyOrientationArgs']] = None,
|
|
13232
13239
|
spot_percentage: Optional[pulumi.Input[builtins.int]] = None,
|
|
13233
13240
|
utilize_commitments: Optional[pulumi.Input[builtins.bool]] = None,
|
|
13234
13241
|
utilize_reserved_instances: Optional[pulumi.Input[builtins.bool]] = None):
|
|
13235
13242
|
"""
|
|
13236
13243
|
:param pulumi.Input[builtins.int] draining_timeout: The configurable amount of time that Ocean will wait for the draining process to complete before terminating an instance. If you have not defined a draining timeout, the default of 300 seconds will be used.
|
|
13244
|
+
:param pulumi.Input['OceanLaunchSpecStrategyOrientationArgs'] orientation: Vng orientation configuration.
|
|
13237
13245
|
:param pulumi.Input[builtins.int] spot_percentage: The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
|
|
13238
13246
|
:param pulumi.Input[builtins.bool] utilize_commitments: When set as ‘true’, if savings plans commitments have available capacity, Ocean will utilize them alongside RIs (if exist) to maximize cost efficiency. If the value is set as 'null', it will automatically be inherited from the cluster level.
|
|
13239
13247
|
:param pulumi.Input[builtins.bool] utilize_reserved_instances: When set as ‘true’, if reserved instances exist, Ocean will utilize them before launching spot instances. If the value is set as 'null', it will automatically be inherited from the cluster level.
|
|
13240
13248
|
"""
|
|
13241
13249
|
if draining_timeout is not None:
|
|
13242
13250
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
13251
|
+
if orientation is not None:
|
|
13252
|
+
pulumi.set(__self__, "orientation", orientation)
|
|
13243
13253
|
if spot_percentage is not None:
|
|
13244
13254
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
13245
13255
|
if utilize_commitments is not None:
|
|
@@ -13259,6 +13269,18 @@ class OceanLaunchSpecStrategyArgs:
|
|
|
13259
13269
|
def draining_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
13260
13270
|
pulumi.set(self, "draining_timeout", value)
|
|
13261
13271
|
|
|
13272
|
+
@property
|
|
13273
|
+
@pulumi.getter
|
|
13274
|
+
def orientation(self) -> Optional[pulumi.Input['OceanLaunchSpecStrategyOrientationArgs']]:
|
|
13275
|
+
"""
|
|
13276
|
+
Vng orientation configuration.
|
|
13277
|
+
"""
|
|
13278
|
+
return pulumi.get(self, "orientation")
|
|
13279
|
+
|
|
13280
|
+
@orientation.setter
|
|
13281
|
+
def orientation(self, value: Optional[pulumi.Input['OceanLaunchSpecStrategyOrientationArgs']]):
|
|
13282
|
+
pulumi.set(self, "orientation", value)
|
|
13283
|
+
|
|
13262
13284
|
@property
|
|
13263
13285
|
@pulumi.getter(name="spotPercentage")
|
|
13264
13286
|
def spot_percentage(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
@@ -13296,6 +13318,38 @@ class OceanLaunchSpecStrategyArgs:
|
|
|
13296
13318
|
pulumi.set(self, "utilize_reserved_instances", value)
|
|
13297
13319
|
|
|
13298
13320
|
|
|
13321
|
+
if not MYPY:
|
|
13322
|
+
class OceanLaunchSpecStrategyOrientationArgsDict(TypedDict):
|
|
13323
|
+
availability_vs_cost: NotRequired[pulumi.Input[builtins.str]]
|
|
13324
|
+
"""
|
|
13325
|
+
Set this value to control the approach that Ocean takes while launching nodes. Valid values: `"costOriented"`, `"cheapest"`, `"balanced"`.
|
|
13326
|
+
"""
|
|
13327
|
+
elif False:
|
|
13328
|
+
OceanLaunchSpecStrategyOrientationArgsDict: TypeAlias = Mapping[str, Any]
|
|
13329
|
+
|
|
13330
|
+
@pulumi.input_type
|
|
13331
|
+
class OceanLaunchSpecStrategyOrientationArgs:
|
|
13332
|
+
def __init__(__self__, *,
|
|
13333
|
+
availability_vs_cost: Optional[pulumi.Input[builtins.str]] = None):
|
|
13334
|
+
"""
|
|
13335
|
+
:param pulumi.Input[builtins.str] availability_vs_cost: Set this value to control the approach that Ocean takes while launching nodes. Valid values: `"costOriented"`, `"cheapest"`, `"balanced"`.
|
|
13336
|
+
"""
|
|
13337
|
+
if availability_vs_cost is not None:
|
|
13338
|
+
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
13339
|
+
|
|
13340
|
+
@property
|
|
13341
|
+
@pulumi.getter(name="availabilityVsCost")
|
|
13342
|
+
def availability_vs_cost(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
13343
|
+
"""
|
|
13344
|
+
Set this value to control the approach that Ocean takes while launching nodes. Valid values: `"costOriented"`, `"cheapest"`, `"balanced"`.
|
|
13345
|
+
"""
|
|
13346
|
+
return pulumi.get(self, "availability_vs_cost")
|
|
13347
|
+
|
|
13348
|
+
@availability_vs_cost.setter
|
|
13349
|
+
def availability_vs_cost(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
13350
|
+
pulumi.set(self, "availability_vs_cost", value)
|
|
13351
|
+
|
|
13352
|
+
|
|
13299
13353
|
if not MYPY:
|
|
13300
13354
|
class OceanLaunchSpecTagArgsDict(TypedDict):
|
|
13301
13355
|
key: pulumi.Input[builtins.str]
|
pulumi_spotinst/aws/outputs.py
CHANGED
|
@@ -168,6 +168,7 @@ __all__ = [
|
|
|
168
168
|
'OceanLaunchSpecSchedulingTaskTaskHeadroom',
|
|
169
169
|
'OceanLaunchSpecStartupTaint',
|
|
170
170
|
'OceanLaunchSpecStrategy',
|
|
171
|
+
'OceanLaunchSpecStrategyOrientation',
|
|
171
172
|
'OceanLaunchSpecTag',
|
|
172
173
|
'OceanLaunchSpecTaint',
|
|
173
174
|
'OceanLaunchSpecUpdatePolicy',
|
|
@@ -10384,17 +10385,21 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
10384
10385
|
|
|
10385
10386
|
def __init__(__self__, *,
|
|
10386
10387
|
draining_timeout: Optional[builtins.int] = None,
|
|
10388
|
+
orientation: Optional['outputs.OceanLaunchSpecStrategyOrientation'] = None,
|
|
10387
10389
|
spot_percentage: Optional[builtins.int] = None,
|
|
10388
10390
|
utilize_commitments: Optional[builtins.bool] = None,
|
|
10389
10391
|
utilize_reserved_instances: Optional[builtins.bool] = None):
|
|
10390
10392
|
"""
|
|
10391
10393
|
:param builtins.int draining_timeout: The configurable amount of time that Ocean will wait for the draining process to complete before terminating an instance. If you have not defined a draining timeout, the default of 300 seconds will be used.
|
|
10394
|
+
:param 'OceanLaunchSpecStrategyOrientationArgs' orientation: Vng orientation configuration.
|
|
10392
10395
|
:param builtins.int spot_percentage: The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
|
|
10393
10396
|
:param builtins.bool utilize_commitments: When set as ‘true’, if savings plans commitments have available capacity, Ocean will utilize them alongside RIs (if exist) to maximize cost efficiency. If the value is set as 'null', it will automatically be inherited from the cluster level.
|
|
10394
10397
|
:param builtins.bool utilize_reserved_instances: When set as ‘true’, if reserved instances exist, Ocean will utilize them before launching spot instances. If the value is set as 'null', it will automatically be inherited from the cluster level.
|
|
10395
10398
|
"""
|
|
10396
10399
|
if draining_timeout is not None:
|
|
10397
10400
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
10401
|
+
if orientation is not None:
|
|
10402
|
+
pulumi.set(__self__, "orientation", orientation)
|
|
10398
10403
|
if spot_percentage is not None:
|
|
10399
10404
|
pulumi.set(__self__, "spot_percentage", spot_percentage)
|
|
10400
10405
|
if utilize_commitments is not None:
|
|
@@ -10410,6 +10415,14 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
10410
10415
|
"""
|
|
10411
10416
|
return pulumi.get(self, "draining_timeout")
|
|
10412
10417
|
|
|
10418
|
+
@property
|
|
10419
|
+
@pulumi.getter
|
|
10420
|
+
def orientation(self) -> Optional['outputs.OceanLaunchSpecStrategyOrientation']:
|
|
10421
|
+
"""
|
|
10422
|
+
Vng orientation configuration.
|
|
10423
|
+
"""
|
|
10424
|
+
return pulumi.get(self, "orientation")
|
|
10425
|
+
|
|
10413
10426
|
@property
|
|
10414
10427
|
@pulumi.getter(name="spotPercentage")
|
|
10415
10428
|
def spot_percentage(self) -> Optional[builtins.int]:
|
|
@@ -10435,6 +10448,42 @@ class OceanLaunchSpecStrategy(dict):
|
|
|
10435
10448
|
return pulumi.get(self, "utilize_reserved_instances")
|
|
10436
10449
|
|
|
10437
10450
|
|
|
10451
|
+
@pulumi.output_type
|
|
10452
|
+
class OceanLaunchSpecStrategyOrientation(dict):
|
|
10453
|
+
@staticmethod
|
|
10454
|
+
def __key_warning(key: str):
|
|
10455
|
+
suggest = None
|
|
10456
|
+
if key == "availabilityVsCost":
|
|
10457
|
+
suggest = "availability_vs_cost"
|
|
10458
|
+
|
|
10459
|
+
if suggest:
|
|
10460
|
+
pulumi.log.warn(f"Key '{key}' not found in OceanLaunchSpecStrategyOrientation. Access the value via the '{suggest}' property getter instead.")
|
|
10461
|
+
|
|
10462
|
+
def __getitem__(self, key: str) -> Any:
|
|
10463
|
+
OceanLaunchSpecStrategyOrientation.__key_warning(key)
|
|
10464
|
+
return super().__getitem__(key)
|
|
10465
|
+
|
|
10466
|
+
def get(self, key: str, default = None) -> Any:
|
|
10467
|
+
OceanLaunchSpecStrategyOrientation.__key_warning(key)
|
|
10468
|
+
return super().get(key, default)
|
|
10469
|
+
|
|
10470
|
+
def __init__(__self__, *,
|
|
10471
|
+
availability_vs_cost: Optional[builtins.str] = None):
|
|
10472
|
+
"""
|
|
10473
|
+
:param builtins.str availability_vs_cost: Set this value to control the approach that Ocean takes while launching nodes. Valid values: `"costOriented"`, `"cheapest"`, `"balanced"`.
|
|
10474
|
+
"""
|
|
10475
|
+
if availability_vs_cost is not None:
|
|
10476
|
+
pulumi.set(__self__, "availability_vs_cost", availability_vs_cost)
|
|
10477
|
+
|
|
10478
|
+
@property
|
|
10479
|
+
@pulumi.getter(name="availabilityVsCost")
|
|
10480
|
+
def availability_vs_cost(self) -> Optional[builtins.str]:
|
|
10481
|
+
"""
|
|
10482
|
+
Set this value to control the approach that Ocean takes while launching nodes. Valid values: `"costOriented"`, `"cheapest"`, `"balanced"`.
|
|
10483
|
+
"""
|
|
10484
|
+
return pulumi.get(self, "availability_vs_cost")
|
|
10485
|
+
|
|
10486
|
+
|
|
10438
10487
|
@pulumi.output_type
|
|
10439
10488
|
class OceanLaunchSpecTag(dict):
|
|
10440
10489
|
def __init__(__self__, *,
|
{pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/RECORD
RENAMED
|
@@ -11,12 +11,12 @@ pulumi_spotinst/notification_center.py,sha256=TLfO1jPVsDp0iF8nyDbBWp8SVDEt8ydurG
|
|
|
11
11
|
pulumi_spotinst/ocean_right_sizing_rule.py,sha256=qdX2szOREGHtyKM-E5haTns_GG8I2vMmD-4y4qwbivs,31472
|
|
12
12
|
pulumi_spotinst/outputs.py,sha256=iZMMC49l7IGdxEywgVLzdnHbJn_c7ILuqAemkb3Yd4I,189195
|
|
13
13
|
pulumi_spotinst/provider.py,sha256=hQRAOFDwFyXEn7Qifa4rW1og1hUBZnQ__FTO6jrl_JA,8704
|
|
14
|
-
pulumi_spotinst/pulumi-plugin.json,sha256=
|
|
14
|
+
pulumi_spotinst/pulumi-plugin.json,sha256=MW44O-IK8sXEyZw1fD4hzBuSFA_Hkgyfwpli1586Rew,86
|
|
15
15
|
pulumi_spotinst/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
pulumi_spotinst/stateful_node_azure.py,sha256=cGhtKjVdIm7EmAI254K6_l5aKBd9JI5XRrV6pfMJo8o,139842
|
|
17
17
|
pulumi_spotinst/subscription.py,sha256=lqMp5cd6pJ8DMsw7MpHXYFPKRsdBm05NnHRvoA3Eb2k,28553
|
|
18
18
|
pulumi_spotinst/aws/__init__.py,sha256=vjlG1OvwRuSgo8lXzTgX52CP6gfEStZz3OV0sFYOGOc,601
|
|
19
|
-
pulumi_spotinst/aws/_inputs.py,sha256=
|
|
19
|
+
pulumi_spotinst/aws/_inputs.py,sha256=JIwTVX7xPP1kA-FjWNgi7nd6ehcecPGyqiiXUqrgmEA,635612
|
|
20
20
|
pulumi_spotinst/aws/account.py,sha256=a-6sYDm21UaWFS4hF1oyDkI2y0LgXO41OEo-dIccMQs,6548
|
|
21
21
|
pulumi_spotinst/aws/beanstalk.py,sha256=x4FsPrvUevUw02ZzU5mZYzWQ7UbIfXYVtOxi7rja_1Q,35344
|
|
22
22
|
pulumi_spotinst/aws/credentials.py,sha256=DoLnBendNUWv3S-9SD_WmJEJS4N5n8lliBj9qNwonuI,9495
|
|
@@ -26,7 +26,7 @@ pulumi_spotinst/aws/mr_scalar.py,sha256=Pk3HT51PV1wDoyTTjKgDgW9RTilc1xstoR_tDx_3
|
|
|
26
26
|
pulumi_spotinst/aws/ocean.py,sha256=Owg5YD36KhQpnEtgfKpSwa0bOFJnyHMqOtdw7giqNa8,122960
|
|
27
27
|
pulumi_spotinst/aws/ocean_extended_resource_definition.py,sha256=0W4x215g5KsvLUQpu3Lr06Wi29WpwRekRHyxNzHVl5Y,11030
|
|
28
28
|
pulumi_spotinst/aws/ocean_launch_spec.py,sha256=rBtudmB6qL9g4QH6b_4o99uCsmKiiXxPf0nvl8BnnkY,106090
|
|
29
|
-
pulumi_spotinst/aws/outputs.py,sha256=
|
|
29
|
+
pulumi_spotinst/aws/outputs.py,sha256=SoIdcyCzeMpVIzDLryiT5qCXRns9bbg1HpBwdsdKpqI,469517
|
|
30
30
|
pulumi_spotinst/aws/suspension.py,sha256=sxlrdBlF-DQhRkpPLwZA1uZXRQpYRGpxTPKSVaG3txA,9761
|
|
31
31
|
pulumi_spotinst/azure/__init__.py,sha256=PJpRk0m7phuIho79456sFbfyk2OPxzuzusttwJ_Urdk,379
|
|
32
32
|
pulumi_spotinst/azure/_inputs.py,sha256=W9Jvx6xViZjw2o8JhF6RXYud1Np0d89Ihkfd24O0-q0,129617
|
|
@@ -71,7 +71,7 @@ pulumi_spotinst/spark/_inputs.py,sha256=2eoWytfpp6Wx659BjUly4f4lRk9d1Q73gzxRFg7N
|
|
|
71
71
|
pulumi_spotinst/spark/ocean.py,sha256=9kv9oZ7TPYnq6kZEGzX47-EbaDxvO5O6vcO26KPkXyM,19728
|
|
72
72
|
pulumi_spotinst/spark/ocean_virtual_node_group.py,sha256=T1mi2x18t7BLh48-d8gDJD0eInl-HYEhSe_L2YuLfAg,8636
|
|
73
73
|
pulumi_spotinst/spark/outputs.py,sha256=k-kjPQtkyavCMn92uh8HeQfpok4iE2nptl6zo7ssfhs,20516
|
|
74
|
-
pulumi_spotinst-3.
|
|
75
|
-
pulumi_spotinst-3.
|
|
76
|
-
pulumi_spotinst-3.
|
|
77
|
-
pulumi_spotinst-3.
|
|
74
|
+
pulumi_spotinst-3.122.0a1752118703.dist-info/METADATA,sha256=otEf-V5woQCOFFX9T6sPRoD5JBgBcJ5QyRTLstP5jyw,2724
|
|
75
|
+
pulumi_spotinst-3.122.0a1752118703.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
76
|
+
pulumi_spotinst-3.122.0a1752118703.dist-info/top_level.txt,sha256=B1HTsr4PliwgyZPJ-9Cmg9PELboV_GusiFDrxBSVHeI,16
|
|
77
|
+
pulumi_spotinst-3.122.0a1752118703.dist-info/RECORD,,
|
{pulumi_spotinst-3.121.0a1751945899.dist-info → pulumi_spotinst-3.122.0a1752118703.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|