Share via


VirtualMachineScaleSetVM.AvailabilitySet Property

Definition

Gets or sets specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see Availability sets overview. For more information on Azure planned maintenance, see Maintenance and updates for Virtual Machines in Azure. Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

[Newtonsoft.Json.JsonProperty(PropertyName="properties.availabilitySet")]
public Microsoft.Azure.Management.Compute.Models.SubResource AvailabilitySet { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="properties.availabilitySet")>]
member this.AvailabilitySet : Microsoft.Azure.Management.Compute.Models.SubResource with get, set
Public Property AvailabilitySet As SubResource

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to