Share via


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 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.

Extends

Properties

properties

The instance view of a resource.

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'.

Inherited Properties

location

Resource location

tags

Resource tags

Property Details

properties

The instance view of a resource.

properties?: AvailabilitySetProperties

Property Value

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

Inherited Property Details

location

Resource location

location: string

Property Value

string

Inherited From Resource.location

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From Resource.tags