# Enum - VirtualDiskRuleSpecRuleType(vim.storageDrs.VirtualDiskRuleSpec.RuleType)

Since
  vSphere API 6.7

## Enum Description

Rule type determines how the virtual disks in a vm can be grouped together.

Enum Constants

Name | Description
--- | ---
affinity | Virtual disks in the list are grouped together and placed on the same data store.
antiAffinity | Virtual disks in the list are placed on different data stores.
disabled | SDRS will be disabled for the disks in the list.

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VirtualDiskRuleSpecRuleType"> <restriction base="xsd:string"> <enumeration value="affinity"/> <enumeration value="antiAffinity"/> <enumeration value="disabled"/> </restriction> </simpleType>