# Enum - VirtualDiskVFlashCacheConfigInfoCacheMode(vim.vm.device.VirtualDisk.VFlashCacheConfigInfo.CacheMode)

Since
  vSphere API 5.5

## Enum Description

Pre-defined constants for cache modes.

Enum Constants

Name | Description
--- | ---
write_back | In write-back mode, writes to the cache do not go to the underlying storage right away. Cache holds data temporarily till it can be permanently saved or otherwise modified.
write_thru | In write-through cache mode, writes to the cache cause writes to the underlying storage. The cache acts as a facade to the underlying storage.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="VirtualDiskVFlashCacheConfigInfoCacheMode"> <restriction base="xsd:string"> <enumeration value="write_thru"/> <enumeration value="write_back"/> </restriction> </simpleType>