Mengubah edisi instans Application Load Balancer (ALB).
Deskripsi operasi
-
You can only upgrade a basic ALB instance to a standard ALB instance or a WAF-enabled ALB instance. You cannot downgrade a standard ALB instance or a WAF-enabled ALB instance to a basic ALB instance. For more information, see Upgrade an ALB instance.
-
UpdateLoadBalancerEdition is an asynchronous operation. 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 an ALB instance.
-
If the ALB instance is in the Configuring state, the edition of the ALB instance is being modified.
-
If the ALB instance is in the Active state, the edition of the ALB instance is modified.
-
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:UpdateLoadBalancerEdition |
update |
*LoadBalancer
|
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. Token hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan ID permintaan sebagai token klien. ID permintaan mungkin berbeda untuk setiap permintaan. |
5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
false |
| LoadBalancerId |
string |
Yes |
ID instans ALB. |
alb-bp1b6c719dfa08ex**** |
| LoadBalancerEdition |
string |
Yes |
Edisi instans ALB. Edisi yang berbeda memiliki batas yang berbeda dan mendukung metode penagihan yang berbeda. Nilai valid:
|
Standard |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The new edition of the ALB instance. |
||
| RequestId |
string |
The request ID. |
593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.LoadBalancer | The status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.LoadBalancer | The business status of %s [%s] is incorrect. | |
| 400 | OperationDenied.Downgrade | The operation is not allowed because of %s. | |
| 400 | OperationDenied.EditionNotChanged | The operation is not allowed because of %s. | |
| 404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.