NSX-T Data Center REST API
Update dfw firewall configuration
Update dfw firewall related configurations.Turning off distributed services ("enable_firewall": false) will turn off Distributed Firewall, Identity Firewall,
Distributed Intrusion Detection and Prevention Service, Distributed Load Balancer.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX.
Request:
Method:
PUT
URI Path(s):
/policy/api/v1/infra/settings/firewall/security
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/security
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/settings/firewall/security
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
DfwFirewallConfiguration+
Example Request:
{ "idfw_enabled": true, "resource_type": "DfwFirewallConfiguration", "_revision": 1 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
DfwFirewallConfiguration+