Queries one or more container clusters that meet the specified conditions.
Operation description
You can call this operation to query only Container Service for Kubernetes (ACK) clusters.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
PageNumber | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Valid values: 1 to 99. Default value: 10. | 10 |
ClusterId | string | No | The ID of the cluster. | cc-000*************hg9 |
Identifier | string | No | The identifier of container cluster. | cca*******************************87a |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "CC94B755-C3C2-5B9D-BD77-E0FE819A4DB2",
"Success": true,
"Code": "200",
"Message": "successful",
"PageSize": 100,
"PageNumber": 1,
"TotalCount": 8,
"Clusters": [
{
"Token": "eyJhY2Nvd******A/VnZpgXQC5A==",
"Description": "description ack pv backup",
"ClusterType": "ACK",
"Identifier": "c5bbd0931a30947f4ab85efd19380a72d",
"NetworkType": "VPC",
"Name": "ack_pv_backup_location",
"AgentStatus": "READY",
"ClusterId": "cl-0006gwppd0jtttpmb0ri"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2023-04-21 | The request parameters of the API has changed | see changesets | ||||
|