Modifies the Internet bandwidth value of an IPv6 address.
Operation description
You cannot repeatedly call the ModifyIpv6InternetBandwidth operation to modify the Internet bandwidth value of an IPv6 CIDR block within the specified period of time.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
vpc:ModifyIpv6InternetBandwidth | update | *Ipv6InternetBandwidth acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId} |
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The ID of the region where the IPv6 gateway is deployed. You can call the DescribeRegions operation to query the most recent region list. | cn-huhehaote |
Ipv6AddressId | string | No | The ID of the IPv6 address. Note
You must specify one of Ipv6AddressId and Ipv6InternetBandwidthId.
| ipv6-2zen5j4axcp5l5qyy**** |
Ipv6InternetBandwidthId | string | No | The instance ID of the Internet bandwidth of the IPv6 address. | ipv6bw-uf6hcyzu65v98v3du**** |
Bandwidth | long | Yes | The Internet bandwidth value of the IPv6 address. Unit: Mbit/s.
| 4 |
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
| 123e4567-e89b-12d3-a456-426655440000 |
Response parameters
Examples
Sample success responses
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. | The error message returned because Ipv6AddressId or Ipv6InternetBandwidthId is not set. |
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. | - |
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. |
404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The specified region ID does not exist. |
500 | OperationFailed.QuerySpInfo | query resource by sp error | Failed to query the instance order. |
500 | OperationFailed.QueryAccountInfo | Query account info failed when create order. | Failed to query the account information when the order is placed. |
500 | OperationFailed.SyncTradeResource | Resource transaction information synchronization failed | Failed to synchronize the resource transaction information. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-24 | The Error code has changed. The request parameters of the API has changed | View Change Details |
2024-02-26 | The Error code has changed | View Change Details |
2023-08-14 | The Error code has changed | View Change Details |
2023-08-03 | The Error code has changed | View Change Details |
2023-03-23 | API Description Update. The Error code has changed | View Change Details |