# Data Object - HostCacheConfigurationSpec(vim.host.CacheConfigurationManager.CacheConfigurationSpec)

Parameter to
  ConfigureHostCache_Task
Extends
  DynamicData
See also
  Datastore
Since
  vSphere API 5.0

## Data Object Description

Host cache configuration specification.

Properties

Name | Type | Description
--- | --- | ---
datastore | ManagedObjectReference to a Datastore | Datastore used for swap performance enhancement.
swapSize | xsd:long | Space to allocate on this datastore to implement swap performance enhancements, in MB. This value should be less or equal to free space capacity on the datastore freeSpace.
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="HostCacheConfigurationSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="datastore" type="vsan:ManagedObjectReference"/> <element name="swapSize" type="xsd:long"/> </sequence> </extension> </complexContent> </complexType>