MetricPeriodFeedback(String, DimensionKey, MetricPeriodType, Int32) 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 MetricPeriodFeedback class.
public MetricPeriodFeedback (string metricId, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey, Azure.AI.MetricsAdvisor.Models.MetricPeriodType periodType, int periodValue);
new Azure.AI.MetricsAdvisor.MetricPeriodFeedback : string * Azure.AI.MetricsAdvisor.Models.DimensionKey * Azure.AI.MetricsAdvisor.Models.MetricPeriodType * int -> Azure.AI.MetricsAdvisor.MetricPeriodFeedback
Public Sub New (metricId As String, dimensionKey As DimensionKey, periodType As MetricPeriodType, periodValue As Integer)
Parameters
- metricId
- String
The identifier of the metric to which the MetricPeriodFeedback applies.
- dimensionKey
- DimensionKey
A key that identifies a set of time series to which the MetricPeriodFeedback 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.
- periodType
- MetricPeriodType
Tells the service how to determine the period of the seasonal data.
- periodValue
- Int32
The expected value of the period, measured in amount of data points. 0 means non-seasonal data.
Exceptions
metricId
or dimensionKey
is null
.
metricId
is empty.
Applies to
Azure SDK for .NET