Mengubah atribut Instans Gateway Load Balancer (GWLB).
Deskripsi operasi
-
The UpdateLoadBalancerAttribute operation is asynchronous. After a request is sent, the system returns a request ID and runs the task in the background. You can call the GetLoadBalancerAttribute operation to query the status of the GWLB instance.
-
If the GWLB instance is in the Configuring state, the modification is in progress.
-
If the GWLB instance is in the Active state, the modification is complete.
-
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
gwlb:UpdateLoadBalancerAttribute |
update |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| LoadBalancerId |
string |
Yes |
ID Instans GWLB. |
gwlb-9njtjmqt7zfcqm**** |
| LoadBalancerName |
string |
No |
Nama Instans GWLB. Nama harus terdiri dari 2 hingga 128 karakter, diawali dengan huruf atau karakter Tionghoa, dan dapat berisi huruf, digit, titik (.), garis bawah (_), serta tanda hubung (-). |
testGwlbName |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run. Nilai valid:
|
false |
| ClientToken |
string |
No |
Klien token 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 permintaan sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-426655440000 |
| TrafficMode |
string |
No |
Mode Trafik. Nilai valid:
|
LoadBalance |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
B956C629-0E8C-5EFF-BAC1-B0E3A8C5CBDD |
Contoh
Respons sukses
JSONformat
{
"RequestId": "B956C629-0E8C-5EFF-BAC1-B0E3A8C5CBDD"
}
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.LoadBalancer | The status of %s [%s] is incorrect. | Resource %s current state %s does not support operation |
| 400 | ResourceNotFound.LoadBalancer | The specified resource of %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.