Delen via


MetricsAdvisorModelFactory.MetricPeriodFeedback Method

Definition

Initializes a new instance of MetricPeriodFeedback for mocking purposes.

public static Azure.AI.MetricsAdvisor.MetricPeriodFeedback MetricPeriodFeedback (string id = default, DateTimeOffset? createdOn = default, string userPrincipal = default, string metricId = default, Azure.AI.MetricsAdvisor.Models.DimensionKey dimensionKey = default, Azure.AI.MetricsAdvisor.Models.MetricPeriodType periodType = default, int periodValue = 0);
static member MetricPeriodFeedback : string * Nullable<DateTimeOffset> * string * string * Azure.AI.MetricsAdvisor.Models.DimensionKey * Azure.AI.MetricsAdvisor.Models.MetricPeriodType * int -> Azure.AI.MetricsAdvisor.MetricPeriodFeedback
Public Shared Function MetricPeriodFeedback (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 periodType As MetricPeriodType = Nothing, Optional periodValue As Integer = 0) As MetricPeriodFeedback

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.

periodType
MetricPeriodType

Sets the PeriodType property.

periodValue
Int32

Sets the PeriodValue property.

Returns

A new instance of MetricPeriodFeedback for mocking purposes.

Applies to