@pulumi/spotinst 3.71.0-alpha.1711608291 → 3.71.0-alpha.1711707743

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/spotinst",
3
- "version": "v3.71.0-alpha.1711608291+89c9eac7",
3
+ "version": "v3.71.0-alpha.1711707743+029c0632",
4
4
  "description": "A Pulumi package for creating and managing spotinst cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -3,483 +3,6 @@ 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
- * <!--Start PulumiCodeChooser -->
10
- * ```typescript
11
- * import * as pulumi from "@pulumi/pulumi";
12
- * import * as spotinst from "@pulumi/spotinst";
13
- *
14
- * const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("testStatefulNodeAzure", {
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
- * revertToSpot: {
23
- * performAt: "timeWindow",
24
- * },
25
- * preferredLifeCycle: "od",
26
- * capacityReservations: [{
27
- * shouldUtilize: true,
28
- * utilizationStrategy: "utilizeOverOD",
29
- * capacityReservationGroups: [{
30
- * crgName: "crg name",
31
- * crgResourceGroupName: "resourceGroupName",
32
- * crgShouldPrioritize: true,
33
- * }],
34
- * }],
35
- * },
36
- * os: "Linux",
37
- * odSizes: [
38
- * "standard_ds1_v2",
39
- * "standard_ds2_v2",
40
- * ],
41
- * spotSizes: [
42
- * "standard_ds1_v2",
43
- * "standard_ds2_v2",
44
- * ],
45
- * preferredSpotSizes: ["standard_ds1_v2"],
46
- * zones: [
47
- * "1",
48
- * "3",
49
- * ],
50
- * preferredZone: "1",
51
- * customData: "",
52
- * shutdownScript: "",
53
- * userData: "",
54
- * vmName: "VMName",
55
- * bootDiagnostics: [{
56
- * isEnabled: true,
57
- * storageUrl: "https://.blob.core.windows.net/test",
58
- * type: "unmanaged",
59
- * }],
60
- * dataDisks: [
61
- * {
62
- * sizeGb: 1,
63
- * lun: 1,
64
- * type: "Standard_LRS",
65
- * },
66
- * {
67
- * sizeGb: 10,
68
- * lun: 2,
69
- * type: "Standard_LRS",
70
- * },
71
- * ],
72
- * extensions: [{
73
- * name: "extensionName",
74
- * type: "customScript",
75
- * publisher: "Microsoft.Azure.Extensions",
76
- * apiVersion: "2.0",
77
- * minorVersionAutoUpgrade: true,
78
- * protectedSettings: {
79
- * script: "IyEvYmluL2Jhc2gKZWNobyAibmlyIiA+IC9ob29uaXIudHh0Cg==",
80
- * },
81
- * }],
82
- * image: {
83
- * marketplaceImages: [{
84
- * publisher: "Canonical",
85
- * offer: "UbuntuServer",
86
- * sku: "16.04-LTS",
87
- * version: "latest",
88
- * }],
89
- * },
90
- * loadBalancers: [{
91
- * type: "loadBalancer",
92
- * resourceGroupName: "testResourceGroup",
93
- * name: "testLoadBalancer",
94
- * sku: "Standard",
95
- * backendPoolNames: [
96
- * "testBackendPool1",
97
- * "testBackendPool2",
98
- * ],
99
- * }],
100
- * login: {
101
- * userName: "admin",
102
- * sshPublicKey: "33a2s1f3g5a1df5g1ad3f2g1adfg56dfg==",
103
- * },
104
- * managedServiceIdentities: [{
105
- * name: "mySI2",
106
- * resourceGroupName: "myResourceGroup",
107
- * }],
108
- * network: {
109
- * networkResourceGroupName: "subnetResourceGroup",
110
- * virtualNetworkName: "vname",
111
- * networkInterfaces: [{
112
- * isPrimary: true,
113
- * subnetName: "testSubnet",
114
- * assignPublicIp: true,
115
- * publicIpSku: "Standard",
116
- * networkSecurityGroups: [{
117
- * networkResourceGroupName: "test",
118
- * name: "test",
119
- * }],
120
- * enableIpForwarding: true,
121
- * privateIpAddresses: ["172.23.4.20"],
122
- * additionalIpConfigurations: [{
123
- * name: "test",
124
- * privateIpAddressVersion: "IPv4",
125
- * }],
126
- * publicIps: [{
127
- * networkResourceGroupName: "resourceGroup",
128
- * name: "test",
129
- * }],
130
- * applicationSecurityGroups: [{
131
- * networkResourceGroupName: "AsgResourceGroup",
132
- * name: "AsgName",
133
- * }],
134
- * }],
135
- * },
136
- * osDisk: {
137
- * sizeGb: 30,
138
- * type: "Standard_LRS",
139
- * },
140
- * secrets: [{
141
- * sourceVaults: [{
142
- * name: "string",
143
- * resourceGroupName: "string",
144
- * }],
145
- * vaultCertificates: [{
146
- * certificateUrl: "string",
147
- * certificateStore: "string",
148
- * }],
149
- * }],
150
- * security: {
151
- * securityType: "Standard",
152
- * secureBootEnabled: false,
153
- * vtpmEnabled: false,
154
- * },
155
- * tags: [{
156
- * tagKey: "Creator",
157
- * tagValue: "string",
158
- * }],
159
- * health: {
160
- * healthCheckTypes: ["vmState"],
161
- * unhealthyDuration: 300,
162
- * gracePeriod: 120,
163
- * autoHealing: true,
164
- * },
165
- * shouldPersistOsDisk: false,
166
- * osDiskPersistenceMode: "reattach",
167
- * shouldPersistDataDisks: true,
168
- * dataDisksPersistenceMode: "reattach",
169
- * shouldPersistNetwork: true,
170
- * schedulingTasks: [
171
- * {
172
- * isEnabled: true,
173
- * type: "pause",
174
- * cronExpression: "44 10 * * *",
175
- * },
176
- * {
177
- * isEnabled: true,
178
- * type: "resume",
179
- * cronExpression: "48 10 * * *",
180
- * },
181
- * {
182
- * isEnabled: true,
183
- * type: "recycle",
184
- * cronExpression: "52 10 * * *",
185
- * },
186
- * ],
187
- * signals: [
188
- * {
189
- * type: "vmReady",
190
- * timeout: 20,
191
- * },
192
- * {
193
- * type: "vmReady",
194
- * timeout: 40,
195
- * },
196
- * ],
197
- * proximityPlacementGroups: [{
198
- * name: "TestPPG",
199
- * resourceGroupName: "TestResourceGroup",
200
- * }],
201
- * deletes: [{
202
- * shouldTerminateVm: true,
203
- * networkShouldDeallocate: true,
204
- * networkTtlInHours: 0,
205
- * diskShouldDeallocate: true,
206
- * diskTtlInHours: 0,
207
- * snapshotShouldDeallocate: true,
208
- * snapshotTtlInHours: 0,
209
- * publicIpShouldDeallocate: true,
210
- * publicIpTtlInHours: 0,
211
- * }],
212
- * });
213
- * // -------------------------------------------------------------------
214
- * ```
215
- * <!--End PulumiCodeChooser -->
216
- *
217
- * # Argument Reference
218
- *
219
- * The following arguments are supported:
220
- *
221
- * * `name` - (Required) Azure stateful node name.
222
- * * `region` - (Required) The Azure region your stateful node will be created in.
223
- * * `resourceGroupName` - (Required) Name of the Resource Group for stateful node.
224
- * * `description` - (Optional) Describe your Azure stateful node.
225
- *
226
- * <a id="strategy"></a>
227
- * ## Strategy
228
- *
229
- * * `strategy` - (Required) Strategy for stateful node.
230
- * * `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.
231
- * * `fallbackToOnDemand` - (Required) In case of no spots available, Stateful Node will launch an On-demand instance instead.
232
- * * `optimizationWindows` - (Optional) Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))", not empty if revertToSpot.performAt = timeWindow.
233
- * * `preferredLifeCycle` - (Optional, Enum `"od", "spot"`, Default `"spot"`) The desired type of VM.
234
- * * `revertToSpot` - (Optional) Hold settings for strategy correction - replacing On-Demand for Spot VMs.
235
- * * `performAt` - (Required, Enum `"timeWindow", "never", "always"`, Default `"always"`) Settings for maintenance strategy.
236
- * * `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)
237
- * * `shouldUtilize` - (Required) Determines whether capacity reservations should be utilized.
238
- * * `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.)
239
- * * `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.
240
- * * `crgName` - (Required) The name of the CRG.
241
- * * `crgResourceGroupName` - (Required) Azure resource group name
242
- * * `crgShouldPrioritize` - The desired CRG to utilize ahead of other CRGs in the subscription.
243
- *
244
- * <a id="compute"></a>
245
- * ## Compute
246
- *
247
- * * `os` - (Required, Enum `"Linux", "Windows"`) Type of operating system.
248
- * * `odSizes` - (Required) Available On-Demand sizes.
249
- * * `spotSizes` - (Required) Available Spot-VM sizes.
250
- * * `preferredSpotSizes` - (Optional) Prioritize Spot VM sizes when launching Spot VMs for the group. If set, must be a sublist of compute.vmSizes.spotSizes.
251
- * * `zones` - (Optional, Enum `"1", "2", "3"`) List of Azure Availability Zones in the defined region. If not defined, Virtual machines will be launched regionally.
252
- * * `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.
253
- * * `customData` - (Optional) This value will hold the YAML in base64 and will be executed upon VM launch.
254
- * * `shutdownScript` - (Optional) Shutdown script for the stateful node. Value should be passed as a string encoded at Base64 only.
255
- * * `userData` - (Optional) Define a set of scripts or other metadata that's inserted to an Azure virtual machine at provision time. (Base64 encoded)
256
- * * `vmName` - (Optional) Set a VM name that will be persisted throughout the entire node lifecycle.
257
- *
258
- * <a id="bootDiagnostics"></a>
259
- * ## Boot Diagnostics
260
- *
261
- * * `bootDiagnostics`
262
- * * `isEnabled` - (Optional) Allows you to enable and disable the configuration of boot diagnostics at launch.
263
- * * `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.
264
- * * `type` - (Optional, Enum `"managed", "unmanaged"`) Defines the storage type on VM launch in Azure.
265
- *
266
- * <a id="dataDisks"></a>
267
- * ## Data Disks
268
- *
269
- * * `dataDisk` - (Optional) The definitions of data disks that will be created and attached to the stateful node's VM.
270
- * * `sizeGb` - (Required) The size of the data disk in GB, required if dataDisks is specified.
271
- * * `lun` - (Required) The LUN of the data disk.
272
- * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
273
- *
274
- * <a id="extensions"></a>
275
- * ## Extensions
276
- *
277
- * * `extension` - (Optional) An object for an azure extension.
278
- * * `name` - (Required) Required on compute.launchSpecification.extensions object.
279
- * * `type` - (Required) Required on compute.launchSpecification.extensions object.
280
- * * `publisher` - (Required) Required on compute.launchSpecification.extensions object.
281
- * * `apiVersion` - (Required) The API version of the extension. Required if extension specified.
282
- * * `minorVersionAutoUpgrade` - (Required) Required on compute.launchSpecification.extensions object.
283
- * * `protectedSettings` - (Optional) Object for protected settings.
284
- * * `publicSettings` - (Optional) Object for public settings.
285
- *
286
- * <a id="image"></a>
287
- * ## Image
288
- *
289
- * * `image`
290
- * * `marketplaceImage` - (Optional) Select an image from Azure's Marketplace image catalogue. Required if the custom image or gallery image are not specified.
291
- * * `publisher` - (Required) Image publisher.
292
- * * `offer` - (Required) Image offer.
293
- * * `sku` - (Required) Image Stock Keeping Unit, which is the specific version of the image.
294
- * * `version` - (Required, Default `"latest"`) Image's version. if version not provided we use "latest".
295
- * * `galleryImage` - (Optional) Gallery image definitions. Required if custom image or marketplace image are not specified.
296
- * * `galleryResourceGroupName` - (Required) The resource group name for gallery image.
297
- * * `galleryName` - (Required) Name of the gallery.
298
- * * `imageName` - (Required) Name of the gallery image.
299
- * * `versionName` - (Required) Image's version. Can be in the format x.x.x or 'latest'.
300
- * * `customImage` - (Optional) Custom image definitions. Required if marketplace image or gallery image are not specified.
301
- * * `customImageResourceGroupName` - (Required) The resource group name for custom image.
302
- * * `name` - (Required) The name of the custom image.
303
- *
304
- * <a id="load balancer"></a>
305
- * ## Load Balancer
306
- *
307
- * * `loadBalancer` - (Optional) Add a load balancer. For Azure Gateway, each Backend Pool is a separate load balancer.
308
- * * `type` - (Required, Enum `"loadBalancer", "applicationGateway"`) The type of load balancer.
309
- * * `resourceGroupName` - (Required) The Resource Group name of the Load Balancer.
310
- * * `name` - (Required) Name of the Application Gateway/Load Balancer.
311
- * * `sku` - (Optional)
312
- * * if type is `"LoadBalancer"` then possible values are `“Standard", "Basic”`.
313
- * * If ApplicationGateway then possible values are
314
- * `“Standard_Large”, “Standard_Medium”, “Standard_Small”, “Standard_v2", “WAF_Large”, “WAF_Medium", “WAF_v2"`.
315
- * * `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.
316
- *
317
- * <a id="login"></a>
318
- * ## Login
319
- *
320
- * * `login` - (Required) Set admin access for accessing your VMs. Password/SSH is required for Linux.
321
- * * `userName` - (Required) username for admin access to VMs.
322
- * * `sshPublicKey` - (Optional) SSH for admin access to Linux VMs. Optional for Linux.
323
- * * `password` - (Optional) Password for admin access to Windows VMs. Required for Windows.
324
- *
325
- * <a id="managedServiceIdentities"></a>
326
- * ## Managed Service Identities
327
- *
328
- * * `managedServiceIdentities` - (Optional) Add a user-assigned managed identity to the Stateful Node's VM.
329
- * * `name` - (Required) name of the managed identity.
330
- * * `resourceGroupName` - (Required) The Resource Group that the user-assigned managed identity resides in.
331
- *
332
- * <a id="proximityPlacementGroups"></a>
333
- * ## Proximity Placement Groups
334
- *
335
- * * `proximityPlacementGroups` - (Optional) Defines the proximity placement group in which the VM will be launched.
336
- * * `name` - (Required) name of the proximity placement group.
337
- * * `resourceGroupName` - (Required) The Resource Group name of the proximity placement group.
338
- *
339
- * <a id="network"></a>
340
- * ## Network
341
- *
342
- * * `network` - (Required) Define the Virtual Network and Subnet for your Stateful Node.
343
- * * `networkResourceGroupName` - (Required) Vnet Resource Group Name.
344
- * * `virtualNetworkName` - (Required) Virtual Network.
345
- * * `networkInterface` - (Required) Define a network interface
346
- * * `isPrimary` - (Required) Defines whether the network interface is primary or not.
347
- * * `subnetName` - (Required) Subnet name.
348
- * * `assignPublicIp` - (Optional) Assign public IP.
349
- * * `publicIpSku` - (Optional) Required if assignPublicIp=true values=[Standard/Basic].
350
- * * `networkSecurityGroup` - (Optional) Network Security Group.
351
- * * `networkResourceGroupName` - (Required) Requires valid security group name.
352
- * * `name` - (Required) Requires valid resource group name.
353
- * * `enableIpForwarding` - (Optional) Enable IP Forwarding.
354
- * * `privateIpAddresses` - (Optional) A list with unique items that every item is a valid IP.
355
- * * `additionalIpConfigurations` - (Optional) Additional configuration of network interface.
356
- * * `name` - (Required) Configuration name.
357
- * * `privateIpAddressVersion` - (Required, Enum `"IPv4", "IPv6"` Default `"IPv4"`) Version of the private IP address.
358
- * * `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.
359
- * * `resourceGroupName` - (Required) The resource group of the public ip.
360
- * * `name` - (Required) - The name of the public ip.
361
- * * `applicationSecurityGroups` - (Optional) Network Security Group.
362
- * * `resourceGroupName` - (Required) Requires valid security group name.
363
- * * `name` - (Required) Requires valid resource group name.
364
- *
365
- * <a id="osDisk"></a>
366
- * ## OS Disk
367
- *
368
- * * `osDisk` - (Optional) Specify OS disk specification other than default.
369
- * * `sizeGb` - (Optional, Default `"30"`) The size of the data disk in GB.
370
- * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS"`) The type of the OS disk.
371
- *
372
- * <a id="secret"></a>
373
- * ## Secret
374
- *
375
- * * `secret` - (Optional) Set of certificates that should be installed on the VM.
376
- * * `sourceVault` - (Required) The key vault reference, contains the required certificates.
377
- * * `name` - (Required) The name of the key vault.
378
- * * `resourceGroupName` - (Required) The resource group name of the key vault.
379
- * * `vaultCertificates` - (Required) The required certificate references.
380
- * * `certificateUrl` - (Optional) The URL of the certificate under the key vault.
381
- * * `certificateStore` - (Required) The certificate store directory the VM. The directory is created in the LocalMachine account.
382
- * * This field is required only when using Windows OS type
383
- * * This field must be ‘null’ when the OS type is Linux
384
- *
385
- * <a id="secutiry"></a>
386
- * ## Security
387
- *
388
- * * `security` - (Optional) Specifies the Security related profile settings for the virtual machine.
389
- * * `secureBootEnabled` - (Optional) Specifies whether secure boot should be enabled on the virtual machine.
390
- * * `securityType` - (Optional) Enum: `"Standard", "TrustedLaunch"` 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.
391
- * * `vtpmEnabled` - (Optional) Specifies whether vTPM should be enabled on the virtual machine.
392
- *
393
- * <a id="tag"></a>
394
- * ## Tag
395
- *
396
- * * `tag` - (Optional) Unique Key-Value pair for all Stateful Node Resources.
397
- * * `tagKey` - (Optional) Tag Key for Stateful Node Resources.
398
- * * `tagValue` - (Optional) Tag Value for Stateful Node Resources.
399
- *
400
- * <a id="health"></a>
401
- * ## Health
402
- *
403
- * * `health` - (Optional) Set the auto healing preferences for unhealthy VMs.
404
- * * `healthCheckTypes` - (Optional, Enum `"vmState", "applicationGateway"`) Healthcheck to use to validate VM health.
405
- * * `unhealthyDuration` - (Optional) Amount of time to be unhealthy before a replacement is triggered.
406
- * * `autoHealing` - (Required) Enable Autohealing of unhealthy VMs.
407
- * * `gracePeriod` - (Optional) Period of time to wait for VM to reach healthiness before monitoring for unhealthiness.
408
- *
409
- * <a id="persistence"></a>
410
- * ## Persistence
411
- *
412
- * * `shouldPersistOsDisk` - (Required) Should persist os disk.
413
- * * `osDiskPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
414
- * * `shouldPersistDataDisks` - (Required) Should persist data disks.
415
- * * `dataDisksPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
416
- * * `shouldPersistNetwork` - (Required) Should persist network.
417
- *
418
- * <a id="schedulingTasks"></a>
419
- * ## Scheduling Tasks
420
- *
421
- * * `schedulingTask` - (Optional) Scheduling settings object for stateful node.
422
- * * `isEnabled` - (Required) Is scheduled task enabled for stateful node.
423
- * * `type` - (Required, Enum `"pause", "resume", "recycle") The type of the scheduled task
424
- * * `cronExpression` (Required) A expression which describes when to execute the scheduled task (UTC).
425
- *
426
- * <a id="signals"></a>
427
- * ## Signals
428
- *
429
- * * `signal` - (Optional) A signal object defined for the stateful node.
430
- * * `type` - (Required, Enum `"vmReady", "vmReadyToShutdown"`) The type of the signal defined for the stateful node.
431
- * * `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.
432
- *
433
- * ***
434
- *
435
- * <a id="attachDataDisk"></a>
436
- * ## Attach Data Disk
437
- *
438
- * * `attachDataDisk` - (Optional) Create a new data disk and attach it to the stateful node.
439
- * * `dataDiskName` - (Required) The name of the created data disk.
440
- * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk will be created.
441
- * * `storageAccountType` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
442
- * * `sizeGb` - (Required) The size of the data disk in GB, Required if dataDisks is specified.
443
- * * `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.
444
- * * `lun` - (Optional, Default `"orginal"`) The LUN of the data disk. If not defined, the LUN will be set in order.
445
- *
446
- * <a id="detachDataDisk"></a>
447
- * ## Detach Data Disk
448
- *
449
- * * `detachDataDisk` - (Optional) Detach a data disk from a stateful node.
450
- * * `dataDiskName` - (Required) The name of the detached data disk.
451
- * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk exists.
452
- * * `shouldDeallocate` - (Required) Indicates whether to delete the data disk in addition to detach.
453
- * * `ttlInHours` - (Required, Default `"0"`) Hours to keep the disk alive before deletion.
454
- *
455
- * <a id="updateState"></a>
456
- * ## Update State
457
- *
458
- * * `updateState` - (Optional) Update the stateful node state.
459
- * * `state` - (Required, Enum `"pause", "resume", "recycle"`) New state for the stateful node.
460
- *
461
- * <a id="importVm"></a>
462
- * ## Import VM
463
- *
464
- * * `importVm` - (Optional) Import an Azure VM and create a stateful node by providing a node configuration.
465
- * * `resourceGroupName` - (Required) Name of the Resource Group for Stateful Node.
466
- * * `originalVmName` - (Required) Azure Import Stateful Node Name.
467
- * * `drainingTimeout` - (Optional) Hours to keep resources alive.
468
- * * `resourcesRetentionTime` - (Optional) Hours to keep resources alive.
469
- *
470
- * <a id="delete"></a>
471
- * ## Deallocation Config
472
- *
473
- * * `delete` - (Required) Specify deallocation parameters for stateful node deletion.
474
- * * `shouldTerminateVm` - (Required) Indicates whether to delete the stateful node's VM.
475
- * * `networkShouldDeallocate` - (Required) Indicates whether to delete the stateful node's network resources.
476
- * * `networkTtlInHours` - (Optional, Default: 96) Hours to keep the network resource alive before deletion.
477
- * * `diskShouldDeallocate` - (Required) Indicates whether to delete the stateful node's disk resources.
478
- * * `diskTtlInHours` - (Optional, Default: 96) Hours to keep the disk resource alive before deletion.
479
- * * `snapshotShouldDeallocate` - (Required) Indicates whether to delete the stateful node's snapshot resources.
480
- * * `snapshotTtlInHours` - (Optional, Default: 96) Hours to keep the snapshots alive before deletion.
481
- * * `publicIpShouldDeallocate` - (Required) Indicates whether to delete the stateful node's public ip resources.
482
- * * `publicIpTtlInHours` - (Optional, Default: 96) Hours to keep the public ip alive before deletion.
483
6
  */
484
7
  export declare class StatefulNodeAzure extends pulumi.CustomResource {
485
8
  /**
@@ -509,6 +32,7 @@ export declare class StatefulNodeAzure extends pulumi.CustomResource {
509
32
  readonly health: pulumi.Output<outputs.StatefulNodeAzureHealth>;
510
33
  readonly image: pulumi.Output<outputs.StatefulNodeAzureImage | undefined>;
511
34
  readonly importVms: pulumi.Output<outputs.StatefulNodeAzureImportVm[] | undefined>;
35
+ readonly licenseType: pulumi.Output<string | undefined>;
512
36
  readonly loadBalancers: pulumi.Output<outputs.StatefulNodeAzureLoadBalancer[]>;
513
37
  readonly login: pulumi.Output<outputs.StatefulNodeAzureLogin | undefined>;
514
38
  readonly managedServiceIdentities: pulumi.Output<outputs.StatefulNodeAzureManagedServiceIdentity[]>;
@@ -538,6 +62,7 @@ export declare class StatefulNodeAzure extends pulumi.CustomResource {
538
62
  readonly updateStates: pulumi.Output<outputs.StatefulNodeAzureUpdateState[] | undefined>;
539
63
  readonly userData: pulumi.Output<string>;
540
64
  readonly vmName: pulumi.Output<string | undefined>;
65
+ readonly vmNamePrefix: pulumi.Output<string | undefined>;
541
66
  readonly zones: pulumi.Output<string[] | undefined>;
542
67
  /**
543
68
  * Create a StatefulNodeAzure resource with the given unique name, arguments, and options.
@@ -564,6 +89,7 @@ export interface StatefulNodeAzureState {
564
89
  health?: pulumi.Input<inputs.StatefulNodeAzureHealth>;
565
90
  image?: pulumi.Input<inputs.StatefulNodeAzureImage>;
566
91
  importVms?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureImportVm>[]>;
92
+ licenseType?: pulumi.Input<string>;
567
93
  loadBalancers?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureLoadBalancer>[]>;
568
94
  login?: pulumi.Input<inputs.StatefulNodeAzureLogin>;
569
95
  managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureManagedServiceIdentity>[]>;
@@ -593,6 +119,7 @@ export interface StatefulNodeAzureState {
593
119
  updateStates?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureUpdateState>[]>;
594
120
  userData?: pulumi.Input<string>;
595
121
  vmName?: pulumi.Input<string>;
122
+ vmNamePrefix?: pulumi.Input<string>;
596
123
  zones?: pulumi.Input<pulumi.Input<string>[]>;
597
124
  }
598
125
  /**
@@ -611,6 +138,7 @@ export interface StatefulNodeAzureArgs {
611
138
  health?: pulumi.Input<inputs.StatefulNodeAzureHealth>;
612
139
  image?: pulumi.Input<inputs.StatefulNodeAzureImage>;
613
140
  importVms?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureImportVm>[]>;
141
+ licenseType?: pulumi.Input<string>;
614
142
  loadBalancers?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureLoadBalancer>[]>;
615
143
  login?: pulumi.Input<inputs.StatefulNodeAzureLogin>;
616
144
  managedServiceIdentities?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureManagedServiceIdentity>[]>;
@@ -640,5 +168,6 @@ export interface StatefulNodeAzureArgs {
640
168
  updateStates?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureUpdateState>[]>;
641
169
  userData?: pulumi.Input<string>;
642
170
  vmName?: pulumi.Input<string>;
171
+ vmNamePrefix?: pulumi.Input<string>;
643
172
  zones?: pulumi.Input<pulumi.Input<string>[]>;
644
173
  }
@@ -7,483 +7,6 @@ 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
- * <!--Start PulumiCodeChooser -->
14
- * ```typescript
15
- * import * as pulumi from "@pulumi/pulumi";
16
- * import * as spotinst from "@pulumi/spotinst";
17
- *
18
- * const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("testStatefulNodeAzure", {
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
- * revertToSpot: {
27
- * performAt: "timeWindow",
28
- * },
29
- * preferredLifeCycle: "od",
30
- * capacityReservations: [{
31
- * shouldUtilize: true,
32
- * utilizationStrategy: "utilizeOverOD",
33
- * capacityReservationGroups: [{
34
- * crgName: "crg name",
35
- * crgResourceGroupName: "resourceGroupName",
36
- * crgShouldPrioritize: true,
37
- * }],
38
- * }],
39
- * },
40
- * os: "Linux",
41
- * odSizes: [
42
- * "standard_ds1_v2",
43
- * "standard_ds2_v2",
44
- * ],
45
- * spotSizes: [
46
- * "standard_ds1_v2",
47
- * "standard_ds2_v2",
48
- * ],
49
- * preferredSpotSizes: ["standard_ds1_v2"],
50
- * zones: [
51
- * "1",
52
- * "3",
53
- * ],
54
- * preferredZone: "1",
55
- * customData: "",
56
- * shutdownScript: "",
57
- * userData: "",
58
- * vmName: "VMName",
59
- * bootDiagnostics: [{
60
- * isEnabled: true,
61
- * storageUrl: "https://.blob.core.windows.net/test",
62
- * type: "unmanaged",
63
- * }],
64
- * dataDisks: [
65
- * {
66
- * sizeGb: 1,
67
- * lun: 1,
68
- * type: "Standard_LRS",
69
- * },
70
- * {
71
- * sizeGb: 10,
72
- * lun: 2,
73
- * type: "Standard_LRS",
74
- * },
75
- * ],
76
- * extensions: [{
77
- * name: "extensionName",
78
- * type: "customScript",
79
- * publisher: "Microsoft.Azure.Extensions",
80
- * apiVersion: "2.0",
81
- * minorVersionAutoUpgrade: true,
82
- * protectedSettings: {
83
- * script: "IyEvYmluL2Jhc2gKZWNobyAibmlyIiA+IC9ob29uaXIudHh0Cg==",
84
- * },
85
- * }],
86
- * image: {
87
- * marketplaceImages: [{
88
- * publisher: "Canonical",
89
- * offer: "UbuntuServer",
90
- * sku: "16.04-LTS",
91
- * version: "latest",
92
- * }],
93
- * },
94
- * loadBalancers: [{
95
- * type: "loadBalancer",
96
- * resourceGroupName: "testResourceGroup",
97
- * name: "testLoadBalancer",
98
- * sku: "Standard",
99
- * backendPoolNames: [
100
- * "testBackendPool1",
101
- * "testBackendPool2",
102
- * ],
103
- * }],
104
- * login: {
105
- * userName: "admin",
106
- * sshPublicKey: "33a2s1f3g5a1df5g1ad3f2g1adfg56dfg==",
107
- * },
108
- * managedServiceIdentities: [{
109
- * name: "mySI2",
110
- * resourceGroupName: "myResourceGroup",
111
- * }],
112
- * network: {
113
- * networkResourceGroupName: "subnetResourceGroup",
114
- * virtualNetworkName: "vname",
115
- * networkInterfaces: [{
116
- * isPrimary: true,
117
- * subnetName: "testSubnet",
118
- * assignPublicIp: true,
119
- * publicIpSku: "Standard",
120
- * networkSecurityGroups: [{
121
- * networkResourceGroupName: "test",
122
- * name: "test",
123
- * }],
124
- * enableIpForwarding: true,
125
- * privateIpAddresses: ["172.23.4.20"],
126
- * additionalIpConfigurations: [{
127
- * name: "test",
128
- * privateIpAddressVersion: "IPv4",
129
- * }],
130
- * publicIps: [{
131
- * networkResourceGroupName: "resourceGroup",
132
- * name: "test",
133
- * }],
134
- * applicationSecurityGroups: [{
135
- * networkResourceGroupName: "AsgResourceGroup",
136
- * name: "AsgName",
137
- * }],
138
- * }],
139
- * },
140
- * osDisk: {
141
- * sizeGb: 30,
142
- * type: "Standard_LRS",
143
- * },
144
- * secrets: [{
145
- * sourceVaults: [{
146
- * name: "string",
147
- * resourceGroupName: "string",
148
- * }],
149
- * vaultCertificates: [{
150
- * certificateUrl: "string",
151
- * certificateStore: "string",
152
- * }],
153
- * }],
154
- * security: {
155
- * securityType: "Standard",
156
- * secureBootEnabled: false,
157
- * vtpmEnabled: false,
158
- * },
159
- * tags: [{
160
- * tagKey: "Creator",
161
- * tagValue: "string",
162
- * }],
163
- * health: {
164
- * healthCheckTypes: ["vmState"],
165
- * unhealthyDuration: 300,
166
- * gracePeriod: 120,
167
- * autoHealing: true,
168
- * },
169
- * shouldPersistOsDisk: false,
170
- * osDiskPersistenceMode: "reattach",
171
- * shouldPersistDataDisks: true,
172
- * dataDisksPersistenceMode: "reattach",
173
- * shouldPersistNetwork: true,
174
- * schedulingTasks: [
175
- * {
176
- * isEnabled: true,
177
- * type: "pause",
178
- * cronExpression: "44 10 * * *",
179
- * },
180
- * {
181
- * isEnabled: true,
182
- * type: "resume",
183
- * cronExpression: "48 10 * * *",
184
- * },
185
- * {
186
- * isEnabled: true,
187
- * type: "recycle",
188
- * cronExpression: "52 10 * * *",
189
- * },
190
- * ],
191
- * signals: [
192
- * {
193
- * type: "vmReady",
194
- * timeout: 20,
195
- * },
196
- * {
197
- * type: "vmReady",
198
- * timeout: 40,
199
- * },
200
- * ],
201
- * proximityPlacementGroups: [{
202
- * name: "TestPPG",
203
- * resourceGroupName: "TestResourceGroup",
204
- * }],
205
- * deletes: [{
206
- * shouldTerminateVm: true,
207
- * networkShouldDeallocate: true,
208
- * networkTtlInHours: 0,
209
- * diskShouldDeallocate: true,
210
- * diskTtlInHours: 0,
211
- * snapshotShouldDeallocate: true,
212
- * snapshotTtlInHours: 0,
213
- * publicIpShouldDeallocate: true,
214
- * publicIpTtlInHours: 0,
215
- * }],
216
- * });
217
- * // -------------------------------------------------------------------
218
- * ```
219
- * <!--End PulumiCodeChooser -->
220
- *
221
- * # Argument Reference
222
- *
223
- * The following arguments are supported:
224
- *
225
- * * `name` - (Required) Azure stateful node name.
226
- * * `region` - (Required) The Azure region your stateful node will be created in.
227
- * * `resourceGroupName` - (Required) Name of the Resource Group for stateful node.
228
- * * `description` - (Optional) Describe your Azure stateful node.
229
- *
230
- * <a id="strategy"></a>
231
- * ## Strategy
232
- *
233
- * * `strategy` - (Required) Strategy for stateful node.
234
- * * `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.
235
- * * `fallbackToOnDemand` - (Required) In case of no spots available, Stateful Node will launch an On-demand instance instead.
236
- * * `optimizationWindows` - (Optional) Valid format: "ddd:hh:mm-ddd:hh:mm (day:hour(0-23):minute(0-59))", not empty if revertToSpot.performAt = timeWindow.
237
- * * `preferredLifeCycle` - (Optional, Enum `"od", "spot"`, Default `"spot"`) The desired type of VM.
238
- * * `revertToSpot` - (Optional) Hold settings for strategy correction - replacing On-Demand for Spot VMs.
239
- * * `performAt` - (Required, Enum `"timeWindow", "never", "always"`, Default `"always"`) Settings for maintenance strategy.
240
- * * `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)
241
- * * `shouldUtilize` - (Required) Determines whether capacity reservations should be utilized.
242
- * * `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.)
243
- * * `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.
244
- * * `crgName` - (Required) The name of the CRG.
245
- * * `crgResourceGroupName` - (Required) Azure resource group name
246
- * * `crgShouldPrioritize` - The desired CRG to utilize ahead of other CRGs in the subscription.
247
- *
248
- * <a id="compute"></a>
249
- * ## Compute
250
- *
251
- * * `os` - (Required, Enum `"Linux", "Windows"`) Type of operating system.
252
- * * `odSizes` - (Required) Available On-Demand sizes.
253
- * * `spotSizes` - (Required) Available Spot-VM sizes.
254
- * * `preferredSpotSizes` - (Optional) Prioritize Spot VM sizes when launching Spot VMs for the group. If set, must be a sublist of compute.vmSizes.spotSizes.
255
- * * `zones` - (Optional, Enum `"1", "2", "3"`) List of Azure Availability Zones in the defined region. If not defined, Virtual machines will be launched regionally.
256
- * * `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.
257
- * * `customData` - (Optional) This value will hold the YAML in base64 and will be executed upon VM launch.
258
- * * `shutdownScript` - (Optional) Shutdown script for the stateful node. Value should be passed as a string encoded at Base64 only.
259
- * * `userData` - (Optional) Define a set of scripts or other metadata that's inserted to an Azure virtual machine at provision time. (Base64 encoded)
260
- * * `vmName` - (Optional) Set a VM name that will be persisted throughout the entire node lifecycle.
261
- *
262
- * <a id="bootDiagnostics"></a>
263
- * ## Boot Diagnostics
264
- *
265
- * * `bootDiagnostics`
266
- * * `isEnabled` - (Optional) Allows you to enable and disable the configuration of boot diagnostics at launch.
267
- * * `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.
268
- * * `type` - (Optional, Enum `"managed", "unmanaged"`) Defines the storage type on VM launch in Azure.
269
- *
270
- * <a id="dataDisks"></a>
271
- * ## Data Disks
272
- *
273
- * * `dataDisk` - (Optional) The definitions of data disks that will be created and attached to the stateful node's VM.
274
- * * `sizeGb` - (Required) The size of the data disk in GB, required if dataDisks is specified.
275
- * * `lun` - (Required) The LUN of the data disk.
276
- * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
277
- *
278
- * <a id="extensions"></a>
279
- * ## Extensions
280
- *
281
- * * `extension` - (Optional) An object for an azure extension.
282
- * * `name` - (Required) Required on compute.launchSpecification.extensions object.
283
- * * `type` - (Required) Required on compute.launchSpecification.extensions object.
284
- * * `publisher` - (Required) Required on compute.launchSpecification.extensions object.
285
- * * `apiVersion` - (Required) The API version of the extension. Required if extension specified.
286
- * * `minorVersionAutoUpgrade` - (Required) Required on compute.launchSpecification.extensions object.
287
- * * `protectedSettings` - (Optional) Object for protected settings.
288
- * * `publicSettings` - (Optional) Object for public settings.
289
- *
290
- * <a id="image"></a>
291
- * ## Image
292
- *
293
- * * `image`
294
- * * `marketplaceImage` - (Optional) Select an image from Azure's Marketplace image catalogue. Required if the custom image or gallery image are not specified.
295
- * * `publisher` - (Required) Image publisher.
296
- * * `offer` - (Required) Image offer.
297
- * * `sku` - (Required) Image Stock Keeping Unit, which is the specific version of the image.
298
- * * `version` - (Required, Default `"latest"`) Image's version. if version not provided we use "latest".
299
- * * `galleryImage` - (Optional) Gallery image definitions. Required if custom image or marketplace image are not specified.
300
- * * `galleryResourceGroupName` - (Required) The resource group name for gallery image.
301
- * * `galleryName` - (Required) Name of the gallery.
302
- * * `imageName` - (Required) Name of the gallery image.
303
- * * `versionName` - (Required) Image's version. Can be in the format x.x.x or 'latest'.
304
- * * `customImage` - (Optional) Custom image definitions. Required if marketplace image or gallery image are not specified.
305
- * * `customImageResourceGroupName` - (Required) The resource group name for custom image.
306
- * * `name` - (Required) The name of the custom image.
307
- *
308
- * <a id="load balancer"></a>
309
- * ## Load Balancer
310
- *
311
- * * `loadBalancer` - (Optional) Add a load balancer. For Azure Gateway, each Backend Pool is a separate load balancer.
312
- * * `type` - (Required, Enum `"loadBalancer", "applicationGateway"`) The type of load balancer.
313
- * * `resourceGroupName` - (Required) The Resource Group name of the Load Balancer.
314
- * * `name` - (Required) Name of the Application Gateway/Load Balancer.
315
- * * `sku` - (Optional)
316
- * * if type is `"LoadBalancer"` then possible values are `“Standard", "Basic”`.
317
- * * If ApplicationGateway then possible values are
318
- * `“Standard_Large”, “Standard_Medium”, “Standard_Small”, “Standard_v2", “WAF_Large”, “WAF_Medium", “WAF_v2"`.
319
- * * `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.
320
- *
321
- * <a id="login"></a>
322
- * ## Login
323
- *
324
- * * `login` - (Required) Set admin access for accessing your VMs. Password/SSH is required for Linux.
325
- * * `userName` - (Required) username for admin access to VMs.
326
- * * `sshPublicKey` - (Optional) SSH for admin access to Linux VMs. Optional for Linux.
327
- * * `password` - (Optional) Password for admin access to Windows VMs. Required for Windows.
328
- *
329
- * <a id="managedServiceIdentities"></a>
330
- * ## Managed Service Identities
331
- *
332
- * * `managedServiceIdentities` - (Optional) Add a user-assigned managed identity to the Stateful Node's VM.
333
- * * `name` - (Required) name of the managed identity.
334
- * * `resourceGroupName` - (Required) The Resource Group that the user-assigned managed identity resides in.
335
- *
336
- * <a id="proximityPlacementGroups"></a>
337
- * ## Proximity Placement Groups
338
- *
339
- * * `proximityPlacementGroups` - (Optional) Defines the proximity placement group in which the VM will be launched.
340
- * * `name` - (Required) name of the proximity placement group.
341
- * * `resourceGroupName` - (Required) The Resource Group name of the proximity placement group.
342
- *
343
- * <a id="network"></a>
344
- * ## Network
345
- *
346
- * * `network` - (Required) Define the Virtual Network and Subnet for your Stateful Node.
347
- * * `networkResourceGroupName` - (Required) Vnet Resource Group Name.
348
- * * `virtualNetworkName` - (Required) Virtual Network.
349
- * * `networkInterface` - (Required) Define a network interface
350
- * * `isPrimary` - (Required) Defines whether the network interface is primary or not.
351
- * * `subnetName` - (Required) Subnet name.
352
- * * `assignPublicIp` - (Optional) Assign public IP.
353
- * * `publicIpSku` - (Optional) Required if assignPublicIp=true values=[Standard/Basic].
354
- * * `networkSecurityGroup` - (Optional) Network Security Group.
355
- * * `networkResourceGroupName` - (Required) Requires valid security group name.
356
- * * `name` - (Required) Requires valid resource group name.
357
- * * `enableIpForwarding` - (Optional) Enable IP Forwarding.
358
- * * `privateIpAddresses` - (Optional) A list with unique items that every item is a valid IP.
359
- * * `additionalIpConfigurations` - (Optional) Additional configuration of network interface.
360
- * * `name` - (Required) Configuration name.
361
- * * `privateIpAddressVersion` - (Required, Enum `"IPv4", "IPv6"` Default `"IPv4"`) Version of the private IP address.
362
- * * `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.
363
- * * `resourceGroupName` - (Required) The resource group of the public ip.
364
- * * `name` - (Required) - The name of the public ip.
365
- * * `applicationSecurityGroups` - (Optional) Network Security Group.
366
- * * `resourceGroupName` - (Required) Requires valid security group name.
367
- * * `name` - (Required) Requires valid resource group name.
368
- *
369
- * <a id="osDisk"></a>
370
- * ## OS Disk
371
- *
372
- * * `osDisk` - (Optional) Specify OS disk specification other than default.
373
- * * `sizeGb` - (Optional, Default `"30"`) The size of the data disk in GB.
374
- * * `type` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS"`) The type of the OS disk.
375
- *
376
- * <a id="secret"></a>
377
- * ## Secret
378
- *
379
- * * `secret` - (Optional) Set of certificates that should be installed on the VM.
380
- * * `sourceVault` - (Required) The key vault reference, contains the required certificates.
381
- * * `name` - (Required) The name of the key vault.
382
- * * `resourceGroupName` - (Required) The resource group name of the key vault.
383
- * * `vaultCertificates` - (Required) The required certificate references.
384
- * * `certificateUrl` - (Optional) The URL of the certificate under the key vault.
385
- * * `certificateStore` - (Required) The certificate store directory the VM. The directory is created in the LocalMachine account.
386
- * * This field is required only when using Windows OS type
387
- * * This field must be ‘null’ when the OS type is Linux
388
- *
389
- * <a id="secutiry"></a>
390
- * ## Security
391
- *
392
- * * `security` - (Optional) Specifies the Security related profile settings for the virtual machine.
393
- * * `secureBootEnabled` - (Optional) Specifies whether secure boot should be enabled on the virtual machine.
394
- * * `securityType` - (Optional) Enum: `"Standard", "TrustedLaunch"` 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.
395
- * * `vtpmEnabled` - (Optional) Specifies whether vTPM should be enabled on the virtual machine.
396
- *
397
- * <a id="tag"></a>
398
- * ## Tag
399
- *
400
- * * `tag` - (Optional) Unique Key-Value pair for all Stateful Node Resources.
401
- * * `tagKey` - (Optional) Tag Key for Stateful Node Resources.
402
- * * `tagValue` - (Optional) Tag Value for Stateful Node Resources.
403
- *
404
- * <a id="health"></a>
405
- * ## Health
406
- *
407
- * * `health` - (Optional) Set the auto healing preferences for unhealthy VMs.
408
- * * `healthCheckTypes` - (Optional, Enum `"vmState", "applicationGateway"`) Healthcheck to use to validate VM health.
409
- * * `unhealthyDuration` - (Optional) Amount of time to be unhealthy before a replacement is triggered.
410
- * * `autoHealing` - (Required) Enable Autohealing of unhealthy VMs.
411
- * * `gracePeriod` - (Optional) Period of time to wait for VM to reach healthiness before monitoring for unhealthiness.
412
- *
413
- * <a id="persistence"></a>
414
- * ## Persistence
415
- *
416
- * * `shouldPersistOsDisk` - (Required) Should persist os disk.
417
- * * `osDiskPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
418
- * * `shouldPersistDataDisks` - (Required) Should persist data disks.
419
- * * `dataDisksPersistenceMode` - (Optional, Enum `"reattach", "onLaunch"`)
420
- * * `shouldPersistNetwork` - (Required) Should persist network.
421
- *
422
- * <a id="schedulingTasks"></a>
423
- * ## Scheduling Tasks
424
- *
425
- * * `schedulingTask` - (Optional) Scheduling settings object for stateful node.
426
- * * `isEnabled` - (Required) Is scheduled task enabled for stateful node.
427
- * * `type` - (Required, Enum `"pause", "resume", "recycle") The type of the scheduled task
428
- * * `cronExpression` (Required) A expression which describes when to execute the scheduled task (UTC).
429
- *
430
- * <a id="signals"></a>
431
- * ## Signals
432
- *
433
- * * `signal` - (Optional) A signal object defined for the stateful node.
434
- * * `type` - (Required, Enum `"vmReady", "vmReadyToShutdown"`) The type of the signal defined for the stateful node.
435
- * * `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.
436
- *
437
- * ***
438
- *
439
- * <a id="attachDataDisk"></a>
440
- * ## Attach Data Disk
441
- *
442
- * * `attachDataDisk` - (Optional) Create a new data disk and attach it to the stateful node.
443
- * * `dataDiskName` - (Required) The name of the created data disk.
444
- * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk will be created.
445
- * * `storageAccountType` - (Required, Enum `"Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"`) The type of the data disk.
446
- * * `sizeGb` - (Required) The size of the data disk in GB, Required if dataDisks is specified.
447
- * * `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.
448
- * * `lun` - (Optional, Default `"orginal"`) The LUN of the data disk. If not defined, the LUN will be set in order.
449
- *
450
- * <a id="detachDataDisk"></a>
451
- * ## Detach Data Disk
452
- *
453
- * * `detachDataDisk` - (Optional) Detach a data disk from a stateful node.
454
- * * `dataDiskName` - (Required) The name of the detached data disk.
455
- * * `dataDiskResourceGroupName` - (Required) The resource group name in which the data disk exists.
456
- * * `shouldDeallocate` - (Required) Indicates whether to delete the data disk in addition to detach.
457
- * * `ttlInHours` - (Required, Default `"0"`) Hours to keep the disk alive before deletion.
458
- *
459
- * <a id="updateState"></a>
460
- * ## Update State
461
- *
462
- * * `updateState` - (Optional) Update the stateful node state.
463
- * * `state` - (Required, Enum `"pause", "resume", "recycle"`) New state for the stateful node.
464
- *
465
- * <a id="importVm"></a>
466
- * ## Import VM
467
- *
468
- * * `importVm` - (Optional) Import an Azure VM and create a stateful node by providing a node configuration.
469
- * * `resourceGroupName` - (Required) Name of the Resource Group for Stateful Node.
470
- * * `originalVmName` - (Required) Azure Import Stateful Node Name.
471
- * * `drainingTimeout` - (Optional) Hours to keep resources alive.
472
- * * `resourcesRetentionTime` - (Optional) Hours to keep resources alive.
473
- *
474
- * <a id="delete"></a>
475
- * ## Deallocation Config
476
- *
477
- * * `delete` - (Required) Specify deallocation parameters for stateful node deletion.
478
- * * `shouldTerminateVm` - (Required) Indicates whether to delete the stateful node's VM.
479
- * * `networkShouldDeallocate` - (Required) Indicates whether to delete the stateful node's network resources.
480
- * * `networkTtlInHours` - (Optional, Default: 96) Hours to keep the network resource alive before deletion.
481
- * * `diskShouldDeallocate` - (Required) Indicates whether to delete the stateful node's disk resources.
482
- * * `diskTtlInHours` - (Optional, Default: 96) Hours to keep the disk resource alive before deletion.
483
- * * `snapshotShouldDeallocate` - (Required) Indicates whether to delete the stateful node's snapshot resources.
484
- * * `snapshotTtlInHours` - (Optional, Default: 96) Hours to keep the snapshots alive before deletion.
485
- * * `publicIpShouldDeallocate` - (Required) Indicates whether to delete the stateful node's public ip resources.
486
- * * `publicIpTtlInHours` - (Optional, Default: 96) Hours to keep the public ip alive before deletion.
487
10
  */
