Class: HostVirtualSwitch

Inherits:
DynamicData show all
Defined in:
lib/vmware/soap/vim25.rb

Overview

urn:vim25HostVirtualSwitch

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
name - SOAP::SOAPString
key - SOAP::SOAPString
numPorts - SOAP::SOAPInt
numPortsAvailable - SOAP::SOAPInt
mtu - SOAP::SOAPInt
portgroup - SOAP::SOAPString
pnic - SOAP::SOAPString
spec - HostVirtualSwitchSpec

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#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

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



22051
22052
22053
# File 'lib/vmware/soap/vim25.rb', line 22051

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



22050
22051
22052
# File 'lib/vmware/soap/vim25.rb', line 22050

def dynamicType
  @dynamicType
end

#keyObject

Returns the value of attribute key.



22053
22054
22055
# File 'lib/vmware/soap/vim25.rb', line 22053

def key
  @key
end

#mtuObject

Returns the value of attribute mtu.



22056
22057
22058
# File 'lib/vmware/soap/vim25.rb', line 22056

def mtu
  @mtu
end

#nameObject

Returns the value of attribute name.



22052
22053
22054
# File 'lib/vmware/soap/vim25.rb', line 22052

def name
  @name
end

#numPortsObject

Returns the value of attribute numPorts.



22054
22055
22056
# File 'lib/vmware/soap/vim25.rb', line 22054

def numPorts
  @numPorts
end

#numPortsAvailableObject

Returns the value of attribute numPortsAvailable.



22055
22056
22057
# File 'lib/vmware/soap/vim25.rb', line 22055

def numPortsAvailable
  @numPortsAvailable
end

#pnicObject

Returns the value of attribute pnic.



22058
22059
22060
# File 'lib/vmware/soap/vim25.rb', line 22058

def pnic
  @pnic
end

#portgroupObject

Returns the value of attribute portgroup.



22057
22058
22059
# File 'lib/vmware/soap/vim25.rb', line 22057

def portgroup
  @portgroup
end

#specObject

Returns the value of attribute spec.



22059
22060
22061
# File 'lib/vmware/soap/vim25.rb', line 22059

def spec
  @spec
end