firewalls_rules
Overview
Name | firewalls_rules |
Type | Resource |
Id | linode.networking.firewalls_rules |
Fields
Name | Datatype | Description |
---|---|---|
inbound | array | The inbound rules for the firewall, as a JSON array. |
inbound_policy | string | The default behavior for inbound traffic. This setting can be overridden by updating the inbound.action property of the Firewall Rule. |
outbound | array | The outbound rules for the firewall, as a JSON array. |
outbound_policy | string | The default behavior for outbound traffic. This setting can be overridden by updating the outbound.action property of the Firewall Rule. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
getFirewallRules | SELECT | firewallId | Returns the inbound and outbound Rules for a Firewall. |
_getFirewallRules | EXEC | firewallId | Returns the inbound and outbound Rules for a Firewall. |
updateFirewallRules | EXEC | firewallId | Updates the inbound and outbound Rules for a Firewall. Note: This command replaces all of a Firewall's inbound and/or outbound rulesets with the values specified in your request. |