VM_RelocateSpec

VM_RelocateSpec
VM_RelocateSpec

Document-based relocate spec.

JSON Example
{
    "placement": {
        "folder": "string",
        "resource_pool": "string",
        "host": "string",
        "cluster": "string",
        "datastore": "string"
    },
    "disks": {
        "disks": {
            "datastore": "string"
        }
    }
}
placement
Optional

The VM.RelocatePlacementSpec structure contains information used to change the placement of an existing virtual machine within the vCenter inventory.

object
disks
Optional

Individual disk relocation map. If unset, all disks will migrate to the datastore specified in the VM.RelocatePlacementSpec.datastore field of VM.RelocateSpec.placement. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.vcenter.vm.hardware.Disk.