Modifies the Internet bandwidth value of an IPv6 CIDR block.
Description
You cannot call the ModifyIpv6InternetBandwidth operation to modify the Internet bandwidth value of an IPv6 CIDR block at the same time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
RegionId | String | Yes | cn-huhehaote | The ID of the region where the IPv6 gateway is deployed. You can call the DescribeRegions operation to obtain the region ID. |
Ipv6AddressId | String | No | ipv6-2zen5j4axcp5l5qyy**** | The ID of the IPv6 address. Note You must set one of the Ipv6AddressId and Ipv6InternetBandwidthId parameters. |
Ipv6InternetBandwidthId | String | No | ipv6bw-uf6hcyzu65v98v3du**** | The ID of the Internet bandwidth that you purchase for the IPv6 CIDR block. Note You must set one of the Ipv6AddressId and Ipv6InternetBandwidthId parameters. |
Bandwidth | Long | Yes | 4 | The Internet bandwidth for the IPv6 CIDR block. Valid values: 1 to 5000. Unit: Mbit/s. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 | The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that the value is unique among all requests. ClientToken can contain only ASCII characters. Note If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId may be different for each API request. |
Action | String | Yes | ModifyIpv6InternetBandwidth | The operation that you want to perform. Set the value to ModifyIpv6InternetBandwidth. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | D560AF68-4CE8-4A5C-B3FE-469F558094D0 | The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?RegionId=cn-huhehaote
&Ipv6AddressId=ipv6-2zen5j4axcp5l5qyy****
&Ipv6InternetBandwidthId=ipv6bw-uf6hcyzu65v98v3du****
&Bandwidth=4
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&Action=ModifyIpv6InternetBandwidth
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyIpv6InternetBandwidthResponse>
<RequestId>D560AF68-4CE8-4A5C-B3FE-469F558094D0</RequestId>
</ModifyIpv6InternetBandwidthResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The error message returned because the specified region ID does not exist. |
For a list of error codes, see Service error codes.