RecommendationsOperationsExtensions.ListHistoryForWebAppAsync(IRecommendationsOperations, String, String, String, CancellationToken) Method

Definition

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

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner>> ListHistoryForWebAppAsync (this Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations operations, string resourceGroupName, string siteName, string filter = null, System.Threading.CancellationToken cancellationToken = null);
static member ListHistoryForWebAppAsync : Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner>>

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

siteName
String

Name of the app.

filter
String

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]

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IList<RecommendationInner>>

Remarks

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

range.

Applies to