class CB::FirewallRuleAdd
Overview
Action for adding a firewall rule to a network.
Defined in:
cb/firewall_rule.crInstance Method Summary
-
#description : String | Nil
The description of the rule.
-
#description=(description : String | Nil)
The description of the rule.
-
#rule : String
The rule (required).
-
#rule=(rule : String)
The rule (required).
- #run
- #validate
Instance methods inherited from class CB::FirewallRuleAction
display(firewall_rules : Array(Model::FirewallRule))
display,
format : Format
format,
format=(str : String)format=(format : Format) format=, network_id : String | Nil network_id, network_id=(str : String)
network_id=(network_id : String | Nil) network_id=, no_header=(no_header : Bool) no_header=, no_header? : Bool no_header?, output_json(firewall_rules : Array(Model::FirewallRule)) output_json, output_table(firewall_rules : Array(Model::FirewallRule)) output_table, run run, validate validate