链接复制成功!
查询指定租户下的共享带宽类型列表
功能介绍
查询指定租户下的共享带宽类型列表
URI
GET /v3/{project_id}/eip/share-bandwidth-types
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| project_id | 是 | String |
最小长度:0 最大长度:32 |
| 参数 | 是否必选 | 参数类型 | 描述 |
|---|---|---|---|
| fields | 否 | String |
最小长度:0 最大长度:1024 |
| id | 否 | String |
最小长度:0 最大长度:36 |
| bandwidth_type | 否 | String |
最小长度:1 最大长度:36 |
| name_en | 否 | String |
最小长度:0 最大长度:256 |
| name_zh | 否 | String |
最小长度:0 最大长度:256 |
| public_border_group | 否 | String |
最小长度:0 最大长度:36 |
| sort_key | 否 | String |
最小长度:0 最大长度:1024 |
| sort_dir | 否 | String |
最小长度:0 最大长度:1024 |
| limit | 否 | Integer |
最小值:0 最大值:2000 |
请求参数
无
响应参数
状态码: 200
| 参数 | 参数类型 | 描述 |
|---|---|---|
| share_bandwidth_types | Array of ShareBandwidthTypeShowResp objects | 共享带宽类型对象 |
| request_id | String | 本次请求的编号 |
| page_info | PageInfoOption object | 分页页码信息 |
| 参数 | 参数类型 | 描述 |
|---|---|---|
| id | String | 支持带宽类型的id 最小长度:0 最大长度:36 |
| bandwidth_type | String | 带宽类型 最小长度:0 最大长度:36 |
| public_border_group | String | 中心站点or边缘站点,默认展示 最小长度:0 最大长度:64 |
| created_at | String | 创建时间 最小长度:0 最大长度:64 |
| updated_at | String | 更新时间 最小长度:0 最大长度:64 |
| name_en | String | 带宽类型的英文表述 最小长度:0 最大长度:256 |
| name_zh | String | 带宽类型的中文表述 最小长度:0 最大长度:256 |
| description | String | 带宽类型描述信息 最小长度:0 最大长度:1024 |
请求示例
无
响应示例
状态码: 200
GET操作正常返回
{
"share_bandwidth_types" : [ {
"id" : "1b478471-eaf1-4a71-9c77-edba89f62016",
"bandwidth_type" : "share",
"name_en" : "share_bandwidth_type",
"description" : null,
"created_at" : "2021-09-29T04:19:22Z",
"updated_at" : "2021-09-29T04:19:22Z",
"public_border_group" : "center"
}, {
"id" : "2bbb2990-e908-46a7-b664-03d3084af032",
"bandwidth_type" : "edgeshare",
"name_en" : "edge_share_bandwidth_type",
"description" : null,
"created_at" : "2021-09-29T04:19:22Z",
"updated_at" : "2021-09-29T04:19:22Z",
"public_border_group" : "az1"
} ],
"request_id" : "07f05e3d-b688-43f8-bda2-e9d10d2352e9",
"page_info" : {
"previous_marker" : "1b478471-eaf1-4a71-9c77-edba89f62016",
"current_count" : 2
}
} 状态码
请参见状态码。
错误码
请参见错误码。