MetricsAdvisorAdministrationClient.GetHooks 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.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET