Retrieves a list of GPU clusters.
Operation description
After installing the component for the target ACK cluster:
First, when a cluster is managed for the first time, the component is installed on all ECS instances currently in the cluster. If the cluster contains more than 50 nodes, only 50 instances are included in the first batch.
Then, the operating system console periodically checks the scaling status of the managed cluster. When a new ECS instance is added to the cluster, the operating system console automatically installs the component on it without user intervention.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/aiTopology/topology/listCluster HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| timeRegion |
any |
No |
The query time range, in milliseconds, in the format of [start, end]. Example: [13254125000, 52451241000]. |
[1757820000, 1757823600] |
| regionId |
string |
No |
The ID of the region to query. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| code |
string |
The response code. Valid values: Success and Sysom.ACKClusterNotFound. |
Success |
| data |
any |
The list of clusters returned. |
["cluster1", "cluster2"] |
| message |
string |
The error message returned when the code is not Success. |
success |
| requestId |
string |
Id of the request |
1234567890 |
| total |
integer |
The number of clusters returned. |
10 |
Examples
Success response
JSON format
{
"code": "Success",
"data": "[\"cluster1\", \"cluster2\"]",
"message": "success",
"requestId": "1234567890",
"total": 10
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Sysom.ServerError | Server error, please correct the code according to the error message. %s. | Server error, please correct the code according to the error message |
| 400 | Sysom.ACKClusterNotFound | The specified ACK cluster was not found. %s. | The specified ACK cluster was not found |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.