MetricsAdvisorAdministrationClient.GetHooks Method

Definition

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

public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook> GetHooks (Azure.AI.MetricsAdvisor.Administration.GetHooksOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHooks : Azure.AI.MetricsAdvisor.Administration.GetHooksOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook>
override this.GetHooks : Azure.AI.MetricsAdvisor.Administration.GetHooksOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook>
Public Overridable Function GetHooks (Optional options As GetHooksOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of NotificationHook)

Parameters

options
GetHooksOptions

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

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Pageable<T> containing the collection of NotificationHooks.

Applies to