Data Object - StorageDrsVmConfigInfo(vim.storageDrs.VmConfigInfo)

Property of
StorageDrsConfigInfo, StorageDrsVmConfigSpec, VmPodConfigForPlacement
See also
VirtualDiskAntiAffinityRuleSpec, VirtualDiskRuleSpec, VirtualMachine
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.


Name Type Description

Specifies the particular storage DRS behavior for this virtual machine. For supported values, see StorageDrsPodConfigInfoBehavior.

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.


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*VirtualDiskAntiAffinityRuleSpecDeprecated. As of Vsphere.Next

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.

List of the virtual disk rules that can be overridden/created.

Since vSphere API 6.7
to a VirtualMachine

Reference to the virtual machine. Can be NULL during initial placement.
Properties inherited from DynamicData
*Need not be set
Show WSDL type definition