@pulumi/spotinst 3.15.0 → 3.16.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.
- package/gke/oceanImport.d.ts +1 -0
- package/gke/oceanImport.js +1 -0
- package/gke/oceanImport.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +9 -0
- package/types/output.d.ts +9 -0
package/gke/oceanImport.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
63
63
|
* * `rollConfig` - (Required) Holds the roll configuration.
|
|
64
64
|
* * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
|
|
65
65
|
* * `launchSpecIds` - (Optional) List of Virtual Node Group identifiers to be rolled.
|
|
66
|
+
* * `batchMinHealthyPercentage` - (Optional) 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.
|
|
66
67
|
*
|
|
67
68
|
* ```typescript
|
|
68
69
|
* import * as pulumi from "@pulumi/pulumi";
|
package/gke/oceanImport.js
CHANGED
|
@@ -68,6 +68,7 @@ const utilities = require("../utilities");
|
|
|
68
68
|
* * `rollConfig` - (Required) Holds the roll configuration.
|
|
69
69
|
* * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
|
|
70
70
|
* * `launchSpecIds` - (Optional) List of Virtual Node Group identifiers to be rolled.
|
|
71
|
+
* * `batchMinHealthyPercentage` - (Optional) 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.
|
|
71
72
|
*
|
|
72
73
|
* ```typescript
|
|
73
74
|
* import * as pulumi from "@pulumi/pulumi";
|
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;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"oceanImport.js","sourceRoot":"","sources":["../../gke/oceanImport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAwFlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC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IAC5D,CAAC;;AA1BL,kCAuIC;AAzHG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/spotinst",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.16.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing spotinst cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.16.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/spotinst",
|
|
3
|
-
"version": "v3.
|
|
3
|
+
"version": "v3.16.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing spotinst cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.16.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -2556,6 +2556,10 @@ export declare namespace aws {
|
|
|
2556
2556
|
shouldRoll: pulumi.Input<boolean>;
|
|
2557
2557
|
}
|
|
2558
2558
|
interface OceanUpdatePolicyRollConfig {
|
|
2559
|
+
/**
|
|
2560
|
+
* 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.
|
|
2561
|
+
*/
|
|
2562
|
+
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
2559
2563
|
/**
|
|
2560
2564
|
* Sets the percentage of the instances to deploy in each batch.
|
|
2561
2565
|
*/
|
|
@@ -3552,6 +3556,10 @@ export declare namespace ecs {
|
|
|
3552
3556
|
shouldRoll: pulumi.Input<boolean>;
|
|
3553
3557
|
}
|
|
3554
3558
|
interface OceanUpdatePolicyRollConfig {
|
|
3559
|
+
/**
|
|
3560
|
+
* 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.
|
|
3561
|
+
*/
|
|
3562
|
+
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
3555
3563
|
/**
|
|
3556
3564
|
* Sets the percentage of the instances to deploy in each batch.
|
|
3557
3565
|
*/
|
|
@@ -4234,6 +4242,7 @@ export declare namespace gke {
|
|
|
4234
4242
|
shouldRoll: pulumi.Input<boolean>;
|
|
4235
4243
|
}
|
|
4236
4244
|
interface OceanImportUpdatePolicyRollConfig {
|
|
4245
|
+
batchMinHealthyPercentage?: pulumi.Input<number>;
|
|
4237
4246
|
/**
|
|
4238
4247
|
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4239
4248
|
* Example: 20.
|
package/types/output.d.ts
CHANGED
|
@@ -2555,6 +2555,10 @@ export declare namespace aws {
|
|
|
2555
2555
|
shouldRoll: boolean;
|
|
2556
2556
|
}
|
|
2557
2557
|
interface OceanUpdatePolicyRollConfig {
|
|
2558
|
+
/**
|
|
2559
|
+
* 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.
|
|
2560
|
+
*/
|
|
2561
|
+
batchMinHealthyPercentage?: number;
|
|
2558
2562
|
/**
|
|
2559
2563
|
* Sets the percentage of the instances to deploy in each batch.
|
|
2560
2564
|
*/
|
|
@@ -3551,6 +3555,10 @@ export declare namespace ecs {
|
|
|
3551
3555
|
shouldRoll: boolean;
|
|
3552
3556
|
}
|
|
3553
3557
|
interface OceanUpdatePolicyRollConfig {
|
|
3558
|
+
/**
|
|
3559
|
+
* 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.
|
|
3560
|
+
*/
|
|
3561
|
+
batchMinHealthyPercentage?: number;
|
|
3554
3562
|
/**
|
|
3555
3563
|
* Sets the percentage of the instances to deploy in each batch.
|
|
3556
3564
|
*/
|
|
@@ -4233,6 +4241,7 @@ export declare namespace gke {
|
|
|
4233
4241
|
shouldRoll: boolean;
|
|
4234
4242
|
}
|
|
4235
4243
|
interface OceanImportUpdatePolicyRollConfig {
|
|
4244
|
+
batchMinHealthyPercentage?: number;
|
|
4236
4245
|
/**
|
|
4237
4246
|
* Value in % to set size of batch in roll. Valid values are 0-100
|
|
4238
4247
|
* Example: 20.
|