Management Plane API > Security > Services > Firewall

Get firewall status for target resource in dfw context

Request:

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

Example Request:

GET https://<nsx-mgr>/api/v1/firewall/status/logical_routers/1253495c-ffe8-4d44-8ea7-37fe9fe2d97f

Successful Response:

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

Example Response:

{ "target_id": "1253495c-ffe8-4d44-8ea7-37fe9fe2d97f", "status": "ENABLED" }

Required Permissions:

read

Feature:

firewall_general Description:
Fetches firewall status for a given target resource in supported dfw context types e.g. 'A specific logical router'

Additional Errors: