tencentcloud-sdk-nodejs 4.0.513 → 4.0.514
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/CHANGELOG.md +218 -0
- package/SERVICE_CHANGELOG.md +320 -48
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cls/v20201016/cls_models.ts +5 -4
- package/src/services/cwp/v20180228/cwp_models.ts +2 -2
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +2 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +43 -2
- package/src/services/live/v20180801/live_models.ts +128 -110
- package/src/services/tcr/v20190924/tcr_client.ts +2 -14
- package/src/services/tcr/v20190924/tcr_models.ts +9 -44
- package/src/services/tdmq/v20200217/tdmq_models.ts +10 -0
- package/src/services/teo/v20220901/teo_client.ts +27 -0
- package/src/services/teo/v20220901/teo_models.ts +157 -0
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +58 -22
- package/src/services/wedata/v20210820/wedata_client.ts +1 -0
- package/src/services/wedata/v20210820/wedata_models.ts +41 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +5 -4
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +36 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +94 -76
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -5
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -6
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +8 -38
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +8 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +9 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +12 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +135 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +50 -19
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +35 -1
- package/test/tcr.v20190924.test.js +0 -10
- package/test/teo.v20220901.test.js +20 -0
|
@@ -4688,7 +4688,7 @@ export interface DescribeInLongAgentListRequest {
|
|
|
4688
4688
|
AgentName?: string
|
|
4689
4689
|
|
|
4690
4690
|
/**
|
|
4691
|
-
* 集群类型,1:TKE Agent,2:BOSS SDK,默认:1
|
|
4691
|
+
* 集群类型,1:TKE Agent,2:BOSS SDK,默认:1,3:CVM,4:自建服务器 【传多个用逗号分割】
|
|
4692
4692
|
*/
|
|
4693
4693
|
AgentType?: number
|
|
4694
4694
|
|
|
@@ -4716,6 +4716,11 @@ export interface DescribeInLongAgentListRequest {
|
|
|
4716
4716
|
* 名称搜索是否开启模糊匹配,1:开启,0:不开启(精确匹配)
|
|
4717
4717
|
*/
|
|
4718
4718
|
Like?: number
|
|
4719
|
+
|
|
4720
|
+
/**
|
|
4721
|
+
* agent类型【多个用逗号分隔】
|
|
4722
|
+
*/
|
|
4723
|
+
AgentTypes?: string
|
|
4719
4724
|
}
|
|
4720
4725
|
|
|
4721
4726
|
/**
|
|
@@ -6964,6 +6969,24 @@ export interface InLongAgentDetail {
|
|
|
6964
6969
|
* 关联任务数
|
|
6965
6970
|
*/
|
|
6966
6971
|
TaskCount: number
|
|
6972
|
+
|
|
6973
|
+
/**
|
|
6974
|
+
* 采集器组ID
|
|
6975
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6976
|
+
*/
|
|
6977
|
+
AgentGroupId: string
|
|
6978
|
+
|
|
6979
|
+
/**
|
|
6980
|
+
* agent状态统计
|
|
6981
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6982
|
+
*/
|
|
6983
|
+
CvmAgentStatusList: Array<CvmAgentStatus>
|
|
6984
|
+
|
|
6985
|
+
/**
|
|
6986
|
+
* agent数量
|
|
6987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6988
|
+
*/
|
|
6989
|
+
AgentTotal: number
|
|
6967
6990
|
}
|
|
6968
6991
|
|
|
6969
6992
|
/**
|
|
@@ -7312,6 +7335,23 @@ export interface DescribeRulesByPageResponse {
|
|
|
7312
7335
|
RequestId?: string
|
|
7313
7336
|
}
|
|
7314
7337
|
|
|
7338
|
+
/**
|
|
7339
|
+
* 采集器状态统计
|
|
7340
|
+
*/
|
|
7341
|
+
export interface CvmAgentStatus {
|
|
7342
|
+
/**
|
|
7343
|
+
* agent状态
|
|
7344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7345
|
+
*/
|
|
7346
|
+
Status: string
|
|
7347
|
+
|
|
7348
|
+
/**
|
|
7349
|
+
* 对应状态的agent总数
|
|
7350
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7351
|
+
*/
|
|
7352
|
+
Count: number
|
|
7353
|
+
}
|
|
7354
|
+
|
|
7315
7355
|
/**
|
|
7316
7356
|
* DescribeRuleTablesByPage请求参数结构体
|
|
7317
7357
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.514";
|
|
@@ -44,7 +44,7 @@ export declare class Client extends AbstractClient {
|
|
|
44
44
|
*/
|
|
45
45
|
DescribeExports(req: DescribeExportsRequest, cb?: (error: string, rep: DescribeExportsResponse) => void): Promise<DescribeExportsResponse>;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
|
|
48
48
|
|
|
49
49
|
*/
|
|
50
50
|
ModifyIndex(req: ModifyIndexRequest, cb?: (error: string, rep: ModifyIndexResponse) => void): Promise<ModifyIndexResponse>;
|
|
@@ -82,7 +82,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
82
82
|
return this.request("DescribeExports", req, cb);
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
|
|
86
86
|
|
|
87
87
|
*/
|
|
88
88
|
async ModifyIndex(req, cb) {
|
|
@@ -1020,20 +1020,21 @@ export interface ModifyMachineGroupResponse {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
/**
|
|
1022
1022
|
* 索引规则,FullText、KeyValue、Tag参数必须输入一个有效参数
|
|
1023
|
+
|
|
1023
1024
|
*/
|
|
1024
1025
|
export interface RuleInfo {
|
|
1025
1026
|
/**
|
|
1026
|
-
*
|
|
1027
|
+
* 全文索引配置, 如果为空时代表未开启全文索引
|
|
1027
1028
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1028
1029
|
*/
|
|
1029
1030
|
FullText?: FullTextInfo;
|
|
1030
1031
|
/**
|
|
1031
|
-
*
|
|
1032
|
+
* 键值索引配置,如果为空时代表未开启键值索引
|
|
1032
1033
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1033
1034
|
*/
|
|
1034
1035
|
KeyValue?: RuleKeyValueInfo;
|
|
1035
1036
|
/**
|
|
1036
|
-
*
|
|
1037
|
+
* 元字段索引配置,如果为空时代表未开启元字段索引
|
|
1037
1038
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1038
1039
|
*/
|
|
1039
1040
|
Tag?: RuleTagInfo;
|
|
@@ -3143,7 +3144,7 @@ export interface ShipperInfo {
|
|
|
3143
3144
|
*/
|
|
3144
3145
|
export interface KeyValueInfo {
|
|
3145
3146
|
/**
|
|
3146
|
-
*
|
|
3147
|
+
* 需要配置键值或者元字段索引的字段名称,仅支持字母、数字、下划线和-./@,且不能以下划线开头
|
|
3147
3148
|
|
|
3148
3149
|
注意:
|
|
3149
3150
|
1,元字段(tag)的Key无需额外添加`__TAG__.`前缀,与上传日志时对应的字段Key一致即可,腾讯云控制台展示时将自动添加`__TAG__.`前缀
|
|
@@ -2125,7 +2125,7 @@ export interface DescribeTagsRequest {
|
|
|
2125
2125
|
<li>Version - String 是否必填:否 - 当前防护版本( PRO_VERSION:专业版 | BASIC_VERSION:基础版)</li>
|
|
2126
2126
|
<li>Risk - String 是否必填: 否 - 风险主机( yes ) </li>
|
|
2127
2127
|
<li>Os -String 是否必填: 否 - 操作系统( DescribeMachineOsList 接口 值 )
|
|
2128
|
-
|
|
2128
|
+
每个过滤条件只支持一个值,暂不支持多个值“或”关系查询</li>
|
|
2129
2129
|
*/
|
|
2130
2130
|
Filters?: Array<Filters>;
|
|
2131
2131
|
}
|
|
@@ -11808,7 +11808,7 @@ export interface DescribeScanStateRequest {
|
|
|
11808
11808
|
ModuleType: string;
|
|
11809
11809
|
/**
|
|
11810
11810
|
* 过滤参数;
|
|
11811
|
-
<li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline
|
|
11811
|
+
<li>StrategyId 基线策略ID ,仅ModuleType 为 Baseline 时需要</li>
|
|
11812
11812
|
*/
|
|
11813
11813
|
Filters?: Array<Filters>;
|
|
11814
11814
|
}
|
|
@@ -168,7 +168,7 @@ export declare class Client extends AbstractClient {
|
|
|
168
168
|
*/
|
|
169
169
|
ModifyClusterName(req: ModifyClusterNameRequest, cb?: (error: string, rep: ModifyClusterNameResponse) => void): Promise<ModifyClusterNameResponse>;
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
* 该接口(DescribeClusterDetail)显示集群详情
|
|
172
172
|
*/
|
|
173
173
|
DescribeClusterDetail(req: DescribeClusterDetailRequest, cb?: (error: string, rep: DescribeClusterDetailResponse) => void): Promise<DescribeClusterDetailResponse>;
|
|
174
174
|
/**
|
|
@@ -268,7 +268,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
268
268
|
return this.request("ModifyClusterName", req, cb);
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* 该接口(DescribeClusterDetail)显示集群详情
|
|
272
272
|
*/
|
|
273
273
|
async DescribeClusterDetail(req, cb) {
|
|
274
274
|
return this.request("DescribeClusterDetail", req, cb);
|
|
@@ -236,6 +236,10 @@ export interface RollBackClusterRequest {
|
|
|
236
236
|
* 回档数据库表列表
|
|
237
237
|
*/
|
|
238
238
|
RollbackTables?: Array<RollbackTable>;
|
|
239
|
+
/**
|
|
240
|
+
* 按时间点回档模式,full: 普通; db: 快速; table: 极速 (默认是普通)
|
|
241
|
+
*/
|
|
242
|
+
RollbackMode?: string;
|
|
239
243
|
}
|
|
240
244
|
/**
|
|
241
245
|
* DescribeAuditLogFiles返回参数结构体
|
|
@@ -267,6 +271,24 @@ export interface SwitchClusterZoneResponse {
|
|
|
267
271
|
*/
|
|
268
272
|
RequestId?: string;
|
|
269
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* 修改的实例参数信息
|
|
276
|
+
*/
|
|
277
|
+
export interface ModifyParamItem {
|
|
278
|
+
/**
|
|
279
|
+
* 参数名
|
|
280
|
+
*/
|
|
281
|
+
ParamName: string;
|
|
282
|
+
/**
|
|
283
|
+
* 参数当前值
|
|
284
|
+
*/
|
|
285
|
+
CurrentValue: string;
|
|
286
|
+
/**
|
|
287
|
+
* 参数旧值(只在出参时有用)
|
|
288
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
289
|
+
*/
|
|
290
|
+
OldValue?: string;
|
|
291
|
+
}
|
|
270
292
|
/**
|
|
271
293
|
* AssociateSecurityGroups请求参数结构体
|
|
272
294
|
*/
|
|
@@ -3572,6 +3594,14 @@ export interface AddInstancesRequest {
|
|
|
3572
3594
|
* 交易模式 0-下单并支付 1-下单
|
|
3573
3595
|
*/
|
|
3574
3596
|
DealMode?: number;
|
|
3597
|
+
/**
|
|
3598
|
+
* 参数模版ID
|
|
3599
|
+
*/
|
|
3600
|
+
ParamTemplateId?: number;
|
|
3601
|
+
/**
|
|
3602
|
+
* 参数列表,ParamTemplateId 传入时InstanceParams才有效
|
|
3603
|
+
*/
|
|
3604
|
+
InstanceParams?: Array<ModifyParamItem>;
|
|
3575
3605
|
}
|
|
3576
3606
|
/**
|
|
3577
3607
|
* ModifyClusterSlaveZone请求参数结构体
|
|
@@ -4187,9 +4217,13 @@ export interface DeleteBackupRequest {
|
|
|
4187
4217
|
*/
|
|
4188
4218
|
ClusterId: string;
|
|
4189
4219
|
/**
|
|
4190
|
-
* 备份文件ID
|
|
4220
|
+
* 备份文件ID,旧版本使用的字段,不推荐使用
|
|
4221
|
+
*/
|
|
4222
|
+
SnapshotIdList?: Array<number>;
|
|
4223
|
+
/**
|
|
4224
|
+
* 备份文件ID,推荐使用
|
|
4191
4225
|
*/
|
|
4192
|
-
|
|
4226
|
+
BackupIds?: Array<number>;
|
|
4193
4227
|
}
|
|
4194
4228
|
/**
|
|
4195
4229
|
* 计费询价结果
|