计算增强型云电脑系统盘扩容询价v3
更新时间 2026-01-22 16:39:01
最近更新时间: 2026-01-22 16:39:01
接口功能介绍
- 适用于此操作的计算增强型云电脑需要满足全部条件:1. 计费方式为单独付费- 此操作将先进行计算增强型云电脑关机操作。
接口约束
无
URI
POST /v3/ecs/describeResizeSystemDiskPrice
路径参数 无
Query参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| regionId | 是 | String | 资源池ID。 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
请求参数
请求头header参数 无
请求体body参数
| 参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|---|
| desktopOid | 是 | String | 云电脑ID | ||
| diskSize | 是 | Integer | 扩容后系统盘大小(单位:GB)。需为10的倍数,取值范围:大于当前系统盘大小 |
响应参数
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| statusCode | Integer | 状态码。可能值: - 800:请求成功。 - 900:请求失败。 | 800 | |
| error | String | 错误码。 | ECPC_1000 | |
| message | String | 提示信息。 | OK. | |
| returnObj | Object | 返回数据对象 | returnObj | |
| 表 returnObj |
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| finalPrice | String | 最终价格。 | ||
| totalPrice | String | 总价格。 | ||
| subOrderPrices | Array of Objects | 价格子项。 | subOrderPrices | |
| 表 subOrderPrices |
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| totalPrice | String | 总价格 | ||
| finalPrice | String | 最终价格 | ||
| cycleCount | String | 周期数 | ||
| cycleType | String | 周期类型 | ||
| serviceTag | String | 产品类别 | ||
| orderItemPrices | Array of Objects | 价格子项。 | orderItemPrices | |
| 表 orderItemPrices |
| 参数 | 参数类型 | 说明 | 示例 | 下级对象 |
|---|---|---|---|---|
| totalPrice | String | 总价格 | ||
| finalPrice | String | 最终价格 | ||
| itemId | String | 项id | ||
| instanceCnt | String | 实例数量 | ||
| ctyunName | String | 产品名称 | ||
| resourceType | String | 资源类别 |
枚举参数
无
请求示例
请求url
https://{host}?regionId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
请求头header
无
请求体body
{
"desktopOid":"XXXXXXXXXXXXX6925",
"diskSize":90
}
响应示例
{
"statusCode":800,
"message":"OK.",
"returnObj":{
"totalPrice":95.1,
"finalPrice":95.1,
"subOrderPrices":[{
"totalPrice":95.1,
"finalPrice":95.1,
"serviceTag":"BUSINESS_CPC",
"cycleCount":31,
"cycleType":1,
"orderItemPrices":[{
"itemId":"cfacabd2189348488c5d5dd70cd73c82",
"ctyunName":"云电脑(政企版)",
"instanceCnt":1.0,
"totalPrice":1.0,
"finalPrice":91.0,
"resourceType":"BUSINESS_CPC_VM"
}]
}],
"orderSumItemPrices":[{
"totalPrice":95.1,
"finalPrice":95.1,
"serviceTag":"BUSINESS_CPC",
"cycleCount":1,
"orderItemPrices":[{
"itemId":"cfacabd2189348488c5d5dd70cd73c82",
"ctyunName":"云电脑(政企版)",
"instanceCnt":1.0,
"totalPrice":1.0,
"finalPrice":91.0,
"resourceType":"BUSINESS_CPC_VM"
}]
}]
}
}
状态码
请参考 状态码
错误码
请参考 错误码