WebhooksOperationsExtensions.BeginCreateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un webhook pour un registre de conteneurs avec les paramètres spécifiés.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Webhook> BeginCreateAsync(this Microsoft.Azure.Management.ContainerRegistry.IWebhooksOperations operations, string resourceGroupName, string registryName, string webhookName, Microsoft.Azure.Management.ContainerRegistry.Models.WebhookCreateParameters webhookCreateParameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateAsync : Microsoft.Azure.Management.ContainerRegistry.IWebhooksOperations * string * string * string * Microsoft.Azure.Management.ContainerRegistry.Models.WebhookCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Models.Webhook>
<Extension()>
Public Function BeginCreateAsync (operations As IWebhooksOperations, resourceGroupName As String, registryName As String, webhookName As String, webhookCreateParameters As WebhookCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Webhook)
Paramètres
- operations
- IWebhooksOperations
Groupe d’opérations pour cette méthode d’extension.
- resourceGroupName
- String
Nom du groupe de ressources auquel appartient le registre de conteneurs.
- registryName
- String
Nom du registre de conteneurs.
- webhookName
- String
Nom du webhook.
- webhookCreateParameters
- WebhookCreateParameters
Paramètres de création d’un webhook.
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
S’applique à
Azure SDK for .NET