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)
-
- (long) create(opts)
Create a new Application.
-
- (Object) delete_application(opts)
Delete a list of namd Applications.
-
- (String) list
Get a list of Applications present on this WebAccelerator.
-
- (String) version
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
- (long) create(opts)
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) check_params(opts,[:description,:local_policy,:remote_policy,:requested_hosts]) super end |
- (Object) delete_application(opts)
Delete a list of namd Applications.
36 37 38 39 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 36 def delete_application(opts) check_params(opts,[:applications]) super end |
- (String) list
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 |
- (String) version
Gets the version information for this interface.
56 57 58 |
# File 'lib/icontrol/web_accelerator/applications.rb', line 56 def version super end |