# Data Object - PlacementAffinityRule

Property of
  PlacementRankSpec
Extends
  DynamicData
See also
  VirtualMachine
Since
  vSphere API 6.0

## Data Object Description

Properties

Name | Type | Description
--- | --- | ---
keys* | xsd:string[] |
ruleScope | xsd:string |
ruleType | xsd:string |
vms* | ManagedObjectReference[] to a VirtualMachine[] |
Properties inherited from DynamicData
None

*Need not be set