VirtualMachineData.EvictionPolicy Property

Definition

Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.

public Azure.ResourceManager.Compute.Models.VirtualMachineEvictionPolicyType? EvictionPolicy { get; set; }
member this.EvictionPolicy : Nullable<Azure.ResourceManager.Compute.Models.VirtualMachineEvictionPolicyType> with get, set
Public Property EvictionPolicy As Nullable(Of VirtualMachineEvictionPolicyType)

Property Value

Applies to