Dela via


RecommendationsOperationsExtensions.ListAsync Metod

Definition

Visa en lista över alla rekommendationer för en prenumeration.

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

Parametrar

operations
IRecommendationsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

featured
Nullable<Boolean>

Ange <koden>true</code> för att endast returnera de mest kritiska rekommendationerna. Standardvärdet är <falskt></kod>, vilket returnerar alla rekommendationer.

filter
String

Filtret anges med OData-syntax. Exempel: $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

Annulleringstoken.

Returer

Kommentarer

Beskrivning för Lista alla rekommendationer för en prenumeration.

Gäller för