NSX-T Data Center REST API
Paginated List of Static Routes (Deprecated)
Returns information about configured static routes, including thenetwork address and next hops for each static route.
Deprecated:
Please use below Policy APIs.
GET /policy/api/v1/infra/tier-0s/<tier-0-id>/static-routes
GET /policy/api/v1/infra/tier-1s/<tier-1-id>/static-routes
Request:
Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/static-routes
Request Headers:
n/a
Query Parameters:
ListRequestParameters+
Request Body:
n/a
Example Request:
GET https://<nsx-mgr>/api/v1/logical-routers/7a62a0c5-1ea1-4b25-9d43-dce1c0fa4b8c/routing/static-routesSuccessful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
StaticRouteListResult+