Management Plane API > Networking > Logical Routing And Services > Routing Configuration

Read the Advertisement Configuration on a Logical Router

Returns information about the routes to be advertised by the specified
TIER1 logical router.

Request:

Method:
GET
URI Path(s):
/api/v1/logical-routers/<logical-router-id>/routing/advertisement
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<nsx-mgr>/api/v1/logical-routers/f61f2197-0ccd-4c2d-972e-22fadab4e33a/routing/advertisement

Successful Response:

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

Example Response:

{ "_revision": 1, "id": "f61f2197-0ccd-4c2d-972e-22fadab4efff", "resource_type": "AdvertisementConfig", "enabled": true, "advertise_route_static": false, "advertise_route_connected": false, "advertise_route_nat": false }

Required Permissions:

read

Feature:

routing_routers

Additional Errors: