VmPodConfigForPlacement

VmPodConfigForPlacement
VmPodConfigForPlacement

Initial VM configuration for the specified pod.

This configuration will be saved to the pod config StorageDrsConfigInfo when the placement recommendations are applied.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "storagePod": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "disk": [
        {
            "_typeName": "string",
            "diskId": 0,
            "diskMoveType": "string",
            "diskBackingInfo": {
                "_typeName": "string"
            },
            "profile": [
                {
                    "_typeName": "string"
                }
            ]
        }
    ],
    "vmConfig": {
        "_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
                ]
            }
        ]
    },
    "interVmRule": [
        {
            "_typeName": "string",
            "key": 0,
            "status": "string",
            "enabled": false,
            "name": "string",
            "mandatory": false,
            "userCreated": false,
            "inCompliance": false,
            "ruleUuid": "string"
        }
    ]
}
storagePod
Required

Reference to an instance of the StoragePod managed object.

disk
Optional

Array of PodDiskLocator objects.

vmConfig
Optional

Storage DRS configuration for a single virtual machine.

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

interVmRule
Optional

The initial interVmRules that should during placement of this virtual machine.

It may not always be possible to specify that the virtual machine being placed is part of the rule because the virtual machine may not have been created yet. So for simplicity, we assume the virtual machine being placed is always implicitly part of any rule specified. It will be explicitly added to the rule before it is saved to the pod config.