MoveVirtualDiskRequestType

MoveVirtualDiskRequestType
MoveVirtualDiskRequestType

The parameters of MoveVirtualDisk_Task.

JSON Example
{
    "sourceName": "string",
    "sourceDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "destName": "string",
    "destDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "force": false,
    "profile": [
        {
            "_typeName": "string"
        }
    ]
}
string
sourceName
Required

The name of the source, either a datastore path or a URL referring to the virtual disk to be moved.

sourceDatacenter
Optional

If sourceName is a datastore path, the datacenter for that datastore path. Not needed when invoked directly on ESX. If not specified on a call to VirtualCenter, sourceName must be a URL.

string
destName
Required

The name of the destination, either a datastore path or a URL referring to the destination virtual disk.

destDatacenter
Optional

If destName is a datastore path, the datacenter for that datastore path. Not needed when invoked directly on ESX. If not specified on a call to VirtualCenter, it is assumed that the destination path belongs to the source datacenter.

boolean
force
Optional

If true, overwrite any indentically named disk at the destination. If not specified, it is assumed to be false

profile
Optional

User can specify new set of profile when moving virtual disk.