abstract class CB::NetworkAction
- CB::NetworkAction
- CB::APIAction
- CB::Action
- Reference
- Object
Overview
API action for network management.
All network management actions must inherit this action.
Direct Known Subclasses
Defined in:
cb/network.crInstance Method Summary
-
#format : Format
The output format.
-
#format=(format : Format)
The output format.
-
#format=(str : String)
The output format.
-
#networks : Array(CB::Model::Network)
Result of API calls.
-
#networks=(networks : Array(CB::Model::Network))
Result of API calls.
-
#no_header : Bool
Flag to indicate whether the output should include a header.
-
#no_header=(no_header : Bool)
Flag to indicate whether the output should include a header.
- #run(&)
- #validate
Instance methods inherited from class CB::APIAction
client : Client
client,
client=(client : Client)
client=,
run
run
Constructor methods inherited from class CB::APIAction
new(client : CB::Client, input = STDIN, output = STDOUT)
new
Instance methods inherited from class CB::Action
call
call,
input : IO
input,
input=(input : IO)
input=,
output : IO
output,
output=(output : IO)
output=
Constructor methods inherited from class CB::Action
new(input : IO = STDIN, output : IO = STDOUT)
new
Instance Method Detail
def no_header : Bool
#
Flag to indicate whether the output should include a header. This only
has an effect when the output format is table
.
def 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 table
.