Class: UU::OperationRegistry::AppDeployment
- Inherits:
-
BaseMethods
- Object
- BaseMethods
- UU::OperationRegistry::AppDeployment
- Defined in:
- lib/uu/operation_registry/app_deployment.rb
Overview
App deployment.
Constant Summary
Class Method Summary (collapse)
-
+ (UU::OS::UESURI) create(resource_pool_uri, attributes)
Creates a new deployment.
-
+ (void) delete(app_deployment_uri)
Deletes the specified deployment from the registry.
-
+ (UU::OS::Persistence::PagedResult<Hash>) get_app_deployment_list(resource_pool_uri, criteria = {})
Returns list of deployments.
-
+ (Hash) get_attributes(app_deployment_uri)
Gets the attributes of the deployment specified by deployment URI and returns its detail.
-
+ (UU::OS::UESURI) set_attributes(app_deployment_uri, attributes)
Sets attributes of an deployment.
Instance Method Summary (collapse)
-
- (UU::OS::UESURI) create(resource_pool_uri, attributes)
Creates a new deployment.
-
- (void) delete(app_deployment_uri)
Deletes the specified deployment from the registry.
-
- (UU::OS::Persistence::PagedResult<Hash>) get_app_deployment_list(resource_pool_uri, criteria = {})
Returns a list of deployments in the given pool.
-
- (Hash) get_attributes(app_deployment_uri)
Gets the attributes of the deployment specified by deployment URI and returns its detail.
-
- (AppDeployment) initialize(session = nil)
constructor
Creates a new instance of
AppDeployment
. -
- (UU::OS::UESURI) set_attributes(app_deployment_uri, attributes)
Sets attributes of an deployment.
Constructor Details
- (AppDeployment) initialize(session = nil)
Creates a new instance of AppDeployment
.
18 19 20 |
# File 'lib/uu/operation_registry/app_deployment.rb', line 18 def initialize(session = nil) super end |
Class Method Details
+ (UU::OS::UESURI) create(resource_pool_uri, attributes)
Creates a new deployment. This method is a convenience shortcut for the #create instance method.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 35
|
+ (void) delete(app_deployment_uri)
This method returns an undefined value.
Deletes the specified deployment from the registry. This method is a convenience shortcut for the #delete instance method.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 79
|
+ (UU::OS::Persistence::PagedResult<Hash>) get_app_deployment_list(resource_pool_uri, criteria = {})
Returns list of deployments. This method is a convenience shortcut for the #get_app_deployment_list instance method.
106 107 108 |
# File 'lib/uu/operation_registry/app_deployment.rb', line 106 def self.get_app_deployment_list(resource_pool_uri, criteria = {}) self.new(UU::OS::Security::Session.current_session).get_app_deployment_list(resource_pool_uri, criteria) end |
+ (Hash) get_attributes(app_deployment_uri)
Gets the attributes of the deployment specified by deployment URI and returns its detail. This method is a convenience shortcut for the #get_attributes instance method.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 48
|
+ (UU::OS::UESURI) set_attributes(app_deployment_uri, attributes)
Sets attributes of an deployment. This method is a convenience shortcut for the #set_attributes instance method.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 68
|
Instance Method Details
- (UU::OS::UESURI) create(resource_pool_uri, attributes)
Creates a new deployment.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 22
|
- (void) delete(app_deployment_uri)
This method returns an undefined value.
Deletes the specified deployment from the registry.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 74
|
- (UU::OS::Persistence::PagedResult<Hash>) get_app_deployment_list(resource_pool_uri, criteria = {})
Returns a list of deployments in the given pool. Command does not return all deployments, only a sublist. The list of returned deployments could be filtered using Mongo Query.
97 98 99 |
# File 'lib/uu/operation_registry/app_deployment.rb', line 97 def get_app_deployment_list(resource_pool_uri, criteria = {}) client.invoke(:getAppDeploymentList, resource_pool_uri, parameters: criteria) end |
- (Hash) get_attributes(app_deployment_uri)
Gets the attributes of the deployment specified by deployment URI and returns its detail.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 42
|
- (UU::OS::UESURI) set_attributes(app_deployment_uri, attributes)
Sets attributes of an deployment.
|
# File 'lib/uu/operation_registry/app_deployment.rb', line 55
|