次の方法で共有


WebSiteResource.GetRecommendedRulesForWebAppRecommendationsAsync メソッド

定義

「アプリのすべての推奨事項を取得する」の説明。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/recommendations
  • 操作IdRecommendations_ListRecommendedRulesForWebApp
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation> GetRecommendedRulesForWebAppRecommendationsAsync (bool? featured = default, string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecommendedRulesForWebAppRecommendationsAsync : Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation>
override this.GetRecommendedRulesForWebAppRecommendationsAsync : Nullable<bool> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppServiceRecommendation>
Public Overridable Function GetRecommendedRulesForWebAppRecommendationsAsync (Optional featured As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppServiceRecommendation)

パラメーター

featured
Nullable<Boolean>

最も重要な推奨事項のみを返すコード>true</code> を指定<します。 既定値は <、すべての推奨事項を返すコード>false</code> です。

filter
String

フィルターで指定されたチャネルのみを返します。 フィルターは、OData 構文を使用して指定します。 例: $filter=channel eq 'Api' またはチャネル eq 'Notification'。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

反復処理するために複数の AppServiceRecommendation サービス要求を受け取る可能性がある の非同期コレクション。

適用対象