VirtualMachineFileLayout
Deprecated as of vSphere API 4.0, use VirtualMachineFileLayoutEx instead.
Describes the set of files that makes 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.
{
"_typeName": "string",
"configFile": [
"string"
],
"logFile": [
"string"
],
"disk": [
{
"_typeName": "string",
"key": 0,
"diskFile": [
"string"
]
}
],
"snapshot": [
{
"_typeName": "string",
"key": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"snapshotFile": [
"string"
]
}
],
"swapFile": "string"
}
A list of files that makes up the configuration of the virtual machine (excluding the .vmx file, since that file is represented in the FileInfo).
These are relative paths from the configuration directory. A slash is always used as a separator. This list will typically include the NVRAM file, but could also include other meta-data files.
A list of files stored in the virtual machine's log directory.
These are relative paths from the logDirectory. A slash is always used as a separator.
The swapfile specific to this virtual machine, if any.
This is a complete datastore path, not a relative path.