正在加载文档
最近更新时间: 2021-05-26 14:44:54
POST/v1/vm/eip
| 名称 | 类型 | 位置 | 必须 | 描述 |
|---|---|---|---|---|
| region_id | string | body | 是 | |
| 地域 ID。您可以调用 DescribeRegions 查看最新的七牛云地域列表 |
| | allocation_name | string | body | 是 |
分配名称
| | bandwidth | string | body | 是 |
EIP 的带宽峰值,取值范围:1~200,单位为 Mbps。 默认值为 5。
| | isp | string | body | 否 |
线路类型 目前支持BGP线路和BGP精品线路,默认为BGP线路,在选择精品线路的时候该参数必填。
BGP_PRO: BGP(多线)精品线路 - BGP: BGP(多线)线路 - 5_telcom: 电信 - 5_union: 联通 - 5_bgp: 全动态 BGP - 5_sbgp: 静态 BGP| | client_token | string | body | 是 |
保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。
| | enable_auto_renew | boolean | body | 否 |
是否打开自动续费
| | customized_release_time | string | body | 否 |
后付费定时删除的时间
| | cost_charge_type | string | body | 是 | 付费方式 | | cost_charge_mode | string | body | 是 | 计费方式 | | cost_period_unit | string | body | 是 | 计费单位 | | cost_period | integer | body | 是 | 计费周期 |
| 名称 | 类型 | 描述 |
|---|---|---|
| request_id | string | 请求 ID |
| data | object{} | 创建 EIP 返回信息 |
| data.allocation_id | string | 按量创建返回 ID |
| data.order | string | 预付费创建返回订单号 |
{
"data": {
"order": "edc5413cc610305704a8aaddca"
},
"request_id": "N8cGF-xihhWd5VMW"
}{
"data": {
"allocation_id": "eip-6wexqbul13ouh13"
},
"request_id": "ScKvERYKCVyN4lMW"
}这篇文档有帮助吗?
正在加载反馈服务…