Melepaskan alokasi CIDR dari kolam alamat IP Address Management (IPAM). Jenis alokasi yang didukung mencakup virtual private cloud (VPC) dan alokasi kustom.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah tempat alokasi Blok CIDR yang ingin Anda lepaskan berada. Anda dapat memanggil operasi DescribeRegions untuk memperoleh ID wilayah tersebut. |
cn-hangzhou |
| IpamPoolAllocationId |
string |
Yes |
ID alokasi Blok CIDR yang ingin Anda lepaskan. |
ipam-alloc-c4vhvr3b22mmc6**** |
| 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 menggunakan RequestId sebagai ClientToken. RequestId bersifat unik untuk setiap permintaan. |
123e4567-e89b-12d3-a456-426655440000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Tanggapan. |
||
| RequestId |
string |
ID permintaan. |
B90776C8-F703-51D5-893A-AD1CA699D535 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B90776C8-F703-51D5-893A-AD1CA699D535"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.ResourceTypeIsNotCustom | The operation is not allowed because the resource type is not Custom. | |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | |
| 400 | ResourceNotFound.IpamPoolAllocation | The specified resource of IPAM pool allocation is not found. | |
| 400 | OperationDenied.UnexpectedResourceType | The operation is not allowed because the resource type is unexpected. | |
| 400 | OperationDenied.Unauthorized | The operation is denied because the user is not authorized. | |
| 400 | OperationDenied.RequestRegionInvalid | The operation is not allowed because the request is not invoked in the region of the IPAM pool. | |
| 400 | OperationDenied.Ipv6VpcNotSupport | The allocation of IPv6 VPC is not supported to delete. | |
| 404 | ResourceNotFound.IpamPool | The dependent IPAM pool is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.