Mengasosiasikan sertifikat tambahan dengan pendengar.
Deskripsi operasi
AssociateAdditionalCertificatesWithListener 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 operation to query the status of the task:
-
If the HTTPS or QUIC listener is in the Associating state, the additional certificates are being associated.
-
If the HTTPS or QUIC listener is in the Associated state, the certificates are associated.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:AssociateAdditionalCertificatesWithListener |
create |
*LoadBalancer
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ListenerId |
string |
Yes |
ID pendengar. Parameter ini hanya valid untuk pendengar HTTPS dan QUIC. |
lsn-5qnirjhpt****** |
| Certificates |
array<object> |
Yes |
Sertifikat tambahan. |
|
|
object |
No |
The additional certificate. |
||
| CertificateId |
string |
Yes |
The ID of the certificate. Only server certificates are supported. Catatan
The globally unique certificate ID, which ends with a region ID, for example, 1011****-cn-hangzhou. |
1011****-cn-hangzhou |
| 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 sebagai ClientToken. RequestId berbeda untuk setiap permintaan. |
5A2CFF0E-5718-45B5-9D4D-70B3F****** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja. Nilai valid:
|
true |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Associating an extension certificate with an HTTPS or QUIC listener. |
||
| JobId |
string |
The asynchronous task ID. |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
| RequestId |
string |
The request ID. |
365F4154-92F6-4AE4-92F8-7FF3****** |
Contoh
Respons sukses
JSONformat
{
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****",
"RequestId": "365F4154-92F6-4AE4-92F8-7FF3******"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectStatus.Listener | The status of %s [%s] is incorrect. | |
| 400 | OperationDenied.DefaultCertificateUsed | The operation is not allowed because of %s. | |
| 400 | OperationFailed.DefaultCertificateNotFound | The operation failed because of %s. | |
| 400 | ResourceAlreadyAssociated.Certificate | The specified resource %s is already associated. | |
| 400 | ResourceQuotaExceeded.LoadBalancerCertificatesNum | The quota of %s is exceeded for resource %s, usage %s/%s. | |
| 400 | OperationDenied.HttpListenerNotSupport | The operation is not allowed because of %s. | |
| 400 | InvalidParameter | Invalid parameter, please check the parameter input. | |
| 400 | ResourceInConfiguring.Listener | The specified resource %s is configuring, please try again later. | |
| 403 | Forbidden.LoadBalancer | Authentication has failed for LoadBalancer. | |
| 404 | ResourceNotFound.Certificate | 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.