功能新增: - 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>
351 lines
7.8 KiB
TypeScript
351 lines
7.8 KiB
TypeScript
import * as $dara from '@darabonba/typescript';
|
|
export declare class PutEventRuleTargetsRequestContactParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The name of the alert contact group. Valid values of N: 1 to 5.
|
|
*/
|
|
contactGroupName?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* 2
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The alert notification methods. Valid values of N: 1 to 5. Valid values:
|
|
*
|
|
* 4: Alert notifications are sent by using DingTalk and emails.
|
|
*
|
|
* @example
|
|
* 3
|
|
*/
|
|
level?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequestFcParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The name of the function. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* fc-test
|
|
*/
|
|
functionName?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* 1
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The region where Function Compute is deployed. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* cn-hangzhou
|
|
*/
|
|
region?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the Function Compute service. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* fc-test
|
|
*/
|
|
serviceName?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequestMnsParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* 3
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the SMQ queue. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* queue1
|
|
*/
|
|
queue?: string;
|
|
/**
|
|
* @remarks
|
|
* The region for SMQ. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* cn-hangzhou
|
|
*/
|
|
region?: string;
|
|
/**
|
|
* @remarks
|
|
* The SMQ topic.
|
|
*
|
|
* @example
|
|
* topic_sample
|
|
*/
|
|
topic?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequestOpenApiParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The API name.
|
|
*
|
|
* @example
|
|
* PutLogs
|
|
*/
|
|
action?: string;
|
|
/**
|
|
* @remarks
|
|
* The Alibaba Cloud Resource Name (ARN) of the resource. Valid values of N: 1 to 5. Format: `arn:acs:${Service}:${Region}:${Account}:${ResourceType}/${ResourceId}`. Fields:
|
|
*
|
|
* * Service: the code of a cloud service
|
|
* * Region: the region ID
|
|
* * Account: the ID of an Alibaba Cloud account
|
|
* * ResourceType: the resource type
|
|
* * ResourceId: the resource ID
|
|
*/
|
|
arn?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications sent by an API callback.
|
|
*
|
|
* @example
|
|
* 3
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The parameters of the alert callback. Specify the parameters in the JSON format.
|
|
*
|
|
* @example
|
|
* {"customField1":"value1","customField2":"$.name"}
|
|
*/
|
|
jsonParams?: string;
|
|
/**
|
|
* @remarks
|
|
* The ID of the cloud service to which the API operation belongs.
|
|
*
|
|
* @example
|
|
* log
|
|
*/
|
|
product?: string;
|
|
/**
|
|
* @remarks
|
|
* The region where the resource resides.
|
|
*
|
|
* @example
|
|
* cn-hangzhou
|
|
*/
|
|
region?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the role.
|
|
*
|
|
* @example
|
|
* MyRole
|
|
*/
|
|
role?: string;
|
|
/**
|
|
* @remarks
|
|
* The version of the API.
|
|
*
|
|
* @example
|
|
* 2019-01-01
|
|
*/
|
|
version?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequestSlsParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* 5
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the Simple Log Service Logstore. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* testlogstore
|
|
*/
|
|
logStore?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the Simple Log Service project. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* testproject
|
|
*/
|
|
project?: string;
|
|
/**
|
|
* @remarks
|
|
* The region where Simple Log Service is deployed. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* cn-hangzhou
|
|
*/
|
|
region?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequestWebhookParameters extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The ID of the recipient that receives alert notifications. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* 4
|
|
*/
|
|
id?: string;
|
|
/**
|
|
* @remarks
|
|
* The HTTP request method. Valid values of N: 1 to 5.
|
|
*
|
|
* Valid values: GET and POST.
|
|
*
|
|
* @example
|
|
* GET
|
|
*/
|
|
method?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the protocol. Valid values of N: 1 to 5. Valid values:
|
|
*
|
|
* * http
|
|
* * telnet
|
|
* * ping
|
|
*
|
|
* @example
|
|
* http
|
|
*/
|
|
protocol?: string;
|
|
/**
|
|
* @remarks
|
|
* The callback URL. Valid values of N: 1 to 5.
|
|
*
|
|
* @example
|
|
* http://www.aliyun.com
|
|
*/
|
|
url?: string;
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|
|
export declare class PutEventRuleTargetsRequest extends $dara.Model {
|
|
/**
|
|
* @remarks
|
|
* The information about the alert contact groups that receive alert notifications.
|
|
*/
|
|
contactParameters?: PutEventRuleTargetsRequestContactParameters[];
|
|
/**
|
|
* @remarks
|
|
* The information about the recipients in Function Compute.
|
|
*/
|
|
fcParameters?: PutEventRuleTargetsRequestFcParameters[];
|
|
/**
|
|
* @remarks
|
|
* The notifications of Simple Message Queue (formerly MNS) (SMQ).
|
|
*/
|
|
mnsParameters?: PutEventRuleTargetsRequestMnsParameters[];
|
|
/**
|
|
* @remarks
|
|
* The parameters of API callback notification.
|
|
*/
|
|
openApiParameters?: PutEventRuleTargetsRequestOpenApiParameters[];
|
|
regionId?: string;
|
|
/**
|
|
* @remarks
|
|
* The name of the alert rule.
|
|
*
|
|
* This parameter is required.
|
|
*
|
|
* @example
|
|
* testEventRule
|
|
*/
|
|
ruleName?: string;
|
|
/**
|
|
* @remarks
|
|
* The information about the recipients in Simple Log Service.
|
|
*/
|
|
slsParameters?: PutEventRuleTargetsRequestSlsParameters[];
|
|
/**
|
|
* @remarks
|
|
* The information about the callback URLs that are used to receive alert notifications.
|
|
*/
|
|
webhookParameters?: PutEventRuleTargetsRequestWebhookParameters[];
|
|
static names(): {
|
|
[key: string]: string;
|
|
};
|
|
static types(): {
|
|
[key: string]: any;
|
|
};
|
|
validate(): void;
|
|
constructor(map?: {
|
|
[key: string]: any;
|
|
});
|
|
}
|