@pulumi/spotinst 3.17.0-alpha.1648761787 → 3.17.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/dataIntegration.d.ts +91 -0
- package/dataIntegration.js +71 -0
- package/dataIntegration.js.map +1 -0
- package/gke/oceanImport.d.ts +1 -0
- package/gke/oceanImport.js +1 -0
- package/gke/oceanImport.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +5 -0
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/types/input.d.ts +8 -0
- package/types/output.d.ts +8 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides a Spotinst Data Integration resource.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as spotinst from "@pulumi/spotinst";
|
|
11
|
+
*
|
|
12
|
+
* const example = new spotinst.DataIntegration("example", {
|
|
13
|
+
* s3: {
|
|
14
|
+
* bucketName: "terraform-test-do-not-delete",
|
|
15
|
+
* subdir: "terraform-test-data-integration",
|
|
16
|
+
* },
|
|
17
|
+
* status: "enabled",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class DataIntegration extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing DataIntegration resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DataIntegrationState, opts?: pulumi.CustomResourceOptions): DataIntegration;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of DataIntegration. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is DataIntegration;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the data integration.
|
|
39
|
+
*/
|
|
40
|
+
readonly name: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* When vendor value is s3, the following fields are included:
|
|
43
|
+
*/
|
|
44
|
+
readonly s3: pulumi.Output<outputs.DataIntegrationS3 | undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Determines if this data integration is on or off. Valid values: `"enabled"`, `"disabled"`
|
|
47
|
+
*/
|
|
48
|
+
readonly status: pulumi.Output<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a DataIntegration resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args?: DataIntegrationArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering DataIntegration resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface DataIntegrationState {
|
|
62
|
+
/**
|
|
63
|
+
* The name of the data integration.
|
|
64
|
+
*/
|
|
65
|
+
name?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* When vendor value is s3, the following fields are included:
|
|
68
|
+
*/
|
|
69
|
+
s3?: pulumi.Input<inputs.DataIntegrationS3>;
|
|
70
|
+
/**
|
|
71
|
+
* Determines if this data integration is on or off. Valid values: `"enabled"`, `"disabled"`
|
|
72
|
+
*/
|
|
73
|
+
status?: pulumi.Input<string>;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The set of arguments for constructing a DataIntegration resource.
|
|
77
|
+
*/
|
|
78
|
+
export interface DataIntegrationArgs {
|
|
79
|
+
/**
|
|
80
|
+
* The name of the data integration.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* When vendor value is s3, the following fields are included:
|
|
85
|
+
*/
|
|
86
|
+
s3?: pulumi.Input<inputs.DataIntegrationS3>;
|
|
87
|
+
/**
|
|
88
|
+
* Determines if this data integration is on or off. Valid values: `"enabled"`, `"disabled"`
|
|
89
|
+
*/
|
|
90
|
+
status?: pulumi.Input<string>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DataIntegration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Spotinst Data Integration resource.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as spotinst from "@pulumi/spotinst";
|
|
16
|
+
*
|
|
17
|
+
* const example = new spotinst.DataIntegration("example", {
|
|
18
|
+
* s3: {
|
|
19
|
+
* bucketName: "terraform-test-do-not-delete",
|
|
20
|
+
* subdir: "terraform-test-data-integration",
|
|
21
|
+
* },
|
|
22
|
+
* status: "enabled",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
class DataIntegration extends pulumi.CustomResource {
|
|
27
|
+
constructor(name, argsOrState, opts) {
|
|
28
|
+
let resourceInputs = {};
|
|
29
|
+
opts = opts || {};
|
|
30
|
+
if (opts.id) {
|
|
31
|
+
const state = argsOrState;
|
|
32
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
33
|
+
resourceInputs["s3"] = state ? state.s3 : undefined;
|
|
34
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
const args = argsOrState;
|
|
38
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
39
|
+
resourceInputs["s3"] = args ? args.s3 : undefined;
|
|
40
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
41
|
+
}
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
|
+
super(DataIntegration.__pulumiType, name, resourceInputs, opts);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing DataIntegration resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new DataIntegration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of DataIntegration. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === DataIntegration.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DataIntegration = DataIntegration;
|
|
69
|
+
/** @internal */
|
|
70
|
+
DataIntegration.__pulumiType = 'spotinst:index/dataIntegration:DataIntegration';
|
|
71
|
+
//# sourceMappingURL=dataIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataIntegration.js","sourceRoot":"","sources":["../dataIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IAiDtD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;aAAM;YACH,MAAM,IAAI,GAAG,WAA8C,CAAC;YAC5D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;IAhED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;;AA1BL,0CAkEC;AApDG,gBAAgB;AACO,4BAAY,GAAG,gDAAgD,CAAC"}
|
package/gke/oceanImport.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
48
48
|
* * `strategy` - (Optional) Strategy object.
|
|
49
49
|
* * `drainingTimeout` - (Optional) The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
50
50
|
* * `provisioningModel` - (Optional) Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
51
|
+
* * `preemptiblePercentage`- (Optional) Defines the desired preemptible percentage for the cluster.
|
|
51
52
|
*
|
|
52
53
|
* ```typescript
|
|
53
54
|
* import * as pulumi from "@pulumi/pulumi";
|
package/gke/oceanImport.js
CHANGED
|
@@ -53,6 +53,7 @@ const utilities = require("../utilities");
|
|
|
53
53
|
* * `strategy` - (Optional) Strategy object.
|
|
54
54
|
* * `drainingTimeout` - (Optional) The draining timeout (in seconds) before terminating the instance. If no draining timeout is defined, the default draining timeout will be used.
|
|
55
55
|
* * `provisioningModel` - (Optional) Define the provisioning model of the launched instances. Valid values: `SPOT`, `PREEMPTIBLE`.
|
|
56
|
+
* * `preemptiblePercentage`- (Optional) Defines the desired preemptible percentage for the cluster.
|
|
56
57
|
*
|
|
57
58
|
* ```typescript
|
|
58
59
|
* 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;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,qBA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ACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCAuIC;AAzHG,gBAAgB;AACO,wBAAY,GAAG,sCAAsC,CAAC"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -20,6 +20,7 @@ exports.types = exports.multai = exports.gke = exports.gcp = exports.ecs = expor
|
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
// Export members:
|
|
23
|
+
__exportStar(require("./dataIntegration"), exports);
|
|
23
24
|
__exportStar(require("./elastigroupAzureV3"), exports);
|
|
24
25
|
__exportStar(require("./healthCheck"), exports);
|
|
25
26
|
__exportStar(require("./provider"), exports);
|
|
@@ -42,6 +43,7 @@ exports.multai = multai;
|
|
|
42
43
|
const types = require("./types");
|
|
43
44
|
exports.types = types;
|
|
44
45
|
// Import resources to register:
|
|
46
|
+
const dataIntegration_1 = require("./dataIntegration");
|
|
45
47
|
const elastigroupAzureV3_1 = require("./elastigroupAzureV3");
|
|
46
48
|
const healthCheck_1 = require("./healthCheck");
|
|
47
49
|
const subscription_1 = require("./subscription");
|
|
@@ -49,6 +51,8 @@ const _module = {
|
|
|
49
51
|
version: utilities.getVersion(),
|
|
50
52
|
construct: (name, type, urn) => {
|
|
51
53
|
switch (type) {
|
|
54
|
+
case "spotinst:index/dataIntegration:DataIntegration":
|
|
55
|
+
return new dataIntegration_1.DataIntegration(name, undefined, { urn });
|
|
52
56
|
case "spotinst:index/elastigroupAzureV3:ElastigroupAzureV3":
|
|
53
57
|
return new elastigroupAzureV3_1.ElastigroupAzureV3(name, undefined, { urn });
|
|
54
58
|
case "spotinst:index/healthCheck:HealthCheck":
|
|
@@ -60,6 +64,7 @@ const _module = {
|
|
|
60
64
|
}
|
|
61
65
|
},
|
|
62
66
|
};
|
|
67
|
+
pulumi.runtime.registerResourceModule("spotinst", "index/dataIntegration", _module);
|
|
63
68
|
pulumi.runtime.registerResourceModule("spotinst", "index/elastigroupAzureV3", _module);
|
|
64
69
|
pulumi.runtime.registerResourceModule("spotinst", "index/healthCheck", _module);
|
|
65
70
|
pulumi.runtime.registerResourceModule("spotinst", "index/subscription", _module);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,uDAAqC;AACrC,gDAA8B;AAC9B,6CAA2B;AAC3B,iDAA+B;AAE/B,sBAAsB;AACtB,6BAA6B;AAUzB,kBAAG;AATP,iCAAiC;AAU7B,sBAAK;AATT,mCAAmC;AAU/B,wBAAM;AATV,6BAA6B;AAUzB,kBAAG;AATP,6BAA6B;AAUzB,kBAAG;AATP,6BAA6B;AAUzB,kBAAG;AATP,mCAAmC;AAU/B,wBAAM;AATV,iCAAiC;AAU7B,sBAAK;AAGT,gCAAgC;AAChC,6DAA0D;AAC1D,+CAA4C;AAC5C,iDAA8C;AAE9C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sDAAsD;gBACvD,OAAO,IAAI,uCAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,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mB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAEhF,yCAAsC;AAEtC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,UAAU,EAAE;IAC/C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,2BAA2B,EAAE;YACtC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/spotinst",
|
|
3
|
-
"version": "v3.17.0
|
|
3
|
+
"version": "v3.17.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.17.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.17.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.17.0
|
|
3
|
+
"version": "v3.17.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.17.0
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource spotinst v3.17.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
package/types/input.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import { input as inputs } from "../types";
|
|
3
|
+
export interface DataIntegrationS3 {
|
|
4
|
+
bucketName: pulumi.Input<string>;
|
|
5
|
+
/**
|
|
6
|
+
* The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.
|
|
7
|
+
*/
|
|
8
|
+
subdir?: pulumi.Input<string>;
|
|
9
|
+
}
|
|
3
10
|
export interface ElastigroupAzureV3Image {
|
|
4
11
|
customs?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3ImageCustom>[]>;
|
|
5
12
|
marketplaces?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3ImageMarketplace>[]>;
|
|
@@ -4234,6 +4241,7 @@ export declare namespace gke {
|
|
|
4234
4241
|
* The draining timeout (in seconds) before terminating the instance.
|
|
4235
4242
|
*/
|
|
4236
4243
|
drainingTimeout?: pulumi.Input<number>;
|
|
4244
|
+
preemptiblePercentage?: pulumi.Input<number>;
|
|
4237
4245
|
provisioningModel?: pulumi.Input<string>;
|
|
4238
4246
|
}
|
|
4239
4247
|
interface OceanImportUpdatePolicy {
|
package/types/output.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { output as outputs } from "../types";
|
|
2
|
+
export interface DataIntegrationS3 {
|
|
3
|
+
bucketName: string;
|
|
4
|
+
/**
|
|
5
|
+
* The subdirectory in which your files will be stored within the bucket. Adds the prefix subdir/ to new objects' keys. Can't be null or contain '/'.
|
|
6
|
+
*/
|
|
7
|
+
subdir?: string;
|
|
8
|
+
}
|
|
2
9
|
export interface ElastigroupAzureV3Image {
|
|
3
10
|
customs?: outputs.ElastigroupAzureV3ImageCustom[];
|
|
4
11
|
marketplaces?: outputs.ElastigroupAzureV3ImageMarketplace[];
|
|
@@ -4233,6 +4240,7 @@ export declare namespace gke {
|
|
|
4233
4240
|
* The draining timeout (in seconds) before terminating the instance.
|
|
4234
4241
|
*/
|
|
4235
4242
|
drainingTimeout?: number;
|
|
4243
|
+
preemptiblePercentage?: number;
|
|
4236
4244
|
provisioningModel?: string;
|
|
4237
4245
|
}
|
|
4238
4246
|
interface OceanImportUpdatePolicy {
|