Menghapus blok CIDR yang telah disediakan dari kolam IP Address Manager (IPAM).
Deskripsi operasi
-
Jika blok CIDR disediakan di kolam induk dan sub-kolamnya, hapus terlebih dahulu blok tersebut dari sub-kolam sebelum menghapusnya dari kolam induk.
-
Jika blok CIDR hanya disediakan di kolam induk, Anda dapat langsung menghapusnya dari kolam induk tersebut.
-
Jika terdapat alokasi yang berasal dari blok CIDR yang telah disediakan, hapus alokasi tersebut sebelum menghapus blok CIDR-nya.
-
Permintaan penghapusan blok CIDR yang telah disediakan dari kolam IPAM harus dikirim dari wilayah tempat IPAM ditempatkan.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat IPAM dihosting. Untuk informasi selengkapnya, lihat DescribeRegions. |
cn-hangzhou |
| IpamPoolId |
string |
Yes |
ID kolam IPAM. |
ipam-pool-6rcq3tobayc20t**** |
| Cidr |
string |
Yes |
Blok CIDR yang telah disediakan yang akan dihapus. Catatan
Hanya blok CIDR IPv4 yang didukung. |
192.168.1.0/24 |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Memastikan idempotensi. Berikan token ASCII unik yang dihasilkan oleh client Anda. Token baru harus disediakan untuk setiap permintaan yang berbeda. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai client token. ID permintaan dapat berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
BaseResult |
||
| RequestId |
string |
ID permintaan. |
F28A239E-F88D-500E-ADE7-FA5E8CA3A170 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F28A239E-F88D-500E-ADE7-FA5E8CA3A170"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.IpamPoolCidr | The specified resource of IPAM pool CIDR is not found. | |
| 400 | OperationDenied.PoolRegionNotSupportDeletePoolCidr | The operation is not allowed because pool region does not support deleting cidr. | |
| 400 | OperationDenied.IpamPoolAllocationExist | The operation is not allowed because of the existence of IPAM pool allocation. | |
| 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. | |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.