VirtualMachineFileLayoutEx

VirtualMachineFileLayoutEx
VirtualMachineFileLayoutEx

Detailed description of files that make up a virtual machine on disk.

The file layout is broken into 4 major sections:

  • Configuration: Files stored in the configuration directory
  • Log: Files stored in the log directory
  • Disk: Files stored relative to a disk configuration file
  • Snapshot: Stored in the snapshot directory

Often the same directory is used for configuration, log, disk and snapshots.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "file": [
        {
            "_typeName": "string",
            "key": 0,
            "name": "string",
            "type": "string",
            "size": 0,
            "uniqueSize": 0,
            "backingObjectId": "string",
            "accessible": false
        }
    ],
    "disk": [
        {
            "_typeName": "string",
            "key": 0,
            "chain": [
                {
                    "_typeName": "string",
                    "fileKey": [
                        0
                    ]
                }
            ]
        }
    ],
    "snapshot": [
        {
            "_typeName": "string",
            "key": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            },
            "dataKey": 0,
            "memoryKey": 0,
            "disk": [
                {
                    "_typeName": "string",
                    "key": 0,
                    "chain": [
                        {
                            "_typeName": "string",
                            "fileKey": [
                                0
                            ]
                        }
                    ]
                }
            ]
        }
    ],
    "timestamp": "string"
}
file
Optional

Information about all the files that constitute the virtual machine including configuration files, disks, swap file, suspend file, log files, core files, memory file etc.

VirtualMachineFileLayoutExFileTypeEnum lists the different file-types that make a virtual machine.

disk
Optional

Layout of each virtual disk attached to the virtual machine.

For a virtual machine with snaphots, this property gives only those disks that are attached to it at the current point of running.

snapshot
Optional

Layout of each snapshot of the virtual machine.

string As date-time As date-time
timestamp
Required

Time when values in this structure were last updated.