Elastic IP アドレス (EIP) をリリースします。
操作説明
この操作を呼び出す前に、以下の点にご注意ください。
-
EIP をリリースする前に、EIP が次の要件を満たしていることを確認してください。
Available 状態の EIP のみをリリースできます。
従量課金の EIP のみをリリースできます。サブスクリプションの EIP はリリースできません。
-
ReleaseEipAddress は非同期操作です。リクエストを送信すると、システムはリクエスト ID を返し、バックグラウンドでタスクを実行します。DescribeEipAddresses 操作を呼び出して、タスクのステータスをクエリできます。
EIP が Releasing 状態の場合、EIP は現在リリース中です。この状態では、EIP をクエリすることのみ可能で、他の操作は実行できません。
EIP をクエリできない場合、EIP はすでにリリースされています。
-
指定された期間内に、同一の EIP に対して ReleaseEipAddress 操作を繰り返し呼び出すことはできません。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
任意 |
EIP が属するリージョンの ID です。DescribeRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| AllocationId |
string |
必須 |
リリースする EIP の ID です。 |
eip-2zeerraiwb7uj6i0d**** |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーターです。 |
||
| RequestId |
string |
リクエスト ID です。 |
748C38F6-9A3D-482E-83FB-DB6C39C68AEA |
例
成功レスポンス
JSONJSON
{
"RequestId": "748C38F6-9A3D-482E-83FB-DB6C39C68AEA"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectEipStatus | Current elastic IP status does not support this operation. | |
| 400 | Forbidden.ChargeTypeIsPrepaid | It's forbidden to release a prepaid EIP | |
| 400 | TaskConflict.AssociateGlobalAccelerationInstance | Operate too frequent. | |
| 400 | InvalidOperation.DeletionProtection | The instance cannnot delete because of deletion protecion. | |
| 400 | Forbidden.ReleaseSegmentEip | Release single segment eip is forbidden. | |
| 400 | Forbidden | The eip instance owner error | |
| 400 | Mismatch.%sAnd%s | The %s and %s are mismatched. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 404 | InvalidAllocationId.NotFound | Specified allocation ID is not found. | |
| 404 | Forbidden.RegionNotFound | Specified region is not found during access authentication. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。