import * as $dara from '@darabonba/typescript'; export declare class DescribeDispatchRuleResponseBodyDispatchRuleGroupRules extends $dara.Model { /** * @remarks * The ID of the group. * * @example * 1 */ groupId?: number; /** * @remarks * The grouping interval. * * @example * 15 */ groupInterval?: number; /** * @remarks * The waiting time for grouping. * * @example * 10 */ groupWaitTime?: number; /** * @remarks * The grouping fields. */ groupingFields?: string[]; /** * @remarks * The time interval at which a notification is resent for a long-lasting unresolved alert. Unit: seconds. * * @example * 20 */ repeatInterval?: number; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions extends $dara.Model { /** * @remarks * The key of the tag of the dispatch rule. Valid values: * * * `_aliyun_arms_userid`: user ID * * `_aliyun_arms_involvedObject_kind`: type of the associated object * * `_aliyun_arms_involvedObject_id`: ID of the associated object * * `_aliyun_arms_involvedObject_name`: name of the associated object * * `_aliyun_arms_alert_name`: alert name * * `_aliyun_arms_alert_rule_id`: alert rule ID * * `_aliyun_arms_alert_type`: alert type * * `_aliyun_arms_alert_level`: alert severity * * @example * _aliyun_arms_involvedObject_kind */ key?: string; /** * @remarks * The operator used in the dispatch rule. Valid values: * * * `eq`: equals to. * * `re`: matches a regular expression. * * @example * eq */ operator?: string; /** * @remarks * The value of the tag. * * @example * app */ value?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroups extends $dara.Model { /** * @remarks * The collection of conditions of the dispatch rule. */ labelMatchExpressions?: DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroupsLabelMatchExpressions[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid extends $dara.Model { /** * @remarks * The collection of dispatch rules. */ labelMatchExpressionGroups?: DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGridLabelMatchExpressionGroups[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRuleNotifyRulesNotifyObjects extends $dara.Model { /** * @remarks * The name of the contact or contact group. * * @example * JohnDoe */ name?: string; /** * @remarks * The ID of the contact or contact group. * * @example * 1 */ notifyObjectId?: string; /** * @remarks * The type of the alert contact. Valid values: * * - `CONTACT`: contact * - `CONTACT_GROUP`: contact group * * @example * CONTACT */ notifyType?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules extends $dara.Model { /** * @remarks * The notification method Array. */ notifyChannels?: string[]; /** * @remarks * The collection of alert contacts. */ notifyObjects?: DescribeDispatchRuleResponseBodyDispatchRuleNotifyRulesNotifyObjects[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBodyDispatchRule extends $dara.Model { /** * @remarks * Alarm handling method. * * CREATE_ALERT: Generate an alert. * * DISCARD_ALERT: Discard the alarm event, that is, no alarm. * * @example * CREATE_ALERT */ dispatchType?: string; /** * @remarks * The information about groups. */ groupRules?: DescribeDispatchRuleResponseBodyDispatchRuleGroupRules[]; /** * @remarks * Whether to send recovered alerts. * true: send. * false: do not send. * * @example * true */ isRecover?: boolean; /** * @remarks * The information about the dispatch rule. */ labelMatchExpressionGrid?: DescribeDispatchRuleResponseBodyDispatchRuleLabelMatchExpressionGrid; /** * @remarks * The name of the dispatch policy. * * @example * Prometheus Alert */ name?: string; /** * @remarks * The collection of notification methods. */ notifyRules?: DescribeDispatchRuleResponseBodyDispatchRuleNotifyRules[]; /** * @remarks * The ID of the dispatch rule. * * @example * 10282 */ ruleId?: number; /** * @remarks * Indicates whether the dispatch policy is enabled. Valid values: * * - `true`: enabled * - `false`: disabled * * @example * true */ state?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeDispatchRuleResponseBody extends $dara.Model { /** * @remarks * The struct returned. */ dispatchRule?: DescribeDispatchRuleResponseBodyDispatchRule; /** * @remarks * The ID of the request. * * @example * 34ED024E-9E31-434A-9E4E-D9D15C3**** */ requestId?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }