AllocateEipAddress。
目前該API介面已標記為棄用,推薦使用替代API:Vpc(2016-04-28) - AllocateEipAddress。
介面說明
該介面已升級,不建議繼續使用。新版介面的使用說明,請參見 AllocateEipAddress 。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
vpc:AllocateEipAddress |
update |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
||
| Bandwidth |
string |
否 |
||
| ISP |
string |
否 |
||
| InternetChargeType |
string |
否 |
||
| ActivityId |
integer |
否 |
||
| ClientToken |
string |
否 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
||
| AllocationId |
string |
||
| EipAddress |
string |
樣本
正常返回樣本
JSON格式
{
"RequestId": "",
"AllocationId": "",
"EipAddress": ""
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | QueryParameter.Illegal | query parameter illegal | |
| 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 | 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. | |
| 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. | |
| 500 | OrderError.EIP | The Account failed to create order. | |
| 403 | Forbbiden | User not authorized to operate on 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。