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

platformFaultDomainCount

Fault Domain count.

platformUpdateDomainCount

Update Domain count.

proximityPlacementGroup

Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01.

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. NOTE: This property will not be serialized. It can only be populated by the server.

virtualMachines

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

Inherited Properties

id

Resource Id NOTE: This property will not be serialized. It can only be populated by the server.

location

Resource location

name

Resource name NOTE: This property will not be serialized. It can only be populated by the server.

tags

Resource tags

type

Resource type NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

platformFaultDomainCount

Fault Domain count.

platformFaultDomainCount?: number

Property Value

number

platformUpdateDomainCount

Update Domain count.

platformUpdateDomainCount?: number

Property Value

number

proximityPlacementGroup

Specifies information about the proximity placement group that the availability set should be assigned to.

Minimum api-version: 2018-04-01.

proximityPlacementGroup?: SubResource

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

statuses

The resource status information. NOTE: This property will not be serialized. It can only be populated by the server.

statuses?: InstanceViewStatus[]

Property Value

virtualMachines

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

virtualMachines?: SubResource[]

Property Value

Inherited Property Details

id

Resource Id NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From Resource.id

location

Resource location

location: string

Property Value

string

Inherited From Resource.location

name

Resource name NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

tags

Resource tags

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From Resource.tags

type

Resource type NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type