ContainerRegistryWebhookResource.GetCallbackConfigAsync 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.
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.