Class: UU::OperationRegistry::RuntimeStack
- Inherits:
-
BaseMethods
- Object
- BaseMethods
- UU::OperationRegistry::RuntimeStack
- Defined in:
- lib/uu/operation_registry/runtime_stack.rb
Overview
Runtime Stack.
Class Method Summary collapse
-
.create(cloud_uri, attributes) ⇒ UU::OS::UESURI
Creates a new runtime stack.
-
.delete(runtime_stack_uri) ⇒ void
Deletes the specified runtime stack from the registry.
-
.get_attributes(runtime_stack_uri) ⇒ Hash
Gets the attributes of the runtime stack specified by runtime stack URI and returns its detail.
-
.get_runtime_stack_list(cloud_uri, criteria = {}) ⇒ UU::OS::Persistence::PagedResult<Hash>
Returns list of runtime stacks.
-
.set_attributes(runtime_stack_uri, attributes) ⇒ UU::OS::UESURI
Sets attributes of a runtime stack.
Instance Method Summary collapse
-
#create(cloud_uri, attributes) ⇒ UU::OS::UESURI
Creates a new runtime stack.
-
#delete(runtime_stack_uri) ⇒ void
Deletes the specified runtime stack from the registry.
-
#get_attributes(runtime_stack_uri) ⇒ Hash
Gets the attributes of the runtime stack specified by runtime stack URI and returns its detail.
-
#get_runtime_stack_list(cloud_uri, criteria = {}) ⇒ UU::OS::Persistence::PagedResult<Hash>
Returns a list of runtime stacks in the given cloud.
-
#initialize(session = nil) ⇒ RuntimeStack
constructor
Creates a new instance of
RuntimeStack
. -
#set_attributes(runtime_stack_uri, attributes) ⇒ UU::OS::UESURI
Sets attributes of a runtime stack.
Constructor Details
#initialize(session = nil) ⇒ RuntimeStack
Creates a new instance of RuntimeStack
.
18 19 20 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 18 def initialize(session = nil) super end |
Class Method Details
.create(cloud_uri, attributes) ⇒ UU::OS::UESURI
Creates a new runtime stack. This method is a convenience shortcut for the #create instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 43
|
.delete(runtime_stack_uri) ⇒ void
This method returns an undefined value.
Deletes the specified runtime stack from the registry. This method is a convenience shortcut for the #delete instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 93
|
.get_attributes(runtime_stack_uri) ⇒ Hash
Gets the attributes of the runtime stack specified by runtime 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 56
|
.get_runtime_stack_list(cloud_uri, criteria = {}) ⇒ UU::OS::Persistence::PagedResult<Hash>
Returns list of runtime stacks. This method is a convenience shortcut for the #get_runtime_stack_list instance method.
121 122 123 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 121 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 |
.set_attributes(runtime_stack_uri, attributes) ⇒ UU::OS::UESURI
Sets attributes of a runtime stack. This method is a convenience shortcut for the #set_attributes instance method.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 82
|
Instance Method Details
#create(cloud_uri, attributes) ⇒ UU::OS::UESURI
Creates a new runtime stack.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 22
|
#delete(runtime_stack_uri) ⇒ void
This method returns an undefined value.
Deletes the specified runtime stack from the registry.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 88
|
#get_attributes(runtime_stack_uri) ⇒ Hash
Gets the attributes of the runtime stack specified by runtime stack URI and returns its detail.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 50
|
#get_runtime_stack_list(cloud_uri, criteria = {}) ⇒ UU::OS::Persistence::PagedResult<Hash>
Returns a list of runtime stacks in the given cloud. Command does not return all runtime stacks, only a sublist. The list of returned runtime stacks could be filtered using Mongo Query.
112 113 114 |
# File 'lib/uu/operation_registry/runtime_stack.rb', line 112 def get_runtime_stack_list(cloud_uri, criteria = {}) @client.invoke(:getRuntimeStackList, cloud_uri, parameters: criteria) end |
#set_attributes(runtime_stack_uri, attributes) ⇒ UU::OS::UESURI
Sets attributes of a runtime stack.
|
# File 'lib/uu/operation_registry/runtime_stack.rb', line 63
|