MetricsAdvisorModelFactory.MetricPeriodFeedback Method
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 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
- createdOn
- Nullable<DateTimeOffset>
Sets the CreatedOn property.
- userPrincipal
- String
Sets the UserPrincipal 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for