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>
This commit is contained in:
204
backend/node_modules/@alicloud/cms20190101/dist/models/DescribeAlertLogHistogramRequest.d.ts
generated
vendored
Normal file
204
backend/node_modules/@alicloud/cms20190101/dist/models/DescribeAlertLogHistogramRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,204 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class DescribeAlertLogHistogramRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The alert contact group.
|
||||
*
|
||||
* @example
|
||||
* ECS_Group
|
||||
*/
|
||||
contactGroup?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The end timestamp of the alert logs to be queried.
|
||||
*
|
||||
* Unit: milliseconds.
|
||||
*
|
||||
* >
|
||||
*
|
||||
* * You can query only the alert logs within the last year.
|
||||
*
|
||||
* * The interval between the start time (`StartTime`) and end time (`EndTime`) must be less than or equal to 15 days.
|
||||
*
|
||||
* @example
|
||||
* 1609989009694
|
||||
*/
|
||||
endTime?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The type of the alert event. Valid values:
|
||||
*
|
||||
* * TRIGGERED: The alert is triggered.
|
||||
* * RESOLVED: The alert is resolved.
|
||||
*
|
||||
* @example
|
||||
* RESOLVED
|
||||
*/
|
||||
eventType?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The dimensions based on which data is aggregated. This parameter is equivalent to the GROUP BY clause in SQL. Valid values:
|
||||
*
|
||||
* * `product`: aggregates data by cloud service.
|
||||
* * `level`: aggregates data by alert level.
|
||||
* * `groupId`: aggregates data by application group.
|
||||
* * `contactGroup`: aggregates data by alert contact group.
|
||||
* * `product,metricName`: aggregates data both by cloud service and by metric.
|
||||
*
|
||||
* @example
|
||||
* product
|
||||
*/
|
||||
groupBy?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the application group.
|
||||
*
|
||||
* @example
|
||||
* 7301****
|
||||
*/
|
||||
groupId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The statistical period of alert logs. Unit: minutes.
|
||||
*
|
||||
* @example
|
||||
* 360
|
||||
*/
|
||||
lastMin?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The severity level and notification methods of the alert. Valid values:
|
||||
*
|
||||
* * P4: Alert notifications are sent by using emails and DingTalk chatbots.
|
||||
* * OK: No alert is generated.
|
||||
*
|
||||
* @example
|
||||
* P4
|
||||
*/
|
||||
level?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The metric name.
|
||||
*
|
||||
* > For more information about the metrics of different cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* @example
|
||||
* cpu_total
|
||||
*/
|
||||
metricName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The namespace of the Alibaba Cloud service.
|
||||
*
|
||||
* > For more information about the namespaces of different cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* @example
|
||||
* acs_ecs_dashboard
|
||||
*/
|
||||
namespace?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The page number.
|
||||
*
|
||||
* Default value: 1.
|
||||
*
|
||||
* @example
|
||||
* 1
|
||||
*/
|
||||
pageNumber?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The number of entries per page.
|
||||
*
|
||||
* Default value: 10.
|
||||
*
|
||||
* @example
|
||||
* 10
|
||||
*/
|
||||
pageSize?: number;
|
||||
/**
|
||||
* @remarks
|
||||
* The abbreviation of the Alibaba Cloud service name.
|
||||
*
|
||||
* @example
|
||||
* ECS
|
||||
*/
|
||||
product?: string;
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert rule.
|
||||
*
|
||||
* For more information about how to obtain the ID of an alert rule, see [DescribeMetricRuleList](https://help.aliyun.com/document_detail/114941.html).
|
||||
*
|
||||
* @example
|
||||
* ae06917_75a8c43178ab66****
|
||||
*/
|
||||
ruleId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The name of the alert rule.
|
||||
*
|
||||
* @example
|
||||
* test123
|
||||
*/
|
||||
ruleName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The keyword that is used to query alert logs.
|
||||
*
|
||||
* @example
|
||||
* alert
|
||||
*/
|
||||
searchKey?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert status. Valid values:
|
||||
*
|
||||
* * 0: The alert is triggered or cleared.
|
||||
* * 1: The alert is ineffective.
|
||||
* * 2: The alert is muted and not triggered in a specified period.
|
||||
* * 3: The host is restarting.
|
||||
* * 4: No alert notification is sent.
|
||||
*
|
||||
* If the value of the SendStatus parameter is 0, the value P4 of the Level parameter indicates a triggered alert and the value OK indicates a cleared alert.
|
||||
*
|
||||
* @example
|
||||
* 0
|
||||
*/
|
||||
sendStatus?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* This parameter is deprecated.
|
||||
*
|
||||
* @example
|
||||
* None
|
||||
*/
|
||||
sourceType?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The start timestamp of the alert logs to be queried.
|
||||
*
|
||||
* Unit: milliseconds.
|
||||
*
|
||||
* >
|
||||
*
|
||||
* * You can query only the alert logs within the last year.
|
||||
*
|
||||
* * The interval between the start time (`StartTime`) and end time (`EndTime`) must be less than or equal to 15 days.
|
||||
*
|
||||
* @example
|
||||
* 1609988009694
|
||||
*/
|
||||
startTime?: number;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user