Share via


Cluster Constructors

Definition

Overloads

Cluster()

Initializes a new instance of the Cluster class.

Cluster(String, String, String, IDictionary<String,String>, String, ClusterSku, String, Nullable<DateTime>, String, String, Nullable<Int32>, Nullable<Int32>)

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(String, String, String, IDictionary<String,String>, String, ClusterSku, String, Nullable<DateTime>, String, String, Nullable<Int32>, Nullable<Int32>)

Initializes a new instance of the Cluster class.

public Cluster (string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string location = default, Microsoft.Azure.Management.StreamAnalytics.Models.ClusterSku sku = default, string etag = default, DateTime? createdDate = default, string clusterId = default, string provisioningState = default, int? capacityAllocated = default, int? capacityAssigned = default);
new Microsoft.Azure.Management.StreamAnalytics.Models.Cluster : string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.StreamAnalytics.Models.ClusterSku * string * Nullable<DateTime> * string * string * Nullable<int> * Nullable<int> -> Microsoft.Azure.Management.StreamAnalytics.Models.Cluster
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional sku As ClusterSku = Nothing, Optional etag As String = Nothing, Optional createdDate As Nullable(Of DateTime) = Nothing, Optional clusterId As String = Nothing, Optional provisioningState As String = Nothing, Optional capacityAllocated As Nullable(Of Integer) = Nothing, Optional capacityAssigned As Nullable(Of Integer) = Nothing)

Parameters

id
String

Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

tags
IDictionary<String,String>

Resource tags.

location
String

The geo-location where the resource lives

etag
String

The current entity tag for the cluster. This is an opaque string. You can use it to detect whether the resource has changed between requests. You can also use it in the If-Match or If-None-Match headers for write operations for optimistic concurrency.

createdDate
Nullable<DateTime>

The date this cluster was created.

clusterId
String

Unique identifier for the cluster.

provisioningState
String

Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress'

capacityAllocated
Nullable<Int32>

Represents the number of streaming units currently being used on the cluster.

capacityAssigned
Nullable<Int32>

Represents the sum of the SUs of all streaming jobs associated with the cluster. If all of the jobs were running, this would be the capacity allocated.

Applies to