MetricsAdvisorClient.GetMetricEnrichedSeriesData 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.
Query series enriched by anomaly detection.
public virtual Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricEnrichedSeriesData> GetMetricEnrichedSeriesData (string detectionConfigurationId, System.Collections.Generic.IEnumerable<Azure.AI.MetricsAdvisor.Models.DimensionKey> seriesKeys, DateTimeOffset startsOn, DateTimeOffset endsOn, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMetricEnrichedSeriesData : string * seq<Azure.AI.MetricsAdvisor.Models.DimensionKey> * DateTimeOffset * DateTimeOffset * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricEnrichedSeriesData>
override this.GetMetricEnrichedSeriesData : string * seq<Azure.AI.MetricsAdvisor.Models.DimensionKey> * DateTimeOffset * DateTimeOffset * System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.MetricsAdvisor.Models.MetricEnrichedSeriesData>
Public Overridable Function GetMetricEnrichedSeriesData (detectionConfigurationId As String, seriesKeys As IEnumerable(Of DimensionKey), startsOn As DateTimeOffset, endsOn As DateTimeOffset, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of MetricEnrichedSeriesData)
Parameters
- detectionConfigurationId
- String
The unique identifier of the AnomalyAlertConfiguration.
- seriesKeys
- IEnumerable<DimensionKey>
Filters the result by time series. Each element in this enumerable represents a single time series, and only anomalies detected in one of these series will be returned. For every element, all possible dimensions must be set.
- startsOn
- DateTimeOffset
Filters the result. Only data points after this point in time, in UTC, will be returned.
- endsOn
- DateTimeOffset
Filters the result. Only data points after this point in time, in UTC, will be returned.
- cancellationToken
- CancellationToken
A CancellationToken controlling the request lifetime.
Returns
An Pageable<T> containing the collection of MetricEnrichedSeriesDatas.
Exceptions
detectionConfigurationId
or seriesKeys
is null.
detectionConfigurationId
is empty or not a valid GUID.
Applies to
Azure SDK for .NET