• Virtual Private Cloud

vpc
  1. Help Center
  2. Virtual Private Cloud
  3. API Reference
  4. OpenStack Neutron APIs
  5. Firewall
  6. Querying a Firewall Group

Querying a Firewall Group

Function

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

URI

GET /v2.0/fwaas/firewall_groups/{firewall_group_id}
Table 1 Parameter description

Name

Mandatory

Type

Description

firewall_group_id

Yes

String

Specifies the firewall group ID, which uniquely identifies the firewall group. The fire_group_id value is used as the filter.

Request Message

None

Response Message

Table 2 Response parameter

Parameter

Type

Description

firewall_group

Dict

Specifies the firewall group list. For details, see Table 3.

Example:

Example request

GET /v2.0/fwaas/firewall_groups/a504a4cf-9300-40e0-b2d4-649bd157c55a

Example response

{
    "firewall_group": {
        "status": "ACTIVE", 
        "public": false, 
        "egress_firewall_policy_id": null, 
        "name": "bobby_fwg1", 
        "admin_state_up": true, 
        "ports": [
            "16e6d779-15e9-48fb-abc5-b86457792a15"
        ], 
        "tenant_id": "23c8a121505047b6869edf39f3062712", 
        "id": "a504a4cf-9300-40e0-b2d4-649bd157c55a", 
        "ingress_firewall_policy_id": "fed2d88f-d0e7-4cc5-bd7e-c495f67037b6", 
        "description": "test",
        "project_id": "23c8a121505047b6869edf39f3062712"
    }
}

Status Codes

For details, see section Status Codes.