Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Static Routes

Read Tier-0 static routes

Read Tier-0 static routes

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes/<route-id>
/policy/api/v1/global-infra/tier-0s/<tier-0-id>/static-routes/<route-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_prv/static-routes/site1

Successful Response:

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

Example Response:

{ "resource_type": "StaticRoutes", "id": "site1", "display_name": "/infra/tier-0s/vmc_prv/static-routes/site1", "path": "/infra/tier-0s/vmc_prv/static-routes/site1", "parent_path": "/infra/tier-0s/vmc_prv", "relative_path": "site1", "next_hops": [ { "ip_address": "41.1.1.1", "admin_distance": 1 }, { "ip_address": "42.1.1.1", "admin_distance": 2 }, { "ip_address": "43.1.2.3", "admin_distance": 3 } ], "network": "45.1.1.0/24", "_create_user": "admin", "_create_time": 1516750267338, "_last_modified_user": "admin", "_last_modified_time": 1516750267338, "_system_owned": false, "_protection": "NOT_PROTECTED", "_revision": 0 }

Required Permissions:

read

Feature:

policy_t0

Additional Errors: