Mengkueri kluster High Performance Computing (HPC) yang tersedia. Parameter permintaan berfungsi sebagai filter. Filter dievaluasi menggunakan logika AND. Parameter bersifat independen satu sama lain.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeHpcClusters |
get |
*HpcCluster
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah. Anda dapat memanggil DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi pastikan token tersebut unik untuk setiap permintaan. Nilai ClientToken hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Untuk informasi selengkapnya, lihat How to ensure idempotence. |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
Yes |
The region ID. You can call DescribeRegions to query the most recent region list. |
cn-hangzhou |
| HpcClusterIds |
string |
No |
ID kluster HPC. Nilai dapat berupa array JSON yang terdiri dari hingga 100 ID kluster HPC. Pisahkan ID dengan koma (,). |
["hpc-xxxxxxxxx", "hpc-yyyyyyyyy", … "hpc-zzzzzzzzz"] |
| PageNumber |
integer |
No |
Nomor halaman daftar kluster HPC. Nilai minimum: 1. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman untuk kueri berhalaman. Nilai maksimum: 100. Nilai default: 10. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
Jumlah entri per halaman. |
10 |
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| PageNumber |
integer |
Nomor halaman daftar kluster HPC. |
1 |
| TotalCount |
integer |
Jumlah total kluster HPC. |
2 |
| HpcClusters |
object |
||
| HpcCluster |
array<object> |
Array objek HpcCluster yang berisi informasi tentang kluster HPC. |
|
|
object |
|||
| HpcClusterId |
string |
The description of the HPC cluster. |
hpc-bp1a5zr3u7nq9cx**** |
| Name |
string |
The name of the HPC cluster. |
testName |
| Description |
string |
The description of the HPC cluster. |
testDescription |
Contoh
Respons sukses
JSONformat
{
"PageSize": 10,
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"PageNumber": 1,
"TotalCount": 2,
"HpcClusters": {
"HpcCluster": [
{
"HpcClusterId": "hpc-bp1a5zr3u7nq9cx****",
"Name": "testName",
"Description": "testDescription"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidRegionId.NotFound | The specified parameter "RegionId" is not valid. | |
| 400 | MissingParameter.HpcClusterId | The input parameter HpcClusterId that is mandatory for processing this request is not supplied. | |
| 400 | InvalidHpcClusterIds.ExceedLimit | The amount of specified specified hpc cluster ids exceeds the limit. | |
| 400 | InvalidHpcClusterIds.Malformed | The amount of specified specified hpc cluster ids is invalid. | |
| 400 | Invalid.Parameter | Invalid parameters. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.