tencentcloud-sdk-nodejs-cls 4.1.2 → 4.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/es/services/cls/v20201016/cls_client.js +12 -0
- package/package.json +3 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +17 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +24 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +347 -187
package/README.md
CHANGED
|
@@ -44,11 +44,19 @@ npm install tencentcloud-sdk-nodejs-vpc --save
|
|
|
44
44
|
|
|
45
45
|
### 安装全产品 SDK
|
|
46
46
|
|
|
47
|
+
如果项目依赖的云产品较多,可以引入全产品 SDK。
|
|
48
|
+
|
|
47
49
|
```
|
|
48
50
|
npm install tencentcloud-sdk-nodejs --save
|
|
49
51
|
```
|
|
50
52
|
|
|
51
|
-
全产品 SDK
|
|
53
|
+
全产品 SDK 包含所有云产品调用代码和 TypeScript 类型文件,体积偏大。对于体积敏感的场景,推荐安装指定产品 SDK。
|
|
54
|
+
|
|
55
|
+
如果既希望全产品调用,又对包体积比较敏感,可以使用 Slim 版本 SDK。Slim SDK 移除类型文件,并进行了代码压缩,适合体积敏感场景使用:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
npm install tencentcloud-sdk-slim-nodejs --save
|
|
59
|
+
```
|
|
52
60
|
|
|
53
61
|
## 通过源码包安装
|
|
54
62
|
|
|
@@ -15,6 +15,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
15
15
|
async GetAlarmLog(req, cb) {
|
|
16
16
|
return this.request("GetAlarmLog", req, cb);
|
|
17
17
|
}
|
|
18
|
+
async DeleteCloudProductLogCollection(req, cb) {
|
|
19
|
+
return this.request("DeleteCloudProductLogCollection", req, cb);
|
|
20
|
+
}
|
|
18
21
|
async CreateIndex(req, cb) {
|
|
19
22
|
return this.request("CreateIndex", req, cb);
|
|
20
23
|
}
|
|
@@ -48,6 +51,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
48
51
|
async CreateTopic(req, cb) {
|
|
49
52
|
return this.request("CreateTopic", req, cb);
|
|
50
53
|
}
|
|
54
|
+
async DescribeCloudProductLogTasks(req, cb) {
|
|
55
|
+
return this.request("DescribeCloudProductLogTasks", req, cb);
|
|
56
|
+
}
|
|
51
57
|
async DeleteAlarmNotice(req, cb) {
|
|
52
58
|
return this.request("DeleteAlarmNotice", req, cb);
|
|
53
59
|
}
|
|
@@ -66,6 +72,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
66
72
|
async DescribeTopics(req, cb) {
|
|
67
73
|
return this.request("DescribeTopics", req, cb);
|
|
68
74
|
}
|
|
75
|
+
async CreateCloudProductLogCollection(req, cb) {
|
|
76
|
+
return this.request("CreateCloudProductLogCollection", req, cb);
|
|
77
|
+
}
|
|
69
78
|
async CreateCosRecharge(req, cb) {
|
|
70
79
|
return this.request("CreateCosRecharge", req, cb);
|
|
71
80
|
}
|
|
@@ -87,6 +96,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
|
|
|
87
96
|
async ModifyKafkaRecharge(req, cb) {
|
|
88
97
|
return this.request("ModifyKafkaRecharge", req, cb);
|
|
89
98
|
}
|
|
99
|
+
async ModifyCloudProductLogCollection(req, cb) {
|
|
100
|
+
return this.request("ModifyCloudProductLogCollection", req, cb);
|
|
101
|
+
}
|
|
90
102
|
async CreateAlarmShield(req, cb) {
|
|
91
103
|
return this.request("CreateAlarmShield", req, cb);
|
|
92
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-cls",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.9",
|
|
4
4
|
"description": "腾讯云 API NODEJS SDK",
|
|
5
5
|
"main": "./tencentcloud/index.js",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
11
|
"build:cjs": "tsc -p tsconfig.json",
|
|
12
12
|
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"build:slim": "node ./scripts/build_slim.js",
|
|
13
14
|
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
14
15
|
"clean": "rimraf tencentcloud es"
|
|
15
16
|
},
|
|
@@ -53,6 +54,7 @@
|
|
|
53
54
|
"babel-eslint": "^10.0.2",
|
|
54
55
|
"chai": "^4.2.0",
|
|
55
56
|
"concurrently": "^6.5.1",
|
|
57
|
+
"esbuild": "^0.25.0",
|
|
56
58
|
"eslint": "^6.8.0",
|
|
57
59
|
"eslint-plugin-react": "^7.17.0",
|
|
58
60
|
"mocha": "^8.4.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeAlarmNoticesRequest, CreateAlarmResponse, DeleteAlarmNoticeResponse, DescribeLogHistogramRequest, DeleteAlarmShieldRequest, DescribeLogContextRequest, DeleteShipperRequest, DeleteScheduledSqlRequest, DeleteLogsetResponse, UploadLogResponse, DescribeCosRechargesResponse, DescribeShipperTasksResponse, CheckFunctionRequest, DescribeAlarmShieldsResponse, ModifyConfigExtraResponse, SearchCosRechargeInfoRequest, DeleteScheduledSqlResponse, DescribeNoticeContentsRequest, DeleteConsoleSharingRequest, UploadLogRequest, DescribeWebCallbacksResponse, CreateLogsetRequest, DescribeShippersRequest, CreateScheduledSqlResponse, DescribeDashboardsRequest, CreateConsoleSharingRequest, DeleteNoticeContentResponse, DeleteTopicRequest, DescribePartitionsRequest, QueryRangeMetricRequest, ModifyAlarmResponse, DescribeShipperTasksRequest,
|
|
2
|
+
import { DescribeAlarmNoticesRequest, CreateAlarmResponse, DeleteAlarmNoticeResponse, DescribeLogHistogramRequest, DeleteAlarmShieldRequest, DescribeLogContextRequest, DeleteShipperRequest, DeleteScheduledSqlRequest, DeleteLogsetResponse, UploadLogResponse, DescribeCosRechargesResponse, DescribeShipperTasksResponse, CheckFunctionRequest, DescribeAlarmShieldsResponse, ModifyConfigExtraResponse, SearchCosRechargeInfoRequest, DeleteScheduledSqlResponse, DescribeNoticeContentsRequest, DeleteConsoleSharingRequest, UploadLogRequest, DescribeWebCallbacksResponse, CreateLogsetRequest, DescribeShippersRequest, CreateScheduledSqlResponse, DescribeDashboardsRequest, CreateConsoleSharingRequest, DeleteNoticeContentResponse, DeleteTopicRequest, DescribePartitionsRequest, QueryRangeMetricRequest, ModifyAlarmResponse, DescribeShipperTasksRequest, DeleteCloudProductLogCollectionRequest, CreateCloudProductLogCollectionRequest, DescribeShippersResponse, DescribeKafkaConsumerResponse, CreateConfigExtraResponse, DeleteKafkaRechargeResponse, ModifyDataTransformRequest, DescribeScheduledSqlInfoResponse, OpenKafkaConsumerResponse, DescribeIndexRequest, ModifyScheduledSqlResponse, DeleteMachineGroupInfoRequest, CreateLogsetResponse, DescribeConfigMachineGroupsRequest, ModifyTopicRequest, CreateCosRechargeRequest, DescribeConfigsResponse, DescribeNoticeContentsResponse, CreateAlarmShieldResponse, DeleteDataTransformResponse, DeleteConfigExtraResponse, ModifyConsumerRequest, CreateIndexResponse, DeleteConfigFromMachineGroupResponse, ModifyDashboardSubscribeResponse, ModifyDashboardSubscribeRequest, CreateConsumerResponse, DescribeConsoleSharingListResponse, DeleteWebCallbackResponse, ModifyMachineGroupResponse, CreateDashboardSubscribeRequest, DeleteMachineGroupRequest, QueryMetricResponse, DescribeAlarmShieldsRequest, ModifyLogsetRequest, ModifyNoticeContentResponse, SearchDashboardSubscribeRequest, DescribePartitionsResponse, DescribeConfigMachineGroupsResponse, ModifyAlarmRequest, DescribeTopicsResponse, ModifyAlarmNoticeRequest, CreateAlarmRequest, DeleteDataTransformRequest, DeleteExportResponse, DescribeDashboardSubscribesRequest, DeleteMachineGroupResponse, CreateNoticeContentResponse, CreateConfigExtraRequest, DescribeCloudProductLogTasksResponse, SplitPartitionRequest, DescribeMachineGroupConfigsResponse, CheckRechargeKafkaServerRequest, CreateAlarmShieldRequest, DeleteDashboardSubscribeResponse, DescribeLogHistogramResponse, CloseKafkaConsumerResponse, DeleteAlarmShieldResponse, DescribeConsumerRequest, CreateIndexRequest, DescribeLogsetsResponse, CreateTopicRequest, DescribeTopicsRequest, DeleteConsumerResponse, GetAlarmLogResponse, CreateWebCallbackResponse, CreateDashboardSubscribeResponse, DescribeExportsRequest, CreateMachineGroupResponse, DescribeCosRechargesRequest, CreateKafkaRechargeResponse, ModifyScheduledSqlRequest, ModifyAlarmShieldResponse, CreateDeliverCloudFunctionRequest, ModifyCloudProductLogCollectionResponse, DeleteConsumerRequest, CreateWebCallbackRequest, DescribeMachineGroupsRequest, DeleteIndexRequest, ModifyConsumerResponse, DescribeAlertRecordHistoryRequest, DescribeConfigsRequest, DeleteConfigRequest, DeleteWebCallbackRequest, CloseKafkaConsumerRequest, CreateExportRequest, DescribeAlarmNoticesResponse, ModifyAlarmShieldRequest, DescribeMachineGroupsResponse, DeleteConfigExtraRequest, ModifyConfigRequest, AddMachineGroupInfoRequest, DescribeKafkaRechargesRequest, ModifyConsoleSharingRequest, PreviewKafkaRechargeResponse, ModifyWebCallbackRequest, CreateShipperRequest, CreateTopicResponse, DeleteAlarmResponse, DescribeAlarmsResponse, CreateAlarmNoticeResponse, DeleteConsoleSharingResponse, CreateConfigRequest, CreateShipperResponse, ModifyCloudProductLogCollectionRequest, DescribeKafkaRechargesResponse, DeleteIndexResponse, ModifyTopicResponse, ModifyIndexRequest, DescribeDataTransformInfoRequest, DeleteConfigResponse, DeleteShipperResponse, ModifyKafkaConsumerRequest, DeleteCloudProductLogCollectionResponse, ModifyIndexResponse, DescribeLogContextResponse, SearchLogResponse, CheckFunctionResponse, DeleteExportRequest, PreviewKafkaRechargeRequest, SplitPartitionResponse, CreateDataTransformResponse, ModifyShipperRequest, CreateKafkaRechargeRequest, DeleteKafkaRechargeRequest, CreateConfigResponse, CreateConsumerRequest, ModifyWebCallbackResponse, ModifyConfigResponse, ModifyNoticeContentRequest, OpenKafkaConsumerRequest, QueryRangeMetricResponse, ModifyKafkaRechargeResponse, ModifyAlarmNoticeResponse, CreateDeliverCloudFunctionResponse, DescribeMachinesResponse, ModifyCosRechargeResponse, DescribeDashboardsResponse, ApplyConfigToMachineGroupResponse, DeleteAlarmRequest, CreateConsoleSharingResponse, ModifyKafkaConsumerResponse, ModifyConsoleSharingResponse, CreateCloudProductLogCollectionResponse, DeleteConfigFromMachineGroupRequest, SearchCosRechargeInfoResponse, DescribeAlarmsRequest, QueryMetricRequest, DescribeDashboardSubscribesResponse, CreateCosRechargeResponse, DescribeAlertRecordHistoryResponse, SearchDashboardSubscribeResponse, AddMachineGroupInfoResponse, ModifyMachineGroupRequest, MergePartitionRequest, DeleteDashboardSubscribeRequest, DescribeConsumerResponse, CreateNoticeContentRequest, DescribeMachinesRequest, DeleteAlarmNoticeRequest, DescribeScheduledSqlInfoRequest, DeleteLogsetRequest, ModifyLogsetResponse, CreateMachineGroupRequest, DescribeExportsResponse, ApplyConfigToMachineGroupRequest, DescribeConfigExtrasRequest, DescribeCloudProductLogTasksRequest, CreateAlarmNoticeRequest, ModifyShipperResponse, DescribeIndexResponse, DescribeMachineGroupConfigsRequest, ModifyConfigExtraRequest, ModifyKafkaRechargeRequest, CreateDataTransformRequest, DeleteMachineGroupInfoResponse, CheckRechargeKafkaServerResponse, ModifyCosRechargeRequest, DescribeLogsetsRequest, DeleteTopicResponse, SearchLogRequest, DescribeWebCallbacksRequest, DeleteNoticeContentRequest, DescribeKafkaConsumerRequest, ModifyDataTransformResponse, DescribeDataTransformInfoResponse, RetryShipperTaskRequest, CreateExportResponse, DescribeConsoleSharingListRequest, GetAlarmLogRequest, MergePartitionResponse, CreateScheduledSqlRequest, RetryShipperTaskResponse, DescribeConfigExtrasResponse } from "./cls_models";
|
|
3
3
|
/**
|
|
4
4
|
* cls client
|
|
5
5
|
* @class
|
|
@@ -22,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
22
22
|
* 本接口用于获取告警策略执行详情
|
|
23
23
|
*/
|
|
24
24
|
GetAlarmLog(req: GetAlarmLogRequest, cb?: (error: string, rep: GetAlarmLogResponse) => void): Promise<GetAlarmLogResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* 内部云产品接入使用相关接口
|
|
27
|
+
*/
|
|
28
|
+
DeleteCloudProductLogCollection(req: DeleteCloudProductLogCollectionRequest, cb?: (error: string, rep: DeleteCloudProductLogCollectionResponse) => void): Promise<DeleteCloudProductLogCollectionResponse>;
|
|
25
29
|
/**
|
|
26
30
|
* 本接口用于创建索引
|
|
27
31
|
*/
|
|
@@ -67,6 +71,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
67
71
|
* 本接口用于创建日志主题。
|
|
68
72
|
*/
|
|
69
73
|
CreateTopic(req: CreateTopicRequest, cb?: (error: string, rep: CreateTopicResponse) => void): Promise<CreateTopicResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* 云产品接入使用相关接口
|
|
76
|
+
*/
|
|
77
|
+
DescribeCloudProductLogTasks(req: DescribeCloudProductLogTasksRequest, cb?: (error: string, rep: DescribeCloudProductLogTasksResponse) => void): Promise<DescribeCloudProductLogTasksResponse>;
|
|
70
78
|
/**
|
|
71
79
|
* 该接口用于删除通知渠道组
|
|
72
80
|
*/
|
|
@@ -91,6 +99,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
91
99
|
* 本接口用于获取日志主题列表,支持分页
|
|
92
100
|
*/
|
|
93
101
|
DescribeTopics(req: DescribeTopicsRequest, cb?: (error: string, rep: DescribeTopicsResponse) => void): Promise<DescribeTopicsResponse>;
|
|
102
|
+
/**
|
|
103
|
+
* 内部云产品接入使用相关接口
|
|
104
|
+
*/
|
|
105
|
+
CreateCloudProductLogCollection(req: CreateCloudProductLogCollectionRequest, cb?: (error: string, rep: CreateCloudProductLogCollectionResponse) => void): Promise<CreateCloudProductLogCollectionResponse>;
|
|
94
106
|
/**
|
|
95
107
|
* 本接口用于创建cos导入任务
|
|
96
108
|
*/
|
|
@@ -119,6 +131,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
119
131
|
* 本接口用于修改Kafka数据订阅任务
|
|
120
132
|
*/
|
|
121
133
|
ModifyKafkaRecharge(req: ModifyKafkaRechargeRequest, cb?: (error: string, rep: ModifyKafkaRechargeResponse) => void): Promise<ModifyKafkaRechargeResponse>;
|
|
134
|
+
/**
|
|
135
|
+
* 内部云产品接入使用相关接口
|
|
136
|
+
*/
|
|
137
|
+
ModifyCloudProductLogCollection(req: ModifyCloudProductLogCollectionRequest, cb?: (error: string, rep: ModifyCloudProductLogCollectionResponse) => void): Promise<ModifyCloudProductLogCollectionResponse>;
|
|
122
138
|
/**
|
|
123
139
|
* 该接口用于创建告警屏蔽规则。
|
|
124
140
|
*/
|
|
@@ -52,6 +52,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
52
52
|
async GetAlarmLog(req, cb) {
|
|
53
53
|
return this.request("GetAlarmLog", req, cb);
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* 内部云产品接入使用相关接口
|
|
57
|
+
*/
|
|
58
|
+
async DeleteCloudProductLogCollection(req, cb) {
|
|
59
|
+
return this.request("DeleteCloudProductLogCollection", req, cb);
|
|
60
|
+
}
|
|
55
61
|
/**
|
|
56
62
|
* 本接口用于创建索引
|
|
57
63
|
*/
|
|
@@ -119,6 +125,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
119
125
|
async CreateTopic(req, cb) {
|
|
120
126
|
return this.request("CreateTopic", req, cb);
|
|
121
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* 云产品接入使用相关接口
|
|
130
|
+
*/
|
|
131
|
+
async DescribeCloudProductLogTasks(req, cb) {
|
|
132
|
+
return this.request("DescribeCloudProductLogTasks", req, cb);
|
|
133
|
+
}
|
|
122
134
|
/**
|
|
123
135
|
* 该接口用于删除通知渠道组
|
|
124
136
|
*/
|
|
@@ -155,6 +167,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
155
167
|
async DescribeTopics(req, cb) {
|
|
156
168
|
return this.request("DescribeTopics", req, cb);
|
|
157
169
|
}
|
|
170
|
+
/**
|
|
171
|
+
* 内部云产品接入使用相关接口
|
|
172
|
+
*/
|
|
173
|
+
async CreateCloudProductLogCollection(req, cb) {
|
|
174
|
+
return this.request("CreateCloudProductLogCollection", req, cb);
|
|
175
|
+
}
|
|
158
176
|
/**
|
|
159
177
|
* 本接口用于创建cos导入任务
|
|
160
178
|
*/
|
|
@@ -197,6 +215,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
197
215
|
async ModifyKafkaRecharge(req, cb) {
|
|
198
216
|
return this.request("ModifyKafkaRecharge", req, cb);
|
|
199
217
|
}
|
|
218
|
+
/**
|
|
219
|
+
* 内部云产品接入使用相关接口
|
|
220
|
+
*/
|
|
221
|
+
async ModifyCloudProductLogCollection(req, cb) {
|
|
222
|
+
return this.request("ModifyCloudProductLogCollection", req, cb);
|
|
223
|
+
}
|
|
200
224
|
/**
|
|
201
225
|
* 该接口用于创建告警屏蔽规则。
|
|
202
226
|
*/
|
|
@@ -172,22 +172,18 @@ export interface LogInfo {
|
|
|
172
172
|
PkgLogId?: string;
|
|
173
173
|
/**
|
|
174
174
|
* 日志内容的Json序列化字符串
|
|
175
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
176
175
|
*/
|
|
177
176
|
LogJson?: string;
|
|
178
177
|
/**
|
|
179
178
|
* 日志来源主机名称
|
|
180
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
181
179
|
*/
|
|
182
180
|
HostName?: string;
|
|
183
181
|
/**
|
|
184
182
|
* 原始日志(仅在日志创建索引异常时有值)
|
|
185
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
186
183
|
*/
|
|
187
184
|
RawLog?: string;
|
|
188
185
|
/**
|
|
189
186
|
* 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
|
190
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
191
187
|
*/
|
|
192
188
|
IndexStatus?: string;
|
|
193
189
|
}
|
|
@@ -322,7 +318,6 @@ export interface DeleteScheduledSqlRequest {
|
|
|
322
318
|
export interface DynamicIndex {
|
|
323
319
|
/**
|
|
324
320
|
* 键值索引自动配置开关
|
|
325
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
326
321
|
*/
|
|
327
322
|
Status?: boolean;
|
|
328
323
|
}
|
|
@@ -940,21 +935,94 @@ export interface CollectInfo {
|
|
|
940
935
|
CollectConfigs?: Array<CollectConfig>;
|
|
941
936
|
}
|
|
942
937
|
/**
|
|
943
|
-
*
|
|
938
|
+
* DeleteCloudProductLogCollection请求参数结构体
|
|
944
939
|
*/
|
|
945
|
-
export interface
|
|
940
|
+
export interface DeleteCloudProductLogCollectionRequest {
|
|
946
941
|
/**
|
|
947
|
-
*
|
|
942
|
+
* 实例ID
|
|
948
943
|
*/
|
|
949
|
-
|
|
944
|
+
InstanceId: string;
|
|
950
945
|
/**
|
|
951
|
-
*
|
|
952
|
-
|
|
953
|
-
1. 入参PartitionId只能是读写分区(Status的值有readonly,readwrite),且能找到入参PartitionId的下一个可读写分区(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等);
|
|
954
|
-
2. 入参PartitionId不能是最后一个分区(PartitionId的ExclusiveEndKey不能是ffffffffffffffffffffffffffffffff);
|
|
955
|
-
3. topic的分区数量是有限制的(默认50个),合并之后不能超过最大分区,否则不能合并。
|
|
946
|
+
* 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
|
956
947
|
*/
|
|
957
|
-
|
|
948
|
+
AssumerName: string;
|
|
949
|
+
/**
|
|
950
|
+
* 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
|
951
|
+
*/
|
|
952
|
+
LogType: string;
|
|
953
|
+
/**
|
|
954
|
+
* 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
|
955
|
+
- CDS所有日志类型:ap-guangzhou
|
|
956
|
+
- CDB-AUDIT: gz
|
|
957
|
+
- TDSQL-C-AUDIT: gz
|
|
958
|
+
- MongoDB-AUDIT: gz
|
|
959
|
+
- MongoDB-SlowLog:ap-guangzhou
|
|
960
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
|
961
|
+
- TDMYSQL-SLOW:gz
|
|
962
|
+
- DCDB所有日志类型:gz
|
|
963
|
+
- MariaDB所有日志类型:gz
|
|
964
|
+
- PostgreSQL所有日志类型:gz
|
|
965
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
|
966
|
+
- APIS所有日志类型:gz
|
|
967
|
+
*/
|
|
968
|
+
CloudProductRegion: string;
|
|
969
|
+
}
|
|
970
|
+
/**
|
|
971
|
+
* CreateCloudProductLogCollection请求参数结构体
|
|
972
|
+
*/
|
|
973
|
+
export interface CreateCloudProductLogCollectionRequest {
|
|
974
|
+
/**
|
|
975
|
+
* 实例ID
|
|
976
|
+
*/
|
|
977
|
+
InstanceId: string;
|
|
978
|
+
/**
|
|
979
|
+
* 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
|
980
|
+
*/
|
|
981
|
+
AssumerName: string;
|
|
982
|
+
/**
|
|
983
|
+
* 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
|
984
|
+
*/
|
|
985
|
+
LogType: string;
|
|
986
|
+
/**
|
|
987
|
+
* 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
|
988
|
+
- CDS所有日志类型:ap-guangzhou
|
|
989
|
+
- CDB-AUDIT: gz
|
|
990
|
+
- TDSQL-C-AUDIT: gz
|
|
991
|
+
- MongoDB-AUDIT: gz
|
|
992
|
+
- MongoDB-SlowLog:ap-guangzhou
|
|
993
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
|
994
|
+
- TDMYSQL-SLOW:gz
|
|
995
|
+
- DCDB所有日志类型:gz
|
|
996
|
+
- MariaDB所有日志类型:gz
|
|
997
|
+
- PostgreSQL所有日志类型:gz
|
|
998
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
|
999
|
+
- APIS所有日志类型:gz
|
|
1000
|
+
*/
|
|
1001
|
+
CloudProductRegion: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* CLS目标地域
|
|
1004
|
+
*/
|
|
1005
|
+
ClsRegion: string;
|
|
1006
|
+
/**
|
|
1007
|
+
* 日志集名称,未填LogsetId时必填。若日志集不存在, 将自动创建
|
|
1008
|
+
*/
|
|
1009
|
+
LogsetName?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* 日志主题名称,在未填TopicId时必填。 若日志主题不存在,将自动创建
|
|
1012
|
+
*/
|
|
1013
|
+
TopicName?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
|
1016
|
+
*/
|
|
1017
|
+
Extend?: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* 日志集id
|
|
1020
|
+
*/
|
|
1021
|
+
LogsetId?: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* 日志主题id
|
|
1024
|
+
*/
|
|
1025
|
+
TopicId?: string;
|
|
958
1026
|
}
|
|
959
1027
|
/**
|
|
960
1028
|
* DescribeShippers返回参数结构体
|
|
@@ -1051,37 +1119,30 @@ export interface CreateConfigExtraResponse {
|
|
|
1051
1119
|
export interface KafkaRechargeInfo {
|
|
1052
1120
|
/**
|
|
1053
1121
|
* Kafka数据订阅配置的ID。
|
|
1054
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1055
1122
|
*/
|
|
1056
1123
|
Id?: string;
|
|
1057
1124
|
/**
|
|
1058
1125
|
* 日志主题ID
|
|
1059
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1060
1126
|
*/
|
|
1061
1127
|
TopicId?: string;
|
|
1062
1128
|
/**
|
|
1063
1129
|
* Kafka导入任务名称
|
|
1064
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1065
1130
|
*/
|
|
1066
1131
|
Name?: string;
|
|
1067
1132
|
/**
|
|
1068
1133
|
* 导入Kafka类型,0: 腾讯云CKafka,1: 用户自建Kafka
|
|
1069
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1070
1134
|
*/
|
|
1071
1135
|
KafkaType?: number;
|
|
1072
1136
|
/**
|
|
1073
1137
|
* 腾讯云CKafka实例ID,KafkaType为0时必填
|
|
1074
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1075
1138
|
*/
|
|
1076
1139
|
KafkaInstance?: string;
|
|
1077
1140
|
/**
|
|
1078
1141
|
* 服务地址
|
|
1079
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1080
1142
|
*/
|
|
1081
1143
|
ServerAddr?: string;
|
|
1082
1144
|
/**
|
|
1083
1145
|
* ServerAddr是否为加密连接
|
|
1084
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1085
1146
|
*/
|
|
1086
1147
|
IsEncryptionAddr?: boolean;
|
|
1087
1148
|
/**
|
|
@@ -1090,37 +1151,30 @@ export interface KafkaRechargeInfo {
|
|
|
1090
1151
|
Protocol?: KafkaProtocolInfo;
|
|
1091
1152
|
/**
|
|
1092
1153
|
* 用户需要导入的Kafka相关topic列表,多个topic之间使用半角逗号隔开
|
|
1093
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1094
1154
|
*/
|
|
1095
1155
|
UserKafkaTopics?: string;
|
|
1096
1156
|
/**
|
|
1097
1157
|
* 用户Kafka消费组名称
|
|
1098
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1099
1158
|
*/
|
|
1100
1159
|
ConsumerGroupName?: string;
|
|
1101
1160
|
/**
|
|
1102
1161
|
* 状态 ,1:运行中;2:暂停。
|
|
1103
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1104
1162
|
*/
|
|
1105
1163
|
Status?: number;
|
|
1106
1164
|
/**
|
|
1107
1165
|
* 导入数据位置,-2:最早(默认),-1:最晚
|
|
1108
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1109
1166
|
*/
|
|
1110
1167
|
Offset?: number;
|
|
1111
1168
|
/**
|
|
1112
1169
|
* 创建时间
|
|
1113
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1114
1170
|
*/
|
|
1115
1171
|
CreateTime?: string;
|
|
1116
1172
|
/**
|
|
1117
1173
|
* 更新时间
|
|
1118
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1119
1174
|
*/
|
|
1120
1175
|
UpdateTime?: string;
|
|
1121
1176
|
/**
|
|
1122
1177
|
* 日志导入规则
|
|
1123
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1124
1178
|
*/
|
|
1125
1179
|
LogRechargeRule?: LogRechargeRuleInfo;
|
|
1126
1180
|
}
|
|
@@ -1147,32 +1201,45 @@ export interface ContainerWorkLoadInfo {
|
|
|
1147
1201
|
Name: string;
|
|
1148
1202
|
/**
|
|
1149
1203
|
* 容器名
|
|
1150
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1151
1204
|
*/
|
|
1152
1205
|
Container?: string;
|
|
1153
1206
|
/**
|
|
1154
1207
|
* 命名空间
|
|
1155
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1156
1208
|
*/
|
|
1157
1209
|
Namespace?: string;
|
|
1158
1210
|
}
|
|
1159
1211
|
/**
|
|
1160
|
-
*
|
|
1212
|
+
* 云产品日志投递任务信息
|
|
1161
1213
|
*/
|
|
1162
|
-
export interface
|
|
1214
|
+
export interface CloudProductLogTaskInfo {
|
|
1163
1215
|
/**
|
|
1164
|
-
*
|
|
1165
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1216
|
+
* 日志服务地域
|
|
1166
1217
|
*/
|
|
1167
|
-
|
|
1218
|
+
ClsRegion?: string;
|
|
1168
1219
|
/**
|
|
1169
|
-
*
|
|
1220
|
+
* 实例ID
|
|
1170
1221
|
*/
|
|
1171
|
-
|
|
1222
|
+
InstanceId?: string;
|
|
1172
1223
|
/**
|
|
1173
|
-
*
|
|
1224
|
+
* 日志集ID
|
|
1174
1225
|
*/
|
|
1175
|
-
|
|
1226
|
+
LogsetId?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* 日志主题ID
|
|
1229
|
+
*/
|
|
1230
|
+
TopicId?: string;
|
|
1231
|
+
/**
|
|
1232
|
+
* 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
|
1233
|
+
*/
|
|
1234
|
+
Extend?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
|
1237
|
+
*/
|
|
1238
|
+
LogType?: string;
|
|
1239
|
+
/**
|
|
1240
|
+
* 任务状态, 0创建中 1创建完成 2 删除中
|
|
1241
|
+
*/
|
|
1242
|
+
Status?: number;
|
|
1176
1243
|
}
|
|
1177
1244
|
/**
|
|
1178
1245
|
* ModifyDataTransform请求参数结构体
|
|
@@ -1411,6 +1478,23 @@ export interface ModifyScheduledSqlResponse {
|
|
|
1411
1478
|
*/
|
|
1412
1479
|
RequestId?: string;
|
|
1413
1480
|
}
|
|
1481
|
+
/**
|
|
1482
|
+
* 投递日志的过滤规则
|
|
1483
|
+
*/
|
|
1484
|
+
export interface FilterRuleInfo {
|
|
1485
|
+
/**
|
|
1486
|
+
* 过滤规则Key
|
|
1487
|
+
*/
|
|
1488
|
+
Key: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* 过滤规则
|
|
1491
|
+
*/
|
|
1492
|
+
Regex: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* 过滤规则Value
|
|
1495
|
+
*/
|
|
1496
|
+
Value: string;
|
|
1497
|
+
}
|
|
1414
1498
|
/**
|
|
1415
1499
|
* 免鉴权条件信息
|
|
1416
1500
|
*/
|
|
@@ -1629,7 +1713,6 @@ export interface DashboardNoticeMode {
|
|
|
1629
1713
|
* 回调Url。
|
|
1630
1714
|
<br><li/> 当ReceiverType是 Wecom 时,Url必填。
|
|
1631
1715
|
<br><li/> 当ReceiverType不是 Wecom 时,Url不能填写。
|
|
1632
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1633
1716
|
*/
|
|
1634
1717
|
Url?: string;
|
|
1635
1718
|
}
|
|
@@ -1640,25 +1723,21 @@ export interface KafkaProtocolInfo {
|
|
|
1640
1723
|
/**
|
|
1641
1724
|
* 协议类型,支持的协议类型包括 plaintext、sasl_plaintext 或 sasl_ssl。建议使用 sasl_ssl,此协议会进行连接加密同时需要用户认证。
|
|
1642
1725
|
入参必填
|
|
1643
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1644
1726
|
*/
|
|
1645
1727
|
Protocol?: string;
|
|
1646
1728
|
/**
|
|
1647
1729
|
* 加密类型,支持 PLAIN、SCRAM-SHA-256 或 SCRAM-SHA-512。
|
|
1648
1730
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
|
1649
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1650
1731
|
*/
|
|
1651
1732
|
Mechanism?: string;
|
|
1652
1733
|
/**
|
|
1653
1734
|
* 用户名。
|
|
1654
1735
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
|
1655
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1656
1736
|
*/
|
|
1657
1737
|
UserName?: string;
|
|
1658
1738
|
/**
|
|
1659
1739
|
* 用户密码。
|
|
1660
1740
|
当Protocol为sasl_plaintext或sasl_ssl时必填
|
|
1661
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1662
1741
|
*/
|
|
1663
1742
|
Password?: string;
|
|
1664
1743
|
}
|
|
@@ -2125,7 +2204,6 @@ export interface FullTextInfo {
|
|
|
2125
2204
|
Tokenizer: string;
|
|
2126
2205
|
/**
|
|
2127
2206
|
* 是否包含中文
|
|
2128
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2129
2207
|
*/
|
|
2130
2208
|
ContainZH?: boolean;
|
|
2131
2209
|
}
|
|
@@ -2672,7 +2750,6 @@ export interface SearchLogInfos {
|
|
|
2672
2750
|
Period?: number;
|
|
2673
2751
|
/**
|
|
2674
2752
|
* 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时
|
|
2675
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2676
2753
|
*/
|
|
2677
2754
|
Context?: string;
|
|
2678
2755
|
}
|
|
@@ -2789,12 +2866,10 @@ export interface EscalateNoticeInfo {
|
|
|
2789
2866
|
WebCallbacks: Array<WebCallback>;
|
|
2790
2867
|
/**
|
|
2791
2868
|
* 告警升级开关。`true`:开启告警升级、`false`:关闭告警升级,默认:false
|
|
2792
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2793
2869
|
*/
|
|
2794
2870
|
Escalate?: boolean;
|
|
2795
2871
|
/**
|
|
2796
2872
|
* 告警升级间隔。单位:分钟,范围`[1,14400]`
|
|
2797
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2798
2873
|
*/
|
|
2799
2874
|
Interval?: number;
|
|
2800
2875
|
/**
|
|
@@ -2802,12 +2877,10 @@ export interface EscalateNoticeInfo {
|
|
|
2802
2877
|
- 无人认领且未恢复:告警没有恢复并且没有人认领则升级
|
|
2803
2878
|
- 未恢复:当前告警持续未恢复则升级
|
|
2804
2879
|
|
|
2805
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2806
2880
|
*/
|
|
2807
2881
|
Type?: number;
|
|
2808
2882
|
/**
|
|
2809
2883
|
* 告警升级后下一个环节的通知渠道配置,最多可配置5个环节。
|
|
2810
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2811
2884
|
*/
|
|
2812
2885
|
EscalateNotice?: EscalateNoticeInfo;
|
|
2813
2886
|
}
|
|
@@ -2924,21 +2997,21 @@ export interface ExcludePathInfo {
|
|
|
2924
2997
|
Value: string;
|
|
2925
2998
|
}
|
|
2926
2999
|
/**
|
|
2927
|
-
*
|
|
3000
|
+
* DescribeCloudProductLogTasks返回参数结构体
|
|
2928
3001
|
*/
|
|
2929
|
-
export interface
|
|
3002
|
+
export interface DescribeCloudProductLogTasksResponse {
|
|
2930
3003
|
/**
|
|
2931
|
-
*
|
|
3004
|
+
* 日志配置详情列表
|
|
2932
3005
|
*/
|
|
2933
|
-
|
|
3006
|
+
Tasks?: Array<CloudProductLogTaskInfo>;
|
|
2934
3007
|
/**
|
|
2935
|
-
*
|
|
3008
|
+
* 日志配置总数
|
|
2936
3009
|
*/
|
|
2937
|
-
|
|
3010
|
+
TotalCount?: number;
|
|
2938
3011
|
/**
|
|
2939
|
-
*
|
|
3012
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2940
3013
|
*/
|
|
2941
|
-
|
|
3014
|
+
RequestId?: string;
|
|
2942
3015
|
}
|
|
2943
3016
|
/**
|
|
2944
3017
|
* 特殊采集规则配置信息
|
|
@@ -3593,22 +3666,18 @@ export interface DashboardSubscribeData {
|
|
|
3593
3666
|
TemplateVariables?: Array<DashboardTemplateVariable>;
|
|
3594
3667
|
/**
|
|
3595
3668
|
* 时区。参考:https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#SHANGHAI
|
|
3596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3597
3669
|
*/
|
|
3598
3670
|
Timezone?: string;
|
|
3599
3671
|
/**
|
|
3600
3672
|
* 语言。 zh 中文、en`英文。
|
|
3601
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3602
3673
|
*/
|
|
3603
3674
|
SubscribeLanguage?: string;
|
|
3604
3675
|
/**
|
|
3605
3676
|
* 调用链接域名。http:// 或者 https:// 开头,不能/结尾
|
|
3606
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3607
3677
|
*/
|
|
3608
3678
|
JumpDomain?: string;
|
|
3609
3679
|
/**
|
|
3610
3680
|
* 自定义跳转链接。
|
|
3611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3612
3681
|
*/
|
|
3613
3682
|
JumpUrl?: string;
|
|
3614
3683
|
}
|
|
@@ -3650,6 +3719,15 @@ export interface CreateDeliverCloudFunctionRequest {
|
|
|
3650
3719
|
*/
|
|
3651
3720
|
MaxMsgNum?: number;
|
|
3652
3721
|
}
|
|
3722
|
+
/**
|
|
3723
|
+
* ModifyCloudProductLogCollection返回参数结构体
|
|
3724
|
+
*/
|
|
3725
|
+
export interface ModifyCloudProductLogCollectionResponse {
|
|
3726
|
+
/**
|
|
3727
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3728
|
+
*/
|
|
3729
|
+
RequestId?: string;
|
|
3730
|
+
}
|
|
3653
3731
|
/**
|
|
3654
3732
|
* DeleteConsumer请求参数结构体
|
|
3655
3733
|
*/
|
|
@@ -3777,27 +3855,22 @@ export interface AnonymousInfo {
|
|
|
3777
3855
|
export interface ExtractRuleInfo {
|
|
3778
3856
|
/**
|
|
3779
3857
|
* 时间字段的key名字,TikeKey和TimeFormat必须成对出现
|
|
3780
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3781
3858
|
*/
|
|
3782
3859
|
TimeKey?: string;
|
|
3783
3860
|
/**
|
|
3784
3861
|
* 时间字段的格式,参考c语言的strftime函数对于时间的格式说明输出参数
|
|
3785
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3786
3862
|
*/
|
|
3787
3863
|
TimeFormat?: string;
|
|
3788
3864
|
/**
|
|
3789
3865
|
* 分隔符类型日志的分隔符,只有LogType为delimiter_log时有效
|
|
3790
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3791
3866
|
*/
|
|
3792
3867
|
Delimiter?: string;
|
|
3793
3868
|
/**
|
|
3794
3869
|
* 整条日志匹配规则,只有LogType为fullregex_log时有效
|
|
3795
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3796
3870
|
*/
|
|
3797
3871
|
LogRegex?: string;
|
|
3798
3872
|
/**
|
|
3799
3873
|
* 行首匹配规则,只有LogType为multiline_log或fullregex_log时有效
|
|
3800
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3801
3874
|
*/
|
|
3802
3875
|
BeginRegex?: string;
|
|
3803
3876
|
/**
|
|
@@ -3809,7 +3882,6 @@ export interface ExtractRuleInfo {
|
|
|
3809
3882
|
* 日志过滤规则列表(旧版),需要过滤日志的key,及其对应的regex。
|
|
3810
3883
|
注意:2.9.3及以上版本LogListener ,建议使用AdvanceFilterRules配置日志过滤规则。
|
|
3811
3884
|
|
|
3812
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3813
3885
|
*/
|
|
3814
3886
|
FilterKeyRegex?: Array<KeyRegexInfo>;
|
|
3815
3887
|
/**
|
|
@@ -3834,7 +3906,6 @@ export interface ExtractRuleInfo {
|
|
|
3834
3906
|
注意
|
|
3835
3907
|
- 目前取0值时,表示UTF-8编码
|
|
3836
3908
|
- COS导入不支持此字段。
|
|
3837
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3838
3909
|
*/
|
|
3839
3910
|
IsGBK?: number;
|
|
3840
3911
|
/**
|
|
@@ -3848,7 +3919,6 @@ export interface ExtractRuleInfo {
|
|
|
3848
3919
|
注意:
|
|
3849
3920
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
|
3850
3921
|
- COS导入不支持此字段。
|
|
3851
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3852
3922
|
*/
|
|
3853
3923
|
Protocol?: string;
|
|
3854
3924
|
/**
|
|
@@ -3856,7 +3926,6 @@ export interface ExtractRuleInfo {
|
|
|
3856
3926
|
注意:
|
|
3857
3927
|
- 该字段适用于:创建采集规则配置、修改采集规则配置。
|
|
3858
3928
|
- COS导入不支持此字段。
|
|
3859
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3860
3929
|
*/
|
|
3861
3930
|
Address?: string;
|
|
3862
3931
|
/**
|
|
@@ -3867,7 +3936,6 @@ export interface ExtractRuleInfo {
|
|
|
3867
3936
|
注意:
|
|
3868
3937
|
- 该字段适用于:创建采集规则配置、修改采集规则配置
|
|
3869
3938
|
- COS导入不支持此字段。
|
|
3870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3871
3939
|
*/
|
|
3872
3940
|
ParseProtocol?: string;
|
|
3873
3941
|
/**
|
|
@@ -3887,7 +3955,6 @@ export interface ExtractRuleInfo {
|
|
|
3887
3955
|
注意:
|
|
3888
3956
|
- MetadataType为3时必填。
|
|
3889
3957
|
- COS导入不支持此字段。
|
|
3890
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3891
3958
|
*/
|
|
3892
3959
|
PathRegex?: string;
|
|
3893
3960
|
/**
|
|
@@ -4010,7 +4077,6 @@ export interface KafkaConsumerContent {
|
|
|
4010
4077
|
平铺示例:
|
|
4011
4078
|
TAG信息:`{"__TAG__":{"fieldA":200,"fieldB":"text"}}`
|
|
4012
4079
|
平铺:`{"__TAG__.fieldA":200,"__TAG__.fieldB":"text"}`
|
|
4013
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4014
4080
|
*/
|
|
4015
4081
|
TagTransaction?: number;
|
|
4016
4082
|
/**
|
|
@@ -4047,12 +4113,10 @@ export interface LogsetInfo {
|
|
|
4047
4113
|
CreateTime?: string;
|
|
4048
4114
|
/**
|
|
4049
4115
|
* 云产品标识,日志集由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
|
|
4050
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4051
4116
|
*/
|
|
4052
4117
|
AssumerName?: string;
|
|
4053
4118
|
/**
|
|
4054
4119
|
* 日志集绑定的标签
|
|
4055
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4056
4120
|
*/
|
|
4057
4121
|
Tags?: Array<Tag>;
|
|
4058
4122
|
/**
|
|
@@ -4174,7 +4238,6 @@ export interface LogRechargeRuleInfo {
|
|
|
4174
4238
|
DefaultTimeSwitch: boolean;
|
|
4175
4239
|
/**
|
|
4176
4240
|
* 整条日志匹配规则,只有RechargeType为fullregex_log时有效
|
|
4177
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4178
4241
|
*/
|
|
4179
4242
|
LogRegex?: string;
|
|
4180
4243
|
/**
|
|
@@ -4183,47 +4246,38 @@ export interface LogRechargeRuleInfo {
|
|
|
4183
4246
|
UnMatchLogSwitch?: boolean;
|
|
4184
4247
|
/**
|
|
4185
4248
|
* 解析失败日志的键名称
|
|
4186
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4187
4249
|
*/
|
|
4188
4250
|
UnMatchLogKey?: string;
|
|
4189
4251
|
/**
|
|
4190
4252
|
* 解析失败日志时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
|
4191
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4192
4253
|
*/
|
|
4193
4254
|
UnMatchLogTimeSrc?: number;
|
|
4194
4255
|
/**
|
|
4195
4256
|
* 默认时间来源,0: 系统当前时间,1: Kafka消息时间戳
|
|
4196
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4197
4257
|
*/
|
|
4198
4258
|
DefaultTimeSrc?: number;
|
|
4199
4259
|
/**
|
|
4200
4260
|
* 时间字段
|
|
4201
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4202
4261
|
*/
|
|
4203
4262
|
TimeKey?: string;
|
|
4204
4263
|
/**
|
|
4205
4264
|
* 时间提取正则表达式
|
|
4206
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4207
4265
|
*/
|
|
4208
4266
|
TimeRegex?: string;
|
|
4209
4267
|
/**
|
|
4210
4268
|
* 时间字段格式
|
|
4211
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4212
4269
|
*/
|
|
4213
4270
|
TimeFormat?: string;
|
|
4214
4271
|
/**
|
|
4215
4272
|
* 时间字段时区
|
|
4216
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4217
4273
|
*/
|
|
4218
4274
|
TimeZone?: string;
|
|
4219
4275
|
/**
|
|
4220
4276
|
* 元数据信息,Kafka导入支持kafka_topic,kafka_partition,kafka_offset,kafka_timestamp
|
|
4221
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4222
4277
|
*/
|
|
4223
4278
|
Metadata?: Array<string>;
|
|
4224
4279
|
/**
|
|
4225
4280
|
* 日志Key列表,RechargeType为full_regex_log时必填
|
|
4226
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4227
4281
|
*/
|
|
4228
4282
|
Keys?: Array<string>;
|
|
4229
4283
|
/**
|
|
@@ -4443,13 +4497,53 @@ export interface DeleteConfigExtraRequest {
|
|
|
4443
4497
|
ConfigExtraId: string;
|
|
4444
4498
|
}
|
|
4445
4499
|
/**
|
|
4446
|
-
*
|
|
4500
|
+
* 仪表盘信息
|
|
4447
4501
|
*/
|
|
4448
|
-
export interface
|
|
4502
|
+
export interface DashboardInfo {
|
|
4449
4503
|
/**
|
|
4450
|
-
*
|
|
4504
|
+
* 仪表盘id
|
|
4451
4505
|
*/
|
|
4452
|
-
|
|
4506
|
+
DashboardId?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* 仪表盘名字
|
|
4509
|
+
*/
|
|
4510
|
+
DashboardName?: string;
|
|
4511
|
+
/**
|
|
4512
|
+
* 仪表盘数据
|
|
4513
|
+
*/
|
|
4514
|
+
Data?: string;
|
|
4515
|
+
/**
|
|
4516
|
+
* 创建仪表盘的时间
|
|
4517
|
+
*/
|
|
4518
|
+
CreateTime?: string;
|
|
4519
|
+
/**
|
|
4520
|
+
* AssumerUin非空则表示创建该日志主题的服务方Uin
|
|
4521
|
+
*/
|
|
4522
|
+
AssumerUin?: number;
|
|
4523
|
+
/**
|
|
4524
|
+
* RoleName非空则表示创建该日志主题的服务方使用的角色
|
|
4525
|
+
*/
|
|
4526
|
+
RoleName?: string;
|
|
4527
|
+
/**
|
|
4528
|
+
* AssumerName非空则表示创建该日志主题的服务方名称
|
|
4529
|
+
*/
|
|
4530
|
+
AssumerName?: string;
|
|
4531
|
+
/**
|
|
4532
|
+
* 日志主题绑定的标签信息
|
|
4533
|
+
*/
|
|
4534
|
+
Tags?: Array<Tag>;
|
|
4535
|
+
/**
|
|
4536
|
+
* 仪表盘所在地域: 为了兼容老的地域。
|
|
4537
|
+
*/
|
|
4538
|
+
DashboardRegion?: string;
|
|
4539
|
+
/**
|
|
4540
|
+
* 修改仪表盘的时间
|
|
4541
|
+
*/
|
|
4542
|
+
UpdateTime?: string;
|
|
4543
|
+
/**
|
|
4544
|
+
* 仪表盘对应的topic相关信息
|
|
4545
|
+
*/
|
|
4546
|
+
DashboardTopicInfos?: Array<DashboardTopicInfo>;
|
|
4453
4547
|
}
|
|
4454
4548
|
/**
|
|
4455
4549
|
* ModifyConfig请求参数结构体
|
|
@@ -4554,7 +4648,6 @@ export interface JsonInfo {
|
|
|
4554
4648
|
MetaFields: Array<string>;
|
|
4555
4649
|
/**
|
|
4556
4650
|
* 投递Json格式,0:字符串方式投递;1:以结构化方式投递
|
|
4557
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4558
4651
|
*/
|
|
4559
4652
|
JsonType?: number;
|
|
4560
4653
|
}
|
|
@@ -4887,6 +4980,43 @@ export interface CreateShipperResponse {
|
|
|
4887
4980
|
*/
|
|
4888
4981
|
RequestId?: string;
|
|
4889
4982
|
}
|
|
4983
|
+
/**
|
|
4984
|
+
* ModifyCloudProductLogCollection请求参数结构体
|
|
4985
|
+
*/
|
|
4986
|
+
export interface ModifyCloudProductLogCollectionRequest {
|
|
4987
|
+
/**
|
|
4988
|
+
* 实例ID
|
|
4989
|
+
*/
|
|
4990
|
+
InstanceId: string;
|
|
4991
|
+
/**
|
|
4992
|
+
* 云产品标识,支持枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
|
4993
|
+
*/
|
|
4994
|
+
AssumerName: string;
|
|
4995
|
+
/**
|
|
4996
|
+
* 日志类型,支持枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
|
4997
|
+
*/
|
|
4998
|
+
LogType: string;
|
|
4999
|
+
/**
|
|
5000
|
+
* 云产品地域。 不同日志类型(LogType)地域入參格式存在差异, 请参考如下示例:
|
|
5001
|
+
- CDS所有日志类型:ap-guangzhou
|
|
5002
|
+
- CDB-AUDIT: gz
|
|
5003
|
+
- TDSQL-C-AUDIT: gz
|
|
5004
|
+
- MongoDB-AUDIT: gz
|
|
5005
|
+
- MongoDB-SlowLog:ap-guangzhou
|
|
5006
|
+
- MongoDB-ErrorLog:ap-guangzhou
|
|
5007
|
+
- TDMYSQL-SLOW:gz
|
|
5008
|
+
- DCDB所有日志类型:gz
|
|
5009
|
+
- MariaDB所有日志类型:gz
|
|
5010
|
+
- PostgreSQL所有日志类型:gz
|
|
5011
|
+
- BH所有日志类型:overseas-polaris(国内站海外)/fsi-polaris(国内站金融)/general-polaris(国内站普通)/intl-sg-prod(国际站)
|
|
5012
|
+
- APIS所有日志类型:gz
|
|
5013
|
+
*/
|
|
5014
|
+
CloudProductRegion: string;
|
|
5015
|
+
/**
|
|
5016
|
+
* 日志配置拓展信息, 一般用于存储额外的日志投递配置
|
|
5017
|
+
*/
|
|
5018
|
+
Extend?: string;
|
|
5019
|
+
}
|
|
4890
5020
|
/**
|
|
4891
5021
|
* 告警历史详情
|
|
4892
5022
|
*/
|
|
@@ -5058,17 +5188,14 @@ export interface PreviewLogStatistic {
|
|
|
5058
5188
|
export interface SearchLogErrors {
|
|
5059
5189
|
/**
|
|
5060
5190
|
* 日志主题ID
|
|
5061
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5062
5191
|
*/
|
|
5063
5192
|
TopicId?: string;
|
|
5064
5193
|
/**
|
|
5065
5194
|
* 错误信息
|
|
5066
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5067
5195
|
*/
|
|
5068
5196
|
ErrorMsg?: string;
|
|
5069
5197
|
/**
|
|
5070
5198
|
* 错误码
|
|
5071
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5072
5199
|
*/
|
|
5073
5200
|
ErrorCodeStr?: string;
|
|
5074
5201
|
}
|
|
@@ -5250,6 +5377,19 @@ export interface ModifyKafkaConsumerRequest {
|
|
|
5250
5377
|
*/
|
|
5251
5378
|
ConsumerContent?: KafkaConsumerContent;
|
|
5252
5379
|
}
|
|
5380
|
+
/**
|
|
5381
|
+
* DeleteCloudProductLogCollection返回参数结构体
|
|
5382
|
+
*/
|
|
5383
|
+
export interface DeleteCloudProductLogCollectionResponse {
|
|
5384
|
+
/**
|
|
5385
|
+
* 枚举值,0创建中 1创建完成 2删除中 3删除完成
|
|
5386
|
+
*/
|
|
5387
|
+
Status?: number;
|
|
5388
|
+
/**
|
|
5389
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5390
|
+
*/
|
|
5391
|
+
RequestId?: string;
|
|
5392
|
+
}
|
|
5253
5393
|
/**
|
|
5254
5394
|
* 日志导出信息
|
|
5255
5395
|
*/
|
|
@@ -5313,7 +5453,6 @@ export interface ExportInfo {
|
|
|
5313
5453
|
SyntaxRule?: number;
|
|
5314
5454
|
/**
|
|
5315
5455
|
* 导出字段
|
|
5316
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5317
5456
|
*/
|
|
5318
5457
|
DerivedFields?: Array<string>;
|
|
5319
5458
|
}
|
|
@@ -5675,22 +5814,18 @@ export interface LogContextInfo {
|
|
|
5675
5814
|
BTime?: number;
|
|
5676
5815
|
/**
|
|
5677
5816
|
* 日志来源主机名称
|
|
5678
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5679
5817
|
*/
|
|
5680
5818
|
HostName?: string;
|
|
5681
5819
|
/**
|
|
5682
5820
|
* 原始日志(仅在日志创建索引异常时有值)
|
|
5683
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5684
5821
|
*/
|
|
5685
5822
|
RawLog?: string;
|
|
5686
5823
|
/**
|
|
5687
5824
|
* 日志创建索引异常原因(仅在日志创建索引异常时有值)
|
|
5688
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5689
5825
|
*/
|
|
5690
5826
|
IndexStatus?: string;
|
|
5691
5827
|
/**
|
|
5692
5828
|
* 日志内容的高亮描述信息
|
|
5693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
5694
5829
|
*/
|
|
5695
5830
|
HighLights?: Array<HighLightItem>;
|
|
5696
5831
|
}
|
|
@@ -6087,61 +6222,13 @@ export interface ModifyAlarmNoticeResponse {
|
|
|
6087
6222
|
RequestId?: string;
|
|
6088
6223
|
}
|
|
6089
6224
|
/**
|
|
6090
|
-
*
|
|
6225
|
+
* CreateDeliverCloudFunction返回参数结构体
|
|
6091
6226
|
*/
|
|
6092
|
-
export interface
|
|
6093
|
-
/**
|
|
6094
|
-
* 仪表盘id
|
|
6095
|
-
*/
|
|
6096
|
-
DashboardId?: string;
|
|
6097
|
-
/**
|
|
6098
|
-
* 仪表盘名字
|
|
6099
|
-
*/
|
|
6100
|
-
DashboardName?: string;
|
|
6101
|
-
/**
|
|
6102
|
-
* 仪表盘数据
|
|
6103
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6104
|
-
*/
|
|
6105
|
-
Data?: string;
|
|
6106
|
-
/**
|
|
6107
|
-
* 创建仪表盘的时间
|
|
6108
|
-
*/
|
|
6109
|
-
CreateTime?: string;
|
|
6110
|
-
/**
|
|
6111
|
-
* AssumerUin非空则表示创建该日志主题的服务方Uin
|
|
6112
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6113
|
-
*/
|
|
6114
|
-
AssumerUin?: number;
|
|
6115
|
-
/**
|
|
6116
|
-
* RoleName非空则表示创建该日志主题的服务方使用的角色
|
|
6117
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6118
|
-
*/
|
|
6119
|
-
RoleName?: string;
|
|
6120
|
-
/**
|
|
6121
|
-
* AssumerName非空则表示创建该日志主题的服务方名称
|
|
6122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6123
|
-
*/
|
|
6124
|
-
AssumerName?: string;
|
|
6125
|
-
/**
|
|
6126
|
-
* 日志主题绑定的标签信息
|
|
6127
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6128
|
-
*/
|
|
6129
|
-
Tags?: Array<Tag>;
|
|
6130
|
-
/**
|
|
6131
|
-
* 仪表盘所在地域: 为了兼容老的地域。
|
|
6132
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6133
|
-
*/
|
|
6134
|
-
DashboardRegion?: string;
|
|
6135
|
-
/**
|
|
6136
|
-
* 修改仪表盘的时间
|
|
6137
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6138
|
-
*/
|
|
6139
|
-
UpdateTime?: string;
|
|
6227
|
+
export interface CreateDeliverCloudFunctionResponse {
|
|
6140
6228
|
/**
|
|
6141
|
-
*
|
|
6142
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6229
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6143
6230
|
*/
|
|
6144
|
-
|
|
6231
|
+
RequestId?: string;
|
|
6145
6232
|
}
|
|
6146
6233
|
/**
|
|
6147
6234
|
* 数据加工任务基本详情
|
|
@@ -6201,17 +6288,14 @@ export interface DataTransformTaskInfo {
|
|
|
6201
6288
|
EtlContent?: string;
|
|
6202
6289
|
/**
|
|
6203
6290
|
* 数据加工类型。0:标准加工任务;1:前置加工任务。
|
|
6204
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6205
6291
|
*/
|
|
6206
6292
|
DataTransformType?: number;
|
|
6207
6293
|
/**
|
|
6208
6294
|
* 保留失败日志状态。 1:不保留,2:保留
|
|
6209
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6210
6295
|
*/
|
|
6211
6296
|
KeepFailureLog?: number;
|
|
6212
6297
|
/**
|
|
6213
6298
|
* 失败日志的字段名称
|
|
6214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6215
6299
|
*/
|
|
6216
6300
|
FailureLogKey?: string;
|
|
6217
6301
|
}
|
|
@@ -6409,19 +6493,33 @@ export interface ModifyConsoleSharingResponse {
|
|
|
6409
6493
|
RequestId?: string;
|
|
6410
6494
|
}
|
|
6411
6495
|
/**
|
|
6412
|
-
*
|
|
6496
|
+
* CreateCloudProductLogCollection返回参数结构体
|
|
6413
6497
|
*/
|
|
6414
|
-
export interface
|
|
6498
|
+
export interface CreateCloudProductLogCollectionResponse {
|
|
6415
6499
|
/**
|
|
6416
|
-
*
|
|
6417
|
-
- ip:表示该机器组Values中存的是采集机器的ip地址
|
|
6418
|
-
- label:表示该机器组Values中存储的是机器的标签
|
|
6500
|
+
* 日志主题ID
|
|
6419
6501
|
*/
|
|
6420
|
-
|
|
6502
|
+
TopicId?: string;
|
|
6421
6503
|
/**
|
|
6422
|
-
*
|
|
6504
|
+
* 日志主题名称
|
|
6423
6505
|
*/
|
|
6424
|
-
|
|
6506
|
+
TopicName?: string;
|
|
6507
|
+
/**
|
|
6508
|
+
* 日志集ID
|
|
6509
|
+
*/
|
|
6510
|
+
LogsetId?: string;
|
|
6511
|
+
/**
|
|
6512
|
+
* 日志集名称
|
|
6513
|
+
*/
|
|
6514
|
+
LogsetName?: string;
|
|
6515
|
+
/**
|
|
6516
|
+
* -1 创建中,1创建完成
|
|
6517
|
+
*/
|
|
6518
|
+
Status?: number;
|
|
6519
|
+
/**
|
|
6520
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6521
|
+
*/
|
|
6522
|
+
RequestId?: string;
|
|
6425
6523
|
}
|
|
6426
6524
|
/**
|
|
6427
6525
|
* DeleteConfigFromMachineGroup请求参数结构体
|
|
@@ -6732,6 +6830,38 @@ export interface ModifyMachineGroupRequest {
|
|
|
6732
6830
|
*/
|
|
6733
6831
|
MetaTags?: Array<MetaTagInfo>;
|
|
6734
6832
|
}
|
|
6833
|
+
/**
|
|
6834
|
+
* 机器组类型描述
|
|
6835
|
+
*/
|
|
6836
|
+
export interface MachineGroupTypeInfo {
|
|
6837
|
+
/**
|
|
6838
|
+
* 机器组类型。支持 ip 和 label。
|
|
6839
|
+
- ip:表示该机器组Values中存的是采集机器的ip地址
|
|
6840
|
+
- label:表示该机器组Values中存储的是机器的标签
|
|
6841
|
+
*/
|
|
6842
|
+
Type: string;
|
|
6843
|
+
/**
|
|
6844
|
+
* 机器描述列表。
|
|
6845
|
+
*/
|
|
6846
|
+
Values?: Array<string>;
|
|
6847
|
+
}
|
|
6848
|
+
/**
|
|
6849
|
+
* MergePartition请求参数结构体
|
|
6850
|
+
*/
|
|
6851
|
+
export interface MergePartitionRequest {
|
|
6852
|
+
/**
|
|
6853
|
+
* 日志主题ID
|
|
6854
|
+
*/
|
|
6855
|
+
TopicId: string;
|
|
6856
|
+
/**
|
|
6857
|
+
* 合并的PartitionId(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等,且找到的分区必须是读写分区(Staus:readwrite),入参PartitionId与找到的PartitionId设置为只读分区(Status:readonly),再新建一个新的读写分区) 。[获取分区列表](https://cloud.tencent.com/document/product/614/56469)
|
|
6858
|
+
|
|
6859
|
+
1. 入参PartitionId只能是读写分区(Status的值有readonly,readwrite),且能找到入参PartitionId的下一个可读写分区(找到下一个分区InclusiveBeginKey与入参PartitionId对应的ExclusiveEndKey相等);
|
|
6860
|
+
2. 入参PartitionId不能是最后一个分区(PartitionId的ExclusiveEndKey不能是ffffffffffffffffffffffffffffffff);
|
|
6861
|
+
3. topic的分区数量是有限制的(默认50个),合并之后不能超过最大分区,否则不能合并。
|
|
6862
|
+
*/
|
|
6863
|
+
PartitionId: number;
|
|
6864
|
+
}
|
|
6735
6865
|
/**
|
|
6736
6866
|
* DeleteDashboardSubscribe请求参数结构体
|
|
6737
6867
|
*/
|
|
@@ -7025,12 +7155,10 @@ export interface MonitorTime {
|
|
|
7025
7155
|
export interface SearchLogTopics {
|
|
7026
7156
|
/**
|
|
7027
7157
|
* 多日志主题检索对应的错误信息
|
|
7028
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7029
7158
|
*/
|
|
7030
7159
|
Errors?: Array<SearchLogErrors>;
|
|
7031
7160
|
/**
|
|
7032
7161
|
* 多日志主题检索各日志主题信息
|
|
7033
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7034
7162
|
*/
|
|
7035
7163
|
Infos?: Array<SearchLogInfos>;
|
|
7036
7164
|
}
|
|
@@ -7273,6 +7401,36 @@ export interface DescribeConfigExtrasRequest {
|
|
|
7273
7401
|
*/
|
|
7274
7402
|
Limit?: number;
|
|
7275
7403
|
}
|
|
7404
|
+
/**
|
|
7405
|
+
* DescribeCloudProductLogTasks请求参数结构体
|
|
7406
|
+
*/
|
|
7407
|
+
export interface DescribeCloudProductLogTasksRequest {
|
|
7408
|
+
/**
|
|
7409
|
+
* 分页的偏移量,默认值为0。
|
|
7410
|
+
*/
|
|
7411
|
+
Offset?: number;
|
|
7412
|
+
/**
|
|
7413
|
+
* 分页单页限制数目,默认值为100,最大值100。
|
|
7414
|
+
*/
|
|
7415
|
+
Limit?: number;
|
|
7416
|
+
/**
|
|
7417
|
+
* - assumerName
|
|
7418
|
+
- 按照【云产品标识】进行过滤。
|
|
7419
|
+
- 类型:String
|
|
7420
|
+
- 必选:否
|
|
7421
|
+
- 枚举:CDS、CWP、CDB、TDSQL-C、MongoDB、TDStore、DCDB、MariaDB、PostgreSQL、BH、APIS
|
|
7422
|
+
- logType
|
|
7423
|
+
- 按照【日志类型】进行过滤。
|
|
7424
|
+
- 类型:String
|
|
7425
|
+
- 必选:否
|
|
7426
|
+
- 枚举:CDS-AUDIT、CDS-RISK、CDB-AUDIT、TDSQL-C-AUDIT、MongoDB-AUDIT、MongoDB-SlowLog、MongoDB-ErrorLog、TDMYSQL-SLOW、DCDB-AUDIT、DCDB-SLOW、DCDB-ERROR、MariaDB-AUDIT、MariaDB-SLOW、MariaDB-ERROR、PostgreSQL-SLOW、PostgreSQL-ERROR、PostgreSQL-AUDIT、BH-FILELOG、BH-COMMANDLOG、APIS-ACCESS
|
|
7427
|
+
- instanceId
|
|
7428
|
+
- 按照【实例ID】进行过滤。
|
|
7429
|
+
- 类型:String
|
|
7430
|
+
- 必选:否
|
|
7431
|
+
*/
|
|
7432
|
+
Filters?: Array<Filter>;
|
|
7433
|
+
}
|
|
7276
7434
|
/**
|
|
7277
7435
|
* CreateAlarmNotice请求参数结构体
|
|
7278
7436
|
*/
|
|
@@ -7730,88 +7888,71 @@ export interface DeleteTopicResponse {
|
|
|
7730
7888
|
export interface CosRechargeInfo {
|
|
7731
7889
|
/**
|
|
7732
7890
|
* COS导入配置ID
|
|
7733
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7734
7891
|
*/
|
|
7735
7892
|
Id?: string;
|
|
7736
7893
|
/**
|
|
7737
7894
|
* 日志主题ID
|
|
7738
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7739
7895
|
*/
|
|
7740
7896
|
TopicId?: string;
|
|
7741
7897
|
/**
|
|
7742
7898
|
* 日志集ID
|
|
7743
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7744
7899
|
*/
|
|
7745
7900
|
LogsetId?: string;
|
|
7746
7901
|
/**
|
|
7747
7902
|
* COS导入任务名称
|
|
7748
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7749
7903
|
*/
|
|
7750
7904
|
Name?: string;
|
|
7751
7905
|
/**
|
|
7752
7906
|
* COS存储桶
|
|
7753
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7754
7907
|
*/
|
|
7755
7908
|
Bucket?: string;
|
|
7756
7909
|
/**
|
|
7757
7910
|
* COS存储桶所在地域
|
|
7758
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7759
7911
|
*/
|
|
7760
7912
|
BucketRegion?: string;
|
|
7761
7913
|
/**
|
|
7762
7914
|
* COS文件所在文件夹的前缀
|
|
7763
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7764
7915
|
*/
|
|
7765
7916
|
Prefix?: string;
|
|
7766
7917
|
/**
|
|
7767
7918
|
* 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文;
|
|
7768
7919
|
默认为minimalist_log
|
|
7769
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7770
7920
|
*/
|
|
7771
7921
|
LogType?: string;
|
|
7772
7922
|
/**
|
|
7773
7923
|
* 状态 status 0: 已创建, 1: 运行中, 2: 已停止, 3: 已完成, 4: 运行失败。
|
|
7774
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7775
7924
|
*/
|
|
7776
7925
|
Status?: number;
|
|
7777
7926
|
/**
|
|
7778
7927
|
* 是否启用: 0: 未启用 , 1:启用
|
|
7779
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7780
7928
|
*/
|
|
7781
7929
|
Enable?: number;
|
|
7782
7930
|
/**
|
|
7783
7931
|
* 创建时间
|
|
7784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7785
7932
|
*/
|
|
7786
7933
|
CreateTime?: string;
|
|
7787
7934
|
/**
|
|
7788
7935
|
* 更新时间
|
|
7789
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7790
7936
|
*/
|
|
7791
7937
|
UpdateTime?: string;
|
|
7792
7938
|
/**
|
|
7793
7939
|
* 进度条百分值
|
|
7794
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7795
7940
|
*/
|
|
7796
7941
|
Progress?: number;
|
|
7797
7942
|
/**
|
|
7798
7943
|
* supported: "", "gzip", "lzop", "snappy”; 默认空
|
|
7799
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7800
7944
|
*/
|
|
7801
7945
|
Compress?: string;
|
|
7802
7946
|
/**
|
|
7803
7947
|
* 见: ExtractRuleInfo 结构描述
|
|
7804
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7805
7948
|
*/
|
|
7806
7949
|
ExtractRuleInfo?: ExtractRuleInfo;
|
|
7807
7950
|
/**
|
|
7808
7951
|
* COS导入任务类型。1:一次性导入任务;2:持续性导入任务。
|
|
7809
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7810
7952
|
*/
|
|
7811
7953
|
TaskType?: number;
|
|
7812
7954
|
/**
|
|
7813
7955
|
* 元数据。支持 bucket,object。
|
|
7814
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
7815
7956
|
*/
|
|
7816
7957
|
Metadata?: Array<string>;
|
|
7817
7958
|
}
|
|
@@ -7820,11 +7961,11 @@ export interface CosRechargeInfo {
|
|
|
7820
7961
|
*/
|
|
7821
7962
|
export interface SearchLogRequest {
|
|
7822
7963
|
/**
|
|
7823
|
-
*
|
|
7964
|
+
* 要检索分析的日志的起始时间,**Unix时间戳(毫秒)**
|
|
7824
7965
|
*/
|
|
7825
7966
|
From: number;
|
|
7826
7967
|
/**
|
|
7827
|
-
*
|
|
7968
|
+
* 要检索分析的日志的结束时间,**Unix时间戳(毫秒)**
|
|
7828
7969
|
*/
|
|
7829
7970
|
To: number;
|
|
7830
7971
|
/**
|
|
@@ -7835,11 +7976,12 @@ export interface SearchLogRequest {
|
|
|
7835
7976
|
Query: string;
|
|
7836
7977
|
/**
|
|
7837
7978
|
* 检索语法规则,默认值为0,推荐使用1 。
|
|
7838
|
-
|
|
7839
7979
|
- 0:Lucene语法
|
|
7840
|
-
- 1:CQL
|
|
7980
|
+
- 1:CQL语法(CLS Query Language,日志服务专用检索语法)
|
|
7841
7981
|
|
|
7842
|
-
|
|
7982
|
+
⚠️⚠️ **注意**
|
|
7983
|
+
**该参数值建议设置为 1,使用 CQL 语法规则,控制台日志检索及仪表盘默认均使用该语法规则。**
|
|
7984
|
+
该参数值未指定或者为 0 时,将使用 Lucene 语法,语法容易报错且查询结果与控制台默认语法规则不一致。详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>。
|
|
7843
7985
|
*/
|
|
7844
7986
|
SyntaxRule?: number;
|
|
7845
7987
|
/**
|
|
@@ -8250,3 +8392,21 @@ export interface RetryShipperTaskResponse {
|
|
|
8250
8392
|
*/
|
|
8251
8393
|
RequestId?: string;
|
|
8252
8394
|
}
|
|
8395
|
+
/**
|
|
8396
|
+
* DescribeConfigExtras返回参数结构体
|
|
8397
|
+
*/
|
|
8398
|
+
export interface DescribeConfigExtrasResponse {
|
|
8399
|
+
/**
|
|
8400
|
+
* 采集配置列表
|
|
8401
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8402
|
+
*/
|
|
8403
|
+
Configs?: Array<ConfigExtraInfo>;
|
|
8404
|
+
/**
|
|
8405
|
+
* 过滤到的总数目
|
|
8406
|
+
*/
|
|
8407
|
+
TotalCount?: number;
|
|
8408
|
+
/**
|
|
8409
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8410
|
+
*/
|
|
8411
|
+
RequestId?: string;
|
|
8412
|
+
}
|