Share via


Cluster Constructors

Definition

Overloads

Cluster()

Initializes a new instance of the Cluster class.

Cluster(Sku, String, String, String, Nullable<Int32>, String, Nullable<Int32>, IList<String>)

Initializes a new instance of the Cluster class.

Cluster()

Initializes a new instance of the Cluster class.

public Cluster ();
Public Sub New ()

Applies to

Cluster(Sku, String, String, String, Nullable<Int32>, String, Nullable<Int32>, IList<String>)

Initializes a new instance of the Cluster class.

public Cluster (Microsoft.Azure.Management.Avs.Models.Sku sku, string id = default, string name = default, string type = default, int? clusterSize = default, string provisioningState = default, int? clusterId = default, System.Collections.Generic.IList<string> hosts = default);
new Microsoft.Azure.Management.Avs.Models.Cluster : Microsoft.Azure.Management.Avs.Models.Sku * string * string * string * Nullable<int> * string * Nullable<int> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Avs.Models.Cluster
Public Sub New (sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional clusterSize As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional clusterId As Nullable(Of Integer) = Nothing, Optional hosts As IList(Of String) = Nothing)

Parameters

sku
Sku

The cluster SKU

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

clusterSize
Nullable<Int32>

The cluster size

provisioningState
String

The state of the cluster provisioning. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Deleting', 'Updating'

clusterId
Nullable<Int32>

The identity

hosts
IList<String>

The hosts

Applies to