VirtualMachineUsageOnDatastore

VirtualMachineUsageOnDatastore
VirtualMachineUsageOnDatastore

Storage space used by this virtual machine on a particular datastore.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "datastore": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "committed": 0,
    "uncommitted": 0,
    "unshared": 0
}
datastore
Required

Reference to an instance of the Datastore managed object.

integer As int64 As int64
committed
Required

Storage space, in bytes, on this datastore that is actually being used by the virtual machine.

It includes space actually occupied by disks, logs, snapshots, configuration files etc. Files of the virtual machine which are present on a different datastore (e.g. a virtual disk on another datastore) are not included here. VirtualMachineFileLayoutEx provides a detailed break-up of the committed space.

integer As int64 As int64
uncommitted
Required

Additional storage space, in bytes, potentially used by the virtual machine on this datastore.

Additional space may be needed for example when lazily allocated disks grow, or storage for swap is allocated when powering on the virtual machine.

If the virtual machine is running off delta disks (for example because a snapshot was taken), then only the potential growth of the currently used delta-disks is considered.

integer As int64 As int64
unshared
Required

Storage space, in bytes, occupied by the virtual machine on this datastore that is not shared with any other virtual machine.