Querying a Network ACL Policy
Function
This API is used to query details about a specific network ACL policy.
Request Message
None
Response Message
|
Parameter |
Type |
Description |
|---|---|---|
|
firewall_policy |
Object |
Specifies the firewall policy list. For details, see Table 3. |
|
Attribute |
Type |
Description |
|---|---|---|
|
id |
String |
Specifies the UUID of the network ACL policy. |
|
name |
String |
Specifies the name of the network ACL policy. |
|
description |
String |
Provides supplementary information about the network ACL policy. |
|
tenant_id |
String |
Specifies the project ID. |
|
firewall_rules |
Array of strings |
Specifies the firewall rules referenced by the network ACL policy. |
|
audited |
Boolean |
Specifies the audit flag. |
|
public |
Boolean |
Specifies whether the firewall policy can be shared by different tenants. |
|
project_id |
String |
Specifies the project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
Example:
Example request
GET https://{Endpoint}/v2.0/fwaas/firewall_policies/fed2d88f-d0e7-4cc5-bd7e-c495f67037b6
Example response
{
"firewall_policy": {
"description": "",
"firewall_rules": [
"3c0e6267-73df-4d9a-87a6-e226f2db2036"
],
"tenant_id": "23c8a121505047b6869edf39f3062712",
"public": false,
"id": "fed2d88f-d0e7-4cc5-bd7e-c495f67037b6",
"audited": false,
"name": "bobby_fwp1",
"project_id": "23c8a121505047b6869edf39f3062712"
}
}
Status Code
See Status Codes.
Error Code
See Error Codes.
Last Article: Querying Network ACL Policies
Next Article: Creating a Network ACL Policy
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.