HardThresholdConditionUnion type

Represents the hard threshold detection condition.

type HardThresholdConditionUnion =
  | {
      anomalyDetectorDirection: "Down"
      lowerBound: number
      suppressCondition: SuppressCondition
    }
  | {
      anomalyDetectorDirection: "Up"
      suppressCondition: SuppressCondition
      upperBound: number
    }
  | {
      anomalyDetectorDirection: "Both"
      lowerBound: number
      suppressCondition: SuppressCondition
      upperBound: number
    }