Management Plane API > Security > Services > Service Insertion

List All Service Insertion Sections

List all Service Insertion section in paginated form. A default page size is limited
to 1000 sections. By default, the list of section is filtered by L3REDIRECT
type.

Request:

Method:
GET
URI Path(s):
/api/v1/serviceinsertion/sections
Request Headers:
n/a
Query Parameters:
ServiceInsertionSectionFilterParameters+
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/serviceinsertion/sections

Successful Response:

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

Example Response:

{ "cursor": "003616a93c39-5822-469e-b0be-70728153642eServiceInsertionSection", "sort_by": "position", "result_count": 2, "results": [ { "resource_type": "ServiceInsertionSection", "description": "protects app VMs", "id": "65a60890-6f48-418d-a7d5-5aaf65fc4e5b", "display_name": "app-serviceinsertion", "section_type": "L3REDIRECT", "applied_tos": [ { "target_display_name": "Tier0-LR-1", "is_valid": true, "target_type": "LogicalRouter", "target_id": "1d9fb5cb-0344-4d7f-899a-afd93276899f" } ], "is_default": false, "stateful": false, "rule_count": 0, "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1445894033107, "_create_user": "admin", "_create_time": 1445894033107, "_revision": 0 }, { "resource_type": "ServiceInsertionSection", "id": "16a93c39-5822-469e-b0be-70728153642e", "display_name": "User Created L3 Redirect Section", "applied_tos": [ { "target_display_name": "Tier0-LR-1", "is_valid": true, "target_type": "LogicalRouter", "target_id": "1d9fb5cb-0344-4d7f-899a-afd93276899f" } ], "section_type": "L3REDIRECT", "is_default": true, "stateful": false, "rule_count": 1, "_last_modified_user": "admin", "_system_owned": false, "_last_modified_time": 1445888985075, "_create_user": "admin", "_create_time": 1445888985075, "_revision": 0 } ] }

Required Permissions:

read

Feature:

service_insertion

Additional Errors: