# Data Object - VirtualMachineFileLayout(vim.vm.FileLayout)

Property of
  VirtualMachine
Extends
  DynamicData
See also
  VirtualMachineFileLayoutDiskLayout, VirtualMachineFileLayoutSnapshotLayout
Since
  2.0

## Data Object Description

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.

Properties

Name | Type | Description
--- | --- | ---
configFile* | xsd: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.
disk* | VirtualMachineFileLayoutDiskLayout[] | Files making up each virtual disk.
logFile* | xsd:string[] | 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.
snapshot* | VirtualMachineFileLayoutSnapshotLayout[] | Files of each snapshot.
swapFile* | xsd:string | The swapfile specific to this virtual machine, if any. This is a complete datastore path, not a relative path.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pbm="urn:pbm" name="VirtualMachineFileLayout"> <complexContent> <extension base="pbm:DynamicData"> <sequence> <element name="configFile" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="logFile" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="disk" type="pbm:VirtualMachineFileLayoutDiskLayout" minOccurs="0" maxOccurs="unbounded"/> <element name="snapshot" type="pbm:VirtualMachineFileLayoutSnapshotLayout" minOccurs="0" maxOccurs="unbounded"/> <element name="swapFile" type="xsd:string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>