NSX-T Data Center REST API
Create or update a ALBhealthmonitor
If a ALBhealthmonitor with the alb-healthmonitor-id is not already present,create a new ALBhealthmonitor. If it already exists, update the
ALBhealthmonitor. This is a full replace.
This API is only available when using VMware NSX-T.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/alb-health-monitors/<alb-healthmonitor-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
ALBHealthMonitor+
Example Request:
{ "description": "CREATE HM", "display_name": "httpMonitor", "failed_checks": 2, "http_monitor": { "http_request": "GET / HTTP/1.0", "http_response_code": [ "HTTP_2XX" ] }, "is_federated": false, "monitor_port": 8000, "receive_timeout": 4, "send_interval": 10, "successful_checks": 2, "type": "HEALTH_MONITOR_HTTP" }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a