All Products
Search
Document Center

IPv6 Gateway:ModifyIpv6InternetBandwidth

更新時間:Nov 13, 2024

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

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

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.
OperationAccess levelResource typeCondition keyAssociated operation
vpc:ModifyIpv6InternetBandwidthupdate
  • Ipv6InternetBandwidth
    acs:vpc:{#regionId}:{#accountId}:ipv6bandwidth/{#Ipv6InternetBandwidthId}
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

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
Ipv6AddressIdstringNo

The ID of the IPv6 address.

Note You must specify one of Ipv6AddressId and Ipv6InternetBandwidthId.
ipv6-2zen5j4axcp5l5qyy****
Ipv6InternetBandwidthIdstringNo

The instance ID of the Internet bandwidth of the IPv6 address.

ipv6bw-uf6hcyzu65v98v3du****
BandwidthlongYes

The Internet bandwidth value of the IPv6 address. Unit: Mbit/s.

  • If the billing method is pay-by-data-transfer, valid values are 1 to 1000.
  • If the billing method is pay-by-bandwidth, valid values are 1 to 2000.
4
ClientTokenstringNo

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

ParameterTypeDescriptionExample
object

The request ID.

RequestIdstring

The request ID.

D560AF68-4CE8-4A5C-B3FE-469F558094D0

Examples

Sample success responses

JSONformat

{
  "RequestId": "D560AF68-4CE8-4A5C-B3FE-469F558094D0"
}

Error codes

HTTP status codeError codeError messageDescription
400MissingParam.Ipv6InstanceIdThe param of Ipv6InstanceId is missing.The error message returned because Ipv6InstanceId is not set.
400InvalidIpv6Instance.NotFoundThe specified Ipv6AddressId or Ipv6InternetBandwidthId is not found.The error message returned because Ipv6AddressId or Ipv6InternetBandwidthId is not set.
400IllegalParam.BandwidthThe param of bandwidth is illegal.The Bandwidth parameter is set to an invalid value.
400OperationUnsupported.FinancialLockedThe operation is forbidden because of financialLocked.The error message returned because the resource is locked due to overdue payments and the operation is denied.
400OperationFailed.InternetBandwidthNonExistThe operation is forbidden because of InternetBandwidthNonExist.The error message returned because the specified bandwidth is invalid and the operation is denied.
400OperationFailed.InternetBandwidthUnstableThe operation is forbidden because of InternetBandwidthUnstable.-
400OperationFailed.BandwidthExceedLimitThe operation is forbidden because of BandwidthExceedLimit.The error message returned because the specified bandwidth exceeds the upper limit and the operation is denied.
400ParamExclusive.Ipv6AddressIdAndIpv6InternetBandwidthIdIpv6AddressId and Ipv6InternetBandwidthId is mutually exclusive.The error message returned because Ipv6AddressId and Ipv6InternetBandwidthId are not set for the same instance.
404InvalidRegionId.NotFoundThe specified RegionId does not exist in our records.The specified region ID does not exist.
500OperationFailed.QuerySpInfoquery resource by sp errorFailed to query the instance order.
500OperationFailed.QueryAccountInfoQuery account info failed when create order.Failed to query the account information when the order is placed.
500OperationFailed.SyncTradeResourceResource transaction information synchronization failedFailed to synchronize the resource transaction information.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-07-24The Error code has changed. The request parameters of the API has changedView Change Details
2024-02-26The Error code has changedView Change Details
2023-08-14The Error code has changedView Change Details
2023-08-03The Error code has changedView Change Details
2023-03-23API Description Update. The Error code has changedView Change Details