Menghapus Pendengar Server Load Balancer.
Deskripsi operasi
DeleteListener is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. The listener is not deleted immediately. You can call the GetListenerAttribute operation to query the status of the listener:
-
If the listener is in the Deleting state, it is being deleted.
-
If you cannot query the listener, it has been deleted.
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 Pendengar. |
lsn-brx2y3hqdincizg*** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run. Nilai 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 dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId permintaan sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-42665544**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
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.