功能新增: - 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>
122 lines
3.4 KiB
TypeScript
122 lines
3.4 KiB
TypeScript
import * as $dara from '@darabonba/typescript';
|
|
export declare class DescribeMetricRuleTargetsResponseBodyTargetsTarget extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The Alibaba Cloud Resource Name (ARN) of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. Fields:
|
|
*
|
|
* * {Service name abbreviation}: the abbreviation of the service name. Valid value: mns.
|
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
* * {regionId}: the region ID of the message queue or topic.
|
|
* * {Resource type}`: the type of the resource for which alerts are triggered. Valid values: - **queues** - **topics** {Resource name}: the name of the resource. - If the resource type is set to **queues**, the resource name is the name of the message queue. - If the resource type is set to **topics**, the resource name is the name of the topic.`
|
|
*
|
|
* @example
|
|
* acs:mns:cn-hangzhou:120886317861****:/queues/test/message
|
|
*/
|
|
arn?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the resource for which alerts are triggered.
|
|
*
|
|
* @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 level of the alert. Valid values:
|
|
*
|
|
* * INFO: information
|
|
* * WARN: warning
|
|
* * CRITICAL: 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 DescribeMetricRuleTargetsResponseBodyTargets extends $dara.Model {
|
|
target?: DescribeMetricRuleTargetsResponseBodyTargetsTarget[];
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class DescribeMetricRuleTargetsResponseBody extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The HTTP status code.
|
|
*
|
|
* > The status code 200 indicates that the call was successful.
|
|
*
|
|
* @example
|
|
* 200
|
|
*/
|
|
code?: string;
|
|
/**
|
|
* @remarks
|
|
* The error message.
|
|
*
|
|
* @example
|
|
* User not authorized to operate on the specified resource.
|
|
*/
|
|
message?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the request.
|
|
*
|
|
* @example
|
|
* 786E92D2-AC66-4250-B76F-F1E2FCDDBA1C
|
|
*/
|
|
requestId?: string;
|
|
/**
|
|
* @remarks
|
|
* Indicates whether the call was successful. Valid values:
|
|
*
|
|
* * true: The call was successful.
|
|
* * false: The call failed.
|
|
*
|
|
* @example
|
|
* true
|
|
*/
|
|
success?: boolean;
|
|
/**
|
|
* @remarks
|
|
* The information about the resource for which alerts are triggered.
|
|
*/
|
|
targets?: DescribeMetricRuleTargetsResponseBodyTargets;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|