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
]
}
]
}
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.
Pod-wide anit-affinity rule for virtual disks.
The set of virtual disks should be placed on different datastores.
List of the virtual disk rules that can be overridden/created.