Firewall Rule
Create a new firewall rule
POST
/
project
/
{project_id}
/
location
/
{location}
/
firewall
/
id
/
{firewall_name}
/
firewall-rule
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
firewall_name
string
requiredName of the firewall
location
string
requiredThe Ubicloud location/region
project_id
string
requiredID of the project
Body
application/json
cidr
string
requiredCIDR of the firewall rule
firewall_id
string
port_range
string
Port range of the firewall rule
project_id
string
Response
200 - application/json
cidr
string
requiredCIDR of the firewall rule
id
string
requiredID of the firewall rule
port_range
string
requiredPort range of the firewall rule