StorageDrsPodSelectionSpec

StorageDrsPodSelectionSpec
StorageDrsPodSelectionSpec

Specification for moving or copying a virtual machine to a different Storage Pod.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "initialVmConfig": [
        {
            "_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": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
initialVmConfig
Optional

An optional list that allows specifying the storage pod location for each virtual disk and the VM configurations and overrides to be used during placement.

storagePod
Optional

Reference to an instance of the StoragePod managed object.