NSX-T Data Center REST API

Read the Advertisement Configuration on a Logical Router (Deprecated)

Returns information about the routes to be advertised by the specified
TIER1 logical router.
Deprecated:
Please use below Policy APIs.
GET /policy/api/v1/infra/tier-1s/<tier-1-id>

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

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: