Condividi tramite


VirtualMachineUpdate.EvictionPolicy Property

Definition

Gets or sets 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. Possible values include: 'Deallocate', 'Delete'

[Newtonsoft.Json.JsonProperty(PropertyName="properties.evictionPolicy")]
public string EvictionPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.evictionPolicy")>]
member this.EvictionPolicy : string with get, set
Public Property EvictionPolicy As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to