# Data Object - VirtualDiskSparseVer2BackingInfo(vim.vm.device.VirtualDisk.SparseVer2BackingInfo)

Property of
  VirtualDiskSparseVer2BackingInfo
Extends
  VirtualDeviceFileBackingInfo
See also
  CryptoKeyId,
Since
  2.0

## Data Object Description

This data object type contains information about backing a virtual disk by using a virtual disk file on the host, in the sparse disk format used by VMware Server.

Properties

Name | Type | Description
--- | --- | ---
changeId* | xsd:string | The change ID of the virtual disk for the corresponding snapshot or virtual machine. This can be used to track incremental changes to a virtual disk. See QueryChangedDiskAreas. Since vSphere API 4.0
contentId* | xsd:string | Content ID of the virtual disk file, if available. A content ID indicates the logical contents of the disk backing and its parents. This property is only guaranteed to be up to date if this disk backing is not currently being written to by any virtual machine. The only supported operation is comparing if two content IDs are equal or not. The guarantee provided by the content ID is that if two disk backings have the same content ID and are not currently being written to, then reads issued from the guest operating system to those disk backings will return the same data. Since vSphere API 4.0
diskMode | xsd:string | The disk persistence mode. Valid modes are: vim.vm.device.VirtualDiskOption.DiskMode#persistent vim.vm.device.VirtualDiskOption.DiskMode#independent_persistent vim.vm.device.VirtualDiskOption.DiskMode#independent_nonpersistent See VirtualDiskMode
keyId* | CryptoKeyId | Virtual Disk Backing encryption options. On modification operations the value is ignored, use the specification crypto in backing. Since vSphere API 6.5
parent* | VirtualDiskSparseVer2BackingInfo | The parent of this virtual disk file, if this is a delta disk backing. This will be unset if this is not a delta disk backing. A delta disk backing is a way to preserve a virtual disk backing at some point in time. A delta disk backing is a file backing which in turn points to the original virtual disk backing (the parent). After a delta disk backing is added, all writes go to the delta disk backing. All reads first try the delta disk backing and then try the parent backing if needed. A delta disk backing can be added to a disk either implicitly during snapshot operations, or explicitly during create or reconfigure of the virtual machine. Note that the type of the backing is consistent throughout the chain; any new delta disk backing which is added is of the same type as the original disk . Also note that since the parent backing is not being written to, it is possible that the parent backing may be shared among multiple disks belonging to multiple virtual machines. During virtual machine CreateVM_Task and ReconfigVM_Task this property is only checked if the VirtualDeviceConfigSpec specifies an add operation with a create file operation. In this case, a new delta disk backing is created which points to the parent disk backing. Only the fileName property is important; all other properties will be ignored. The parent backing is assumed to exist and will not be recursively created. This property may only be set if deltaDiskBackingsSupported is true. Since vSphere API 4.0
spaceUsedInKB* | xsd:long | The space in use for this sparse disk. This information is provided when retrieving configuration information for an exisiting virtual machine. The client cannot modify this information using reconfigure on a virtual machine.
split* | xsd:boolean | Flag to indicate the type of virtual disk file: split or monolithic. If true, the virtual disk is stored in multiple files, each 2GB.
uuid* | xsd:string | Disk UUID for the virtual disk, if available. Since VI API 2.5
writeThrough* | xsd:boolean | Flag to indicate whether writes should go directly to the file system or should be buffered.
Properties inherited from VirtualDeviceFileBackingInfo
backingObjectId, datastore, fileName
Properties inherited from VirtualDeviceBackingInfo
None
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskSparseVer2BackingInfo"> <complexContent> <extension base="vsan:VirtualDeviceFileBackingInfo"> <sequence> <element name="diskMode" type="xsd:string"/> <element name="split" type="xsd:boolean" minOccurs="0"/> <element name="writeThrough" type="xsd:boolean" minOccurs="0"/> <element name="spaceUsedInKB" type="xsd:long" minOccurs="0"/> <element name="uuid" type="xsd:string" minOccurs="0"/> <element name="contentId" type="xsd:string" minOccurs="0"/> <element name="changeId" type="xsd:string" minOccurs="0"/> <element name="parent" type="vsan:VirtualDiskSparseVer2BackingInfo" minOccurs="0"/> <element name="keyId" type="vsan:CryptoKeyId" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>