@pulumi/spotinst 3.77.0-alpha.1715279464 → 3.77.1

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/index.d.ts CHANGED
@@ -22,7 +22,8 @@ import * as config from "./config";
22
22
  import * as ecs from "./ecs";
23
23
  import * as gcp from "./gcp";
24
24
  import * as gke from "./gke";
25
+ import * as oceancd from "./oceancd";
25
26
  import * as organization from "./organization";
26
27
  import * as spark from "./spark";
27
28
  import * as types from "./types";
28
- export { aws, azure, config, ecs, gcp, gke, organization, spark, types, };
29
+ export { aws, azure, config, ecs, gcp, gke, oceancd, organization, spark, types, };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.spark = exports.organization = exports.gke = exports.gcp = exports.ecs = exports.config = exports.azure = exports.aws = exports.Subscription = exports.StatefulNodeAzure = exports.Provider = exports.HealthCheck = exports.ElastigroupAzureV3 = exports.DataIntegration = void 0;
5
+ exports.types = exports.spark = exports.organization = exports.oceancd = exports.gke = exports.gcp = exports.ecs = exports.config = exports.azure = exports.aws = exports.Subscription = exports.StatefulNodeAzure = exports.Provider = exports.HealthCheck = exports.ElastigroupAzureV3 = exports.DataIntegration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.DataIntegration = null;
@@ -30,6 +30,8 @@ const gcp = require("./gcp");
30
30
  exports.gcp = gcp;
31
31
  const gke = require("./gke");
32
32
  exports.gke = gke;
33
+ const oceancd = require("./oceancd");
34
+ exports.oceancd = oceancd;
33
35
  const organization = require("./organization");
34
36
  exports.organization = organization;
