NSX-T Data Center REST API
Get an Existing Section, Including Rules (Deprecated)
Returns firewall section information with rules for a section identifier.When invoked on a section with a large number of rules, this API is supported
only at low rates of invocation (not more than 4-5 times per minute). The
typical latency of this API with about 1024 rules is about 4-5 seconds. This
API should not be invoked with large payloads at automation speeds. More than
50 rules with a large number rule references is not supported.
Instead, to read firewall rules, use:
GET /api/v1/firewall/sections/<section-id>/rules with the appropriate
page_size.
Deprecated:
Use the following Policy API -
GET /policy/api/v1/infra/domains/<domain-id>/security-policies/<security-policy-id>
Request:
Method:
POST
URI Path(s):
/api/v1/firewall/sections/<section-id>?action=list_with_rules
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
POST https://<nsx-mgr>/api/v1/firewall/sections/65a60890-6f48-418d-a7d5-5aaf65fc4e5b?action=list_with_rulesSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallSectionRuleList+