NSX-T Data Center REST API
Create or update Firewall Session Timer Profile
API will create/update Firewall Session Timer Profile This API is available when using VMware NSX or VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers).Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/firewall-session-timer-profiles/{firewall-session-timer-profile-id}
/policy/api/v1/global-infra/firewall-session-timer-profiles/{firewall-session-timer-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/firewall-session-timer-profiles/{firewall-session-timer-profile-id}
/policy/api/v1/global-infra/firewall-session-timer-profiles/{firewall-session-timer-profile-id}
/policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/firewall-session-timer-profiles/{firewall-session-timer-profile-id}
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
PolicyFirewallSessionTimerProfile+
Example Request:
PATCH https://<nsx-mgr>/policy/api/v1/infra/firewall-session-timer-profiles/profile-1 { "resource_type": "PolicyFirewallSessionTimerProfile", "description": "", "display_name": "profile-1", "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 }Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a