35
37
  const spark = require("./spark");
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"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,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA;AACnF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,0BAA0B,EAAE,OAAO,CAAC,CAAA;AACtF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,yBAAyB,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAChF,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,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { StrategyArgs, StrategyState } from "./strategy";
2
+ export type Strategy = import("./strategy").Strategy;
3
+ export declare const Strategy: typeof import("./strategy").Strategy;
4
+ export { VerificationProviderArgs, VerificationProviderState } from "./verificationProvider";
5
+ export type VerificationProvider = import("./verificationProvider").VerificationProvider;
6
+ export declare const VerificationProvider: typeof import("./verificationProvider").VerificationProvider;
@@ -0,0 +1,27 @@
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.VerificationProvider = exports.Strategy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ exports.Strategy = null;
9
+ utilities.lazyLoad(exports, ["Strategy"], () => require("./strategy"));
10
+ exports.VerificationProvider = null;
11
+ utilities.lazyLoad(exports, ["VerificationProvider"], () => require("./verificationProvider"));
12
+ const _module = {
13
+ version: utilities.getVersion(),
14
+ construct: (name, type, urn) => {
15
+ switch (type) {
16
+ case "spotinst:oceancd/strategy:Strategy":
17
+ return new exports.Strategy(name, undefined, { urn });
18
+ case "spotinst:oceancd/verificationProvider:VerificationProvider":
19
+ return new exports.VerificationProvider(name, undefined, { urn });
20
+ default:
21
+ throw new Error(`unknown resource type ${type}`);
22
+ }
23
+ },
24
+ };
25
+ pulumi.runtime.registerResourceModule("spotinst", "oceancd/strategy", _module);
26
+ pulumi.runtime.registerResourceModule("spotinst", "oceancd/verificationProvider", _module);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../oceancd/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAG/F,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,oCAAoC;gBACrC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,4DAA4D;gBAC7D,OAAO,IAAI,4BAAoB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,UAAU,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Spotinst OceanCD Strategy resource.
6
+ */
7
+ export declare class Strategy extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Strategy resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param state Any extra arguments used during the lookup.
15
+ * @param opts Optional settings to control the behavior of the CustomResource.
16
+ */
17
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: StrategyState, opts?: pulumi.CustomResourceOptions): Strategy;
18
+ /**
19
+ * Returns true if the given object is an instance of Strategy. This is designed to work even
20
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
21
+ */
22
+ static isInstance(obj: any): obj is Strategy;
23
+ /**
24
+ * Represents Canary strategy. Cannot be defined when Rolling object is defined.
25
+ */
26
+ readonly canary: pulumi.Output<outputs.oceancd.StrategyCanary | undefined>;
27
+ /**
28
+ * Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
29
+ */
30
+ readonly rolling: pulumi.Output<outputs.oceancd.StrategyRolling | undefined>;
31
+ readonly strategyName: pulumi.Output<string>;
32
+ /**
33
+ * Create a Strategy resource with the given unique name, arguments, and options.
34
+ *
35
+ * @param name The _unique_ name of the resource.
36
+ * @param args The arguments to use to populate this resource's properties.
37
+ * @param opts A bag of options that control this resource's behavior.
38
+ */
39
+ constructor(name: string, args: StrategyArgs, opts?: pulumi.CustomResourceOptions);
40
+ }
41
+ /**
42
+ * Input properties used for looking up and filtering Strategy resources.
43
+ */
44
+ export interface StrategyState {
45
+ /**
46
+ * Represents Canary strategy. Cannot be defined when Rolling object is defined.
47
+ */
48
+ canary?: pulumi.Input<inputs.oceancd.StrategyCanary>;
49
+ /**
50
+ * Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
51
+ */
52
+ rolling?: pulumi.Input<inputs.oceancd.StrategyRolling>;
53
+ strategyName?: pulumi.Input<string>;
54
+ }
55
+ /**
56
+ * The set of arguments for constructing a Strategy resource.
57
+ */
58
+ export interface StrategyArgs {
59
+ /**
60
+ * Represents Canary strategy. Cannot be defined when Rolling object is defined.
61
+ */
62
+ canary?: pulumi.Input<inputs.oceancd.StrategyCanary>;
63
+ /**
64
+ * Represents Rolling Update strategy. Cannot be defined when Canary object is defined.
65
+ */
66
+ rolling?: pulumi.Input<inputs.oceancd.StrategyRolling>;
67
+ strategyName: pulumi.Input<string>;
68
+ }
@@ -0,0 +1,59 @@
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.Strategy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Spotinst OceanCD Strategy resource.
10
+ */
11
+ class Strategy extends pulumi.CustomResource {
12
+ /**
13
+ * Get an existing Strategy resource's state with the given name, ID, and optional extra
14
+ * properties used to qualify the lookup.
15
+ *
16
+ * @param name The _unique_ name of the resulting resource.
17
+ * @param id The _unique_ provider ID of the resource to lookup.
18
+ * @param state Any extra arguments used during the lookup.
19
+ * @param opts Optional settings to control the behavior of the CustomResource.
20
+ */
21
+ static get(name, id, state, opts) {
22
+ return new Strategy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
23
+ }
24
+ /**
25
+ * Returns true if the given object is an instance of Strategy. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj) {
29
+ if (obj === undefined || obj === null) {
30
+ return false;
31
+ }
32
+ return obj['__pulumiType'] === Strategy.__pulumiType;
33
+ }
34
+ constructor(name, argsOrState, opts) {
35
+ let resourceInputs = {};
36
+ opts = opts || {};
37
+ if (opts.id) {
38
+ const state = argsOrState;
39
+ resourceInputs["canary"] = state ? state.canary : undefined;
40
+ resourceInputs["rolling"] = state ? state.rolling : undefined;
41
+ resourceInputs["strategyName"] = state ? state.strategyName : undefined;
42
+ }
43
+ else {
44
+ const args = argsOrState;
45
+ if ((!args || args.strategyName === undefined) && !opts.urn) {
46
+ throw new Error("Missing required property 'strategyName'");
47
+ }
48
+ resourceInputs["canary"] = args ? args.canary : undefined;
49
+ resourceInputs["rolling"] = args ? args.rolling : undefined;
50
+ resourceInputs["strategyName"] = args ? args.strategyName : undefined;
51
+ }
52
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
53
+ super(Strategy.__pulumiType, name, resourceInputs, opts);
54
+ }
55
+ }
56
+ exports.Strategy = Strategy;
57
+ /** @internal */
58
+ Strategy.__pulumiType = 'spotinst:oceancd/strategy:Strategy';
59
+ //# sourceMappingURL=strategy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategy.js","sourceRoot":"","sources":["../../oceancd/strategy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAoBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjEL,4BAkEC;AApDG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1,164 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Manages a Spotinst OceanCD Verfification Provider resource.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as spotinst from "@pulumi/spotinst";
12
+ *
13
+ * const example = new spotinst.oceancd.VerificationProvider("example", {
14
+ * name: "test-verification-provider",
15
+ * clusterIds: [
16
+ * "Example-Cluster-Id-1",
17
+ * "Example-Cluster-Id-2",
18
+ * "Example-Cluster-Id-3",
19
+ * ],
20
+ * datadog: {
21
+ * address: "1024",
22
+ * apiKey: "512",
23
+ * appKey: "0",
24
+ * },
25
+ * cloudWatch: {
26
+ * iamArn: "arn:aws:iam::123456789012:role/GetMetricData",
27
+ * },
28
+ * prometheus: {
29
+ * address: "http://localhost:9090",
30
+ * },
31
+ * newRelic: {
32
+ * personalApiKey: "AUO32RN20oUMD-40283",
33
+ * accountId: "account-0189718",
34
+ * region: "eu",
35
+ * baseUrlRest: "https://rest.api.newrelic.eu",
36
+ * baseUrlNerdGraph: "https://nerdgraph.api.newrelic.eu",
37
+ * },
38
+ * jenkins: {
39
+ * baseUrl: "http://localhost:9090",
40
+ * username: "test-user",
41
+ * apiToken: "AbCDeeFFGG",
42
+ * },
43
+ * });
44
+ * ```
45
+ */
46
+ export declare class VerificationProvider extends pulumi.CustomResource {
47
+ /**
48
+ * Get an existing VerificationProvider resource's state with the given name, ID, and optional extra
49
+ * properties used to qualify the lookup.
50
+ *
51
+ * @param name The _unique_ name of the resulting resource.
52
+ * @param id The _unique_ provider ID of the resource to lookup.
53
+ * @param state Any extra arguments used during the lookup.
54
+ * @param opts Optional settings to control the behavior of the CustomResource.
55
+ */
56
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VerificationProviderState, opts?: pulumi.CustomResourceOptions): VerificationProvider;
57
+ /**
58
+ * Returns true if the given object is an instance of VerificationProvider. 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: any): obj is VerificationProvider;
62
+ /**
63
+ * Specify the credentials for CloudWatch verification provider.
64
+ */
65
+ readonly cloudWatch: pulumi.Output<outputs.oceancd.VerificationProviderCloudWatch | undefined>;
66
+ /**
67
+ * List of cluster IDs that this Verification Provider will be applied to.
68
+ */
69
+ readonly clusterIds: pulumi.Output<string[]>;
70
+ /**
71
+ * Specify the credentials for datadog verification provider.
72
+ */
73
+ readonly datadog: pulumi.Output<outputs.oceancd.VerificationProviderDatadog | undefined>;
74
+ /**
75
+ * Specify the credentials for Jenkins verification provider.
76
+ */
77
+ readonly jenkins: pulumi.Output<outputs.oceancd.VerificationProviderJenkins | undefined>;
78
+ /**
79
+ * Identifier name for Ocean CD Verification Provider. Must be unique.
80
+ */
81
+ readonly name: pulumi.Output<string>;
82
+ /**
83
+ * Specify the credentials for New Relic verification provider.
84
+ */
85
+ readonly newRelic: pulumi.Output<outputs.oceancd.VerificationProviderNewRelic | undefined>;
86
+ /**
87
+ * Specify the credentials for prometheus verification provider.
88
+ */
89
+ readonly prometheus: pulumi.Output<outputs.oceancd.VerificationProviderPrometheus | undefined>;
90
+ /**
91
+ * Create a VerificationProvider resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: VerificationProviderArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering VerificationProvider resources.
101
+ */
102
+ export interface VerificationProviderState {
103
+ /**
104
+ * Specify the credentials for CloudWatch verification provider.
105
+ */
106
+ cloudWatch?: pulumi.Input<inputs.oceancd.VerificationProviderCloudWatch>;
107
+ /**
108
+ * List of cluster IDs that this Verification Provider will be applied to.
109
+ */
110
+ clusterIds?: pulumi.Input<pulumi.Input<string>[]>;
111
+ /**
112
+ * Specify the credentials for datadog verification provider.
113
+ */
114
+ datadog?: pulumi.Input<inputs.oceancd.VerificationProviderDatadog>;
115
+ /**
116
+ * Specify the credentials for Jenkins verification provider.
117
+ */
118
+ jenkins?: pulumi.Input<inputs.oceancd.VerificationProviderJenkins>;
119
+ /**
120
+ * Identifier name for Ocean CD Verification Provider. Must be unique.
121
+ */
122
+ name?: pulumi.Input<string>;
123
+ /**
124
+ * Specify the credentials for New Relic verification provider.
125
+ */
126
+ newRelic?: pulumi.Input<inputs.oceancd.VerificationProviderNewRelic>;
127
+ /**
128
+ * Specify the credentials for prometheus verification provider.
129
+ */
130
+ prometheus?: pulumi.Input<inputs.oceancd.VerificationProviderPrometheus>;
131
+ }
132
+ /**
133
+ * The set of arguments for constructing a VerificationProvider resource.
134
+ */
135
+ export interface VerificationProviderArgs {
136
+ /**
137
+ * Specify the credentials for CloudWatch verification provider.
138
+ */
139
+ cloudWatch?: pulumi.Input<inputs.oceancd.VerificationProviderCloudWatch>;
140
+ /**
141
+ * List of cluster IDs that this Verification Provider will be applied to.
142
+ */
143
+ clusterIds: pulumi.Input<pulumi.Input<string>[]>;
144
+ /**
145
+ * Specify the credentials for datadog verification provider.
146
+ */
147
+ datadog?: pulumi.Input<inputs.oceancd.VerificationProviderDatadog>;
148
+ /**
149
+ * Specify the credentials for Jenkins verification provider.
150
+ */
151
+ jenkins?: pulumi.Input<inputs.oceancd.VerificationProviderJenkins>;
152
+ /**
153
+ * Identifier name for Ocean CD Verification Provider. Must be unique.
154
+ */
155
+ name?: pulumi.Input<string>;
156
+ /**
157
+ * Specify the credentials for New Relic verification provider.
158
+ */
159
+ newRelic?: pulumi.Input<inputs.oceancd.VerificationProviderNewRelic>;
160
+ /**
161
+ * Specify the credentials for prometheus verification provider.
162
+ */
163
+ prometheus?: pulumi.Input<inputs.oceancd.VerificationProviderPrometheus>;
164
+ }
@@ -0,0 +1,106 @@
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.VerificationProvider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Manages a Spotinst OceanCD Verfification Provider 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.oceancd.VerificationProvider("example", {
18
+ * name: "test-verification-provider",
19
+ * clusterIds: [
20
+ * "Example-Cluster-Id-1",
21
+ * "Example-Cluster-Id-2",
22
+ * "Example-Cluster-Id-3",
23
+ * ],
24
+ * datadog: {
25
+ * address: "1024",
26
+ * apiKey: "512",
27
+ * appKey: "0",
28
+ * },
29
+ * cloudWatch: {
30
+ * iamArn: "arn:aws:iam::123456789012:role/GetMetricData",
31
+ * },
32
+ * prometheus: {
33
+ * address: "http://localhost:9090",
34
+ * },
35
+ * newRelic: {
36
+ * personalApiKey: "AUO32RN20oUMD-40283",
37
+ * accountId: "account-0189718",
38
+ * region: "eu",
39
+ * baseUrlRest: "https://rest.api.newrelic.eu",
40
+ * baseUrlNerdGraph: "https://nerdgraph.api.newrelic.eu",
41
+ * },
42
+ * jenkins: {
43
+ * baseUrl: "http://localhost:9090",
44
+ * username: "test-user",
45
+ * apiToken: "AbCDeeFFGG",
46
+ * },
47
+ * });
48
+ * ```
49
+ */
50
+ class VerificationProvider extends pulumi.CustomResource {
51
+ /**
52
+ * Get an existing VerificationProvider resource's state with the given name, ID, and optional extra
53
+ * properties used to qualify the lookup.
54
+ *
55
+ * @param name The _unique_ name of the resulting resource.
56
+ * @param id The _unique_ provider ID of the resource to lookup.
57
+ * @param state Any extra arguments used during the lookup.
58
+ * @param opts Optional settings to control the behavior of the CustomResource.
59
+ */
60
+ static get(name, id, state, opts) {
61
+ return new VerificationProvider(name, state, Object.assign(Object.assign({}, opts), { id: id }));
62
+ }
63
+ /**
64
+ * Returns true if the given object is an instance of VerificationProvider. This is designed to work even
65
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
66
+ */
67
+ static isInstance(obj) {
68
+ if (obj === undefined || obj === null) {
69
+ return false;
70
+ }
71
+ return obj['__pulumiType'] === VerificationProvider.__pulumiType;
72
+ }
73
+ constructor(name, argsOrState, opts) {
74
+ let resourceInputs = {};
75
+ opts = opts || {};
76
+ if (opts.id) {
77
+ const state = argsOrState;
78
+ resourceInputs["cloudWatch"] = state ? state.cloudWatch : undefined;
79
+ resourceInputs["clusterIds"] = state ? state.clusterIds : undefined;
80
+ resourceInputs["datadog"] = state ? state.datadog : undefined;
81
+ resourceInputs["jenkins"] = state ? state.jenkins : undefined;
82
+ resourceInputs["name"] = state ? state.name : undefined;
83
+ resourceInputs["newRelic"] = state ? state.newRelic : undefined;
84
+ resourceInputs["prometheus"] = state ? state.prometheus : undefined;
85
+ }
86
+ else {
87
+ const args = argsOrState;
88
+ if ((!args || args.clusterIds === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'clusterIds'");
90
+ }
91
+ resourceInputs["cloudWatch"] = args ? args.cloudWatch : undefined;
92
+ resourceInputs["clusterIds"] = args ? args.clusterIds : undefined;
93
+ resourceInputs["datadog"] = args ? args.datadog : undefined;
94
+ resourceInputs["jenkins"] = args ? args.jenkins : undefined;
95
+ resourceInputs["name"] = args ? args.name : undefined;
96
+ resourceInputs["newRelic"] = args ? args.newRelic : undefined;
97
+ resourceInputs["prometheus"] = args ? args.prometheus : undefined;
98
+ }
99
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
100
+ super(VerificationProvider.__pulumiType, name, resourceInputs, opts);
101
+ }
102
+ }
103
+ exports.VerificationProvider = VerificationProvider;
104
+ /** @internal */
105
+ VerificationProvider.__pulumiType = 'spotinst:oceancd/verificationProvider:VerificationProvider';
106
+ //# sourceMappingURL=verificationProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verificationProvider.js","sourceRoot":"","sources":["../../oceancd/verificationProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI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FC;AA/EG,gBAAgB;AACO,iCAAY,GAAG,4DAA4D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/spotinst",
3
- "version": "v3.77.0-alpha.1715279464+ac00037",
3
+ "version": "3.77.1",
4
4
  "description": "A Pulumi package for creating and managing spotinst cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -22,6 +22,7 @@
22
22
  },
23
23
  "pulumi": {
24
24
  "resource": true,
25
- "name": "spotinst"
25
+ "name": "spotinst",
26
+ "version": "3.77.1"
26
27
  }
27
28
  }
