StorageDrsVmConfigInfo

StorageDrsVmConfigInfo
StorageDrsVmConfigInfo

Storage DRS configuration for a single virtual machine.

This makes it possible to override the default behavior for an individual virtual machine.

AllOf
This class requires all of the following:
JSON Example
{
    "_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
            ]
        }
    ]
}
vm
Optional

Reference to an instance of the VirtualMachine managed object.

boolean
enabled
Optional

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.

string
behavior
Optional

Specifies the particular storage DRS behavior for this virtual machine.

For supported values, see StorageDrsPodConfigInfoBehaviorEnum.

boolean
intraVmAffinity
Optional

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
Optional

Pod-wide anit-affinity rule for virtual disks.

The set of virtual disks should be placed on different datastores.

virtualDiskRules
Optional

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