CopyVirtualDiskRequestType

CopyVirtualDiskRequestType
CopyVirtualDiskRequestType

The parameters of CopyVirtualDisk_Task.

JSON Example
{
    "sourceName": "string",
    "sourceDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "destName": "string",
    "destDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "destSpec": {
        "_typeName": "string",
        "diskType": "string",
        "adapterType": "string"
    },
    "force": false
}
string
sourceName
Required

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

sourceDatacenter
Optional

Reference to an instance of the Datacenter managed object.

string
destName
Required

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

destDatacenter
Optional

Reference to an instance of the Datacenter managed object.

destSpec
Optional

Specification used to create or clone a virtual disk

boolean
force
Optional

The force flag is currently ignored. The FileAlreadyExists fault is thrown if the destination file already exists.