/// <summary>
 /// Execute unplanned failover of the recovery plan.
 /// </summary>
 /// <remarks>
 /// The operation to start the unplanned failover of a recovery plan.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='recoveryPlanName'>
 /// Recovery plan name.
 /// </param>
 /// <param name='input'>
 /// Recovery plan unplanned failover input.
 /// </param>
 public static RecoveryPlan UnplannedFailover(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName, RecoveryPlanUnplannedFailoverInput input)
 {
     return(operations.UnplannedFailoverAsync(recoveryPlanName, input).GetAwaiter().GetResult());
 }