# Data Object - VirtualMachineAffinityInfo(vim.vm.AffinityInfo)

Property of
  VirtualMachineConfigInfo, VirtualMachineConfigSpec
Extends
  DynamicData
Since
  2.0

## Data Object Description

Specification of scheduling affinity.

Scheduling affinity is used for explicitly specifying which processors or NUMA nodes may be used by a virtual machine.

Properties

Name | Type | Description
--- | --- | ---
affinitySet* | xsd:int[] | List of nodes (processors for CPU, NUMA nodes for memory) that may be used by the virtual machine. If the array is empty when modifying the affinity setting, then any existing affinity is removed.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualMachineAffinityInfo"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="affinitySet" type="xsd:int" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>