AvailabilitySet interface

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.

For more information on Azure planned maintenance, see Planned maintenance 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.

Extends

Properties

id

Resource Id

location

Resource location

name

Resource name

platformFaultDomainCount

Fault Domain count.

platformUpdateDomainCount

Update Domain count.

sku

Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.

statuses

The resource status information.

tags

Resource tags

type

Resource type

virtualMachines

A list of references to all virtual machines in the availability set.

Property Details

id

Resource Id

id?: string

Property Value

string

location

Resource location

location: string

Property Value

string

name

Resource name

name?: string

Property Value

string

platformFaultDomainCount

Fault Domain count.

platformFaultDomainCount?: number

Property Value

number

platformUpdateDomainCount

Update Domain count.

platformUpdateDomainCount?: number

Property Value

number

sku

Sku of the availability set, only name is required to be set. See AvailabilitySetSkuTypes for possible set of values. Use 'Aligned' for virtual machines with managed disks and 'Classic' for virtual machines with unmanaged disks. Default value is 'Classic'.

sku?: Sku

Property Value

Sku

statuses

The resource status information.

statuses?: InstanceViewStatus[]

Property Value

tags

Resource tags

tags?: [key: string]: string

Property Value

[key: string]: string

type

Resource type

type?: string

Property Value

string

virtualMachines

A list of references to all virtual machines in the availability set.

virtualMachines?: SubResource[]

Property Value