Share via


RecommendationsOperationsExtensions.ListRecommendedRulesForWebAppAsync Method

Definition

Get all recommendations for an app.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Recommendation>> ListRecommendedRulesForWebAppAsync (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string siteName, bool? featured = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
static member ListRecommendedRulesForWebAppAsync : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Recommendation>>
<Extension()>
Public Function ListRecommendedRulesForWebAppAsync (operations As IRecommendationsOperations, resourceGroupName As String, siteName As String, Optional featured As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Recommendation))

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=channel eq 'Api' or channel eq 'Notification'

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get all recommendations for an app.

Applies to