IPAM プールインスタンスを削除します。
操作説明
使用上の注意
-
親プールを削除する前に、親プール配下のすべてのサブプールが削除されていることを確認してください。
-
親プールに有効なリージョンが設定されており、かつ親プールに IP アドレスが割り当てられている場合、親プールを削除できません。
-
サブプールに有効なリージョンが設定されており、かつサブプールに IP アドレスが割り当てられている場合、サブプールを削除できません。
-
プールが共有されている場合、プールを削除できません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vpc:DeleteIpamPool |
delete |
*すべてのリソース。
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
IPAM のホストリージョンの ID。 DescribeRegions 操作を呼び出し、リージョン ID をクエリできます。 |
cn-hangzhou |
| IpamPoolId |
string |
必須 |
IPAM プールのインスタンス ID。 |
ipam-pool-6rcq3tobayc20t**** |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。有効な値:
|
false |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。クライアントを使用してトークンを生成できますが、異なるリクエスト間でトークンが一意であることを確認する必要があります。クライアントトークンには ASCII 文字のみを使用できます。 説明
このパラメーターを指定しない場合、システムは API リクエストの RequestId をクライアントトークンとして自動的に使用します。各 API リクエストの RequestId は一意です。 |
123e4567-e89b-12d3-a456-426655440000 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返される情報のリスト。 |
||
| RequestId |
string |
リクエスト ID。 |
57B7DCCA-F192-5528-8AF3-2FE1413228C9 |
例
成功レスポンス
JSONJSON
{
"RequestId": "57B7DCCA-F192-5528-8AF3-2FE1413228C9"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationDenied.PoolRegionNotSupportDeletePool | The operation is not allowed because of pool region not support delete. | このリージョンの IP アドレスプールを削除できないため、操作が拒否されました。 |
| 400 | DependencyViolation.SubCidr | The specified resource of %s depends on %s, so the operation cannot be completed. | 指定されたリソースは他のリソースから依存されているため、この操作は実行できません。 |
| 400 | DependencyViolation.CustomCidrs | The specified resource of %s depends on %s, so the operation cannot be completed. | 指定されたリソースは他のリソースから依存されているため、この操作は実行できません。 |
| 400 | Forbidden.SubPool | The IPAM pool contains subpools. | IPAM アドレスプールにサブプールが含まれているため、削除できません。 |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | ドライラン検証に合格しました。 |
| 400 | OperationDenied.OperateShareResource | The operation is not allowed because the instance is a shared resource. | このインスタンスは共有リソースです。この操作は実行できません。 |
| 400 | IncorrectStatus.IpamPool | The status of the IPAM pool is incorrect. | IPAM アドレスプールのステータスが正しくありません。 |
| 400 | DependencyViolation.ShareResource | The specified resource of IPAM pool depends on resource sharing, so the operation cannot be completed. | IPAM アドレスプールが共有されているため、この操作は完了できません。 |
| 400 | DependencyViolation.PoolCidr | The operation is not allowed because the IpamPool has pool CIDR dependency %s. | アドレスプールはプリセット CIDR %s に依存しているため、この操作は拒否されました。 |
| 400 | OperationDenied.IpamPoolAllocationExist | The operation is not allowed because the IpamPool has existing allocations. | IP アドレスプールの割り当てが存在するため、操作が拒否されました。 |
| 400 | DependencyViolation.CustomPoolAllocation | The operation is not allowed because the IpamPool has custom pool allocation dependency. | アドレスプールにカスタム割り当ての依存関係が存在するため、この操作は拒否されました。 |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. | 依存関係にあるリソースの IPAM プールが存在しません。 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。