/// <summary> /// Get past recommendations for an app, optionally specified by the time /// range. /// </summary> /// <remarks> /// Get past recommendations for an app, optionally specified by the time /// range. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// Name of the resource group to which the resource belongs. /// </param> /// <param name='siteName'> /// Name of the app. /// </param> /// <param name='filter'> /// Filter is specified by using OData syntax. Example: $filter=channels eq /// 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' /// and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq /// duration'[PT1H|PT1M|P1D] /// </param> public static IPage <Recommendation> ListHistoryForWebApp(this IRecommendationsOperations operations, string resourceGroupName, string siteName, string filter = default(string)) { return(operations.ListHistoryForWebAppAsync(resourceGroupName, siteName, filter).GetAwaiter().GetResult()); }