MetricsAdvisorModelFactory.IncidentRootCause Method

Definition

Initializes a new instance of IncidentRootCause for mocking purposes.

public static Azure.AI.MetricsAdvisor.Models.IncidentRootCause IncidentRootCause (Azure.AI.MetricsAdvisor.Models.DimensionKey seriesKey = default, System.Collections.Generic.IEnumerable<string> paths = default, double contributionScore = 0, string description = default);
static member IncidentRootCause : Azure.AI.MetricsAdvisor.Models.DimensionKey * seq<string> * double * string -> Azure.AI.MetricsAdvisor.Models.IncidentRootCause
Public Shared Function IncidentRootCause (Optional seriesKey As DimensionKey = Nothing, Optional paths As IEnumerable(Of String) = Nothing, Optional contributionScore As Double = 0, Optional description As String = Nothing) As IncidentRootCause

Parameters

seriesKey
DimensionKey

Sets the SeriesKey property.

paths
IEnumerable<String>

Sets the Paths property.

contributionScore
Double

Sets the ContributionScore property.

description
String

Sets the Description property.

Returns

A new instance of IncidentRootCause for mocking purposes.

Applies to