Share via


AvailabilitySetOutput 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

id

Resource Id

location

Resource location

name

Resource name

tags

Resource tags

type

Resource type

Property Details

properties

The instance view of a resource.

properties?: AvailabilitySetPropertiesOutput

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?: SkuOutput

Property Value

Inherited Property Details

id

Resource Id

id?: string

Property Value

string

Inherited From ResourceOutput.id

location

Resource location

location: string

Property Value

string

Inherited From ResourceOutput.location

name

Resource name

name?: string

Property Value

string

Inherited From ResourceOutput.name

tags

Resource tags

tags?: Record<string, string>

Property Value

Record<string, string>

Inherited From ResourceOutput.tags

type

Resource type

type?: string

Property Value

string

Inherited From ResourceOutput.type