describeCluster
查询集群的详细信息
参数:String
- clusterId:
String。创建集群时分配的唯一标识。
返回: ClusterDetail
- clusterId:
String。与参数值一样。 - name:
String。 - region:
String。 - purpose:
String。与createCluster时的参数是一致的。 - groups:
List<AddInstanceGroupResponse>。各个group的详细信息,参见describeInstanceGroup 返回 - masterPublicDnsName:
String。主节点域名,有可能只是外网ip。 - clusterStatus:
Status- state:
StateCode。集群当前状态。 - stateChangeReason:
String。状态变化原因。 - timeline:
Timeline。各个时间点,32位整型,秒为单位。- creationTime:
int。集群的创建时间。 - readyTime:
int。集群的就绪时间。 - endTime:
int。集群的终止时间。
- creationTime:
- state:
异常
- 服务器内部错误。
- 参数错误。比如clusterId的集群不存在等。
- 权限不够。