AllocateEipSegmentAddress_专有网络_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

接口说明

AllocateEipSegmentAddress 接口属于异步接口,即系统会先返回一个连续 EIP 组的实例 ID,但该连续 EIP 组并未创建完成,系统后台的创建任务仍在进行。您可以调用 DescribeEipSegment 查询连续 EIP 组的状态。

  • 当连续 EIP 组处于 Allocating 状态时,表示连续 EIP 组分配中,在该状态下,您只能执行查询操作,不能执行其他操作。

  • 当连续 EIP 组处于 Allocated 状态时,表示连续 EIP 组已分配完成。

流控信息

请求速率为6/60(s)。

授权信息

如下是此API对应的授权信息,用于RAM权限策略语句的Action元素中,为RAM用户或RAM角色授予调用此API的权限。请通过 RAM 访问控制设置,使用方法可参考访问控制帮助文档

具体说明如下:展开详情

操作访问级别资源类型条件关键字关联操作
vpc:AllocateEipSegmentAddress
Create
SegmentAddress
acs:vpc:{#regionId}:{#accountId}:eip/*

请求参数

字段名称字段详情
ClientTokenstring

客户端 Token,用于保证请求的幂等性。展开详情

示例值:02fb3da4-130e-11e9-8e44-001****
Bandwidthstring

EIP 的带宽峰值。单位:Mbps。展开详情

示例值:5
RegionIdstring

连续 EIP 所在的地域 ID。展开详情

示例值:cn-hangzhou
EipMaskstring

连续 EIP 的掩码,取值:展开详情

示例值:28
Netmodestring

网络类型,仅取值:public,表示公网。

示例值:public
InternetChargeTypestring

连续 EIP 的计费方式,取值:展开详情

示例值:PayByBandwidth
ResourceGroupIdstring

资源组 ID。

示例值:rg-bp67acfmxazb4ph****
Ispstring

线路类型。取值:展开详情

示例值:BGP
Zonestring

连续 EIP 组的可用区。

示例值:cn-hangzhou-a

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:F7A6301A-64BA-41EC-8284-8F4838C15D1F
EipSegmentInstanceIdstring

连续 EIP 组的实例 ID。

示例值:eipsg-2zett8ba055tbsxme****

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
COMMODITY_NO_EXIST
commodity is not exist诊断
400
QuotaExceeded.Eip
Elastic IP address quota exceeded诊断
400
InvalidParameter
Specified value of "InternetChargeType" is not valid诊断
400
InsufficientBalance
Your account does not have enough balance.诊断
400
ReserveIpFail
Reserve eip failed.诊断
400
InvalidRegion.NotSupport
The specified region does not support.诊断
400
InvalidBandwidth.Malformed
The specified Bandwidth is invalid.诊断
400
INSTANCE_TYPE_NOT_SUPPORT
The instance type is invalid.诊断
400
QueryParameter.Illegal
query parameter illegal诊断
400
TokenVerfiy.Failed
token verify failed.诊断
400
OrderFailed
The Account failed to create order.诊断
400
QuotaExceeded.LargeSpecEip
Elastic IP address with large spec quota exceeded.诊断
400
InvalidResourceGroupId
The specified ResourceGroupId does not exist.诊断
400
PAYFOR.CREDIT_PAY_INSUFFICIENT_BALANCE
Your account does not have enough balance.诊断
400
SYSTEM.SALE_VALIDATE_UNEXPECTED_ERROR
You have arrears and do not meet the purchase conditions.诊断
400
Trade_Sync_Create_Sub_ERROR
SyncOrderToSub error.诊断
400
InvalidComponent.EipBandwidthMax
The eip_bandwidth_max component is invalid.诊断
400
OperationFailed.RiskControl
Risk control check failed.诊断
400
OperationFailed.SaleValidate
Validate sale condition with subArticle failed.诊断
400
IllegalParam.OrderParamComponent
Product order param has invalid component.诊断
400
OperationFailed.SaleExpression
Get the sales expression exception attached to the item.诊断
400
OperationFailed.CompleteUserInfo
Complete user info failed.诊断
400
OperationFailed.QueryPrice
Query price failed when create order.诊断
400
OperationFailed.InsufficientEIP
Eip resource is not enough.诊断
400
OperationFailed.InvokeInnerApi
Failed to invoke inner api.诊断
400
OperationFailed.AccountMoneyInvalid
Account money is invalid.诊断
400
OperationFailed.QueryCredtiInfo
Failed to query credit info.诊断
400
FrequentPurchase.EIP
eip frequent purchase诊断
400
OperationFailed.QueryUserLabel
Failed to query user label info.诊断
400
PAY.INSUFFICIENT_BALANCE
Your account does not have enough balance.诊断
400
ORDER.QUANTITY_INVALID
User quota has exceeded the limit.诊断
400
PAY.MAYI_WITHHOLDING_AGREEMENT_ILLEGAL
User withhoding argeement is illegal.诊断
400
OperationFailed.ChargeTypeInvalid
Operation failed because hybrid netmode do not support PayByTraffic.诊断
400
IllegalParam.EipMask
EipMask is illegal.诊断
400
IllegalParam.Name
Name is illegal.诊断
400
IllegalParam.Description
Description is illegal.诊断
400
InstanceExist.EipSegment
The eipSegment instance already exists.诊断
400
OperationFailed.QuotaExceed
Operation failed because over threshold bandwidth quota exceed.诊断
400
OperationFailed.FrequentPurchase
Operation failed because eip frequent purchase.诊断
400
OperationFailed.AllocateEipSegment
Operation failed because eip segment is out of stock.诊断
400
OperationFailed.CreateOrderFailed
Operation failed because create order failed.诊断
400
MissingParam.Bandwidth
The parameter Bandwidth is mandatory when allocate hybrid EipSegment.诊断
400
OperationFailed.EipQuotaExceed
Operation failed because eip quota exceed.诊断
400
OrderError.EIP
The Account failed to create order.诊断
400
OperationConflict
Request was denied due to conflict with a previous request.诊断
400
Forbidden
User not authorized to operate on the specified resource.诊断
400
UnsupportedFeature.AllocateEipAddressWithZone
The feature of AllocateEipAddressWithZone is not supported.诊断
400
IllegalParam.Zone
The specified zone is invalid.诊断
400
Forbidden.AllocateEipSegmentAddress
Authentication is failed for allocating eip segment address.诊断
404
InvalidRegionId.NotFound
Specified value of "RegionId" is not supported.诊断
404
FUWU_BIZ_COMMODITY_VERIFY_FAIL
????????, ????????PD.诊断
500
InternalError
The request processing has failed due to some unknown error, exception or failure.诊断
500
OrderError.EIP
The Account failed to create order.诊断

变更历史

变更时间变更内容概要操作
2025-03-24
新增deprecated
2024-07-16
变更错误码400
2023-08-29
变更错误码400
2023-07-26
变更错误码400
2023-05-22
新增请求参数Zone
2023-03-17
变更返回参数
2022-11-17
变更错误码400
删除错误码403
删除错误码409

相关示例

申请eip段-->查询eip段-->释放eip段
2021-12-16