Memanggil operasi DeletePublicIpAddressPool untuk menghapus pool alamat IP.
Deskripsi operasi
Sebelum Anda memanggil operasi ini, perhatikan hal-hal berikut:
-
Sebelum Anda menghapus pool alamat IP, pastikan tidak ada alamat IP dalam pool alamat IP tersebut yang sedang digunakan.
-
DeletePublicIpAddressPool adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Pool alamat IP tidak langsung dihapus. Anda dapat memanggil operasi ListPublicIpAddressPools untuk menanyakan status pool alamat IP.
-
Jika pool alamat IP berada dalam status Deleting, pool alamat IP sedang dihapus. Dalam status ini, Anda hanya dapat menanyakan pool alamat IP dan tidak dapat melakukan operasi lain.
-
Jika pool alamat IP tidak dapat ditanyakan, berarti pool alamat IP telah dihapus.
-
-
Anda tidak dapat memanggil operasi DeletePublicIpAddressPool secara berulang untuk menghapus pool alamat IP yang sama dalam periode waktu tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PublicIpAddressPoolId |
string |
Yes |
ID dari pool alamat IP. |
pippool-6wetvn6fumkgycssx**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai tersebut, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. ClientToken hanya boleh berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe60000 |
| DryRun |
boolean |
No |
Menentukan apakah hanya melakukan dry run, tanpa menjalankan permintaan yang sebenarnya. Nilai yang valid:
|
false |
| RegionId |
string |
Yes |
ID region dari pool alamat IP yang ingin Anda buat. |
cn-chengdu |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur respons. |
||
| RequestId |
string |
ID permintaan. |
4EC47282-1B74-4534-BD0E-403F3EE64CAF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.PublicIpAddressPool | The status of PublicIpAddressPool [%s] is incorrect. | |
| 400 | ResourceInUse.PublicIpAddressPool | The specified resource of PublicIpAddressPool [%s] is in use. | |
| 400 | OperationFailed.ResourceIsShared | The operation is failed because of PublicIpAddressPool is shared with other users. | |
| 400 | OperationDenied.OperateSharedResource | The operation is not allowed because of the PublicIpAddressPool is a shared resource. | |
| 400 | ResourceNotFound.PublicIpAddressPool | The specified resource of PublicIpAddressPool [%s] is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.