StorageDrsVmConfigInfo
Storage DRS configuration for a single virtual machine.
This makes it possible to override the default behavior for an individual virtual machine.
{
"_typeName": "string",
"vm": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"enabled": false,
"behavior": "string",
"intraVmAffinity": false,
"intraVmAntiAffinity": {
"_typeName": "string",
"key": 0,
"status": "string",
"enabled": false,
"name": "string",
"mandatory": false,
"userCreated": false,
"inCompliance": false,
"ruleUuid": "string",
"diskId": [
0
]
},
"virtualDiskRules": [
{
"_typeName": "string",
"key": 0,
"status": "string",
"enabled": false,
"name": "string",
"mandatory": false,
"userCreated": false,
"inCompliance": false,
"ruleUuid": "string",
"diskRuleType": "string",
"diskId": [
0
]
}
]
}
Reference to the virtual machine.
Can be NULL during initial placement.
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 the particular storage DRS behavior for this virtual machine.
For supported values, see StorageDrsPodConfigInfoBehaviorEnum.
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.
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.
List of the virtual disk rules that can be overridden/created.