调用 AllocateIpv6AddressBandwidth 接口,为指定IPv6地址开通IPv6公网带宽。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | AllocateIpv6AddressBandwidth | 要执行的操作,取值为AllocateIpv6AddressBandwidth。 |
Version | String | 是 | 2020-04-01 | API版本信息,当前版本为2020-04-01。 |
Ipv6Address | String | 是 | 2408::153:3921:XX:XX:7b12:1c5f | 待开通IPv6公网带宽的IPv6地址。 |
BillingType | Integer | 是 | 3 | IPv6公网带宽的计费方式。
|
Bandwidth | Integer | 否 | 5 | IPv6公网带宽的带宽上限,单位为Mbps。
|
BandwidthPackageId | String | 否 | bwp-2zeo05qre24nhrqpy**** | IPv6共享带宽包的ID。 |
ClientToken | String | 否 | 0c593ea1-3bea-11e9-b96b-88e9fe63**** | 客户端Token,用于保证请求的幂等性。
|
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
RequestId | String | 2021062415303301022514515207C4**** | 请求ID。 |
AllocationId | String | eip-2zaiwb7ujxscd**** | IPv6公网带宽的ID。 |
GET /?Action=AllocateIpv6AddressBandwidth&Version=2020-04-01&Ipv6Address=2408::153:3921:XX:XX:7b12:1c5f&BillingType=3&Bandwidth=5 HTTP/1.1 Host: open.volcengineapi.com Region: cn-guangzhou Service: vpc
{ "ResponseMetadata": { "RequestId": "2021062415303301022514515207C4****", "Action": "AllocateIpv6AddressBandwidth", "Version": "2020-04-01", "Service": "vpc", "Region": "cn-guangzhou" }, "Result": { "RequestId": "2021062415303301022514515207C4****", "AllocationId": "eip-2zaiwb7ujxscd****" } }
公共错误码,请参见 公共错误码 。
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | IdempotentParameterMismatch | Arguments on this idempotent request are inconsistent with arguments used in previous request(s). | 此幂等请求的参数与前一个请求中使用的参数不一致。 |
400 | InvaildIpv6.NotSupport | The specified IPv6 address does not support this operation. | 指定的IPv6地址不支持此操作。 |
400 | InvalidBandwidth.Malformed | The specified bandwidth is malformed.Ensure that bandwidth is not smaller than 1. | 指定的带宽不合法。如果指定带宽,请确保不小于1。 |
400 | InvalidBandwidthPackage.InvalidStatus | The specified bandwidth package is not in the correct status for the request. The specified bandwidth package is in freeze. | 指定的共享带宽包所处的状态无法响应该请求。当前共享带宽包被冻结。 |
400 | InvalidBillingType.Malformed | The specified billing type is malformed. | 指定的计费类型不合法。 |
400 | InvalidIpv6.BandwidthAlreadyExisted | Operation failed because IPv6 address bandwidth already exists. | 指定的IPv6地址已经开通了公网带宽。 |
400 | InvalidIpv6.Malformed | The specified IPv6 address is malformed. | 指定的IPv6地址不合法。 |
400 | InvalidIpv6Gateway.InvalidStatus | The specified IPv6Gateway is not in the correct status for the request. | 指定的IPv6网关所处状态无法响应该请求。 |
400 | InvalidParameter.ClientTokenMalformed | The specified parameter ClientToken is malformed. | 指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。 |
400 | InvalidProtocol.Mismatch | The protocol of the bandwidth package does not match with the EIP. | 共享带宽包与EIP的协议类型不匹配。 |
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 | QuotaExceeded.BandwidthPackage | You've reached the limit on the EIP number of that you can add to bandwidth package. | 已达到共享带宽包可加入公网IP的数量上限。 |
400 | QuotaExceeded.IPv6Bandwidth | You've reached the limit on the number of IPv6 bandwidth that you can create. | 已达到可开通IPv6公网带宽数量上限。 |
400 | InvaildIpv6.GatewayNotExist | The VPC of the specified IPv6 address does not have an Ipv6gateway. | 指定的IPv6地址所在的VPC没有开通IPv6网关。 |
400 | InvalidAlb.InvalidStatus | The specified ALB is not in the correct status for the request. Current ALB has been frozen. | 指定的ALB所处状态无法响应该请求。当前ALB被冻结。 |
400 | InvalidClb.InvalidStatus | The specified CLB is not in the correct status for the request. Current CLB has been frozen. | 指定的CLB所处状态无法响应该请求。当前CLB被冻结。 |
400 | InvalidInstance.InvalidStatus | The specified ECS is not in the correct status for the request. Current ECS has been frozen. | 指定的ECS所处状态无法响应该请求。当前ECS被冻结。 |
400 | InvalidEni.InvalidStatus | The specified elastic network interface is not in the correct status for the request. | 指定的弹性网卡所处的状态无法响应该请求。 |
403 | Forbidden | You are not authorized to perform operations on ESI related resources. | 无权限操作弹性预约实例关联资源。 |
403 | Forbidden | You are not authorized to perform operations on the specified IPv6 address which is managed by ALB. | 无权限操作ALB的IPv6地址。 |
403 | Forbidden | You are not authorized to perform operations on create IPv6 gateway. | 无权限创建IPv6网关。 |
403 | Forbidden.PurchaseLimited | The account is not authorized to purchase the resource. | 此账户无权限购买资源。 |
404 | InvalidBandwidthPackage.NotFound | The specified bandwidth package does not exist. | 指定的共享带宽包不存在。 |
404 | InvalidIpv6.AddressIpNotFound | The specified IPv6 address can not be found | 未找到指定的IPv6地址。 |
404 | InvalidInstance.NotFound | The specified instance does not exist. | 指定的实例不存在。 |
412 | IdempotentProcessing | The request uses the same client token as a previous one that is still in process. | 幂等请求处理中。 |