Path: / v310 / vm / {vmId} / relocate

Path parameters:
vmId -

Method Summary
ResourceDescription
PUT /v310/vm/{vmId}/relocateRelocate a virtual machine to another datastore. The operation is asynchronous. Use the Task object to track the progress. This API is only available to TGC clients.

Method Detail
HTTP Example:
PUT /v310/vm/{vmId}/relocate

API Example:

VirtualMachineResource.relocate({'vmId': /* tintriUuid */,
  '$entity': /* spec */});

Description:
Relocate a virtual machine to another datastore. The operation is asynchronous. Use the Task object to track the progress. This API is only available to TGC clients.
Since API version
v310.41
Tintri Api Server Support:
All
Input:
VirtualMachineRelocateSpec
Output:
Task - Task object that can be used to track the progress of the operation.
Errors:
Error CodeMessageHTTP Response Code
ERR-API-3119Failed to relocate virtual machine.500
ERR-API-3212Invalid relocate request.400
ERR-API-0126Connection error.500
Produces:
application/json;qs=1, application/xml;qs=0.5
Consumes:
application/json;qs=1, application/xml;qs=0.5