Class: MiqHostAdvancedOptionManager
- Inherits:
-
Object
- Object
- MiqHostAdvancedOptionManager
- Includes:
- DRb::DRbUndumped, MiqBrokerVimConnectionCheck
- Defined in:
- lib/VMwareWebService/MiqVimBrokerMods.rb,
lib/VMwareWebService/MiqHostAdvancedOptionManager.rb
Instance Attribute Summary collapse
-
#invObj ⇒ Object
readonly
Returns the value of attribute invObj.
Instance Method Summary collapse
-
#initialize(aomMor, invObj) ⇒ MiqHostAdvancedOptionManager
constructor
A new instance of MiqHostAdvancedOptionManager.
- #queryOptions(name) ⇒ Object
- #setting ⇒ Object
- #supportedOption ⇒ Object
Methods included from MiqBrokerVimConnectionCheck
Constructor Details
#initialize(aomMor, invObj) ⇒ MiqHostAdvancedOptionManager
Returns a new instance of MiqHostAdvancedOptionManager.
4 5 6 7 |
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 4 def initialize(aomMor, invObj) @invObj = invObj @aomMor = aomMor end |
Instance Attribute Details
#invObj ⇒ Object (readonly)
Returns the value of attribute invObj.
2 3 4 |
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 2 def invObj @invObj end |
Instance Method Details
#queryOptions(name) ⇒ Object
17 18 19 |
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 17 def queryOptions(name) @invObj.queryOptions(@aomMor, name) end |
#setting ⇒ Object
9 10 11 |
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 9 def setting @invObj.getMoProp(@aomMor)['setting'] end |
#supportedOption ⇒ Object
13 14 15 |
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 13 def supportedOption @invObj.getMoProp(@aomMor)['supportedOption'] end |