Queries the specifications of resources that you can purchase.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:DescribeReservedResource |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
6666C5A5-75ED-422E-A022-7121FA18C968 |
| Images |
object |
||
| Image |
array<object> |
The information about the image. |
|
|
object |
|||
| ImageName |
string |
The name of the image. |
centos_6_08_64_20G_alibase_**** |
| ImageId |
string |
The ID of the image. |
centos_6_08_64_20G_alibase_**** |
| SupportResources |
object |
||
| SupportResource |
array<object> |
The resources. |
|
|
array<object> |
The specifications of resources that you can purchase. |
||
| EnsRegionId |
string |
The ID of the node. |
cn-beijing-cmcc |
| DataDiskSizes |
object |
||
| DataDiskSize |
array |
The sizes of data disks. |
|
|
string |
The size of the data disk. Unit: GB. |
0 |
|
| SupportResourcesCount |
string |
The number of resources that you can purchase. |
9 |
| SystemDiskSizes |
object |
||
| SystemDiskSize |
array |
The sizes of system disks. |
|
|
string |
The size of the system disk. Unit: GB. |
20 |
|
| InstanceSpec |
string |
The specifications of instances. |
ens.sn1.stiny |
| Code |
integer |
The returned service code. 0 indicates that the request was successful. |
0 |
Examples
Success response
JSON format
{
"RequestId": "6666C5A5-75ED-422E-A022-7121FA18C968",
"Images": {
"Image": [
{
"ImageName": "centos_6_08_64_20G_alibase_****",
"ImageId": "centos_6_08_64_20G_alibase_****"
}
]
},
"SupportResources": {
"SupportResource": [
{
"EnsRegionId": "cn-beijing-cmcc",
"DataDiskSizes": {
"DataDiskSize": [
"0"
]
},
"SupportResourcesCount": "9",
"SystemDiskSizes": {
"SystemDiskSize": [
"20"
]
},
"InstanceSpec": "ens.sn1.stiny"
}
]
},
"Code": 0
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | The input parameters that is mandatory for processing this request is not supplied. | |
| 400 | InstanceNotExists | The user have no instances. | |
| 400 | CallInterface | Call Interface Happen Error. | An error occurred when you call the operation. |
| 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.