Share via


SuppressionsOperationsExtensions.ListAsync Method

Definition

Retrieves the list of snoozed or dismissed suppressions for a subscription. The snoozed or dismissed attribute of a recommendation is referred to as a suppression.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Advisor.Models.SuppressionContract>> ListAsync (this Microsoft.Azure.Management.Advisor.ISuppressionsOperations operations, int? top = default, string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Advisor.ISuppressionsOperations * Nullable<int> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Advisor.Models.SuppressionContract>>
<Extension()>
Public Function ListAsync (operations As ISuppressionsOperations, Optional top As Nullable(Of Integer) = Nothing, Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SuppressionContract))

Parameters

operations
ISuppressionsOperations

The operations group for this extension method.

top
Nullable<Int32>

The number of suppressions per page if a paged version of this API is being used.

skipToken
String

The page-continuation token to use with a paged version of this API.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to