Class: UU::OperationRegistry::RuntimeStack
- Inherits:
-
BaseMethods
- Object
- BaseMethods
- UU::OperationRegistry::RuntimeStack
- Defined in:
- lib/uu/operation_registry/runtime_stack.rb
Overview
Runtime Stack.
Constant Summary
Class Method Summary (collapse)
-
+ (UU::OS::UESURI) create(cloud_uri, attributes)
Creates a new stack.
-
+ (void) delete(runtime_stack_uri)
Deletes the specified stack from the registry.
-
+ (Hash) get_attributes(runtime_stack_uri)
Gets the attributes of the stack specified by stack URI and returns its detail.
-
+ (UU::OS::Persistence::PagedResult<Hash>) get_runtime_stack_list(cloud_uri, criteria = {})
Returns list of stacks.
-
+ (UU::OS::UESURI) set_attributes(runtime_stack_uri, attributes)
Sets attributes of an stack.
Instance Method Summary (collapse)
-
- (UU::OS::UESURI) create(cloud_uri, attributes)
Creates a new stack.
-
- (void) delete(runtime_stack_uri)
Deletes the specified stack from the registry.
-
- (Hash) get_attributes(runtime_stack_uri)
Gets the attributes of the stack specified by stack URI and returns its detail.
-
- (UU::OS::Persistence::PagedResult<Hash>) get_runtime_stack_list(cloud_uri, criteria = {})
Returns a list of stacks in the given cloud.
-
- (RuntimeStack) initialize(session = nil)
constructor
Creates a new instance of
Stack
. -
- (UU::OS::UESURI) set_attributes(runtime_stack_uri, attributes)
Sets attributes of an stack.
Constructor Details
- (RuntimeStack) initialize(session = nil)
Creates a new instance of Stack
.
18 19 20 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 18 def initialize(session = nil) super end |
Class Method Details
+ (UU::OS::UESURI) create(cloud_uri, attributes)
Creates a new stack. This method is a convenience shortcut for the #create instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 35
|
+ (void) delete(runtime_stack_uri)
This method returns an undefined value.
Deletes the specified stack from the registry. This method is a convenience shortcut for the #delete instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 78
|
+ (Hash) get_attributes(runtime_stack_uri)
Gets the attributes of the stack specified by stack URI and returns its detail. This method is a convenience shortcut for the #get_attributes instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 48
|
+ (UU::OS::Persistence::PagedResult<Hash>) get_runtime_stack_list(cloud_uri, criteria = {})
Returns list of stacks. This method is a convenience shortcut for the #get_runtime_stack_list instance method.
105 106 107 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 105 def self.get_runtime_stack_list(cloud_uri, criteria = {}) self.new(UU::OS::Security::Session.current_session).get_runtime_stack_list(cloud_uri, criteria) end |
+ (UU::OS::UESURI) set_attributes(runtime_stack_uri, attributes)
Sets attributes of an stack. This method is a convenience shortcut for the #set_attributes instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 67
|
Instance Method Details
- (UU::OS::UESURI) create(cloud_uri, attributes)
Creates a new stack.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 22
|
- (void) delete(runtime_stack_uri)
This method returns an undefined value.
Deletes the specified stack from the registry.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 73
|
- (Hash) get_attributes(runtime_stack_uri)
Gets the attributes of the stack specified by stack URI and returns its detail.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 42
|
- (UU::OS::Persistence::PagedResult<Hash>) get_runtime_stack_list(cloud_uri, criteria = {})
Returns a list of stacks in the given cloud. Command does not return all stacks, only a sublist. The list of returned stacks could be filtered using Mongo Query.
96 97 98 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 96 def get_runtime_stack_list(cloud_uri, criteria = {}) @client.invoke(:getRuntimeStackList, cloud_uri, parameters: criteria) end |
- (UU::OS::UESURI) set_attributes(runtime_stack_uri, attributes)
Sets attributes of an stack.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 55
|