ロードバランス先情報一覧取得
API情報
| API種別 | メソッド | URI | 対象 | 名称 | 実行 |
|---|---|---|---|---|---|
| 設定 | GET | /:GisServiceCode/best-effort-fw-lbs/:IlbServiceCode/lb/destinations.json | FW+LBベストエフォートタイプ | ロードバランス先情報一覧取得 | 同期 |
- 指定された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)
{ |
"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" |
} |
] |
} |