Skip to main content

DescribeClusterDetail

Description

call the DescribeClusterDetail to view the details of the cluster according to the cluster ID.

Request Method

POST

Request Path

/apsara/route/CS/DescribeClusterDetail

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
ClusterIdBODYstringYescdde1f21ae22e483ebcb068a6eb7f****cluster ID.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
resource_group_idstringNo sample value for this parameter.cluster resource group ID.
private_zonebooleanNo sample value for this parameter.Cluster Private Zone configuration. true: Enable Private Zone. false: Private Zone is not enabled.
vpc_idstringNo sample value for this parameter.cluster proprietary network ID, required when creating a cluster.
network_modestringNo sample value for this parameter.cluster network mode, value: classic: classic network. vpc: proprietary network. overlay: overlay network. calico:Calico network. default value:vpc.
security_group_idstringNo sample value for this parameter.cluster security group ID.
cluster_typestringNo sample value for this parameter.cluster type, value: Kubernetes:Kubernetes proprietary version ManagedKubernetes: edge managed cluster
docker_versionstringNo sample value for this parameter.Docker version in the cluster.
next_versionstringNo sample value for this parameter.The cluster can be upgraded.
zone_idstringNo sample value for this parameter.zone ID where the cluster is located.
cluster_idstringNo sample value for this parameter.cluster ID.
external_loadbalancer_idstringNo sample value for this parameter.cluster Ingress SLB instance ID.
meta_datastringNo sample value for this parameter.cluster metadata information.
vswitch_idstringNo sample value for this parameter.virtual switch ID, you can select 1 to 3 virtual switches when creating a cluster. To ensure high availability of the cluster, we recommend that you select virtual switches in different zones.
statestringNo sample value for this parameter.cluster running status, value: initial: The cluster is being created. failed: cluster creation failed. running: The cluster is running. updating: cluster upgrade. updating_failed: cluster upgrade failed. scaling: cluster scaling. stopped: The cluster has stopped running. deleting: The cluster is being deleted. deleted: The cluster has been deleted. delete_failed: cluster deletion failed.
init_versionstringNo sample value for this parameter.cluster initialization version.
createdstringNo sample value for this parameter.cluster creation time.
deletion_protectionbooleanNo sample value for this parameter.cluster deletion protection to prevent misdeletion of clusters through the console or API. Value: true: enable cluster deletion protection, and clusters cannot be deleted through the console or API. false: cluster deletion protection is not enabled, the cluster can be deleted through the console or API.
subnet_cidrstringNo sample value for this parameter.Pod network address segment must be a valid private network segment, I .e. the following network segment and its subnet: 10.0.0.0/8 172.16-31.0.0/12-16 192.168.0.0/16 cannot duplicate network segments used by VPC and existing Kubernetes clusters in VPC, and cannot be modified after successful creation.
profilestringNo sample value for this parameter.cluster type when facing the scene: Default: non-edge scene cluster. Edge: edge scene cluster.
region_idstringNo sample value for this parameter.the region ID of the cluster.
master_urlstringNo sample value for this parameter.cluster access address, including intranet access address and public network access address.
current_versionstringNo sample value for this parameter.current version of the cluster.
tagsarray of tagNo sample value for this parameter.cluster resource tag.
sizelongNo sample value for this parameter.Number of cluster nodes, including Master nodes and Worker nodes.
namestringNo sample value for this parameter.cluster name. naming rule: consists of numbers, Chinese characters, English characters, or dashes (-), and the length ranges from 1 to 63 characters, and cannot start with a dash (-).
updatedstringNo sample value for this parameter.cluster update time.
worker_ram_role_namestringNo sample value for this parameter.Worker RAM role name. The ECS instance is authorized to be the Woker node of the cluster.

Example

Successful Response example

"The successful response sample is not recognizable. Please modify API definition in API gateway before re-create the API document."

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}