public final class AnomalyDetectionConfiguration extends Object
Constructor and Description |
---|
AnomalyDetectionConfiguration(String name)
Create a new instance of MetricAnomalyDetectionConfiguration.
|
Modifier and Type | Method and Description |
---|---|
AnomalyDetectionConfiguration |
addSeriesGroupDetectionCondition(MetricSeriesGroupDetectionCondition groupCondition)
Adds anomaly detection condition for a specific group of time series.
|
AnomalyDetectionConfiguration |
addSingleSeriesDetectionCondition(MetricSingleSeriesDetectionCondition seriesCondition)
Adds anomaly detection condition for a specific time series.
|
String |
getDescription()
Gets the configuration description.
|
String |
getId()
Gets the configuration id.
|
String |
getMetricId()
Gets the id of metric for which the configuration is applied.
|
String |
getName()
Gets the configuration name.
|
List<MetricSingleSeriesDetectionCondition> |
getSeriesDetectionConditions()
Gets the list of anomaly detection conditions, where each list entry describes
detection conditions for a specific time series.
|
List<MetricSeriesGroupDetectionCondition> |
getSeriesGroupDetectionConditions()
Gets the list of anomaly detection conditions, where each list entry describes
detection conditions for a group of time series.
|
MetricWholeSeriesDetectionCondition |
getWholeSeriesDetectionCondition()
Gets the common anomaly detection conditions for all time series in the metric.
|
AnomalyDetectionConfiguration |
removeSeriesGroupDetectionCondition(DimensionKey seriesGroupKey)
Removes anomaly detection condition for a specific group of time series.
|
AnomalyDetectionConfiguration |
removeSingleSeriesDetectionCondition(DimensionKey seriesKey)
Removes anomaly detection condition for a specific time series.
|
AnomalyDetectionConfiguration |
setDescription(String description)
Sets the configuration description.
|
AnomalyDetectionConfiguration |
setName(String name)
Sets the configuration name.
|
AnomalyDetectionConfiguration |
setWholeSeriesDetectionCondition(MetricWholeSeriesDetectionCondition wholeSeriesCondition)
Sets the common anomaly detection conditions for all time series of the metric.
|
public AnomalyDetectionConfiguration(String name)
name
- The configuration name.public String getId()
public String getMetricId()
public String getName()
public String getDescription()
public MetricWholeSeriesDetectionCondition getWholeSeriesDetectionCondition()
public List<MetricSeriesGroupDetectionCondition> getSeriesGroupDetectionConditions()
public List<MetricSingleSeriesDetectionCondition> getSeriesDetectionConditions()
public AnomalyDetectionConfiguration setName(String name)
name
- The configuration name.public AnomalyDetectionConfiguration setDescription(String description)
description
- The configuration description.public AnomalyDetectionConfiguration setWholeSeriesDetectionCondition(MetricWholeSeriesDetectionCondition wholeSeriesCondition)
wholeSeriesCondition
- The detection conditions for all time series,
a null
value for this parameter is ignored.public AnomalyDetectionConfiguration addSeriesGroupDetectionCondition(MetricSeriesGroupDetectionCondition groupCondition)
groupCondition
- The detection conditions for a group of time series,
a null
value for this parameter is ignored.public AnomalyDetectionConfiguration removeSeriesGroupDetectionCondition(DimensionKey seriesGroupKey)
seriesGroupKey
- Identifies the time series group to remove the conditions for,
null
value for this parameter is ignored.public AnomalyDetectionConfiguration addSingleSeriesDetectionCondition(MetricSingleSeriesDetectionCondition seriesCondition)
seriesCondition
- The detection conditions for a specific time series,
a null
value for this parameter is ignored.public AnomalyDetectionConfiguration removeSingleSeriesDetectionCondition(DimensionKey seriesKey)
seriesKey
- The key identifying the time series,
a null
value for this parameter is ignored.Copyright © 2021 Microsoft Corporation. All rights reserved.