Share via


ContainerRegistryWebhookResource.GetCallbackConfigAsync Method

Definition

Gets the configuration of service URI and custom headers for the webhook.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to