MetricsAdvisorModelFactory.AnomalyIncident 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 AnomalyIncident for mocking purposes.
public static Azure.AI.MetricsAdvisor.Models.AnomalyIncident AnomalyIncident(string dataFeedId = default, string metricId = default, string detectionConfigurationId = default, string id = default, DateTimeOffset startedOn = default, DateTimeOffset lastDetectedOn = default, Azure.AI.MetricsAdvisor.Models.DimensionKey rootSeriesKey = default, Azure.AI.MetricsAdvisor.Models.AnomalySeverity severity = default, Azure.AI.MetricsAdvisor.Models.AnomalyIncidentStatus status = default, double valueOfRootNode = 0, double? expectedValueOfRootNode = default);
static member AnomalyIncident : string * string * string * string * DateTimeOffset * DateTimeOffset * Azure.AI.MetricsAdvisor.Models.DimensionKey * Azure.AI.MetricsAdvisor.Models.AnomalySeverity * Azure.AI.MetricsAdvisor.Models.AnomalyIncidentStatus * double * Nullable<double> -> Azure.AI.MetricsAdvisor.Models.AnomalyIncident
Public Shared Function AnomalyIncident (Optional dataFeedId As String = Nothing, Optional metricId As String = Nothing, Optional detectionConfigurationId As String = Nothing, Optional id As String = Nothing, Optional startedOn As DateTimeOffset = Nothing, Optional lastDetectedOn As DateTimeOffset = Nothing, Optional rootSeriesKey As DimensionKey = Nothing, Optional severity As AnomalySeverity = Nothing, Optional status As AnomalyIncidentStatus = Nothing, Optional valueOfRootNode As Double = 0, Optional expectedValueOfRootNode As Nullable(Of Double) = Nothing) As AnomalyIncident
Parameters
- dataFeedId
- String
Sets the DataFeedId property.
- detectionConfigurationId
- String
Sets the DetectionConfigurationId property.
- startedOn
- DateTimeOffset
Sets the StartedOn property.
- lastDetectedOn
- DateTimeOffset
Sets the LastDetectedOn property.
- rootSeriesKey
- DimensionKey
Sets the RootSeriesKey property.
- severity
- AnomalySeverity
Sets the Severity property.
- status
- AnomalyIncidentStatus
Sets the Status property.
- valueOfRootNode
- Double
Sets the ValueOfRootNode property.
Sets the ExpectedValueOfRootNode property.
Returns
A new instance of AnomalyIncident for mocking purposes.
Applies to
Azure SDK for .NET