调用 ModifyIpv6AddressBandwidth 接口,修改IPv6公网带宽的带宽上限。
降低带宽上限,可能会影响业务流量造成丢包,请充分评估可能对业务产生的影响,并谨慎操作。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ModifyIpv6AddressBandwidth | 要执行的操作,取值为ModifyIpv6AddressBandwidth。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
AllocationId | String | 是 | eip-2zaiwb7ujxscd**** | IPv6公网带宽的ID。 |
Bandwidth | Integer | 否 | 1 | IPv6公网带宽的带宽上限,单位为Mbps。
|
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 2021062415303301022514515207C4**** | 请求ID。 |
GET /?Action=ModifyIpv6AddressBandwidth&Version=2020-04-01&AllocationId=eip-2zaiwb7ujxscd****&Bandwidth=100 HTTP/1.1 Host: open.volcengineapi.com Region: cn-guangzhou Service: vpc
{ "ResponseMetadata": { "RequestId": "2021062415303301022514515207C4****", "Action": "ModifyIpv6AddressBandwidth", "Version": "2020-04-01", "Service": "vpc", "Region": "cn-guangzhou" }, "Result": { "RequestId": "2021062415303301022514515207C4****" } }
公共错误码,请参见 公共错误码 。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | InvaildIpv4.NotSupport | The specified IPv4 address does not support this operation. | 指定的IPv4地址不支持此操作。 |
400 | InvalidAlb.InvalidStatus | The specified ALB is not in the correct status for the request. Current ALB has been frozen. | 指定的ALB所处状态无法响应该请求。当前ALB被冻结。 |
400 | InvalidBandwidth.Malformed | The specified bandwidth is malformed.Ensure that bandwidth is not smaller than 1. | 指定的带宽不合法。如果指定带宽,请确保不小于1。 |
400 | InvalidClb.InvalidStatus | The specified CLB is not in the correct status for the request. Current CLB has been frozen. | 指定的CLB所处状态无法响应该请求。当前CLB被冻结。 |
400 | InvalidEip.InUse | The specified EIP is being operated by another request. | 指定的EIP正被另一个请求操作,请稍后再试。 |
400 | InvalidInstance.InvalidStatus | The specified ECS is not in the correct status for the request. Current ECS has been frozen. | 指定的ECS所处状态无法响应该请求。当前ECS被冻结。 |
400 | InvalidIpv6.InUse | The specified IPv6 address bandwidth is being operated by another request. | 指定的IPv6公网带宽正被另一个请求操作,请稍后再试。 |
400 | InvalidIpv6.InvalidStatus | The specified IPv6 address bandwidth is not in the correct status for the request. The specified IPv6 address bandwidth is in freeze. | 指定的IPv6公网带宽或私有网络所处的状态无法响应该请求。当前公网带宽被冻结。 |
400 | LimitExceeded.Ipv6 | You've reached the limit on the bandwidth of IPv6 address that you can create. | 已达到IPv6地址带宽上限。 |
400 | OrderError | Failed to create an order in one step. | 创建订单并支付失败。 |
400 | PreOrderError | Failed to create pre order. | 创建配置单失败。 |
400 | UnsupportedOperation | The request on the specified instance is denied due to the account balance and available vouchers are less than 100 yuan in total. | 因账户余额及可用代金券共不足100元,对于该实例的操作请求被拒绝。 |
400 | UnsupportedOperation | The request on the specified instance is denied due to the account in arrears status. | 因账户处于欠费状态,对于该实例的操作请求被拒绝。 |
403 | Forbidden.PurchaseLimited | The account is not authorized to purchase the resource. | 此账户无权限购买资源。 |
404 | InvalidEip.GetInstanceDetail | Get instance detail failed. | 获取实例信息失败。 |
404 | InvalidInstance.NotFound | The specified instance does not exist. | 指定的实例不存在。 |
404 | InvalidIpv6.NotFound | The specified IPv6 address bandwidth does not exist. | 指定的IPv6公网带宽不存在。 |