Policy > Security > Security Profiles > Session Timer Profile Binding

Create or update Session Timer Profile Binding Map for Tier-0 Logical Router

API will create or update Session Timer profile binding map for Tier-0 Logical Router.

Request:

Method:
PUT
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier0-id>/session-timer-profile-bindings/<session-timer-profile-binding-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
SessionTimerProfileBindingMap+

Example Request:

PUT https://<nsx-mgr>/policy/api/v1/infra/tier-0s/my-t0/session-timer-profile-bindings/default { "resource_type":"SessionTimerProfileBindingMap", "profile_path": "/infra/firewall-session-timer-profiles/1" }

Successful Response:

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

Example Response:

{ "resource_type": "SessionTimerProfileBindingMap", "description": "", "id": "default", "display_name": "default", "path": "/infra/tier-0s/my-t0/session-timer-profile-bindings/default", "relative_path": "default", "profile_path": "/infra/firewall-session-timer-profiles/1" "_create_user": "admin", "_create_time": 1516657975538, "_last_modified_user": "admin", "_last_modified_time": 1517353711231, "_system_owned": false, "_revision": 1 }

Required Permissions:

crud

Feature:

policy_edge_fw

Additional Errors: