ConoHa API Documantation

ヘルスモニタ変更 - Network API v2.0

Description

timeoutパラメータを変更することはできません。

Request URL

Network API v2.0

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

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
delay (Optional) delay plain The time, in seconds, between sending probes to members. 5-10のみ受入
url_path (Optional) url_path plain リクエスト先URI

Request Json

{
   "health_monitor":{
      "delay":"5"
   }
}

Normal response codes

200

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

  • REQ
curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 0925897a3d4543218ff0dcd2bb378a8e" \
-d '{"health_monitor": {"delay": "5"}}' \
https://networking.tyo1.conoha.io/v2.0/lb/health_monitors/1e898fd5-193d-47f7-8b53-10945399a183
  • RES
HTTP/1.1 200 OK
Server: openresty/1.7.10.1
Date: Fri, 08 May 2015 11:49:29 GMT
Content-Type: application/json
Content-Length: 263
Connection: keep-alive

{
    "health_monitor": {
        "admin_state_up": true,
        "tenant_id": "22394afc818d471ca2f0308c06ae7460",
        "delay": 5,
        "expected_codes": "200-299",
        "max_retries": 5,
        "http_method": "GET",
        "timeout": 5,
        "pools": [],
        "url_path": "/check",
        "type": "HTTP",
        "id": "1e898fd5-193d-47f7-8b53-10945399a183"
    }
}