Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Prefix List

Read a prefix list

Read a prefix list

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/prefix-lists/<prefix-list-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc/prefix-lists/to-onprem

Successful Response:

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

Example Response:

{ "resource_type": "PrefixList", "id": "to-onprem", "display_name": "/infra/tier-0s/vmc/prefix-lists/to-onprem", "path": "/infra/tier-0s/vmc/prefix-lists/to-onprem", "parent_path": "/infra/tier-0s/vmc", "relative_path": "to-onprem", "marked_for_delete": false, "prefixes": [ { "action": "PERMIT", "network": "30.1.1.0/24" }, { "action": "DENY", "network": "10.1.1.0/24" } ], "_create_user": "admin", "_create_time": 1525754971782, "_last_modified_user": "admin", "_last_modified_time": 1525755003657, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 1 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: