查询IPv6网关
更新时间:2024-08-08
描述
查询IPv6网关。
请求结构
GET /v{version}/IPv6Gateway?vpcId={vpcId} HTTP/1.1
Host: bcc.bd.baidubce.com
Authorization: authorization string
请求头域
除公共头域外,无其它特殊头域。
请求参数
参数名称 | 类型 | 是否必需 | 参数位置 | 描述 |
---|---|---|---|---|
version | String | 是 | URL参数 | API版本号 |
vpcId | String | 是 | Query参数 | vpc的Id |
返回头域
除公共头域,无其它特殊头域。
返回参数
参数名称 | 类型 | 描述 |
---|---|---|
gatewayId | String | IPv6网关的Id |
name | String | IPv6网关的名称 |
bandwidthInMbps | int | IPv6网关的带宽 |
vpcId | String | IPv6网关所属的vpc的Id |
egressOnlyRules | List<[EgressOnlyRule]((VPC/API参考/附录.md#EgressOnlyRule)> | IPv6网关只出不进的列表 |
rateLimitRules | List<[rateLimitRule]((VPC/API参考/附录.md#rateLimitRule)> | IPv6网关限速策略的列表 |
deleteProtect | Boolean | 是否开启释放保护 |
请求示例
GET /v1/IPv6Gateway?vpcId=g7cufa91auif HTTP/1.1
Host: bcc.bj.baidubce.com
authorization: bce-auth-v1/c3119080364d11e8912505e5e0ae9978/2018-04-02T08:14:25Z/3600/host;x-bce-account;x-bce-client-ip;x-bce-date;x-bce-request-id;x-bce-security-
token/6b93bfd5ca2328fcb5560fa57f56253d80a629f6aac9c9cb74adf9a055fceb53
返回示例
HTTP/1.1 200 OK
x-bce-request-id: 7e789a40-adac-414a-8bd4-916d6be61112
Date: Mon, 02 Apr 2018 08:14:25 GMT
Content-Type: application/json;charset=UTF-8
Server: BWS
{
"name": "test",
"gatewayId": "gw-5af4eb65",
"bandwidthInMbps": 10,
"vpcId": "vpc-dsi78hfsa",
"egressOnlyRules": [
{
"egressOnlyRuleId":"ipv6_seg-c9e3b428",
"cidr":"2400:da00:e003:d01::/64"
}
],
"rateLimitRules":[
{
"rateLimitRuleId":"ipv6_qos-0b56ec38",
"ipv6Address":"240c:4082:0:100::",
"ingressBandwidthInMbps":5,
"egressBandwidthInMbps":5
}
],
"deleteProtect":true
}