Data Object - VirtualDisk

Parameter to
PromoteDisks_Task
Extends
VirtualDevice
See also
SharesInfo, StorageIOAllocationInfo

Data Object Description

This data object type contains information about a disk in a virtual machine.

The virtual disk backing object types describe the different virtual disk backings available. The disk format version in each case describes the version of the format that is used.

Supported virtual disk backings:
Sparse disk format, version 1 and 2
The virtual disk backing grows when needed. Supported only for VMware Server.
Flat disk format, version 1 and 2
The virtual disk backing is preallocated. Version 1 is supported only for VMware Server.
Space efficient sparse disk format
The virtual disk backing grows on demand and incorporates additional space optimizations.
Raw disk format, version 2
The virtual disk backing uses a full physical disk drive to back the virtual disk. Supported only for VMware Server.
Partitioned raw disk format, version 2
The virtual disk backing uses one or more partitions on a physical disk drive to back a virtual disk. Supported only for VMware Server.
Raw disk mapping, version 1
The virtual disk backing uses a raw device mapping to back the virtual disk. Supported for ESX Server 2.5 and 3.x.

Properties

Name Type Description
capacityInKBxsd:longDeprecated. As of vSphere API 5.5, use capacityInBytes.

Capacity of this virtual disk in kilobytes. Information might be lost when actual disk size is rounded off to kilobytes. If the disk is on a Virtual Volume datastore the disk size must be a multiple of a megabyte.


shares*SharesInfoDeprecated. As of vSphere API 4.1, use shares.

Disk shares, used for resource scheduling.
storageIOAllocation*StorageIOAllocationInfo

Resource allocation for storage I/O.

Since vSphere API 4.1
Properties inherited from VirtualDevice
backing, connectable, controllerKey, deviceInfo, key, unitNumber
Properties inherited from DynamicData
None
*Need not be set