LinuxVirtualMachineScaleSetSpotRestoreArgs

data class LinuxVirtualMachineScaleSetSpotRestoreArgs(val enabled: Output<Boolean>? = null, val timeout: Output<String>? = null) : ConvertibleToJava<LinuxVirtualMachineScaleSetSpotRestoreArgs>

Constructors

constructor(enabled: Output<Boolean>? = null, timeout: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<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: Output<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.

Functions

Link copied to clipboard
open override fun toJava(): LinuxVirtualMachineScaleSetSpotRestoreArgs