Class: HostVirtualSwitchSpec

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

Overview

urn:vim25HostVirtualSwitchSpec

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
numPorts - SOAP::SOAPInt
bridge - HostVirtualSwitchBridge
policy - HostNetworkPolicy
mtu - SOAP::SOAPInt

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], numPorts = nil, bridge = nil, policy = nil, mtu = nil) ⇒ HostVirtualSwitchSpec

Returns a new instance of HostVirtualSwitchSpec.



22006
22007
22008
22009
22010
22011
22012
22013
# File 'lib/vmware/soap/vim25.rb', line 22006

def initialize(dynamicType = nil, dynamicProperty = [], numPorts = nil, bridge = nil, policy = nil, mtu = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @numPorts = numPorts
  @bridge = bridge
  @policy = policy
  @mtu = mtu
end

Instance Attribute Details

#bridgeObject

Returns the value of attribute bridge.



22002
22003
22004
# File 'lib/vmware/soap/vim25.rb', line 22002

def bridge
  @bridge
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



22000
22001
22002
# File 'lib/vmware/soap/vim25.rb', line 22000

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



21999
22000
22001
# File 'lib/vmware/soap/vim25.rb', line 21999

def dynamicType
  @dynamicType
end

#mtuObject

Returns the value of attribute mtu.



22004
22005
22006
# File 'lib/vmware/soap/vim25.rb', line 22004

def mtu
  @mtu
end

#numPortsObject

Returns the value of attribute numPorts.



22001
22002
22003
# File 'lib/vmware/soap/vim25.rb', line 22001

def numPorts
  @numPorts
end

#policyObject

Returns the value of attribute policy.



22003
22004
22005
# File 'lib/vmware/soap/vim25.rb', line 22003

def policy
  @policy
end