@pulumi/spotinst 3.100.0-alpha.1731738597 → 3.100.0-alpha.1732100584
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.
- package/gke/oceanImport.d.ts +23 -0
- package/gke/oceanImport.js +13 -0
- package/gke/oceanImport.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +30 -0
- package/types/output.d.ts +30 -0
package/gke/oceanImport.d.ts
CHANGED
|
@@ -19,6 +19,17 @@ import * as outputs from "../types/output";
|
|
|
19
19
|
* "n1-standard-1",
|
|
20
20
|
* "n1-standard-2",
|
|
21
21
|
* ],
|
|
22
|
+
* filters: {
|
|
23
|
+
* excludeFamilies: ["n2"],
|
|
24
|
+
* includeFamilies: [
|
|
25
|
+
* "c2",
|
|
26
|
+
* "c3",
|
|
27
|
+
* ],
|
|
28
|
+
* minMemoryGib: 8,
|
|
29
|
+
* maxMemoryGib: 16,
|
|
30
|
+
* minVcpu: 2,
|
|
31
|
+
* maxVcpu: 16,
|
|
32
|
+
* },
|
|
22
33
|
* backendServices: [{
|
|
23
34
|
* serviceName: "example-backend-service",
|
|
24
35
|
* locationType: "regional",
|
|
@@ -81,6 +92,10 @@ export declare class OceanImport extends pulumi.CustomResource {
|
|
|
81
92
|
* The number of instances to launch and maintain in the cluster.
|
|
82
93
|
*/
|
|
83
94
|
readonly desiredCapacity: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
|
|
97
|
+
*/
|
|
98
|
+
readonly filters: pulumi.Output<outputs.gke.OceanImportFilters | undefined>;
|
|
84
99
|
/**
|
|
85
100
|
* The zone the master cluster is located in.
|
|
86
101
|
*/
|
|
@@ -156,6 +171,10 @@ export interface OceanImportState {
|
|
|
156
171
|
* The number of instances to launch and maintain in the cluster.
|
|
157
172
|
*/
|
|
158
173
|
desiredCapacity?: pulumi.Input<number>;
|
|
174
|
+
/**
|
|
175
|
+
* List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
|
|
176
|
+
*/
|
|
177
|
+
filters?: pulumi.Input<inputs.gke.OceanImportFilters>;
|
|
159
178
|
/**
|
|
160
179
|
* The zone the master cluster is located in.
|
|
161
180
|
*/
|
|
@@ -222,6 +241,10 @@ export interface OceanImportArgs {
|
|
|
222
241
|
* The number of instances to launch and maintain in the cluster.
|
|
223
242
|
*/
|
|
224
243
|
desiredCapacity?: pulumi.Input<number>;
|
|
244
|
+
/**
|
|
245
|
+
* List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with whitelist/blacklist.
|
|
246
|
+
*/
|
|
247
|
+
filters?: pulumi.Input<inputs.gke.OceanImportFilters>;
|
|
225
248
|
/**
|
|
226
249
|
* The zone the master cluster is located in.
|
|
227
250
|
*/
|
package/gke/oceanImport.js
CHANGED
|
@@ -23,6 +23,17 @@ const utilities = require("../utilities");
|
|
|
23
23
|
* "n1-standard-1",
|
|
24
24
|
* "n1-standard-2",
|
|
25
25
|
* ],
|
|
26
|
+
* filters: {
|
|
27
|
+
* excludeFamilies: ["n2"],
|
|
28
|
+
* includeFamilies: [
|
|
29
|
+
* "c2",
|
|
30
|
+
* "c3",
|
|
31
|
+
* ],
|
|
32
|
+
* minMemoryGib: 8,
|
|
33
|
+
* maxMemoryGib: 16,
|
|
34
|
+
* minVcpu: 2,
|
|
35
|
+
* maxVcpu: 16,
|
|
36
|
+
* },
|
|
26
37
|
* backendServices: [{
|
|
27
38
|
* serviceName: "example-backend-service",
|
|
28
39
|
* locationType: "regional",
|
|
@@ -79,6 +90,7 @@ class OceanImport extends pulumi.CustomResource {
|
|
|
79
90
|
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
80
91
|
resourceInputs["controllerClusterId"] = state ? state.controllerClusterId : undefined;
|
|
81
92
|
resourceInputs["desiredCapacity"] = state ? state.desiredCapacity : undefined;
|
|
93
|
+
resourceInputs["filters"] = state ? state.filters : undefined;
|
|
82
94
|
resourceInputs["location"] = state ? state.location : undefined;
|
|
83
95
|
resourceInputs["maxSize"] = state ? state.maxSize : undefined;
|
|
84
96
|
resourceInputs["minSize"] = state ? state.minSize : undefined;
|
|
@@ -104,6 +116,7 @@ class OceanImport extends pulumi.CustomResource {
|
|
|
104
116
|
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
105
117
|
resourceInputs["controllerClusterId"] = args ? args.controllerClusterId : undefined;
|
|
106
118
|
resourceInputs["desiredCapacity"] = args ? args.desiredCapacity : undefined;
|
|
119
|
+
resourceInputs["filters"] = args ? args.filters : undefined;
|
|
107
120
|
resourceInputs["location"] = args ? args.location : undefined;
|
|
108
121
|
resourceInputs["maxSize"] = args ? args.maxSize : undefined;
|
|
109
122
|
resourceInputs["minSize"] = args ? args.minSize : undefined;
|
package/gke/oceanImport.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oceanImport.js","sourceRoot":"","sources":["../../gke/oceanImport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"oceanImport.js","sourceRoot":"","sources":["../../gke/oceanImport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,C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B;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/spotinst",
|
|
3
|
-
"version": "3.100.0-alpha.
|
|
3
|
+
"version": "3.100.0-alpha.1732100584",
|
|
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.100.0-alpha.
|
|
26
|
+
"version": "3.100.0-alpha.1732100584"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -4411,6 +4411,10 @@ export declare namespace gke {
|
|
|
4411
4411
|
* The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
4412
4412
|
*/
|
|
4413
4413
|
evaluationPeriods?: pulumi.Input<number>;
|
|
4414
|
+
/**
|
|
4415
|
+
* When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
4416
|
+
*/
|
|
4417
|
+
isAggressiveScaleDownEnabled?: pulumi.Input<boolean>;
|
|
4414
4418
|
/**
|
|
4415
4419
|
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
4416
4420
|
*/
|
|
@@ -4466,6 +4470,32 @@ export declare namespace gke {
|
|
|
4466
4470
|
*/
|
|
4467
4471
|
ports: pulumi.Input<pulumi.Input<string>[]>;
|
|
4468
4472
|
}
|
|
4473
|
+
interface OceanImportFilters {
|
|
4474
|
+
/**
|
|
4475
|
+
* 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.
|
|
4476
|
+
*/
|
|
4477
|
+
excludeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4478
|
+
/**
|
|
4479
|
+
* 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.
|
|
4480
|
+
*/
|
|
4481
|
+
includeFamilies?: pulumi.Input<pulumi.Input<string>[]>;
|
|
4482
|
+
/**
|
|
4483
|
+
* Maximum amount of Memory (GiB).
|
|
4484
|
+
*/
|
|
4485
|
+
maxMemoryGib?: pulumi.Input<number>;
|
|
4486
|
+
/**
|
|
4487
|
+
* Maximum number of vcpus available.
|
|
4488
|
+
*/
|
|
4489
|
+
maxVcpu?: pulumi.Input<number>;
|
|
4490
|
+
/**
|
|
4491
|
+
* Minimum amount of Memory (GiB).
|
|
4492
|
+
*/
|
|
4493
|
+
minMemoryGib?: pulumi.Input<number>;
|
|
4494
|
+
/**
|
|
4495
|
+
* Minimum number of vcpus available.
|
|
4496
|
+
*/
|
|
4497
|
+
minVcpu?: pulumi.Input<number>;
|
|
4498
|
+
}
|
|
4469
4499
|
interface OceanImportScheduledTask {
|
|
4470
4500
|
/**
|
|
4471
4501
|
* Set shutdown hours for cluster object.
|
package/types/output.d.ts
CHANGED
|
@@ -4410,6 +4410,10 @@ export declare namespace gke {
|
|
|
4410
4410
|
* The number of evaluation periods that should accumulate before a scale down action takes place.
|
|
4411
4411
|
*/
|
|
4412
4412
|
evaluationPeriods?: number;
|
|
4413
|
+
/**
|
|
4414
|
+
* When set to 'true', the Aggressive Scale Down feature is enabled.
|
|
4415
|
+
*/
|
|
4416
|
+
isAggressiveScaleDownEnabled?: boolean;
|
|
4413
4417
|
/**
|
|
4414
4418
|
* Would represent the maximum % to scale-down. Number between 1-100.
|
|
4415
4419
|
*/
|
|
@@ -4465,6 +4469,32 @@ export declare namespace gke {
|
|
|
4465
4469
|
*/
|
|
4466
4470
|
ports: string[];
|
|
4467
4471
|
}
|
|
4472
|
+
interface OceanImportFilters {
|
|
4473
|
+
/**
|
|
4474
|
+
* 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.
|
|
4475
|
+
*/
|
|
4476
|
+
excludeFamilies?: string[];
|
|
4477
|
+
/**
|
|
4478
|
+
* 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.
|
|
4479
|
+
*/
|
|
4480
|
+
includeFamilies?: string[];
|
|
4481
|
+
/**
|
|
4482
|
+
* Maximum amount of Memory (GiB).
|
|
4483
|
+
*/
|
|
4484
|
+
maxMemoryGib?: number;
|
|
4485
|
+
/**
|
|
4486
|
+
* Maximum number of vcpus available.
|
|
4487
|
+
*/
|
|
4488
|
+
maxVcpu?: number;
|
|
4489
|
+
/**
|
|
4490
|
+
* Minimum amount of Memory (GiB).
|
|
4491
|
+
*/
|
|
4492
|
+
minMemoryGib?: number;
|
|
4493
|
+
/**
|
|
4494
|
+
* Minimum number of vcpus available.
|
|
4495
|
+
*/
|
|
4496
|
+
minVcpu?: number;
|
|
4497
|
+
}
|
|
4468
4498
|
interface OceanImportScheduledTask {
|
|
4469
4499
|
/**
|
|
4470
4500
|
* Set shutdown hours for cluster object.
|