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

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

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