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:
140
backend/node_modules/@alicloud/cms20190101/dist/models/DescribeMetricDataRequest.d.ts
generated
vendored
Normal file
140
backend/node_modules/@alicloud/cms20190101/dist/models/DescribeMetricDataRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class DescribeMetricDataRequest extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The dimensions based on which the resources are queried.
|
||||
*
|
||||
* Set the value to a collection of key-value pairs. A typical key-value pair is `instanceId:i-2ze2d6j5uhg20x47****`.
|
||||
*
|
||||
* > You can query a maximum of 50 instances in a single request.
|
||||
*
|
||||
* @example
|
||||
* [{"instanceId": "i-abcdefgh12****"}]
|
||||
*/
|
||||
dimensions?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The end of the time range to query monitoring data.
|
||||
*
|
||||
* * If the `StartTime` and `EndTime` parameters are not specified, the monitoring data of the last statistical period is queried.``
|
||||
*
|
||||
* * If the `StartTime` and `EndTime` parameters are specified, the monitoring data of the last statistical period in the specified time range is queried.```` The following examples demonstrate how to determine the period in which monitoring data is queried:
|
||||
*
|
||||
* * If you set the `Period` parameter to 15, the specified time range must be less than or equal to 20 minutes. For example, if you set the StartTime parameter to 2021-05-08 08:10:00 and the EndTime parameter to 2021-05-08 08:30:00, the monitoring data of the last 15 seconds in the time range is queried.
|
||||
* * If you set the `Period` to 60 or 900, the specified time range must be less than or equal to 2 hours. For example, if you set the Period parameter to 60, the StartTime parameter to 2021-05-08 08:00:00, and the EndTime parameter to 2021-05-08 10:00:00, the monitoring data of the last 60 seconds in the time range is queried.
|
||||
* * If you set the `Period` parameter to 3600, the specified time range must be less than or equal to 2 days. For example, if you set the StartTime parameter to 2021-05-08 08:00:00 and the EndTime parameter to 2021-05-10 08:00:00, the monitoring data of the last 3,600 seconds in the time range is queried.
|
||||
*
|
||||
* The following formats are supported:
|
||||
*
|
||||
* * UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 UTC on Thursday, January 1, 1970.
|
||||
* * UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format.
|
||||
*
|
||||
* > We recommend that you use UNIX timestamps to prevent time zone-related issues.
|
||||
*
|
||||
* @example
|
||||
* 1618368960000
|
||||
*/
|
||||
endTime?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The expression that is used to compute the query results in real time.
|
||||
*
|
||||
* > Only the `groupby` expression is supported. This expression is similar to the `GROUP BY` statement that is used in databases.
|
||||
*
|
||||
* @example
|
||||
* {"groupby":["userId","instanceId"]}
|
||||
*/
|
||||
express?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The number of entries per page.
|
||||
*
|
||||
* Default value: 1000.
|
||||
*
|
||||
* > The maximum value of the Length parameter in a request is 1440.
|
||||
*
|
||||
* @example
|
||||
* 1000
|
||||
*/
|
||||
length?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The metric that is used to monitor the cloud service.
|
||||
*
|
||||
* For more information about the metrics of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* cpu_idle
|
||||
*/
|
||||
metricName?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The namespace of the cloud service.
|
||||
*
|
||||
* For more information about the namespaces of cloud services, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* acs_ecs_dashboard
|
||||
*/
|
||||
namespace?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The statistical period of the metric.
|
||||
*
|
||||
* Valid values: 15, 60, 900, and 3600.
|
||||
*
|
||||
* Unit: seconds.
|
||||
*
|
||||
* >
|
||||
*
|
||||
* * If this parameter is not specified, monitoring data is queried based on the period in which metric values are reported.
|
||||
*
|
||||
* * For more information about the statistical period of a metric that is specified by the `MetricName` parameter, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
|
||||
*
|
||||
* @example
|
||||
* 60
|
||||
*/
|
||||
period?: string;
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The start of the time range to query monitoring data.
|
||||
*
|
||||
* * If the `StartTime` and `EndTime` parameters are not specified, the monitoring data of the last statistical period is queried.``
|
||||
*
|
||||
* * If the `StartTime` and `EndTime` parameters are specified, the monitoring data of the last statistical period in the specified time range is queried.```` The following examples demonstrate how to determine the period in which monitoring data is queried:
|
||||
*
|
||||
* * If you set the `Period` parameter to 15, the specified time range must be less than or equal to 20 minutes. For example, if you set the StartTime parameter to 2021-05-08 08:10:00 and the EndTime parameter to 2021-05-08 08:30:00, the monitoring data of the last 15 seconds in the time range is queried.
|
||||
* * If you set the `Period` to 60 or 900, the specified time range must be less than or equal to 2 hours. For example, if you set the Period parameter to 60, the StartTime parameter to 2021-05-08 08:00:00, and the EndTime parameter to 2021-05-08 10:00:00, the monitoring data of the last 60 seconds in the time range is queried.
|
||||
* * If you set the `Period` parameter to 3600, the specified time range must be less than or equal to 2 days. For example, if you set the StartTime parameter to 2021-05-08 08:00:00 and the EndTime parameter to 2021-05-10 08:00:00, the monitoring data of the last 3,600 seconds in the time range is queried.
|
||||
*
|
||||
* The following formats are supported:
|
||||
*
|
||||
* * UNIX timestamp: the number of milliseconds that have elapsed since 00:00:00 UTC on Thursday, January 1, 1970.
|
||||
* * UTC time: the UTC time that follows the YYYY-MM-DDThh:mm:ssZ format.
|
||||
*
|
||||
* >
|
||||
*
|
||||
* * You must set the `StartTime` parameter to a point in time that is later than 00:00:00 UTC on Thursday, January 1, 1970. Otherwise, this parameter is invalid.
|
||||
*
|
||||
* * We recommend that you use UNIX timestamps to prevent time zone-related issues.
|
||||
*
|
||||
* @example
|
||||
* 1618368900000
|
||||
*/
|
||||
startTime?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user