Modifies the Internet bandwidth of an IPv6 address.
Operation description
The ModifyIpv6InternetBandwidth operation does not support concurrent modifications to the same IPv6 Internet bandwidth.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyIpv6InternetBandwidth |
update |
*Ipv6InternetBandwidth
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the IPv6 gateway. You can call the DescribeRegions operation to query the region ID. |
cn-huhehaote |
| Ipv6AddressId |
string |
No |
The ID of the IPv6 address. Note
You must specify either Ipv6AddressId or Ipv6InternetBandwidthId. |
ipv6-2zen5j4axcp5l5qyy**** |
| Ipv6InternetBandwidthId |
string |
No |
The Internet bandwidth instance ID of the IPv6 address. |
ipv6bw-uf6hcyzu65v98v3du**** |
| Bandwidth |
integer |
Yes |
The Internet bandwidth of the IPv6 address. Unit: Mbit/s.
|
200 |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId of each API request is different. |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
Yes |
Specifies whether to perform a dry run. Valid values:
|
cn-huhehaote |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run. Valid values:
|
false |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId of the API request as the ClientToken. The RequestId of each API request is different. |
123e4567-e89b-12d3-a456-426655440000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The request ID. |
||
| RequestId |
string |
The request ID. |
D560AF68-4CE8-4A5C-B3FE-469F558094D0 |
Examples
Success response
JSON format
{
"RequestId": "D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam.Ipv6InstanceId | The param of Ipv6InstanceId is missing. | The error message returned because Ipv6InstanceId is not set. |
| 400 | InvalidIpv6Instance.NotFound | The specified Ipv6AddressId or Ipv6InternetBandwidthId is not found. | |
| 400 | IllegalParam.Bandwidth | The param of bandwidth is illegal. | The Bandwidth parameter is set to an invalid value. |
| 400 | OperationUnsupported.FinancialLocked | The operation is forbidden because of financialLocked. | The error message returned because the resource is locked due to overdue payments and the operation is denied. |
| 400 | OperationFailed.InternetBandwidthNonExist | The operation is forbidden because of InternetBandwidthNonExist. | The error message returned because the specified bandwidth is invalid and the operation is denied. |
| 400 | OperationFailed.InternetBandwidthUnstable | The operation is forbidden because of InternetBandwidthUnstable. | The operation is prohibited because the bandwidth instance is not in a stable state. |
| 400 | OperationFailed.BandwidthExceedLimit | The operation is forbidden because of BandwidthExceedLimit. | The error message returned because the specified bandwidth exceeds the upper limit and the operation is denied. |
| 400 | ParamExclusive.Ipv6AddressIdAndIpv6InternetBandwidthId | Ipv6AddressId and Ipv6InternetBandwidthId is mutually exclusive. | The error message returned because Ipv6AddressId and Ipv6InternetBandwidthId are not set for the same instance. |
| 500 | OperationFailed.QueryAccountInfo | Query account info failed when create order. | Failed to query the account information when the order is placed. |
| 404 | InvalidIpv6Instance.NotFound | The specified Ipv6AddressId or Ipv6InternetBandwidthId is not found. | The error message returned because Ipv6AddressId or Ipv6InternetBandwidthId is not set. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.