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
-
#create ⇒ Object
Creates this variable in the database.
-
#delete_variable ⇒ Object
Deletes the variable referenced from the database.
-
#is_variable_available ⇒ boolean
Verifies the existence of this variable in the database.
-
#list ⇒ VariableNameValue
Retrieves the values of all variable defined in the database.
-
#modify ⇒ Object
Modifies this variable in the database.
-
#query ⇒ VariableNameValue
Queries the values of this variable.
-
#reset ⇒ Object
Resets this variable to their default values.
-
#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 ⇒ Object
Creates this variable in the database.
16 17 18 |
# File 'lib/icontrol/management/db_variable.rb', line 16 def create super end |
#delete_variable ⇒ Object
Deletes the variable referenced from the database.
26 27 28 |
# File 'lib/icontrol/management/db_variable.rb', line 26 def delete_variable super end |
#is_variable_available ⇒ boolean
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 |
#list ⇒ VariableNameValue
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 |
#modify ⇒ Object
Modifies this variable in the database.
64 65 66 |
# File 'lib/icontrol/management/db_variable.rb', line 64 def modify super end |
#query ⇒ VariableNameValue
Queries the values of this variable.
75 76 77 |
# File 'lib/icontrol/management/db_variable.rb', line 75 def query super end |
#reset ⇒ Object
Resets this variable to their default values.
85 86 87 |
# File 'lib/icontrol/management/db_variable.rb', line 85 def reset super end |
#version ⇒ String
Gets the version information for this interface.
46 47 48 |
# File 'lib/icontrol/management/db_variable.rb', line 46 def version super end |