MetricsAdvisorModelFactory.MetricAnomalyFeedback 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 MetricAnomalyFeedback for mocking purposes.
public static Azure.AI.MetricsAdvisor.MetricAnomalyFeedback MetricAnomalyFeedback(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, Azure.AI.MetricsAdvisor.Models.AnomalyValue anomalyValue = default, string detectionConfigurationId = default, Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration detectionConfigurationSnapshot = default);
static member MetricAnomalyFeedback : string * Nullable<DateTimeOffset> * string * string * Azure.AI.MetricsAdvisor.Models.DimensionKey * DateTimeOffset * DateTimeOffset * Azure.AI.MetricsAdvisor.Models.AnomalyValue * string * Azure.AI.MetricsAdvisor.Models.AnomalyDetectionConfiguration -> Azure.AI.MetricsAdvisor.MetricAnomalyFeedback
Public Shared Function MetricAnomalyFeedback (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 DateTimeOffset = Nothing, Optional endsOn As DateTimeOffset = Nothing, Optional anomalyValue As AnomalyValue = Nothing, Optional detectionConfigurationId As String = Nothing, Optional detectionConfigurationSnapshot As AnomalyDetectionConfiguration = Nothing) As MetricAnomalyFeedback
Parameters
- createdOn
- Nullable<DateTimeOffset>
Sets the CreatedOn property.
- userPrincipal
- String
Sets the UserPrincipal property.
- dimensionKey
- DimensionKey
Sets the DimensionKey property.
- startsOn
- DateTimeOffset
Sets the StartsOn property.
- endsOn
- DateTimeOffset
Sets the EndsOn property.
- anomalyValue
- AnomalyValue
Sets the AnomalyValue property.
- detectionConfigurationId
- String
Sets the DetectionConfigurationId property.
- detectionConfigurationSnapshot
- AnomalyDetectionConfiguration
Sets the DetectionConfigurationSnapshot property.
Returns
A new instance of MetricAnomalyFeedback for mocking purposes.
Applies to
Azure SDK for .NET