閱讀706 返回首頁    go 阿裏雲


DescribeLoadBalancerUDPListenerAttribute__Listener相關API_API 參考_負載均衡-阿裏雲

描述

  • 查詢UDP Listener信息。

  • Listener包含5種狀態:starting、running、configuring、stopping、stopped。Listener的狀態轉換圖以及每個狀態的具體說明,參見負載均衡 Listener狀態轉換圖

請求參數

名稱 類型 是否必須 描述
Action String 操作接口名,係統規定參數。
取值:DescribeLoadBalancerUDPListenerAttribute
LoadBalancerId String 負載均衡實例的唯一標識。
ListenerPort Integer 負載均衡實例前端使用的端口。
取值:1-65535
VServerGroupId String 綁定的虛擬服務器組ID

返回參數

名稱 類型 描述
<公共返回參數> 詳見<公共返回參數>
ListenerPort Integer 負載均衡實例前端使用的端口,範圍為1-65535。
BackendServerPort Integer 負載均衡實例後端使用的端口,範圍為1-65535。
Bandwidth Integer 監聽的帶寬峰值,範圍-1-1000Mbps。
Status String Listener當前狀態。包含5種狀態:starting、running、configuring、stopping、stopped。
Scheduler String 調度算法。wrr或者wlc。
PersistenceTimeout Integer 連接持久化的超時時間。0表示關閉。
StickySessionType String cookie的處理方式,設置為insert表示由負載均衡插入;設置為server表示負載均衡從後端服務器學習。
HealthCheck String 是否開啟健康檢查。on為開啟健康檢查,off為關閉健康檢查。
HealthyThreshold Integer 後端服務器從fail到success的連續健康檢查成功次數。
UnhealthyThreshold Integer 後端服務器從success到fail的連續健康檢查失敗次數。
HealthCheckConnectTimeout Integer 健康檢查的連接超時時間。
HealthCheckConnectPort Integer 健康檢查的端口。
HealthCheckInterval Integer 健康檢查的間隔,單位為秒。

示例

請求示例

  1. https://slb.aliyuncs.com/
  2. &Action=DescribeLoadBalancerUDPListenerAttribute
  3. &LoadBalancerId=139a00604ad-cn-east-hangzhou-01
  4. &ListenerPort=53
  5. &<公共請求參數>

返回示例

  • XML 格式
    1. <?xml version="1.0" encoding="UTF-8"?>
    2. <DescribeLoadBalancerUDPListenerAttributeResponse>
    3. <RequestId>365F4154-92F6-4AE4-92F8-7FF34B540710</RequestId>
    4. <ListenerPort>53</ListenerPort>
    5. <BackendServerPort>53</BackendServerPort>
    6. <Bandwidth>-1</Bandwidth>
    7. <Status>stopped</Status>
    8. <Schedule>wrr</Schedule>
    9. <StickySession>on</StickySession>
    10. <PersistenceTimeout>0</PersistenceTimeout>
    11. </DescribeLoadBalancerUDPListenerAttributeResponse>
  • JSON格式
    1. {
    2. "RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
    3. "ListenerPort":53,
    4. "BackendServerPort":53,
    5. "Bandwidth":-1,
    6. "Status":"stopped",
    7. "Schedule":"wrr",
    8. "StickySession":"on",
    9. "PersistenceTimeout":0
    10. }

最後更新:2016-11-23 16:03:57

  上一篇:go DescribeLoadBalancerTCPListenerAttribute__Listener相關API_API 參考_負載均衡-阿裏雲
  下一篇:go DescribeListenerAccessControlAttribute__Listener相關API_API 參考_負載均衡-阿裏雲