正在加载文档
最近更新时间: 2021-04-22 15:54:08
POST/v1/vpc/common_bandwidth
| 名称 | 类型 | 位置 | 是否必须 | 描述 |
|---|---|---|---|---|
| region_id | string | body | 是 | 地域 ID |
| name | string | body | 是 | 共享带宽名称 |
| bandwidth | int | body | 是 | 带宽大小, 单位Mbps, 按带宽计费最小为2, 按增强型计费最小为200 |
| ratio | int | query | 否 | 保底百分比,按增强型计费只能为20, 按带宽计费时只能为100 |
| cost_charge_type | string | body | 是 | 付费类型 |
| cost_charge_mode | string | body | 是 | 计费方式, 取值: PayByBandwidth, PayBy95; 当 cost_charge_type = PrePaid 时,只能选 PayByBandwidth |
| cost_period_unit | string | body | 是 | 付费周期 |
| cost_period | int | body | 否 | 付费周期长度, 当 cost_charge_type = PrePaid 时 必填 |
| client_token | string | body | 是 | 保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。 |
| enable_auto_renew | bool | body | 否 | 是否打开自动续费, true表示打开, 默认不打开 |
| 名称 | 类型 | 是否必须 | 描述 | | ----- | ----- | ----- | ----- | ----- | | data | CreateResponse | 是 | 创建返回结果 | | request_id | string | 是 | 请求记录 ID |
| 名称 | 类型 | 是否必须 | 描述 |
|---|---|---|---|
| order | string | 否 | 订单号,选择预付费返回该参数 |
| bandwidth_package_id | string | 否 | 带宽包 ID, 选择后付费返回该参数 |
预付费:
{
"data": {
"order": "1QW2F998-8642-2346-I2K3-0OKMNHY65TG4"
},
"request_id": "04F0F334-AC1"
}
后付费:
{
"data": {
"bandwidth_package_id": "cbwp-xxx"
},
"request_id": "04F0F334-AC1"
}这篇文档有帮助吗?
正在加载反馈服务…