@pulumi/spotinst 3.81.0-alpha.1719037205 → 3.81.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/azure/ocean.d.ts DELETED
@@ -1,405 +0,0 @@
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 Ocean AKS resource.
6
- *
7
- * > This resource contains arguments (such as `image` and `extension`) that are automatically populated from the data reported by the Ocean AKS Connector deployed into your cluster. You can override the upstream configuration by defining the corresponding arguments.
8
- *
9
- * ## Example Usage
10
- *
11
- * ```typescript
12
- * import * as pulumi from "@pulumi/pulumi";
13
- * import * as spotinst from "@pulumi/spotinst";
14
- *
15
- * const example = new spotinst.azure.Ocean("example", {
16
- * name: "ocean-westus-dev-aks",
17
- * controllerClusterId: "ocean-westus-dev-aks",
18
- * zones: [
19
- * "1",
20
- * "2",
21
- * "3",
22
- * ],
23
- * acdIdentifier: "acd-12345678",
24
- * aksName: "ocean-westus-dev-aks",
25
- * aksResourceGroupName: "ocean-westus-dev",
26
- * sshPublicKey: "ssh-rsa [... redacted ...] generated-by-azure",
27
- * userName: "some-name",
28
- * resourceGroupName: "some-resource-group-name",
29
- * customData: "[... redacted ...]",
30
- * maxPods: 30,
31
- * managedServiceIdentities: [{
32
- * resourceGroupName: "MC_ocean-westus-dev_ocean-westus-dev-aks_westus",
33
- * name: "ocean-westus-dev-aks-agentpool",
34
- * }],
35
- * tags: [{
36
- * key: "Environment",
37
- * value: "Dev",
38
- * }],
39
- * vmSizes: [{
40
- * whitelists: ["standard_ds2_v2"],
41
- * }],
42
- * osDisk: {
43
- * sizeGb: 130,
44
- * type: "Standard_LRS",
45
- * },
46
- * images: [{
47
- * marketplaces: [{
48
- * publisher: "Canonical",
49
- * offer: "UbuntuServer",
50
- * sku: "18.04-LTS",
51
- * version: "latest",
52
- * }],
53
- * }],
54
- * strategies: [{
55
- * fallbackToOndemand: true,
56
- * spotPercentage: 40,
57
- * }],
58
- * health: {
59
- * gracePeriod: 10,
60
- * },
61
- * network: {
62
- * virtualNetworkName: "vn-name",
63
- * resourceGroupName: "ocean-westus-dev",
64
- * networkInterfaces: [{
65
- * subnetName: "subnet-name",
66
- * assignPublicIp: false,
67
- * isPrimary: false,
68
- * additionalIpConfigs: [{
69
- * name: "ip-config-name",
70
- * privateIpVersion: "ipv4",
71
- * }],
72
- * }],
73
- * },
74
- * extensions: [{
75
- * apiVersion: "1.0",
76
- * minorVersionAutoUpgrade: true,
77
- * name: "extension-name",
78
- * publisher: "Microsoft.Azure.Extensions",
79
- * type: "Linux",
80
- * }],
81
- * loadBalancers: [{
82
- * backendPoolNames: ["terraform-backend-pool"],
83
- * loadBalancerSku: "Standard",
84
- * name: "load-balancer-name",
85
- * resourceGroupName: "resource-group-name",
86
- * type: "loadBalancer",
87
- * }],
88
- * autoscaler: {
89
- * autoscaleIsEnabled: true,
90
- * autoscaleDown: {
91
- * maxScaleDownPercentage: 10,
92
- * },
93
- * resourceLimits: {
94
- * maxVcpu: 1024,
95
- * maxMemoryGib: 40,
96
- * },
97
- * autoscaleHeadroom: {
98
- * automatic: {
99
- * isEnabled: true,
100
- * percentage: 10,
101
- * },
102
- * },
103
- * },
104
- * });
105
- * ```
106
- */
107
- export declare class Ocean extends pulumi.CustomResource {
108
- /**
109
- * Get an existing Ocean resource's state with the given name, ID, and optional extra
110
- * properties used to qualify the lookup.
111
- *
112
- * @param name The _unique_ name of the resulting resource.
113
- * @param id The _unique_ provider ID of the resource to lookup.
114
- * @param state Any extra arguments used during the lookup.
115
- * @param opts Optional settings to control the behavior of the CustomResource.
116
- */
117
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OceanState, opts?: pulumi.CustomResourceOptions): Ocean;
118
- /**
119
- * Returns true if the given object is an instance of Ocean. This is designed to work even
120
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
121
- */
122
- static isInstance(obj: any): obj is Ocean;
123
- /**
124
- * The AKS identifier. A valid identifier should be formatted as `acd-nnnnnnnn` and previously used identifiers cannot be reused.
125
- */
126
- readonly acdIdentifier: pulumi.Output<string>;
127
- /**
128
- * The AKS cluster name.
129
- */
130
- readonly aksName: pulumi.Output<string>;
131
- /**
132
- * Name of the Azure Resource Group where the AKS cluster is located.
133
- */
134
- readonly aksResourceGroupName: pulumi.Output<string>;
135
- /**
136
- * The Ocean Kubernetes Autoscaler object.
137
- */
138
- readonly autoscaler: pulumi.Output<outputs.azure.OceanAutoscaler | undefined>;
139
- /**
140
- * A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
141
- */
142
- readonly controllerClusterId: pulumi.Output<string>;
143
- /**
144
- * Must contain a valid Base64 encoded string.
145
- */
146
- readonly customData: pulumi.Output<string>;
147
- /**
148
- * List of Azure extension objects.
149
- */
150
- readonly extensions: pulumi.Output<outputs.azure.OceanExtension[]>;
151
- /**
152
- * The Ocean AKS Health object.
153
- */
154
- readonly health: pulumi.Output<outputs.azure.OceanHealth>;
155
- /**
156
- * Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
157
- */
158
- readonly images: pulumi.Output<outputs.azure.OceanImage[]>;
159
- /**
160
- * Configure Load Balancer.
161
- */
162
- readonly loadBalancers: pulumi.Output<outputs.azure.OceanLoadBalancer[]>;
163
- /**
164
- * List of Managed Service Identity objects.
165
- */
166
- readonly managedServiceIdentities: pulumi.Output<outputs.azure.OceanManagedServiceIdentity[] | undefined>;
167
- /**
168
- * The maximum number of pods per node in an AKS cluster.
169
- */
170
- readonly maxPods: pulumi.Output<number | undefined>;
171
- /**
172
- * The Ocean cluster name.
173
- */
174
- readonly name: pulumi.Output<string>;
175
- /**
176
- * Define the Virtual Network and Subnet.
177
- */
178
- readonly network: pulumi.Output<outputs.azure.OceanNetwork>;
179
- /**
180
- * OS disk specifications.
181
- */
182
- readonly osDisk: pulumi.Output<outputs.azure.OceanOsDisk | undefined>;
183
- /**
184
- * Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
185
- */
186
- readonly resourceGroupName: pulumi.Output<string>;
187
- /**
188
- * SSH public key for admin access to Linux VMs.
189
- */
190
- readonly sshPublicKey: pulumi.Output<string>;
191
- /**
192
- * The Ocean AKS strategy object.
193
- */
194
- readonly strategies: pulumi.Output<outputs.azure.OceanStrategy[] | undefined>;
195
- /**
196
- * Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
197
- */
198
- readonly tags: pulumi.Output<outputs.azure.OceanTag[] | undefined>;
199
- /**
200
- * Username for admin access to VMs.
201
- */
202
- readonly userName: pulumi.Output<string>;
203
- /**
204
- * The types of virtual machines that may or may not be a part of the Ocean cluster.
205
- */
206
- readonly vmSizes: pulumi.Output<outputs.azure.OceanVmSize[] | undefined>;
207
- /**
208
- * An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
209
- */
210
- readonly zones: pulumi.Output<string[]>;
211
- /**
212
- * Create a Ocean resource with the given unique name, arguments, and options.
213
- *
214
- * @param name The _unique_ name of the resource.
215
- * @param args The arguments to use to populate this resource's properties.
216
- * @param opts A bag of options that control this resource's behavior.
217
- */
218
- constructor(name: string, args: OceanArgs, opts?: pulumi.CustomResourceOptions);
219
- }
220
- /**
221
- * Input properties used for looking up and filtering Ocean resources.
222
- */
223
- export interface OceanState {
224
- /**
225
- * The AKS identifier. A valid identifier should be formatted as `acd-nnnnnnnn` and previously used identifiers cannot be reused.
226
- */
227
- acdIdentifier?: pulumi.Input<string>;
228
- /**
229
- * The AKS cluster name.
230
- */
231
- aksName?: pulumi.Input<string>;
232
- /**
233
- * Name of the Azure Resource Group where the AKS cluster is located.
234
- */
235
- aksResourceGroupName?: pulumi.Input<string>;
236
- /**
237
- * The Ocean Kubernetes Autoscaler object.
238
- */
239
- autoscaler?: pulumi.Input<inputs.azure.OceanAutoscaler>;
240
- /**
241
- * A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
242
- */
243
- controllerClusterId?: pulumi.Input<string>;
244
- /**
245
- * Must contain a valid Base64 encoded string.
246
- */
247
- customData?: pulumi.Input<string>;
248
- /**
249
- * List of Azure extension objects.
250
- */
251
- extensions?: pulumi.Input<pulumi.Input<inputs.azure.OceanExtension>[]>;
252
- /**
253
- * The Ocean AKS Health object.
254
- */
255
- health?: pulumi.Input<inputs.azure.OceanHealth>;
256
- /**
257
- * Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
258
- */
259
- images?: pulumi.Input<pulumi.Input<inputs.azure.OceanImage>[]>;
260
- /**
261
- * Configure Load Balancer.
262
- */
263
- loadBalancers?: pulumi.Input<pulumi.Input<inputs.azure.OceanLoadBalancer>[]>;
264
- /**
265
- * List of Managed Service Identity objects.
266
- */
267
- managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.azure.OceanManagedServiceIdentity>[]>;
268
- /**
269
- * The maximum number of pods per node in an AKS cluster.
270
- */
271
- maxPods?: pulumi.Input<number>;
272
- /**
273
- * The Ocean cluster name.
274
- */
275
- name?: pulumi.Input<string>;
276
- /**
277
- * Define the Virtual Network and Subnet.
278
- */
279
- network?: pulumi.Input<inputs.azure.OceanNetwork>;
280
- /**
281
- * OS disk specifications.
282
- */
283
- osDisk?: pulumi.Input<inputs.azure.OceanOsDisk>;
284
- /**
285
- * Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
286
- */
287
- resourceGroupName?: pulumi.Input<string>;
288
- /**
289
- * SSH public key for admin access to Linux VMs.
290
- */
291
- sshPublicKey?: pulumi.Input<string>;
292
- /**
293
- * The Ocean AKS strategy object.
294
- */
295
- strategies?: pulumi.Input<pulumi.Input<inputs.azure.OceanStrategy>[]>;
296
- /**
297
- * Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
298
- */
299
- tags?: pulumi.Input<pulumi.Input<inputs.azure.OceanTag>[]>;
300
- /**
301
- * Username for admin access to VMs.
302
- */
303
- userName?: pulumi.Input<string>;
304
- /**
305
- * The types of virtual machines that may or may not be a part of the Ocean cluster.
306
- */
307
- vmSizes?: pulumi.Input<pulumi.Input<inputs.azure.OceanVmSize>[]>;
308
- /**
309
- * An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
310
- */
311
- zones?: pulumi.Input<pulumi.Input<string>[]>;
312
- }
313
- /**
314
- * The set of arguments for constructing a Ocean resource.
315
- */
316
- export interface OceanArgs {
317
- /**
318
- * The AKS identifier. A valid identifier should be formatted as `acd-nnnnnnnn` and previously used identifiers cannot be reused.
319
- */
320
- acdIdentifier: pulumi.Input<string>;
321
- /**
322
- * The AKS cluster name.
323
- */
324
- aksName: pulumi.Input<string>;
325
- /**
326
- * Name of the Azure Resource Group where the AKS cluster is located.
327
- */
328
- aksResourceGroupName: pulumi.Input<string>;
329
- /**
330
- * The Ocean Kubernetes Autoscaler object.
331
- */
332
- autoscaler?: pulumi.Input<inputs.azure.OceanAutoscaler>;
333
- /**
334
- * A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
335
- */
336
- controllerClusterId?: pulumi.Input<string>;
337
- /**
338
- * Must contain a valid Base64 encoded string.
339
- */
340
- customData?: pulumi.Input<string>;
341
- /**
342
- * List of Azure extension objects.
343
- */
344
- extensions?: pulumi.Input<pulumi.Input<inputs.azure.OceanExtension>[]>;
345
- /**
346
- * The Ocean AKS Health object.
347
- */
348
- health?: pulumi.Input<inputs.azure.OceanHealth>;
349
- /**
350
- * Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
351
- */
352
- images?: pulumi.Input<pulumi.Input<inputs.azure.OceanImage>[]>;
353
- /**
354
- * Configure Load Balancer.
355
- */
356
- loadBalancers?: pulumi.Input<pulumi.Input<inputs.azure.OceanLoadBalancer>[]>;
357
- /**
358
- * List of Managed Service Identity objects.
359
- */
360
- managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.azure.OceanManagedServiceIdentity>[]>;
361
- /**
362
- * The maximum number of pods per node in an AKS cluster.
363
- */
364
- maxPods?: pulumi.Input<number>;
365
- /**
366
- * The Ocean cluster name.
367
- */
368
- name?: pulumi.Input<string>;
369
- /**
370
- * Define the Virtual Network and Subnet.
371
- */
372
- network?: pulumi.Input<inputs.azure.OceanNetwork>;
373
- /**
374
- * OS disk specifications.
375
- */
376
- osDisk?: pulumi.Input<inputs.azure.OceanOsDisk>;
377
- /**
378
- * Name of the Azure Resource Group into which VMs will be launched. Cannot be updated.
379
- */
380
- resourceGroupName?: pulumi.Input<string>;
381
- /**
382
- * SSH public key for admin access to Linux VMs.
383
- */
384
- sshPublicKey: pulumi.Input<string>;
385
- /**
386
- * The Ocean AKS strategy object.
387
- */
388
- strategies?: pulumi.Input<pulumi.Input<inputs.azure.OceanStrategy>[]>;
389
- /**
390
- * Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
391
- */
392
- tags?: pulumi.Input<pulumi.Input<inputs.azure.OceanTag>[]>;
393
- /**
394
- * Username for admin access to VMs.
395
- */
396
- userName?: pulumi.Input<string>;
397
- /**
398
- * The types of virtual machines that may or may not be a part of the Ocean cluster.
399
- */
400
- vmSizes?: pulumi.Input<pulumi.Input<inputs.azure.OceanVmSize>[]>;
401
- /**
402
- * An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
403
- */
404
- zones?: pulumi.Input<pulumi.Input<string>[]>;
405
- }
package/azure/ocean.js DELETED
@@ -1,206 +0,0 @@
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.Ocean = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * Manages a Spotinst Ocean AKS resource.
10
- *
11
- * > This resource contains arguments (such as `image` and `extension`) that are automatically populated from the data reported by the Ocean AKS Connector deployed into your cluster. You can override the upstream configuration by defining the corresponding arguments.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as spotinst from "@pulumi/spotinst";
18
- *
19
- * const example = new spotinst.azure.Ocean("example", {
20
- * name: "ocean-westus-dev-aks",
21
- * controllerClusterId: "ocean-westus-dev-aks",
22
- * zones: [
23
- * "1",
24
- * "2",
25
- * "3",
26
- * ],
27
- * acdIdentifier: "acd-12345678",
28
- * aksName: "ocean-westus-dev-aks",
29
- * aksResourceGroupName: "ocean-westus-dev",
30
- * sshPublicKey: "ssh-rsa [... redacted ...] generated-by-azure",
31
- * userName: "some-name",
32
- * resourceGroupName: "some-resource-group-name",
33
- * customData: "[... redacted ...]",
34
- * maxPods: 30,
35
- * managedServiceIdentities: [{
36
- * resourceGroupName: "MC_ocean-westus-dev_ocean-westus-dev-aks_westus",
37
- * name: "ocean-westus-dev-aks-agentpool",
38
- * }],
39
- * tags: [{
40
- * key: "Environment",
41
- * value: "Dev",
42
- * }],
43
- * vmSizes: [{
44
- * whitelists: ["standard_ds2_v2"],
45
- * }],
46
- * osDisk: {
47
- * sizeGb: 130,
48
- * type: "Standard_LRS",
49
- * },
50
- * images: [{
51
- * marketplaces: [{
52
- * publisher: "Canonical",
53
- * offer: "UbuntuServer",
54
- * sku: "18.04-LTS",
55
- * version: "latest",
56
- * }],
57
- * }],
58
- * strategies: [{
59
- * fallbackToOndemand: true,
60
- * spotPercentage: 40,
61
- * }],
62
- * health: {
63
- * gracePeriod: 10,
64
- * },
65
- * network: {
66
- * virtualNetworkName: "vn-name",
67
- * resourceGroupName: "ocean-westus-dev",
68
- * networkInterfaces: [{
69
- * subnetName: "subnet-name",
70
- * assignPublicIp: false,
71
- * isPrimary: false,
72
- * additionalIpConfigs: [{
73
- * name: "ip-config-name",
74
- * privateIpVersion: "ipv4",
75
- * }],
76
- * }],
77
- * },
78
- * extensions: [{
79
- * apiVersion: "1.0",
80
- * minorVersionAutoUpgrade: true,
81
- * name: "extension-name",
82
- * publisher: "Microsoft.Azure.Extensions",
83
- * type: "Linux",
84
- * }],
85
- * loadBalancers: [{
86
- * backendPoolNames: ["terraform-backend-pool"],
87
- * loadBalancerSku: "Standard",
88
- * name: "load-balancer-name",
89
- * resourceGroupName: "resource-group-name",
90
- * type: "loadBalancer",
91
- * }],
92
- * autoscaler: {
93
- * autoscaleIsEnabled: true,
94
- * autoscaleDown: {
95
- * maxScaleDownPercentage: 10,
96
- * },
97
- * resourceLimits: {
98
- * maxVcpu: 1024,
99
- * maxMemoryGib: 40,
100
- * },
101
- * autoscaleHeadroom: {
102
- * automatic: {
103
- * isEnabled: true,
104
- * percentage: 10,
105
- * },
106
- * },
107
- * },
108
- * });
109
- * ```
110
- */
111
- class Ocean extends pulumi.CustomResource {
112
- /**
113
- * Get an existing Ocean resource's state with the given name, ID, and optional extra
114
- * properties used to qualify the lookup.
115
- *
116
- * @param name The _unique_ name of the resulting resource.
117
- * @param id The _unique_ provider ID of the resource to lookup.
118
- * @param state Any extra arguments used during the lookup.
119
- * @param opts Optional settings to control the behavior of the CustomResource.
120
- */
121
- static get(name, id, state, opts) {
122
- return new Ocean(name, state, Object.assign(Object.assign({}, opts), { id: id }));
123
- }
124
- /**
125
- * Returns true if the given object is an instance of Ocean. This is designed to work even
126
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
127
- */
128
- static isInstance(obj) {
129
- if (obj === undefined || obj === null) {
130
- return false;
131
- }
132
- return obj['__pulumiType'] === Ocean.__pulumiType;
133
- }
134
- constructor(name, argsOrState, opts) {
135
- let resourceInputs = {};
136
- opts = opts || {};
137
- if (opts.id) {
138
- const state = argsOrState;
139
- resourceInputs["acdIdentifier"] = state ? state.acdIdentifier : undefined;
140
- resourceInputs["aksName"] = state ? state.aksName : undefined;
141
- resourceInputs["aksResourceGroupName"] = state ? state.aksResourceGroupName : undefined;
142
- resourceInputs["autoscaler"] = state ? state.autoscaler : undefined;
143
- resourceInputs["controllerClusterId"] = state ? state.controllerClusterId : undefined;
144
- resourceInputs["customData"] = state ? state.customData : undefined;
145
- resourceInputs["extensions"] = state ? state.extensions : undefined;
146
- resourceInputs["health"] = state ? state.health : undefined;
147
- resourceInputs["images"] = state ? state.images : undefined;
148
- resourceInputs["loadBalancers"] = state ? state.loadBalancers : undefined;
149
- resourceInputs["managedServiceIdentities"] = state ? state.managedServiceIdentities : undefined;
150
- resourceInputs["maxPods"] = state ? state.maxPods : undefined;
151
- resourceInputs["name"] = state ? state.name : undefined;
152
- resourceInputs["network"] = state ? state.network : undefined;
153
- resourceInputs["osDisk"] = state ? state.osDisk : undefined;
154
- resourceInputs["resourceGroupName"] = state ? state.resourceGroupName : undefined;
155
- resourceInputs["sshPublicKey"] = state ? state.sshPublicKey : undefined;
156
- resourceInputs["strategies"] = state ? state.strategies : undefined;
157
- resourceInputs["tags"] = state ? state.tags : undefined;
158
- resourceInputs["userName"] = state ? state.userName : undefined;
159
- resourceInputs["vmSizes"] = state ? state.vmSizes : undefined;
160
- resourceInputs["zones"] = state ? state.zones : undefined;
161
- }
162
- else {
163
- const args = argsOrState;
164
- if ((!args || args.acdIdentifier === undefined) && !opts.urn) {
165
- throw new Error("Missing required property 'acdIdentifier'");
166
- }
167
- if ((!args || args.aksName === undefined) && !opts.urn) {
168
- throw new Error("Missing required property 'aksName'");
169
- }
170
- if ((!args || args.aksResourceGroupName === undefined) && !opts.urn) {
171
- throw new Error("Missing required property 'aksResourceGroupName'");
172
- }
173
- if ((!args || args.sshPublicKey === undefined) && !opts.urn) {
174
- throw new Error("Missing required property 'sshPublicKey'");
175
- }
176
- resourceInputs["acdIdentifier"] = args ? args.acdIdentifier : undefined;
177
- resourceInputs["aksName"] = args ? args.aksName : undefined;
178
- resourceInputs["aksResourceGroupName"] = args ? args.aksResourceGroupName : undefined;
179
- resourceInputs["autoscaler"] = args ? args.autoscaler : undefined;
180
- resourceInputs["controllerClusterId"] = args ? args.controllerClusterId : undefined;
181
- resourceInputs["customData"] = args ? args.customData : undefined;
182
- resourceInputs["extensions"] = args ? args.extensions : undefined;
183
- resourceInputs["health"] = args ? args.health : undefined;
184
- resourceInputs["images"] = args ? args.images : undefined;
185
- resourceInputs["loadBalancers"] = args ? args.loadBalancers : undefined;
186
- resourceInputs["managedServiceIdentities"] = args ? args.managedServiceIdentities : undefined;
187
- resourceInputs["maxPods"] = args ? args.maxPods : undefined;
188
- resourceInputs["name"] = args ? args.name : undefined;
189
- resourceInputs["network"] = args ? args.network : undefined;
190
- resourceInputs["osDisk"] = args ? args.osDisk : undefined;
191
- resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined;
192
- resourceInputs["sshPublicKey"] = args ? args.sshPublicKey : undefined;
193
- resourceInputs["strategies"] = args ? args.strategies : undefined;
194
- resourceInputs["tags"] = args ? args.tags : undefined;
195
- resourceInputs["userName"] = args ? args.userName : undefined;
196
- resourceInputs["vmSizes"] = args ? args.vmSizes : undefined;
197
- resourceInputs["zones"] = args ? args.zones : undefined;
198
- }
199
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
200
- super(Ocean.__pulumiType, name, resourceInputs, opts);
201
- }
202
- }
203
- exports.Ocean = Ocean;
204
- /** @internal */
205
- Ocean.__pulumiType = 'spotinst:azure/ocean:Ocean';
206
- //# sourceMappingURL=ocean.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ocean.js","sourceRoot":"","sources":["../../azure/ocean.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsGG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,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