すべてのプロダクト
Search
ドキュメントセンター

Elastic Compute Service:AllocateEipAddress

最終更新日:Jun 18, 2026

AllocateEipAddress。

説明

この API は廃止されました。一時的にアクセス可能ですが、更新やバグ修正対応は一切行われません。代わりに Vpc(2016-04-28) - AllocateEipAddress への移行を推奨します。より強化された機能に加え、サポートも引き続きご利用いただけます。

操作説明

説明

この API はアップグレードされており、使用は推奨されません。新しい API については、 AllocateEipAddress を参照してください。

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

下表に、この API を呼び出すために必要な認証情報を示します。認証情報は、RAM (Resource Access Management) ポリシーを使用して定義できます。以下で各列名について説明します。

  • アクション:特定のリソースに対して実行可能な操作。ポリシー構文ではAction要素として指定します。

  • API:アクションを具体的に実行するための API。

  • アクセスレベル:各 API に対して事前定義されているアクセスの種類。有効な値:create、list、get、update、delete。

  • リソースタイプ:アクションが作用するリソースの種類。リソースレベルでの権限をサポートするかどうかを示すことができます。ポリシーの有効性を確保するため、アクションの対象として適切なリソースを指定してください。

    • リソースレベルの権限を持つ API の場合、必要なリソースタイプはアスタリスク (*) でマークされます。ポリシーのResource要素で対応する ARN を指定してください。

    • リソースレベルの権限を持たない API の場合、「すべてのリソース」と表示され、ポリシーのResource要素でアスタリスク (*) でマークされます。

  • 条件キー:サービスによって定義された条件のキー。このキーにより、きめ細やかなアクセス制御が可能になります。この制御は、アクション単体に適用することも、特定のリソースに対するアクションに適用することもできます。Alibaba Cloud は、サービス固有の条件キーに加えて、すべての RAM 統合サービスに適用可能な一連の共通条件キーを提供しています。

  • 依存アクション:ある特定のアクションを実行するために、前提として実行が必要となる他のアクション。依存アクションの権限も RAM ユーザーまたは RAM ロールに付与する必要があります。

アクション

アクセスレベル

リソースタイプ

条件キー

依存アクション

vpc:AllocateEipAddress

update

*All Resource

*

なし なし

リクエストパラメーター

パラメーター

型

必須 / 任意

説明

例

RegionId

string

必須

Bandwidth

string

任意

ISP

string

任意

InternetChargeType

string

任意

ActivityId

integer

任意

ClientToken

string

任意

レスポンスフィールド

フィールド

型

説明

例

object

RequestId

string

AllocationId

string

EipAddress

string

例

成功レスポンス

JSONJSON

{
  "RequestId": "",
  "AllocationId": "",
  "EipAddress": ""
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

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.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。