@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
33 lines • 1.19 kB
TypeScript
import { StreamAlertConditionConditionTypeEnum } from './StreamAlertConditionConditionTypeEnum';
import { StreamAlertConditionConstraintTypeEnum } from './StreamAlertConditionConstraintTypeEnum';
import { StreamAlertConditionThresholdTypeEnum } from './StreamAlertConditionThresholdTypeEnum';
/** Alert condition */
export interface StreamAlertCondition {
/** Stream alert condition ID */
alertId: string;
/** Backlog size */
backlog: number;
/** Alert condition type */
conditionType?: StreamAlertConditionConditionTypeEnum;
/** Constraint type */
constraintType?: StreamAlertConditionConstraintTypeEnum;
/** Field name */
field?: string;
/** Grace period in minutes */
grace: number;
/** Query filter */
queryFilter?: string;
/** Repeat notifications */
repeatNotificationsEnabled?: boolean;
/** Threshold */
threshold?: number;
/** Threshold condition */
thresholdType?: StreamAlertConditionThresholdTypeEnum;
/** Time lapse in minutes */
time?: number;
/** Condition label */
title: string;
/** Field value */
value?: string;
}
//# sourceMappingURL=StreamAlertCondition.d.ts.map