linode · Schema

Firewall

Properties

Name Type Description
id integer The unique ID of this firewall.
label string The label of this firewall.
status string The status of this firewall.
rules object The firewall rules.
tags array Tags for this firewall.
created string When this firewall was created.
updated string When this firewall was last updated.
View JSON Schema on GitHub

JSON Schema

linode-firewall-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Firewall",
  "title": "Firewall",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique ID of this firewall."
    },
    "label": {
      "type": "string",
      "description": "The label of this firewall."
    },
    "status": {
      "type": "string",
      "enum": [
        "enabled",
        "disabled",
        "deleted"
      ],
      "description": "The status of this firewall."
    },
    "rules": {
      "type": "object",
      "properties": {
        "inbound": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/FirewallRule"
          },
          "description": "Inbound firewall rules."
        },
        "inbound_policy": {
          "type": "string",
          "enum": [
            "ACCEPT",
            "DROP"
          ],
          "description": "The default inbound policy."
        },
        "outbound": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/FirewallRule"
          },
          "description": "Outbound firewall rules."
        },
        "outbound_policy": {
          "type": "string",
          "enum": [
            "ACCEPT",
            "DROP"
          ],
          "description": "The default outbound policy."
        }
      },
      "description": "The firewall rules."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags for this firewall."
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "When this firewall was created."
    },
    "updated": {
      "type": "string",
      "format": "date-time",
      "description": "When this firewall was last updated."
    }
  }
}