
This external documentation for pyVmomi was generated using Googly Docs (aka Google Standard Documentation) which renders very cleanly in GitHub. Internal documentation for a class should be done in Sphinx format because tools like pyCharm and Eclipse can use that documentation as a hint for code completion. Note: External docs as Googly Docs, internal docs as Sphinx. Closes bug#15
1.7 KiB
vim.vm.FileLayout
- 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.
- extends
deprecated
- Attributes:
-
configFile (str, optional):
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.
logFile (str, optional):
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.
disk (vim.vm.FileLayout.DiskLayout, optional):
Files making up each virtual disk.
snapshot (vim.vm.FileLayout.SnapshotLayout, optional):
Files of each snapshot.
swapFile (str, optional):
The swapfile specific to this virtual machine, if any. This is a complete datastore path, not a relative path.