@pulumi/spotinst 3.99.0-alpha.1731393896 → 3.99.0
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.
|
@@ -19,11 +19,14 @@ export declare class OceanRightSizingRule extends pulumi.CustomResource {
|
|
|
19
19
|
static isInstance(obj: any): obj is OceanRightSizingRule;
|
|
20
20
|
readonly attachWorkloads: pulumi.Output<outputs.OceanRightSizingRuleAttachWorkload[] | undefined>;
|
|
21
21
|
readonly detachWorkloads: pulumi.Output<outputs.OceanRightSizingRuleDetachWorkload[] | undefined>;
|
|
22
|
+
readonly excludePreliminaryRecommendations: pulumi.Output<boolean | undefined>;
|
|
22
23
|
readonly oceanId: pulumi.Output<string | undefined>;
|
|
23
24
|
readonly recommendationApplicationBoundaries: pulumi.Output<outputs.OceanRightSizingRuleRecommendationApplicationBoundary[] | undefined>;
|
|
25
|
+
readonly recommendationApplicationHpas: pulumi.Output<outputs.OceanRightSizingRuleRecommendationApplicationHpa[] | undefined>;
|
|
24
26
|
readonly recommendationApplicationIntervals: pulumi.Output<outputs.OceanRightSizingRuleRecommendationApplicationInterval[]>;
|
|
25
27
|
readonly recommendationApplicationMinThresholds: pulumi.Output<outputs.OceanRightSizingRuleRecommendationApplicationMinThreshold[] | undefined>;
|
|
26
28
|
readonly recommendationApplicationOverheadValues: pulumi.Output<outputs.OceanRightSizingRuleRecommendationApplicationOverheadValue[] | undefined>;
|
|
29
|
+
readonly restartReplicas: pulumi.Output<string | undefined>;
|
|
27
30
|
readonly ruleName: pulumi.Output<string>;
|
|
28
31
|
/**
|
|
29
32
|
* Create a OceanRightSizingRule resource with the given unique name, arguments, and options.
|
|
@@ -40,11 +43,14 @@ export declare class OceanRightSizingRule extends pulumi.CustomResource {
|
|
|
40
43
|
export interface OceanRightSizingRuleState {
|
|
41
44
|
attachWorkloads?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleAttachWorkload>[]>;
|
|
42
45
|
detachWorkloads?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleDetachWorkload>[]>;
|
|
46
|
+
excludePreliminaryRecommendations?: pulumi.Input<boolean>;
|
|
43
47
|
oceanId?: pulumi.Input<string>;
|
|
44
48
|
recommendationApplicationBoundaries?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationBoundary>[]>;
|
|
49
|
+
recommendationApplicationHpas?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationHpa>[]>;
|
|
45
50
|
recommendationApplicationIntervals?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationInterval>[]>;
|
|
46
51
|
recommendationApplicationMinThresholds?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationMinThreshold>[]>;
|
|
47
52
|
recommendationApplicationOverheadValues?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationOverheadValue>[]>;
|
|
53
|
+
restartReplicas?: pulumi.Input<string>;
|
|
48
54
|
ruleName?: pulumi.Input<string>;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
@@ -53,10 +59,13 @@ export interface OceanRightSizingRuleState {
|
|
|
53
59
|
export interface OceanRightSizingRuleArgs {
|
|
54
60
|
attachWorkloads?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleAttachWorkload>[]>;
|
|
55
61
|
detachWorkloads?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleDetachWorkload>[]>;
|
|
62
|
+
excludePreliminaryRecommendations?: pulumi.Input<boolean>;
|
|
56
63
|
oceanId?: pulumi.Input<string>;
|
|
57
64
|
recommendationApplicationBoundaries?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationBoundary>[]>;
|
|
65
|
+
recommendationApplicationHpas?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationHpa>[]>;
|
|
58
66
|
recommendationApplicationIntervals: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationInterval>[]>;
|
|
59
67
|
recommendationApplicationMinThresholds?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationMinThreshold>[]>;
|
|
60
68
|
recommendationApplicationOverheadValues?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationOverheadValue>[]>;
|
|
69
|
+
restartReplicas?: pulumi.Input<string>;
|
|
61
70
|
ruleName: pulumi.Input<string>;
|
|
62
71
|
}
|
package/oceanRightSizingRule.js
CHANGED
|
@@ -35,11 +35,14 @@ class OceanRightSizingRule extends pulumi.CustomResource {
|
|
|
35
35
|
const state = argsOrState;
|
|
36
36
|
resourceInputs["attachWorkloads"] = state ? state.attachWorkloads : undefined;
|
|
37
37
|
resourceInputs["detachWorkloads"] = state ? state.detachWorkloads : undefined;
|
|
38
|
+
resourceInputs["excludePreliminaryRecommendations"] = state ? state.excludePreliminaryRecommendations : undefined;
|
|
38
39
|
resourceInputs["oceanId"] = state ? state.oceanId : undefined;
|
|
39
40
|
resourceInputs["recommendationApplicationBoundaries"] = state ? state.recommendationApplicationBoundaries : undefined;
|
|
41
|
+
resourceInputs["recommendationApplicationHpas"] = state ? state.recommendationApplicationHpas : undefined;
|
|
40
42
|
resourceInputs["recommendationApplicationIntervals"] = state ? state.recommendationApplicationIntervals : undefined;
|
|
41
43
|
resourceInputs["recommendationApplicationMinThresholds"] = state ? state.recommendationApplicationMinThresholds : undefined;
|
|
42
44
|
resourceInputs["recommendationApplicationOverheadValues"] = state ? state.recommendationApplicationOverheadValues : undefined;
|
|
45
|
+
resourceInputs["restartReplicas"] = state ? state.restartReplicas : undefined;
|
|
43
46
|
resourceInputs["ruleName"] = state ? state.ruleName : undefined;
|
|
44
47
|
}
|
|
45
48
|
else {
|
|
@@ -52,11 +55,14 @@ class OceanRightSizingRule extends pulumi.CustomResource {
|
|
|
52
55
|
}
|
|
53
56
|
resourceInputs["attachWorkloads"] = args ? args.attachWorkloads : undefined;
|
|
54
57
|
resourceInputs["detachWorkloads"] = args ? args.detachWorkloads : undefined;
|
|
58
|
+
resourceInputs["excludePreliminaryRecommendations"] = args ? args.excludePreliminaryRecommendations : undefined;
|
|
55
59
|
resourceInputs["oceanId"] = args ? args.oceanId : undefined;
|
|
56
60
|
resourceInputs["recommendationApplicationBoundaries"] = args ? args.recommendationApplicationBoundaries : undefined;
|
|
61
|
+
resourceInputs["recommendationApplicationHpas"] = args ? args.recommendationApplicationHpas : undefined;
|
|
57
62
|
resourceInputs["recommendationApplicationIntervals"] = args ? args.recommendationApplicationIntervals : undefined;
|
|
58
63
|
resourceInputs["recommendationApplicationMinThresholds"] = args ? args.recommendationApplicationMinThresholds : undefined;
|
|
59
64
|
resourceInputs["recommendationApplicationOverheadValues"] = args ? args.recommendationApplicationOverheadValues : undefined;
|
|
65
|
+
resourceInputs["restartReplicas"] = args ? args.restartReplicas : undefined;
|
|
60
66
|
resourceInputs["ruleName"] = args ? args.ruleName : undefined;
|
|
61
67
|
}
|
|
62
68
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oceanRightSizingRule.js","sourceRoot":"","sources":["../oceanRightSizingRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAA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AG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzE,CAAC;;AAtFL,oDAuFC;AAzEG,gBAAgB;AACO,iCAAY,GAAG,0DAA0D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/spotinst",
|
|
3
|
-
"version": "3.99.0
|
|
3
|
+
"version": "3.99.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing spotinst cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "spotinst",
|
|
26
|
-
"version": "3.99.0
|
|
26
|
+
"version": "3.99.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -298,6 +298,9 @@ export interface OceanRightSizingRuleRecommendationApplicationBoundary {
|
|
|
298
298
|
memoryMax?: pulumi.Input<number>;
|
|
299
299
|
memoryMin?: pulumi.Input<number>;
|
|
300
300
|
}
|
|
301
|
+
export interface OceanRightSizingRuleRecommendationApplicationHpa {
|
|
302
|
+
allowHpaRecommendations?: pulumi.Input<boolean>;
|
|
303
|
+
}
|
|
301
304
|
export interface OceanRightSizingRuleRecommendationApplicationInterval {
|
|
302
305
|
monthlyRepetitionBases?: pulumi.Input<pulumi.Input<inputs.OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase>[]>;
|
|
303
306
|
repetitionBasis: pulumi.Input<string>;
|
package/types/output.d.ts
CHANGED
|
@@ -297,6 +297,9 @@ export interface OceanRightSizingRuleRecommendationApplicationBoundary {
|
|
|
297
297
|
memoryMax?: number;
|
|
298
298
|
memoryMin?: number;
|
|
299
299
|
}
|
|
300
|
+
export interface OceanRightSizingRuleRecommendationApplicationHpa {
|
|
301
|
+
allowHpaRecommendations?: boolean;
|
|
302
|
+
}
|
|
300
303
|
export interface OceanRightSizingRuleRecommendationApplicationInterval {
|
|
301
304
|
monthlyRepetitionBases?: outputs.OceanRightSizingRuleRecommendationApplicationIntervalMonthlyRepetitionBase[];
|
|
302
305
|
repetitionBasis: string;
|