Management Plane API >
Security
>
Services
>
Firewall
Get the summary of sections in the firewall configuration.
List the summary of number of sections and number of rules for each firewall
category (L2DFW, L3DFW).
Request:
Method:
GET
URI Path(s):
/api/v1/firewall/sections/summary
Request Headers:
n/a
Query Parameters:
DataSourceParameters
+
DataSourceParameters
(
schema
)
Name
Description
Type
Notes
source
The data source, either realtime or cached. If not provided, cached data is returned.
DataSourceType
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/firewall/sections/summary?source=cached
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallSectionsSummaryList
+
FirewallSectionsSummaryList
(
schema
)
Name
Description
Type
Notes
last_compute_time
Timestamp of the last computation, in epoch milliseconds.
EpochMsTimestamp
Readonly
sections_summary
List of the firewall sections summary
List of firewall sections summary.
array of
FirewallSectionsSummary
Readonly
Example Response:
{ "sections_summary":[ { "section_type":"L2DFW", "section_count":1, "rule_count":2 }, { "section_type":"L3DFW", "section_count":10, "rule_count":50 } ], "last_compute_time":1463555183599 }
Required Permissions:
read
Feature:
firewall_general
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable