MetricsAdvisorAdministrationClient.GetHooksAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
abstract member GetHooksAsync : Azure.AI.MetricsAdvisor.Administration.GetHooksOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook>
override this.GetHooksAsync : Azure.AI.MetricsAdvisor.Administration.GetHooksOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.MetricsAdvisor.Administration.NotificationHook>
Public Overridable Function GetHooksAsync (Optional options As GetHooksOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(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
An AsyncPageable<T> containing the collection of NotificationHooks.