Compartir a través de


WebhooksOperationsExtensions.GetCallbackConfigAsync Método

Definición

Obtiene la configuración del servicio de URI y los encabezados personalizados del webhook.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.CallbackConfig> GetCallbackConfigAsync (this Microsoft.Azure.Management.ContainerRegistry.IWebhooksOperations operations, string resourceGroupName, string registryName, string webhookName, System.Threading.CancellationToken cancellationToken = default);
static member GetCallbackConfigAsync : Microsoft.Azure.Management.ContainerRegistry.IWebhooksOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.CallbackConfig>
<Extension()>
Public Function GetCallbackConfigAsync (operations As IWebhooksOperations, resourceGroupName As String, registryName As String, webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CallbackConfig)

Parámetros

operations
IWebhooksOperations

Grupo de operaciones para este método de extensión.

resourceGroupName
String

Nombre del grupo de recursos al que pertenece el registro de contenedor.

registryName
String

Nombre del registro de contenedor.

webhookName
String

Nombre del webhook.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a