describeCluster

Query detailed information on cluster

Parameters: String

  • clusterid: String. Unique identification assigned when creating the cluster.

Return: ClusterDetail

  • clusterid: String. Same as parameter values.
  • name: String.
  • region: String.
  • purpose: String. Same as the createCluster parameters.
  • groups: List<AddInstanceGroupResponse>. Details of Individual groups, see describeInstanceGroup back
  • masterPublicDnsName: String. Primary mode domain name, possibly extranet IP.
  • clusterStatus: Status
    • state: stateCode. The current state of the cluster.
    • stateChangeReason: String. The reason for the state change.
    • timeline: Timeline. Each time point, 32-bit integer, expressed in seconds.
      • creationTime: int. Time the cluster was created.
      • readyTime: int. Time the cluster was ready.
      • endTime: int. Time the cluster ended.

Errors

  • Internal server error.
  • Parameter error. For example, the clusterId cluster does not exist, etc.
  • Insufficient permissions.