ヘルスモニタ詳細取得

Description

ヘルスモニタの詳細を取得します。

Request URL

Network API v2.0

GET /v2.0/lb/health_monitors/{health_monitor_id}

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header トークン発行 にて払い出されたID
health_monitor_id ヘルスモニタID URI ヘルスモニタIDを指定します。ヘルスモニタ一覧取得にてご確認ください。

Response

  • Normal response codes
200

Example

  • Request
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: トークンID" \
https://networking.jpt1.cloud.z.com/v2.0/lb/health_monitors/ヘルスモニタID
  • Response
HTTP/1.1 200 OK
Date: Mon, 11 Jul 2016 04:14:08 GMT
Server: Apache
Content-Length: 277
Content-Type: application/x-www-form-urlencoded

{
    "health_monitor": {
        "admin_state_up": true,
        "delay": 監視間隔,
        "expected_codes": "期待するレスポンスのステータスコード(HTTPプロトコルの場合のみ)",
        "http_method": "GET",
        "id": "ヘルスモニタID",
        "max_retries": 3,
        "pools": [],
        "tenant_id": "テナントID",
        "timeout": 5,
        "type": "プロトコル",
        "url_path": "チェック先のパス(HTTPプロトコルの場合のみ)"
    }
}

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.