Mengaitkan daftar kontrol akses (ACL) dengan pendengar.
Deskripsi operasi
DeleteDhcpOptionsSet 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 ListAclRelations operation to query the status of the task.
If an ACL is in the Associating state, the ACL is being associated with a listener.
If an ACL is in the Associated state, the ACL is associated with a listener.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:AssociateAclsWithListener |
create |
*Acl
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AclIds |
array |
Yes |
ID ACL. Anda dapat menentukan hingga tiga ID dalam setiap panggilan. |
|
|
string |
No |
The ID of the ACL. |
nacl-hp34s2h0xx1ht4nwo**** |
|
| ListenerId |
string |
Yes |
ID pendengar. |
lsr-bp1bpn0kn908w4nbw**** |
| AclType |
string |
Yes |
Tipe ACL. Nilai valid:
|
White |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai valid:
|
true |
| 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 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The operation to associate ACLs with a listener. |
||
| JobId |
string |
The synchronous task ID. |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
Contoh
Respons sukses
JSONformat
{
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****",
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | QuotaExceeded.AclsNum | The quota of %s is exceeded, usage %s/%s. | The quota of %s is exceeded, usage %s/%s. |
| 400 | IncorrectStatus.Acl | The status of %s [%s] is incorrect. | |
| 400 | ResourceQuotaExceeded.ListenerAclEntriesNum | The quota of %s is exceeded for resource %s, usage %s/%s. | The quota of %s is exceeded for resource %s, usage %s/%s. |
| 400 | OperationDenied.AclNotSupport | The operation is not allowed because of %s. | |
| 400 | ResourceAlreadyExist.AclEntry | The specified resource %s already exists. | |
| 400 | ResourceInUse.Acl | The specified resource %s is in use. | The specified resource %s is in use. |
| 400 | OperationDenied.LoadBalancerJoinedSecurityGroupNotSupportAcl | The operation is not allowed because of loadbalancer joined security group not support acl. | The operation is not supported because SLB instances in security groups cannot be added to ACLs. |
| 404 | ResourceNotFound.Acl | The specified resource %s is not found. | |
| 404 | ResourceNotFound.Listener | The specified resource %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.