GPU kümelerinin listesini getirir.
Operation description
Hedef ACK kümesi için bileşen yüklendikten sonra:\n1. İlk olarak, bir küme ilk kez yönetildiğinde, bileşen kümedeki mevcut tüm ECS örneklerine yüklenir. Küme 50'den fazla düğüm içeriyorsa, ilk gruba yalnızca 50 örnek dahil edilir.\n2. Ardından, işletim sistemi konsolu yönetilen kümenin ölçeklendirme durumunu düzenli olarak kontrol eder. Kümeye yeni bir ECS örneği eklendiğinde, işletim sistemi konsolu kullanıcı müdahalesi olmadan bileşeni otomatik olarak yükler.
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 |
Milisaniye cinsinden sorgu zaman aralığı, [başlangıç, bitiş] biçiminde. Örnek: [13254125000, 52451241000]. |
[1757820000, 1757823600] |
| regionId |
string |
No |
Sorgulanacak bölgenin kimliği. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt gövdesi. |
||
| code |
string |
Yanıt kodu. Geçerli değerler: Success ve Sysom.ACKClusterNotFound. |
Success |
| data |
any |
Döndürülen kümelerin listesi. |
["cluster1", "cluster2"] |
| message |
string |
Kod Success olmadığında döndürülen hata mesajı. |
success |
| requestId |
string |
İsteğin kimliği. |
1234567890 |
| total |
integer |
Döndürülen küme sayısı. |
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. | |
| 400 | Sysom.ACKClusterNotFound | The specified ACK cluster was not found. %s. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.