• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. Firewall as a Service
  6. Show firewall rule

Show firewall rule

Function Description

This interface is used to query details about a specific firewall rule.

Interface Format

Method

URI

Description

GET

/v2.0/fwaas/firewall_rules/{firewall_rule_id}

Queries details about a firewall rule specified by the tenant submitting the request.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

firewall_rule

Dict

Yes

Specifies the firewall rule. For details, see Table 1.

Request Example

GET /v2.0/fwaas/firewall_rules/fb0d63e9-1d6d-4c5b-95ad-61b3de96bcff

Response Example

{
"firewall_rule": {
"protocol": null,
"description": "",
"source_ip_address": null,
"destination_ip_address": null,
"source_port": null,
"destination_port": null,
"id": "fb0d63e9-1d6d-4c5b-95ad-61b3de96bcff",
"name": "lll-rule",
"tenant_id": "833c15245f534555b921e3c1e7e9f347",
"enabled": true,
"action": "deny",
"ip_version": 6,
"public": false
}
}

Error Code

See section Return Code Processing.