[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy
Reset Firewall Stats
DescriptionSets 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
URLURL
https://nsxmanager.your.domain/policy/api/v1/infra/settings/firewall/stats?action=reset
Query Parameters
Query Parameters
string
category
Required
Aggregation statistic category
Possible values are: DFW , EDGE
string
enforcement_point_path
Optional
String Path of the enforcement point
Authentication
This operation uses the following authentication methods.
Errors
Errors
ApiError
400
Bad Request
ApiError
403
Forbidden
ApiError
404
Not Found
ApiError
412
Precondition Failed
ApiError
500
Internal Server Error
ApiError
503
Service Unavailable
Code Samples
cURL Command
curl -X POST https://nsxmanager.your.domain/policy/api/v1/infra/settings/firewall/stats?action=reset?category=string
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
On This Page
Settings Operations
post