Memanggil DescribeCloudDiskAvailableResourceInfo untuk mengkueri informasi sumber daya yang tersedia untuk dibeli di suatu wilayah.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeCloudDiskAvailableResourceInfo |
get |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
Tidak ada parameter yang diperlukan.
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
ID permintaan. |
0AE4F26E-7527-569F-A987-E3CF269A3C11 |
| SupportResources |
object |
||
| SupportResource |
array<object> |
Informasi tentang spesifikasi sumber daya yang tersedia untuk dibeli. |
|
|
array<object> |
Informasi tentang spesifikasi sumber daya yang tersedia untuk dibeli. |
||
| EnsRegionId |
string |
The ID of the edge node. |
cn-beijing-cmcc |
| EnsRegionName |
string |
The name of the task node. |
北京移动 |
| DiskMinSize |
integer |
The minimum size of the disk size. Unit: GiB. |
20 |
| DiskMaxSize |
integer |
The maximum size of the disk. Unit: GiB. |
80 |
| CanBuyCount |
integer |
The number of disks that you can purchase. |
2 |
| Category |
string |
The type of the disk.
|
cloud_ssd |
| DefaultDiskSize |
integer |
The default size of the disk. Unit: GiB. |
20 |
| Ability |
object |
||
| Ability |
array |
Node product capability. |
|
|
string |
Node product capability. |
cloud_efficiency:高效云盘 cloud_ssd:全闪云盘 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0AE4F26E-7527-569F-A987-E3CF269A3C11",
"SupportResources": {
"SupportResource": [
{
"EnsRegionId": "cn-beijing-cmcc",
"EnsRegionName": "北京移动",
"DiskMinSize": 20,
"DiskMaxSize": 80,
"CanBuyCount": 2,
"Category": "cloud_ssd",
"DefaultDiskSize": 20,
"Ability": {
"Ability": [
"cloud_efficiency:高效云盘\ncloud_ssd:全闪云盘"
]
}
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.