Udostępnij za pośrednictwem


AvailabilitySetInner Constructors

Definition

Overloads

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.

AvailabilitySetInner()

Initializes a new instance of the AvailabilitySetInner class.

public AvailabilitySetInner ();
Public Sub New ()

Applies to

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.

public AvailabilitySetInner (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, int? platformUpdateDomainCount = default, int? platformFaultDomainCount = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> virtualMachines = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource proximityPlacementGroup = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.InstanceViewStatus> statuses = default, Microsoft.Azure.Management.Compute.Fluent.Models.Sku sku = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.AvailabilitySetInner : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<int> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.InstanceViewStatus> * Microsoft.Azure.Management.Compute.Fluent.Models.Sku -> Microsoft.Azure.Management.Compute.Fluent.Models.AvailabilitySetInner
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional platformUpdateDomainCount As Nullable(Of Integer) = Nothing, Optional platformFaultDomainCount As Nullable(Of Integer) = Nothing, Optional virtualMachines As IList(Of SubResource) = Nothing, Optional proximityPlacementGroup As SubResource = Nothing, Optional statuses As IList(Of InstanceViewStatus) = Nothing, Optional sku As Sku = Nothing)

Parameters

location
String
id
String
name
String
type
String
platformUpdateDomainCount
Nullable<Int32>

Update Domain count.

platformFaultDomainCount
Nullable<Int32>

Fault Domain count.

virtualMachines
IList<SubResource>

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

proximityPlacementGroup
SubResource

Specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01.

statuses
IList<InstanceViewStatus>

The resource status information.

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

Applies to