Share via


AvailabilitySetInner 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 maintenance, 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 AvailabilitySetInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type AvailabilitySetInner = class
    inherit Resource
Public Class AvailabilitySetInner
Inherits Resource
Inheritance
AvailabilitySetInner
Attributes

Constructors

AvailabilitySetInner()

Initializes a new instance of the AvailabilitySetInner class.

AvailabilitySetInner(String, String, String, String, IDictionary<String, String>, Nullable<Int32>, Nullable<Int32>, IList<SubResource>, SubResource, IList<InstanceViewStatus>, Sku)

Initializes a new instance of the AvailabilitySetInner class.

Properties

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
PlatformFaultDomainCount

Gets or sets fault Domain count.

PlatformUpdateDomainCount

Gets or sets update Domain count.

ProximityPlacementGroup

Gets or sets specifies information about the proximity placement group that the availability set should be assigned to. &lt;br&gt;&lt;br&gt;Minimum api-version: 2018-04-01.

Sku

Gets or sets 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

Gets the resource status information.

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)
VirtualMachines

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

Methods

Validate()

Validate the object.

Applies to