Share via


MetricsAdvisorClient.GetAnomalyDimensionValues Method

Definition

Gets all the values a specified dimension has assumed for anomalous data points detected by a AnomalyAlertConfiguration.

public virtual Azure.Pageable<string> GetAnomalyDimensionValues (string detectionConfigurationId, string dimensionName, Azure.AI.MetricsAdvisor.GetAnomalyDimensionValuesOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAnomalyDimensionValues : string * string * Azure.AI.MetricsAdvisor.GetAnomalyDimensionValuesOptions * System.Threading.CancellationToken -> Azure.Pageable<string>
override this.GetAnomalyDimensionValues : string * string * Azure.AI.MetricsAdvisor.GetAnomalyDimensionValuesOptions * System.Threading.CancellationToken -> Azure.Pageable<string>
Public Overridable Function GetAnomalyDimensionValues (detectionConfigurationId As String, dimensionName As String, options As GetAnomalyDimensionValuesOptions, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of String)

Parameters

detectionConfigurationId
String

The unique identifier of the AnomalyAlertConfiguration.

dimensionName
String

The name of the dimension.

options
GetAnomalyDimensionValuesOptions

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

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Pageable<T> containing the values the specified dimension assumed for anomalous data points. Items are unique.

Exceptions

detectionConfigurationId, dimensionName, or options is null.

detectionConfigurationId or dimensionName is empty; or detectionConfigurationId is not a valid GUID.

Applies to