你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Cluster Class

Definition

A cluster resource

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

Constructors

Cluster()

Creates an new Cluster instance.

Properties

ClusterId

The identity

Host

The hosts

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Name

The name of the resource

ProvisioningState

The state of the cluster provisioning

ResourceGroupName

Gets the resource group name

Size

The cluster size

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. E.g. P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VsanDatastoreName

Name of the vsan datastore associated with the cluster

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.VMware.Models.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.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to