刪除IPAM位址池執行個體。
介面說明
使用說明
-
刪除父位址池前,請確保父位址池下的子位址池已全部被刪除。
-
當父位址池設定了生效地域,且該父位址池有已經分配出去的位址時,該父位址池不允許被刪除。
-
當子位址池設定了生效地域,且該位址池有已經分配出去的位址時,該子位址池不允許被刪除。
-
當位址池存在共用關係時,該位址池不允許被刪除。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
IPAM 託管地域 ID。您可以透過呼叫 DescribeRegions 介面取得地域 ID。 |
cn-hangzhou |
| IpamPoolId |
string |
是 |
IPAM 位址池的執行個體 ID。 |
ipam-pool-6rcq3tobayc20t**** |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
false |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的冪等性。從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 識別。每次 API 請求的 RequestId 不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
傳回的資訊清單。 |
||
| RequestId |
string |
請求 ID。 |
57B7DCCA-F192-5528-8AF3-2FE1413228C9 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "57B7DCCA-F192-5528-8AF3-2FE1413228C9"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | OperationDenied.PoolRegionNotSupportDeletePool | The operation is not allowed because of pool region not support delete. | |
| 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. | |
| 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. | |
| 400 | DependencyViolation.ShareResource | The specified resource of IPAM pool depends on resource sharing, so the operation cannot be completed. | |
| 400 | DependencyViolation.PoolCidr | The operation is not allowed because the IpamPool has pool CIDR dependency %s. | |
| 400 | OperationDenied.IpamPoolAllocationExist | The operation is not allowed because the IpamPool has existing allocations. | |
| 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. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。