Delen via


MetricAnomalyAlertScope.CreateScopeForSeriesGroup(DimensionKey) Method

Definition

Creates a MetricAnomalyAlertScope instance that has a fixed group of time series as the scope.

public static Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope CreateScopeForSeriesGroup (Azure.AI.MetricsAdvisor.Models.DimensionKey seriesGroupKey);
static member CreateScopeForSeriesGroup : Azure.AI.MetricsAdvisor.Models.DimensionKey -> Azure.AI.MetricsAdvisor.Models.MetricAnomalyAlertScope
Public Shared Function CreateScopeForSeriesGroup (seriesGroupKey As DimensionKey) As MetricAnomalyAlertScope

Parameters

seriesGroupKey
DimensionKey

Defines the set of time series included in this scope. If all possible dimensions are set, the key uniquely identifies a single time series for the corresponding metric. If only a subset of dimensions are set, the key uniquely identifies a group of time series.

Returns

A new MetricAnomalyAlertScope instance.

Exceptions

seriesGroupKey is null.

Applies to