# Enum - PlacementAffinityRuleRuleScope(vim.storageDrs.PlacementAffinityRule.RuleScope)

Since
  vSphere API 6.0

## Enum Description

Rule scope determines conditions when an affinity rule is satisfied. The following uses affinity rule as example. cluster: All Vms in the rule list are placed in a single cluster. host: All Vms in the rule list are placed in a single host. storagePod: All Vms in the rule list are placed in a single storagePod. datastore: All Vms in the rule list are placed in a single datastore.

Enum Constants

Name | Description
--- | ---
cluster |
datastore |
host |
storagePod |

Show WSDL type definition
<simpleType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="PlacementAffinityRuleRuleScope"> <restriction base="xsd:string"> <enumeration value="cluster"/> <enumeration value="host"/> <enumeration value="storagePod"/> <enumeration value="datastore"/> </restriction> </simpleType>