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.
{
"questionId": "string",
"answerChoice": "string"
}
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.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}