488
11
  class StatefulNodeAzure extends pulumi.CustomResource {
489
12
  /**
@@ -525,6 +48,7 @@ class StatefulNodeAzure extends pulumi.CustomResource {
525
48
  resourceInputs["health"] = state ? state.health : undefined;
526
49
  resourceInputs["image"] = state ? state.image : undefined;
527
50
  resourceInputs["importVms"] = state ? state.importVms : undefined;
51
+ resourceInputs["licenseType"] = state ? state.licenseType : undefined;
528
52
  resourceInputs["loadBalancers"] = state ? state.loadBalancers : undefined;
529
53
  resourceInputs["login"] = state ? state.login : undefined;
530
54
  resourceInputs["managedServiceIdentities"] = state ? state.managedServiceIdentities : undefined;
@@ -554,6 +78,7 @@ class StatefulNodeAzure extends pulumi.CustomResource {
554
78
  resourceInputs["updateStates"] = state ? state.updateStates : undefined;
555
79
  resourceInputs["userData"] = state ? state.userData : undefined;
556
80
  resourceInputs["vmName"] = state ? state.vmName : undefined;
81
+ resourceInputs["vmNamePrefix"] = state ? state.vmNamePrefix : undefined;
557
82
  resourceInputs["zones"] = state ? state.zones : undefined;
558
83
  }
559
84
  else {
@@ -597,6 +122,7 @@ class StatefulNodeAzure extends pulumi.CustomResource {
597
122
  resourceInputs["health"] = args ? args.health : undefined;
598
123
  resourceInputs["image"] = args ? args.image : undefined;
599
124
  resourceInputs["importVms"] = args ? args.importVms : undefined;
125
+ resourceInputs["licenseType"] = args ? args.licenseType : undefined;
600
126
  resourceInputs["loadBalancers"] = args ? args.loadBalancers : undefined;
601
127
  resourceInputs["login"] = args ? args.login : undefined;
602
128
  resourceInputs["managedServiceIdentities"] = args ? args.managedServiceIdentities : undefined;
@@ -626,6 +152,7 @@ class StatefulNodeAzure extends pulumi.CustomResource {
626
152
  resourceInputs["updateStates"] = args ? args.updateStates : undefined;
627
153
  resourceInputs["userData"] = args ? args.userData : undefined;
628
154
  resourceInputs["vmName"] = args ? args.vmName : undefined;
155
+ resourceInputs["vmNamePrefix"] = args ? args.vmNamePrefix : undefined;
629
156
  resourceInputs["zones"] = args ? args.zones : undefined;
630
157
  }
631
158
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"statefulNodeAzure.js","sourceRoot":"","sources":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ACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA9ML,8CA+MC;AAjMG,gBAAgB;AACO,8BAAY,GAAG,oDAAoD,CAAC"}
package/types/input.d.ts CHANGED
@@ -217,6 +217,7 @@ export interface StatefulNodeAzureNetworkNetworkInterfacePublicIp {
217
217
  networkResourceGroupName: pulumi.Input<string>;
218
218
  }
219
219
  export interface StatefulNodeAzureOsDisk {
220
+ caching?: pulumi.Input<string>;
220
221
  sizeGb?: pulumi.Input<number>;
221
222
  type: pulumi.Input<string>;
222
223
  }
@@ -251,9 +252,11 @@ export interface StatefulNodeAzureSignal {
251
252
  type: pulumi.Input<string>;
252
253
  }
253
254
  export interface StatefulNodeAzureStrategy {
255
+ availabilityVsCost?: pulumi.Input<number>;
254
256
  capacityReservations?: pulumi.Input<pulumi.Input<inputs.StatefulNodeAzureStrategyCapacityReservation>[]>;
255
257
  drainingTimeout?: pulumi.Input<number>;
256
258
  fallbackToOnDemand: pulumi.Input<boolean>;
259
+ odWindows?: pulumi.Input<pulumi.Input<string>[]>;
257
260
  optimizationWindows?: pulumi.Input<pulumi.Input<string>[]>;
258
261
  preferredLifeCycle?: pulumi.Input<string>;
259
262
  revertToSpot?: pulumi.Input<inputs.StatefulNodeAzureStrategyRevertToSpot>;
package/types/output.d.ts CHANGED
@@ -216,6 +216,7 @@ export interface StatefulNodeAzureNetworkNetworkInterfacePublicIp {
216
216
  networkResourceGroupName: string;
217
217
  }
218
218
  export interface StatefulNodeAzureOsDisk {
219
+ caching?: string;
219
220
  sizeGb?: number;
220
221
  type: string;
221
222
  }
@@ -250,9 +251,11 @@ export interface StatefulNodeAzureSignal {
250
251
  type: string;
251
252
  }
252
253
  export interface StatefulNodeAzureStrategy {
254
+ availabilityVsCost?: number;
253
255
  capacityReservations?: outputs.StatefulNodeAzureStrategyCapacityReservation[];
254
256
  drainingTimeout: number;
255
257
  fallbackToOnDemand: boolean;
258
+ odWindows?: string[];
256
259
  optimizationWindows?: string[];
257
260
  preferredLifeCycle: string;
258
261
  revertToSpot: outputs.StatefulNodeAzureStrategyRevertToSpot;