NSX-T Data Center REST API

Read the usage information of the given load balancer service (Removed in 9.0)

API to fetch the capacity and current usage of the given load balancer
service.
Deprecated:
Use the following Policy API -
GET /policy/api/v1/infra/lb-services/<lb-service-id>/service-usage

Request:

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

Example Request:

GET https://<nsx-mgr>/api/v1/loadbalancer/services/b6a5bffa-f6a9-447c-936f-4633f9eb43g1/usage

Successful Response:

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

Example Response:

{ "service_id" : "b6a5bffa-f6a9-447c-936f-4633f9eb43g1", "service_size" : "SMALL", "virtual_server_capacity" : 10, "pool_capacity" : 10, "pool_member_capacity" : 30, "current_virtual_server_count : 2, "current_pool_count : 10, "current_pool_member_count : 20, "usage_percentage" : 100.0, "severity" : "RED" }

Required Permissions:

read

Feature:

lb_services

Additional Errors: