View all the clusters you have created in Container Service, including swarm clusters and Kubernetes clusters. 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

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"