Management Plane API > Security > Services > Firewall

Get an Existing Section

Returns information about firewall section for the identifier.

Request:

Method:
GET
URI Path(s):
/api/v1/firewall/sections/<section-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/firewall/sections/65a60890-6f48-418d-a7d5-5aaf65fc4e5b

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallSection+

Example Response:

{ "resource_type": "FirewallSection", "description": "protects app VMs", "id": "65a60890-6f48-418d-a7d5-5aaf65fc4e5b", "display_name": "app-firewall", "section_type": "LAYER3", "applied_tos": [ { "target_display_name": "app-switch", "is_valid": true, "target_type": "LogicalSwitch", "target_id": "1d9fb5cb-0344-4d7f-899a-afd93276899f" } ], "is_default": false, "stateful": true, "rule_count": 0, "locked": true, "comments": "Locked the section", "lock_modified_by": "admin", "lock_modified_time": "1445894033104", "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1445894033107, "_create_user": "admin", "_create_time": 1445894033107, "_revision": 0 }

Required Permissions:

read

Feature:

firewall_general

Additional Errors: