功能新增: - 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>
45 lines
1.4 KiB
TypeScript
45 lines
1.4 KiB
TypeScript
import * as $dara from '@darabonba/typescript';
|
|
export declare class CreateMetricRuleResourcesRequest extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* Specifies whether to overwrite existing resources. Valid values:
|
|
*
|
|
* * true: The resources submitted this time overwrite the previously associated resources.
|
|
* * false: The resources submitted this time do not overwrite the previously associated resources. The associated resources after submission include the previously associated resources and the resources submitted this time.
|
|
*
|
|
* @example
|
|
* false
|
|
*/
|
|
overwrite?: string;
|
|
/**
|
|
* @remarks
|
|
* The resources that are associated with the alert rule. Set the value to a JSON array.
|
|
*
|
|
* > You can add up to 100 resources each time. An alert rule can be associated with up to 3,000 resources.
|
|
*
|
|
* This parameter is required.
|
|
*
|
|
* @example
|
|
* [{"instanceId":"i-a2d5q7pm3f9yr29e****"}]
|
|
*/
|
|
resources?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the alert rule.
|
|
*
|
|
* @example
|
|
* i-2ze3w55tr2rcpejpcfap_59c96b85-0339-4f35-ba66-ae4e34d3****
|
|
*/
|
|
ruleId?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|