Virtual Machine Create Screenshot Task
Create a screen shot of a virtual machine.
Required privileges: VirtualMachine.Interact.CreateScreenshot
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.2.0 APIs.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}
TaskInProgress: if the virtual machine is busy.
FileFault: if there is a problem with creating or accessing one or more files needed for this operation.
InvalidPowerState: if the virtual machine is not powered on.
InvalidState: if the virtual machine is not ready to respond to such requests.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}