Firewall Rule

Create a new firewall rule

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

Request

  • Base URL
    https://api.ubicloud.com
  • URL
    https://api.ubicloud.com/project/{project_id}/location/{location}/firewall/{firewall_reference}/firewall-rule
  • Auth
    HTTP bearer

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"
}

Changes

    • info

      added the new optional request property

    • info

      added the required property //// to the response with the status

    • info

      added the required property // to the response with the status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • info

      added subschema #2 to the response body anyOf list for the response status