AllocateEipAddress
This API has been deprecated. We recommend migrating to Vpc(2016-04-28) - AllocateEipAddress for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Operation description
This API has been upgraded and is no longer recommended. For instructions on the new API, see AllocateEipAddress.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:AllocateEipAddress |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
||
| Bandwidth |
string |
No |
||
| ISP |
string |
No |
||
| InternetChargeType |
string |
No |
||
| ActivityId |
integer |
No |
||
| ClientToken |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
||
| AllocationId |
string |
||
| EipAddress |
string |
Examples
Success response
JSON format
{
"RequestId": "",
"AllocationId": "",
"EipAddress": ""
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | QueryParameter.Illegal | query parameter illegal | |
| 400 | COMMODITY_NO_EXIST | commodity is not exist | |
| 400 | QuotaExceeded.Eip | Elastic IP address quota exceeded | The number of EIPs has reached the quota. If you require more EIPs, submit a ticket to request a quota increase. We recommend that you use a NAT gateway. |
| 400 | InvalidParameter | Specified value of "InternetChargeType" is not valid | |
| 400 | InsufficientBalance | Your account does not have enough balance. | Your account balance is insufficient. Add funds to your account and try again. |
| 400 | ReserveIpFail | Reserve eip failed. | The EIP cannot be retained. |
| 400 | InvalidRegion.NotSupport | The specified region does not support. | The specified region is not supported. |
| 400 | InvalidBandwidth.Malformed | The specified Bandwidth is invalid. | |
| 400 | COMMODITY.INVALID_COMPONENT | The instance component is invalid. | |
| 400 | INSTANCE_TYPE_NOT_SUPPORT | The instance type is invalid. | |
| 400 | OrderFailed | The Account failed to create order. | |
| 400 | QuotaExceeded.LargeSpecEip | Elastic IP address with large spec quota exceeded. | |
| 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 | 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.SyncOrderToSub | SyncOrderToSub error. | |
| 400 | OperationFailed.CompleteUserInfo | Complete user info failed. | |
| 400 | OperationFailed.QueryPrice | Query price failed when create order. | |
| 400 | OperationFailed.InvokeInnerApi | Failed to invoke inner api. | |
| 400 | OperationFailed.AccountMoneyInvalid | Account money is invalid. | |
| 400 | OperationFailed.QueryCredtiInfo | Failed to query credit info. | |
| 400 | OperationFailed.QueryUserLabel | Failed to query user label info. | |
| 400 | FrequentPurchase.EIP | eip frequent purchase | |
| 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 | OrderError.EIP | The Account failed to create order. | Failed to create the order. |
| 400 | IellgalParameter.OwnerAccount | The specified parameter OwnerAccount is not valid. | |
| 500 | InsufficientEipCapacity | Insufficient EIP capacity to fulfill your request. | |
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | An internal error has occurred. Try again later. |
| 500 | OrderError.EIP | The Account failed to create order. | |
| 403 | Forbbiden | User not authorized to operate on the specified resource. | You are not authorized to operate the specified resource. |
| 404 | InvalidRegionId.NotFound | Specified value of "RegionId" is not supported. | |
| 409 | OperationConflict | Request was denied due to conflict with a previos request. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.