class

CB::FirewallRuleAction

Inherits CB::APIAction / CB::Action / Reference / Object

API Action for network firewall rules.

All network firewall rule actions must inherit this action.

Instance methods

display(firewall_rules : Array(Model::FirewallRule))
Source
format

The output format. The default format is table format.

format=(str : String)

The output format. The default format is table format.

Source
format=(format : Format)

The output format. The default format is table format.

network_id

The ID of the target network.

network_id=(str : String)

The ID of the target network.

Source
network_id=(network_id : String | Nil)

The ID of the target network.

no_header=(no_header : Bool)

Flag to indicate whether the output should include a header. This only has an effect when the output format is a table.

Source
no_header?

Flag to indicate whether the output should include a header. This only has an effect when the output format is a table.

Source
output_json(firewall_rules : Array(Model::FirewallRule))
Source
output_table(firewall_rules : Array(Model::FirewallRule))
Source
validate
Source