# 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 | clusters are the scope
datastore | individual datastores are the scope
host | individual hosts are the scope
storagePod | datastore cluster is teh scope

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