/// <summary> /// Disables the specified rule so it will not apply to a subscription in the /// future. /// </summary> /// <remarks> /// Disables the specified rule so it will not apply to a subscription in the /// future. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='name'> /// Rule name /// </param> public static void DisableRecommendationForSubscription(this IRecommendationsOperations operations, string name) { operations.DisableRecommendationForSubscriptionAsync(name).GetAwaiter().GetResult(); }