功能新增: - OSS 存储使用情况显示(文件页面) - OSS 当日流量统计(阿里云云监控API) - 分享页面路由修复(/s/xxx 格式支持) Bug修复: - 修复分享页面资源路径(相对路径改绝对路径) - 修复分享码获取逻辑(支持路径格式) - 修复OSS配额undefined显示问题 - 修复登录流程OSS配置检查 - 修复文件数为null时的显示问题 依赖更新: - 添加 @alicloud/cms20190101 云监控SDK - 添加 @alicloud/openapi-client Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
135 lines
3.2 KiB
TypeScript
135 lines
3.2 KiB
TypeScript
import * as $dara from '@darabonba/typescript';
|
|
export declare class PutEventRuleRequestEventPattern extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The keyword that is used to filter events. If the content of an event contains the specified keyword, an alert is automatically triggered.
|
|
*
|
|
* @example
|
|
* Stopping
|
|
*/
|
|
customFilters?: string;
|
|
/**
|
|
* @example
|
|
* Exception
|
|
*/
|
|
eventTypeList?: string[];
|
|
/**
|
|
* @example
|
|
* CRITICAL
|
|
*/
|
|
levelList?: string[];
|
|
/**
|
|
* @example
|
|
* Agent_Status_Stopped
|
|
*/
|
|
nameList?: string[];
|
|
/**
|
|
* @remarks
|
|
* The type of the cloud service. Valid values of N: 1 to 50.
|
|
*
|
|
* > You can call the DescribeSystemEventMetaList operation to query the cloud services that support event-triggered alerts. For more information, see [DescribeSystemEventMetaList](https://help.aliyun.com/document_detail/114972.html).
|
|
*
|
|
* This parameter is required.
|
|
*
|
|
* @example
|
|
* ecs
|
|
*/
|
|
product?: string;
|
|
/**
|
|
* @remarks
|
|
* The SQL condition that is used to filter events. If the content of an event meets the specified SQL condition, an alert is automatically triggered.
|
|
*
|
|
* > The syntax of SQL event filtering is consistent with the query syntax of Log Service.
|
|
*
|
|
* @example
|
|
* 192.168.XX.XX and Executed
|
|
*/
|
|
SQLFilter?: string;
|
|
/**
|
|
* @example
|
|
* Failed
|
|
*/
|
|
statusList?: string[];
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleRequest extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The description of the event-triggered alert rule.
|
|
*/
|
|
description?: string;
|
|
/**
|
|
* @remarks
|
|
* This parameter is required.
|
|
*/
|
|
eventPattern?: PutEventRuleRequestEventPattern[];
|
|
/**
|
|
* @remarks
|
|
* The type of the event-triggered alert rule. Valid values:
|
|
*
|
|
* * SYSTEM: system event-triggered alert rule
|
|
* * CUSTOM: custom event-triggered alert rule
|
|
*
|
|
* @example
|
|
* SYSTEM
|
|
*/
|
|
eventType?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the application group to which the event-triggered alert rule belongs.
|
|
*
|
|
* @example
|
|
* 7378****
|
|
*/
|
|
groupId?: string;
|
|
regionId?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the event-triggered alert rule.
|
|
*
|
|
* This parameter is required.
|
|
*
|
|
* @example
|
|
* myRuleName
|
|
*/
|
|
ruleName?: string;
|
|
/**
|
|
* @remarks
|
|
* The mute period during which new alerts are not sent even if the trigger conditions are met. Unit: seconds.
|
|
*
|
|
* @example
|
|
* 86400
|
|
*/
|
|
silenceTime?: number;
|
|
/**
|
|
* @remarks
|
|
* The status of the event-triggered alert rule. Valid values:
|
|
*
|
|
* * ENABLED: enabled
|
|
* * DISABLED: disabled
|
|
*
|
|
* @example
|
|
* ENABLED
|
|
*/
|
|
state?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|