Sdílet prostřednictvím


Cluster Class

Definition

A Stream Analytics Cluster object

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20200301Preview.ClusterTypeConverter))]
public class Cluster : Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20200301Preview.ICluster, Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20200301Preview.ClusterTypeConverter))>]
type Cluster = class
    interface ICluster
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class Cluster
Implements ICluster, IValidates
Inheritance
Cluster
Attributes
Implements

Constructors

Cluster()

Creates an new Cluster instance.

Properties

CapacityAllocated

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

CapacityAssigned

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.

ClusterId

Unique identifier for the cluster.

CreatedDate

The date this cluster was created.

Etag

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.

Id

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

Location

The geo-location where the resource lives

Name

The name of the resource

ProvisioningState

The status of the cluster provisioning. The three terminal states are: Succeeded, Failed and Canceled

SkuCapacity

Denotes the number of streaming units the cluster can support. Valid values for this property are multiples of 36 with a minimum value of 36 and maximum value of 216. Required on PUT (CreateOrUpdate) requests.

SkuName

Specifies the SKU name of the cluster. Required on PUT (CreateOrUpdate) requests.

Tag

Resource tags.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Cluster.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Cluster.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20200301Preview.ICluster.

FromJsonString(String)

Creates a new instance of Cluster, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Cluster into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to