你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RecommendationsOperationsExtensions.ListRecommendedRulesForWebAppAsync 方法

定义

获取应用的所有建议。

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

参数

operations
IRecommendationsOperations

此扩展方法的操作组。

resourceGroupName
String

资源所属的资源组的名称。

siteName
String

应用的名称。

featured
Nullable<Boolean>

指定 <代码>true</code> 以仅返回最关键的建议。 默认值为 <代码>false</code>,返回所有建议。

filter
String

仅返回筛选器中指定的通道。 筛选器是使用 OData 语法指定的。 示例:$filter=channel eq 'Api' or channel eq 'Notification'

cancellationToken
CancellationToken

取消标记。

返回

注解

获取应用的所有建议的说明。

适用于