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

Cluster Class

The HDInsight cluster.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.hdinsight.models._models_py3.TrackedResource
Cluster

Constructor

Cluster(*, location: str, tags: Dict[str, str] | None = None, etag: str | None = None, zones: List[str] | None = None, properties: ClusterGetProperties | None = None, identity: ClusterIdentity | None = None, **kwargs)

Parameters

Name Description
tags
Required

A set of tags. Resource tags.

location
Required
str

Required. The geo-location where the resource lives.

etag
Required
str

The ETag for the resource.

zones
Required

The availability zones.

properties
Required

The properties of the cluster.

identity
Required

The identity of the cluster, if configured.

Keyword-Only Parameters

Name Description
location
Required
tags
Required
etag
Required
zones
Required
properties
Required
identity
Required

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

system_data

Metadata pertaining to creation and last modification of the resource.