UDP リスナーの設定情報を照会します。
デバッグ
OpenAPI Explorer を使用して、デバッグ操作を実行し、SDK コード例を生成します。
リクエストパラメータ
パラメータ | データ型 | 必須/省略可能 | 値の例 | 説明 |
---|---|---|---|---|
Action | String | 必須 | DescribeLoadBalancerUDPListenerAttribute |
この操作の名前です。 値 : |
ListenerPort | Integer | 省略可能 | 80 |
SLB インスタンスに設定されたフロントエンドポートです。 値の範囲:1〜65535 |
LoadBalancerId | String | 必須 | lb-bp1rtfnodmywb43ecu4sf-cn-east-hangzhou-01 |
SLB インスタンスの ID です。 |
RegionId | String | 必須 | cn-hangzhou |
SLB インスタンスが属するリージョンの ID です。 |
レスポンスパラメータ
パラメータ | データ型 | 値の例 | 説明 |
---|---|---|---|
ListenerPort | Integer | 53 |
SLB インスタンスに使用されるフロントエンドポートです。 |
BackendServerPort | Integer | 53 |
SLB インスタンスに使用されるフロントエンドポートです。 注 仮想バックエンドサーバグループを使用している場合、このパラメータは返されません。
|
帯域幅 | Integer | -1 |
リスナーのピーク帯域幅です。 |
ステータス | String | stopped |
リスナーのステータスです。 有効値: starting | running | configuring | stopping | stopped |
Scheduler | String | wrr |
トラフィックを配信するために使用されるアルゴリズムです。
|
HealthCheck | String | on |
ヘルスチェックを有効にするかどうかを示します。 有効値: on | off |
HealthyThreshold | Integer | 4 |
バックエンドサーバーが正常だと宣言されるまでの連続したヘルスチェックの成功回数です (失敗から成功まで)。 |
UnhealthyThreshold | Integer | 4 |
バックエンドサーバーが異常と宣言されるまでのヘルスチェックの連続した失敗回数です (成功から失敗まで)。 |
HealthCheckConnectTimeout | Integer | 100 |
ヘルスチェックからのレスポンス待機時間 |
HealthCheckConnectPort | Integer | 8080 |
ヘルスチェックに使用されるポートです。 |
HealthCheckInterval | Integer | 5 |
連続した 2 回のヘルスチェックの時間間隔です。 単位:秒 |
VServerGroupId | String | rsp-cige6j5e7p |
VServer グループの ID です。 |
AclId | String | 12394388 |
アクセス制御リストの ID です。 |
AclStatus | String | off |
アクセス制御を有効にするかどうかを示します。 有効値: on | off デフォルト値:off |
AclType | String | white |
アクセス制御方法です。
このパラメータは AclStatus パラメータが [on] の場合に必要です。 |
Description | String | アクセス制御の説明 |
アクセス制御の説明。 |
HealthCheckExp | String | ok |
UDPリスナーのヘルスチェック用のレスポンス文字列です。 |
HealthCheckReq | String | hello |
UDP リスナーのヘルスチェック用のリクエスト文字列です。 |
MasterSlaveServerGroupId | String | rsp-0bfucwuotx |
アクティブ/スタンバイサーバーグループの ID です。 |
RequestId | String | 365F4154-92F6-4AE4-92F8-7FF34B540710 |
リクエストの ID です。 |
例
リクエストの例
http(s)://[Endpoint]/? Action=DescribeLoadBalancerUDPListenerAttribute
&ListenerPort=80
&LoadBalancerId=lb-bp1rtfnodmywb43ecu4sf-cn-east-hangzhou-01
&<CommonParameters>
レスポンスの例
XML
形式
<DescribeLoadBalancerUDPListenerAttributeResponse>
<AclStatus>off</AclStatus>
<HealthCheck>on</HealthCheck>
<HealthCheckConnectTimeout>5</HealthCheckConnectTimeout>
<PersistenceTimeout>0</PersistenceTimeout>
<ListenerPort>80</ListenerPort>
<Status>Enabled</Status>
<Scheduler>wrr</Scheduler>
<HealthyThreshold>3</HealthyThreshold>
<HealthCheckInterval>2</HealthCheckInterval>
<RequestId>9C103591-2533-432B-9E6B-6DB098C0E65C</RequestId>
<UnhealthyThreshold>3</UnhealthyThreshold>
<BackendServerPort>34</BackendServerPort>
<Bandwidth>67</Bandwidth>
</DescribeLoadBalancerUDPListenerAttributeResponse>
JSON
形式
{
"AclStatus":"off",
"HealthCheck":"on",
"HealthCheckConnectTimeout":5,
"PersistenceTimeout":0,
"ListenerPort":80,
"Status":"stopped",
"Scheduler":"wrr",
"HealthyThreshold":3,
"HealthCheckInterval":2,
"RequestId":"9C103591-2533-432B-9E6B-6DB098C0E65C",
"UnhealthyThreshold":3,
"BackendServerPort":443
"Bandwidth":67
}