查询全域公网带宽列表 - ListInternetBandwidths
功能介绍
查询全域公网带宽列表
调试
您可以在API Explorer中调试该接口,支持自动认证鉴权。API Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。
授权信息
账号具备所有API的调用权限,如果使用账号下的IAM用户调用当前API,该IAM用户需具备调用API所需的权限。
- 如果使用角色与策略授权,具体权限要求请参见权限和授权项。
- 如果使用身份策略授权,需具备如下身份策略权限。
授权项
访问级别
资源类型(*为必须)
条件键
别名
依赖的授权项
eip:internetBandwidths:list
List
internetBandwidth *
-
-
-
-
g:EnterpriseProjectId
URI
GET /v3/{domain_id}/geip/internet-bandwidths
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
domain_id |
是 |
String |
最小长度:5 最大长度:32 |
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
limit |
否 |
Integer |
每页条数 最小值:0 最大值:2000 |
|
offset |
否 |
Integer |
分页查询起始的资源序号 |
|
marker |
否 |
String |
|
|
page_reverse |
否 |
Boolean |
|
|
fields |
否 |
Array of strings |
|
|
ext-fields |
否 |
Array of strings |
在默认显示字段的基础上追加指定字段 |
|
sort_key |
否 |
Array of strings |
按照sort_key指定的字段排序 |
|
sort_dir |
否 |
Array of strings |
|
|
id |
否 |
Array of strings |
根据ID过滤,支持多值查询,查询条件格式:id=xxx&id=xxx。 |
|
size |
否 |
Array of integers |
根据全域公网带宽大小过滤 |
|
name |
否 |
Array of strings |
根据名称过滤,支持多值查询,查询条件格式:name=xxx&name=xxx。 |
|
name_like |
否 |
String |
根据名称模糊匹配 |
|
access_site |
否 |
Array of strings |
根据接入点过滤,支持多值查询,查询条件格式:access_site=xxx&access_site=xxx。 |
|
status |
否 |
Array of strings |
根据资源状态过滤 |
|
enterprise_project_id |
否 |
Array of strings |
根据企业项目ID过滤 |
|
tags |
否 |
Array of strings |
根据标签过滤,过滤格式为key1|value1,key2|value2,... |
|
type |
否 |
Array of strings |
根据全域公网带宽类型过滤 |
请求参数
|
参数 |
是否必选 |
参数类型 |
描述 |
|---|---|---|---|
|
X-Auth-Token |
是 |
String |
用户的Token,如何获取用户Token请参见获取用户Token |
响应参数
状态码:200
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
X-Request-Id |
String |
本次请求编号 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
request_id |
String |
本次请求的编号 |
|
internet_bandwidths |
Array of ListInternetBandwidths objects |
全域公网带宽列表 |
|
page_info |
page_info object |
分页页码信息 |
|
参数 |
参数类型 |
描述 |
|---|---|---|
|
id |
String |
全域公网带宽的ID |
|
name |
String |
最小长度:1 最大长度:64 |
|
isp |
String |
全域公网带宽接入的线路,接入线路信息可通过查询全域弹性公网IP池列表接口查询。 |
|
ingress_size |
Integer |
全域公网带宽大小(入云方向) |
|
access_site |
String |
接入点信息,具体接入点信息可通过查询接入点列表接口查询。 |
|
size |
Integer |
全域公网带宽大小(出云方向) |
|
description |
String |
最小长度:0 最大长度:512 |
|
charge_mode |
String |
|
|
ratio_95peak |
Integer |
增强95保底率 |
|
billing_info |
String |
订单信息 |
|
freezen_info |
String |
冻结原因 |
|
domain_id |
String |
|
|
status |
String |
状态 |
|
created_at |
String |
创建时间 |
|
updated_at |
String |
更新时间 |
|
is_pre_paid |
Boolean |
是否包周期 |
|
is_change_service |
Boolean |
是否切换服务到VPC |
|
tags |
Array of Tag objects |
全域公网带宽标签 |
|
enterprise_project_id |
String |
|
|
type |
String |
全域公网带宽类型 |
请求示例
查询全域公网带宽列表
GET https://{Endpoint}/v3/{domain_id}/geip/internet-bandwidths
响应示例
状态码:200
OK
{
"request_id" : "d224afc0e7add65c715707dbadd3004a",
"internet_bandwidths" : [ {
"enterprise_project_id" : 0,
"name" : "bandwidth-8dd3",
"created_at" : "2023-06-29T08:25:12Z",
"updated_at" : "2023-06-29T08:25:12Z",
"id" : "0a058187-dfb3-46e4-93da-6e7debfe0ff9",
"isp" : "BGP",
"access_site" : "cn-south-odin",
"size" : 1,
"description" : null,
"charge_mode" : "bandwidth",
"freezen_info" : null,
"domain_id" : "f35feb8670a94a04a08d6628e0d5165b",
"is_pre_paid" : false,
"is_change_service" : false,
"status" : "normal",
"ratio_95peak" : 0,
"ingress_size" : 10,
"tags" : [ ],
"type" : "standard"
}, {
"enterprise_project_id" : 0,
"name" : "bandwidth-b5be",
"created_at" : "2023-06-09T06:54:35Z",
"updated_at" : "2023-06-09T06:54:35Z",
"id" : "0c5dcd3e-8871-44c3-8619-31a6aa162f7f",
"isp" : "BGP",
"access_site" : "cn-south-odin",
"size" : 5,
"description" : null,
"charge_mode" : "bandwidth",
"freezen_info" : null,
"domain_id" : "f35feb8670a94a04a08d6628e0d5165b",
"is_pre_paid" : false,
"is_change_service" : true,
"status" : "normal",
"ratio_95peak" : 0,
"ingress_size" : 10,
"tags" : [ ],
"type" : "standard"
} ],
"page_info" : {
"previous_marker" : "0a058187-dfb3-46e4-93da-6e7debfe0ff9",
"current_count" : 2
}
}
状态码
|
状态码 |
描述 |
|---|---|
|
200 |
OK |
错误码
请参见错误码。