VirtualDiskSparseVer2BackingInfo

VirtualDiskSparseVer2BackingInfo
VirtualDiskSparseVer2BackingInfo

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.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "fileName": "string",
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "backingObjectId": "string",
    "diskMode": "string",
    "split": false,
    "writeThrough": false,
    "spaceUsedInKB": 0,
    "uuid": "string",
    "contentId": "string",
    "changeId": "string",
    "parent": {
        "_typeName": "string",
        "fileName": "string",
        "datastore": {
            "_typeName": "string",
            "type": "string",
            "value": "string"
        },
        "backingObjectId": "string",
        "diskMode": "string",
        "split": false,
        "writeThrough": false,
        "spaceUsedInKB": 0,
        "uuid": "string",
        "contentId": "string",
        "changeId": "string",
        "parent": "VirtualDiskSparseVer2BackingInfo Object",
        "keyId": {
            "_typeName": "string",
            "keyId": "string",
            "providerId": {
                "_typeName": "string",
                "id": "string"
            }
        }
    },
    "keyId": {
        "_typeName": "string",
        "keyId": "string",
        "providerId": {
            "_typeName": "string",
            "id": "string"
        }
    }
}
string
diskMode
Required

The disk persistence mode.

Valid modes are:

See also VirtualDiskModeEnum.

boolean
split
Optional

Flag to indicate the type of virtual disk file: split or monolithic.

If true, the virtual disk is stored in multiple files, each 2GB.

boolean
writeThrough
Optional

Flag to indicate whether writes should go directly to the file system or should be buffered.

integer As int64 As int64
spaceUsedInKB
Optional

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.

string
uuid
Optional

Disk UUID for the virtual disk, if available.

string
contentId
Optional

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.

string
changeId
Optional

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.

parent
Optional

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.

keyId
Optional

Data Object representing a cryptographic key.