MetricAnomalyFeedback Constructor
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.
Initializes a new instance of the MetricAnomalyFeedback class.
public MetricAnomalyFeedback (string metricId, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey, DateTimeOffset startsOn, DateTimeOffset endsOn, Azure.AI.MetricsAdvisor.Models.AnomalyValue value);
new Azure.AI.MetricsAdvisor.MetricAnomalyFeedback : string * Azure.AI.MetricsAdvisor.Models.DimensionKey * DateTimeOffset * DateTimeOffset * Azure.AI.MetricsAdvisor.Models.AnomalyValue -> Azure.AI.MetricsAdvisor.MetricAnomalyFeedback
Public Sub New (metricId As String, dimensionKey As DimensionKey, startsOn As DateTimeOffset, endsOn As DateTimeOffset, value As AnomalyValue)
Parameters
- metricId
- String
The identifier of the metric to which the MetricAnomalyFeedback applies.
- dimensionKey
- DimensionKey
A key that identifies a set of time series to which the MetricAnomalyFeedback applies.
If all possible dimensions are set, this key uniquely identifies a single time series
for the specified metricId
. If only a subset of dimensions are set, this
key uniquely identifies a group of time series.
- startsOn
- DateTimeOffset
The start timestamp of feedback time range.
- endsOn
- DateTimeOffset
The end timestamp of feedback time range. When this is equal to startsOn
it indicates a single timestamp.
- value
- AnomalyValue
Indicates whether or not the data points should have been labeled as anomalies by the service.
Exceptions
metricId
or dimensionKey
is null
.
metricId
is empty.
Applies to
Azure SDK for .NET