AnswerPrompt
This method answers the current prompt being displayed in a recovery plan. The operation requires one of these privileges depending on recovery mode, VcDr.RecoveryProfile.com.vmware.vcDr.Failover for a real recovery and VcDr.RecoveryProfile.com.vmware.vcDr.Run for a test recovery.
Synopsis
void answerPrompt(String key, boolean cancelVmRecovery, @optional String response)
key is a string with the key value from the recovery prompt.
cancelVmRecovery is true if you want to halt further processing on this virtual machine, false otherwise.
response is a response to the prompt that will be recorded.
Faults
- InvalidState, if the recovery plan is not running.
- PromptNotFound, if no prompt with that key exists.
- RuntimeFault
Example for AnswerPrompt
void _service.AnswerPrompt(_srm.plan, key, cancel, response);