Management Plane API > Networking > Services > Policy Based Routing

List All PBR Sections

List all PBR section in paginated form. A default page size is limited
to 1000 PBR sections.

Request:

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

Example Request:

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

Successful Response:

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

Example Response:

{ "cursor": "003616a93c39-5822-469e-b0be-70728153642ePBRSection", "sort_by": "position", "result_count": 2, "results": [ { "resource_type": "PBRSection", "description": "Distributed access to cloud services VPC vpc-5b4cf63d", "id": "65a60890-6f48-418d-a7d5-5aaf65fc4e5b", "display_name": "DS-PBR-vpc-5b4cf63d", "rule_count": 0, "_last_modified_user": "system", "_system_owned": true, "_last_modified_time": 1445894033107, "_create_user": "system", "_create_time": 1445894033107, "_revision": 0 }, { "resource_type": "PBRSection", "id": "16a93c39-5822-469e-b0be-70728153642e", "display_name": "DS-PBR-vpc-c003b7a6", "rule_count": 1, "_last_modified_user": "system", "_system_owned": true, "_last_modified_time": 1445888985075, "_create_user": "system", "_create_time": 1445888985075, "_revision": 0 } ] }

Required Permissions:

read

Feature:

pbr

Additional Errors: