import * as $dara from '@darabonba/typescript'; export declare class NotifyStrategyForSNSModifyCustomTemplateEntries extends $dara.Model { /** * @remarks * **[Deprecated]** This parameter is deprecated and does not take effect. The actual purpose of the template is determined by the type of the template object referenced by templateUuid. * * @example * DING */ targetType?: string; /** * @remarks * The UUID of the template. * * @example * adef12efca3f-8728-1928-eeaac12ef9ad92 */ templateUuid?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModifyGroupingSetting extends $dara.Model { /** * @remarks * The grouping keys. */ groupingKeys?: string[]; /** * @remarks * The check period in minutes. * * @example * 1 */ periodMin?: number; /** * @remarks * The silence duration in seconds. * * @example * 300 */ silenceSec?: number; /** * @remarks * The number of times the condition is triggered. * * @example * 10 */ times?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModifyRoutesChannels extends $dara.Model { /** * @remarks * The channel type. * * This parameter is required. * * @example * DING */ channelType?: string; /** * @remarks * The enabled notification types. * * @example * ["EMAIL","SMS"] */ enabledSubChannels?: string[]; /** * @remarks * The channel receivers. * * This parameter is required. * * @example * ["my-webhook-uuid"] */ receivers?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModifyRoutesEffectTimeRange extends $dara.Model { /** * @remarks * The effective days of the week (Monday through Sunday). * * @example * [0,1,2,3,4,5,6] */ dayInWeek?: number[]; /** * @remarks * The end time in minutes. * * @example * 1 */ endTimeInMinute?: number; /** * @remarks * The start time in minutes. * * @example * 59 */ startTimeInMinute?: number; /** * @remarks * The time zone. * * @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 NotifyStrategyForSNSModifyRoutesFilterSettingConditions extends $dara.Model { /** * @remarks * The JSON path of the field, such as labels._cms_rule_name. * * @example * subject */ field?: string; /** * @remarks * The comparison operator. * * @example * EQ */ op?: string; /** * @remarks * The value. * * @example * Pod OOM */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModifyRoutesFilterSetting extends $dara.Model { /** * @remarks * The subscription conditions. */ conditions?: NotifyStrategyForSNSModifyRoutesFilterSettingConditions[]; /** * @remarks * If expression is not empty, it takes precedence and relation is ignored. If expression is empty or not specified, the 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-separated nesting such as resource.tags.pod), op (the operator, such as CONTAIN, EQ, or IN), and value (the match value). * * @example * (1 AND 2 )OR 3 */ expression?: string; /** * @remarks * The relationship between conditions. If an expression is configured, the expression takes higher precedence. * * @example * AND */ relation?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModifyRoutes extends $dara.Model { /** * @remarks * The notification channels. */ channels?: NotifyStrategyForSNSModifyRoutesChannels[]; /** * @remarks * The digital employee name. * * @example * apsara-ops */ digitalEmployeeName?: string; /** * @remarks * The effective time range. */ effectTimeRange?: NotifyStrategyForSNSModifyRoutesEffectTimeRange; /** * @remarks * Specifies whether to enable Root Cause Analysis (RCA). */ enableRca?: boolean; /** * @remarks * The route-level filter. This is at a different level from the top-level subscription.filterSetting. */ filterSetting?: NotifyStrategyForSNSModifyRoutesFilterSetting; /** * @remarks * **[Deprecated]** This parameter is deprecated and does not take effect. Route matching only checks filterSetting and effectTimeRange. */ severities?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class NotifyStrategyForSNSModify extends $dara.Model { /** * @remarks * The notification channel templates. */ customTemplateEntries?: NotifyStrategyForSNSModifyCustomTemplateEntries[]; /** * @remarks * The description. * * @example * test */ description?: string; /** * @remarks * Specifies whether to enable incident management. * * @example * true */ enableIncidentManagement?: boolean; /** * @remarks * The grouping settings. * * This parameter is required. */ groupingSetting?: NotifyStrategyForSNSModifyGroupingSetting; /** * @remarks * Specifies whether to send a notification when the alert is restored. * * @example * true */ ignoreRestoredNotification?: boolean; /** * @remarks * The notification channel routing settings. * * This parameter is required. */ routes?: NotifyStrategyForSNSModifyRoutes[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }