Share via


ContainerRegistryWebhookResource.GetEventsAsync(CancellationToken) Method

Definition

Lists recent events for the specified webhook.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/listEvents
  • Operation Id: Webhooks_ListEvents
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryWebhookResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent> GetEventsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEventsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
override this.GetEventsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
Public Overridable Function GetEventsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerRegistryWebhookEvent)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ContainerRegistryWebhookEvent that may take multiple service requests to iterate over.

Applies to