Description
Changing timeout parameter is not allowed.
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 Token | header | |
| delay (Optional) | delay | plain | The time, in seconds, between sending probes to members. Allowed only between 5 to 10. |
| url_path (Optional) | url_path | plain |
Request Json
{
"health_monitor":{
"delay":"5"
}
}
Normal response codes
200
Example
curl -i -X PUT \
-H "Accept: application/json" \
-H "X-Auth-Token: 0925897a3d4543218ff0dcd2bb378a8e" \
-d '{"health_monitor": {"delay": "5"}}' \
https://networking.tyo1.cloud.z.com/v2.0/lb/health_monitors/1e898fd5-193d-47f7-8b53-10945399a183
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"
}
}