Class: MiqHostAdvancedOptionManager

Inherits:
Object
  • Object
show all
Includes:
DRb::DRbUndumped, MiqBrokerVimConnectionCheck
Defined in:
lib/VMwareWebService/MiqVimBrokerMods.rb,
lib/VMwareWebService/MiqHostAdvancedOptionManager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MiqBrokerVimConnectionCheck

#connectionRemoved?

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

#invObjObject (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

#settingObject



9
10
11
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 9

def setting
  @invObj.getMoProp(@aomMor)['setting']
end

#supportedOptionObject



13
14
15
# File 'lib/VMwareWebService/MiqHostAdvancedOptionManager.rb', line 13

def supportedOption
  @invObj.getMoProp(@aomMor)['supportedOption']
end