Management Plane API > Security > Services > Firewall

Update a firewall profile.

Update user configurable properties of firewall profile.

Request:

Method:
PUT
URI Path(s):
/api/v1/firewall/profiles/<profile-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
FirewallCpuMemThresholdsProfile+
FirewallDnsProfile+
FirewallFloodProtectionProfile+
FirewallSessionTimerProfile+

Example Request:

PUT https://<nsx-mgr>/api/v1/firewall/profiles { "resource_type": "FirewallSessionTimerProfile", "id": "7e5d3a8c-8aa8-4df6-9a0f-b0456575b233", "display_name": "Firewall SessionTimer Profile 01", "tcp_first_packet": 120, "tcp_opening": 30, "tcp_established": 43200, "tcp_closing": 900, "tcp_finwait": 20, "tcp_closed": 10, "udp_first_packet": 60, "udp_single": 30, "udp_multiple": 60, "icmp_first_packet": 20, "icmp_error_reply": 10, "_revision": 0 }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
FirewallCpuMemThresholdsProfile+
FirewallDnsProfile+
FirewallFloodProtectionProfile+
FirewallSessionTimerProfile+

Example Response:

{ "resource_type": "FirewallSessionTimerProfile", "id": "7e5d3a8c-8aa8-4df6-9a0f-b0456575b233", "display_name": "Firewall SessionTimer Profile 01", "tcp_first_packet": 120, "tcp_opening": 30, "tcp_established": 43200, "tcp_closing": 900, "tcp_finwait": 20, "tcp_closed": 10, "udp_first_packet": 60, "udp_single": 30, "udp_multiple": 60, "icmp_first_packet": 20, "icmp_error_reply": 10, "_last_modified_user": "admin", "_last_modified_time": 1463555187453, "_revision": 1 }

Required Permissions:

crud

Feature:

firewall_general

Additional Errors: