NSX-T Data Center REST API
Get gateway policy statistics
Get statistics of a gateay policy.- no enforcement point path specified: Stats will be evaluated on each enforcement.
point.
- {enforcement_point_path}: Stats are evaluated only on the given enforcement point.
Request:
Method:
              GET
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/domains/<domain-id>/gateway-policies/<gateway-policy-id>/statistics
                  
/policy/api/v1/global-infra/domains/<domain-id>/gateway-policies/<gateway-policy-id>/statistics
              
            /policy/api/v1/global-infra/domains/<domain-id>/gateway-policies/<gateway-policy-id>/statistics
Request Headers:
                n/a
            Query Parameters:
    StatisticsRequestParameters+
  Request Body:
    n/a
  Example Request:
GET https://<policy-mgr>/policy/api/v1/infra/domains/web-domain/gateway-policies/emergency/statistics?enforcement_point_path=/infra/deployment-zones/default/enforcement-points/ep1Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    SecurityPolicyStatisticsListResult+