# Data Object - StorageDrsVmConfigInfo(vim.storageDrs.VmConfigInfo)

Property of
  StorageDrsConfigInfo, StorageDrsVmConfigSpec, VmPodConfigForPlacement
Extends
  DynamicData
See also
  VirtualDiskAntiAffinityRuleSpec, VirtualDiskRuleSpec, VirtualMachine
Since
  vSphere API 5.0

## Data Object Description

Storage DRS configuration for a single virtual machine. This makes it possible to override the default behavior for an individual virtual machine.

Properties

Name | Type | Description
--- | --- | ---
behavior* | xsd:string | Specifies the particular storage DRS behavior for this virtual machine. For supported values, see StorageDrsPodConfigInfoBehavior.
enabled* | xsd:boolean | Flag to indicate whether or not VirtualCenter is allowed to perform any storage migration or initial placement recommendations for this virtual machine on the pod StoragePod. If this flag is false, the virtual machine is effectively excluded from storage DRS. If no individual DRS specification exists for a virtual machine, this property defaults to true.
intraVmAffinity* | xsd:boolean | Specifies whether or not to have the affinity rule for the virtual disks of this virtual machine. If not set, the default value is derived from the pod-wide default defaultIntraVmAffinity.
intraVmAntiAffinity* | VirtualDiskAntiAffinityRuleSpec | Deprecated. As of vSphere API 7.0 Specifies the disks for this virtual machine that should be placed on different datastores. A VM cannot have both an affinity and an anti-affinity rule at the same time. Virtual machine disks that are not in this rule are unconstrained and can be placed either on the same datastore or on a different datastore as other disks from this virtual machine.
virtualDiskRules* | VirtualDiskRuleSpec[] | List of the virtual disk rules that can be overridden/created. Since vSphere API 6.7
vm* | ManagedObjectReference to a VirtualMachine | Reference to the virtual machine. Can be NULL during initial placement.
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="StorageDrsVmConfigInfo"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="vm" type="vsan:ManagedObjectReference" minOccurs="0"/> <element name="enabled" type="xsd:boolean" minOccurs="0"/> <element name="behavior" type="xsd:string" minOccurs="0"/> <element name="intraVmAffinity" type="xsd:boolean" minOccurs="0"/> <element name="intraVmAntiAffinity" type="vsan:VirtualDiskAntiAffinityRuleSpec" minOccurs="0"/> <element name="virtualDiskRules" type="vsan:VirtualDiskRuleSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>