Policy > Security > Security Profiles > Flood Protection Profiles

Update Firewall Flood Protection Profile

API will update Firewall Flood Protection Profile

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/flood-protection-profiles/<flood-protection-profile-id>
/policy/api/v1/global-infra/flood-protection-profiles/<flood-protection-profile-id>
Request Headers:
n/a
Query Parameters:
OverrideRequestParameters+
Request Body:
DistributedFloodProtectionProfile+
GatewayFloodProtectionProfile+

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/flood-protection-profiles/profile-1 { "resource_type": "FloodProtectionProfile", "description": "", "display_name": "profile-1", "udp_active_flow_limit": 100, "icmp_active_flow_limit": 30, "tcp_half_open_conn_limit": 200, "other_active_conn_limit": 50 }

Successful Response:

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

Example Response:

{ "resource_type": "FloodProtectionProfile", "description": "profile-1", "id": "profile-1", "display_name": "profile-1", "path": "/infra/flood-protection-profiles/profile-1", "relative_path": "profile-1", "udp_active_flow_limit": 100, "icmp_active_flow_limit": 30, "tcp_half_open_conn_limit": 200, "other_active_conn_limit": 50, "_create_user": "admin", "_create_time": 1516657975538, "_last_modified_user": "admin", "_last_modified_time": 1517353711231, "_system_owned": false, "_revision": 1 }

Required Permissions:

crud

Feature:

policy_security_profiles

Additional Errors: