NSX-T Data Center REST API

Associated URIs:

API Description API Path

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
Additional Links