Mengambil daftar kluster GPU.
Deskripsi operasi
Setelah menginstal Komponen untuk kluster ACK target:
Pertama, saat kluster dikelola untuk pengatur waktu pertama, Komponen diinstal pada semua Instance ECS yang saat ini berada di kluster. Jika kluster berisi lebih dari 50 node, hanya 50 Instans yang disertakan dalam Batch pertama.
Lalu, Konsol sistem operasi memeriksa status penskalaan kluster yang dikelola secara berkala. Saat Instance ECS baru ditambahkan ke kluster, Konsol sistem operasi secara otomatis menginstal Komponen tersebut tanpa intervensi pengguna.
Coba sekarang
Test
RAM authorization
Sintaks permintaan
GET /api/v1/aiTopology/topology/listCluster HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| timeRegion |
any |
No |
Rentang pengatur waktu kueri, dalam milidetik, dalam format [start, end]. Contoh: [13254125000, 52451241000]. |
[1757820000, 1757823600] |
| regionId |
string |
No |
ID Wilayah yang akan dikueri. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Badan tanggapan. |
||
| code |
string |
Kode tanggapan. Nilai valid: Success dan Sysom.ACKClusterNotFound. |
Success |
| data |
any |
Daftar kluster yang dikembalikan. |
["Kluster1", "Kluster2"] |
| message |
string |
Paket error yang dikembalikan ketika kode bukan Success. |
success |
| requestId |
string |
ID permintaan. |
1234567890 |
| total |
integer |
Jumlah kluster yang dikembalikan. |
10 |
Contoh
Respons sukses
JSONformat
{
"code": "Success",
"data": "[\"cluster1\", \"cluster2\"]",
"message": "success",
"requestId": "1234567890",
"total": 10
}
Kode kesalahan
|
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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.