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:
117
backend/node_modules/@alicloud/cms20190101/dist/models/PutMetricRuleTargetsRequest.d.ts
generated
vendored
Normal file
117
backend/node_modules/@alicloud/cms20190101/dist/models/PutMetricRuleTargetsRequest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,117 @@
|
||||
import * as $dara from '@darabonba/typescript';
|
||||
export declare class PutMetricRuleTargetsRequestTargets extends $dara.Model {
|
||||
/**
|
||||
* @remarks
|
||||
* The Alibaba Cloud Resource Name (ARN) of the resource. Simple Message Queue (formerly MNS) (SMQ), Auto Scaling, Simple Log Service, and Function Compute are supported.
|
||||
*
|
||||
* The following part describes the ARN of SMQ and the parameters in the ARN:
|
||||
*
|
||||
* `acs:mns:{regionId}:{userId}:/{Resource type}/{Resource name}/message`.
|
||||
*
|
||||
* * {regionId}: the region ID of the SMQ queue or topic.
|
||||
*
|
||||
* * {userId}: the ID of the Alibaba Cloud account that owns the resource.
|
||||
*
|
||||
* * {Resource type}: the type of the resource for which alerts are triggered. Valid values:
|
||||
*
|
||||
* * **queues**
|
||||
* * **topics**
|
||||
*
|
||||
* * {Resource name}: the resource name.
|
||||
*
|
||||
* * If the resource type is **queues**, the resource name is the queue name.
|
||||
* * If the resource type is **topics**, the resource name is the topic name.
|
||||
*
|
||||
* ARN of Auto Scaling:
|
||||
*
|
||||
* acs:ess:{regionId}:{userId}:scalingGroupId/{Scaling group ID}:scalingRuleId/{Scaling rule ID}
|
||||
*
|
||||
* ARN of Simple Log Service:
|
||||
*
|
||||
* acs:log:{regionId}:{userId}:project/{Project name}/logstore/{Logstore name}
|
||||
*
|
||||
* ARN of Function Compute:
|
||||
*
|
||||
* acs:fc:{regionId}:{userId}:services/{Service name}/functions/{Function name}
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
||||
*/
|
||||
arn?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the resource for which alerts are triggered.
|
||||
*
|
||||
* For more information about how to obtain the ID of the resource for which alerts are triggered, see [DescribeMetricRuleTargets](https://help.aliyun.com/document_detail/121592.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* 1
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The parameters of the alert callback. The parameters are in the JSON format.
|
||||
*
|
||||
* @example
|
||||
* {"customField1":"value1","customField2":"$.name"}
|
||||
*/
|
||||
jsonParams?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The alert level. Valid values:
|
||||
*
|
||||
* * INFO
|
||||
* * WARN
|
||||
* * CRITICAL
|
||||
*
|
||||
* @example
|
||||
* ["INFO", "WARN", "CRITICAL"]
|
||||
*/
|
||||
level?: string;
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
export declare class PutMetricRuleTargetsRequest extends $dara.Model {
|
||||
regionId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* The ID of the alert rule.
|
||||
*
|
||||
* For information about how to obtain the ID of an alert rule, see [DescribeMetricRuleList](https://help.aliyun.com/document_detail/114941.html).
|
||||
*
|
||||
* This parameter is required.
|
||||
*
|
||||
* @example
|
||||
* ae06917_75a8c43178ab66****
|
||||
*/
|
||||
ruleId?: string;
|
||||
/**
|
||||
* @remarks
|
||||
* None.
|
||||
*
|
||||
* This parameter is required.
|
||||
*/
|
||||
targets?: PutMetricRuleTargetsRequestTargets[];
|
||||
static names(): {
|
||||
[key: string]: string;
|
||||
};
|
||||
static types(): {
|
||||
[key: string]: any;
|
||||
};
|
||||
validate(): void;
|
||||
constructor(map?: {
|
||||
[key: string]: any;
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user