1.169. # GET api/ispatial-system/clouderamanage/clusterHost¶
获取集群机器信息
## 参数
名称 | 类型 | 是否必传 | 备注 |
—- | —- | ——– | —- |
无 | | | |
## 返回
名称 | 类型 | 是否必传 | 备注 |
—————————- | —— | ——– | ————— |
lists | array | Y | 集群信息列表 |
lists.#.clusterName | string | Y | 集群名称 |
lists.#.clusterDispalyName | string | Y | 集群显示名称 |
lists.#.clusterVersion | string | Y | 集群版本号 |
lists.#.clusterUrl | string | Y | 集群url地址 |
lists.#.hostUrl | string | Y | 集群主机url地址 |
lists.#.clusterUuid | string | Y | 集群ID |
lists.#.clusterStatus | string | Y | 集群状态 |
—————————- | —— | ——– | ————— |
lists.hostList | array | Y | 包含的主机信息 |
hostList.#.hostId | string | Y | 主机id |
hostList.#.hostName | string | Y | 主机名称 |
hostList.#.ipAddress | string | Y | ip地址 |
hostList.#.rack | string | Y | 机架名称 |
hostList.#.lastHeart | string | Y | 最后心跳时间 |
hostList.#.numCores | string | Y | 主机线程数 |
hostList.#.numPhysicalCores | string | Y | 主机核数 |
hostList.#.totalPhysMemBytes | string | Y | 主机内存 |
—————————- | —— | ——– | ————— |
lists.serviceList | array | Y | 包含的服务信息 |
serviceList.#.name | string | Y | 服务名称 |
serviceList.#.type | string | Y | 服务类型 |