NSX-T Data Center REST API
Get firewall status for target resource in dfw context (Deprecated)
Deprecated:Use the following Policy APIs -
GET /policy/api/v1/infra/tier-0s/<tier-0-id>
GET /policy/api/v1/infra/tier-1s/<tier-1-id>
Refer disable_firewall property in the result.
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
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:
Feature:
firewall_general Description:
Fetches firewall status for a given target resource in supported
dfw context types e.g. 'A specific logical router'