import * as $dara from '@darabonba/typescript'; import { FilterSetting } from "./FilterSetting"; export declare class NotifyStrategyDetailCustomTemplateEntries extends $dara.Model { /** * @remarks * The UUID of the notification template. * * @example * template-uuid-xxx */ templateUuid?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyDetailGroupingSetting extends $dara.Model { /** * @remarks * The event fields by which events are grouped for noise reduction. Events in the same group are merged into a single notification. An empty array indicates no grouping. * * @example * ["alertname"] */ groupingKeys?: string[]; /** * @remarks * The check period in minutes. * * @example * 0 */ periodMin?: number; /** * @remarks * The silence duration in seconds. * * @example * 0 */ silenceSec?: number; /** * @remarks * The number of trigger times. * * @example * 0 */ times?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyDetailRoutesChannels extends $dara.Model { /** * @remarks * The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, WEBHOOK, CONTACT, GROUP, DUTY, and DING_COOL_APP. * * @example * WEBHOOK */ channelType?: string; /** * @remarks * The enabled sub-channels. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, and WEBHOOK. * * @example * ["EMAIL","SMS"] */ enabledSubChannels?: string[]; /** * @remarks * The list of receiver identifiers. * * @example * ["webhook-uuid-xxx"] */ receivers?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyDetailRoutesEffectTimeRange extends $dara.Model { /** * @remarks * The effective days of the week. Valid values: 0 to 6 (0 = Sunday, 6 = Saturday). The value 7 is not supported. * * @example * [0,1,2,3,4,5,6] */ dayInWeek?: number[]; /** * @remarks * The end time of the day in minutes. Valid values: 0 to 1439. * * @example * 1439 */ endTimeInMinute?: number; /** * @remarks * The start time of the day in minutes. Valid values: 0 to 1438. * * @example * 0 */ startTimeInMinute?: number; /** * @remarks * The IANA time zone identifier. * * @example * Asia/Shanghai */ timeZone?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyDetailRoutes extends $dara.Model { /** * @remarks * The list of notification channels. * * @example * [] */ channels?: NotifyStrategyDetailRoutesChannels[]; /** * @remarks * The digital employee name. This parameter is required when enableRca is set to true. * * @example * 数字员工名 */ digitalEmployeeName?: string; /** * @remarks * The effective time range. */ effectTimeRange?: NotifyStrategyDetailRoutesEffectTimeRange; /** * @remarks * Specifies whether to enable root cause analysis (RCA). * * @example * false */ enableRca?: boolean; /** * @remarks * The route-level event filter conditions. * * @example * {} */ filterSetting?: FilterSetting; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyDetail extends $dara.Model { /** * @remarks * The list of custom notification templates. * * @example * [] */ customTemplateEntries?: NotifyStrategyDetailCustomTemplateEntries[]; /** * @remarks * The description of the notification policy. * * @example * 生产环境告警通知策略 */ description?: string; /** * @remarks * The grouping and merging settings. */ groupingSetting?: NotifyStrategyDetailGroupingSetting; /** * @remarks * Specifies whether to ignore notifications for recovery events. A value of true indicates that recovery notifications are not sent. * * @example * true */ ignoreRestoredNotification?: boolean; /** * @remarks * The list of notification channel routing settings. * * @example * [] */ routes?: NotifyStrategyDetailRoutes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }