Class: IControl::Management::DBVariable
- Inherits:
-
Base
- Object
- Base
- IControl::Management::DBVariable
- Defined in:
- lib/icontrol/management/db_variable.rb,
lib/icontrol/management.rb
Overview
The DBVariable interface exposes methods that enable you to work directly with our internal database that contains configuration variables using name/value pairs.
Defined Under Namespace
Classes: VariableNameValue, VariableNameValueSequence
Instance Method Summary (collapse)
-
- (Object) create
Creates this variable in the database.
-
- (Object) delete_variable
Deletes the variable referenced from the database.
-
- (boolean) is_variable_available
Verifies the existence of this variable in the database.
-
- (VariableNameValue) list
Retrieves the values of all variable defined in the database.
-
- (Object) modify
Modifies this variable in the database.
-
- (VariableNameValue) query
Queries the values of this variable.
-
- (Object) reset
Resets this variable to their default values.
-
- (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
- (Object) create
Creates this variable in the database.
16 17 18 |
# File 'lib/icontrol/management/db_variable.rb', line 16 def create super end |
- (Object) delete_variable
Deletes the variable referenced from the database.
26 27 28 |
# File 'lib/icontrol/management/db_variable.rb', line 26 def delete_variable super end |
- (boolean) is_variable_available
Verifies the existence of this variable in the database.
57 58 59 |
# File 'lib/icontrol/management/db_variable.rb', line 57 def is_variable_available super end |
- (VariableNameValue) list
Retrieves the values of all variable defined in the database. This list can potentially be huge.
38 39 40 |
# File 'lib/icontrol/management/db_variable.rb', line 38 def list super end |
- (Object) modify
Modifies this variable in the database.
64 65 66 |
# File 'lib/icontrol/management/db_variable.rb', line 64 def modify super end |
- (VariableNameValue) query
Queries the values of this variable.
75 76 77 |
# File 'lib/icontrol/management/db_variable.rb', line 75 def query super end |
- (Object) reset
Resets this variable to their default values.
85 86 87 |
# File 'lib/icontrol/management/db_variable.rb', line 85 def reset super end |
- (String) version
Gets the version information for this interface.
46 47 48 |
# File 'lib/icontrol/management/db_variable.rb', line 46 def version super end |