NSX-T Data Center REST API
Create a New Empty Section (Removed in 4.0)
Creates new empty Service Insertion section in the system.Deprecated: Note- POST service insertion section API is deprecated. Please use the policy redirection-policy API.
Request:
Method:
POST
URI Path(s):
/api/v1/serviceinsertion/sections
Request Headers:
n/a
Query Parameters:
ServiceInsertionInsertParameters+
Request Body:
ServiceInsertionSection+
Example Request:
{ "display_name": "web-switch", "section_type" : "L3REDIRECT", "stateful" : false "applied_tos": [ { "target_display_name": "Tier0-LR-1", "is_valid": true, "target_type": "LogicalRouter", "target_id": "1d9fb5cb-0344-4d7f-899a-afd93276899f" } ], }Successful Response:
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
ServiceInsertionSection+