调用DescribeCloudDiskAvailableResourceInfo查询某地域可售卖资源信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeCloudDiskAvailableResourceInfo |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
0AE4F26E-7527-569F-A987-E3CF269A3C11 |
| SupportResources |
object |
||
| SupportResource |
array<object> |
可购买的资源规格信息。 |
|
|
array<object> |
可购买的资源规格信息。 |
||
| EnsRegionId |
string |
ENS 节点 ID。 |
cn-beijing-cmcc |
| EnsRegionName |
string |
节点名称。 |
北京移动 |
| DiskMinSize |
integer |
磁盘最小值,单位:GiB。 |
20 |
| DiskMaxSize |
integer |
磁盘最大值,单位:GiB。 |
80 |
| CanBuyCount |
integer |
可购买数量。 |
2 |
| Category |
string |
磁盘种类
|
cloud_ssd |
| DefaultDiskSize |
integer |
磁盘默认大小,单位:GiB。 |
20 |
| Ability |
object |
||
| Ability |
array |
节点产品能力。 |
|
|
string |
节点产品能力。 |
cloud_efficiency:高效云盘 cloud_ssd:全闪云盘 |
示例
正常返回示例
JSON格式
{
"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:全闪云盘"
]
}
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 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. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。