OptionalbodyOptional Readonlycreated?: stringFilterable, Read-only When this Firewall was created.
Optional Readonlyentities?: {Read-only The Linodes, NodeBalancers, and Linode interfaces this firewall is assigned to.
Optional Readonlyid?: numberFilterable, Read-only The Firewall's unique ID.
Filterable The Firewall's label, for display purposes only.
Firewall labels have the following constraints:
-), underscores (_) or periods (.).--), underscores (__) or periods (..) in a row.The inbound and outbound access rules to apply to the Firewall.
A Firewall may have up to 25 rules across its inbound and outbound rulesets.
Multiple rules are applied in order. If two rules conflict, the first rule takes precedence. For example, if the first rule accepts inbound traffic from an address, and the second rule drops inbound traffic the same address, the first rule applies and inbound traffic from that address is accepted.
Optional Readonlyfingerprint?: stringRead-only The fingerprint is a 32-bit hash. It represents the firewall rules as an 8 character hex string. You can use fingerprint to compare rule versions.
Optionalinbound?: {The inbound rules for the firewall, as a JSON array.
Optionalinbound_policy?: "ACCEPT" | "DROP"The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property of the Firewall Rule.
Optionaloutbound?: {The outbound rules for the firewall, as a JSON array.
Optionaloutbound_policy?: "ACCEPT" | "DROP"The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property of the Firewall Rule.
Optional Readonlyversion?: numberRead-only The firewall's rule version. The first version is 1. The version number is incremented when the firewall's rules change.
Optionalstatus?: "enabled" | "disabled" | "deleted"Read-only The status of this Firewall.
enabled.enabled or disabled.Optionaltags?: string[]Filterable An array of tags applied to this object. Tags are for organizational purposes only.
Optional Readonlyupdated?: stringFilterable, Read-only When this Firewall was last updated.
Optionaldevices?: { linode_interfaces?: number[]; linodes?: number[]; nodebalancers?: number[] }Devices to create for this firewall. When a device is created, the firewall is assigned to its associated service. Currently, devices can be created for Linodes using legacy configuration profiles, Linode interfaces, and NodeBalancers. Firewall devices can't be created for individual legacy configuration profile interfaces.
Additional devices can be assigned after Firewall creation by using the Create a firewall device operation.
Optionallinode_interfaces?: number[]An array of Linode interface IDs. A firewall device is created for each ID. For Linodes using Linode interfaces, firewalls need to be assigned to Linode interfaces and not the Linode.
Optionallinodes?: number[]An array of Linode IDs. A firewall device is created for each ID. These Linodes can't use Linode interfaces.
Optionalnodebalancers?: number[]An array containing a NodeBalancer ID. A Firewall device is created for the ID.
Filterable The Firewall's label, for display purposes only.
Firewall labels have the following constraints:
-), underscores (_) or periods (.).--), underscores (__) or periods (..) in a row.OptionalpathOptionalquery
Creates a firewall object that can be applied to a service to filter the service's network traffic.