NSX-T Data Center REST API
Update the Advertisement Configuration on a Logical Router (Deprecated)
Modifies the route advertisement configuration on the specified logical router.Deprecated:
Please use below Policy APIs.
PUT /policy/api/v1/infra/tier-1s/<tier-1-id>
Request:
Method:
PUT
URI Path(s):
/api/v1/logical-routers/{logical-router-id}/routing/advertisement
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AdvertisementConfig+
Example Request:
{ "resource_type": "AdvertisementConfig", "description": "", "id": "77c6a05e-5602-46bc-a511-62da18fa0afe", "display_name": "77c6a05e-5602-46bc-a511-62da18fa0afe", "tags": [], "advertise_nsx_connected_routes": true, "advertise_static_routes": false, "advertise_nat_routes": true, "advertise_lb_vip": true, "advertise_lb_snat_ip": false, "enabled": true, "_revision": 2 }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
AdvertisementConfig+