import * as $dara from '@darabonba/typescript'; import { FilterSetting } from "./FilterSetting"; export declare class NotifyStrategyConfigCustomTemplateEntries 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 NotifyStrategyConfigGroupingSetting extends $dara.Model { /** * @remarks * The event fields by which events are grouped. Events in the same group are merged into a single notification. An empty array indicates no grouping. * * @example * ["alertname"] */ groupingKeys?: string[]; /** * @remarks * This parameter does not take effect for this operation. You do not need to set this parameter. * * @example * 0 */ periodMin?: number; /** * @remarks * This parameter does not take effect for this operation. You do not need to set this parameter. * * @example * 0 */ silenceSec?: number; /** * @remarks * This parameter does not take effect for this operation. You do not need to set this parameter. * * @example * 0 */ times?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyConfigRoutesChannels extends $dara.Model { /** * @remarks * The channel type. Valid values: DING, WEIXIN, FEISHU, SLACK, TEAMS, WEBHOOK, CONTACT, GROUP, DUTY, and DING_COOL_APP. Lowercase values are not supported. For email, text message, or phone call notifications, use CONTACT with enabledSubChannels. * * This parameter is required. * * @example * WEBHOOK */ channelType?: string; /** * @remarks * Required only for CONTACT, GROUP, or DUTY. The sub-channel types in uppercase. Valid values: EMAIL, SMS, VOICE, DING, WEIXIN, FEISHU, and WEBHOOK. * * @example * ["EMAIL","SMS"] */ enabledSubChannels?: string[]; /** * @remarks * The list of receiver identifiers. At least one receiver is required. Specify a webhook UUID for WEBHOOK, a robot UUID for chatbots, or a contact ID for CONTACT. * * This parameter is required. * * @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 NotifyStrategyConfigRoutesEffectTimeRange extends $dara.Model { /** * @remarks * The effective days. 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 NotifyStrategyConfigRoutes extends $dara.Model { /** * @remarks * The list of notification channels. * * @example * [] */ channels?: NotifyStrategyConfigRoutesChannels[]; /** * @remarks * The digital employee name. Required when enableRca is set to true. * * @example * 数字员工名 */ digitalEmployeeName?: string; /** * @remarks * The effective time range. */ effectTimeRange?: NotifyStrategyConfigRoutesEffectTimeRange; /** * @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 NotifyStrategyConfig extends $dara.Model { /** * @remarks * The list of custom notification templates. * * @example * [] */ customTemplateEntries?: NotifyStrategyConfigCustomTemplateEntries[]; /** * @remarks * The description of the notification policy. * * @example * 生产环境告警通知策略 */ description?: string; /** * @remarks * The noise reduction settings. * * This parameter is required. */ groupingSetting?: NotifyStrategyConfigGroupingSetting; /** * @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. * * This parameter is required. * * @example * [] */ routes?: NotifyStrategyConfigRoutes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }