Share via


MetricPeriodFeedback Class

Definition

The PeriodFeedback.

public class MetricPeriodFeedback : Azure.AI.MetricsAdvisor.MetricFeedback
type MetricPeriodFeedback = class
    inherit MetricFeedback
Public Class MetricPeriodFeedback
Inherits MetricFeedback
Inheritance
MetricPeriodFeedback

Remarks

In order to create period feedback, you must pass this instance to the method AddFeedbackAsync(MetricFeedback, CancellationToken).

Constructors

MetricPeriodFeedback(String, DimensionKey, MetricPeriodType, Int32)

Initializes a new instance of the MetricPeriodFeedback class.

Properties

CreatedOn

Date and time, in UTC, when the MetricFeedback was created.

(Inherited from MetricFeedback)
DimensionKey

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

(Inherited from MetricFeedback)
FeedbackKind

The feedback kind.

(Inherited from MetricFeedback)
Id

The unique identifier of this MetricFeedback.

(Inherited from MetricFeedback)
MetricId

The identifier of the metric to which the MetricFeedback applies.

(Inherited from MetricFeedback)
PeriodType

Tells the service how to determine the period of the seasonal data.

PeriodValue

The expected value of the period, measured in amount of data points. 0 means non-seasonal data.

UserPrincipal

The user who created the MetricFeedback. If MetricsAdvisorKeyCredential authentication was used when creating the feedback, this property contains the email address of the creator. If AAD authentication was used instead, the value of this property uniquely identifies the creator's user principal, but its value depends on the type of credential used. For instance, if a ClientSecretCredential is used, it will contain the client ID.

(Inherited from MetricFeedback)

Applies to