Share via


MetricChangePointFeedback Constructor

Definition

Initializes a new instance of the MetricChangePointFeedback class.

public MetricChangePointFeedback (string metricId, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey, DateTimeOffset startsOn, DateTimeOffset endsOn, Azure.AI.MetricsAdvisor.Models.ChangePointValue value);
new Azure.AI.MetricsAdvisor.MetricChangePointFeedback : string * Azure.AI.MetricsAdvisor.Models.DimensionKey * DateTimeOffset * DateTimeOffset * Azure.AI.MetricsAdvisor.Models.ChangePointValue -> Azure.AI.MetricsAdvisor.MetricChangePointFeedback
Public Sub New (metricId As String, dimensionKey As DimensionKey, startsOn As DateTimeOffset, endsOn As DateTimeOffset, value As ChangePointValue)

Parameters

metricId
String

The identifier of the metric to which the MetricChangePointFeedback applies.

dimensionKey
DimensionKey

A key that identifies a set of time series to which the MetricChangePointFeedback 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
ChangePointValue

Indicate whether or not the data points should be considered change points by the service.

Exceptions

metricId or dimensionKey is null.

metricId is empty.

Applies to