Management Plane API > Security > Services > Firewall

Get firewall profiles available.

List all the firewall profiles available by requested resource_type.

Request:

Method:
GET
URI Path(s):
/api/v1/firewall/profiles
Request Headers:
n/a
Query Parameters:
FirewallProfileListParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/firewall/profiles

Successful Response:

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

Example Response:

{ "result_count": 2, "results": [ { "resource_type": "FirewallSessionTimerProfile", "id": "3f5d3a8c-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": 0 }, { "resource_type": "FirewallSessionTimerProfile", "id": "7e6d3a8c-8aa8-4df6-9a0f-b0456575b233", "display_name": "Firewall SessionTimer Profile 02", "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": 0 }, { "resource_type": "FirewallDNSProfile", "display_name": "Firewall DNS Profile 03", "dns_ttl_config": { "ttl": 86400, "ttl_type": "USE_TTL" } } ] }

Required Permissions:

read

Feature:

firewall_general

Additional Errors: