Share via


MetricsAdvisorAdministrationClient.GetHooksAsync Method

Definition

Gets a collection of items describing the existing NotificationHooks in this resource.

public virtual Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook> GetHooksAsync(Azure.AI.MetricsAdvisor.Administration.GetHooksOptions options = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

options
GetHooksOptions

An optional set of options used to configure the request's behavior.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An AsyncPageable<T> containing the collection of NotificationHooks.

Applies to