
# 查询特定网络ACL规则
#### 功能介绍
查询特定网络ACL规则详情。
#### 调试
您可以在[API Explorer](https://apiexplorer.developer.huaweicloud.com/apiexplorer/doc?product=VPC&version=v2&api=NeutronShowFirewallRule)中调试该接口。
#### URI
GET /v2.0/fwaas/firewall_rules/{firewall_rule_id}
参数说明请参见[表1]。
 表1参数说明 
| 名称               | 是否必选 | 参数类型   | 说明                               |
|:---|:---|:---|:---|
| firewall_rule_id | 是    | String | 网络ACL规则唯一标识，按照firewall_rule_id查询 |
   
#### 请求参数
无。
#### 请求示例
```
GET https://{Endpoint}/v2.0/fwaas/firewall_rules/514e6776-162a-4b5d-ab8b-aa36b86655ef
```
#### 响应参数
表2响应参数 
| 参数名称          | 类型                                                                                  | 说明                                                                                    |
|:---|:---|:---|
| firewall_rule | [firewall_rule] object | firewall rule对象，请参见[表3]。 |
   
 表3Firewall Rule对象 
| 参数名称                   | 类型      | 说明                                                                           |
|:---|:---|:---|
| id                     | String  | 网络ACL规则的uuid标识。                                                              |
| name                   | String  | 网络ACL规则名称。                                                                   |
| description            | String  | 网络ACL规则描述。                                                                   |
| tenant_id              | String  | 项目ID                                                                         |
| public                 | Boolean | 是否支持跨租户共享。                                                                   |
| protocol               | String  | IP协议。                                                                        |
| source_port            | String  | 源端口号或者一段端口范围。                                                                |
| destination_port       | String  | 目的端口号或者一段端口范围。                                                               |
| ip_version             | Integer | IP协议版本。                                                                      |
| source_ip_address      | String  | 源地址或者CIDR。                                                                   |
| destination_ip_address | String  | 目的地址或者CIDR。                                                                  |
| action                 | String  | 对通过网络ACL的流量执行的操作。                                                            |
| enabled                | Boolean | 是否使能网络ACL规则。                                                                 |
| project_id             | String  | 项目ID，请参见[获取项目ID](https://support.huaweicloud.com/api-vpc/vpc_api_0011.html)。 |
   
#### 响应示例
```
{
    "firewall_rule": {
        "protocol": "tcp",
        "description": "update check parameter",
        "source_ip_address": "116.66.184.0/24", 
        "destination_ip_address": "0.0.0.0/0", 
        "destination_port": null, 
        "source_port": null, 
        "id": "514e6776-162a-4b5d-ab8b-aa36b86655ef", 
        "name": "test", 
        "tenant_id": "a1c6f90c94334bd2953d9a61b8031a68", 
        "project_id": "a1c6f90c94334bd2953d9a61b8031a68",
        "enabled": true, 
        "action": "allow", 
        "ip_version": 4, 
        "public": false
    }
}
```
#### 状态码
请参见[状态码](https://support.huaweicloud.com/api-vpc/vpc_api_0002.html)。
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-vpc/vpc_api_0003.html)。
