View the cluster details according to the cluster ID. For more information about the API description, see Container Service API reference.

Scope

Swarm clusters and Kubernetes clusters.

API request and response

Request format

aliyun cs GET /clusters/<cluster_id>

Response results

{
    "Agent_version": "string ",
    "cluster_id": "string",
    "created": "datetime",
    "external_loadbalancer_id": "string",
    "master_url": "string",
    "name": "string",
    "network_mode": "string",
    "region_id": "string",
    "security_group_id": "string",
    "size": "numbers",
    "state": "string",
    "updated": "datetime",
    "vpc_id": "string",
    "vswitch_id": "string"
}