DescribeAckClusters
Queries a list of Alibaba Cloud Container Service for Kubernetes (ACK) clusters that meet specified conditions, such as cluster type and specifications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeAckClusters |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionNo |
string |
Yes |
The region ID of the ACK cluster. |
cn-hangzhou |
| MemberUid |
string |
No |
The Alibaba Cloud account ID to which the ACK cluster resources belong. |
135809047715**** |
| PageSize |
string |
Yes |
The number of entries to return on each page. |
10 |
| PageNo |
string |
Yes |
The page number. |
1 |
| ClusterId |
string |
No |
The ID of the ACK cluster. |
cb0f5640b1b2d404cad6ba21509d7847b |
| ClusterName |
string |
No |
The name of the ACK cluster. |
ack-cluster-name |
| ClusterSpec |
string |
No |
The specifications of the ACK cluster. Valid values:
|
ack.pro.small |
| ConnectorStatus |
string |
No |
The instance status of the connector in the ACK cluster. |
ready |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Clusters |
array<object> |
The list of ACK clusters. |
|
|
object |
The ACK cluster. |
||
| MemberUid |
string |
The Alibaba Cloud account ID to which the ACK cluster resources belong. |
135809047715**** |
| RegionId |
string |
The region ID of the ACK cluster. |
cn-hangzhou |
| ClusterId |
string |
The ID of the ACK cluster. |
cb0f5640b1b2d404cad6ba21509d7847b |
| ClusterName |
string |
The name of the ACK cluster. |
ack-cluster-name |
| ClusterType |
string |
The type of the ACK cluster. Valid values:
Valid values:
|
ManagedKubernetes |
| Profile |
string |
When
Valid values:
|
Default |
| VpcId |
string |
The ID of the VPC to which the ACK cluster belongs. |
vpc-2vcg932hsxsxuqbgl**** |
| Network |
string |
The network plug-in of the ACK cluster. Valid values:
Valid values:
|
terway-eniip |
| ClusterSpec |
string |
The specifications of the ACK cluster. Valid values:
|
ack.pro.small |
| State |
string |
The running status of the ACK cluster. Valid values:
Valid values:
|
running |
| PageNo |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries to return on each page. |
10 |
| RequestId |
string |
The request ID. |
C5DDD596-1191-5F36-A504-8733045A**** |
| TotalCount |
integer |
The total number of entries. |
1 |
Examples
Success response
JSON format
{
"Clusters": [
{
"MemberUid": "135809047715****",
"RegionId": "cn-hangzhou",
"ClusterId": "cb0f5640b1b2d404cad6ba21509d7847b",
"ClusterName": "ack-cluster-name",
"ClusterType": "ManagedKubernetes",
"Profile": "Default",
"VpcId": "vpc-2vcg932hsxsxuqbgl****",
"Network": "terway-eniip",
"ClusterSpec": "ack.pro.small",
"State": "running"
}
],
"PageNo": 1,
"PageSize": 10,
"RequestId": "C5DDD596-1191-5F36-A504-8733045A****",
"TotalCount": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
| 400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
| 400 | ErrorRegionNo | regionNo error. | Region selection error, please re-enter. |
| 400 | ErrorAckNotOpen | ACK service is not open. | ACK service is not open. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.