Verb | URI | Description |
POST | /lb/health_monitors | Creates a load balancer health monitor. |
Normal Response Code: 201
Error Response Codes: Unauthorized (401), Bad Request (400)
This operation requires a request body.
This operation returns a response body.
Example 4.106. Create health monitor: HTTP and JSON request
POST /v2.0/lb/health_monitors.json HTTP/1.1
User-Agent: python-neutronclient
Accept: application/json
{ "health_monitor":{ "delay":"1", "max_retries":"1", "type":"HTTP", "timeout":"1", "admin_state_up":true } }
Example 4.107. Create health monitor: HTTP and JSON response
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
{ "health_monitor":{ "admin_state_up":true, "tenant_id":"4fd44f30292945e481c7b8a0c8908869", "delay":1, "expected_codes":"200", "max_retries":1, "http_method":"GET", "timeout":1, "pools":[ ], "url_path":"/", "type":"HTTP", "id":"b624decf-d5d3-4c66-9a3d-f047e7786181" } }