為TCPSSL監聽關聯擴充認證。
介面說明
AssociateAdditionalCertificatesWithListener 介面屬於非同步介面,即系統返回一個請求 ID,但該擴充認證尚未添加成功,系統背景新增工作仍在進行。您可以調用 ListListenerCertificates 查詢擴充認證的添加狀態:
當 TCPSSL 監聽處於 Associating 狀態時,表示擴充認證正在添加中。
當 TCPSSL 監聽處於 Associated 狀態時,表示擴充認證添加成功。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
nlb:AssociateAdditionalCertificatesWithListener |
update |
*LoadBalancer
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| AdditionalCertificateIds |
array |
是 |
擴充認證列表。一次調用最多支援為監聽關聯 15 個擴充認證。 |
|
|
string |
否 |
擴充認證列表。一次調用最多支援為監聽關聯 15 個擴充認證。 |
123157****** |
|
| ListenerId |
string |
是 |
監聽 ID。該介面僅支援輸入 TCPSSL 監聽 ID。 |
lsn-bpn0kn908w4nbw****@80 |
| DryRun |
boolean |
否 |
是否只預檢此次請求。取值:
|
true |
| ClientToken |
string |
否 |
用戶端 Token,用於保證請求的等冪性。 從您的用戶端產生一個參數值,確保不同請求間該參數值唯一。ClientToken 只支援 ASCII 字元。 說明
若您未指定,則系統自動使用 API 請求的 RequestId 作為 ClientToken 標識。每次 API 請求的 RequestId 不一樣。 |
123e4567-e89b-12d3-a456-426655440000 |
| RegionId |
string |
否 |
網路型Server Load Balancer執行個體所在的地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
為 TCPSSL 監聽添加擴充認證。 |
||
| RequestId |
string |
請求 ID。 |
365F4154-92F6-4AE4-92F8-7FF34B540710 |
| JobId |
string |
非同步任務 ID。 |
72dcd26b-f12d-4c27-b3af-18f6aed5**** |
樣本
正常返回樣本
JSON格式
{
"RequestId": "365F4154-92F6-4AE4-92F8-7FF34B540710",
"JobId": "72dcd26b-f12d-4c27-b3af-18f6aed5****"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | SystemBusy | System is busy, please try again later. | 系統繁忙,請稍後重試 |
| 400 | OperationDenied.%s | The operation is not allowed because of %s. | 因為%s,當前操作是不允許的 |
| 400 | OperationFailed.%s | The operation failed because of %s. | 因為%操作當前API失敗 |
| 400 | IncorrectStatus.%s | The status of %s [%s] is incorrect. | %s的狀態不正確,不允許進行當前操作 |
| 400 | ResourceAlreadyAssociated.%s | The specified resource of %s is already associated. | 所請求的資源%s已經被關聯。 |
| 400 | IncorrectStatus.listener | The status of listener [%s] is incorrect. | 監聽的狀態無法進行當前操作,請檢查監聽當前是否處於其他動作下。 |
| 400 | ResourceAlreadyAssociated.Certificate | The specified resource %s is already associated. | 資源%s已被關聯。 |
| 400 | Conflict.Lock | The Lock [%s] is conflict. | 指定的資源當前存在鎖衝突。 |
| 400 | OperationDenied.Protocol | The operation is not allowed because of %s. | 操作被拒絕,原因是%s。 |
| 400 | ResourceNotFound.Certificate | The specified resource %s is not found. | 資源%s不存在。 |
| 403 | Forbidden.NoPermission | Authentication is failed for NoPermission. | 因為帳號沒有許可權,所以鑒權失敗。 |
| 404 | ResourceNotFound.%s | The specified resource of %s is not found. | 無法找到所需要使用的資源%s |
| 404 | ResourceNotFound.listener | The specified resource %s is not found. | 資源%s不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。