Class: IControl::ASM::WebApplication
- Inherits:
-
Base
- Object
- Base
- IControl::ASM::WebApplication
- Defined in:
- lib/icontrol/asm/web_application.rb,
lib/icontrol/asm.rb
Overview
The WebApplication interface enables you to manipulate ASM Web Applications.
Instance Method Summary (collapse)
-
- (String) active_policy
Get the active policy for this web applications.
-
- (ApplyLearning) apply_learning
Get the "apply learning" for this web applications.
-
- (Object) delete_all_disabled_webapps
Deletes all disabled web applications.
-
- (Object) delete_all_non_active_policies
Deletes all non-actice policies for web applications.
-
- (Object) delete_webapp
Deletes this web applications.
-
- (boolean) enabled_state
Returns the enabled flag of specified web application.
-
- (WebApplicationLanguage) language
Gets the language for this web applications.
-
- (String) list
Gets a list of all web applications.
-
- (String) logging_profile
Get the logging profile for this web applications.
-
- (String[]) policy_list
Returns a list of the policies associated with this web application.
-
- (Object) reconfigure
Reconfigures this web applications.
-
- (Object) set_active_policy(opts)
Set the active policy for this web applications.
-
- (Object) set_apply_learning(opts)
Set the "apply learning" for this web applications.
-
- (Object) set_language(opts)
Set the language for this web applications.
-
- (Object) set_language_extended(opts)
Confugures this web applications in one-step.
-
- (Object) set_logging_profile(opts)
Set the logging profile for this web applications.
-
- (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
- (String) active_policy
Get the active policy for this web applications.
46 47 48 |
# File 'lib/icontrol/asm/web_application.rb', line 46 def active_policy super end |
- (ApplyLearning) apply_learning
Get the "apply learning" for this web applications.
57 58 59 |
# File 'lib/icontrol/asm/web_application.rb', line 57 def apply_learning super end |
- (Object) delete_all_disabled_webapps
Deletes all disabled web applications.
14 15 16 |
# File 'lib/icontrol/asm/web_application.rb', line 14 def delete_all_disabled_webapps super end |
- (Object) delete_all_non_active_policies
Deletes all non-actice policies for web applications. The active policy will not be deleted.
25 26 27 |
# File 'lib/icontrol/asm/web_application.rb', line 25 def delete_all_non_active_policies super end |
- (Object) delete_webapp
Deletes this web applications. Only disabled web applications can be deleted.
35 36 37 |
# File 'lib/icontrol/asm/web_application.rb', line 35 def delete_webapp super end |
- (boolean) enabled_state
Returns the enabled flag of specified web application.
68 69 70 |
# File 'lib/icontrol/asm/web_application.rb', line 68 def enabled_state super end |
- (WebApplicationLanguage) language
Gets the language for this web applications.
79 80 81 |
# File 'lib/icontrol/asm/web_application.rb', line 79 def language super end |
- (String) list
Gets a list of all web applications.
90 91 92 |
# File 'lib/icontrol/asm/web_application.rb', line 90 def list super end |
- (String) logging_profile
Get the logging profile for this web applications.
101 102 103 |
# File 'lib/icontrol/asm/web_application.rb', line 101 def logging_profile super end |
- (String[]) policy_list
Returns a list of the policies associated with this web application.
112 113 114 |
# File 'lib/icontrol/asm/web_application.rb', line 112 def policy_list super end |
- (Object) reconfigure
Reconfigures this web applications. This resets all of the web application properties.
130 131 132 |
# File 'lib/icontrol/asm/web_application.rb', line 130 def reconfigure super end |
- (Object) set_active_policy(opts)
Set the active policy for this web applications. This applies this policy to the enforcer.
143 144 145 146 |
# File 'lib/icontrol/asm/web_application.rb', line 143 def set_active_policy(opts) check_params(opts,[:policy_names]) super end |
- (Object) set_apply_learning(opts)
Set the "apply learning" for this web applications.
156 157 158 159 |
# File 'lib/icontrol/asm/web_application.rb', line 156 def set_apply_learning(opts) check_params(opts,[:settings]) super end |
- (Object) set_language(opts)
Set the language for this web applications. Note that the language can only be set once for a web application.
170 171 172 173 |
# File 'lib/icontrol/asm/web_application.rb', line 170 def set_language(opts) check_params(opts,[:languages]) super end |
- (Object) set_language_extended(opts)
Confugures this web applications in one-step. For each web application: sets the language adds a policy created from this template sets the policy active removes the original default policy
188 189 190 191 |
# File 'lib/icontrol/asm/web_application.rb', line 188 def set_language_extended(opts) check_params(opts,[:languages,:policy_names,:policy_template_names,:timeout]) super end |
- (Object) set_logging_profile(opts)
Set the logging profile for this web applications.
201 202 203 204 |
# File 'lib/icontrol/asm/web_application.rb', line 201 def set_logging_profile(opts) check_params(opts,[:logprof_names]) super end |
- (String) version
Gets the version information for this interface.
120 121 122 |
# File 'lib/icontrol/asm/web_application.rb', line 120 def version super end |