MoveDatastoreFileRequestType
The parameters of MoveDatastoreFile_Task.
{
"sourceName": "string",
"sourceDatacenter": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"destinationName": "string",
"destinationDatacenter": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"force": false
}
The name of the source, either a URL or a datastore path referring to the file or folder to be moved.
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.
Required privileges: System.View
The name of the destination, either a URL or a datastore path referring to the destination file or folder.
If destinationName
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.
Required privileges: System.View
If true, overwrite any identically named file at the destination. If not specified, it is assumed to be false.