LinuxVirtualMachineScaleSetSpotRestore

data class LinuxVirtualMachineScaleSetSpotRestore(val enabled: Boolean? = null, val timeout: String? = null)

Constructors

Link copied to clipboard
constructor(enabled: Boolean? = null, timeout: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val enabled: Boolean? = null

Should the Spot-Try-Restore feature be enabled? The Spot-Try-Restore feature will attempt to automatically restore the evicted Spot Virtual Machine Scale Set VM instances opportunistically based on capacity availability and pricing constraints. Possible values are true or false. Defaults to false. Changing this forces a new resource to be created.

Link copied to clipboard
val timeout: String? = null

The length of time that the Virtual Machine Scale Set should attempt to restore the Spot VM instances which have been evicted. The time duration should be between 15 minutes and 120 minutes (inclusive). The time duration should be specified in the ISO 8601 format. Defaults to PT1H. Changing this forces a new resource to be created.