ภาษา

ContainerRegistryWebhookResource.GetAsync(CancellationToken) Method

Definition

Gets the properties of the specified webhook.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}.
  • Operation Id. : Webhooks_Get.
  • Default Api Version. : 2026-09-01-preview.
  • Resource. : ContainerRegistryWebhookResource.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>> GetAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>>
override this.GetAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerRegistry.ContainerRegistryWebhookResource>>
Public Overridable Function GetAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerRegistryWebhookResource))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to