ロードバランス先情報一覧取得

API情報

API種別 メソッド URI 対象 名称 実行
設定 GET /:GisServiceCode/best-effort-fw-lbs/:IlbServiceCode/lb/destinations.json FW+LBベストエフォートタイプ ロードバランス先情報一覧取得 同期

リクエストパラメータ

  パラメータ 必須 意味
URL GisServiceCode P2契約のサービスコード gis########
  IlbServiceCode FW+LBベストエフォートタイプのサービスコード ilb########

レスポンス

フィールド タイプ 意味
DestinationList Array ロードバランス先情報 ロードバランス先情報
DestinationList.Id String ロードバランス先ID ロードバランス先ID
DestinationList.LbConfigId String ロードバランシング設定のID ロードバランシング設定のID
DestinationList.IpAddress String ロードバランス先アドレス ロードバランス先アドレス
DestinationList.Port String ロードバランス先ポート番号 ロードバランス先ポート番号
DestinationList.Weight String

ロードバランス先重み

Failover がYesのときは空

数字
DestinationList.Failover String フェールオーバー先 "Yes" "No"
DestinationList.Enabled String 有効・無効 "Yes" "No"
DestinationList.HealthCheckStatus String ヘルスチェックステータス

ロードバランス先のヘルスチェック状態

Success: 正常

Failed: 異常

Disable: 無効(Enabled: No)

Unknown: FailoverがYesのときもしくは原因不明でステータス取得に失敗

None: 登録直後

エラーコード

制限

サンプル

リクエストボディ

無し 

レスポンス (JSON)

Json
{
    "RequestId": "xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx",
    "DestinationList": [
        {
            "Id": "1",
            "LbConfigId": "1",
            "IpAddress": "192.168.2.4",
            "Port": "80",
            "Weight": "100",
            "Failover": "No",
            "Enabled": "Yes",
            "HealthCheckStatus": "Success"
        },
        {
            "Id": "2",
            "LbConfigId": "1",
            "IpAddress": "192.168.2.5",
            "Port": "80",
            "Weight": "100",
            "Failover": "No",
            "Enabled": "Yes",
            "HealthCheckStatus": "Success"
        }
    ]
}