Management Plane API > Networking > Services > Loadbalancer

Retrieve a load balancer monitor

Retrieve a load balancer monitor.

Request:

Method:
GET
URI Path(s):
/api/v1/loadbalancer/monitors/<monitor-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/loadbalancer/monitors/ab1c038f-565a-4870-a61c-b731f99f0bb4

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LbHttpMonitor+
LbHttpsMonitor+
LbIcmpMonitor+
LbPassiveMonitor+
LbTcpMonitor+
LbUdpMonitor+

Example Response:

{ "resource_type" : "LbHttpMonitor", "description" : "LB_Http_Monitor", "id" : "ab1c038f-565a-4870-a61c-b731f99f0bb4", "display_name" : "LB_Http_Monitor", "monitor_port" : "80", "interval" : 1, "timeout" : 1, "rise_count" : 1, "fall_count" : 1, "response_status_codes" : [ 200 ], "request_version" : "HTTP_VERSION_1_1", "request_method" : "GET", "request_url" : "/", "_create_time" : 1515737352635, "_last_modified_user" : "admin", "_last_modified_time" : 1515737352635, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Required Permissions:

read

Feature:

lb_monitors

Additional Errors: