ListAckClusters
Retrieves the list of Container Service for Kubernetes (ACK) clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:ListAckClusters |
list |
*All Resource
|
None | None |
Request syntax
GET /openapi/ack-clusters HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| page |
integer |
No |
[Deprecated] The page number. |
1 |
| size |
integer |
No |
[Deprecated] The number of entries per page. |
15 |
| vpcId |
string |
No |
The ID of the VPC where the ACK cluster is deployed. |
vpc-bp12nu14urf0upaf4**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F93EAA49-284F-4FCE-9E67-FA23FB4BB512 |
| Result |
array<object> |
The list of ACK clusters returned for the current request. |
|
|
object |
The information about an individual ACK cluster. |
||
| clusterType |
string |
The cluster type. Only ManagedKubernetes, which indicates a Kubernetes cluster, is supported. |
ManagedKubernetes |
| vpcId |
string |
The ID of the VPC where the cluster is deployed. |
vpc-bp12nu14urf0upaf4**** |
| name |
string |
The name of the cluster. |
test |
| clusterId |
string |
The ID of the cluster. |
c5ea2c2d9a3cf499481292f60425d**** |
Examples
Success response
JSON format
{
"RequestId": "F93EAA49-284F-4FCE-9E67-FA23FB4BB512",
"Result": [
{
"clusterType": "ManagedKubernetes",
"vpcId": "vpc-bp12nu14urf0upaf4****",
"name": "test",
"clusterId": "c5ea2c2d9a3cf499481292f60425d****"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.