Create IPv6 gateway bandwidth limiting policy
Updated at:2025-10-16
Description
Add bandwidth limiting policies for IPv6 addresses
- The limit must be between 1 and the maximum bandwidth of the IPv6 gateway
Request structure
Plain Text
1POST /v{version}/IPv6Gateway/{gatewayId}/rateLimitRule?clientToken={clientToken} HTTP/1.1
2Host: bcc.bd.baidubce.com
3Authorization: authorization string
4{
5 "ipv6Address":{ipv6Address},
6 "ingressBandwidthInMbps":{ingressBandwidthInMbps},
7 "egressBandwidthInMbps":{egressBandwidthInMbps}
8}
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 |
| clientToken | String | No | Query | Idempotence token, which is an ASCII string with a length not exceeding 64 bits, see details in [ClientToken Idempotence Support](VPC/API Reference/General Description.md#Idempotence) |
| gatewayId | String | Yes | URL parameter | ID of the IPv6 gateway |
| ipv6Address | String | Yes | RequestBody | IPv6 address |
| ingressBandwidthInMbps | int | Yes | RequestBody | Ingress bandwidth of the bandwidth limiting policy |
| egressBandwidthInMbps | int | Yes | RequestBody | Egress bandwidth of the bandwidth limiting policy |
Response headers
No special headers are required beyond the standard ones.
Response parameters
| Parameter name | Types | Description |
|---|---|---|
| rateLimitRuleId | String | ID of the bandwidth limiting rule |
Request example
Plain Text
1POST /v1/IPv6Gateway/gw-5af4eb65/rateLimitRule 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
5{
6 "ipv6Address":"240c:4082:0:100::",
7 "ingressBandwidthInMbps":5,
8 "egressBandwidthInMbps":5
9}
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 "rateLimitRuleId":"ipv6_qos-0b56ec38"
8}
