Firewall Rule

Create a new firewall rule

post/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule

Request body

cidrstring required

CIDR or private subnet id or name to allow

firewall_idstring
port_rangestring

Port range to allow

protocolstring

Protocol to allow (tcp or udp, default tcp)

descriptionstring

Description to use for the firewall rule

project_idstring

Response

A Firewall Rule or array of them

OR

Example response

{
  "id": "fraz0q3vbrpa7pkg7zbmah9csn"
}