Virtual Machine Export Vm
Obtains an export lease on this virtual machine.
The export lease contains a list of URLs for the virtual disks for this virtual machine, as well as a ticket giving access to the URLs.
See HttpNfcLease for information on how to use the lease.
Required privileges: VApp.Export
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
The export lease on this VirtualMachine. The export task continues running until the lease is completed by the caller.
{
"_typeName": "string",
"type": "string",
"value": "string"
}
InvalidPowerState: if the virtual machine is powered on.
TaskInProgress: if the virtual machine is busy.
InvalidState: if the operation cannot be performed because of the virtual machine's current state. For example, if the virtual machine configuration information is not available.
FileFault: if there is an error accessing the virtual machine files.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}