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

Read LBService

Read an LBService.
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-services/{lb-service-id}
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/lb-services/cgwService

Successful Response:

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

Example Response:

{ "resource_type": "LBService", "id": "cgwLbService", "display_name": "cgwLbService", "path": "/infra/lb-services/cgwLbService", "parent_path": "/infra", "relative_path": "cgwLbService", "marked_for_delete": false, "size": "SMALL", "error_log_level": "INFO", "access_log_enabled": false, "enabled": true, "_create_user": "admin", "_create_time": 1531109024949, "_last_modified_user": "admin", "_last_modified_time": 1531109024949, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: