Class: VirtualDisk

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

Overview

urn:vim25VirtualDisk

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
key - SOAP::SOAPInt
deviceInfo - Description
backing - VirtualDeviceBackingInfo
connectable - VirtualDeviceConnectInfo
controllerKey - SOAP::SOAPInt
unitNumber - SOAP::SOAPInt
capacityInKB - SOAP::SOAPLong
shares - SharesInfo

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], key = nil, deviceInfo = nil, backing = nil, connectable = nil, controllerKey = nil, unitNumber = nil, capacityInKB = nil, shares = nil) ⇒ VirtualDisk

Returns a new instance of VirtualDisk.



26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
# File 'lib/vmware/soap/vim25.rb', line 26287

def initialize(dynamicType = nil, dynamicProperty = [], key = nil, deviceInfo = nil, backing = nil, connectable = nil, controllerKey = nil, unitNumber = nil, capacityInKB = nil, shares = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @key = key
  @deviceInfo = deviceInfo
  @backing = backing
  @connectable = connectable
  @controllerKey = controllerKey
  @unitNumber = unitNumber
  @capacityInKB = capacityInKB
  @shares = shares
end

Instance Attribute Details

#backingObject

Returns the value of attribute backing.



26280
26281
26282
# File 'lib/vmware/soap/vim25.rb', line 26280

def backing
  @backing
end

#capacityInKBObject

Returns the value of attribute capacityInKB.



26284
26285
26286
# File 'lib/vmware/soap/vim25.rb', line 26284

def capacityInKB
  @capacityInKB
end

#connectableObject

Returns the value of attribute connectable.



26281
26282
26283
# File 'lib/vmware/soap/vim25.rb', line 26281

def connectable
  @connectable
end

#controllerKeyObject

Returns the value of attribute controllerKey.



26282
26283
26284
# File 'lib/vmware/soap/vim25.rb', line 26282

def controllerKey
  @controllerKey
end

#deviceInfoObject

Returns the value of attribute deviceInfo.



26279
26280
26281
# File 'lib/vmware/soap/vim25.rb', line 26279

def deviceInfo
  @deviceInfo
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



26277
26278
26279
# File 'lib/vmware/soap/vim25.rb', line 26277

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



26276
26277
26278
# File 'lib/vmware/soap/vim25.rb', line 26276

def dynamicType
  @dynamicType
end

#keyObject

Returns the value of attribute key.



26278
26279
26280
# File 'lib/vmware/soap/vim25.rb', line 26278

def key
  @key
end

#sharesObject

Returns the value of attribute shares.



26285
26286
26287
# File 'lib/vmware/soap/vim25.rb', line 26285

def shares
  @shares
end

#unitNumberObject

Returns the value of attribute unitNumber.



26283
26284
26285
# File 'lib/vmware/soap/vim25.rb', line 26283

def unitNumber
  @unitNumber
end