List Firewall Rule Operations
GET
/vpc/firewall-rules/operationsRetrieves information about the status of asynchronous operations initiated by the firewall rule resource. All operations that are either in-flight or completed but not yet queried will be returned.
Request
Query Params
resource_id
string
optional
Resource id
Example:
452580d7-41d1-4b63-b4d7-4e4e21e95f96
state
string
optional
Operation status
Example:
IN_PROGRESS
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
items
array [object {6}]
required
operation_id
string
required
state
string
required
metadata
object
required
result
object
required
started_at
string
required
completed_at
string
required
Example
{
"items": [
{
"operation_id": "a8c24ef2-5b52-41b3-819c-f78f6c2fbff9",
"state": "SUCCEEDED",
"metadata": {
"operation_name": "CREATE",
"id": "48ff2db2-3882-496f-8497-3948bc57d1a9",
"request": {
"name": "mkinf-allow-tcp-udp",
"direction": "DIRECTION_INGRESS",
"action": "ACTION_ALLOW",
"sources": [
{
"cidr": "",
"resource_id": "75dbe735-17d6-4544-91f3-0f93c2c1c903"
}
],
"source_ports": [],
"destinations": [
{
"cidr": "",
"resource_id": "75dbe735-17d6-4544-91f3-0f93c2c1c903"
}
],
"destination_ports": [],
"protocols": [
"tcp",
"udp"
],
"vpc_network_id": ""
}
},
"result": {
"id": "48ff2db2-3882-496f-8497-3948bc57d1a9",
"name": "mkinf-allow-tcp-udp",
"direction": "ingress",
"action": "allow",
"vpc_network_id": "695b751c-2eaa-4e8b-8eb2-84cb367a69fe",
"state": "active",
"sources": [
{
"cidr": "",
"resource_id": "75dbe735-17d6-4544-91f3-0f93c2c1c903"
}
],
"source_ports": [],
"destinations": [
{
"cidr": "",
"resource_id": "75dbe735-17d6-4544-91f3-0f93c2c1c903"
}
],
"destination_ports": [],
"protocols": [
"tcp",
"udp"
]
},
"started_at": "2024-06-16T20:12:16Z",
"completed_at": "2024-06-16T20:12:16Z"
}
]
}
Modified at 2 months ago