Queries the available resources in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeCloudDiskAvailableResourceInfo |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
0AE4F26E-7527-569F-A987-E3CF269A3C11 |
| SupportResources |
object |
||
| SupportResource |
array<object> |
The specifications of resources that you can purchase. |
|
|
array<object> |
The specifications of resource that you can purchase. |
||
| EnsRegionId |
string |
The ID of the edge node. |
cn-beijing-cmcc |
| EnsRegionName |
string |
The name of the task node. |
BeijingMobile |
| 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:High-efficiency cloud disk cloud_ssd:All-flash cloud disk |
Examples
Success response
JSON format
{
"RequestId": "0AE4F26E-7527-569F-A987-E3CF269A3C11",
"SupportResources": {
"SupportResource": [
{
"EnsRegionId": "cn-beijing-cmcc",
"EnsRegionName": "BeijingMobile",
"DiskMinSize": 20,
"DiskMaxSize": 80,
"CanBuyCount": 2,
"Category": "cloud_ssd",
"DefaultDiskSize": 20,
"Ability": {
"Ability": [
"cloud_efficiency:High-efficiency cloud disk\ncloud_ssd:All-flash cloud disk"
]
}
}
]
}
}
Error codes
|
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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.