CopyVirtualDiskRequestType
The parameters of CopyVirtualDisk_Task.
{
"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
}
The name of the source, either a datastore path or a URL referring to the virtual disk to be copied.
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.
The name of the destination, either a datastore path or a URL referring to the virtual disk to be created.
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.
The specification of the virtual disk to be created. If not specified, a preallocated format and busLogic adapter type is assumed.
The force flag is currently ignored. The FileAlreadyExists fault is thrown if the destination file already exists.