Query IPv6 gateway
Updated at:2025-10-16
Description
Query the IPv6 gateway.
Request structure
Plain Text
1GET /v{version}/IPv6Gateway?vpcId={vpcId} HTTP/1.1
2Host: bcc.bd.baidubce.com
3Authorization: authorization string
Request headers
There are no special headers required beyond the common headers.
Request parameters
| Parameter name | Types | Whether required | Parameter location | Description |
|---|---|---|---|---|
| version | String | Yes | URL parameter | API version number |
| vpcId | String | Yes | Query | VPC ID |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| gatewayId | String | ID of the IPv6 gateway |
| name | String | IPv6 gateway name |
| bandwidthInMbps | int | Bandwidth of the IPv6 gateway |
| vpcId | String | ID of VPC to which the IPv6 gateway belongs |
| egressOnlyRules | List<[EgressOnlyRule]((VPC/API reference/Appendix.md#EgressOnlyRule)> | List of egress-only rules for the IPv6 gateway |
| rateLimitRules | List<[rateLimitRule]((VPC/API reference/Appendix.md#rateLimitRule)> | List of bandwidth limiting policies for the IPv6 gateway |
| deleteProtect | Boolean | Whether to enable release protection |
Request example
Plain Text
1GET /v1/IPv6Gateway?vpcId=g7cufa91auif HTTP/1.1
2Host: bcc.bj.baidubce.com
3authorization: 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-
4token/6b93bfd5ca2328fcb5560fa57f56253d80a629f6aac9c9cb74adf9a055fceb53
Response example
Plain Text
1HTTP/1.1 200 OK
2x-bce-request-id: 7e789a40-adac-414a-8bd4-916d6be61112
3Date: Mon, 02 Apr 2018 08:14:25 GMT
4Content-Type: application/json;charset=UTF-8
5Server: BWS
6{
7 "name": "test",
8 "gatewayId": "gw-5af4eb65",
9 "bandwidthInMbps": 10,
10 "vpcId": "vpc-dsi78hfsa",
11 "egressOnlyRules": [
12 {
13 "egressOnlyRuleId":"ipv6_seg-c9e3b428",
14 "cidr":"2400:da00:e003:d01::/64"
15 }
16 ],
17 "rateLimitRules":[
18 {
19 "rateLimitRuleId":"ipv6_qos-0b56ec38",
20 "ipv6Address":"240c:4082:0:100::",
21 "ingressBandwidthInMbps":5,
22 "egressBandwidthInMbps":5
23 }
24 ],
25 "deleteProtect":true
26}
