Menghapus blok CIDR yang telah disediakan dari pool IP Address Manager (IPAM).
Deskripsi operasi
-
Jika blok CIDR disediakan di pool induk dan sub-pool-nya, hapus blok CIDR dari sub-pool sebelum Anda menghapus blok CIDR dari pool induk.
-
Jika blok CIDR hanya disediakan di pool induk, Anda dapat menghapus blok CIDR langsung dari pool induk.
-
Jika alokasi ada dari blok CIDR yang disediakan, hapus alokasi tersebut sebelum Anda menghapus blok CIDR.
-
Permintaan untuk menghapus blok CIDR yang disediakan dari pool IPAM harus dikirim dari region tempat IPAM di-deploy.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID region tempat IPAM di-host. Untuk informasi selengkapnya, lihat DescribeRegions. |
cn-hangzhou |
| IpamPoolId |
string |
Yes |
ID dari pool IPAM. |
ipam-pool-6rcq3tobayc20t**** |
| Cidr |
string |
Yes |
Blok CIDR tersedia 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 dibuat oleh klien Anda. Token baru disediakan untuk setiap permintaan yang berbeda. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai token klien. 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.