@pulumi/spotinst 3.76.0-alpha.1713904914 → 3.76.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/index.d.ts +0 -3
- package/azure/index.js +1 -6
- package/azure/index.js.map +1 -1
- package/azure/oceanNp.d.ts +233 -0
- package/azure/oceanNp.js +26 -0
- package/azure/oceanNp.js.map +1 -1
- package/azure/oceanNpVirtualNodeGroup.d.ts +265 -0
- package/azure/oceanNpVirtualNodeGroup.js +85 -0
- package/azure/oceanNpVirtualNodeGroup.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +153 -145
- package/types/output.d.ts +153 -145
- package/azure/elastigroup.d.ts +0 -269
- package/azure/elastigroup.js +0 -202
- package/azure/elastigroup.js.map +0 -1
|
@@ -1,6 +1,91 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages a Spotinst Ocean AKS Virtual Node Groups 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.azure.OceanNpVirtualNodeGroup("example", {
|
|
14
|
+
* name: "testVng",
|
|
15
|
+
* oceanId: "o-134abcd",
|
|
16
|
+
* headrooms: [{
|
|
17
|
+
* cpuPerUnit: 1024,
|
|
18
|
+
* memoryPerUnit: 512,
|
|
19
|
+
* gpuPerUnit: 0,
|
|
20
|
+
* numOfUnits: 2,
|
|
21
|
+
* }],
|
|
22
|
+
* availabilityZones: [
|
|
23
|
+
* "1",
|
|
24
|
+
* "2",
|
|
25
|
+
* "3",
|
|
26
|
+
* ],
|
|
27
|
+
* labels: {
|
|
28
|
+
* key: "env",
|
|
29
|
+
* value: "test",
|
|
30
|
+
* },
|
|
31
|
+
* minCount: 1,
|
|
32
|
+
* maxCount: 100,
|
|
33
|
+
* maxPodsPerNode: 30,
|
|
34
|
+
* enableNodePublicIp: true,
|
|
35
|
+
* osDiskSizeGb: 30,
|
|
36
|
+
* osDiskType: "Managed",
|
|
37
|
+
* osType: "Linux",
|
|
38
|
+
* osSku: "Ubuntu",
|
|
39
|
+
* kubernetesVersion: "1.26",
|
|
40
|
+
* podSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
|
|
41
|
+
* vnetSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
|
|
42
|
+
* spotPercentage: 50,
|
|
43
|
+
* fallbackToOndemand: true,
|
|
44
|
+
* taints: [{
|
|
45
|
+
* key: "taintKey",
|
|
46
|
+
* value: "taintValue",
|
|
47
|
+
* effect: "NoSchedule",
|
|
48
|
+
* }],
|
|
49
|
+
* tags: {
|
|
50
|
+
* tagKey: "env",
|
|
51
|
+
* tagValue: "staging",
|
|
52
|
+
* },
|
|
53
|
+
* filters: {
|
|
54
|
+
* minVcpu: 2,
|
|
55
|
+
* maxVcpu: 16,
|
|
56
|
+
* minMemoryGib: 8,
|
|
57
|
+
* maxMemoryGib: 128,
|
|
58
|
+
* architectures: [
|
|
59
|
+
* "x86_64",
|
|
60
|
+
* "arm64",
|
|
61
|
+
* ],
|
|
62
|
+
* series: [
|
|
63
|
+
* "D v3",
|
|
64
|
+
* "Dds_v4",
|
|
65
|
+
* "Dsv2",
|
|
66
|
+
* ],
|
|
67
|
+
* excludeSeries: [
|
|
68
|
+
* "Av2",
|
|
69
|
+
* "A",
|
|
70
|
+
* "Bs",
|
|
71
|
+
* "D",
|
|
72
|
+
* "E",
|
|
73
|
+
* ],
|
|
74
|
+
* acceleratedNetworking: "Enabled",
|
|
75
|
+
* diskPerformance: "Premium",
|
|
76
|
+
* minGpu: 1,
|
|
77
|
+
* maxGpu: 2,
|
|
78
|
+
* minNics: 1,
|
|
79
|
+
* vmTypes: [
|
|
80
|
+
* "generalPurpose",
|
|
81
|
+
* "GPU",
|
|
82
|
+
* ],
|
|
83
|
+
* minDisk: 1,
|
|
84
|
+
* gpuTypes: ["nvidia-tesla-t4"],
|
|
85
|
+
* },
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
4
89
|
export declare class OceanNpVirtualNodeGroup extends pulumi.CustomResource {
|
|
5
90
|
/**
|
|
6
91
|
* Get an existing OceanNpVirtualNodeGroup resource's state with the given name, ID, and optional extra
|
|
@@ -17,31 +102,91 @@ export declare class OceanNpVirtualNodeGroup extends pulumi.CustomResource {
|
|
|
17
102
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
103
|
*/
|
|
19
104
|
static isInstance(obj: any): obj is OceanNpVirtualNodeGroup;
|
|
105
|
+
/**
|
|
106
|
+
* An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
|
|
107
|
+
*/
|
|
20
108
|
readonly availabilityZones: pulumi.Output<string[] | undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* Enable node public IP.
|
|
111
|
+
*/
|
|
21
112
|
readonly enableNodePublicIp: pulumi.Output<boolean | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
|
|
115
|
+
*/
|
|
22
116
|
readonly fallbackToOndemand: pulumi.Output<boolean | undefined>;
|
|
117
|
+
/**
|
|
118
|
+
* Filters for the VM sizes that can be launched from the virtual node group.
|
|
119
|
+
*/
|
|
23
120
|
readonly filters: pulumi.Output<outputs.azure.OceanNpVirtualNodeGroupFilters | undefined>;
|
|
121
|
+
/**
|
|
122
|
+
* Specify the custom headroom per VNG. Provide a list of headroom objects.
|
|
123
|
+
*/
|
|
24
124
|
readonly headrooms: pulumi.Output<outputs.azure.OceanNpVirtualNodeGroupHeadroom[] | undefined>;
|
|
125
|
+
/**
|
|
126
|
+
* The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
|
|
127
|
+
*/
|
|
25
128
|
readonly kubernetesVersion: pulumi.Output<string | undefined>;
|
|
129
|
+
/**
|
|
130
|
+
* An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
|
|
131
|
+
*/
|
|
26
132
|
readonly labels: pulumi.Output<{
|
|
27
133
|
[key: string]: any;
|
|
28
134
|
} | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Maximum node count limit.
|
|
137
|
+
*/
|
|
29
138
|
readonly maxCount: pulumi.Output<number | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* The maximum number of pods per node in the node pools.
|
|
141
|
+
*/
|
|
30
142
|
readonly maxPodsPerNode: pulumi.Output<number | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Minimum node count limit.
|
|
145
|
+
*/
|
|
31
146
|
readonly minCount: pulumi.Output<number | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Enter a name for the virtual node group.
|
|
149
|
+
*/
|
|
32
150
|
readonly name: pulumi.Output<string>;
|
|
151
|
+
/**
|
|
152
|
+
* The Ocean cluster identifier. Required for Launch Spec creation.
|
|
153
|
+
*/
|
|
33
154
|
readonly oceanId: pulumi.Output<string>;
|
|
155
|
+
/**
|
|
156
|
+
* The size of the OS disk in GB.
|
|
157
|
+
*/
|
|
34
158
|
readonly osDiskSizeGb: pulumi.Output<number | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* The type of the OS disk.
|
|
161
|
+
*/
|
|
35
162
|
readonly osDiskType: pulumi.Output<string | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* The OS SKU of the OS type. Must correlate with the os type.
|
|
165
|
+
*/
|
|
36
166
|
readonly osSku: pulumi.Output<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* The OS type of the OS disk. Can't be modified once set.
|
|
169
|
+
*/
|
|
37
170
|
readonly osType: pulumi.Output<string | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
|
|
173
|
+
*/
|
|
38
174
|
readonly podSubnetIds: pulumi.Output<string[] | undefined>;
|
|
175
|
+
/**
|
|
176
|
+
* Percentage of spot VMs to maintain.
|
|
177
|
+
*/
|
|
39
178
|
readonly spotPercentage: pulumi.Output<number | undefined>;
|
|
40
179
|
readonly tags: pulumi.Output<{
|
|
41
180
|
[key: string]: any;
|
|
42
181
|
} | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* Add taints to a virtual node group.
|
|
184
|
+
*/
|
|
43
185
|
readonly taints: pulumi.Output<outputs.azure.OceanNpVirtualNodeGroupTaint[] | undefined>;
|
|
44
186
|
readonly updatePolicy: pulumi.Output<outputs.azure.OceanNpVirtualNodeGroupUpdatePolicy | undefined>;
|
|
187
|
+
/**
|
|
188
|
+
* The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
|
|
189
|
+
*/
|
|
45
190
|
readonly vnetSubnetIds: pulumi.Output<string[] | undefined>;
|
|
46
191
|
/**
|
|
47
192
|
* Create a OceanNpVirtualNodeGroup resource with the given unique name, arguments, and options.
|
|
@@ -56,61 +201,181 @@ export declare class OceanNpVirtualNodeGroup extends pulumi.CustomResource {
|
|
|
56
201
|
* Input properties used for looking up and filtering OceanNpVirtualNodeGroup resources.
|
|
57
202
|
*/
|
|
58
203
|
export interface OceanNpVirtualNodeGroupState {
|
|
204
|
+
/**
|
|
205
|
+
* An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
|
|
206
|
+
*/
|
|
59
207
|
availabilityZones?: pulumi.Input<pulumi.Input<string>[]>;
|
|
208
|
+
/**
|
|
209
|
+
* Enable node public IP.
|
|
210
|
+
*/
|
|
60
211
|
enableNodePublicIp?: pulumi.Input<boolean>;
|
|
212
|
+
/**
|
|
213
|
+
* If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
|
|
214
|
+
*/
|
|
61
215
|
fallbackToOndemand?: pulumi.Input<boolean>;
|
|
216
|
+
/**
|
|
217
|
+
* Filters for the VM sizes that can be launched from the virtual node group.
|
|
218
|
+
*/
|
|
62
219
|
filters?: pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupFilters>;
|
|
220
|
+
/**
|
|
221
|
+
* Specify the custom headroom per VNG. Provide a list of headroom objects.
|
|
222
|
+
*/
|
|
63
223
|
headrooms?: pulumi.Input<pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupHeadroom>[]>;
|
|
224
|
+
/**
|
|
225
|
+
* The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
|
|
226
|
+
*/
|
|
64
227
|
kubernetesVersion?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
|
|
230
|
+
*/
|
|
65
231
|
labels?: pulumi.Input<{
|
|
66
232
|
[key: string]: any;
|
|
67
233
|
}>;
|
|
234
|
+
/**
|
|
235
|
+
* Maximum node count limit.
|
|
236
|
+
*/
|
|
68
237
|
maxCount?: pulumi.Input<number>;
|
|
238
|
+
/**
|
|
239
|
+
* The maximum number of pods per node in the node pools.
|
|
240
|
+
*/
|
|
69
241
|
maxPodsPerNode?: pulumi.Input<number>;
|
|
242
|
+
/**
|
|
243
|
+
* Minimum node count limit.
|
|
244
|
+
*/
|
|
70
245
|
minCount?: pulumi.Input<number>;
|
|
246
|
+
/**
|
|
247
|
+
* Enter a name for the virtual node group.
|
|
248
|
+
*/
|
|
71
249
|
name?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* The Ocean cluster identifier. Required for Launch Spec creation.
|
|
252
|
+
*/
|
|
72
253
|
oceanId?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The size of the OS disk in GB.
|
|
256
|
+
*/
|
|
73
257
|
osDiskSizeGb?: pulumi.Input<number>;
|
|
258
|
+
/**
|
|
259
|
+
* The type of the OS disk.
|
|
260
|
+
*/
|
|
74
261
|
osDiskType?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* The OS SKU of the OS type. Must correlate with the os type.
|
|
264
|
+
*/
|
|
75
265
|
osSku?: pulumi.Input<string>;
|
|
266
|
+
/**
|
|
267
|
+
* The OS type of the OS disk. Can't be modified once set.
|
|
268
|
+
*/
|
|
76
269
|
osType?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
|
|
272
|
+
*/
|
|
77
273
|
podSubnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
274
|
+
/**
|
|
275
|
+
* Percentage of spot VMs to maintain.
|
|
276
|
+
*/
|
|
78
277
|
spotPercentage?: pulumi.Input<number>;
|
|
79
278
|
tags?: pulumi.Input<{
|
|
80
279
|
[key: string]: any;
|
|
81
280
|
}>;
|
|
281
|
+
/**
|
|
282
|
+
* Add taints to a virtual node group.
|
|
283
|
+
*/
|
|
82
284
|
taints?: pulumi.Input<pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupTaint>[]>;
|
|
83
285
|
updatePolicy?: pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupUpdatePolicy>;
|
|
286
|
+
/**
|
|
287
|
+
* The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
|
|
288
|
+
*/
|
|
84
289
|
vnetSubnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
85
290
|
}
|
|
86
291
|
/**
|
|
87
292
|
* The set of arguments for constructing a OceanNpVirtualNodeGroup resource.
|
|
88
293
|
*/
|
|
89
294
|
export interface OceanNpVirtualNodeGroupArgs {
|
|
295
|
+
/**
|
|
296
|
+
* An Array holding Availability Zones, this configures the availability zones the Ocean may launch instances in per VNG.
|
|
297
|
+
*/
|
|
90
298
|
availabilityZones?: pulumi.Input<pulumi.Input<string>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* Enable node public IP.
|
|
301
|
+
*/
|
|
91
302
|
enableNodePublicIp?: pulumi.Input<boolean>;
|
|
303
|
+
/**
|
|
304
|
+
* If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
|
|
305
|
+
*/
|
|
92
306
|
fallbackToOndemand?: pulumi.Input<boolean>;
|
|
307
|
+
/**
|
|
308
|
+
* Filters for the VM sizes that can be launched from the virtual node group.
|
|
309
|
+
*/
|
|
93
310
|
filters?: pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupFilters>;
|
|
311
|
+
/**
|
|
312
|
+
* Specify the custom headroom per VNG. Provide a list of headroom objects.
|
|
313
|
+
*/
|
|
94
314
|
headrooms?: pulumi.Input<pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupHeadroom>[]>;
|
|
315
|
+
/**
|
|
316
|
+
* The desired Kubernetes version of the launched nodes. In case the value is null, the Kubernetes version of the control plane is used.
|
|
317
|
+
*/
|
|
95
318
|
kubernetesVersion?: pulumi.Input<string>;
|
|
319
|
+
/**
|
|
320
|
+
* An array of labels to add to the virtual node group.Only custom user labels are allowed, and not Kubernetes built-in labels or Spot internal labels.
|
|
321
|
+
*/
|
|
96
322
|
labels?: pulumi.Input<{
|
|
97
323
|
[key: string]: any;
|
|
98
324
|
}>;
|
|
325
|
+
/**
|
|
326
|
+
* Maximum node count limit.
|
|
327
|
+
*/
|
|
99
328
|
maxCount?: pulumi.Input<number>;
|
|
329
|
+
/**
|
|
330
|
+
* The maximum number of pods per node in the node pools.
|
|
331
|
+
*/
|
|
100
332
|
maxPodsPerNode?: pulumi.Input<number>;
|
|
333
|
+
/**
|
|
334
|
+
* Minimum node count limit.
|
|
335
|
+
*/
|
|
101
336
|
minCount?: pulumi.Input<number>;
|
|
337
|
+
/**
|
|
338
|
+
* Enter a name for the virtual node group.
|
|
339
|
+
*/
|
|
102
340
|
name?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* The Ocean cluster identifier. Required for Launch Spec creation.
|
|
343
|
+
*/
|
|
103
344
|
oceanId: pulumi.Input<string>;
|
|
345
|
+
/**
|
|
346
|
+
* The size of the OS disk in GB.
|
|
347
|
+
*/
|
|
104
348
|
osDiskSizeGb?: pulumi.Input<number>;
|
|
349
|
+
/**
|
|
350
|
+
* The type of the OS disk.
|
|
351
|
+
*/
|
|
105
352
|
osDiskType?: pulumi.Input<string>;
|
|
353
|
+
/**
|
|
354
|
+
* The OS SKU of the OS type. Must correlate with the os type.
|
|
355
|
+
*/
|
|
106
356
|
osSku?: pulumi.Input<string>;
|
|
357
|
+
/**
|
|
358
|
+
* The OS type of the OS disk. Can't be modified once set.
|
|
359
|
+
*/
|
|
107
360
|
osType?: pulumi.Input<string>;
|
|
361
|
+
/**
|
|
362
|
+
* The IDs of subnets in an existing VNet into which to assign pods in the cluster (requires azure network-plugin).
|
|
363
|
+
*/
|
|
108
364
|
podSubnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
365
|
+
/**
|
|
366
|
+
* Percentage of spot VMs to maintain.
|
|
367
|
+
*/
|
|
109
368
|
spotPercentage?: pulumi.Input<number>;
|
|
110
369
|
tags?: pulumi.Input<{
|
|
111
370
|
[key: string]: any;
|
|
112
371
|
}>;
|
|
372
|
+
/**
|
|
373
|
+
* Add taints to a virtual node group.
|
|
374
|
+
*/
|
|
113
375
|
taints?: pulumi.Input<pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupTaint>[]>;
|
|
114
376
|
updatePolicy?: pulumi.Input<inputs.azure.OceanNpVirtualNodeGroupUpdatePolicy>;
|
|
377
|
+
/**
|
|
378
|
+
* The IDs of subnets in an existing VNet into which to assign nodes in the cluster (requires azure network-plugin).
|
|
379
|
+
*/
|
|
115
380
|
vnetSubnetIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
116
381
|
}
|
|
@@ -5,6 +5,91 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.OceanNpVirtualNodeGroup = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Manages a Spotinst Ocean AKS Virtual Node Groups 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.azure.OceanNpVirtualNodeGroup("example", {
|
|
18
|
+
* name: "testVng",
|
|
19
|
+
* oceanId: "o-134abcd",
|
|
20
|
+
* headrooms: [{
|
|
21
|
+
* cpuPerUnit: 1024,
|
|
22
|
+
* memoryPerUnit: 512,
|
|
23
|
+
* gpuPerUnit: 0,
|
|
24
|
+
* numOfUnits: 2,
|
|
25
|
+
* }],
|
|
26
|
+
* availabilityZones: [
|
|
27
|
+
* "1",
|
|
28
|
+
* "2",
|
|
29
|
+
* "3",
|
|
30
|
+
* ],
|
|
31
|
+
* labels: {
|
|
32
|
+
* key: "env",
|
|
33
|
+
* value: "test",
|
|
34
|
+
* },
|
|
35
|
+
* minCount: 1,
|
|
36
|
+
* maxCount: 100,
|
|
37
|
+
* maxPodsPerNode: 30,
|
|
38
|
+
* enableNodePublicIp: true,
|
|
39
|
+
* osDiskSizeGb: 30,
|
|
40
|
+
* osDiskType: "Managed",
|
|
41
|
+
* osType: "Linux",
|
|
42
|
+
* osSku: "Ubuntu",
|
|
43
|
+
* kubernetesVersion: "1.26",
|
|
44
|
+
* podSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
|
|
45
|
+
* vnetSubnetIds: ["/subscriptions/123456-1234-1234-1234-123456789/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/virtualNetworks/ExampleVirtualNetwork/subnets/default"],
|
|
46
|
+
* spotPercentage: 50,
|
|
47
|
+
* fallbackToOndemand: true,
|
|
48
|
+
* taints: [{
|
|
49
|
+
* key: "taintKey",
|
|
50
|
+
* value: "taintValue",
|
|
51
|
+
* effect: "NoSchedule",
|
|
52
|
+
* }],
|
|
53
|
+
* tags: {
|
|
54
|
+
* tagKey: "env",
|
|
55
|
+
* tagValue: "staging",
|
|
56
|
+
* },
|
|
57
|
+
* filters: {
|
|
58
|
+
* minVcpu: 2,
|
|
59
|
+
* maxVcpu: 16,
|
|
60
|
+
* minMemoryGib: 8,
|
|
61
|
+
* maxMemoryGib: 128,
|
|
62
|
+
* architectures: [
|
|
63
|
+
* "x86_64",
|
|
64
|
+
* "arm64",
|
|
65
|
+
* ],
|
|
66
|
+
* series: [
|
|
67
|
+
* "D v3",
|
|
68
|
+
* "Dds_v4",
|
|
69
|
+
* "Dsv2",
|
|
70
|
+
* ],
|
|
71
|
+
* excludeSeries: [
|
|
72
|
+
* "Av2",
|
|
73
|
+
* "A",
|
|
74
|
+
* "Bs",
|
|
75
|
+
* "D",
|
|
76
|
+
* "E",
|
|
77
|
+
* ],
|
|
78
|
+
* acceleratedNetworking: "Enabled",
|
|
79
|
+
* diskPerformance: "Premium",
|
|
80
|
+
* minGpu: 1,
|
|
81
|
+
* maxGpu: 2,
|
|
82
|
+
* minNics: 1,
|
|
83
|
+
* vmTypes: [
|
|
84
|
+
* "generalPurpose",
|
|
85
|
+
* "GPU",
|
|
86
|
+
* ],
|
|
87
|
+
* minDisk: 1,
|
|
88
|
+
* gpuTypes: ["nvidia-tesla-t4"],
|
|
89
|
+
* },
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
8
93
|
class OceanNpVirtualNodeGroup extends pulumi.CustomResource {
|
|
9
94
|
/**
|
|
10
95
|
* Get an existing OceanNpVirtualNodeGroup resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oceanNpVirtualNodeGroup.js","sourceRoot":"","sources":["../../azure/oceanNpVirtualNodeGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;
|
|
1
|
+
{"version":3,"file":"oceanNpVirtualNodeGroup.js","sourceRoot":"","sources":["../../azure/oceanNpVirtualNodeGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoFG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD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