MetricsAdvisorAdministrationClient.GetDetectionConfigurations Method

Definition

Gets a collection of items describing the existing AnomalyDetectionConfigurations in this Metrics Advisor resource.

public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration> GetDetectionConfigurations (string metricId, Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDetectionConfigurations : string * Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>
override this.GetDetectionConfigurations : string * Azure.AI.MetricsAdvisor.Administration.GetDetectionConfigurationsOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration>
Public Overridable Function GetDetectionConfigurations (metricId As String, Optional options As GetDetectionConfigurationsOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AnomalyDetectionConfiguration)

Parameters

metricId
String

Filters the result. The unique identifier of the metric to which the returned AnomalyDetectionConfigurations apply.

options
GetDetectionConfigurationsOptions

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 AnomalyDetectionConfigurations.

Exceptions

metricId is null.

metricId is empty or not a valid GUID.

Applies to