AvailabilitySet Class

Definition

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 Manage the availability of virtual machines. <br><br> For more information on Azure planned maintainance, see Planned maintenance for virtual machines in Azure <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set.

[Microsoft.Rest.Serialization.JsonTransformation]
public class AvailabilitySet : Microsoft.Azure.Management.Compute.Models.Resource
type AvailabilitySet = class
    inherit Resource
Public Class AvailabilitySet
Inherits Resource
Inheritance
System.Object
AvailabilitySet
Attributes

Constructors

AvailabilitySet()

Initializes a new instance of the AvailabilitySet class.

Properties

Id

Gets resource Id

(Inherited from Resource)
Location

Gets or sets resource location

(Inherited from Resource)
Name

Gets resource name

(Inherited from Resource)
PlatformFaultDomainCount

Gets or sets fault Domain count.

PlatformUpdateDomainCount

Gets or sets update Domain count.

Sku

Gets or sets sku of the availability set

Statuses

Gets the resource status information.

Tags

Gets or sets resource tags

(Inherited from Resource)
Type

Gets resource type

(Inherited from Resource)
VirtualMachines

Gets or sets a list of references to all virtual machines in the availability set.

Methods

Validate()

Validate the object.

Applies to