package/types/input.d.ts CHANGED
@@ -3217,6 +3217,129 @@ export declare namespace gke {
3217
3217
  batchSizePercentage: pulumi.Input<number>;
3218
3218
  }
3219
3219
  }
3220
+ export declare namespace oceancd {
3221
+ interface StrategyCanary {
3222
+ /**
3223
+ * A list of background verifications.
3224
+ */
3225
+ backgroundVerification?: pulumi.Input<inputs.oceancd.StrategyCanaryBackgroundVerification>;
3226
+ /**
3227
+ * A set of separate conditions of rollout processing.
3228
+ */
3229
+ steps: pulumi.Input<pulumi.Input<inputs.oceancd.StrategyCanaryStep>[]>;
3230
+ }
3231
+ interface StrategyCanaryBackgroundVerification {
3232
+ templateNames: pulumi.Input<pulumi.Input<string>[]>;
3233
+ }
3234
+ interface StrategyCanaryStep {
3235
+ pause?: pulumi.Input<inputs.oceancd.StrategyCanaryStepPause>;
3236
+ setCanaryScale?: pulumi.Input<inputs.oceancd.StrategyCanaryStepSetCanaryScale>;
3237
+ setHeaderRoute?: pulumi.Input<inputs.oceancd.StrategyCanaryStepSetHeaderRoute>;
3238
+ setWeight?: pulumi.Input<number>;
3239
+ stepName?: pulumi.Input<string>;
3240
+ verification?: pulumi.Input<inputs.oceancd.StrategyCanaryStepVerification>;
3241
+ }
3242
+ interface StrategyCanaryStepPause {
3243
+ duration?: pulumi.Input<string>;
3244
+ }
3245
+ interface StrategyCanaryStepSetCanaryScale {
3246
+ matchTrafficWeight?: pulumi.Input<boolean>;
3247
+ replicas?: pulumi.Input<number>;
3248
+ weight?: pulumi.Input<number>;
3249
+ }
3250
+ interface StrategyCanaryStepSetHeaderRoute {
3251
+ headerRouteName: pulumi.Input<string>;
3252
+ matches: pulumi.Input<pulumi.Input<inputs.oceancd.StrategyCanaryStepSetHeaderRouteMatch>[]>;
3253
+ }
3254
+ interface StrategyCanaryStepSetHeaderRouteMatch {
3255
+ headerName: pulumi.Input<string>;
3256
+ headerValue: pulumi.Input<inputs.oceancd.StrategyCanaryStepSetHeaderRouteMatchHeaderValue>;
3257
+ }
3258
+ interface StrategyCanaryStepSetHeaderRouteMatchHeaderValue {
3259
+ exact?: pulumi.Input<string>;
3260
+ prefix?: pulumi.Input<string>;
3261
+ regex?: pulumi.Input<string>;
3262
+ }
3263
+ interface StrategyCanaryStepVerification {
3264
+ templateNames: pulumi.Input<pulumi.Input<string>[]>;
3265
+ }
3266
+ interface StrategyRolling {
3267
+ /**
3268
+ * A set of separate conditions of rollout processing.
3269
+ */
3270
+ steps: pulumi.Input<pulumi.Input<inputs.oceancd.StrategyRollingStep>[]>;
3271
+ }
3272
+ interface StrategyRollingStep {
3273
+ pause?: pulumi.Input<inputs.oceancd.StrategyRollingStepPause>;
3274
+ stepsName?: pulumi.Input<string>;
3275
+ verification?: pulumi.Input<inputs.oceancd.StrategyRollingStepVerification>;
3276
+ }
3277
+ interface StrategyRollingStepPause {
3278
+ duration?: pulumi.Input<string>;
3279
+ }
3280
+ interface StrategyRollingStepVerification {
3281
+ templateNames: pulumi.Input<pulumi.Input<string>[]>;
3282
+ }
3283
+ interface VerificationProviderCloudWatch {
3284
+ /**
3285
+ * Set label key.
3286
+ */
3287
+ iamArn: pulumi.Input<string>;
3288
+ }
3289
+ interface VerificationProviderDatadog {
3290
+ /**
3291
+ * DataDog API URL.
3292
+ */
3293
+ address: pulumi.Input<string>;
3294
+ /**
3295
+ * API key required by the Datadog Agent to submit metrics and events to Datadog.
3296
+ */
3297
+ apiKey: pulumi.Input<string>;
3298
+ /**
3299
+ * API key that gives users access to Datadog’s programmatic API.
3300
+ */
3301
+ appKey: pulumi.Input<string>;
3302
+ }
3303
+ interface VerificationProviderJenkins {
3304
+ /**
3305
+ * The Jenkins server’s access apiToken.
3306
+ */
3307
+ apiToken: pulumi.Input<string>;
3308
+ /**
3309
+ * The address of the Jenkins server within the cluster.
3310
+ */
3311
+ baseUrl: pulumi.Input<string>;
3312
+ /**
3313
+ * The Jenkins server’s access username.
3314
+ */
3315
+ username: pulumi.Input<string>;
3316
+ }
3317
+ interface VerificationProviderNewRelic {
3318
+ accountId: pulumi.Input<string>;
3319
+ /**
3320
+ * The base URL for NerdGraph for a proxy.
3321
+ */
3322
+ baseUrlNerdGraph?: pulumi.Input<string>;
3323
+ /**
3324
+ * The base URL of the New Relic REST API for a proxy.
3325
+ */
3326
+ baseUrlRest?: pulumi.Input<string>;
3327
+ /**
3328
+ * The NewRelic user key
3329
+ */
3330
+ personalApiKey: pulumi.Input<string>;
3331
+ /**
3332
+ * A region which the account is attached to. Default is "us".
3333
+ */
3334
+ region?: pulumi.Input<string>;
3335
+ }
3336
+ interface VerificationProviderPrometheus {
3337
+ /**
3338
+ * The address which the Prometheus server available on.
3339
+ */
3340
+ address: pulumi.Input<string>;
3341
+ }
3342
+ }
3220
3343
  export declare namespace organization {
3221
3344
  interface PolicyPolicyContent {
3222
3345
  /**
package/types/output.d.ts CHANGED
@@ -3216,6 +3216,129 @@ export declare namespace gke {
3216
3216
  batchSizePercentage: number;
3217
3217
  }
3218
3218
  }
3219
+ export declare namespace oceancd {
3220
+ interface StrategyCanary {
3221
+ /**
3222
+ * A list of background verifications.
3223
+ */
3224
+ backgroundVerification?: outputs.oceancd.StrategyCanaryBackgroundVerification;
3225
+ /**
3226
+ * A set of separate conditions of rollout processing.
3227
+ */
3228
+ steps: outputs.oceancd.StrategyCanaryStep[];
3229
+ }
3230
+ interface StrategyCanaryBackgroundVerification {
3231
+ templateNames: string[];
3232
+ }
3233
+ interface StrategyCanaryStep {
3234
+ pause?: outputs.oceancd.StrategyCanaryStepPause;
3235
+ setCanaryScale?: outputs.oceancd.StrategyCanaryStepSetCanaryScale;
3236
+ setHeaderRoute?: outputs.oceancd.StrategyCanaryStepSetHeaderRoute;
3237
+ setWeight?: number;
3238
+ stepName?: string;
3239
+ verification?: outputs.oceancd.StrategyCanaryStepVerification;
3240
+ }
3241
+ interface StrategyCanaryStepPause {
3242
+ duration?: string;
3243
+ }
3244
+ interface StrategyCanaryStepSetCanaryScale {
3245
+ matchTrafficWeight?: boolean;
3246
+ replicas?: number;
3247
+ weight?: number;
3248
+ }
3249
+ interface StrategyCanaryStepSetHeaderRoute {
3250
+ headerRouteName: string;
3251
+ matches: outputs.oceancd.StrategyCanaryStepSetHeaderRouteMatch[];
3252
+ }
3253
+ interface StrategyCanaryStepSetHeaderRouteMatch {
3254
+ headerName: string;
3255
+ headerValue: outputs.oceancd.StrategyCanaryStepSetHeaderRouteMatchHeaderValue;
3256
+ }
3257
+ interface StrategyCanaryStepSetHeaderRouteMatchHeaderValue {
3258
+ exact?: string;
3259
+ prefix?: string;
3260
+ regex?: string;
3261
+ }
3262
+ interface StrategyCanaryStepVerification {
3263
+ templateNames: string[];
3264
+ }
3265
+ interface StrategyRolling {
3266
+ /**
3267
+ * A set of separate conditions of rollout processing.
3268
+ */
3269
+ steps: outputs.oceancd.StrategyRollingStep[];
3270
+ }
3271
+ interface StrategyRollingStep {
3272
+ pause?: outputs.oceancd.StrategyRollingStepPause;
3273
+ stepsName?: string;
3274
+ verification?: outputs.oceancd.StrategyRollingStepVerification;
3275
+ }
3276
+ interface StrategyRollingStepPause {
3277
+ duration?: string;
3278
+ }
3279
+ interface StrategyRollingStepVerification {
3280
+ templateNames: string[];
3281
+ }
3282
+ interface VerificationProviderCloudWatch {
3283
+ /**
3284
+ * Set label key.
3285
+ */
3286
+ iamArn: string;
3287
+ }
3288
+ interface VerificationProviderDatadog {
3289
+ /**
3290
+ * DataDog API URL.
3291
+ */
3292
+ address: string;
3293
+ /**
3294
+ * API key required by the Datadog Agent to submit metrics and events to Datadog.
3295
+ */
3296
+ apiKey: string;
3297
+ /**
3298
+ * API key that gives users access to Datadog’s programmatic API.
3299
+ */
3300
+ appKey: string;
3301
+ }
3302
+ interface VerificationProviderJenkins {
3303
+ /**
3304
+ * The Jenkins server’s access apiToken.
3305
+ */
3306
+ apiToken: string;
3307
+ /**
3308
+ * The address of the Jenkins server within the cluster.
3309
+ */
3310
+ baseUrl: string;
3311
+ /**
3312
+ * The Jenkins server’s access username.
3313
+ */
3314
+ username: string;
3315
+ }
3316
+ interface VerificationProviderNewRelic {
3317
+ accountId: string;
3318
+ /**
3319
+ * The base URL for NerdGraph for a proxy.
3320
+ */
3321
+ baseUrlNerdGraph?: string;
3322
+ /**
3323
+ * The base URL of the New Relic REST API for a proxy.
3324
+ */
3325
+ baseUrlRest?: string;
3326
+ /**
3327
+ * The NewRelic user key
3328
+ */
3329
+ personalApiKey: string;
3330
+ /**
3331
+ * A region which the account is attached to. Default is "us".
3332
+ */
3333
+ region?: string;
3334
+ }
3335
+ interface VerificationProviderPrometheus {
3336
+ /**
3337
+ * The address which the Prometheus server available on.
3338
+ */
3339
+ address: string;
3340
+ }
3341
+ }
3219
3342
  export declare namespace organization {
3220
3343
  interface PolicyPolicyContent {
3221
3344
  /**
package/package.json.bak DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "name": "@pulumi/spotinst",
3
- "version": "${VERSION}",
4
- "description": "A Pulumi package for creating and managing spotinst cloud resources.",
5
- "keywords": [
6
- "pulumi",
7
- "spotinst"
8
- ],
9
- "homepage": "https://pulumi.io",
10
- "repository": "https://github.com/pulumi/pulumi-spotinst",
11
- "license": "Apache-2.0",
12
- "scripts": {
13
- "build": "tsc"
14
- },
15
- "dependencies": {
16
- "@pulumi/pulumi": "^3.0.0"
17
- },
18
- "devDependencies": {
19
- "@types/mime": "^2.0.0",
20
- "@types/node": "^10.0.0",
21
- "typescript": "^4.3.5"
22
- },
23
- "pulumi": {
24
- "resource": true,
25
- "name": "spotinst"
26
- }
27
- }