Update health monitor

Verb URI Description
PUT /lb/health_monitors/health_monitor-id Updates a load balancer health monitor.

Normal Response Code: 200

Error Response Codes: Unauthorized (401), Bad Request (400), Not Found (404)

 

Example 4.108. Update health monitor: HTTP and JSON request

PUT /v2.0/lb/health_monitors/466c8345-28d8-4f84-a246-e04380b0461d.json HTTP/1.1
User-Agent: python-neutronclient
Accept: application/json

{
   "health_monitor":{
      "delay":"3"
   }
}

 

Example 4.109. Update health monitor: HTTP and JSON response

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8

{
   "health_monitor":{
      "admin_state_up":true,
      "tenant_id":"4fd44f30292945e481c7b8a0c8908869",
      "delay":3,
      "expected_codes":"200",
      "max_retries":1,
      "http_method":"GET",
      "timeout":1,
      "pools":[

      ],
      "url_path":"/",
      "type":"HTTP",
      "id":"b624decf-d5d3-4c66-9a3d-f047e7786181"
   }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...