NSX-T Data Center REST API

Associated URIs:

API Description API Path

Get gateway rule statistics


Get statistics of a gateway rule.
- no enforcement point path specified: Stats will be evaluated on each enforcement.
point.
- {enforcement_point_path}: Stats are evaluated only on the given enforcement point.
GET /policy/api/v1/infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/rules/{rule-id}/statistics
GET /policy/api/v1/global-infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/rules/{rule-id}/statistics
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/rules/{rule-id}/statistics

Get gateway policy statistics


Get statistics of a gateay policy.
- no enforcement point path specified: Stats will be evaluated on each enforcement.
point.
- {enforcement_point_path}: Stats are evaluated only on the given enforcement point.
GET /policy/api/v1/infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/statistics
GET /policy/api/v1/global-infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/statistics
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/domains/{domain-id}/gateway-policies/{gateway-policy-id}/statistics

List Gateway DNS Resolver status across gateways


Bulk API to retrieve DNS resolver status for multiple Tier-0 gateways in a single call,
computed live from edge reachability data. Optionally scoped to a specific set of gateway
paths and/or filtered by overall status. Avoids requiring one status call per gateway.
POST /policy/api/v1/infra/firewall/dns-resolver-statuses

Read security configuration for Segment


Read security configuration for Segment.
GET /policy/api/v1/infra/segments/{segment-id}/security-config

Get the list of gateway firewall dependent services


Get the list of gateway firewall dependent services
GET /policy/api/v1/infra/settings/firewall/gateway/dependent-services

Get DNS-resolved IP addresses for an FQDN on a Tier-0 gateway


Current resolved IPs and resolution status for the FQDN.
Query parameter fqdn is required. The FQDN must be present in at least one
gateway firewall rule scoped to the specified Tier-0; otherwise 400 is returned.
GET /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolved-ips

Delete Tier-0 Gateway DNS Resolver Configuration


API to delete Tier-0 Gateway DNS Resolver Configuration.
DELETE /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolver-config

Get Tier-0 Gateway DNS Resolver Configuration


Get the DNS Resolver Configuration for a Tier-0 gateway.
GET /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolver-config

Create or Update Tier-0 Gateway DNS Resolver Configuration


API to create or update Tier-0 Gateway DNS Resolver Configuration.
PATCH /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolver-config

Create or Update Tier-0 Gateway DNS Resolver Configuration


API to create or update Tier-0 Gateway DNS Resolver Configuration.
PUT /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolver-config

Get Tier-0 gateway DNS resolver status


Per-resolver status for gateway-firewall FQDN resolution: consolidated value
across Edge nodes and per-node status.
GET /policy/api/v1/infra/tier-0s/{tier-0-id}/firewall/dns-resolver-status

Delete security config


API has been deprecated as the delete of Tier0SecurityConfig
is linked with the deletion of T0. To remove a particular feature
from T0SecurityConfig please use PUT/PATCH.
DELETE /policy/api/v1/infra/tier-0s/{tier-0-id}/security-config (Deprecated)

Read Security Feature


Read Security Feature.
GET /policy/api/v1/infra/tier-0s/{tier-0-id}/security-config
GET /policy/api/v1/global-infra/tier-0s/{tier-0-id}/security-config

Create or Update security configuration


Create a T0 security configuration if it is not already present,
otherwise update the security configuration.
PATCH /policy/api/v1/infra/tier-0s/{tier-0-id}/security-config

Create or Update security configuration


Create or update security configuration.
PUT /policy/api/v1/infra/tier-0s/{tier-0-id}/security-config

Read Security Feature


Read Security Feature.
GET /policy/api/v1/infra/tier-1s/{tier-1-id}/security-config
GET /policy/api/v1/global-infra/tier-1s/{tier-1-id}/security-config
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/security-config

Create or Update security configuration


Create a security configuration if it is not already present,
otherwise update the security configuration.
PATCH /policy/api/v1/infra/tier-1s/{tier-1-id}/security-config
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/security-config

Create or Update security configuration


Create or update security configuration.
PUT /policy/api/v1/infra/tier-1s/{tier-1-id}/security-config
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/infra/tier-1s/{tier-1-id}/security-config

Read security configuration for Segment


Read security configuration for Segment.
GET /policy/api/v1/infra/tier-1s/{tier-1-id}/segments/{segment-id}/security-config

Read Transit Gateway Security Feature


Read Transit Gateway Security Feature.
GET /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/security-config

Update transit gateway security features configuration.


Security config is automatically created for each transit gateway. Security features can be enabled/disabled per TGW.
PATCH /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/security-config

Update transit gateway security features configuration.


Security config is automatically created for each transit gateway. Security features can be enabled/disabled per TGW.
PUT /policy/api/v1/orgs/{org-id}/projects/{project-id}/transit-gateways/{transit-gateway-id}/security-config