Associate health monitor with a pool

Verb URI Description
POST /lb/pools/pool-id/health_monitors Associate health monitor with the pool.

Normal Response Code: 200

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

 

Example 4.112. Associate health monitor: HTTP and JSON request

POST /v2.0/lb/pools/72741b06-df4d-4715-b142-276b6bce75ab/health_monitors.json HTTP/1.1
User-Agent: python-neutronclient
Accept: application/json

{
   "health_monitor":{
      "id":"b624decf-d5d3-4c66-9a3d-f047e7786181"
   }
}

 

Example 4.113. Associate health monitor: HTTP and JSON response

HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8

{
   "health_monitor":{

   }
}

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


loading table of contents...