NSX-T Data Center REST API
Read load balancer usage for the given node
API is used to retrieve node usage for load balancer which contains basicinformation, LB entity usages and capacities for the given node.
Currently only edge node is supported.
The parameter ?node_path=<node-path> is required. For example, ?node_path=
/infra/sites/default/enforcement-points/default/edge-clusters/
85175e0b-4d74-461d-83e1-f3b785adef9c/edge-nodes/0.
NSX Load Balancer availability in terms of use-cases and editions is
specified in NSX Feature and Edition Guide. Please review before consuming
those APIs.
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-node-usage
Request Headers:
n/a
Query Parameters:
LBNodeUsageRequestParameters+
Request Body:
n/a
Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/lb-node-usage?node_path=/infra/sites/default/enforcement-points/default/edge-clusters/bfdda9bb-1db5-4d67-92f0-40f15f76259f/edge-nodes/0Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LBEdgeNodeUsage+