Menghapus kolam alamat IPAM.
Deskripsi operasi
Catatan penggunaan
-
Sebelum menghapus kolam IPAM induk, pastikan semua sub-kolamnya telah dihapus.
-
Kolam IPAM induk tidak dapat dihapus jika memiliki wilayah yang dikelola dan berisi alamat IP yang dialokasikan.
-
Sub-kolam tidak dapat dihapus jika memiliki wilayah yang dikelola dan berisi alamat IP yang dialokasikan.
-
Kolam IPAM yang sedang dibagikan (shared) tidak dapat dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteIpamPool |
delete |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah yang dikelola dari IPAM. Anda dapat memanggil operasi DescribeRegions untuk mendapatkan ID wilayah tersebut. |
cn-hangzhou |
| IpamPoolId |
string |
Yes |
ID instans dari kolam alamat IPAM. |
ipam-pool-6rcq3tobayc20t**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token klien yang menjamin idempotensi permintaan. Hasilkan nilai unik dari klien Anda untuk setiap permintaan. Token klien hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan menggunakan ID permintaan sebagai token klien. ID permintaan untuk setiap permintaan API bersifat unik. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
57B7DCCA-F192-5528-8AF3-2FE1413228C9 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "57B7DCCA-F192-5528-8AF3-2FE1413228C9"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.PoolRegionNotSupportDeletePool | The operation is not allowed because of pool region not support delete. | The operation was denied because the delete address pool operation could not be performed in the domain. |
| 400 | DependencyViolation.SubCidr | The specified resource of %s depends on %s, so the operation cannot be completed. | The specified resource is dependent on other resources and the current operation is not allowed. |
| 400 | DependencyViolation.CustomCidrs | The specified resource of %s depends on %s, so the operation cannot be completed. | The specified resource is dependent on other resources and the current operation is not allowed. |
| 400 | Forbidden.SubPool | The IPAM pool contains subpools. | The IPAM address pool contains subpools and cannot be deleted. |
| 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. | The operation is not allowed because the instance is a shared resource. |
| 400 | IncorrectStatus.IpamPool | The status of the IPAM pool is incorrect. | 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. | The specified resource of IPAM pool depends on resource sharing, so the operation cannot be completed. |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. | The IPAM pool does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.