Class AnomalyIncident

java.lang.Object
com.azure.ai.metricsadvisor.models.AnomalyIncident

public final class AnomalyIncident extends Object
Describes an incident detected in a time series or a time series group.
  • Constructor Details

    • AnomalyIncident

      public AnomalyIncident()
  • Method Details

    • getId

      public String getId()
      Gets the incident id.
      Returns:
      The incident id.
    • getDataFeedId

      public String getDataFeedId()
      Get the data feed id.
      Returns:
      The data feed id.
    • getMetricId

      public String getMetricId()
      Get the metric id.
      Returns:
      The metric id.
    • getDetectionConfigurationId

      public String getDetectionConfigurationId()
      Get the id of the configuration used to detect the anomalies that resulted in the incident.
      Returns:
      The anomaly detection configuration id.
    • getRootDimensionKey

      public DimensionKey getRootDimensionKey()
      Out of all dimension nodes in the dimension combination tree, get the dimension node that is identified as the root node where the incident anomalies are logically aggregated.
      Returns:
      id of the root dimension node.
    • getValueOfRootNode

      public Double getValueOfRootNode()
      Gets the aggregated value at root dimension node where the incident anomalies are logically aggregated.
      Returns:
      The value.
    • getExpectedValueOfRootNode

      public Double getExpectedValueOfRootNode()
      Gets the expected aggregated value at root dimension node had there is no incident.
      Returns:
      The expected value.
    • getSeverity

      public AnomalySeverity getSeverity()
      Gets the severity of the incident.
      Returns:
      The severity.
    • getStatus

      public AnomalyIncidentStatus getStatus()
      Gets the incident status.
      Returns:
      The incident status.
    • getStartTime

      public OffsetDateTime getStartTime()
      Gets the time in which incident started.
      Returns:
      The start time.
    • getLastTime

      public OffsetDateTime getLastTime()
      Gets the most recent time in which incident occurred.
      Returns:
      The last time.