NSX-T Data Center REST API

Read the debug information of the load balancer service

API to download below information which will be used for debugging and
troubleshooting.
1) Load balancer service
2) Load balancer associated virtual servers
3) Load balancer associated pools
4) Load balancer associated profiles such as persistence, SSL, application.
5) Load balancer associated monitors
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}/debug-info
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Successful Response:

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

Example Response:

{ "service": { "connectivity_path": "/infra/tier-1s/TLR1_LR", "enabled": true, "relax_scale_validation": false, "size": "SMALL", "error_log_level": "DEBUG", "access_log_enabled": true, "resource_type": "LBService", "id": "LB_Service", "display_name": "LB_Service", "description": "LB_Service created through automation", "path": "/infra/lb-services/LB_Service", "relative_path": "LB_Service", "parent_path": "/infra", "unique_id": "412b6893-7c77-4f5e-854c-84e76c11c01d", "realization_id": "412b6893-7c77-4f5e-854c-84e76c11c01d", "owner_id": "65fe0802-f93b-4e4d-83d7-0aee5bdc9f98", "marked_for_delete": false, "overridden": false, "_system_owned": false, "_protection": "NOT_PROTECTED", "_create_time": 1716042592833, "_create_user": "admin", "_last_modified_time": 1716042592833, "_last_modified_user": "admin", "_revision": 0 }, "virtual_servers" : [ ...[content omitted for brevity] }

Required Permissions:

read

Feature:

policy_lb

Additional Errors: