# Data Object - PlacementRankSpec(vim.storageDrs.PlacementRankSpec)

Extends
  DynamicData
See also
  ClusterComputeResource, PlacementAffinityRule, PlacementSpec, StorageDrsPlacementRankVmSpec
Since
  vSphere API 6.0

## Data Object Description

PlacementRankSpec encapsulates all of the inputs passed to the RankForPlacement method.

Properties

Name | Type | Description
--- | --- | ---
clusters | ManagedObjectReference[] to a ClusterComputeResource[] | List of candidate clusters for the placement request
placementRankByVm* | StorageDrsPlacementRankVmSpec[] | List of preferred clusters for individual VM placement requests
rules* | PlacementAffinityRule[] | List of affinity rules for the placement request
specs | PlacementSpec[] | List of VM placement specifications for ranking clusters
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="PlacementRankSpec"> <complexContent> <extension base="vim25:DynamicData"> <sequence> <element name="specs" type="vim25:PlacementSpec" maxOccurs="unbounded"/> <element name="clusters" type="vim25:ManagedObjectReference" maxOccurs="unbounded"/> <element name="rules" type="vim25:PlacementAffinityRule" minOccurs="0" maxOccurs="unbounded"/> <element name="placementRankByVm" type="vim25:StorageDrsPlacementRankVmSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>