ConoHa API Documantation

ヘルスモニタ一覧取得 - Network API v2.0

Description

Request URL

Network API v2.0

GET /v2.0/lb/health_monitors

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID

Request Json

This operation does not accept a request body.

Normal response codes

200

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 0925897a3d4543218ff0dcd2bb378a8e" \
https://networking.tyo1.conoha.io/v2.0/lb/health_monitors
  • RES
HTTP/1.1 200 OK
Server: openresty/1.7.10.1
Date: Fri, 08 May 2015 08:54:55 GMT
Content-Type: application/json
Content-Length: 992
Connection: keep-alive

{
    "health_monitors": [
        {
            "admin_state_up": true,
            "tenant_id": "22394afc818d471ca2f0308c06ae7460",
            "delay": 10,
            "max_retries": 5,
            "timeout": 5,
            "pools": [
                {
                    "status": "ACTIVE",
                    "status_description": null,
                    "pool_id": "5275ce01-d58d-4ced-a14b-1d0bbd16a0c3"
                }
            ],
            "type": "TCP",
            "id": "11da3a67-c9aa-43e7-8494-a014dd19f6d7"
        },
        {
            "admin_state_up": true,
            "tenant_id": "22394afc818d471ca2f0308c06ae7460",
            "delay": 5,
            "expected_codes": "200",
            "max_retries": 5,
            "http_method": "GET",
            "timeout": 5,
            "pools": [],
            "url_path": "/",
            "type": "HTTP",
            "id": "62f9931c-9c9d-4635-81a6-3268c5840c8b"
        }
    ]
}