Share via


MetricCommentFeedback Class

Definition

The CommentFeedback.

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

Remarks

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

Constructors

MetricCommentFeedback(String, DimensionKey, String)

Initializes a new instance of the MetricCommentFeedback class.

Properties

Comment

The comment content for the feedback.

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)
EndsOn

The end timestamp of feedback timerange. When this is equal to StartsOn it indicates a single timestamp.

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)
StartsOn

The start timestamp of feedback time range.

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