다음을 통해 공유


ContainerRegistryWebhookResource.Ping(CancellationToken) Method

Definition

Triggers a ping event to be sent to the webhook.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/webhooks/{webhookName}/ping
  • Operation Id: Webhooks_Ping
  • Default Api Version: 2022-12-01
  • Resource: ContainerRegistryWebhookResource
public virtual Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventInfo> Ping (System.Threading.CancellationToken cancellationToken = default);
abstract member Ping : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventInfo>
override this.Ping : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventInfo>
Public Overridable Function Ping (Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerRegistryWebhookEventInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to