Recovery Plan This section covers the interfaces to recovery plans. RecoveryPlanGetInfoThis method retrieves status information about a given recovery plan, including the name of the recovery plan and its current state. RecoveryPlanGetPeerThis method retrieves a recovery plan peer, which is the plan at the paired site rather than at the local site. StartThis method starts or reconfigures the given recovery plan, or tests and cleans it up, depending on the mode specified. This 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. You must use the UI, not the API, to initiate forced failover. It requires complicated set‐up and validation steps.StartExThis method starts or reconfigures the given recovery plan, or tests and cleans it up, depending on the mode specified.CancelThis method cancels this recovery plan. It can take some time to cancel a recovery plan depending on its state. This 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. ListPromptsThis method lists the current prompts that are waiting on user input. Prompts appear in the order in which virtual machines are scheduled to power on.AnswerPromptThis 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. RecoveryPlanGetParentFolderGets the parent folder (or root) for a recovery plan. GetRecoverySettingsGets the recovery settings for the specified virtual machine. SetRecoverySettingsUpdates the virtual machines’ Recovery Settings. This method updates the specified virtual machine's Recovery Settings with values contained in the supplied RecoverySettings object. This class modifies the recovery settings available through the external API. The VmIpCustomization data object allows user to configure the IP address and corresponding DNS, WINS of the virtual machine, after the migration is complete. You can disable IP customization by setting VmIpCustomization to nullptr or by not setting IpCustomizationSpecMapping within VmIpCustomization. AddProtectionGroupAdds a protection group to the recovery plan.AddTestNetworkMappingToRecoveryPlanThe AddTestNetworkMappingToRecoveryPlan method adds or updates a test network mapping to a recovery plan. RemoveTestNetworkMappingFromRecoveryPlanThe RemoveTestNetworkMappingFromRecoveryPlan method removes a test network mapping from a recovery plan. RemoveProtectionGroupFromRecoveryPlanThe RemoveProtectionGroupFromRecoveryPlan method removes a protection group from a recovery plan. RecoveryPlanGetLocationThe RecoveryPlanGetLocation method checks whether the recovery plan is hosted locally or on the paired site. RecoveryPlanHasRunningTaskThe RecoveryPlanHasRunningTask method checks whether there is a task that is associated with the recovery plan. Parent topic: Logical Usage Order - Site Recovery Manager API