NSX-T Data Center REST API

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+
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+

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: