def list_history_for_web_app_with_http_info(resource_group_name, site_name, expired_only:nil, filter:nil, custom_headers:nil)
      list_history_for_web_app_async(resource_group_name, site_name, expired_only:expired_only, filter:filter, custom_headers:custom_headers).value!
    end
def list_history_for_web_app_with_http_info(resource_group_name, site_name, expired_only:nil, filter:nil, custom_headers:nil)
      list_history_for_web_app_async(resource_group_name, site_name, expired_only:expired_only, filter:filter, custom_headers:custom_headers).value!
    end
Get past recommendations for an app, optionally specified by the time range.

 Get past recommendations for an app, optionally specified by the time range.

 @param resource_group_name [String] Name of the resource group to which the
 resource belongs.
 @param site_name [String] Name of the app.
 @param expired_only [Boolean] Specify <code>false</code> to return all
 recommendations. The default is <code>true</code>, which returns only expired
 recommendations.
 @param filter [String] Filter is specified by using OData syntax. Example:
 $filter=channel 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 custom_headers [Hash{String => String}] A hash of custom headers that
 will be added to the HTTP request.

 @return [MsRestAzure::AzureOperationResponse] HTTP response information.