Virtual Machine Answer VM
Responds to a question that is blocking this virtual machine.
Required privileges: VirtualMachine.Interact.AnswerQuestion
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.
"AnswerVMRequestType Object"
The value from QuestionInfo.id that identifies the question to answer.
The contents of the QuestionInfo.choice.value array element that identifies the desired answer.
No Content
InvalidArgument: if the questionId does not apply to this virtual machine. For example, this can happen if another client already answered the message.
ConcurrentAccess: if the question has been or is being answered by another thread or user.
"ConcurrentAccess Object"
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/VirtualMachine/{moId}/AnswerVM