正在加载文档
最近更新时间: 2021-04-22 15:59:11
POST/v1/vm/instance/:instance_id/renew
| 名称 | 类型 | 位置 | 必须 | 描述 |
|---|---|---|---|---|
| instance_id | string | path | 是 | |
| 云主机实例ID |
| | region_id | string | body | 是 |
实例所属地域 ID。
| | cost_charge_type | string | body | 是 | 付费方式 | | cost_charge_mode | string | body | 是 | 计费方式, PayByInstance | | cost_period_unit | string | body | 是 | 计费单位 | | cost_period | integer | body | 是 | 计费周期 | | client_token | string | body | 否 | 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。只支持ASCII字符,且不能超过64个字符。 |
{
"region_id": "cn-shenzhen",
"cost_charge_type": "PrePaid",
"cost_period":1,
"cost_period_unit":"Month",
"client_token": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}| 名称 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| success | boolean | 否 | 是否操作成功 |
{
"request_id":"c6cdf393-3522-476b-ab39-1e9d41a67768",
"data":{
"order": "1QW2F998-8642-2346-I2K3-0OKMNHY65TG4"
}
}这篇文档有帮助吗?
正在加载反馈服务…