Partilhar via


WebhooksOperationsExtensions.BeginCreateAsync Método

Definição

Cria um webhook para um registro de contêiner com os parâmetros especificados.

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

Parâmetros

operations
IWebhooksOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos ao qual o registro de contêiner pertence.

registryName
String

O nome do registro de contêiner.

webhookName
String

O nome do webhook.

webhookCreateParameters
WebhookCreateParametersInner

Os parâmetros para criar um webhook.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a