[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Reset Firewall Stats

Description

Sets 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: Stats will be evaluated on each enforcement point.
  • {enforcement_point_path}: Stats are evaluated only on the given enforcement point.

Request

Request

URL

URL


post
https://nsxmanager.your.domain/policy/api/v1/infra/settings/firewall/stats?action=reset
Copy

Query Parameters

Query Parameters

string
category Required

Aggregation statistic category

Possible values are: DFWEDGE


string
enforcement_point_path Optional

String Path of the enforcement point


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

400

Bad Request


403

Forbidden


404

Not Found


412

Precondition Failed


500

Internal Server Error


503

Service Unavailable

Code Samples

Code Samples

cURL Command

curl -X POST https://nsxmanager.your.domain/policy/api/v1/infra/settings/firewall/stats?action=reset?category=string
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: reset-firewall-stats
x-vmw-nsx-module: DfwSecurityPolicy


[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Feedback

Was this page helpful?