Menghapus listener Server Load Balancer.
Deskripsi operasi
DeleteListener adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Listener tidak langsung dihapus. Anda dapat memanggil operasi GetListenerAttribute untuk memeriksa status listener:
Jika listener berada dalam status Deleting, artinya listener sedang dalam proses penghapusan.
Jika listener tersebut tidak dapat ditemukan, berarti listener telah berhasil dihapus.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gwlb:DeleteListener |
delete |
*LoadBalancer
*Listener
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ListenerId |
string |
Yes |
ID listener. |
lsn-brx2y3hqdincizg*** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| 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. Token hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-42665544**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
5C6E3548-086F-5FF6-A2B3-B1871B3AB488 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5C6E3548-086F-5FF6-A2B3-B1871B3AB488"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectBusinessStatus.LoadBalancer | The business status of %s [%s] is incorrect. | Resource %s with business state %s does not support current operation |
| 400 | IncorrectStatus.Listener | The status of %s [%s] is incorrect. | Operation not supported for resource% s in current state% s. |
| 400 | IncorrectStatus.LoadBalancer | The status of %s [%s] is incorrect. | Resource %s current state %s does not support operation |
| 404 | ResourceNotFound.LoadBalancer | The specified resource of %s is not found. | The specified resource of .LoadBalancer is not found. |
| 404 | ResourceNotFound.Listener | The specified resource of %s is not found. | The specified resource of %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.