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

Cluster 类

HDInsight 群集。

变量仅由服务器填充,在发送请求时将被忽略。

必须填充所有必需的参数才能发送到 Azure。

继承
azure.mgmt.hdinsight.models._models_py3.TrackedResource
Cluster

构造函数

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)

参数

名称 说明
tags
必需

一组标记。 资源标记。

location
必需
str

必需。 资源所在的地理位置。

etag
必需
str

资源的 ETag。

zones
必需

可用性区域。

properties
必需

群集的属性。

identity
必需

群集的标识(如果已配置)。

仅限关键字的参数

名称 说明
location
必需
tags
必需
etag
必需
zones
必需
properties
必需
identity
必需

变量

名称 说明
id
str

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}。

name
str

资源的名称。

type
str

资源类型。 例如“Microsoft。Compute/virtualMachines“或”Microsoft。Storage/storageAccounts”。

system_data

与资源的创建和上次修改相关的元数据。