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

Property of
  StorageDrsVmConfigInfo
Extends
  ClusterRuleInfo
Since
  vSphere API 5.0

## Data Object Description

Pod-wide anit-affinity rule for virtual disks. The set of virtual disks should be placed on different datastores.

Properties

Name | Type | Description
--- | --- | ---
diskId | xsd:int[] | The list of virtual disks.
Properties inherited from ClusterRuleInfo
enabled, inCompliance, key, mandatory, name, ruleUuid, status, userCreated
Properties inherited from DynamicData
None

Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskAntiAffinityRuleSpec"> <complexContent> <extension base="vsan:ClusterRuleInfo"> <sequence> <element name="diskId" type="xsd:int" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>