Class: IControl::WebAccelerator::Applications
- Inherits:
-
Base
- Object
- Base
- IControl::WebAccelerator::Applications
- Defined in:
- lib/icontrol/web_accelerator/applications.rb,
lib/icontrol/web_accelerator.rb
Overview
Allows manipulation of Applications.
Instance Method Summary collapse
-
#create(opts) ⇒ long
Create a new Application.
-
#delete_application(opts) ⇒ Object
Delete a list of namd Applications.
-
#list ⇒ String
Get a list of Applications present on this WebAccelerator.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#create(opts) ⇒ long
Create a new Application. The strings that describe requested hosts should be one-line and are of the form: requested_host(domain=>www.example.com, destination_pool=>INTERNAL) or requested_host(domain=>www.example.com, destination_pool=>INTERNAL, http_subdomain_count=>5, https_subdomain_count=>5, subdomain_prefix=>wa)
23 24 25 26 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 23 def create(opts) opts = check_params(opts,[:description,:local_policy,:remote_policy,:requested_hosts]) super(opts) end |
#delete_application(opts) ⇒ Object
Delete a list of namd Applications.
36 37 38 39 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 36 def delete_application(opts) opts = check_params(opts,[:applications]) super(opts) end |
#list ⇒ String
Get a list of Applications present on this WebAccelerator.
48 49 50 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 48 def list super end |
#version ⇒ String
Gets the version information for this interface.
56 57 58 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 56 def version super end |