功能新增: - 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>
142 lines
3.7 KiB
TypeScript
142 lines
3.7 KiB
TypeScript
import * as $dara from '@darabonba/typescript';
|
|
export declare class PutMetricRuleTargetsResponseBodyFailDataTargetsTarget extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The ARN of the resource. Format: `acs:{Service name abbreviation}:{regionId}:{userId}:/{Resource type}/{Resource name}/message`. SMQ, Auto Scaling, Simple Log Service, and Function Compute are supported. Example: `acs:mns:cn-hangzhou:120886317861****:/queues/test123/message`. The following part describes the ARN of SMQ and the parameters in the ARN:
|
|
*
|
|
* * {Service name abbreviation}: mns.
|
|
*
|
|
* * {userId}: the ID of the Alibaba Cloud account.
|
|
*
|
|
* * {regionId}: the region ID of the SMQ queue or topic.
|
|
*
|
|
* * {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.
|
|
*
|
|
* @example
|
|
* acs:mns:cn-hangzhou:111:/queues/test/message
|
|
*/
|
|
arn?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the resource for which alerts are triggered.
|
|
*
|
|
* @example
|
|
* 1
|
|
*/
|
|
id?: 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 PutMetricRuleTargetsResponseBodyFailDataTargets extends $dara.Model {
|
|
target?: PutMetricRuleTargetsResponseBodyFailDataTargetsTarget[];
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutMetricRuleTargetsResponseBodyFailData extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The information about the resources for which alerts are triggered.
|
|
*/
|
|
targets?: PutMetricRuleTargetsResponseBodyFailDataTargets;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutMetricRuleTargetsResponseBody extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The HTTP status code.
|
|
*
|
|
* > The status code 200 indicates that the request was successful.
|
|
*
|
|
* @example
|
|
* 200
|
|
*/
|
|
code?: string;
|
|
/**
|
|
* @remarks
|
|
* The failed data.
|
|
*/
|
|
failData?: PutMetricRuleTargetsResponseBodyFailData;
|
|
/**
|
|
* @remarks
|
|
* The error message returned.
|
|
*
|
|
* @example
|
|
* The request processing has failed due to some unknown error.
|
|
*/
|
|
message?: string;
|
|
/**
|
|
* @remarks
|
|
* The request ID.
|
|
*
|
|
* @example
|
|
* 6A569B0D-9055-58AF-9E82-BAEAF95C0FD5
|
|
*/
|
|
requestId?: string;
|
|
/**
|
|
* @remarks
|
|
* Indicates whether the request was successful. Valid values:
|
|
*
|
|
* * true: The request was successful.
|
|
* * false: The request failed.
|
|
*
|
|
* @example
|
|
* true
|
|
*/
|
|
success?: boolean;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|