# 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:vsan="urn:vsan" name="PlacementRankSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="specs" type="vsan:PlacementSpec" maxOccurs="unbounded"/> <element name="clusters" type="vsan:ManagedObjectReference" maxOccurs="unbounded"/> <element name="rules" type="vsan:PlacementAffinityRule" minOccurs="0" maxOccurs="unbounded"/> <element name="placementRankByVm" type="vsan:StorageDrsPlacementRankVmSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>