Retrieves the list of parameters for a GPU cluster.
Operation description
After you install the component for the target ACK cluster:
When the cluster is managed for the first time, the component is installed on all ECS instances currently 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 the component on the instance without user intervention.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sysom:GetGpuClusterArgsOptions |
get |
*All Resource
|
None | None |
Request syntax
GET /api/v1/aiTopology/topology/listClusterTopologyOptions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| filterType |
string |
Yes |
|
instance_id_list |
| filterValues |
any |
No |
The filter conditions, which is a JSON object. The cluster_id field is required. Other filter conditions support the following values:
|
{ "cluster_id": "cluster1" } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| code |
string |
The response code, which is Success or Sysom.ServerError. |
Success Fail |
| data |
any |
The result of the parameter retrieval. |
["instance1", "instance2"] |
| message |
string |
The error message returned when the code is not Success. |
some error msg while fail,“” if success |
| requestId |
string |
Id of the request |
return real request id |
| total |
integer |
The total number of returned items. |
10 |
Examples
Success response
JSON format
{
"code": "Success Fail",
"data": "[\"instance1\", \"instance2\"]",
"message": "some error msg while fail,“” if success",
"requestId": "return real request id",
"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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.