Delen via


MetricsAdvisorModelFactory.MetricCommentFeedback Method

Definition

Initializes a new instance of MetricCommentFeedback for mocking purposes.

public static Azure.AI.MetricsAdvisor.MetricCommentFeedback MetricCommentFeedback (string id = default, DateTimeOffset? createdOn = default, string userPrincipal = default, string metricId = default, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey = default, DateTimeOffset? startsOn = default, DateTimeOffset? endsOn = default, string comment = default);
static member MetricCommentFeedback : string * Nullable<DateTimeOffset> * string * string * Azure.AI.MetricsAdvisor.Models.DimensionKey * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.AI.MetricsAdvisor.MetricCommentFeedback
Public Shared Function MetricCommentFeedback (Optional id As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional userPrincipal As String = Nothing, Optional metricId As String = Nothing, Optional dimensionKey As DimensionKey = Nothing, Optional startsOn As Nullable(Of DateTimeOffset) = Nothing, Optional endsOn As Nullable(Of DateTimeOffset) = Nothing, Optional comment As String = Nothing) As MetricCommentFeedback

Parameters

id
String

Sets the Id property.

createdOn
Nullable<DateTimeOffset>

Sets the CreatedOn property.

userPrincipal
String

Sets the UserPrincipal property.

metricId
String

Sets the MetricId property.

dimensionKey
DimensionKey

Sets the DimensionKey property.

startsOn
Nullable<DateTimeOffset>

Sets the StartsOn property.

endsOn
Nullable<DateTimeOffset>

Sets the EndsOn property.

comment
String

Sets the Comment property.

Returns

A new instance of MetricCommentFeedback for mocking purposes.

Applies to