다음을 통해 공유


EventCategoriesOperationsExtensions.ListAsync Method

Definition

Get the list of available event categories supported in the Activity Logs Service.<br>The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Monitor.Models.LocalizableString>> ListAsync (this Microsoft.Azure.Management.Monitor.IEventCategoriesOperations operations, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Monitor.IEventCategoriesOperations * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Monitor.Models.LocalizableString>>
<Extension()>
Public Function ListAsync (operations As IEventCategoriesOperations, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of LocalizableString))

Parameters

operations
IEventCategoriesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to