curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule/{firewall_rule_id} \
--header 'Authorization: Bearer <token>'
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>"
}
curl --request GET \
--url https://api.ubicloud.com/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule/{firewall_rule_id} \
--header 'Authorization: Bearer <token>'
{
"cidr": "<string>",
"id": "fraz0q3vbrpa7pkg7zbmah9csn",
"port_range": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The Ubicloud location/region
"eu-central-h1"
ID of the project
"pjkkmx0f2vke4h36nk9cm8v8q0"
Firewall ID or name
ID of the firewall rule
"fraz0q3vbrpa7pkg7zbmah9csn"
A Firewall Rule
The response is of type object
.