Queries the list of GPU clusters.
Operation description
After you install components for the target ACK cluster:
When the cluster is managed for the first time, the system installs components on all Elastic Compute Service (ECS) instances in the cluster. If the cluster has more than 50 nodes, only 50 nodes are installed in the first batch.
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 components without user intervention.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetListGpuCluster |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/aiTopology/topology/listCluster HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| timeRegion |
any |
No |
The time range to query. Unit: milliseconds. Format: [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 information. |
||
| code |
string |
The code. Valid values: Success and Sysom.ACKClusterNotFound. |
Success |
| data |
any |
The list of clusters. |
["cluster1", "cluster2"] |
| message |
string |
The error message. If the code is not success, the message is the error information. |
success |
| requestId |
string |
Id of the request |
1234567890 |
| total |
integer |
The total number of returned entries. |
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.