# Enum - AffinityType(vim.fault.AffinityConfigured.Affinity)

Since
  2.0

## Enum Description

Types of affinities.

Enum Constants

Name | Description
--- | ---
cpu |
memory |

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="AffinityType"> <restriction base="xsd:string"> <enumeration value="memory"/> <enumeration value="cpu"/> </restriction> </simpleType>