import * as $dara from '@darabonba/typescript'; import { AlertRuleTimeSpan } from "./AlertRuleTimeSpan"; import { SeverityNotifyConfig } from "./SeverityNotifyConfig"; export declare class AlertRuleNotification extends $dara.Model { /** * @remarks * The list of contact IDs. */ contacts?: string[]; /** * @remarks * The list of custom webhook Notification Recipient IDs. */ customWebhooks?: string[]; /** * @remarks * The list of DingTalk Cool App webhook Notification Recipient IDs. */ dingCoolAppWebhooks?: string[]; /** * @remarks * The list of DingTalk webhook Notification Recipient IDs. */ dingWebhooks?: string[]; /** * @remarks * The list of Lark webhook Notification Recipient IDs. */ fsWebhooks?: string[]; /** * @remarks * The list of contact group IDs. */ groups?: string[]; /** * @remarks * The notification time window. Notifications are sent only within this time window. */ notifyTime?: AlertRuleTimeSpan; /** * @remarks * The Qwen (Qwencloud) Notification Recipient configuration. Both the outer key and inner key are custom identity values. The inner Boolean value specifies whether the Notification Recipient is enabled. */ qwencloudContacts?: { [key: string]: { [key: string]: any; }; }; /** * @remarks * Specifies whether to send recovery notifications. Each severity level in severityNotifications can independently override this setting. */ sendOk?: boolean; /** * @remarks * The Notification Recipients and channels configured by severity level. This parameter is mutually exclusive with the top-level contacts, groups, and similar parameters. The key is the severity level: CRITICAL, ERROR, WARNING, or INFO. */ severityNotifications?: { [key: string]: SeverityNotifyConfig; }; /** * @remarks * The notification mute duration. Unit: seconds. * * @example * 86400 */ silenceTime?: number; /** * @remarks * The list of Slack webhook Notification Recipient IDs. */ slackWebhooks?: string[]; /** * @remarks * The list of WeChat webhook Notification Recipient IDs. */ wxWebhooks?: string[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }