/// <summary> /// Execute test failover cleanup of the recovery plan. /// </summary> /// <remarks> /// The operation to cleanup test 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 test failover cleanup input. /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <RecoveryPlan> TestFailoverCleanupAsync(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName, RecoveryPlanTestFailoverCleanupInput input, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.TestFailoverCleanupWithHttpMessagesAsync(recoveryPlanName, input, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }