ListClusters
Queries a list of cluster instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListClusters |
get |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NextToken |
string |
No |
The pagination token. Set this parameter to the value of NextToken that is returned from the previous API call. |
a3f2224a5ec7224116c4f5246120abe2 |
| MaxResults |
integer |
No |
The number of entries per page for a paged query. Default value: 20. |
20 |
| ResourceGroupId |
string |
No |
The resource group ID. |
rg-aek2bg6wyoox6jq |
| Tags |
array<object> |
No |
The list of tags. |
|
|
object |
No |
The tag object. |
||
| Key |
string |
No |
The tag key. |
my_key |
| Value |
string |
No |
The tag value. |
my_value |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1 |
| Clusters |
array<object> |
The cluster information. |
|
|
array<object> |
The cluster object. |
||
| Components |
any |
The component information. |
{} |
| ClusterId |
string |
The cluster ID. |
i137590131672134915401 |
| ClusterName |
string |
The cluster name. |
cnp_test_cluster |
| OperatingState |
string |
The cluster status. Valid values:
|
initializing |
| TaskId |
string |
The task ID. |
i156365121663149566024 |
| ClusterType |
string |
The cluster type. Valid values:
|
AckEdgePro |
| NodeCount |
integer |
The number of nodes. |
12 |
| NodeGroupCount |
integer |
The number of node groups. |
2 |
| CreateTime |
string |
The creation time. The time is in ISO 8601 format. |
2026-01-27T14:54:02.360 |
| UpdateTime |
string |
The update time. The time is in ISO 8601 format. |
2026-01-28T20:56:32.585 |
| ClusterDescription |
string |
The cluster description. |
Test cluster |
| ResourceGroupId |
string |
The resource group ID. |
rg-aek2ajbjoloa23q |
| VpcId |
string |
The VPC ID. |
vpc-0jlx4hol2bjboafzmffvd |
| HpnZone |
string |
The cluster number. |
B1 |
| ComputingIpVersion |
string |
The IP version of the computing network. |
IPv4 |
| Tags |
array<object> |
The tag information. |
|
|
object |
The tag information. |
||
| Key |
string |
The tag key. |
env |
| Value |
string |
The tag value. |
daily |
| NextToken |
string |
The pagination token returned by this call. |
f4f9a292c17072a2 |
Examples
Success response
JSON format
{
"RequestId": "2FE2B22C-CF9D-59DE-BF63-DC9B9B33A9D1",
"Clusters": [
{
"Components": "{}",
"ClusterId": "i137590131672134915401",
"ClusterName": "cnp_test_cluster",
"OperatingState": "initializing",
"TaskId": "i156365121663149566024",
"ClusterType": "AckEdgePro",
"NodeCount": 12,
"NodeGroupCount": 2,
"CreateTime": "2026-01-27T14:54:02.360",
"UpdateTime": "2026-01-28T20:56:32.585",
"ClusterDescription": "Test cluster",
"ResourceGroupId": "rg-aek2ajbjoloa23q",
"VpcId": "vpc-0jlx4hol2bjboafzmffvd",
"HpnZone": "B1",
"ComputingIpVersion": "IPv4",
"Tags": [
{
"Key": "env",
"Value": "daily"
}
]
}
],
"NextToken": "f4f9a292c17072a2"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.