Method: HostVirtualSwitch#initialize

Defined in:
lib/vmware/soap/vim25.rb

#initialize(dynamicType = nil, dynamicProperty = [], name = nil, key = nil, numPorts = nil, numPortsAvailable = nil, mtu = nil, portgroup = [], pnic = [], spec = nil) ⇒ HostVirtualSwitch

Returns a new instance of HostVirtualSwitch.



22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
# File 'lib/vmware/soap/vim25.rb', line 22061

def initialize(dynamicType = nil, dynamicProperty = [], name = nil, key = nil, numPorts = nil, numPortsAvailable = nil, mtu = nil, portgroup = [], pnic = [], spec = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @name = name
  @key = key
  @numPorts = numPorts
  @numPortsAvailable = numPortsAvailable
  @mtu = mtu
  @portgroup = portgroup
  @pnic = pnic
  @spec = spec
end