RecommendationsOperationsExtensions.ListRecommendedRulesForWebAppAsync(IRecommendationsOperations, String, String, Nullable<Boolean>, String, CancellationToken) Method

Definition

Get all recommendations for an app.

public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner>> ListRecommendedRulesForWebAppAsync (this Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations operations, string resourceGroupName, string siteName, Nullable<bool> featured = null, string filter = null, System.Threading.CancellationToken cancellationToken = null);
static member ListRecommendedRulesForWebAppAsync : Microsoft.Azure.Management.AppService.Fluent.IRecommendationsOperations * string * string * Nullable<bool> * 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.

featured
Nullable<Boolean>

Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations.

filter
String

Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification'

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<IList<RecommendationInner>>

Remarks

Get all recommendations for an app.

Applies to