Menghapus alamat IP virtual ketersediaan tinggi (HaVip).
Deskripsi operasi
Sebelum memulai:
-
HaVip harus berada dalam status tersedia sebelum dapat dihapus.
-
Pastikan tidak ada rute yang mengarah ke HaVip yang ingin Anda hapus.
-
Pastikan HaVip yang ingin Anda hapus tidak dikaitkan dengan elastic IP address (EIP) apa pun.
-
Operasi DeleteHaVip bersifat asinkron. Setelah Anda mengirim permintaan, sistem akan mengembalikan ID permintaan. Namun, HaVip belum dihapus. Tugas penghapusan berjalan di latar belakang. Anda dapat memanggil DescribeHaVips untuk mengkueri status penghapusan HaVip:
Jika HaVip berada dalam status Deleting, HaVip sedang dihapus.
Jika HaVip yang ditentukan tidak dapat ditemukan, HaVip telah dihapus.
-
Operasi DeleteHaVip tidak mendukung penghapusan konkuren untuk HaVip yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DeleteHaVip |
delete |
*HaVip
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem akan menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan API. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| RegionId |
string |
Yes |
ID wilayah HaVip. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-shanghai |
| HaVipId |
string |
Yes |
ID HaVip yang ingin Anda hapus. |
havip-2zeo05qre24nhrqpy**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
C44F62BE-9CE7-4277-B117-69243F3988BF |
Contoh
Respons sukses
JSONformat
{
"RequestId": "C44F62BE-9CE7-4277-B117-69243F3988BF"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus | HaVip can be deleted only when it is status is Available. | 无法删除HAVIP。只有当HAVIP的状态为Available时才可用。 |
| 400 | DependencyViolation.HaVipReferedByRouteEntry | HaVip cannot be deleted when it is refered by a route table entry as next hop. | |
| 400 | DependencyViolation.HaVipAssociatedWithEIP | HaVip cannot be deleted when it is associated with EIP. | |
| 400 | IncorrectHaVipStatus | HaVip?s status is invalid. | |
| 400 | Forbidden.HaVip | No permissions to perform operations on HAVIPs. Please apply for privilege--vpc_privilege_allow_buy_havip_instance. | 操作HaVip没有权限,请到配额中心申请权限。 |
| 400 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidHaVipId.NotFound | The specified HaVip does not exist in the specified region. | 指定的HaVip不在指定的地域中,请您检查选择的地域是否正确。 |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.