Class: MintPress::Console::Instances
- Inherits:
-
Object
- Object
- MintPress::Console::Instances
- Includes:
- MintLogger
- Defined in:
- src/mintpress-console/lib/mintpress-console/instances.rb
Properties (Read/Write)
Properties (Read Only)
Constant Summary collapse
- INTERNAL_INSTANCE_STATES =
[ 'preparing', 'ready' ]
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
Instance Method Summary collapse
- #exists?(uuid) ⇒ Boolean
- #get(uuid) ⇒ Object
- #get_instance(provider:, environment:, item:) ⇒ Object
- #get_instance_details(uuid) ⇒ Object
- #get_properties(uuid:) ⇒ Object
-
#initialize(client) ⇒ Instances
constructor
A new instance of Instances.
- #launch(provider:, environment:, item:, description: '', properties: { "properties" => {}}, action: "provision", wait: false, retry_limit: 12, retry_sleep: 10, max_wait_time: 18800) ⇒ Object
- #launch_exists?(*args, **kwargs) ⇒ Boolean
- #list(verbose: true, fetch_consoles: false) ⇒ Object
- #list_by_environment(environment, verbose: true) ⇒ Object
- #pretty_print(instances = nil) ⇒ Object
- #refresh ⇒ Object
- #set_properties(uuid:, properties:) ⇒ Object
- #trigger_action(uuid:, action:, wait: false, max_wait_time: 18800, ignore_initial_state: false) ⇒ Object
- #wait_for_completion(uuid:, action:, max_wait_time: 18800) ⇒ Object
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Constructor Details
#initialize(client) ⇒ Instances
Returns a new instance of Instances.
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.