import * as $dara from '@darabonba/typescript'; export declare class FilterSettingConditions extends $dara.Model { /** * @remarks * The JSON path of the event field. Dot-notation nesting is supported. * * @example * labels.alertname */ field?: string; /** * @remarks * The comparison operator. * * @example * EQ */ op?: string; /** * @remarks * The matching value. Separate multiple values with commas when using IN or NOT_IN. * * @example * CRITICAL */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class FilterSetting extends $dara.Model { /** * @remarks * The subscription conditions. */ conditions?: FilterSettingConditions[]; /** * @remarks * Use either expression or relation. If expression is not empty, it takes precedence and relation is ignored. If expression is empty or not specified, relation (AND or OR) is used to perform a simple AND/OR operation on all conditions. Condition numbers correspond to the indexes of the conditions array (starting from 1). Each condition evaluates whether a single event field matches by using field (the event field path, which supports dot-notation nesting such as resource.tags.pod), op (the operator, such as CONTAIN, EQ, or IN), and value (the matching value). * * @example * 1 and 2 or 3 */ expression?: string; /** * @remarks * The logical relationship between conditions. This parameter takes effect when expression is empty. * * @example * AND */ relation?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }