You need to enable JavaScript to run this app.
文档中心
IPv6网关

IPv6网关

复制全文
下载 pdf
IPv6公网带宽
AllocateIpv6AddressBandwidth - 开通IPv6公网带宽
复制全文
下载 pdf
AllocateIpv6AddressBandwidth - 开通IPv6公网带宽
调用 AllocateIpv6AddressBandwidth 接口,为指定IPv6地址开通IPv6公网带宽。​
使用说明​
  • 私网双栈应用型负载均衡实例不支持开通IPv6公网带宽,公网双栈应用型负载均衡实例在创建时,系统自动为其开通IPv6公网带宽。​
  • 目标IPv6地址所在VPC已关联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公网带宽的计费方式。​
  • 2:按量计费-按带宽上限计费。​
  • 3:按量计费-按实际流量计费。​
​
Bandwidth Integer 可选 示例值:5​
IPv6公网带宽的带宽上限,单位为Mbps。​
  • BillingType 传入2:取值范围1 ~ 500。​
  • BillingType 传入3:取值范围1 ~ 200。​
  • 不填默认为1Mbps。​
​
BandwidthPackageId String 可选 示例值:bwp-2zeo05qre24nhrqpy****​
IPv6共享带宽包的ID。​
您可以调用 CreateBandwidthPackage 接口,查询共享带宽包的ID。​
​
Tags.N.Key String 可选 示例值:key1​
用户标签的标签键。​
  • 参数 - N:表示标签键的序号,取值范围:1~50。​
  • 多个标签键之间用&分隔。​
  • 不能以 volc:或sys:开头,包括任意大小写形式。​
  • 长度取值范围为1~128字符,允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。​
  • 若标签键开头或结尾存在空格,系统会自动为其去除。​
同一资源的标签键不允许重复。​
​
Tags.N.Value String 可选 示例值:value1​
用户标签的标签值。​
  • 参数 - N:表示标签值的序号,取值范围:1~50。​
  • 多个标签值之间用&分隔。​
  • 长度取值范围为0~256字符,不填默认为空。​
  • 允许输入各国语言文字、数字、空格( )、下划线(_)、点号(.)、半角冒号(:)、斜杠(/)、等号(=)、加号(+)、中划线(-)和@(@)。​
  • 大小写敏感。​
  • 若标签值开头或结尾存在空格,系统会自动为其去除。​
若传入该参数,则必须先传入Tags.N.Key。​
​
ClientToken String 可选 示例值:0c593ea1-3bea-11e9-b96b-88e9fe63****​
客户端Token,用于保证请求的幂等性。​
  • 该参数值由客户端自动生成,确保不同请求的取值唯一,避免当调用API超时或服务器内部错误时,客户端多次重试导致重复性操作。​
  • 取值仅支持ASCII字符,最大不超过64个字符。​
  • 未指定该参数值时,不进行幂等校验。​
​
​
​
返回参数​
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: vpc.cn-beijing.volcengineapi.com​
Region: cn-beijing​
Service: vpc​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2021062415303301022514515207C4****",​
"Action": "AllocateIpv6AddressBandwidth",​
"Version": "2020-04-01",​
"Service": "vpc",​
"Region": "cn-beijing"​
},​
"Result": {​
"RequestId": "2021062415303301022514515207C4****",​
"AllocationId": "eip-2zaiwb7ujxscd****"​
}​
}​
​
错误码​
公共错误码请参见公共错误码。​
​
状态码​
错误码​
错误信息​
说明​
400​
DryRunOperation​
Exception raised to indicate a successfully authorized action when the DryRun flag is set to true.​
该请求设置为DryRun操作,操作授权已获得许可,但未被实际执行。​
400​
IdempotentParameterMismatch​
Arguments on this idempotent request are inconsistent with arguments used in previous request(s).​
此幂等请求的参数与前一个请求中使用的参数不一致。​
400​
InvaildIpv6.GatewayNotExist​
The VPC of the specified IPv6 address does not have an Ipv6gateway.​
指定的IPv6地址所在的VPC没有开通IPv6网关。​
400​
InvaildIpv6.NotSupport​
The specified IPv6 address does not support this operation.​
指定的IPv6地址不支持此操作。​
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​
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​
InvalidClb.InvalidStatus​
The specified CLB is not in the correct status for the request. Current CLB has been frozen.​
指定的CLB所处状态无法响应该请求。当前CLB被冻结。​
400​
InvalidEip.Ipv6ISPMismatch​
The specified IPv6 addresses belong to different ISPs.​
指定的 IPv6 地址属于不同的 ISP。​
400​
InvalidEni.InvalidStatus​
The specified elastic network interface is not in the correct status for the request.​
指定的弹性网卡所处的状态无法响应该请求。​
400​
InvalidInstance.InvalidStatus​
The specified ECS is not in the correct status for the request. Current ECS has been frozen.​
指定的ECS所处状态无法响应该请求。当前ECS被冻结。​
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​
A parameter specified in the request is not valid, is unsupported or cannot be used.​
该请求传入了非法或不支持的参数。​
400​
InvalidParameter.ClientTokenMalformed​
The specified parameter ClientToken is malformed.​
指定的参数ClientToken格式不合法,长度不能超过64个ASCII字符。​
400​
InvalidProject.Inconsistent​
The specified project is inconsistent with the project of parent resource.​
指定的项目与父资源项目不一致。​
400​
InvalidProtocol.Mismatch​
The protocol of the bandwidth package does not match with the EIP.​
共享带宽包与EIP的协议类型不匹配。​
400​
InvalidTag.Disorder​
The specified index order of tag is malformed.​
指定标签的索引顺序参数格式不合法。​
400​
InvalidTagKey.Malformed​
The specified parameter tag key is invalid.​
标签键不合法。​
400​
InvalidTagValue.Malformed​
The specified parameter tag value is invalid.​
标签值不合法。​
400​
LimitExceeded.BandwidthPerEip​
You've reached the limit on the bandwidth of elastic ip that you can create.​
已达到EIP带宽上限。​
400​
LimitExceeded.Ipv6​
You've reached the limit on the bandwidth of IPv6 address that you can create.​
已达到IPv6地址带宽上限。​
400​
LimitExceeded.Tags​
You've reached the limit on the number of tags that you can operate at one time.​
已达到单次可操作标签数量的上限。​
400​
MissingParameter​
The request is missing a required parameter.​
该请求缺少必要参数。​
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​
UnsupportedOperation​
The request on the specified instance is denied due to the account in arrears status.​
因账户处于欠费状态,对于该实例的操作请求被拒绝。​
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元,对于该实例的操作请求被拒绝。​
403​
Forbidden​
You are not authorized to perform operations on ESI related resources.​
无权限操作弹性预约实例关联资源。​
403​
Forbidden​
You are not authorized to perform operations on create IPv6 gateway.​
无权限操作ALB的IPv6地址。​
403​
Forbidden​
You are not authorized to perform operations on the specified elastic network interface. The specified elastic network interface is a service-managed elastic network interface.​
无权限创建IPv6网关。​
403​
Forbidden​
You are not authorized to perform operations on the specified IPv6 address which is managed by VPN.​
无权限操作VPN的IPv6地址。​
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 the specified IPv6 address which is managed by NLB.​
无权限操作NLB的IPv6地址。​
404​
InvalidBandwidthPackage.NotFound​
The specified bandwidth package does not exist.​
指定的共享带宽包不存在。​
404​
InvalidEniId.NotFound​
The specified elastic network interface does not exist.​
指定的弹性网卡不存在。​
404​
InvalidInstance.NotFound​
The specified instance does not exist.​
指定的实例不存在。​
404​
InvalidIpv6.AddressIpNotFound​
The specified IPv6 address can not be found​
未找到指定的IPv6地址。​
404​
InvalidProject.NotFound​
The specified Project does not exist.​
指定的项目不存在。​
409​
InvalidOperation.Conflict​
The specified resource operation conflicts.​
指定的资源操作冲突。​
412​
IdempotentProcessing​
The request uses the same client token as a previous one that is still in process.​
幂等请求处理中。​
500​
InternalError​
An internal error has occurred.​
发生内部错误。​
​
​
最近更新时间:2026.01.23 15:55:57
这个页面对您有帮助吗?
有用
有用
无用
无用