Class: ResourceAllocationInfo

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

Overview

urn:vim25ResourceAllocationInfo

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
reservation - SOAP::SOAPLong
expandableReservation - SOAP::SOAPBoolean
limit - SOAP::SOAPLong
shares - SharesInfo
overheadLimit - SOAP::SOAPLong

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], reservation = nil, expandableReservation = nil, limit = nil, shares = nil, overheadLimit = nil) ⇒ ResourceAllocationInfo

Returns a new instance of ResourceAllocationInfo.



2012
2013
2014
2015
2016
2017
2018
2019
2020
# File 'lib/vmware/soap/vim25.rb', line 2012

def initialize(dynamicType = nil, dynamicProperty = [], reservation = nil, expandableReservation = nil, limit = nil, shares = nil, overheadLimit = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @reservation = reservation
  @expandableReservation = expandableReservation
  @limit = limit
  @shares = shares
  @overheadLimit = overheadLimit
end

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



2005
2006
2007
# File 'lib/vmware/soap/vim25.rb', line 2005

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



2004
2005
2006
# File 'lib/vmware/soap/vim25.rb', line 2004

def dynamicType
  @dynamicType
end

#expandableReservationObject

Returns the value of attribute expandableReservation.



2007
2008
2009
# File 'lib/vmware/soap/vim25.rb', line 2007

def expandableReservation
  @expandableReservation
end

#limitObject

Returns the value of attribute limit.



2008
2009
2010
# File 'lib/vmware/soap/vim25.rb', line 2008

def limit
  @limit
end

#overheadLimitObject

Returns the value of attribute overheadLimit.



2010
2011
2012
# File 'lib/vmware/soap/vim25.rb', line 2010

def overheadLimit
  @overheadLimit
end

#reservationObject

Returns the value of attribute reservation.



2006
2007
2008
# File 'lib/vmware/soap/vim25.rb', line 2006

def reservation
  @reservation
end

#sharesObject

Returns the value of attribute shares.



2009
2010
2011
# File 'lib/vmware/soap/vim25.rb', line 2009

def shares
  @shares
end