主题
魔方云IP套餐
获取订购页实例配置
| 项目 | 内容 |
|---|---|
| 接口描述 | 获取订购页实例配置 |
| 接口地址 | /console/v1/product/:id/idcsmart_cloud_ip/package |
| 请求方式 | GET |
| 接口版本 | v1 |
请求参数
| name | type | default | validate | desc |
|---|---|---|---|---|
| id | int | - | require | 商品ID |
| host_id | int | - | require | 实例ID |
| bw_type | string | - | require | 带宽类型:default默认,independ独立 |
响应参数
| name | type | default | desc |
|---|---|---|---|
| package | array | - | 套餐数据 |
| package[].id | int | - | 套餐ID |
| package[].ip_price | string | - | IP价格 |
| package[].ip_max | string | - | 单个实例上限 |
| package[].bw_precision | string | - | 带宽最低精度 |
| package[].bw_price | string | - | 带宽价格 |
| package[].bw_type_name | string | - | 带宽类型名称 |