次の方法で共有


AppServiceEnvironmentResource.GetHistoryForHostingEnvironmentRecommendations メソッド

定義

[アプリの過去の推奨事項を取得する] の説明(必要に応じて時間範囲で指定)。

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

パラメーター

expiredOnly
Nullable<Boolean>

すべての推奨事項を返すコード>false</code> を指定<します。 既定値は <コード>true</code> で、期限切れの推奨事項のみを返します。

filter
String

フィルターは、OData 構文を使用して指定します。 例: $filter=channel 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

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

戻り値

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

適用対象