Policy > Networking > Network Services > Load Balancing > Load Balancer Virtual Servers

List LBVirtualServers

Paginated list of all LBVirtualServers.
This API is deprecated for the NSX-T Load Balancer, but not for the NSX-T Distributed Load Balancer.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.

Request:

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

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/lb-virtual-servers

Successful Response:

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

Example Response:

{ "sort_ascending": true, "sort_by": "display_name", "result_count": 1, "results": [ { "resource_type": "LBVirtualServer", "id": "httpsVirtualServer", "display_name": "httpsVirtualServer", "path": "/infra/lb-virtual-servers/httpsVirtualServer", "parent_path": "/infra/lb-virtual-servers/httpsVirtualServer", "relative_path": "httpsVirtualServer", "marked_for_delete": false, "enabled": true, "application_profile_path": "/infra/lb-app-profiles/default-http-lb-app-profile", "client_ssl_profile_binding": { "ssl_profile_path": "/infra/lb-client-ssl-profiles/default-balanced-client-ssl-profile", "default_certificate_path": "/infra/certificates/selfSignedCert" }, "ip_address": "30.1.2.4", "ports": [ "80" ], "access_log_enabled": true, "_create_user": "admin", "_create_time": 1531108882118, "_last_modified_user": "admin", "_last_modified_time": 1531108882118, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 } ] }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: