pulumi-spotinst 3.126.0a1761894726__py3-none-any.whl → 3.128.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-spotinst might be problematic. Click here for more details.
- pulumi_spotinst/_inputs.py +317 -0
- pulumi_spotinst/aws/_inputs.py +177 -0
- pulumi_spotinst/aws/beanstalk.py +76 -0
- pulumi_spotinst/aws/ocean_launch_spec.py +47 -0
- pulumi_spotinst/aws/outputs.py +128 -1
- pulumi_spotinst/ecs/ocean.py +208 -0
- pulumi_spotinst/gke/ocean_launch_spec.py +7 -7
- pulumi_spotinst/ocean_right_sizing_rule.py +280 -2
- pulumi_spotinst/outputs.py +217 -0
- pulumi_spotinst/pulumi-plugin.json +1 -1
- pulumi_spotinst/stateful_node_azure.py +22 -0
- {pulumi_spotinst-3.126.0a1761894726.dist-info → pulumi_spotinst-3.128.0.dist-info}/METADATA +1 -1
- {pulumi_spotinst-3.126.0a1761894726.dist-info → pulumi_spotinst-3.128.0.dist-info}/RECORD +15 -15
- {pulumi_spotinst-3.126.0a1761894726.dist-info → pulumi_spotinst-3.128.0.dist-info}/WHEEL +0 -0
- {pulumi_spotinst-3.126.0a1761894726.dist-info → pulumi_spotinst-3.128.0.dist-info}/top_level.txt +0 -0
pulumi_spotinst/_inputs.py
CHANGED
|
@@ -203,6 +203,8 @@ __all__ = [
|
|
|
203
203
|
'StatefulNodeAzureStrategyCapacityReservationArgsDict',
|
|
204
204
|
'StatefulNodeAzureStrategyCapacityReservationCapacityReservationGroupArgs',
|
|
205
205
|
'StatefulNodeAzureStrategyCapacityReservationCapacityReservationGroupArgsDict',
|
|
206
|
+
'StatefulNodeAzureStrategyInterruptionTolerationArgs',
|
|
207
|
+
'StatefulNodeAzureStrategyInterruptionTolerationArgsDict',
|
|
206
208
|
'StatefulNodeAzureStrategyRevertToSpotArgs',
|
|
207
209
|
'StatefulNodeAzureStrategyRevertToSpotArgsDict',
|
|
208
210
|
'StatefulNodeAzureTagArgs',
|
|
@@ -2945,6 +2947,9 @@ class NotificationCenterSubscriptionArgs:
|
|
|
2945
2947
|
if not MYPY:
|
|
2946
2948
|
class OceanRightSizingRuleAttachWorkloadArgsDict(TypedDict):
|
|
2947
2949
|
namespaces: pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceArgsDict']]]
|
|
2950
|
+
"""
|
|
2951
|
+
List of namespaces that match the auto-apply rule.
|
|
2952
|
+
"""
|
|
2948
2953
|
elif False:
|
|
2949
2954
|
OceanRightSizingRuleAttachWorkloadArgsDict: TypeAlias = Mapping[str, Any]
|
|
2950
2955
|
|
|
@@ -2952,11 +2957,17 @@ elif False:
|
|
|
2952
2957
|
class OceanRightSizingRuleAttachWorkloadArgs:
|
|
2953
2958
|
def __init__(__self__, *,
|
|
2954
2959
|
namespaces: pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceArgs']]]):
|
|
2960
|
+
"""
|
|
2961
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceArgs']]] namespaces: List of namespaces that match the auto-apply rule.
|
|
2962
|
+
"""
|
|
2955
2963
|
pulumi.set(__self__, "namespaces", namespaces)
|
|
2956
2964
|
|
|
2957
2965
|
@_builtins.property
|
|
2958
2966
|
@pulumi.getter
|
|
2959
2967
|
def namespaces(self) -> pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceArgs']]]:
|
|
2968
|
+
"""
|
|
2969
|
+
List of namespaces that match the auto-apply rule.
|
|
2970
|
+
"""
|
|
2960
2971
|
return pulumi.get(self, "namespaces")
|
|
2961
2972
|
|
|
2962
2973
|
@namespaces.setter
|
|
@@ -2968,6 +2979,11 @@ if not MYPY:
|
|
|
2968
2979
|
class OceanRightSizingRuleAttachWorkloadNamespaceArgsDict(TypedDict):
|
|
2969
2980
|
namespace_name: pulumi.Input[_builtins.str]
|
|
2970
2981
|
labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceLabelArgsDict']]]]
|
|
2982
|
+
"""
|
|
2983
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
2984
|
+
|
|
2985
|
+
<a id="attach_workloads"></a>
|
|
2986
|
+
"""
|
|
2971
2987
|
workloads: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceWorkloadArgsDict']]]]
|
|
2972
2988
|
elif False:
|
|
2973
2989
|
OceanRightSizingRuleAttachWorkloadNamespaceArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2978,6 +2994,11 @@ class OceanRightSizingRuleAttachWorkloadNamespaceArgs:
|
|
|
2978
2994
|
namespace_name: pulumi.Input[_builtins.str],
|
|
2979
2995
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceLabelArgs']]]] = None,
|
|
2980
2996
|
workloads: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceWorkloadArgs']]]] = None):
|
|
2997
|
+
"""
|
|
2998
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceLabelArgs']]] labels: A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
2999
|
+
|
|
3000
|
+
<a id="attach_workloads"></a>
|
|
3001
|
+
"""
|
|
2981
3002
|
pulumi.set(__self__, "namespace_name", namespace_name)
|
|
2982
3003
|
if labels is not None:
|
|
2983
3004
|
pulumi.set(__self__, "labels", labels)
|
|
@@ -2996,6 +3017,11 @@ class OceanRightSizingRuleAttachWorkloadNamespaceArgs:
|
|
|
2996
3017
|
@_builtins.property
|
|
2997
3018
|
@pulumi.getter
|
|
2998
3019
|
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleAttachWorkloadNamespaceLabelArgs']]]]:
|
|
3020
|
+
"""
|
|
3021
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3022
|
+
|
|
3023
|
+
<a id="attach_workloads"></a>
|
|
3024
|
+
"""
|
|
2999
3025
|
return pulumi.get(self, "labels")
|
|
3000
3026
|
|
|
3001
3027
|
@labels.setter
|
|
@@ -3097,8 +3123,19 @@ class OceanRightSizingRuleAttachWorkloadNamespaceWorkloadArgs:
|
|
|
3097
3123
|
if not MYPY:
|
|
3098
3124
|
class OceanRightSizingRuleAutoApplyDefinitionArgsDict(TypedDict):
|
|
3099
3125
|
enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3126
|
+
"""
|
|
3127
|
+
Determines if auto apply is enabled.
|
|
3128
|
+
"""
|
|
3100
3129
|
labels: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
|
|
3130
|
+
"""
|
|
3131
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3132
|
+
|
|
3133
|
+
<a id="attach_workloads"></a>
|
|
3134
|
+
"""
|
|
3101
3135
|
namespaces: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
3136
|
+
"""
|
|
3137
|
+
List of namespaces that match the auto-apply rule.
|
|
3138
|
+
"""
|
|
3102
3139
|
elif False:
|
|
3103
3140
|
OceanRightSizingRuleAutoApplyDefinitionArgsDict: TypeAlias = Mapping[str, Any]
|
|
3104
3141
|
|
|
@@ -3108,6 +3145,13 @@ class OceanRightSizingRuleAutoApplyDefinitionArgs:
|
|
|
3108
3145
|
enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
3109
3146
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
3110
3147
|
namespaces: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
3148
|
+
"""
|
|
3149
|
+
:param pulumi.Input[_builtins.bool] enabled: Determines if auto apply is enabled.
|
|
3150
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3151
|
+
|
|
3152
|
+
<a id="attach_workloads"></a>
|
|
3153
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] namespaces: List of namespaces that match the auto-apply rule.
|
|
3154
|
+
"""
|
|
3111
3155
|
if enabled is not None:
|
|
3112
3156
|
pulumi.set(__self__, "enabled", enabled)
|
|
3113
3157
|
if labels is not None:
|
|
@@ -3118,6 +3162,9 @@ class OceanRightSizingRuleAutoApplyDefinitionArgs:
|
|
|
3118
3162
|
@_builtins.property
|
|
3119
3163
|
@pulumi.getter
|
|
3120
3164
|
def enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3165
|
+
"""
|
|
3166
|
+
Determines if auto apply is enabled.
|
|
3167
|
+
"""
|
|
3121
3168
|
return pulumi.get(self, "enabled")
|
|
3122
3169
|
|
|
3123
3170
|
@enabled.setter
|
|
@@ -3127,6 +3174,11 @@ class OceanRightSizingRuleAutoApplyDefinitionArgs:
|
|
|
3127
3174
|
@_builtins.property
|
|
3128
3175
|
@pulumi.getter
|
|
3129
3176
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
3177
|
+
"""
|
|
3178
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3179
|
+
|
|
3180
|
+
<a id="attach_workloads"></a>
|
|
3181
|
+
"""
|
|
3130
3182
|
return pulumi.get(self, "labels")
|
|
3131
3183
|
|
|
3132
3184
|
@labels.setter
|
|
@@ -3136,6 +3188,9 @@ class OceanRightSizingRuleAutoApplyDefinitionArgs:
|
|
|
3136
3188
|
@_builtins.property
|
|
3137
3189
|
@pulumi.getter
|
|
3138
3190
|
def namespaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
3191
|
+
"""
|
|
3192
|
+
List of namespaces that match the auto-apply rule.
|
|
3193
|
+
"""
|
|
3139
3194
|
return pulumi.get(self, "namespaces")
|
|
3140
3195
|
|
|
3141
3196
|
@namespaces.setter
|
|
@@ -3146,6 +3201,9 @@ class OceanRightSizingRuleAutoApplyDefinitionArgs:
|
|
|
3146
3201
|
if not MYPY:
|
|
3147
3202
|
class OceanRightSizingRuleDetachWorkloadArgsDict(TypedDict):
|
|
3148
3203
|
namespaces: pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceArgsDict']]]
|
|
3204
|
+
"""
|
|
3205
|
+
List of namespaces that match the auto-apply rule.
|
|
3206
|
+
"""
|
|
3149
3207
|
elif False:
|
|
3150
3208
|
OceanRightSizingRuleDetachWorkloadArgsDict: TypeAlias = Mapping[str, Any]
|
|
3151
3209
|
|
|
@@ -3153,11 +3211,17 @@ elif False:
|
|
|
3153
3211
|
class OceanRightSizingRuleDetachWorkloadArgs:
|
|
3154
3212
|
def __init__(__self__, *,
|
|
3155
3213
|
namespaces: pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceArgs']]]):
|
|
3214
|
+
"""
|
|
3215
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceArgs']]] namespaces: List of namespaces that match the auto-apply rule.
|
|
3216
|
+
"""
|
|
3156
3217
|
pulumi.set(__self__, "namespaces", namespaces)
|
|
3157
3218
|
|
|
3158
3219
|
@_builtins.property
|
|
3159
3220
|
@pulumi.getter
|
|
3160
3221
|
def namespaces(self) -> pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceArgs']]]:
|
|
3222
|
+
"""
|
|
3223
|
+
List of namespaces that match the auto-apply rule.
|
|
3224
|
+
"""
|
|
3161
3225
|
return pulumi.get(self, "namespaces")
|
|
3162
3226
|
|
|
3163
3227
|
@namespaces.setter
|
|
@@ -3169,6 +3233,11 @@ if not MYPY:
|
|
|
3169
3233
|
class OceanRightSizingRuleDetachWorkloadNamespaceArgsDict(TypedDict):
|
|
3170
3234
|
namespace_name: pulumi.Input[_builtins.str]
|
|
3171
3235
|
labels: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceLabelArgsDict']]]]
|
|
3236
|
+
"""
|
|
3237
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3238
|
+
|
|
3239
|
+
<a id="attach_workloads"></a>
|
|
3240
|
+
"""
|
|
3172
3241
|
workloads: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceWorkloadArgsDict']]]]
|
|
3173
3242
|
elif False:
|
|
3174
3243
|
OceanRightSizingRuleDetachWorkloadNamespaceArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -3179,6 +3248,11 @@ class OceanRightSizingRuleDetachWorkloadNamespaceArgs:
|
|
|
3179
3248
|
namespace_name: pulumi.Input[_builtins.str],
|
|
3180
3249
|
labels: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceLabelArgs']]]] = None,
|
|
3181
3250
|
workloads: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceWorkloadArgs']]]] = None):
|
|
3251
|
+
"""
|
|
3252
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceLabelArgs']]] labels: A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3253
|
+
|
|
3254
|
+
<a id="attach_workloads"></a>
|
|
3255
|
+
"""
|
|
3182
3256
|
pulumi.set(__self__, "namespace_name", namespace_name)
|
|
3183
3257
|
if labels is not None:
|
|
3184
3258
|
pulumi.set(__self__, "labels", labels)
|
|
@@ -3197,6 +3271,11 @@ class OceanRightSizingRuleDetachWorkloadNamespaceArgs:
|
|
|
3197
3271
|
@_builtins.property
|
|
3198
3272
|
@pulumi.getter
|
|
3199
3273
|
def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleDetachWorkloadNamespaceLabelArgs']]]]:
|
|
3274
|
+
"""
|
|
3275
|
+
A set of key-value label pairs used to automatically apply this rule to all workloads in the cluster that match these labels.
|
|
3276
|
+
|
|
3277
|
+
<a id="attach_workloads"></a>
|
|
3278
|
+
"""
|
|
3200
3279
|
return pulumi.get(self, "labels")
|
|
3201
3280
|
|
|
3202
3281
|
@labels.setter
|
|
@@ -3298,9 +3377,21 @@ class OceanRightSizingRuleDetachWorkloadNamespaceWorkloadArgs:
|
|
|
3298
3377
|
if not MYPY:
|
|
3299
3378
|
class OceanRightSizingRuleRecommendationApplicationBoundaryArgsDict(TypedDict):
|
|
3300
3379
|
cpu_max: NotRequired[pulumi.Input[_builtins.float]]
|
|
3380
|
+
"""
|
|
3381
|
+
the maximal value of cpu in vCpu.
|
|
3382
|
+
"""
|
|
3301
3383
|
cpu_min: NotRequired[pulumi.Input[_builtins.float]]
|
|
3384
|
+
"""
|
|
3385
|
+
the minimal value of cpu in vCpu.
|
|
3386
|
+
"""
|
|
3302
3387
|
memory_max: NotRequired[pulumi.Input[_builtins.int]]
|
|
3388
|
+
"""
|
|
3389
|
+
the maximal value of memory in Gib.
|
|
3390
|
+
"""
|
|
3303
3391
|
memory_min: NotRequired[pulumi.Input[_builtins.int]]
|
|
3392
|
+
"""
|
|
3393
|
+
the minimal value of memory in Gib.
|
|
3394
|
+
"""
|
|
3304
3395
|
elif False:
|
|
3305
3396
|
OceanRightSizingRuleRecommendationApplicationBoundaryArgsDict: TypeAlias = Mapping[str, Any]
|
|
3306
3397
|
|
|
@@ -3311,6 +3402,12 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3311
3402
|
cpu_min: Optional[pulumi.Input[_builtins.float]] = None,
|
|
3312
3403
|
memory_max: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3313
3404
|
memory_min: Optional[pulumi.Input[_builtins.int]] = None):
|
|
3405
|
+
"""
|
|
3406
|
+
:param pulumi.Input[_builtins.float] cpu_max: the maximal value of cpu in vCpu.
|
|
3407
|
+
:param pulumi.Input[_builtins.float] cpu_min: the minimal value of cpu in vCpu.
|
|
3408
|
+
:param pulumi.Input[_builtins.int] memory_max: the maximal value of memory in Gib.
|
|
3409
|
+
:param pulumi.Input[_builtins.int] memory_min: the minimal value of memory in Gib.
|
|
3410
|
+
"""
|
|
3314
3411
|
if cpu_max is not None:
|
|
3315
3412
|
pulumi.set(__self__, "cpu_max", cpu_max)
|
|
3316
3413
|
if cpu_min is not None:
|
|
@@ -3323,6 +3420,9 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3323
3420
|
@_builtins.property
|
|
3324
3421
|
@pulumi.getter(name="cpuMax")
|
|
3325
3422
|
def cpu_max(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3423
|
+
"""
|
|
3424
|
+
the maximal value of cpu in vCpu.
|
|
3425
|
+
"""
|
|
3326
3426
|
return pulumi.get(self, "cpu_max")
|
|
3327
3427
|
|
|
3328
3428
|
@cpu_max.setter
|
|
@@ -3332,6 +3432,9 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3332
3432
|
@_builtins.property
|
|
3333
3433
|
@pulumi.getter(name="cpuMin")
|
|
3334
3434
|
def cpu_min(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3435
|
+
"""
|
|
3436
|
+
the minimal value of cpu in vCpu.
|
|
3437
|
+
"""
|
|
3335
3438
|
return pulumi.get(self, "cpu_min")
|
|
3336
3439
|
|
|
3337
3440
|
@cpu_min.setter
|
|
@@ -3341,6 +3444,9 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3341
3444
|
@_builtins.property
|
|
3342
3445
|
@pulumi.getter(name="memoryMax")
|
|
3343
3446
|
def memory_max(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3447
|
+
"""
|
|
3448
|
+
the maximal value of memory in Gib.
|
|
3449
|
+
"""
|
|
3344
3450
|
return pulumi.get(self, "memory_max")
|
|
3345
3451
|
|
|
3346
3452
|
@memory_max.setter
|
|
@@ -3350,6 +3456,9 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3350
3456
|
@_builtins.property
|
|
3351
3457
|
@pulumi.getter(name="memoryMin")
|
|
3352
3458
|
def memory_min(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3459
|
+
"""
|
|
3460
|
+
the minimal value of memory in Gib.
|
|
3461
|
+
"""
|
|
3353
3462
|
return pulumi.get(self, "memory_min")
|
|
3354
3463
|
|
|
3355
3464
|
@memory_min.setter
|
|
@@ -3360,6 +3469,9 @@ class OceanRightSizingRuleRecommendationApplicationBoundaryArgs:
|
|
|
3360
3469
|
if not MYPY:
|
|
3361
3470
|
class OceanRightSizingRuleRecommendationApplicationHpaArgsDict(TypedDict):
|
|
3362
3471
|
allow_hpa_recommendations: NotRequired[pulumi.Input[_builtins.bool]]
|
|
3472
|
+
"""
|
|
3473
|
+
Determines by the rule if recommendation application is allowed for workloads with HPA definition.
|
|
3474
|
+
"""
|
|
3363
3475
|
elif False:
|
|
3364
3476
|
OceanRightSizingRuleRecommendationApplicationHpaArgsDict: TypeAlias = Mapping[str, Any]
|
|
3365
3477
|
|
|
@@ -3367,12 +3479,18 @@ elif False:
|
|
|
3367
3479
|
class OceanRightSizingRuleRecommendationApplicationHpaArgs:
|
|
3368
3480
|
def __init__(__self__, *,
|
|
3369
3481
|
allow_hpa_recommendations: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
3482
|
+
"""
|
|
3483
|
+
:param pulumi.Input[_builtins.bool] allow_hpa_recommendations: Determines by the rule if recommendation application is allowed for workloads with HPA definition.
|
|
3484
|
+
"""
|
|
3370
3485
|
if allow_hpa_recommendations is not None:
|
|
3371
3486
|
pulumi.set(__self__, "allow_hpa_recommendations", allow_hpa_recommendations)
|
|
3372
3487
|
|
|
3373
3488
|
@_builtins.property
|
|
3374
3489
|
@pulumi.getter(name="allowHpaRecommendations")
|
|
3375
3490
|
def allow_hpa_recommendations(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
3491
|
+
"""
|
|
3492
|
+
Determines by the rule if recommendation application is allowed for workloads with HPA definition.
|
|
3493
|
+
"""
|
|
3376
3494
|
return pulumi.get(self, "allow_hpa_recommendations")
|
|
3377
3495
|
|
|
3378
3496
|
@allow_hpa_recommendations.setter
|
|
@@ -3383,8 +3501,17 @@ class OceanRightSizingRuleRecommendationApplicationHpaArgs:
|
|
|
3383
3501
|
if not MYPY:
|
|
3384
3502
|
class OceanRightSizingRuleRecommendationApplicationIntervalArgsDict(TypedDict):
|
|
3385
3503
|
repetition_basis: pulumi.Input[_builtins.str]
|
|
3504
|
+
"""
|
|
3505
|
+
Valid values: "WEEKLY" "MONTHLY". The repetition basis.
|
|
3506
|
+
"""
|
|
3386
3507
|
monthly_repetition_bases: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgsDict']]]]
|
|
3508
|
+
"""
|
|
3509
|
+
Determines the Ocean Rightsizing rule monthly repetition basis.
|
|
3510
|
+
"""
|
|
3387
3511
|
weekly_repetition_bases: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgsDict']]]]
|
|
3512
|
+
"""
|
|
3513
|
+
Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3514
|
+
"""
|
|
3388
3515
|
elif False:
|
|
3389
3516
|
OceanRightSizingRuleRecommendationApplicationIntervalArgsDict: TypeAlias = Mapping[str, Any]
|
|
3390
3517
|
|
|
@@ -3394,6 +3521,11 @@ class OceanRightSizingRuleRecommendationApplicationIntervalArgs:
|
|
|
3394
3521
|
repetition_basis: pulumi.Input[_builtins.str],
|
|
3395
3522
|
monthly_repetition_bases: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgs']]]] = None,
|
|
3396
3523
|
weekly_repetition_bases: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgs']]]] = None):
|
|
3524
|
+
"""
|
|
3525
|
+
:param pulumi.Input[_builtins.str] repetition_basis: Valid values: "WEEKLY" "MONTHLY". The repetition basis.
|
|
3526
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgs']]] monthly_repetition_bases: Determines the Ocean Rightsizing rule monthly repetition basis.
|
|
3527
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgs']]] weekly_repetition_bases: Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3528
|
+
"""
|
|
3397
3529
|
pulumi.set(__self__, "repetition_basis", repetition_basis)
|
|
3398
3530
|
if monthly_repetition_bases is not None:
|
|
3399
3531
|
pulumi.set(__self__, "monthly_repetition_bases", monthly_repetition_bases)
|
|
@@ -3403,6 +3535,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalArgs:
|
|
|
3403
3535
|
@_builtins.property
|
|
3404
3536
|
@pulumi.getter(name="repetitionBasis")
|
|
3405
3537
|
def repetition_basis(self) -> pulumi.Input[_builtins.str]:
|
|
3538
|
+
"""
|
|
3539
|
+
Valid values: "WEEKLY" "MONTHLY". The repetition basis.
|
|
3540
|
+
"""
|
|
3406
3541
|
return pulumi.get(self, "repetition_basis")
|
|
3407
3542
|
|
|
3408
3543
|
@repetition_basis.setter
|
|
@@ -3412,6 +3547,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalArgs:
|
|
|
3412
3547
|
@_builtins.property
|
|
3413
3548
|
@pulumi.getter(name="monthlyRepetitionBases")
|
|
3414
3549
|
def monthly_repetition_bases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgs']]]]:
|
|
3550
|
+
"""
|
|
3551
|
+
Determines the Ocean Rightsizing rule monthly repetition basis.
|
|
3552
|
+
"""
|
|
3415
3553
|
return pulumi.get(self, "monthly_repetition_bases")
|
|
3416
3554
|
|
|
3417
3555
|
@monthly_repetition_bases.setter
|
|
@@ -3421,6 +3559,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalArgs:
|
|
|
3421
3559
|
@_builtins.property
|
|
3422
3560
|
@pulumi.getter(name="weeklyRepetitionBases")
|
|
3423
3561
|
def weekly_repetition_bases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgs']]]]:
|
|
3562
|
+
"""
|
|
3563
|
+
Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3564
|
+
"""
|
|
3424
3565
|
return pulumi.get(self, "weekly_repetition_bases")
|
|
3425
3566
|
|
|
3426
3567
|
@weekly_repetition_bases.setter
|
|
@@ -3431,8 +3572,17 @@ class OceanRightSizingRuleRecommendationApplicationIntervalArgs:
|
|
|
3431
3572
|
if not MYPY:
|
|
3432
3573
|
class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgsDict(TypedDict):
|
|
3433
3574
|
interval_months: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]
|
|
3575
|
+
"""
|
|
3576
|
+
Array of the months (in number), when we want to trigger the apply recommendations.
|
|
3577
|
+
"""
|
|
3434
3578
|
week_of_the_months: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
3579
|
+
"""
|
|
3580
|
+
Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
|
|
3581
|
+
"""
|
|
3435
3582
|
weekly_repetition_bases: NotRequired[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgsDict']]]]
|
|
3583
|
+
"""
|
|
3584
|
+
Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3585
|
+
"""
|
|
3436
3586
|
elif False:
|
|
3437
3587
|
OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseArgsDict: TypeAlias = Mapping[str, Any]
|
|
3438
3588
|
|
|
@@ -3442,6 +3592,11 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3442
3592
|
interval_months: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]],
|
|
3443
3593
|
week_of_the_months: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
3444
3594
|
weekly_repetition_bases: Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgs']]]] = None):
|
|
3595
|
+
"""
|
|
3596
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] interval_months: Array of the months (in number), when we want to trigger the apply recommendations.
|
|
3597
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] week_of_the_months: Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
|
|
3598
|
+
:param pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgs']]] weekly_repetition_bases: Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3599
|
+
"""
|
|
3445
3600
|
pulumi.set(__self__, "interval_months", interval_months)
|
|
3446
3601
|
pulumi.set(__self__, "week_of_the_months", week_of_the_months)
|
|
3447
3602
|
if weekly_repetition_bases is not None:
|
|
@@ -3450,6 +3605,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3450
3605
|
@_builtins.property
|
|
3451
3606
|
@pulumi.getter(name="intervalMonths")
|
|
3452
3607
|
def interval_months(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]:
|
|
3608
|
+
"""
|
|
3609
|
+
Array of the months (in number), when we want to trigger the apply recommendations.
|
|
3610
|
+
"""
|
|
3453
3611
|
return pulumi.get(self, "interval_months")
|
|
3454
3612
|
|
|
3455
3613
|
@interval_months.setter
|
|
@@ -3459,6 +3617,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3459
3617
|
@_builtins.property
|
|
3460
3618
|
@pulumi.getter(name="weekOfTheMonths")
|
|
3461
3619
|
def week_of_the_months(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
3620
|
+
"""
|
|
3621
|
+
Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
|
|
3622
|
+
"""
|
|
3462
3623
|
return pulumi.get(self, "week_of_the_months")
|
|
3463
3624
|
|
|
3464
3625
|
@week_of_the_months.setter
|
|
@@ -3468,6 +3629,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3468
3629
|
@_builtins.property
|
|
3469
3630
|
@pulumi.getter(name="weeklyRepetitionBases")
|
|
3470
3631
|
def weekly_repetition_bases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgs']]]]:
|
|
3632
|
+
"""
|
|
3633
|
+
Determines the Ocean Rightsizing rule weekly repetition basis.
|
|
3634
|
+
"""
|
|
3471
3635
|
return pulumi.get(self, "weekly_repetition_bases")
|
|
3472
3636
|
|
|
3473
3637
|
@weekly_repetition_bases.setter
|
|
@@ -3478,8 +3642,17 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3478
3642
|
if not MYPY:
|
|
3479
3643
|
class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgsDict(TypedDict):
|
|
3480
3644
|
interval_days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
3645
|
+
"""
|
|
3646
|
+
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3647
|
+
"""
|
|
3481
3648
|
interval_hours_end_time: pulumi.Input[_builtins.str]
|
|
3649
|
+
"""
|
|
3650
|
+
End time.
|
|
3651
|
+
"""
|
|
3482
3652
|
interval_hours_start_time: pulumi.Input[_builtins.str]
|
|
3653
|
+
"""
|
|
3654
|
+
Start time.
|
|
3655
|
+
"""
|
|
3483
3656
|
elif False:
|
|
3484
3657
|
OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBaseWeeklyRepetitionBaseArgsDict: TypeAlias = Mapping[str, Any]
|
|
3485
3658
|
|
|
@@ -3489,6 +3662,11 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3489
3662
|
interval_days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
3490
3663
|
interval_hours_end_time: pulumi.Input[_builtins.str],
|
|
3491
3664
|
interval_hours_start_time: pulumi.Input[_builtins.str]):
|
|
3665
|
+
"""
|
|
3666
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] interval_days: Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3667
|
+
:param pulumi.Input[_builtins.str] interval_hours_end_time: End time.
|
|
3668
|
+
:param pulumi.Input[_builtins.str] interval_hours_start_time: Start time.
|
|
3669
|
+
"""
|
|
3492
3670
|
pulumi.set(__self__, "interval_days", interval_days)
|
|
3493
3671
|
pulumi.set(__self__, "interval_hours_end_time", interval_hours_end_time)
|
|
3494
3672
|
pulumi.set(__self__, "interval_hours_start_time", interval_hours_start_time)
|
|
@@ -3496,6 +3674,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3496
3674
|
@_builtins.property
|
|
3497
3675
|
@pulumi.getter(name="intervalDays")
|
|
3498
3676
|
def interval_days(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
3677
|
+
"""
|
|
3678
|
+
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3679
|
+
"""
|
|
3499
3680
|
return pulumi.get(self, "interval_days")
|
|
3500
3681
|
|
|
3501
3682
|
@interval_days.setter
|
|
@@ -3505,6 +3686,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3505
3686
|
@_builtins.property
|
|
3506
3687
|
@pulumi.getter(name="intervalHoursEndTime")
|
|
3507
3688
|
def interval_hours_end_time(self) -> pulumi.Input[_builtins.str]:
|
|
3689
|
+
"""
|
|
3690
|
+
End time.
|
|
3691
|
+
"""
|
|
3508
3692
|
return pulumi.get(self, "interval_hours_end_time")
|
|
3509
3693
|
|
|
3510
3694
|
@interval_hours_end_time.setter
|
|
@@ -3514,6 +3698,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3514
3698
|
@_builtins.property
|
|
3515
3699
|
@pulumi.getter(name="intervalHoursStartTime")
|
|
3516
3700
|
def interval_hours_start_time(self) -> pulumi.Input[_builtins.str]:
|
|
3701
|
+
"""
|
|
3702
|
+
Start time.
|
|
3703
|
+
"""
|
|
3517
3704
|
return pulumi.get(self, "interval_hours_start_time")
|
|
3518
3705
|
|
|
3519
3706
|
@interval_hours_start_time.setter
|
|
@@ -3524,8 +3711,17 @@ class OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase
|
|
|
3524
3711
|
if not MYPY:
|
|
3525
3712
|
class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgsDict(TypedDict):
|
|
3526
3713
|
interval_days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
|
|
3714
|
+
"""
|
|
3715
|
+
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3716
|
+
"""
|
|
3527
3717
|
interval_hours_end_time: pulumi.Input[_builtins.str]
|
|
3718
|
+
"""
|
|
3719
|
+
End time.
|
|
3720
|
+
"""
|
|
3528
3721
|
interval_hours_start_time: pulumi.Input[_builtins.str]
|
|
3722
|
+
"""
|
|
3723
|
+
Start time.
|
|
3724
|
+
"""
|
|
3529
3725
|
elif False:
|
|
3530
3726
|
OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseArgsDict: TypeAlias = Mapping[str, Any]
|
|
3531
3727
|
|
|
@@ -3535,6 +3731,11 @@ class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseA
|
|
|
3535
3731
|
interval_days: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
|
|
3536
3732
|
interval_hours_end_time: pulumi.Input[_builtins.str],
|
|
3537
3733
|
interval_hours_start_time: pulumi.Input[_builtins.str]):
|
|
3734
|
+
"""
|
|
3735
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] interval_days: Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3736
|
+
:param pulumi.Input[_builtins.str] interval_hours_end_time: End time.
|
|
3737
|
+
:param pulumi.Input[_builtins.str] interval_hours_start_time: Start time.
|
|
3738
|
+
"""
|
|
3538
3739
|
pulumi.set(__self__, "interval_days", interval_days)
|
|
3539
3740
|
pulumi.set(__self__, "interval_hours_end_time", interval_hours_end_time)
|
|
3540
3741
|
pulumi.set(__self__, "interval_hours_start_time", interval_hours_start_time)
|
|
@@ -3542,6 +3743,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseA
|
|
|
3542
3743
|
@_builtins.property
|
|
3543
3744
|
@pulumi.getter(name="intervalDays")
|
|
3544
3745
|
def interval_days(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
|
|
3746
|
+
"""
|
|
3747
|
+
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
|
|
3748
|
+
"""
|
|
3545
3749
|
return pulumi.get(self, "interval_days")
|
|
3546
3750
|
|
|
3547
3751
|
@interval_days.setter
|
|
@@ -3551,6 +3755,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseA
|
|
|
3551
3755
|
@_builtins.property
|
|
3552
3756
|
@pulumi.getter(name="intervalHoursEndTime")
|
|
3553
3757
|
def interval_hours_end_time(self) -> pulumi.Input[_builtins.str]:
|
|
3758
|
+
"""
|
|
3759
|
+
End time.
|
|
3760
|
+
"""
|
|
3554
3761
|
return pulumi.get(self, "interval_hours_end_time")
|
|
3555
3762
|
|
|
3556
3763
|
@interval_hours_end_time.setter
|
|
@@ -3560,6 +3767,9 @@ class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseA
|
|
|
3560
3767
|
@_builtins.property
|
|
3561
3768
|
@pulumi.getter(name="intervalHoursStartTime")
|
|
3562
3769
|
def interval_hours_start_time(self) -> pulumi.Input[_builtins.str]:
|
|
3770
|
+
"""
|
|
3771
|
+
Start time.
|
|
3772
|
+
"""
|
|
3563
3773
|
return pulumi.get(self, "interval_hours_start_time")
|
|
3564
3774
|
|
|
3565
3775
|
@interval_hours_start_time.setter
|
|
@@ -3570,7 +3780,13 @@ class OceanRightSizingRuleRecommendationApplicationIntervalWeeklyRepetitionBaseA
|
|
|
3570
3780
|
if not MYPY:
|
|
3571
3781
|
class OceanRightSizingRuleRecommendationApplicationMinThresholdArgsDict(TypedDict):
|
|
3572
3782
|
cpu_percentage: NotRequired[pulumi.Input[_builtins.float]]
|
|
3783
|
+
"""
|
|
3784
|
+
.
|
|
3785
|
+
"""
|
|
3573
3786
|
memory_percentage: NotRequired[pulumi.Input[_builtins.float]]
|
|
3787
|
+
"""
|
|
3788
|
+
.
|
|
3789
|
+
"""
|
|
3574
3790
|
elif False:
|
|
3575
3791
|
OceanRightSizingRuleRecommendationApplicationMinThresholdArgsDict: TypeAlias = Mapping[str, Any]
|
|
3576
3792
|
|
|
@@ -3579,6 +3795,10 @@ class OceanRightSizingRuleRecommendationApplicationMinThresholdArgs:
|
|
|
3579
3795
|
def __init__(__self__, *,
|
|
3580
3796
|
cpu_percentage: Optional[pulumi.Input[_builtins.float]] = None,
|
|
3581
3797
|
memory_percentage: Optional[pulumi.Input[_builtins.float]] = None):
|
|
3798
|
+
"""
|
|
3799
|
+
:param pulumi.Input[_builtins.float] cpu_percentage: .
|
|
3800
|
+
:param pulumi.Input[_builtins.float] memory_percentage: .
|
|
3801
|
+
"""
|
|
3582
3802
|
if cpu_percentage is not None:
|
|
3583
3803
|
pulumi.set(__self__, "cpu_percentage", cpu_percentage)
|
|
3584
3804
|
if memory_percentage is not None:
|
|
@@ -3587,6 +3807,9 @@ class OceanRightSizingRuleRecommendationApplicationMinThresholdArgs:
|
|
|
3587
3807
|
@_builtins.property
|
|
3588
3808
|
@pulumi.getter(name="cpuPercentage")
|
|
3589
3809
|
def cpu_percentage(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3810
|
+
"""
|
|
3811
|
+
.
|
|
3812
|
+
"""
|
|
3590
3813
|
return pulumi.get(self, "cpu_percentage")
|
|
3591
3814
|
|
|
3592
3815
|
@cpu_percentage.setter
|
|
@@ -3596,6 +3819,9 @@ class OceanRightSizingRuleRecommendationApplicationMinThresholdArgs:
|
|
|
3596
3819
|
@_builtins.property
|
|
3597
3820
|
@pulumi.getter(name="memoryPercentage")
|
|
3598
3821
|
def memory_percentage(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3822
|
+
"""
|
|
3823
|
+
.
|
|
3824
|
+
"""
|
|
3599
3825
|
return pulumi.get(self, "memory_percentage")
|
|
3600
3826
|
|
|
3601
3827
|
@memory_percentage.setter
|
|
@@ -3606,7 +3832,13 @@ class OceanRightSizingRuleRecommendationApplicationMinThresholdArgs:
|
|
|
3606
3832
|
if not MYPY:
|
|
3607
3833
|
class OceanRightSizingRuleRecommendationApplicationOverheadValueArgsDict(TypedDict):
|
|
3608
3834
|
cpu_percentage: NotRequired[pulumi.Input[_builtins.float]]
|
|
3835
|
+
"""
|
|
3836
|
+
.
|
|
3837
|
+
"""
|
|
3609
3838
|
memory_percentage: NotRequired[pulumi.Input[_builtins.float]]
|
|
3839
|
+
"""
|
|
3840
|
+
.
|
|
3841
|
+
"""
|
|
3610
3842
|
elif False:
|
|
3611
3843
|
OceanRightSizingRuleRecommendationApplicationOverheadValueArgsDict: TypeAlias = Mapping[str, Any]
|
|
3612
3844
|
|
|
@@ -3615,6 +3847,10 @@ class OceanRightSizingRuleRecommendationApplicationOverheadValueArgs:
|
|
|
3615
3847
|
def __init__(__self__, *,
|
|
3616
3848
|
cpu_percentage: Optional[pulumi.Input[_builtins.float]] = None,
|
|
3617
3849
|
memory_percentage: Optional[pulumi.Input[_builtins.float]] = None):
|
|
3850
|
+
"""
|
|
3851
|
+
:param pulumi.Input[_builtins.float] cpu_percentage: .
|
|
3852
|
+
:param pulumi.Input[_builtins.float] memory_percentage: .
|
|
3853
|
+
"""
|
|
3618
3854
|
if cpu_percentage is not None:
|
|
3619
3855
|
pulumi.set(__self__, "cpu_percentage", cpu_percentage)
|
|
3620
3856
|
if memory_percentage is not None:
|
|
@@ -3623,6 +3859,9 @@ class OceanRightSizingRuleRecommendationApplicationOverheadValueArgs:
|
|
|
3623
3859
|
@_builtins.property
|
|
3624
3860
|
@pulumi.getter(name="cpuPercentage")
|
|
3625
3861
|
def cpu_percentage(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3862
|
+
"""
|
|
3863
|
+
.
|
|
3864
|
+
"""
|
|
3626
3865
|
return pulumi.get(self, "cpu_percentage")
|
|
3627
3866
|
|
|
3628
3867
|
@cpu_percentage.setter
|
|
@@ -3632,6 +3871,9 @@ class OceanRightSizingRuleRecommendationApplicationOverheadValueArgs:
|
|
|
3632
3871
|
@_builtins.property
|
|
3633
3872
|
@pulumi.getter(name="memoryPercentage")
|
|
3634
3873
|
def memory_percentage(self) -> Optional[pulumi.Input[_builtins.float]]:
|
|
3874
|
+
"""
|
|
3875
|
+
.
|
|
3876
|
+
"""
|
|
3635
3877
|
return pulumi.get(self, "memory_percentage")
|
|
3636
3878
|
|
|
3637
3879
|
@memory_percentage.setter
|
|
@@ -5292,6 +5534,7 @@ if not MYPY:
|
|
|
5292
5534
|
availability_vs_cost: NotRequired[pulumi.Input[_builtins.int]]
|
|
5293
5535
|
capacity_reservations: NotRequired[pulumi.Input[Sequence[pulumi.Input['StatefulNodeAzureStrategyCapacityReservationArgsDict']]]]
|
|
5294
5536
|
draining_timeout: NotRequired[pulumi.Input[_builtins.int]]
|
|
5537
|
+
interruption_toleration: NotRequired[pulumi.Input['StatefulNodeAzureStrategyInterruptionTolerationArgsDict']]
|
|
5295
5538
|
od_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
5296
5539
|
optimization_windows: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
5297
5540
|
preferred_life_cycle: NotRequired[pulumi.Input[_builtins.str]]
|
|
@@ -5307,6 +5550,7 @@ class StatefulNodeAzureStrategyArgs:
|
|
|
5307
5550
|
availability_vs_cost: Optional[pulumi.Input[_builtins.int]] = None,
|
|
5308
5551
|
capacity_reservations: Optional[pulumi.Input[Sequence[pulumi.Input['StatefulNodeAzureStrategyCapacityReservationArgs']]]] = None,
|
|
5309
5552
|
draining_timeout: Optional[pulumi.Input[_builtins.int]] = None,
|
|
5553
|
+
interruption_toleration: Optional[pulumi.Input['StatefulNodeAzureStrategyInterruptionTolerationArgs']] = None,
|
|
5310
5554
|
od_windows: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
5311
5555
|
optimization_windows: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
5312
5556
|
preferred_life_cycle: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -5319,6 +5563,8 @@ class StatefulNodeAzureStrategyArgs:
|
|
|
5319
5563
|
pulumi.set(__self__, "capacity_reservations", capacity_reservations)
|
|
5320
5564
|
if draining_timeout is not None:
|
|
5321
5565
|
pulumi.set(__self__, "draining_timeout", draining_timeout)
|
|
5566
|
+
if interruption_toleration is not None:
|
|
5567
|
+
pulumi.set(__self__, "interruption_toleration", interruption_toleration)
|
|
5322
5568
|
if od_windows is not None:
|
|
5323
5569
|
pulumi.set(__self__, "od_windows", od_windows)
|
|
5324
5570
|
if optimization_windows is not None:
|
|
@@ -5366,6 +5612,15 @@ class StatefulNodeAzureStrategyArgs:
|
|
|
5366
5612
|
def draining_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
5367
5613
|
pulumi.set(self, "draining_timeout", value)
|
|
5368
5614
|
|
|
5615
|
+
@_builtins.property
|
|
5616
|
+
@pulumi.getter(name="interruptionToleration")
|
|
5617
|
+
def interruption_toleration(self) -> Optional[pulumi.Input['StatefulNodeAzureStrategyInterruptionTolerationArgs']]:
|
|
5618
|
+
return pulumi.get(self, "interruption_toleration")
|
|
5619
|
+
|
|
5620
|
+
@interruption_toleration.setter
|
|
5621
|
+
def interruption_toleration(self, value: Optional[pulumi.Input['StatefulNodeAzureStrategyInterruptionTolerationArgs']]):
|
|
5622
|
+
pulumi.set(self, "interruption_toleration", value)
|
|
5623
|
+
|
|
5369
5624
|
@_builtins.property
|
|
5370
5625
|
@pulumi.getter(name="odWindows")
|
|
5371
5626
|
def od_windows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
@@ -5506,6 +5761,68 @@ class StatefulNodeAzureStrategyCapacityReservationCapacityReservationGroupArgs:
|
|
|
5506
5761
|
pulumi.set(self, "crg_should_prioritize", value)
|
|
5507
5762
|
|
|
5508
5763
|
|
|
5764
|
+
if not MYPY:
|
|
5765
|
+
class StatefulNodeAzureStrategyInterruptionTolerationArgsDict(TypedDict):
|
|
5766
|
+
cooldown: NotRequired[pulumi.Input[_builtins.int]]
|
|
5767
|
+
evaluation_period: NotRequired[pulumi.Input[_builtins.int]]
|
|
5768
|
+
is_enabled: NotRequired[pulumi.Input[_builtins.bool]]
|
|
5769
|
+
threshold: NotRequired[pulumi.Input[_builtins.int]]
|
|
5770
|
+
elif False:
|
|
5771
|
+
StatefulNodeAzureStrategyInterruptionTolerationArgsDict: TypeAlias = Mapping[str, Any]
|
|
5772
|
+
|
|
5773
|
+
@pulumi.input_type
|
|
5774
|
+
class StatefulNodeAzureStrategyInterruptionTolerationArgs:
|
|
5775
|
+
def __init__(__self__, *,
|
|
5776
|
+
cooldown: Optional[pulumi.Input[_builtins.int]] = None,
|
|
5777
|
+
evaluation_period: Optional[pulumi.Input[_builtins.int]] = None,
|
|
5778
|
+
is_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
5779
|
+
threshold: Optional[pulumi.Input[_builtins.int]] = None):
|
|
5780
|
+
if cooldown is not None:
|
|
5781
|
+
pulumi.set(__self__, "cooldown", cooldown)
|
|
5782
|
+
if evaluation_period is not None:
|
|
5783
|
+
pulumi.set(__self__, "evaluation_period", evaluation_period)
|
|
5784
|
+
if is_enabled is not None:
|
|
5785
|
+
pulumi.set(__self__, "is_enabled", is_enabled)
|
|
5786
|
+
if threshold is not None:
|
|
5787
|
+
pulumi.set(__self__, "threshold", threshold)
|
|
5788
|
+
|
|
5789
|
+
@_builtins.property
|
|
5790
|
+
@pulumi.getter
|
|
5791
|
+
def cooldown(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
5792
|
+
return pulumi.get(self, "cooldown")
|
|
5793
|
+
|
|
5794
|
+
@cooldown.setter
|
|
5795
|
+
def cooldown(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
5796
|
+
pulumi.set(self, "cooldown", value)
|
|
5797
|
+
|
|
5798
|
+
@_builtins.property
|
|
5799
|
+
@pulumi.getter(name="evaluationPeriod")
|
|
5800
|
+
def evaluation_period(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
5801
|
+
return pulumi.get(self, "evaluation_period")
|
|
5802
|
+
|
|
5803
|
+
@evaluation_period.setter
|
|
5804
|
+
def evaluation_period(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
5805
|
+
pulumi.set(self, "evaluation_period", value)
|
|
5806
|
+
|
|
5807
|
+
@_builtins.property
|
|
5808
|
+
@pulumi.getter(name="isEnabled")
|
|
5809
|
+
def is_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
5810
|
+
return pulumi.get(self, "is_enabled")
|
|
5811
|
+
|
|
5812
|
+
@is_enabled.setter
|
|
5813
|
+
def is_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
5814
|
+
pulumi.set(self, "is_enabled", value)
|
|
5815
|
+
|
|
5816
|
+
@_builtins.property
|
|
5817
|
+
@pulumi.getter
|
|
5818
|
+
def threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
5819
|
+
return pulumi.get(self, "threshold")
|
|
5820
|
+
|
|
5821
|
+
@threshold.setter
|
|
5822
|
+
def threshold(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
5823
|
+
pulumi.set(self, "threshold", value)
|
|
5824
|
+
|
|
5825
|
+
|
|
5509
5826
|
if not MYPY:
|
|
5510
5827
|
class StatefulNodeAzureStrategyRevertToSpotArgsDict(TypedDict):
|
|
5511
5828
|
perform_at: pulumi.Input[_builtins.str]
|