CopyDatastoreFileRequestType

CopyDatastoreFileRequestType
CopyDatastoreFileRequestType

The parameters of CopyDatastoreFile_Task.

JSON Example
{
    "sourceName": "string",
    "sourceDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "destinationName": "string",
    "destinationDatacenter": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    },
    "force": false
}
string
sourceName
Required

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

sourceDatacenter
Optional

Reference to an instance of the Datacenter managed object.

string
destinationName
Required

The name of the destination, either a URL or a datastore path referring to the destination file or folder.

destinationDatacenter
Optional

Reference to an instance of the Datacenter managed object.

boolean
force
Optional

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