Policy > Networking > Network Services > Load Balancing > Load Balancer Profiles > Load Balancer Monitor Profiles

List LBMonitorProfiles for infra

Paginated list of all LBMonitorProfiles for infra.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/lb-monitor-profiles
Request Headers:
n/a
Query Parameters:
PolicyListRequestParameters+
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/lb-monitor-profiles

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LBMonitorProfileListResult+

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 6, "results": [ { "resource_type": "LBHttpMonitorProfile", "id": "httpMonitor", "display_name": "/infra/lb-monitor-profiles/httpMonitor", "path": "/infra/lb-monitor-profiles/httpMonitor", "parent_path": "/infra/lb-monitor-profiles/httpMonitor", "relative_path": "httpMonitor", "monitor_port": 80, "interval": 42, "timeout": 14, "rise_count": 4, "fall_count": 4, "request_url": "/default/", "request_method": "GET", "request_version": "HTTP_VERSION_1_1", "response_status_codes": [ 200, 300 ], "_create_user": "admin", "_create_time": 1516320198570, "_last_modified_user": "admin", "_last_modified_time": 1516320198570, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBUdpMonitorProfile", "id": "udpMonitor", "display_name": "/infra/lb-monitor-profiles/udpMonitor", "path": "/infra/lb-monitor-profiles/udpMonitor", "parent_path": "/infra/lb-monitor-profiles/udpMonitor", "relative_path": "udpMonitor", "monitor_port": 80, "interval": 42, "timeout": 15, "rise_count": 3, "fall_count": 3, "receive": "recieve_msg", "send": "send_msg", "_create_user": "admin", "_create_time": 1516320209965, "_last_modified_user": "admin", "_last_modified_time": 1516320209965, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBHttpMonitorProfile", "id": "default-http-lb-monitor", "display_name": "default-http-lb-monitor", "path": "/infra/lb-monitor-profiles/default-http-lb-monitor", "parent_path": "/infra/lb-monitor-profiles/default-http-lb-monitor", "relative_path": "default-http-lb-monitor", "marked_for_delete": false, "monitor_port": 80, "interval": 5, "timeout": 15, "rise_count": 3, "fall_count": 3, "request_url": "/", "_create_user": "system", "_create_time": 1530036080260, "_last_modified_user": "system", "_last_modified_time": 1530036080260, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBHttpsMonitorProfile", "id": "default-https-lb-monitor", "display_name": "default-https-lb-monitor", "path": "/infra/lb-monitor-profiles/default-https-lb-monitor", "parent_path": "/infra/lb-monitor-profiles/default-https-lb-monitor", "relative_path": "default-https-lb-monitor", "marked_for_delete": false, "monitor_port": 443, "interval": 5, "timeout": 15, "rise_count": 3, "fall_count": 3, "request_url": "/", "request_method": "GET", "request_version": "HTTP_VERSION_1_1", "_create_user": "system", "_create_time": 1530036080279, "_last_modified_user": "system", "_last_modified_time": 1530036080279, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBIcmpMonitorProfile", "id": "default-icmp-lb-monitor", "display_name": "default-icmp-lb-monitor", "path": "/infra/lb-monitor-profiles/default-icmp-lb-monitor", "parent_path": "/infra/lb-monitor-profiles/default-icmp-lb-monitor", "relative_path": "default-icmp-lb-monitor", "marked_for_delete": false, "interval": 5, "timeout": 15, "rise_count": 3, "fall_count": 3, "data_length": 56, "_create_user": "system", "_create_time": 1530036080320, "_last_modified_user": "system", "_last_modified_time": 1530036080320, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "resource_type": "LBTcpMonitorProfile", "id": "default-tcp-lb-monitor", "display_name": "default-tcp-lb-monitor", "path": "/infra/lb-monitor-profiles/default-tcp-lb-monitor", "parent_path": "/infra/lb-monitor-profiles/default-tcp-lb-monitor", "relative_path": "default-tcp-lb-monitor", "marked_for_delete": false, "interval": 5, "timeout": 15, "rise_count": 3, "fall_count": 3, "_create_user": "system", "_create_time": 1530036080242, "_last_modified_user": "system", "_last_modified_time": 1530036080242, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 }, { "max_fails": 5, "timeout": 5, "resource_type": "LBPassiveMonitorProfile", "id": "default-passive-lb-monitor", "display_name": "default-passive-lb-monitor", "path": "/infra/lb-monitor-profiles/default-passive-lb-monitor", "relative_path": "default-passive-lb-monitor", "parent_path": "/infra/lb-monitor-profiles/default-passive-lb-monitor", "marked_for_delete": false, "_create_user": "system", "_create_time": 1543304450707, "_last_modified_user": "system", "_last_modified_time": 1543304450707, "_system_owned": true, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: