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

122 lines
3.6 KiB
TypeScript

import * as $dara from '@darabonba/typescript';
export declare class PutCustomMetricRequestMetricList extends $dara.Model {
/**
* @remarks
* The dimensions based on which the resources are queried. Valid values of N: 1 to 21.
*
* Set this parameter to a collection of key-value pairs. Format: `{"Key":"Value"}`.
*
* The key or value must be 1 to 64 bytes in length. Excessive characters are truncated.
*
* The key or value can contain letters, digits, periods (.), hyphens (-), underscores (_), forward slashes (/), and backslashes (\\\\).
*
* > Dimensions must be formatted as a JSON string in a specified order.
*
* This parameter is required.
*
* @example
* {"sampleName1":"value1","sampleName2":"value2"}
*/
dimensions?: string;
/**
* @remarks
* The ID of the application group. Valid values of N: 1 to 21.
*
* > If the metric does not belong to any application group, enter 0.
*
* This parameter is required.
*
* @example
* 12345
*/
groupId?: string;
/**
* @remarks
* The metric name. Valid values of N: 1 to 21. For more information, see [Appendix 1: Metrics](https://help.aliyun.com/document_detail/163515.html).
*
* This parameter is required.
*
* @example
* cpu_total
*/
metricName?: string;
/**
* @remarks
* The aggregation period. Valid values of N: 1 to 21. Unit: seconds. Valid values: 60 and 300.
*
* > If the Type parameter is set to 1, the Period parameter is required.
*
* @example
* 60
*/
period?: string;
/**
* @remarks
* The timestamp when the metric data is generated. Valid values of N: 1 to 21. The timestamp can be in one of the following formats:
*
* * A UTC timestamp in the YYYY-MM-DDThh:mm:ssZ format. Example: 20171012T132456.888+0800.
* * A UNIX timestamp of the LONG type. Example: 1508136760000.
*
* @example
* 1508136760000
*/
time?: string;
/**
* @remarks
* The type of the monitoring data. Valid values of N: 1 to 21. Valid values:
*
* * 0: raw data
* * 1: aggregate data
*
* > We recommend that you report aggregate data in both the aggregation periods of 60 seconds and 300 seconds. Otherwise, you cannot query monitoring data in a time span that is more than seven days.
*
* This parameter is required.
*
* @example
* 0
*/
type?: string;
/**
* @remarks
* The collection of metric values. Valid values of N: 1 to 21.
*
* > If the Type parameter is set to 0, the keys in this parameter must be set to the specified value. CloudMonitor aggregates raw data in each aggregation period to generate multiple statistical values, such as the maximum value, the count, and the total value.
*
* This parameter is required.
*
* @example
* {"value":10.5}
*/
values?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}
export declare class PutCustomMetricRequest extends $dara.Model {
/**
* @remarks
* The monitoring data.
*
* This parameter is required.
*/
metricList?: PutCustomMetricRequestMetricList[];
regionId?: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
validate(): void;
constructor(map?: {
[key: string]: any;
});
}