NSX-T Data Center REST API
Associated URIs:
| API Description | API Path | 
|---|---|
| Get rule statisticsGet statistics of a rule. - 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. | GET /policy/api/v1/infra/domains/<domain-id>/security-policies/<security-policy-id>/rules/<rule-id>/statistics GET /policy/api/v1/global-infra/domains/<domain-id>/security-policies/<security-policy-id>/rules/<rule-id>/statistics | 
| Get security policy statisticsGet statistics of a security 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. | GET /policy/api/v1/infra/domains/<domain-id>/security-policies/<security-policy-id>/statistics GET /policy/api/v1/global-infra/domains/<domain-id>/security-policies/<security-policy-id>/statistics | 
| Reset firewall rule statisticsSets firewall rule statistics counter to zero. This operation is supported for given category, for example: DFW i.e. for all layer3 firewall (transport nodes only) rules or EDGE i.e. for all layer3 edge firewall (edge nodes only) rules. - no enforcement point path specified: On global manager, it is mandatory to give an enforcement point path. On local manager, reset of stats will be executed for each enforcement point. - {enforcement_point_path}: Reset of stats will be executed only for the given enforcement point. | POST /policy/api/v1/infra/settings/firewall/stats?action=reset POST /policy/api/v1/global-infra/settings/firewall/stats?action=reset | 
