# Enum - VirtualDiskMode(vim.vm.device.VirtualDiskOption.DiskMode)

Since
  2.0

## Enum Description

The list of known disk modes.

The list of supported disk modes varies by the backing type. The "persistent" mode is supported by every backing type.

Enum Constants

Name | Description
--- | ---
append | Changes are appended to the redo log; you revoke changes by removing the undo log.
independent_nonpersistent | Same as nonpersistent, but not affected by snapshots.
independent_persistent | Same as persistent, but not affected by snapshots.
nonpersistent | Changes to virtual disk are made to a redo log and discarded at power off.
persistent | Changes are immediately and permanently written to the virtual disk.
undoable | Changes are made to a redo log, but you are given the option to commit or undo.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskMode"> <restriction base="xsd:string"> <enumeration value="persistent"/> <enumeration value="nonpersistent"/> <enumeration value="undoable"/> <enumeration value="independent_persistent"/> <enumeration value="independent_nonpersistent"/> <enumeration value="append"/> </restriction> </simpleType>