octavia/api-ref/source/v2/examples/healthmonitor-update-curl
johnsom 425d6017fd Add v2 health monitor API section
This patch adds the health monitor section to the v2 API reference.

Change-Id: I269eb6e457d317e7d942adcc1d957bc96e4a315f
Partial-Bug: #1558385
2017-06-05 18:28:34 +00:00

2 lines
382 B
Plaintext

curl -X PUT -H "Content-Type: application/json" -H "X-Auth-Token: <token>" -d '{"healthmonitor":{"name":"super-pool-health-monitor-updated","admin_state_up":true,"delay":5,"expected_codes":"200","http_method":"HEAD","timeout":2,"url_path":"/index.html","max_retries":2,"max_retries_down":2}}' http://198.51.100.10:9876/v2.0/lbaas/healthmonitors/8ed3c5ac-6efa-420c-bedb-99ba14e58db5