Dela via


WebhooksOperationsExtensions.ListEventsAsync Method

Definition

Lists recent events for the specified webhook.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.EventModel>> ListEventsAsync (this Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations operations, string resourceGroupName, string registryName, string webhookName, System.Threading.CancellationToken cancellationToken = default);
static member ListEventsAsync : Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhooksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ContainerRegistry.Fluent.Models.EventModel>>
<Extension()>
Public Function ListEventsAsync (operations As IWebhooksOperations, resourceGroupName As String, registryName As String, webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of EventModel))

Parameters

operations
IWebhooksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

webhookName
String

The name of the webhook.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to