Files
vue-driven-cloud-storage/backend/node_modules/@alicloud/cms20190101/dist/models/PutCustomEventRuleRequest.d.ts
237899745 b135987fe8 feat: 添加多项功能和修复
功能新增:
- 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>
2026-01-22 21:04:22 +08:00

121 lines
2.9 KiB
TypeScript

import * as $dara from '@darabonba/typescript';
export declare class PutCustomEventRuleRequest extends $dara.Model {
/**
* @remarks
* The alert contact group that receives alert notifications. Separate multiple contact groups with commas (,).
*
* This parameter is required.
*
* @example
* ECS_Group
*/
contactGroups?: string;
/**
* @remarks
* The time period during which the alert rule is effective. Valid values: 00:00 to 23:59.
*
* @example
* 00:00-23:59
*/
effectiveInterval?: string;
/**
* @remarks
* The subject of the alert notification email.
*/
emailSubject?: string;
/**
* @remarks
* The name of the custom event. For more information about how to obtain the event name, see [DescribeCustomEventAttribute](https://help.aliyun.com/document_detail/115262.html).
*
* This parameter is required.
*
* @example
* HostDown
*/
eventName?: string;
/**
* @remarks
* The ID of the application group. For more information about how to obtain the group ID, see [DescribeCustomEventAttribute](https://help.aliyun.com/document_detail/115262.html).
*
* > The value 0 indicates that the reported custom event does not belong to any application Group.
*
* This parameter is required.
*
* @example
* 7378****
*/
groupId?: string;
/**
* @remarks
* The level of the alert. Valid values:
*
* * CRITICAL: critical issue
* * WARN: warning
* * INFO: information
*
* This parameter is required.
*
* @example
* CRITICAL
*/
level?: string;
/**
* @remarks
* The cycle that is used to aggregate monitoring data of the custom event. Unit: seconds. Set the value to an integral multiple of 60. Default value: 300.
*
* @example
* 60
*/
period?: string;
/**
* @remarks
* The ID of the alert rule.
*
* > You can specify an existing ID to modify the corresponding alert rule or specify a new ID to create an alert rule.
*
* This parameter is required.
*
* @example
* CustomRuleId1
*/
ruleId?: string;
/**
* @remarks
* The name of the alert rule.
*
* This parameter is required.
*
* @example
* CustomeRule
*/
ruleName?: string;
/**
* @remarks
* The alert threshold.
*
* This parameter is required.
*
* @example
* 99
*/
threshold?: string;
/**
* @remarks
* The callback URL to which a POST request is sent when an alert is triggered based on the alert rule.
*
* @example
* https://www.aliyun.com
*/
webhook?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}