SpotRestorePolicyArgs

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

Specifies the Spot-Try-Restore properties for the virtual machine scale set. With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint.

Constructors

Link copied to clipboard
constructor(enabled: Output<Boolean>? = null, restoreTimeout: Output<String>? = null)

Properties

Link copied to clipboard
val enabled: Output<Boolean>? = null

Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints

Link copied to clipboard
val restoreTimeout: Output<String>? = null

Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances

Functions

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