ContainerRegistryWebhookResource.GetEventsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.