NSX-T Data Center REST API

Associated URIs:

API Description API Path

List of Bridge Firewall Policies


Paginated list of all bridge firewall policies.
GET /policy/api/v1/infra/domains/{domain-id}/bridge-policies

Delete Bridge Firewall Policy


Delete Bridge Firewall Policy.
DELETE /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}

Get Bridge Firewall Policy


Get Bridge Firewall Policy.
GET /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}

Create or update Bridge Firewall Policy


Patch the Bridge Firewall Policy.
If a Bridge Firewall Policy with the policy-id is not already present,
create a new Bridge Firewall Policy. If it already exists,
update the Bridge Firewall Policy.
PATCH /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}

Revise the positioning of bridge firewall policy


This is used to set a precedence of a bridge firewall policy w.r.t others.
POST /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}

Update the Bridge Firewall Policy


Update the Bridge Firewall Policy. This is a full replace.
Create new BridgeFirewallPolicy if a policy with the policy-id is not already present.
PUT /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}

List Bridge Firewall Rules


Paginated list of all Bridge Firewall Rules.
GET /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules

Delete Bridge Firewall Rule


Delete Bridge Firewall Rule.
DELETE /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}

Read Bridge Firewall Rule


Read Bridge Firewall Rule.
GET /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}

Create or update Bridge Firewall Rule


Patch the Bridge Firewall Rule. If a Rule for the given
Rule-id is not present, the object will get created and if
it is present it will be updated.
Performance Note: If you want to edit several rules in a bridge firewall policy,
prefer below mentioned API for optimal performance.
Pass all the rules which you wish to edit as embedded rules to it.
Use this API - PATCH (or PUT)
/infra/domains/<domain-id>/bridge-policies/<bridge-firewall-policy-id>
PATCH /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}

Revise the positioning of bridge firewall rule


This is used to re-order a bridge firewall rule within a bridge firewall policy.
POST /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}

Update Bridge Firewall Rule


Update the Bridge Firewall Rule. This is a full replace.
All the rules are replaced.
Create new BridgeFirewallRule if a rule with the rule-id is not already present.
Performance Note: If you wish to edit several rules in a bridge firewall policy,
prefer below mentioned API for optimal performance.
Pass all the rules which you wish to edit as embedded rules to it.
Use this API - PATCH (or PUT)
/infra/domains/<domain-id>/bridge-policies/<bridge-firewall-policy-id>
PUT /policy/api/v1/infra/domains/{domain-id}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}

Get bridge firewall rule statistics


Get statistics of a bridge firewall 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}/bridge-policies/{bridge-firewall-policy-id}/rules/{rule-id}/statistics

Get bridge firewall policy statistics


Get statistics of a bridge firewall 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}/bridge-policies/{bridge-firewall-policy-id}/statistics