調用StartLoadBalancerListener啟動監聽。
介面說明
API 呼叫頻率:100 次/秒。
單使用者調用頻率:10 次/秒。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ens:StartLoadBalancerListener |
update |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| ListenerPort |
integer |
是 |
需要啟動的監聽連接埠。取值:1~65535。 |
8080 |
| LoadBalancerId |
string |
是 |
Server Load Balancer執行個體的 ID。 |
lb-5saivuir6b1mupxjfbhmk**** |
| ListenerProtocol |
string |
否 |
Server Load Balancer執行個體前端使用的協議。取值:
說明
相同連接埠存在不同協議監聽時,此欄位必填。 |
tcp |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RequestId |
string |
請求 ID。 |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
樣本
正常返回樣本
JSON格式
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | ens.interface.error | An error occurred while call the API. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | LoadBalancerNotFound | The input parameter loadBalancerId that is not found. | |
| 400 | IncorrectInstanceStatus | The current status of the resource does not support this operation. | 當前操作不被支援,磁碟正在重設中。 |
| 400 | ListenerNotFound | The input parameter listener that is not found. | |
| 400 | IncorrectListenerStatus | The current status of the resource does not support this operation. | 監聽狀態不正確。 |
| 400 | TooManyListeners | More than 1 listener is found, please be more specified. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。