Querying Network ACLs
Function
This API is used to query network ACLs.
URI
GET /v3/{project_id}/vpc/firewalls
Parameter | Mandatory | Type | Description |
---|---|---|---|
project_id | Yes | String | Project ID. For details about how to obtain a project ID, see Obtaining a Project ID. |
Parameter | Mandatory | Type | Description |
---|---|---|---|
limit | No | Integer |
|
marker | No | String | Start resource ID of pagination query. If the parameter is left blank, only resources on the first page are queried. |
id | No | Array of strings |
|
name | No | Array of strings |
|
status | No | String |
|
admin_state_up | No | Boolean |
|
enterprise_project_id | No | Array of strings |
|
Request Parameters
None
Response Parameters
Status code: 200
Parameter | Type | Description |
---|---|---|
firewalls | Array of ListFirewallDetail objects | Response body for querying network ACLs. |
page_info | PageInfo object | Pagination information. |
request_id | String | Request ID. |
Parameter | Type | Description |
---|---|---|
id | String |
|
name | String |
|
description | String |
|
project_id | String |
|
created_at | String |
|
updated_at | String |
|
admin_state_up | Boolean |
|
status | String |
|
enterprise_project_id | String |
|
tags | Array of ResourceTag objects |
|
associations | Array of FirewallAssociation objects |
|
Parameter | Type | Description |
---|---|---|
key | String |
Minimum: 1 Maximum: 128 |
value | String |
Maximum: 255 |
Parameter | Type | Description |
---|---|---|
virsubnet_id | String |
|
Parameter | Type | Description |
---|---|---|
previous_marker | String | First record on the current page. |
current_count | Integer | Total number of records on the current page. |
next_marker | String | Last record on the current page. This parameter does not exist if the page is the last one. |
Example Requests
Querying network ACLs.
GET https://{Endpoint}/v3/{project_id}/vpc/firewalls
Example Responses
Status code: 200
Normal response to the GET operation. For more status codes, see Status Codes.
- {"firewalls" : [ {"id" : "e9a7731d-5bd9-4250-a524-b9a076fd5629","name" : "network_acl_test1","description" : "network_acl_test1","project_id" : "9476ea5a8a9849c38358e43c0c3a9e12","created_at" : "2022-04-07T07:30:46.000+00:00","updated_at" : "2022-04-07T07:30:46.000+00:00","admin_state_up" : true,"enterprise_project_id" : "158ad39a-dab7-45a3-9b5a-2836b3cf93f9","status" : "ACTIVE","tags" : [ ],"associations" : [ {"virsubnet_id" : "8359e5b0-353f-4ef3-a071-98e67a34a143"} ]} ]}
Status Codes
Status Code | Description |
---|---|
200 | Normal response to the GET operation. For more status codes, see Status Codes. |
Error Codes
See Error Codes.
- URI