/// <summary> /// Updates the given recovery plan. /// </summary> /// <remarks> /// The operation to update 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'> /// Update recovery plan input. /// </param> public static RecoveryPlan BeginUpdate(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName, UpdateRecoveryPlanInput input) { return(operations.BeginUpdateAsync(recoveryPlanName, input).GetAwaiter().GetResult()); }