Management Plane API > Networking > Services > Loadbalancer

Retrieve a load balancer service

Retrieve a load balancer service.

Request:

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

Example Request:

GET https://<nsx-mgr>/api/v1/loadbalancer/services/4177b474-f147-44f2-b055-73f887742ea1

Successful Response:

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

Example Response:

{ "resource_type" : "LbService", "id" : "4177b474-f147-44f2-b055-73f887742ea1", "display_name" : "lbs1", "size" : "SMALL", "attachment" : { "target_display_name" : "lrouter-2", "is_valid" : true, "target_type" : "LogicalRouter", "target_id" : "6aa3b556-58ad-420a-9b0d-535d3aebf2f5" }, "error_log_level" : "INFO", "access_log_enabled" : false, "virtual_server_ids" : [ "a332950f-472d-4ae3-be03-e7ccefe28fbd" ], "enabled" : true, "_create_time" : 1515745891661, "_last_modified_user" : "admin", "_last_modified_time" : 1515745891661, "_system_owned" : false, "_create_user" : "admin", "_protection" : "NOT_PROTECTED", "_revision" : 0 }

Required Permissions:

read

Feature:

lb_services

Additional Errors: