VirtualMachineScaleSetVMProfile.EvictionPolicy Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview. Possible values include: 'Deallocate', 'Delete'
[Newtonsoft.Json.JsonProperty(PropertyName="evictionPolicy")]
public Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes EvictionPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="evictionPolicy")>]
member this.EvictionPolicy : Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineEvictionPolicyTypes with get, set
Public Property EvictionPolicy As VirtualMachineEvictionPolicyTypes
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Applies to
Azure SDK for .NET