IWebhookOperations.GetAsync(String, CancellationToken) Method

Definition

Gets the properties of the specified webhook.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhook> GetAsync (string webhookName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerRegistry.Fluent.IWebhook>
Public Function GetAsync (webhookName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IWebhook)

Parameters

webhookName
System.String

The name of the webhook.

cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IWebhook>

Applies to