NSX-T Data Center REST API

Associated URIs:

API Description API Path

Get Geo IP Blocked Events


Get Geo IP Blocked Events. The system will return the latest 25k events stored.
User can use optional request parameters like source_country_code or source_ip_address to filter the response.
GET /policy/api/v1/infra/geo-ip/blocked-events
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/geo-ip/blocked-events

Get Current Geo IP Bundle Information


Get current Geo IP Bundle information that is downloaded in the system.
GET /policy/api/v1/infra/geo-ip/bundle

Download Latest Geo IP Bundle


Using this API, with request parameter
download_now - User can request on demand to download latest Geo IP bundle to be used on the edge nodes.
This will try to get latest bundle regardless auto_download is ON or OFF.
If new bundle available, it will download the latest bundle.
If no new bundle, it will indicate in message.
check_latest - User can check the latest Geo IP bundle available.
POST /policy/api/v1/infra/geo-ip/bundle

Get Geo IP Look Up


Gets Country Code for the IP Address provided.
GET /policy/api/v1/infra/geo-ip/look-up
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/geo-ip/look-up

Get Geo IP Setting Configuration


API to retrieve the current Geo IP Setting Configuration.
GET /policy/api/v1/infra/geo-ip/setting

Patch Geo IP Setting Configuration


This API can be used to activate or deactivate auto-download of Geo IP Bundle.
Once auto-download is activated, Geo IP Bundle will
be downloaded at regular intervals of 720 minutes (12 hrs).
PATCH /policy/api/v1/infra/geo-ip/setting

Update Geo IP Setting Configuration


This API can be used to activate or deactivate auto-download of Geo IP Bundle.
Once auto-download is activated, Geo IP Bundle will
be downloaded at regular intervals of 720 minutes (12 hrs).
PUT /policy/api/v1/infra/geo-ip/setting