다음을 통해 공유


IRecommendationsOperations.ListWithHttpMessagesAsync 메서드

정의

구독에 대한 모든 권장 사항을 나열합니다.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner>>> ListWithHttpMessagesAsync (bool? featured = default, string filter = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : Nullable<bool> * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.AppService.Fluent.Models.RecommendationInner>>>
Public Function ListWithHttpMessagesAsync (Optional featured As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of RecommendationInner)))

매개 변수

featured
Nullable<Boolean>

가장 중요한 권장 사항만 반환하도록 코드>true</코드를> 지정<합니다. 기본값은 <모든 권장 사항을 반환하는 코드>false</코드>입니다.

filter
String

필터는 OData 구문을 사용하여 지정됩니다. 예: $filter=channel eq 'Api' 또는 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]

customHeaders
Dictionary<String,List<String>>

요청에 추가할 헤더입니다.

cancellationToken
CancellationToken

취소 토큰입니다.

반환

예외

작업이 잘못된 상태 코드를 반환할 때 throw됨

응답을 역직렬화할 수 없는 경우 throw됨

필수 매개 변수가 null일 때 throw됨

설명

구독에 대한 모든 권장 사항 나열에 대한 설명입니다.

적용 대상