/// <summary> /// Deletes the specified recovery plan. /// </summary> /// <remarks> /// Delete a recovery plan. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='recoveryPlanName'> /// Recovery plan name. /// </param> public static void BeginDelete(this IReplicationRecoveryPlansOperations operations, string recoveryPlanName) { operations.BeginDeleteAsync(recoveryPlanName).GetAwaiter().GetResult(); }