SpotRestorePolicy Class

Definition

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.

public class SpotRestorePolicy
type SpotRestorePolicy = class
Public Class SpotRestorePolicy
Inheritance
SpotRestorePolicy

Constructors

SpotRestorePolicy()

Initializes a new instance of the SpotRestorePolicy class.

SpotRestorePolicy(Nullable<Boolean>, String)

Initializes a new instance of the SpotRestorePolicy class.

Properties

Enabled

Gets or sets 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

RestoreTimeout

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

Applies to