@pulumi/spotinst 3.97.0-alpha.1728367830 → 3.97.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.
@@ -20,6 +20,7 @@ export declare class ElastigroupAzureV3 extends pulumi.CustomResource {
20
20
  readonly customData: pulumi.Output<string | undefined>;
21
21
  readonly desiredCapacity: pulumi.Output<number | undefined>;
22
22
  readonly drainingTimeout: pulumi.Output<number>;
23
+ readonly extensions: pulumi.Output<outputs.ElastigroupAzureV3Extension[]>;
23
24
  readonly fallbackToOnDemand: pulumi.Output<boolean>;
24
25
  readonly images: pulumi.Output<outputs.ElastigroupAzureV3Image[] | undefined>;
25
26
  readonly login: pulumi.Output<outputs.ElastigroupAzureV3Login | undefined>;
@@ -53,6 +54,7 @@ export interface ElastigroupAzureV3State {
53
54
  customData?: pulumi.Input<string>;
54
55
  desiredCapacity?: pulumi.Input<number>;
55
56
  drainingTimeout?: pulumi.Input<number>;
57
+ extensions?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3Extension>[]>;
56
58
  fallbackToOnDemand?: pulumi.Input<boolean>;
57
59
  images?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3Image>[]>;
58
60
  login?: pulumi.Input<inputs.ElastigroupAzureV3Login>;
@@ -78,6 +80,7 @@ export interface ElastigroupAzureV3Args {
78
80
  customData?: pulumi.Input<string>;
79
81
  desiredCapacity?: pulumi.Input<number>;
80
82
  drainingTimeout?: pulumi.Input<number>;
83
+ extensions?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3Extension>[]>;
81
84
  fallbackToOnDemand: pulumi.Input<boolean>;
82
85
  images?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3Image>[]>;
83
86
  login?: pulumi.Input<inputs.ElastigroupAzureV3Login>;
@@ -36,6 +36,7 @@ class ElastigroupAzureV3 extends pulumi.CustomResource {
36
36
  resourceInputs["customData"] = state ? state.customData : undefined;
37
37
  resourceInputs["desiredCapacity"] = state ? state.desiredCapacity : undefined;
38
38
  resourceInputs["drainingTimeout"] = state ? state.drainingTimeout : undefined;
39
+ resourceInputs["extensions"] = state ? state.extensions : undefined;
39
40
  resourceInputs["fallbackToOnDemand"] = state ? state.fallbackToOnDemand : undefined;
40
41
  resourceInputs["images"] = state ? state.images : undefined;
41
42
  resourceInputs["login"] = state ? state.login : undefined;
@@ -77,6 +78,7 @@ class ElastigroupAzureV3 extends pulumi.CustomResource {
77
78
  resourceInputs["customData"] = args ? args.customData : undefined;
78
79
  resourceInputs["desiredCapacity"] = args ? args.desiredCapacity : undefined;
79
80
  resourceInputs["drainingTimeout"] = args ? args.drainingTimeout : undefined;
81
+ resourceInputs["extensions"] = args ? args.extensions : undefined;
80
82
  resourceInputs["fallbackToOnDemand"] = args ? args.fallbackToOnDemand : undefined;
81
83
  resourceInputs["images"] = args ? args.images : undefined;
82
84
  resourceInputs["login"] = args ? args.login : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"elastigroupAzureV3.js","sourceRoot":"","sources":["../elastigroupAzureV3.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA+BD,YAAY,IAAY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c,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAhIL,gDAiIC;AAnHG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/spotinst",
3
- "version": "3.97.0-alpha.1728367830",
3
+ "version": "3.97.0",
4
4
  "description": "A Pulumi package for creating and managing spotinst cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "spotinst",
26
- "version": "3.97.0-alpha.1728367830"
26
+ "version": "3.97.0"
27
27
  }
28
28
  }
@@ -3,6 +3,508 @@ import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
5
  * Provides a Spotinst stateful node Azure 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 testStatefulNodeAzure = new spotinst.StatefulNodeAzure("test_stateful_node_azure", {
14
+ * name: "example_stateful_node_azure",
15
+ * region: "eastus",
16
+ * resourceGroupName: "spotinst-azure",
17
+ * description: "example_stateful_node_azure_description",
18
+ * strategy: {
19
+ * drainingTimeout: 30,
20
+ * fallbackToOnDemand: true,
21
+ * optimizationWindows: ["Tue:19:46-Tue:20:46"],
22
+ * odWindows: ["Wed:19:46-Wed:21:46"],
23
+ * availabilityVsCost: 100,
24
+ * vmAdmins: [
25
+ * "UbuntuUser",
26
+ * "TestUser",
27
+ * ],
28
+ * revertToSpot: {
29
+ * performAt: "timeWindow",
30
+ * },
31
+ * preferredLifeCycle: "od",
32
+ * capacityReservations: [{
33
+ * shouldUtilize: true,
34
+ * utilizationStrategy: "utilizeOverOD",
35
+ * capacityReservationGroups: [{
36
+ * crgName: "crg name",
37
+ * crgResourceGroupName: "resourceGroupName",
38
+ * crgShouldPrioritize: true,
39
+ * }],
40
+ * }],
41
+ * },
42
+ * os: "Linux",
43
+ * vmSizes: {
44
+ * odSizes: [
45
+ * "standard_ds1_v2",
46
+ * "standard_ds2_v2",
47
+ * ],
48
+ * spotSizes: [
49
+ * "standard_ds1_v2",
50
+ * "standard_ds2_v2",
51
+ * ],
52
+ * preferredSpotSizes: ["standard_ds1_v2"],
53
+ * },
54
+ * zones: [
55
+ * "1",
56
+ * "3",
57
+ * ],
58
+ * preferredZone: "1",
59
+ * customData: "",
60
+ * shutdownScript: "",
61
+ * userData: "",
62
+ * vmName: "VMName",
63
+ * vmNamePrefix: "VMNamePrefix",
64
+ * licenseType: "SLES_BYOS",
65
+ * bootDiagnostics: [{
66
+ * isEnabled: true,
67
+ * storageUrl: "https://.blob.core.windows.net/test",
68
+ * type: "unmanaged",
69
+ * }],
70
+ * dataDisks: [
71
+ * {
72
+ * sizeGb: 1,
73
+ * lun: 1,
74
+ * type: "Standard_LRS",
75
+ * },
76
+ * {
77
+ * sizeGb: 10,
78
+ * lun: 2,
79
+ * type: "Standard_LRS",
80
+ * },
81
+ * ],
82
+ * extensions: [{
83
+ * name: "extensionName",
84
+ * type: "customScript",
85
+ * publisher: "Microsoft.Azure.Extensions",
86
+ * apiVersion: "2.0",
87
+ * minorVersionAutoUpgrade: true,
88
+ * protectedSettings: {
89
+ * script: "IyEvYmluL2Jhc2gKZWNobyAibmlyIiA+IC9ob29uaXIudHh0Cg==",
90
+ * },
91
+ * publicSettings: {
92
+ * fileUris: "https://testspot/Azuretest.sh",
93
+ * },
94
+ * }],
95
+ * image: {
96
+ * marketplaceImages: [{
97
+ * publisher: "Canonical",
98
+ * offer: "UbuntuServer",
99
+ * sku: "16.04-LTS",
100
+ * version: "latest",
101
+ * }],
102
+ * customImages: [{
103
+ * customImageResourceGroupName: "resourceGroupName",
104
+ * name: "imageName",
105
+ * }],
106
+ * galleries: [{
107
+ * galleryResourceGroupName: "resourceGroupName",
108
+ * galleryName: "galleryName",
109
+ * imageName: "imageName",
110
+ * versionName: "1.1.0",
111
+ * spotAccountId: "act-123456",
112
+ * }],
113
+ * },
114
+ * loadBalancers: [{
115
+ * type: "loadBalancer",
116
+ * resourceGroupName: "testResourceGroup",
117
+ * name: "testLoadBalancer",
118
+ * sku: "Standard",
119
+ * backendPoolNames: [
120
+ * "testBackendPool1",
121
+ * "testBackendPool2",
122
+ * ],
123
+ * }],
124
+ * login: {
125
+ * userName: "admin",
126
+ * sshPublicKey: "33a2s1f3g5a1df5g1ad3f2g1adfg56dfg==",
127
+ * },
128
+ * managedServiceIdentities: [{
129
+ * name: "mySI2",
130
+ * resourceGroupName: "myResourceGroup",
131
+ * }],
132
+ * network: {
133
+ * networkResourceGroupName: "subnetResourceGroup",
134
+ * virtualNetworkName: "vname",
135
+ * networkInterfaces: [{
136
+ * isPrimary: true,
137
+ * subnetName: "testSubnet",
138
+ * assignPublicIp: true,
139
+ * publicIpSku: "Standard",
140
+ * networkSecurityGroups: [{
141
+ * networkResourceGroupName: "test",
142
+ * name: "test",
143
+ * }],
144
+ * enableIpForwarding: true,
145
+ * privateIpAddresses: ["172.23.4.20"],
146
+ * additionalIpConfigurations: [{
147
+ * name: "test",
148
+ * privateIpAddressVersion: "IPv4",
149
+ * }],
150
+ * publicIps: [{
151
+ * networkResourceGroupName: "resourceGroup",
152
+ * name: "test",
153
+ * }],
154
+ * applicationSecurityGroups: [{
155
+ * networkResourceGroupName: "AsgResourceGroup",
156
+ * name: "AsgName",
157
+ * }],
158
+ * }],
159
+ * },
160
+ * osDisk: {
161
+ * sizeGb: 30,
162
+ * type: "Standard_LRS",
163
+ * caching: "ReadOnly",
164
+ * },
165
+ * secrets: [{
166
+ * sourceVaults: [{
167
+ * name: "string",
168
+ * resourceGroupName: "string",
169
+ * }],
170
+ * vaultCertificates: [{
171
+ * certificateUrl: "string",
172
+ * certificateStore: "string",
173
+ * }],
174
+ * }],
175
+ * security: {
176
+ * securityType: "ConfidentialVM",
177
+ * secureBootEnabled: true,
178
+ * vtpmEnabled: true,
179
+ * encryptionAtHost: false,
180
+ * confidentialOsDiskEncryption: true,
181
+ * },
182
+ * tags: [{
183
+ * tagKey: "Creator",
184
+ * tagValue: "string",
185
+ * }],
186
+ * health: {
187
+ * healthCheckTypes: ["vmState"],
188
+ * unhealthyDuration: 300,
189
+ * gracePeriod: 120,
190
+ * autoHealing: true,
191
+ * },
192
+ * shouldPersistOsDisk: false,
193
+ * osDiskPersistenceMode: "reattach",
194
+ * shouldPersistDataDisks: true,
195
+ * dataDisksPersistenceMode: "reattach",
196
+ * shouldPersistNetwork: true,
197
+ * schedulingTasks: [
198
+ * {
199
+ * isEnabled: true,
200
+ * type: "pause",
201
+ * cronExpression: "44 10 * * *",
202
+ * },
203
+ * {
204
+ * isEnabled: true,
205
+ * type: "resume",
206
+ * cronExpression: "48 10 * * *",
207
+ * },
208
+ * {
209
+ * isEnabled: true,
210
+ * type: "recycle",
211
+ * cronExpression: "52 10 * * *",
212
+ * },
213
+ * ],
214
+ * signals: [
215
+ * {
216
+ * type: "vmReady",
217
+ * timeout: 20,
218
+ * },
219
+ * {
220
+ * type: "vmReady",
221
+ * timeout: 40,
222
+ * },
223
+ * ],
224
+ * proximityPlacementGroups: [{
225
+ * name: "TestPPG",
226
+ * resourceGroupName: "TestResourceGroup",
227
+ * }],
228
+ * deletes: [{
229
+ * shouldTerminateVm: true,
230
+ * networkShouldDeallocate: true,
231
+ * networkTtlInHours: 0,
232
+ * diskShouldDeallocate: true,
233
+ * diskTtlInHours: 0,
234
+ * snapshotShouldDeallocate: true,
235
+ * snapshotTtlInHours: 0,
236
+ * publicIpShouldDeallocate: true,
237
+ * publicIpTtlInHours: 0,
238
+ * shouldDeregisterFromLb: true,
239
+ * }],
240
+ * });
241
+ * ```
242
+ *
243
+ * # Argument Reference
244
+ *
245
+ * The following arguments are supported:
246
+ *
247
+ * * `name` - (Required) Azure stateful node name.
248
+ * * `region` - (Required) The Azure region your stateful node will be created in.
249
+ * * `resourceGroupName` - (Required) Name of the Resource Group for stateful node.
250
+ * * `description` - (Optional) Describe your Azure stateful node.
251
+ *
252
+ * ## Strategy
253
+ *
254
+ * * `strategy` - (Required) Strategy for stateful node.
255
+ * * `drainingTimeout` - (Optional, Default `120`) Time (in seconds) to allow the VM be drained from incoming TCP connections and detached from MLB before terminating it during a scale down operation.
256
+ * * `availabilityVsCost` - (Optional) Set the desired preference for the Spot market VM selection. (100- Availability, 0- cost).
257
+ * * `fallbackToOnDemand` - (Required) In case of no spots available, Stateful Node will launch an On-demand instance instead.
258
+ * * `optimizationWindows` - (Optional) Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))", not empty if revertToSpot.performAt = timeWindow.
259
+ * * `odWindows` - (Optional) Define the time windows in which the underlying VM will be set as an on-demand lifecycle type. During the entire time window, the rest of the strategy processes will be paused.
260
+ * Switching between on-demand and Spot VM types at the enter/exit of the time window will trigger the recycling of the stateful node. Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))".
261
+ * * `preferredLifeCycle` - (Optional, Enum `"od", "spot"`, Default `"spot"`) The desired type of VM.
262
+ * * `revertToSpot` - (Optional) Hold settings for strategy correction - replacing On-Demand for Spot VMs.
263
+ * * `performAt` - (Required, Enum `"timeWindow", "never", "always"`, Default `"always"`) Settings for maintenance strategy.
264
+ * * `capacityReservation` - (Optional) On-demand Capacity Reservation group enables you to reserve Compute capacity in an Azure region or an Availability Zone for any duration of time. [CRG can only be created on the Azure end.](https://learn.microsoft.com/en-us/azure/virtual-machines/capacity-reservation-create)
265
+ * * `shouldUtilize` - (Required) Determines whether capacity reservations should be utilized.
266
+ * * `utilizationStrategy` - (Required, Enum `"utilizeOverSpot", "utilizeOverOD"`) The priority requested for using CRG. This value will determine if CRG is used ahead of spot VMs or On-demand VMs. (`"utilizeOverOD"`- If picked, we will use CRG only in case On demand should be launched. `"utilizeOverSpot"`- CRG will be preferred over Spot. Only after CRG is fully used, spot VMs can be used.)
267
+ * * `capacityReservationGroups` - (Optional) List of the desired CRGs to use under the associated Azure subscription. When null we will utilize any available reservation that matches the launch specification.
268
+ * * `crgName` - (Required) The name of the CRG.
269
+ * * `crgResourceGroupName` - (Required) Azure resource group name
270
+ * * `crgShouldPrioritize` - The desired CRG to utilize ahead of other CRGs in the subscription.
271
+ * * `vmAdmins` - (Optional) Defines Azure identities that are considered VM admins. If the list is empty, the defined behavior is `NONE`, If the list is null, the defined behavior is `ALL`. This applies if the object is not defined. If an identity contains the string, it will be considered permitted to perform the following actions: Stop VM: VM admins can move the VM to a "stopped (deallocated)" state using the Azure console. If triggered by someone else, it is considered an interruption.
272
+ *
273
+ * ## Compute
274
+ *
275
+ * * `os` - (Required, Enum `"Linux", "Windows"`) Type of operating system.
276
+ * * `vmSizes` - (Required) Defines the VM sizes to use when launching VMs.
277
+ * * `odSizes` - (Required) Available On-Demand sizes.
278
+ * * `spotSizes` - (Required) Available Spot-VM sizes.
279
+ * * `preferredSpotSizes` - (Optional) Prioritize Spot VM sizes when launching Spot VMs for the group. If set, must be a sublist of compute.vmSizes.spotSizes.
280
+ * * `zones` - (Optional, Enum `"1", "2", "3"`) List of Azure Availability Zones in the defined region. If not defined, Virtual machines will be launched regionally.
281
+ * * `preferredZone` - (Optional, Enum `"1", "2", "3"`) The AZ to prioritize when launching VMs. If no markets are available in the Preferred AZ, VMs are launched in the non-preferred AZ. Must be a sublist of compute.zones.
282
+ * * `customData` - (Optional) This value will hold the YAML in base64 and will be executed upon VM launch.
283
+ * * `shutdownScript` - (Optional) Shutdown script for the stateful node. Value should be passed as a string encoded at Base64 only.
284
+ * * `userData` - (Optional) Define a set of scripts or other metadata that's inserted to an Azure virtual machine at provision time. (Base64 encoded)
285
+ * * `vmName` - (Optional) Set a VM name that will be persisted throughout the entire node lifecycle. This can't be set if `vmNamePrefix` is set.
286
+ * * `vmNamePrefix` - (Optional) Set a VM name prefix to be used for all launched VMs and the VM resources. This can't be set if `vmName` is set.
287
+ * * `licenseType` - (Optional) Specify an existing Azure license type to use when launching new VMs. Valid values for Windows OS: "Windows_Server", "Windows_Client", Valid values for Linux OS: "RHEL_BYOS", "SLES_BYOS"
288
+ *
289
+ * <a id="bootDiagnostics"></a>
290
+ * ## Boot Diagnostics
291
+ *
292
+ * * `bootDiagnostics`
293
+ * * `isEnabled` - (Optional) Allows you to enable and disable the configuration of boot diagnostics at launch.
294
+ * * `storageUrl` - (Optional) The storage URI that is used if a type is unmanaged. The storage URI must follow the blob storage URI format ("https://.blob.core.windows.net/"). StorageUri is required if the type is unmanaged. StorageUri must be ‘null’ in case the boot diagnostics type is managed.
295
+ * * `type` - (Optional, Enum `"managed", "unmanaged"`) Defines the storage type on VM launch in Azure.
296
+ *
297
+ * <a id="dataDisks"></a>
298
+ * ## Data Disks
299
+ *
300
+ * * `dataDisk` - (Optional) The definitions of data disks that will be created and attached to the stateful node's VM.
301
+ * * `sizeGb` - (Required) The size of the data disk in GB, required if dataDisks is specified.
302
+ * * `lun` - (Required) The LUN of the data disk.
303
+ * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
304
+ *
305
+ * ## Extensions
306
+ *
307
+ * * `extension` - (Optional) An object for an azure extension.
308
+ * * `name` - (Required) Required on compute.launchSpecification.extensions object.
309
+ * * `type` - (Required) Required on compute.launchSpecification.extensions object.
310
+ * * `publisher` - (Required) Required on compute.launchSpecification.extensions object.
311
+ * * `apiVersion` - (Required) The API version of the extension. Required if extension specified.
312
+ * * `minorVersionAutoUpgrade` - (Required) Required on compute.launchSpecification.extensions object.
313
+ * * `protectedSettings` - (Optional) Object for protected settings.
314
+ * * `publicSettings` - (Optional) Object for public settings.
315
+ *
316
+ * ## Image
317
+ *
318
+ * * `image`
319
+ * * `marketplaceImage` - (Optional) Select an image from Azure's Marketplace image catalogue. Required if the custom image or gallery image are not specified.
320
+ * * `publisher` - (Required) Image publisher.
321
+ * * `offer` - (Required) Image offer.
322
+ * * `sku` - (Required) Image Stock Keeping Unit, which is the specific version of the image.
323
+ * * `version` - (Required, Default `"latest"`) Image's version. if version not provided we use "latest".
324
+ * * `gallery` - (Optional) Gallery image definitions. Required if custom image or marketplace image are not specified.
325
+ * * `galleryResourceGroupName` - (Required) The resource group name for gallery image.
326
+ * * `galleryName` - (Required) Name of the gallery.
327
+ * * `imageName` - (Required) Name of the gallery image.
328
+ * * `versionName` - (Required) Image's version. Can be in the format x.x.x or 'latest'.
329
+ * * `spotAccountId` - (Optional) The Spot account ID that connected to the Azure subscription to which the gallery belongs. Relevant only in case of cross-subscription shared galleries. [Read more](https://docs.spot.io/elastigroup/features-azure/shared-image-galleries) about cross-subscription shared galleries in Elastigroup.
330
+ * * `customImage` - (Optional) Custom image definitions. Required if marketplace image or gallery image are not specified.
331
+ * * `customImageResourceGroupName` - (Required) The resource group name for custom image.
332
+ * * `name` - (Required) The name of the custom image.
333
+ *
334
+ * <a id="load balancer"></a>
335
+ * ## Load Balancer
336
+ *
337
+ * * `loadBalancer` - (Optional) Add a load balancer. For Azure Gateway, each Backend Pool is a separate load balancer.
338
+ * * `type` - (Required, Enum `"loadBalancer", "applicationGateway"`) The type of load balancer.
339
+ * * `resourceGroupName` - (Required) The Resource Group name of the Load Balancer.
340
+ * * `name` - (Required) Name of the Application Gateway/Load Balancer.
341
+ * * `sku` - (Optional)
342
+ * * if type is `"LoadBalancer"` then possible values are `“Standard", "Basic”`.
343
+ * * If ApplicationGateway then possible values are
344
+ * `“Standard_Large”, “Standard_Medium”, “Standard_Small”, “Standard_v2", “WAF_Large”, “WAF_Medium", “WAF_v2"`.
345
+ * * `backendPoolNames` - (Optional) Name of the Backend Pool to register the Stateful Node VMs to. Each Backend Pool is a separate load balancer. Required if Type is APPLICATION_GATEWAY.
346
+ *
347
+ * ## Login
348
+ *
349
+ * * `login` - (Required) Set admin access for accessing your VMs. Password/SSH is required for Linux.
350
+ * * `userName` - (Required) username for admin access to VMs.
351
+ * * `sshPublicKey` - (Optional) SSH for admin access to Linux VMs. Optional for Linux.
352
+ * * `password` - (Optional) Password for admin access to Windows VMs. Required for Windows.
353
+ *
354
+ * <a id="managedServiceIdentities"></a>
355
+ * ## Managed Service Identities
356
+ *
357
+ * * `managedServiceIdentities` - (Optional) Add a user-assigned managed identity to the Stateful Node's VM.
358
+ * * `name` - (Required) name of the managed identity.
359
+ * * `resourceGroupName` - (Required) The Resource Group that the user-assigned managed identity resides in.
360
+ *
361
+ * <a id="proximityPlacementGroups"></a>
362
+ * ## Proximity Placement Groups
363
+ *
364
+ * * `proximityPlacementGroups` - (Optional) Defines the proximity placement group in which the VM will be launched.
365
+ * * `name` - (Required) name of the proximity placement group.
366
+ * * `resourceGroupName` - (Required) The Resource Group name of the proximity placement group.
367
+ *
368
+ * ## Network
369
+ *
370
+ * * `network` - (Required) Define the Virtual Network and Subnet for your Stateful Node.
371
+ * * `networkResourceGroupName` - (Required) Vnet Resource Group Name.
372
+ * * `virtualNetworkName` - (Required) Virtual Network.
373
+ * * `networkInterface` - (Required) Define a network interface
374
+ * * `isPrimary` - (Required) Defines whether the network interface is primary or not.
375
+ * * `subnetName` - (Required) Subnet name.
376
+ * * `assignPublicIp` - (Optional) Assign public IP.
377
+ * * `publicIpSku` - (Optional) Required if assignPublicIp=true values=[Standard/Basic].
378
+ * * `networkSecurityGroup` - (Optional) Network Security Group.
379
+ * * `networkResourceGroupName` - (Required) Requires valid security group name.
380
+ * * `name` - (Required) Requires valid resource group name.
381
+ * * `enableIpForwarding` - (Optional) Enable IP Forwarding.
382
+ * * `privateIpAddresses` - (Optional) A list with unique items that every item is a valid IP.
383
+ * * `additionalIpConfigurations` - (Optional) Additional configuration of network interface.
384
+ * * `name` - (Required) Configuration name.
385
+ * * `privateIpAddressVersion` - (Required, Enum `"IPv4", "IPv6"` Default `"IPv4"`) Version of the private IP address.
386
+ * * `publicIps` - (Optional) Defined a pool of Public Ips (from Azure), that will be associated to the network interface. We will associate one public ip per instance until the pool is exhausted, in which case, we will create a new one.
387
+ * * `resourceGroupName` - (Required) The resource group of the public ip.
388
+ * * `name` - (Required) - The name of the public ip.
389
+ * * `applicationSecurityGroups` - (Optional) Network Security Group.
390
+ * * `resourceGroupName` - (Required) Requires valid security group name.
391
+ * * `name` - (Required) Requires valid resource group name.
392
+ *
393
+ * <a id="osDisk"></a>
394
+ * ## OS Disk
395
+ *
396
+ * * `osDisk` - (Optional) Specify OS disk specification other than default.
397
+ * * `sizeGb` - (Optional, Default `"30"`) The size of the data disk in GB.
398
+ * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS"`) The type of the OS disk.
399
+ * * `caching` - (Optional, Enum `"None", "ReadOnly", "ReadWrite"`) Specifies the host caching requirements. With disk caching enabled, VMs can achieve higher levels of performance. If not specified, the Azure default behavior will be applied.
400
+ *
401
+ * ## Secret
402
+ *
403
+ * * `secret` - (Optional) Set of certificates that should be installed on the VM.
404
+ * * `sourceVault` - (Required) The key vault reference, contains the required certificates.
405
+ * * `name` - (Required) The name of the key vault.
406
+ * * `resourceGroupName` - (Required) The resource group name of the key vault.
407
+ * * `vaultCertificates` - (Required) The required certificate references.
408
+ * * `certificateUrl` - (Optional) The URL of the certificate under the key vault.
409
+ * * `certificateStore` - (Required) The certificate store directory the VM. The directory is created in the LocalMachine account.
410
+ * * This field is required only when using Windows OS type
411
+ * * This field must be ‘null’ when the OS type is Linux
412
+ *
413
+ * ## Security
414
+ *
415
+ * * `security` - (Optional) Specifies the Security related profile settings for the virtual machine.
416
+ * * `secureBootEnabled` - (Optional) Specifies whether secure boot should be enabled on the virtual machine.
417
+ * * `securityType` - (Optional) Enum: `"Standard", "TrustedLaunch", "ConfidentialVM"` Security type refers to the different security features of a virtual machine. Security features like Trusted launch virtual machines help to improve the security of Azure generation 2 virtual machines.
418
+ * * `vtpmEnabled` - (Optional) Specifies whether vTPM should be enabled on the virtual machine.
419
+ * * `encryptionAtHost` - (Optional) Enables the Host Encryption for the virtual machine. The Encryption at host will be disabled unless this property is set to true for the resource.
420
+ * * `confidentialOsDiskEncryption` - (Optional) Confidential disk encryption binds the disk encryption keys to the VM's TPM, ensuring VM-only access. The security type must be "ConfidentialVM" to enable defining this preference as “true”.
421
+ *
422
+ * ## Tag
423
+ *
424
+ * * `tag` - (Optional) Unique Key-Value pair for all Stateful Node Resources.
425
+ * * `tagKey` - (Optional) Tag Key for Stateful Node Resources.
426
+ * * `tagValue` - (Optional) Tag Value for Stateful Node Resources.
427
+ *
428
+ * ## Health
429
+ *
430
+ * * `health` - (Optional) Set the auto healing preferences for unhealthy VMs.
431
+ * * `healthCheckTypes` - (Optional, Enum `"vmState", "applicationGateway"`) Healthcheck to use to validate VM health.
432
+ * * `unhealthyDuration` - (Optional) Amount of time to be unhealthy before a replacement is triggered.
433
+ * * `autoHealing` - (Required) Enable Autohealing of unhealthy VMs.
434
+ * * `gracePeriod` - (Optional) Period of time to wait for VM to reach healthiness before monitoring for unhealthiness.
435
+ *
436
+ * ## Persistence
437
+ *
438
+ * * `shouldPersistOsDisk` - (Required) Should persist os disk.
439
+ * * `osDiskPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
440
+ * * `shouldPersistDataDisks` - (Required) Should persist data disks.
441
+ * * `dataDisksPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
442
+ * * `shouldPersistNetwork` - (Required) Should persist network.
443
+ *
444
+ * <a id="schedulingTasks"></a>
445
+ * ## Scheduling Tasks
446
+ *
447
+ * * `schedulingTask` - (Optional) Scheduling settings object for stateful node.
448
+ * * `isEnabled` - (Required) Is scheduled task enabled for stateful node.
449
+ * * `type` - (Required, Enum `"pause", "resume", "recycle") The type of the scheduled task
450
+ * * `cronExpression` (Required) A expression which describes when to execute the scheduled task (UTC).
451
+ *
452
+ * ## Signals
453
+ *
454
+ * * `signal` - (Optional) A signal object defined for the stateful node.
455
+ * * `type` - (Required, Enum `"vmReady", "vmReadyToShutdown"`) The type of the signal defined for the stateful node.
456
+ * * `timeout` - (Required, Default `"1800"`) The timeout in seconds to hold the vm until a signal is sent. If no signal is sent the vm will be replaced (vmReady) or we will terminate the vm (vmReadyToShutdown) after the timeout.
457
+ *
458
+ * ***
459
+ *
460
+ * <a id="attachDataDisk"></a>
461
+ * ## Attach Data Disk
462
+ *
463
+ * * `attachDataDisk` - (Optional) Create a new data disk and attach it to the stateful node.
464
+ * * `dataDiskName` - (Required) The name of the created data disk.
465
+ * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk will be created.
466
+ * * `storageAccountType` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
467
+ * * `sizeGb` - (Required) The size of the data disk in GB, Required if dataDisks is specified.
468
+ * * `zone` - (Optional, Enum `"1", "2", "3"`) The Availability Zone in which the data disk will be created. If not defined, the data disk will be created regionally.
469
+ * * `lun` - (Optional, Default `"orginal"`) The LUN of the data disk. If not defined, the LUN will be set in order.
470
+ *
471
+ * <a id="detachDataDisk"></a>
472
+ * ## Detach Data Disk
473
+ *
474
+ * * `detachDataDisk` - (Optional) Detach a data disk from a stateful node.
475
+ * * `dataDiskName` - (Required) The name of the detached data disk.
476
+ * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk exists.
477
+ * * `shouldDeallocate` - (Required) Indicates whether to delete the data disk in addition to detach.
478
+ * * `ttlInHours` - (Required, Default `"0"`) Hours to keep the disk alive before deletion.
479
+ *
480
+ * <a id="updateState"></a>
481
+ * ## Update State
482
+ *
483
+ * * `updateState` - (Optional) Update the stateful node state.
484
+ * * `state` - (Required, Enum `"pause", "resume", "recycle"`) New state for the stateful node.
485
+ *
486
+ * <a id="importVm"></a>
487
+ * ## Import VM
488
+ *
489
+ * * `importVm` - (Optional) Import an Azure VM and create a stateful node by providing a node configuration.
490
+ * * `resourceGroupName` - (Required) Name of the Resource Group for Stateful Node.
491
+ * * `originalVmName` - (Required) Azure Import Stateful Node Name.
492
+ * * `drainingTimeout` - (Optional) Hours to keep resources alive.
493
+ * * `resourcesRetentionTime` - (Optional) Hours to keep resources alive.
494
+ *
495
+ * ## Deallocation Config
496
+ *
497
+ * * `delete` - (Required) Specify deallocation parameters for stateful node deletion.
498
+ * * `shouldTerminateVm` - (Required) Indicates whether to delete the stateful node's VM.
499
+ * * `networkShouldDeallocate` - (Required) Indicates whether to delete the stateful node's network resources.
500
+ * * `networkTtlInHours` - (Optional, Default: 96) Hours to keep the network resource alive before deletion.
501
+ * * `diskShouldDeallocate` - (Required) Indicates whether to delete the stateful node's disk resources.
502
+ * * `diskTtlInHours` - (Optional, Default: 96) Hours to keep the disk resource alive before deletion.
503
+ * * `snapshotShouldDeallocate` - (Required) Indicates whether to delete the stateful node's snapshot resources.
504
+ * * `snapshotTtlInHours` - (Optional, Default: 96) Hours to keep the snapshots alive before deletion.
505
+ * * `publicIpShouldDeallocate` - (Required) Indicates whether to delete the stateful node's public ip resources.
506
+ * * `publicIpTtlInHours` - (Optional, Default: 96) Hours to keep the public ip alive before deletion.
507
+ * * `shouldDeregisterFromLb` - (Optional, Default: true) Indicates whether to deregister the stateful node's VM from any type of load balancer. Can be changed to false only when shouldTerminateVms is 'false'.
6
508
  */
7
509
  export declare class StatefulNodeAzure extends pulumi.CustomResource {
8
510
  /**
@@ -7,6 +7,508 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * Provides a Spotinst stateful node Azure 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 testStatefulNodeAzure = new spotinst.StatefulNodeAzure("test_stateful_node_azure", {
18
+ * name: "example_stateful_node_azure",
19
+ * region: "eastus",
20
+ * resourceGroupName: "spotinst-azure",
21
+ * description: "example_stateful_node_azure_description",
22
+ * strategy: {
23
+ * drainingTimeout: 30,
24
+ * fallbackToOnDemand: true,
25
+ * optimizationWindows: ["Tue:19:46-Tue:20:46"],
26
+ * odWindows: ["Wed:19:46-Wed:21:46"],
27
+ * availabilityVsCost: 100,
28
+ * vmAdmins: [
29
+ * "UbuntuUser",
30
+ * "TestUser",
31
+ * ],
32
+ * revertToSpot: {
33
+ * performAt: "timeWindow",
34
+ * },
35
+ * preferredLifeCycle: "od",
36
+ * capacityReservations: [{
37
+ * shouldUtilize: true,
38
+ * utilizationStrategy: "utilizeOverOD",
39
+ * capacityReservationGroups: [{
40
+ * crgName: "crg name",
41
+ * crgResourceGroupName: "resourceGroupName",
42
+ * crgShouldPrioritize: true,
43
+ * }],
44
+ * }],
45
+ * },
46
+ * os: "Linux",
47
+ * vmSizes: {
48
+ * odSizes: [
49
+ * "standard_ds1_v2",
50
+ * "standard_ds2_v2",
51
+ * ],
52
+ * spotSizes: [
53
+ * "standard_ds1_v2",
54
+ * "standard_ds2_v2",
55
+ * ],
56
+ * preferredSpotSizes: ["standard_ds1_v2"],
57
+ * },
58
+ * zones: [
59
+ * "1",
60
+ * "3",
61
+ * ],
62
+ * preferredZone: "1",
63
+ * customData: "",
64
+ * shutdownScript: "",
65
+ * userData: "",
66
+ * vmName: "VMName",
67
+ * vmNamePrefix: "VMNamePrefix",
68
+ * licenseType: "SLES_BYOS",
69
+ * bootDiagnostics: [{
70
+ * isEnabled: true,
71
+ * storageUrl: "https://.blob.core.windows.net/test",
72
+ * type: "unmanaged",
73
+ * }],
74
+ * dataDisks: [
75
+ * {
76
+ * sizeGb: 1,
77
+ * lun: 1,
78
+ * type: "Standard_LRS",
79
+ * },
80
+ * {
81
+ * sizeGb: 10,
82
+ * lun: 2,
83
+ * type: "Standard_LRS",
84
+ * },
85
+ * ],
86
+ * extensions: [{
87
+ * name: "extensionName",
88
+ * type: "customScript",
89
+ * publisher: "Microsoft.Azure.Extensions",
90
+ * apiVersion: "2.0",
91
+ * minorVersionAutoUpgrade: true,
92
+ * protectedSettings: {
93
+ * script: "IyEvYmluL2Jhc2gKZWNobyAibmlyIiA+IC9ob29uaXIudHh0Cg==",
94
+ * },
95
+ * publicSettings: {
96
+ * fileUris: "https://testspot/Azuretest.sh",
97
+ * },
98
+ * }],
99
+ * image: {
100
+ * marketplaceImages: [{
101
+ * publisher: "Canonical",
102
+ * offer: "UbuntuServer",
103
+ * sku: "16.04-LTS",
104
+ * version: "latest",
105
+ * }],
106
+ * customImages: [{
107
+ * customImageResourceGroupName: "resourceGroupName",
108
+ * name: "imageName",
109
+ * }],
110
+ * galleries: [{
111
+ * galleryResourceGroupName: "resourceGroupName",
112
+ * galleryName: "galleryName",
113
+ * imageName: "imageName",
114
+ * versionName: "1.1.0",
115
+ * spotAccountId: "act-123456",
116
+ * }],
117
+ * },
118
+ * loadBalancers: [{
119
+ * type: "loadBalancer",
120
+ * resourceGroupName: "testResourceGroup",
121
+ * name: "testLoadBalancer",
122
+ * sku: "Standard",
123
+ * backendPoolNames: [
124
+ * "testBackendPool1",
125
+ * "testBackendPool2",
126
+ * ],
127
+ * }],
128
+ * login: {
129
+ * userName: "admin",
130
+ * sshPublicKey: "33a2s1f3g5a1df5g1ad3f2g1adfg56dfg==",
131
+ * },
132
+ * managedServiceIdentities: [{
133
+ * name: "mySI2",
134
+ * resourceGroupName: "myResourceGroup",
135
+ * }],
136
+ * network: {
137
+ * networkResourceGroupName: "subnetResourceGroup",
138
+ * virtualNetworkName: "vname",
139
+ * networkInterfaces: [{
140
+ * isPrimary: true,
141
+ * subnetName: "testSubnet",
142
+ * assignPublicIp: true,
143
+ * publicIpSku: "Standard",
144
+ * networkSecurityGroups: [{
145
+ * networkResourceGroupName: "test",
146
+ * name: "test",
147
+ * }],
148
+ * enableIpForwarding: true,
149
+ * privateIpAddresses: ["172.23.4.20"],
150
+ * additionalIpConfigurations: [{
151
+ * name: "test",
152
+ * privateIpAddressVersion: "IPv4",
153
+ * }],
154
+ * publicIps: [{
155
+ * networkResourceGroupName: "resourceGroup",
156
+ * name: "test",
157
+ * }],
158
+ * applicationSecurityGroups: [{
159
+ * networkResourceGroupName: "AsgResourceGroup",
160
+ * name: "AsgName",
161
+ * }],
162
+ * }],
163
+ * },
164
+ * osDisk: {
165
+ * sizeGb: 30,
166
+ * type: "Standard_LRS",
167
+ * caching: "ReadOnly",
168
+ * },
169
+ * secrets: [{
170
+ * sourceVaults: [{
171
+ * name: "string",
172
+ * resourceGroupName: "string",
173
+ * }],
174
+ * vaultCertificates: [{
175
+ * certificateUrl: "string",
176
+ * certificateStore: "string",
177
+ * }],
178
+ * }],
179
+ * security: {
180
+ * securityType: "ConfidentialVM",
181
+ * secureBootEnabled: true,
182
+ * vtpmEnabled: true,
183
+ * encryptionAtHost: false,
184
+ * confidentialOsDiskEncryption: true,
185
+ * },
186
+ * tags: [{
187
+ * tagKey: "Creator",
188
+ * tagValue: "string",
189
+ * }],
190
+ * health: {
191
+ * healthCheckTypes: ["vmState"],
192
+ * unhealthyDuration: 300,
193
+ * gracePeriod: 120,
194
+ * autoHealing: true,
195
+ * },
196
+ * shouldPersistOsDisk: false,
197
+ * osDiskPersistenceMode: "reattach",
198
+ * shouldPersistDataDisks: true,
199
+ * dataDisksPersistenceMode: "reattach",
200
+ * shouldPersistNetwork: true,
201
+ * schedulingTasks: [
202
+ * {
203
+ * isEnabled: true,
204
+ * type: "pause",
205
+ * cronExpression: "44 10 * * *",
206
+ * },
207
+ * {
208
+ * isEnabled: true,
209
+ * type: "resume",
210
+ * cronExpression: "48 10 * * *",
211
+ * },
212
+ * {
213
+ * isEnabled: true,
214
+ * type: "recycle",
215
+ * cronExpression: "52 10 * * *",
216
+ * },
217
+ * ],
218
+ * signals: [
219
+ * {
220
+ * type: "vmReady",
221
+ * timeout: 20,
222
+ * },
223
+ * {
224
+ * type: "vmReady",
225
+ * timeout: 40,
226
+ * },
227
+ * ],
228
+ * proximityPlacementGroups: [{
229
+ * name: "TestPPG",
230
+ * resourceGroupName: "TestResourceGroup",
231
+ * }],
232
+ * deletes: [{
233
+ * shouldTerminateVm: true,
234
+ * networkShouldDeallocate: true,
235
+ * networkTtlInHours: 0,
236
+ * diskShouldDeallocate: true,
237
+ * diskTtlInHours: 0,
238
+ * snapshotShouldDeallocate: true,
239
+ * snapshotTtlInHours: 0,
240
+ * publicIpShouldDeallocate: true,
241
+ * publicIpTtlInHours: 0,
242
+ * shouldDeregisterFromLb: true,
243
+ * }],
244
+ * });
245
+ * ```
246
+ *
247
+ * # Argument Reference
248
+ *
249
+ * The following arguments are supported:
250
+ *
251
+ * * `name` - (Required) Azure stateful node name.
252
+ * * `region` - (Required) The Azure region your stateful node will be created in.
253
+ * * `resourceGroupName` - (Required) Name of the Resource Group for stateful node.
254
+ * * `description` - (Optional) Describe your Azure stateful node.
255
+ *
256
+ * ## Strategy
257
+ *
258
+ * * `strategy` - (Required) Strategy for stateful node.
259
+ * * `drainingTimeout` - (Optional, Default `120`) Time (in seconds) to allow the VM be drained from incoming TCP connections and detached from MLB before terminating it during a scale down operation.
260
+ * * `availabilityVsCost` - (Optional) Set the desired preference for the Spot market VM selection. (100- Availability, 0- cost).
261
+ * * `fallbackToOnDemand` - (Required) In case of no spots available, Stateful Node will launch an On-demand instance instead.
262
+ * * `optimizationWindows` - (Optional) Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))", not empty if revertToSpot.performAt = timeWindow.
263
+ * * `odWindows` - (Optional) Define the time windows in which the underlying VM will be set as an on-demand lifecycle type. During the entire time window, the rest of the strategy processes will be paused.
264
+ * Switching between on-demand and Spot VM types at the enter/exit of the time window will trigger the recycling of the stateful node. Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))".
265
+ * * `preferredLifeCycle` - (Optional, Enum `"od", "spot"`, Default `"spot"`) The desired type of VM.
266
+ * * `revertToSpot` - (Optional) Hold settings for strategy correction - replacing On-Demand for Spot VMs.
267
+ * * `performAt` - (Required, Enum `"timeWindow", "never", "always"`, Default `"always"`) Settings for maintenance strategy.
268
+ * * `capacityReservation` - (Optional) On-demand Capacity Reservation group enables you to reserve Compute capacity in an Azure region or an Availability Zone for any duration of time. [CRG can only be created on the Azure end.](https://learn.microsoft.com/en-us/azure/virtual-machines/capacity-reservation-create)
269
+ * * `shouldUtilize` - (Required) Determines whether capacity reservations should be utilized.
270
+ * * `utilizationStrategy` - (Required, Enum `"utilizeOverSpot", "utilizeOverOD"`) The priority requested for using CRG. This value will determine if CRG is used ahead of spot VMs or On-demand VMs. (`"utilizeOverOD"`- If picked, we will use CRG only in case On demand should be launched. `"utilizeOverSpot"`- CRG will be preferred over Spot. Only after CRG is fully used, spot VMs can be used.)
271
+ * * `capacityReservationGroups` - (Optional) List of the desired CRGs to use under the associated Azure subscription. When null we will utilize any available reservation that matches the launch specification.
272
+ * * `crgName` - (Required) The name of the CRG.
273
+ * * `crgResourceGroupName` - (Required) Azure resource group name
274
+ * * `crgShouldPrioritize` - The desired CRG to utilize ahead of other CRGs in the subscription.
275
+ * * `vmAdmins` - (Optional) Defines Azure identities that are considered VM admins. If the list is empty, the defined behavior is `NONE`, If the list is null, the defined behavior is `ALL`. This applies if the object is not defined. If an identity contains the string, it will be considered permitted to perform the following actions: Stop VM: VM admins can move the VM to a "stopped (deallocated)" state using the Azure console. If triggered by someone else, it is considered an interruption.
276
+ *
277
+ * ## Compute
278
+ *
279
+ * * `os` - (Required, Enum `"Linux", "Windows"`) Type of operating system.
280
+ * * `vmSizes` - (Required) Defines the VM sizes to use when launching VMs.
281
+ * * `odSizes` - (Required) Available On-Demand sizes.
282
+ * * `spotSizes` - (Required) Available Spot-VM sizes.
283
+ * * `preferredSpotSizes` - (Optional) Prioritize Spot VM sizes when launching Spot VMs for the group. If set, must be a sublist of compute.vmSizes.spotSizes.
284
+ * * `zones` - (Optional, Enum `"1", "2", "3"`) List of Azure Availability Zones in the defined region. If not defined, Virtual machines will be launched regionally.
285
+ * * `preferredZone` - (Optional, Enum `"1", "2", "3"`) The AZ to prioritize when launching VMs. If no markets are available in the Preferred AZ, VMs are launched in the non-preferred AZ. Must be a sublist of compute.zones.
286
+ * * `customData` - (Optional) This value will hold the YAML in base64 and will be executed upon VM launch.
287
+ * * `shutdownScript` - (Optional) Shutdown script for the stateful node. Value should be passed as a string encoded at Base64 only.
288
+ * * `userData` - (Optional) Define a set of scripts or other metadata that's inserted to an Azure virtual machine at provision time. (Base64 encoded)
289
+ * * `vmName` - (Optional) Set a VM name that will be persisted throughout the entire node lifecycle. This can't be set if `vmNamePrefix` is set.
290
+ * * `vmNamePrefix` - (Optional) Set a VM name prefix to be used for all launched VMs and the VM resources. This can't be set if `vmName` is set.
291
+ * * `licenseType` - (Optional) Specify an existing Azure license type to use when launching new VMs. Valid values for Windows OS: "Windows_Server", "Windows_Client", Valid values for Linux OS: "RHEL_BYOS", "SLES_BYOS"
292
+ *
293
+ * <a id="bootDiagnostics"></a>
294
+ * ## Boot Diagnostics
295
+ *
296
+ * * `bootDiagnostics`
297
+ * * `isEnabled` - (Optional) Allows you to enable and disable the configuration of boot diagnostics at launch.
298
+ * * `storageUrl` - (Optional) The storage URI that is used if a type is unmanaged. The storage URI must follow the blob storage URI format ("https://.blob.core.windows.net/"). StorageUri is required if the type is unmanaged. StorageUri must be ‘null’ in case the boot diagnostics type is managed.
299
+ * * `type` - (Optional, Enum `"managed", "unmanaged"`) Defines the storage type on VM launch in Azure.
300
+ *
301
+ * <a id="dataDisks"></a>
302
+ * ## Data Disks
303
+ *
304
+ * * `dataDisk` - (Optional) The definitions of data disks that will be created and attached to the stateful node's VM.
305
+ * * `sizeGb` - (Required) The size of the data disk in GB, required if dataDisks is specified.
306
+ * * `lun` - (Required) The LUN of the data disk.
307
+ * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
308
+ *
309
+ * ## Extensions
310
+ *
311
+ * * `extension` - (Optional) An object for an azure extension.
312
+ * * `name` - (Required) Required on compute.launchSpecification.extensions object.
313
+ * * `type` - (Required) Required on compute.launchSpecification.extensions object.
314
+ * * `publisher` - (Required) Required on compute.launchSpecification.extensions object.
315
+ * * `apiVersion` - (Required) The API version of the extension. Required if extension specified.
316
+ * * `minorVersionAutoUpgrade` - (Required) Required on compute.launchSpecification.extensions object.
317
+ * * `protectedSettings` - (Optional) Object for protected settings.
318
+ * * `publicSettings` - (Optional) Object for public settings.
319
+ *
320
+ * ## Image
321
+ *
322
+ * * `image`
323
+ * * `marketplaceImage` - (Optional) Select an image from Azure's Marketplace image catalogue. Required if the custom image or gallery image are not specified.
324
+ * * `publisher` - (Required) Image publisher.
325
+ * * `offer` - (Required) Image offer.
326
+ * * `sku` - (Required) Image Stock Keeping Unit, which is the specific version of the image.
327
+ * * `version` - (Required, Default `"latest"`) Image's version. if version not provided we use "latest".
328
+ * * `gallery` - (Optional) Gallery image definitions. Required if custom image or marketplace image are not specified.
329
+ * * `galleryResourceGroupName` - (Required) The resource group name for gallery image.
330
+ * * `galleryName` - (Required) Name of the gallery.
331
+ * * `imageName` - (Required) Name of the gallery image.
332
+ * * `versionName` - (Required) Image's version. Can be in the format x.x.x or 'latest'.
333
+ * * `spotAccountId` - (Optional) The Spot account ID that connected to the Azure subscription to which the gallery belongs. Relevant only in case of cross-subscription shared galleries. [Read more](https://docs.spot.io/elastigroup/features-azure/shared-image-galleries) about cross-subscription shared galleries in Elastigroup.
334
+ * * `customImage` - (Optional) Custom image definitions. Required if marketplace image or gallery image are not specified.
335
+ * * `customImageResourceGroupName` - (Required) The resource group name for custom image.
336
+ * * `name` - (Required) The name of the custom image.
337
+ *
338
+ * <a id="load balancer"></a>
339
+ * ## Load Balancer
340
+ *
341
+ * * `loadBalancer` - (Optional) Add a load balancer. For Azure Gateway, each Backend Pool is a separate load balancer.
342
+ * * `type` - (Required, Enum `"loadBalancer", "applicationGateway"`) The type of load balancer.
343
+ * * `resourceGroupName` - (Required) The Resource Group name of the Load Balancer.
344
+ * * `name` - (Required) Name of the Application Gateway/Load Balancer.
345
+ * * `sku` - (Optional)
346
+ * * if type is `"LoadBalancer"` then possible values are `“Standard", "Basic”`.
347
+ * * If ApplicationGateway then possible values are
348
+ * `“Standard_Large”, “Standard_Medium”, “Standard_Small”, “Standard_v2", “WAF_Large”, “WAF_Medium", “WAF_v2"`.
349
+ * * `backendPoolNames` - (Optional) Name of the Backend Pool to register the Stateful Node VMs to. Each Backend Pool is a separate load balancer. Required if Type is APPLICATION_GATEWAY.
350
+ *
351
+ * ## Login
352
+ *
353
+ * * `login` - (Required) Set admin access for accessing your VMs. Password/SSH is required for Linux.
354
+ * * `userName` - (Required) username for admin access to VMs.
355
+ * * `sshPublicKey` - (Optional) SSH for admin access to Linux VMs. Optional for Linux.
356
+ * * `password` - (Optional) Password for admin access to Windows VMs. Required for Windows.
357
+ *
358
+ * <a id="managedServiceIdentities"></a>
359
+ * ## Managed Service Identities
360
+ *
361
+ * * `managedServiceIdentities` - (Optional) Add a user-assigned managed identity to the Stateful Node's VM.
362
+ * * `name` - (Required) name of the managed identity.
363
+ * * `resourceGroupName` - (Required) The Resource Group that the user-assigned managed identity resides in.
364
+ *
365
+ * <a id="proximityPlacementGroups"></a>
366
+ * ## Proximity Placement Groups
367
+ *
368
+ * * `proximityPlacementGroups` - (Optional) Defines the proximity placement group in which the VM will be launched.
369
+ * * `name` - (Required) name of the proximity placement group.
370
+ * * `resourceGroupName` - (Required) The Resource Group name of the proximity placement group.
371
+ *
372
+ * ## Network
373
+ *
374
+ * * `network` - (Required) Define the Virtual Network and Subnet for your Stateful Node.
375
+ * * `networkResourceGroupName` - (Required) Vnet Resource Group Name.
376
+ * * `virtualNetworkName` - (Required) Virtual Network.
377
+ * * `networkInterface` - (Required) Define a network interface
378
+ * * `isPrimary` - (Required) Defines whether the network interface is primary or not.
379
+ * * `subnetName` - (Required) Subnet name.
380
+ * * `assignPublicIp` - (Optional) Assign public IP.
381
+ * * `publicIpSku` - (Optional) Required if assignPublicIp=true values=[Standard/Basic].
382
+ * * `networkSecurityGroup` - (Optional) Network Security Group.
383
+ * * `networkResourceGroupName` - (Required) Requires valid security group name.
384
+ * * `name` - (Required) Requires valid resource group name.
385
+ * * `enableIpForwarding` - (Optional) Enable IP Forwarding.
386
+ * * `privateIpAddresses` - (Optional) A list with unique items that every item is a valid IP.
387
+ * * `additionalIpConfigurations` - (Optional) Additional configuration of network interface.
388
+ * * `name` - (Required) Configuration name.
389
+ * * `privateIpAddressVersion` - (Required, Enum `"IPv4", "IPv6"` Default `"IPv4"`) Version of the private IP address.
390
+ * * `publicIps` - (Optional) Defined a pool of Public Ips (from Azure), that will be associated to the network interface. We will associate one public ip per instance until the pool is exhausted, in which case, we will create a new one.
391
+ * * `resourceGroupName` - (Required) The resource group of the public ip.
392
+ * * `name` - (Required) - The name of the public ip.
393
+ * * `applicationSecurityGroups` - (Optional) Network Security Group.
394
+ * * `resourceGroupName` - (Required) Requires valid security group name.
395
+ * * `name` - (Required) Requires valid resource group name.
396
+ *
397
+ * <a id="osDisk"></a>
398
+ * ## OS Disk
399
+ *
400
+ * * `osDisk` - (Optional) Specify OS disk specification other than default.
401
+ * * `sizeGb` - (Optional, Default `"30"`) The size of the data disk in GB.
402
+ * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS"`) The type of the OS disk.
403
+ * * `caching` - (Optional, Enum `"None", "ReadOnly", "ReadWrite"`) Specifies the host caching requirements. With disk caching enabled, VMs can achieve higher levels of performance. If not specified, the Azure default behavior will be applied.
404
+ *
405
+ * ## Secret
406
+ *
407
+ * * `secret` - (Optional) Set of certificates that should be installed on the VM.
408
+ * * `sourceVault` - (Required) The key vault reference, contains the required certificates.
409
+ * * `name` - (Required) The name of the key vault.
410
+ * * `resourceGroupName` - (Required) The resource group name of the key vault.
411
+ * * `vaultCertificates` - (Required) The required certificate references.
412
+ * * `certificateUrl` - (Optional) The URL of the certificate under the key vault.
413
+ * * `certificateStore` - (Required) The certificate store directory the VM. The directory is created in the LocalMachine account.
414
+ * * This field is required only when using Windows OS type
415
+ * * This field must be ‘null’ when the OS type is Linux
416
+ *
417
+ * ## Security
418
+ *
419
+ * * `security` - (Optional) Specifies the Security related profile settings for the virtual machine.
420
+ * * `secureBootEnabled` - (Optional) Specifies whether secure boot should be enabled on the virtual machine.
421
+ * * `securityType` - (Optional) Enum: `"Standard", "TrustedLaunch", "ConfidentialVM"` Security type refers to the different security features of a virtual machine. Security features like Trusted launch virtual machines help to improve the security of Azure generation 2 virtual machines.
422
+ * * `vtpmEnabled` - (Optional) Specifies whether vTPM should be enabled on the virtual machine.
423
+ * * `encryptionAtHost` - (Optional) Enables the Host Encryption for the virtual machine. The Encryption at host will be disabled unless this property is set to true for the resource.
424
+ * * `confidentialOsDiskEncryption` - (Optional) Confidential disk encryption binds the disk encryption keys to the VM's TPM, ensuring VM-only access. The security type must be "ConfidentialVM" to enable defining this preference as “true”.
425
+ *
426
+ * ## Tag
427
+ *
428
+ * * `tag` - (Optional) Unique Key-Value pair for all Stateful Node Resources.
429
+ * * `tagKey` - (Optional) Tag Key for Stateful Node Resources.
430
+ * * `tagValue` - (Optional) Tag Value for Stateful Node Resources.
431
+ *
432
+ * ## Health
433
+ *
434
+ * * `health` - (Optional) Set the auto healing preferences for unhealthy VMs.
435
+ * * `healthCheckTypes` - (Optional, Enum `"vmState", "applicationGateway"`) Healthcheck to use to validate VM health.
436
+ * * `unhealthyDuration` - (Optional) Amount of time to be unhealthy before a replacement is triggered.
437
+ * * `autoHealing` - (Required) Enable Autohealing of unhealthy VMs.
438
+ * * `gracePeriod` - (Optional) Period of time to wait for VM to reach healthiness before monitoring for unhealthiness.
439
+ *
440
+ * ## Persistence
441
+ *
442
+ * * `shouldPersistOsDisk` - (Required) Should persist os disk.
443
+ * * `osDiskPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
444
+ * * `shouldPersistDataDisks` - (Required) Should persist data disks.
445
+ * * `dataDisksPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
446
+ * * `shouldPersistNetwork` - (Required) Should persist network.
447
+ *
448
+ * <a id="schedulingTasks"></a>
449
+ * ## Scheduling Tasks
450
+ *
451
+ * * `schedulingTask` - (Optional) Scheduling settings object for stateful node.
452
+ * * `isEnabled` - (Required) Is scheduled task enabled for stateful node.
453
+ * * `type` - (Required, Enum `"pause", "resume", "recycle") The type of the scheduled task
454
+ * * `cronExpression` (Required) A expression which describes when to execute the scheduled task (UTC).
455
+ *
456
+ * ## Signals
457
+ *
458
+ * * `signal` - (Optional) A signal object defined for the stateful node.
459
+ * * `type` - (Required, Enum `"vmReady", "vmReadyToShutdown"`) The type of the signal defined for the stateful node.
460
+ * * `timeout` - (Required, Default `"1800"`) The timeout in seconds to hold the vm until a signal is sent. If no signal is sent the vm will be replaced (vmReady) or we will terminate the vm (vmReadyToShutdown) after the timeout.
461
+ *
462
+ * ***
463
+ *
464
+ * <a id="attachDataDisk"></a>
465
+ * ## Attach Data Disk
466
+ *
467
+ * * `attachDataDisk` - (Optional) Create a new data disk and attach it to the stateful node.
468
+ * * `dataDiskName` - (Required) The name of the created data disk.
469
+ * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk will be created.
470
+ * * `storageAccountType` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
471
+ * * `sizeGb` - (Required) The size of the data disk in GB, Required if dataDisks is specified.
472
+ * * `zone` - (Optional, Enum `"1", "2", "3"`) The Availability Zone in which the data disk will be created. If not defined, the data disk will be created regionally.
473
+ * * `lun` - (Optional, Default `"orginal"`) The LUN of the data disk. If not defined, the LUN will be set in order.
474
+ *
475
+ * <a id="detachDataDisk"></a>
476
+ * ## Detach Data Disk
477
+ *
478
+ * * `detachDataDisk` - (Optional) Detach a data disk from a stateful node.
479
+ * * `dataDiskName` - (Required) The name of the detached data disk.
480
+ * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk exists.
481
+ * * `shouldDeallocate` - (Required) Indicates whether to delete the data disk in addition to detach.
482
+ * * `ttlInHours` - (Required, Default `"0"`) Hours to keep the disk alive before deletion.
483
+ *
484
+ * <a id="updateState"></a>
485
+ * ## Update State
486
+ *
487
+ * * `updateState` - (Optional) Update the stateful node state.
488
+ * * `state` - (Required, Enum `"pause", "resume", "recycle"`) New state for the stateful node.
489
+ *
490
+ * <a id="importVm"></a>
491
+ * ## Import VM
492
+ *
493
+ * * `importVm` - (Optional) Import an Azure VM and create a stateful node by providing a node configuration.
494
+ * * `resourceGroupName` - (Required) Name of the Resource Group for Stateful Node.
495
+ * * `originalVmName` - (Required) Azure Import Stateful Node Name.
496
+ * * `drainingTimeout` - (Optional) Hours to keep resources alive.
497
+ * * `resourcesRetentionTime` - (Optional) Hours to keep resources alive.
498
+ *
499
+ * ## Deallocation Config
500
+ *
501
+ * * `delete` - (Required) Specify deallocation parameters for stateful node deletion.
502
+ * * `shouldTerminateVm` - (Required) Indicates whether to delete the stateful node's VM.
503
+ * * `networkShouldDeallocate` - (Required) Indicates whether to delete the stateful node's network resources.
504
+ * * `networkTtlInHours` - (Optional, Default: 96) Hours to keep the network resource alive before deletion.
505
+ * * `diskShouldDeallocate` - (Required) Indicates whether to delete the stateful node's disk resources.
506
+ * * `diskTtlInHours` - (Optional, Default: 96) Hours to keep the disk resource alive before deletion.
507
+ * * `snapshotShouldDeallocate` - (Required) Indicates whether to delete the stateful node's snapshot resources.
508
+ * * `snapshotTtlInHours` - (Optional, Default: 96) Hours to keep the snapshots alive before deletion.
509
+ * * `publicIpShouldDeallocate` - (Required) Indicates whether to delete the stateful node's public ip resources.
510
+ * * `publicIpTtlInHours` - (Optional, Default: 96) Hours to keep the public ip alive before deletion.
511
+ * * `shouldDeregisterFromLb` - (Optional, Default: true) Indicates whether to deregister the stateful node's VM from any type of load balancer. Can be changed to false only when shouldTerminateVms is 'false'.
10
512
  */
11
513
  class StatefulNodeAzure extends pulumi.CustomResource {
12
514
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"statefulNodeAzure.js","sourceRoot":"","sources":["../statefulNodeAzure.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAqDD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC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AC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AArML,8CAsMC;AAxLG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
package/types/input.d.ts CHANGED
@@ -7,6 +7,25 @@ export interface DataIntegrationS3 {
7
7
  */
8
8
  subdir?: pulumi.Input<string>;
9
9
  }
10
+ export interface ElastigroupAzureV3Extension {
11
+ apiVersion: pulumi.Input<string>;
12
+ enableAutomaticUpgrade?: pulumi.Input<boolean>;
13
+ minorVersionAutoUpgrade: pulumi.Input<boolean>;
14
+ name: pulumi.Input<string>;
15
+ protectedSettings?: pulumi.Input<{
16
+ [key: string]: pulumi.Input<string>;
17
+ }>;
18
+ protectedSettingsFromKeyVault?: pulumi.Input<inputs.ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault>;
19
+ publicSettings?: pulumi.Input<{
20
+ [key: string]: pulumi.Input<string>;
21
+ }>;
22
+ publisher: pulumi.Input<string>;
23
+ type: pulumi.Input<string>;
24
+ }
25
+ export interface ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault {
26
+ secretUrl: pulumi.Input<string>;
27
+ sourceVault: pulumi.Input<string>;
28
+ }
10
29
  export interface ElastigroupAzureV3Image {
11
30
  customs?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3ImageCustom>[]>;
12
31
  galleryImages?: pulumi.Input<pulumi.Input<inputs.ElastigroupAzureV3ImageGalleryImage>[]>;
package/types/output.d.ts CHANGED
@@ -6,6 +6,25 @@ export interface DataIntegrationS3 {
6
6
  */
7
7
  subdir?: string;
8
8
  }
9
+ export interface ElastigroupAzureV3Extension {
10
+ apiVersion: string;
11
+ enableAutomaticUpgrade?: boolean;
12
+ minorVersionAutoUpgrade: boolean;
13
+ name: string;
14
+ protectedSettings: {
15
+ [key: string]: string;
16
+ };
17
+ protectedSettingsFromKeyVault?: outputs.ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault;
18
+ publicSettings: {
19
+ [key: string]: string;
20
+ };
21
+ publisher: string;
22
+ type: string;
23
+ }
24
+ export interface ElastigroupAzureV3ExtensionProtectedSettingsFromKeyVault {
25
+ secretUrl: string;
26
+ sourceVault: string;
27
+ }
9
28
  export interface ElastigroupAzureV3Image {
10
29
  customs?: outputs.ElastigroupAzureV3ImageCustom[];
11
30
  galleryImages?: outputs.ElastigroupAzureV3ImageGalleryImage[];