다음을 통해 공유


ContainerRegistryWebhookResource.GetEvents(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.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent> GetEvents (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEvents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
override this.GetEvents : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEvent>
Public Overridable Function GetEvents (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContainerRegistryWebhookEvent)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to