Freigeben über


WebhooksOperationsExtensions.PingAsync Methode

Definition

Löst ein Pingereignis aus, das an den Webhook gesendet werden muss.

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

Parameter

operations
IWebhooksOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe, zu der die Containerregistrierung gehört.

registryName
String

Der Name der Containerregistrierung.

webhookName
String

Der Name des Webhooks.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: