TimeWindowCustomAlertRule type

A custom alert rule that checks if the number of activities (depends on the custom alert type) in a time window is within the given range.

type TimeWindowCustomAlertRule = ThresholdCustomAlertRule & {
  ruleType:
    | "TimeWindowCustomAlertRule"
    | "ActiveConnectionsNotInAllowedRange"
    | "AmqpC2DMessagesNotInAllowedRange"
    | "MqttC2DMessagesNotInAllowedRange"
    | "HttpC2DMessagesNotInAllowedRange"
    | "AmqpC2DRejectedMessagesNotInAllowedRange"
    | "MqttC2DRejectedMessagesNotInAllowedRange"
    | "HttpC2DRejectedMessagesNotInAllowedRange"
    | "AmqpD2CMessagesNotInAllowedRange"
    | "MqttD2CMessagesNotInAllowedRange"
    | "HttpD2CMessagesNotInAllowedRange"
    | "DirectMethodInvokesNotInAllowedRange"
    | "FailedLocalLoginsNotInAllowedRange"
    | "FileUploadsNotInAllowedRange"
    | "QueuePurgesNotInAllowedRange"
    | "TwinUpdatesNotInAllowedRange"
    | "UnauthorizedOperationsNotInAllowedRange"
  timeWindowSize: string
}