Files
vue-driven-cloud-storage/backend/node_modules/@alicloud/cms20190101/dist/models/ApplyMetricRuleTemplateRequest.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

104 lines
3.6 KiB
TypeScript

import * as $dara from '@darabonba/typescript';
export declare class ApplyMetricRuleTemplateRequest extends $dara.Model {
/**
* @remarks
* The template application policy. Valid values:
*
* * all (default): deletes all the rules that are created by using the alert template from the selected application group, and then creates alert rules based on the template.
* * append: deletes the rules that are created by using the alert template from the selected application group, and then creates alert rules based on the existing template.
*
* @example
* all
*/
appendMode?: string;
/**
* @remarks
* The mode in which the alert template is applied. Valid values:
*
* * GROUP_INSTANCE_FIRST: The metrics in the application group take precedence. If a metric specified in the alert template does not exist in the application group, the system does not generate an alert rule for the metric based on the alert template.
* * ALARM_TEMPLATE_FIRST: The metrics specified in the alert template take precedence. If a metric specified in the alert template does not exist in the application group, the system still generates an alert rule for the metric based on the alert template.
*
* @example
* GROUP_INSTANCE_FIRST
*/
applyMode?: string;
/**
* @remarks
* The end of the time period during which the alert rule is effective. Valid values: 00 to 23. A value of 00 indicates 00:59 and a value of 23 indicates 23:59.
*
* @example
* 23
*/
enableEndTime?: number;
/**
* @remarks
* The beginning of the time period during which the alert rule is effective. Valid values: 00 to 23. A value of 00 indicates 00:00 and a value of 23 indicates 23:00.
*
* @example
* 00
*/
enableStartTime?: number;
/**
* @remarks
* The ID of the application group to which the alert template is applied.
*
* For more information about how to query the ID of an application group, see [DescribeMonitorGroups](https://help.aliyun.com/document_detail/115032.html).
*
* This parameter is required.
*
* @example
* 123456
*/
groupId?: number;
/**
* @remarks
* The alert notification method. Valid values:
*
* Set the value to 4. A value of 4 indicates that alert notifications are sent by using TradeManager and DingTalk chatbots.
*
* @example
* 4
*/
notifyLevel?: number;
/**
* @remarks
* The mute period during which notifications are not repeatedly sent for an alert. Unit: seconds. Default value: 86400.
*
* > Only one alert notification is sent during each mute period even if the metric value exceeds the alert threshold several times.
*
* @example
* 86400
*/
silenceTime?: number;
/**
* @remarks
* The ID of the alert template.
*
* For more information about how to query the IDs of alert templates, see [DescribeMetricRuleTemplateList](https://help.aliyun.com/document_detail/114982.html).
*
* This parameter is required.
*
* @example
* 700****
*/
templateIds?: 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;
});
}