tencentcloud-sdk-nodejs-cdwch 4.0.772 → 4.0.774

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cdwch",
3
- "version": "4.0.772",
3
+ "version": "4.0.774",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -6,7 +6,7 @@
6
6
  | advisor | [云顾问](https://cloud.tencent.com/document/product/1264) | 2023-09-14 01:05:50 |
7
7
  | af | [借贷反欺诈](https://cloud.tencent.com/document/product/668) | 2023-11-21 01:06:07 |
8
8
  | afc | [定制建模](https://cloud.tencent.com/document/product/1029) | 2023-09-07 01:06:21 |
9
- | aiart | [AI 绘画](https://cloud.tencent.com/document/product/1668) | 2023-12-29 01:06:09 |
9
+ | aiart | [AI 绘画](https://cloud.tencent.com/document/product/1668) | 2024-01-04 01:06:10 |
10
10
  | ame | [正版曲库直通车](https://cloud.tencent.com/document/product/1155) | 2023-08-17 01:06:14 |
11
11
  | ams | [音频内容安全](https://cloud.tencent.com/document/product/1219) | 2023-12-22 01:06:11 |
12
12
  | anicloud | [动效素材服务](https://cloud.tencent.com/document/product/1641) | 2023-05-18 01:01:53 |
@@ -40,16 +40,16 @@
40
40
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-12-29 01:09:11 |
41
41
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-12-27 01:08:57 |
42
42
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-12-22 01:08:08 |
43
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-01-01 00:03:28 |
43
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-01-05 01:08:31 |
44
44
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-01-03 01:08:25 |
45
- | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-10-27 01:17:34 |
45
+ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-01-04 01:08:41 |
46
46
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
47
- | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-01-03 01:08:49 |
48
- | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-01-01 00:04:17 |
47
+ | cdwch | [云数据仓库 ClickHouse](https://cloud.tencent.com/document/product/1299) | 2024-01-04 01:08:58 |
48
+ | cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-01-05 01:09:22 |
49
49
  | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2023-12-15 19:11:22 |
50
50
  | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2023-11-24 01:09:00 |
51
51
  | cfs | [文件存储](https://cloud.tencent.com/document/product/582) | 2024-01-03 01:09:01 |
52
- | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2023-12-29 01:10:22 |
52
+ | cfw | [云防火墙](https://cloud.tencent.com/document/product/1132) | 2024-01-05 01:09:38 |
53
53
  | chdfs | [云 HDFS](https://cloud.tencent.com/document/product/1105) | 2023-08-17 01:47:49 |
54
54
  | ciam | [账号风控平台](https://cloud.tencent.com/document/product/1441) | 2023-07-06 01:13:25 |
55
55
  | cii | [智能保险助手](https://cloud.tencent.com/document/product/1368) | 2023-05-18 01:12:07 |
@@ -70,10 +70,10 @@
70
70
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-12-29 01:11:43 |
71
71
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
72
72
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-01-01 00:06:04 |
73
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-01-03 01:11:16 |
73
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-01-05 01:11:37 |
74
74
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
75
75
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-12-15 19:25:23 |
76
- | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-11-17 01:12:46 |
76
+ | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2024-01-05 01:13:10 |
77
77
  | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 |
78
78
  | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 |
79
79
  | dbbrain | [数据库智能管家 DBbrain](https://cloud.tencent.com/document/product/1130) | 2023-10-09 01:12:39 |
@@ -96,8 +96,8 @@
96
96
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
97
97
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-12-25 00:10:01 |
98
98
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-01-03 01:15:03 |
99
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-01-03 01:15:11 |
100
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-03 01:15:26 |
99
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-01-05 01:15:56 |
100
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-05 01:16:12 |
101
101
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 |
102
102
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-12-27 01:19:47 |
103
103
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 |
@@ -112,7 +112,7 @@
112
112
  | hai | [高性能应用服务](https://cloud.tencent.com/document/product/1721) | 2024-01-03 01:16:14 |
113
113
  | hasim | [高可用物联网卡](https://cloud.tencent.com/document/product/1482) | 2023-05-18 01:29:47 |
114
114
  | hcm | [数学作业批改](https://cloud.tencent.com/document/product/1004) | 2023-11-01 01:14:52 |
115
- | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2023-11-29 01:56:24 |
115
+ | hunyuan | [腾讯混元大模型](https://cloud.tencent.com/document/product/1729) | 2024-01-05 01:17:08 |
116
116
  | iai | [人脸识别](https://cloud.tencent.com/document/product/867) | 2023-12-15 19:45:01 |
117
117
  | ic | [图片瘦身](https://cloud.tencent.com/document/product/636) | 2023-03-02 01:23:21 |
118
118
  | icr | [对话机器人](https://cloud.tencent.com/document/product/1268) | 2023-05-18 01:30:40 |
@@ -147,15 +147,15 @@
147
147
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-12-27 01:26:46 |
148
148
  | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-12-27 01:26:59 |
149
149
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-01-03 01:19:35 |
150
- | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-12-08 02:10:30 |
150
+ | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-01-04 01:19:26 |
151
151
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-12-05 02:07:42 |
152
152
  | msp | [迁移服务平台](https://cloud.tencent.com/document/product/659) | 2023-08-17 04:18:22 |
153
153
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
154
154
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
155
155
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
156
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-01-01 00:15:04 |
157
- | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-12-21 01:56:34 |
158
- | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-12-28 01:21:09 |
156
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-01-05 01:21:32 |
157
+ | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-01-05 01:21:40 |
158
+ | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-01-05 01:21:57 |
159
159
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-12-25 00:15:53 |
160
160
  | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2023-08-17 04:23:46 |
161
161
  | pds | [私域安全](https://cloud.tencent.com/document/product/1473) | 2023-05-18 01:44:14 |
@@ -176,7 +176,7 @@
176
176
  | sms | [短信](https://cloud.tencent.com/document/product/382) | 2023-11-28 01:23:01 |
177
177
  | soe | [智聆口语评测](https://cloud.tencent.com/document/product/884) | 2023-10-16 01:23:02 |
178
178
  | solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
179
- | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2023-12-27 01:30:20 |
179
+ | sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-01-05 01:23:32 |
180
180
  | ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
181
181
  | ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2023-12-20 02:05:02 |
182
182
  | sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 |
@@ -198,13 +198,13 @@
198
198
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
199
199
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-10-09 01:23:14 |
200
200
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-12-12 02:27:39 |
201
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-01-03 01:24:22 |
201
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-01-05 01:25:17 |
202
202
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
203
203
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
204
204
  | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-21 02:11:13 |
205
205
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
206
206
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-12-20 02:13:36 |
207
- | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-12-29 01:25:53 |
207
+ | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-05 01:26:43 |
208
208
  | thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
209
209
  | tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
210
210
  | tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
@@ -217,21 +217,21 @@
217
217
  | tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2023-12-26 01:27:04 |
218
218
  | tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
219
219
  | tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-01-01 00:20:49 |
220
- | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2023-12-07 02:40:15 |
220
+ | tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-01-04 01:25:25 |
221
221
  | tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
222
222
  | trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
223
- | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2023-12-01 01:26:49 |
223
+ | trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-01-04 01:25:28 |
224
224
  | trp | [T-Sec-安心平台(RP)](https://cloud.tencent.com/document/product/1458) | 2023-12-29 01:27:21 |
225
225
  | trro | [远程实时操控](https://cloud.tencent.com/document/product/1584) | 2023-07-18 01:53:24 |
226
226
  | trtc | [实时音视频](https://cloud.tencent.com/document/product/647) | 2023-12-15 20:34:23 |
227
227
  | tse | [微服务引擎 TSE](https://cloud.tencent.com/document/product/1364) | 2023-12-29 01:27:46 |
228
- | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2023-12-29 01:28:01 |
228
+ | tsf | [微服务平台 TSF](https://cloud.tencent.com/document/product/649) | 2024-01-05 01:28:46 |
229
229
  | tsw | [微服务观测平台 TSW](https://cloud.tencent.com/document/product/1311) | 2023-05-18 02:04:00 |
230
230
  | tts | [语音合成](https://cloud.tencent.com/document/product/1073) | 2023-11-27 00:22:20 |
231
231
  | ump | [客流数字化平台](https://cloud.tencent.com/document/product/1320) | 2023-08-17 05:50:27 |
232
232
  | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-12-22 01:27:31 |
233
233
  | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
234
- | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-01-01 00:21:59 |
234
+ | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-01-05 01:29:30 |
235
235
  | vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2023-12-27 01:44:26 |
236
236
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-27 00:23:42 |
237
237
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-12-26 02:05:35 |
@@ -20,10 +20,10 @@ import {
20
20
  DescribeInstanceShardsRequest,
21
21
  ScaleOutInstanceRequest,
22
22
  ScaleOutInstanceResponse,
23
- ResizeDiskRequest,
23
+ DescribeInstancesNewResponse,
24
24
  DatabasePrivilegeInfo,
25
25
  DescribeInstanceKeyValConfigsRequest,
26
- OpenBackUpResponse,
26
+ DescribeInstanceNodesRequest,
27
27
  Charge,
28
28
  DescribeClusterConfigsResponse,
29
29
  ActionAlterCkUserRequest,
@@ -40,6 +40,7 @@ import {
40
40
  OpenBackUpRequest,
41
41
  ModifyInstanceKeyValConfigsResponse,
42
42
  BackupTableContent,
43
+ OpenBackUpResponse,
43
44
  CreateInstanceNewResponse,
44
45
  ConfigSubmitContext,
45
46
  InstanceStateInfo,
@@ -51,6 +52,7 @@ import {
51
52
  DescribeBackUpJobDetailResponse,
52
53
  ModifyClusterConfigsRequest,
53
54
  ScaleUpInstanceRequest,
55
+ GroupInfo,
54
56
  DescribeInstanceKeyValConfigsResponse,
55
57
  ServiceInfo,
56
58
  MapConfigItem,
@@ -60,7 +62,7 @@ import {
60
62
  DescribeInstancesNewRequest,
61
63
  DeleteBackUpDataResponse,
62
64
  ModifyInstanceKeyValConfigsRequest,
63
- DescribeInstancesNewResponse,
65
+ DescribeInstanceNodesResponse,
64
66
  Tag,
65
67
  BackUpJobDisplay,
66
68
  DescribeClusterConfigsRequest,
@@ -72,9 +74,11 @@ import {
72
74
  DescribeInstanceResponse,
73
75
  DescribeBackUpJobResponse,
74
76
  DescribeInstanceClustersRequest,
77
+ ResizeDiskRequest,
75
78
  DescribeInstanceStateRequest,
76
79
  NodesSummary,
77
80
  DescribeInstanceShardsResponse,
81
+ InstanceNode,
78
82
  InstanceConfigInfo,
79
83
  DescribeBackUpJobDetailRequest,
80
84
  CreateBackUpScheduleRequest,
@@ -143,6 +147,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
143
147
  return this.request("DescribeInstanceKeyValConfigs", req, cb)
144
148
  }
145
149
 
150
+ /**
151
+ * 开启或者关闭策略
152
+ */
153
+ async OpenBackUp(
154
+ req: OpenBackUpRequest,
155
+ cb?: (error: string, rep: OpenBackUpResponse) => void
156
+ ): Promise<OpenBackUpResponse> {
157
+ return this.request("OpenBackUp", req, cb)
158
+ }
159
+
146
160
  /**
147
161
  * KV模式修改配置接口
148
162
  */
@@ -213,16 +227,6 @@ export class Client extends TencentCloudCommon.AbstractClient {
213
227
  return this.request("DeleteBackUpData", req, cb)
214
228
  }
215
229
 
216
- /**
217
- * 在集群配置页面修改集群配置文件接口,xml模式
218
- */
219
- async ModifyClusterConfigs(
220
- req: ModifyClusterConfigsRequest,
221
- cb?: (error: string, rep: ModifyClusterConfigsResponse) => void
222
- ): Promise<ModifyClusterConfigsResponse> {
223
- return this.request("ModifyClusterConfigs", req, cb)
224
- }
225
-
226
230
  /**
227
231
  * 新增和修改用户接口
228
232
  */
@@ -254,13 +258,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
254
258
  }
255
259
 
256
260
  /**
257
- * 开启或者关闭策略
261
+ * 在集群配置页面修改集群配置文件接口,xml模式
258
262
  */
259
- async OpenBackUp(
260
- req: OpenBackUpRequest,
261
- cb?: (error: string, rep: OpenBackUpResponse) => void
262
- ): Promise<OpenBackUpResponse> {
263
- return this.request("OpenBackUp", req, cb)
263
+ async ModifyClusterConfigs(
264
+ req: ModifyClusterConfigsRequest,
265
+ cb?: (error: string, rep: ModifyClusterConfigsResponse) => void
266
+ ): Promise<ModifyClusterConfigsResponse> {
267
+ return this.request("ModifyClusterConfigs", req, cb)
264
268
  }
265
269
 
266
270
  /**
@@ -343,6 +347,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
343
347
  return this.request("DescribeInstance", req, cb)
344
348
  }
345
349
 
350
+ /**
351
+ * 获取实例节点信息列表
352
+ */
353
+ async DescribeInstanceNodes(
354
+ req: DescribeInstanceNodesRequest,
355
+ cb?: (error: string, rep: DescribeInstanceNodesResponse) => void
356
+ ): Promise<DescribeInstanceNodesResponse> {
357
+ return this.request("DescribeInstanceNodes", req, cb)
358
+ }
359
+
346
360
  /**
347
361
  * 针对集群账号的权限做管控(新版)
348
362
  */
@@ -86,21 +86,21 @@ export interface ScaleOutInstanceResponse {
86
86
  }
87
87
 
88
88
  /**
89
- * ResizeDisk请求参数结构体
89
+ * DescribeInstancesNew返回参数结构体
90
90
  */
91
- export interface ResizeDiskRequest {
91
+ export interface DescribeInstancesNewResponse {
92
92
  /**
93
- * 实例唯一ID
93
+ * 实例总数
94
94
  */
95
- InstanceId: string
95
+ TotalCount?: number
96
96
  /**
97
- * 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
97
+ * 实例数组
98
98
  */
99
- Type: string
99
+ InstancesList?: Array<InstanceInfo>
100
100
  /**
101
- * 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
101
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
102
102
  */
103
- DiskSize: number
103
+ RequestId?: string
104
104
  }
105
105
 
106
106
  /**
@@ -138,13 +138,33 @@ export interface DescribeInstanceKeyValConfigsRequest {
138
138
  }
139
139
 
140
140
  /**
141
- * OpenBackUp返回参数结构体
141
+ * DescribeInstanceNodes请求参数结构体
142
142
  */
143
- export interface OpenBackUpResponse {
143
+ export interface DescribeInstanceNodesRequest {
144
144
  /**
145
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
145
+ * 集群实例ID
146
146
  */
147
- RequestId?: string
147
+ InstanceId: string
148
+ /**
149
+ * 集群角色类型,默认为 "data"数据节点
150
+ */
151
+ NodeRole?: string
152
+ /**
153
+ * 分页参数,第一页为0,第二页为10
154
+ */
155
+ Offset?: number
156
+ /**
157
+ * 分页参数,分页步长,默认为10
158
+ */
159
+ Limit?: number
160
+ /**
161
+ * 展现策略,All时显示所有
162
+ */
163
+ DisplayPolicy?: string
164
+ /**
165
+ * 当true的时候返回所有节点,即Limit无限大
166
+ */
167
+ ForceAll?: boolean
148
168
  }
149
169
 
150
170
  /**
@@ -488,6 +508,16 @@ export interface BackupTableContent {
488
508
  Rip?: string
489
509
  }
490
510
 
511
+ /**
512
+ * OpenBackUp返回参数结构体
513
+ */
514
+ export interface OpenBackUpResponse {
515
+ /**
516
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
517
+ */
518
+ RequestId?: string
519
+ }
520
+
491
521
  /**
492
522
  * CreateInstanceNew返回参数结构体
493
523
  */
@@ -988,6 +1018,24 @@ export interface ScaleUpInstanceRequest {
988
1018
  ScaleUpEnableRolling: boolean
989
1019
  }
990
1020
 
1021
+ /**
1022
+ * 集群分组信息描述
1023
+ */
1024
+ export interface GroupInfo {
1025
+ /**
1026
+ * 分组名称
1027
+ */
1028
+ GroupName: string
1029
+ /**
1030
+ * 分片变量名称
1031
+ */
1032
+ ShardName: string
1033
+ /**
1034
+ * 副本变量名称
1035
+ */
1036
+ ReplicaName: string
1037
+ }
1038
+
991
1039
  /**
992
1040
  * DescribeInstanceKeyValConfigs返回参数结构体
993
1041
  */
@@ -1176,17 +1224,18 @@ export interface ModifyInstanceKeyValConfigsRequest {
1176
1224
  }
1177
1225
 
1178
1226
  /**
1179
- * DescribeInstancesNew返回参数结构体
1227
+ * DescribeInstanceNodes返回参数结构体
1180
1228
  */
1181
- export interface DescribeInstancesNewResponse {
1229
+ export interface DescribeInstanceNodesResponse {
1182
1230
  /**
1183
- * 实例总数
1231
+ * 总数
1184
1232
  */
1185
- TotalCount?: number
1233
+ TotalCount: number
1186
1234
  /**
1187
- * 实例数组
1235
+ * 实例节点总数
1236
+ 注意:此字段可能返回 null,表示取不到有效值。
1188
1237
  */
1189
- InstancesList?: Array<InstanceInfo>
1238
+ InstanceNodesList: Array<InstanceNode>
1190
1239
  /**
1191
1240
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1192
1241
  */
@@ -1400,6 +1449,24 @@ export interface DescribeInstanceClustersRequest {
1400
1449
  InstanceId: string
1401
1450
  }
1402
1451
 
1452
+ /**
1453
+ * ResizeDisk请求参数结构体
1454
+ */
1455
+ export interface ResizeDiskRequest {
1456
+ /**
1457
+ * 实例唯一ID
1458
+ */
1459
+ InstanceId: string
1460
+ /**
1461
+ * 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
1462
+ */
1463
+ Type: string
1464
+ /**
1465
+ * 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
1466
+ */
1467
+ DiskSize: number
1468
+ }
1469
+
1403
1470
  /**
1404
1471
  * DescribeInstanceState请求参数结构体
1405
1472
  */
@@ -1494,6 +1561,54 @@ export interface DescribeInstanceShardsResponse {
1494
1561
  RequestId?: string
1495
1562
  }
1496
1563
 
1564
+ /**
1565
+ * 实例节点描述信息
1566
+ */
1567
+ export interface InstanceNode {
1568
+ /**
1569
+ * IP地址
1570
+ */
1571
+ Ip: string
1572
+ /**
1573
+ * 机型,如 S1
1574
+ */
1575
+ Spec: string
1576
+ /**
1577
+ * cpu核数
1578
+ */
1579
+ Core: number
1580
+ /**
1581
+ * 内存大小
1582
+ */
1583
+ Memory: number
1584
+ /**
1585
+ * 磁盘类型
1586
+ */
1587
+ DiskType: string
1588
+ /**
1589
+ * 磁盘大小
1590
+ */
1591
+ DiskSize: number
1592
+ /**
1593
+ * 所属clickhouse cluster名称
1594
+ */
1595
+ Cluster: string
1596
+ /**
1597
+ * 节点所属的分组信息
1598
+ */
1599
+ NodeGroups: Array<GroupInfo>
1600
+ /**
1601
+ * VPC IP
1602
+ 注意:此字段可能返回 null,表示取不到有效值。
1603
+ */
1604
+ Rip: string
1605
+ /**
1606
+ * ture的时候表示该节点上部署了chproxy进程
1607
+ 注意:此字段可能返回 null,表示取不到有效值。
1608
+ */
1609
+ IsCHProxy: boolean
1610
+ }
1611
+
1497
1612
  /**
1498
1613
  * 集群配置信息
1499
1614
  */
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeInstanceShardsRequest, ScaleOutInstanceRequest, ScaleOutInstanceResponse, ResizeDiskRequest, DescribeInstanceKeyValConfigsRequest, OpenBackUpResponse, DescribeClusterConfigsResponse, ActionAlterCkUserRequest, DescribeCkSqlApisRequest, DescribeBackUpScheduleRequest, DescribeSpecResponse, DescribeSpecRequest, DestroyInstanceRequest, ModifyUserNewPrivilegeRequest, DescribeBackUpTablesResponse, OpenBackUpRequest, ModifyInstanceKeyValConfigsResponse, CreateInstanceNewResponse, DescribeInstanceClustersResponse, CreateInstanceNewRequest, DescribeBackUpJobDetailResponse, ModifyClusterConfigsRequest, ScaleUpInstanceRequest, DescribeInstanceKeyValConfigsResponse, ModifyClusterConfigsResponse, RecoverBackUpJobRequest, DescribeInstancesNewRequest, DeleteBackUpDataResponse, ModifyInstanceKeyValConfigsRequest, DescribeInstancesNewResponse, DescribeClusterConfigsRequest, CreateBackUpScheduleResponse, RecoverBackUpJobResponse, DescribeInstanceResponse, DescribeBackUpJobResponse, DescribeInstanceClustersRequest, DescribeInstanceStateRequest, DescribeInstanceShardsResponse, DescribeBackUpJobDetailRequest, CreateBackUpScheduleRequest, DeleteBackUpDataRequest, DescribeInstanceRequest, ActionAlterCkUserResponse, DescribeInstanceStateResponse, DescribeBackUpTablesRequest, DestroyInstanceResponse, ResizeDiskResponse, DescribeBackUpScheduleResponse, DescribeCkSqlApisResponse, DescribeBackUpJobRequest, ScaleUpInstanceResponse, ModifyUserNewPrivilegeResponse } from "./cdwch_models";
2
+ import { DescribeInstanceShardsRequest, ScaleOutInstanceRequest, ScaleOutInstanceResponse, DescribeInstancesNewResponse, DescribeInstanceKeyValConfigsRequest, DescribeInstanceNodesRequest, DescribeClusterConfigsResponse, ActionAlterCkUserRequest, DescribeCkSqlApisRequest, DescribeBackUpScheduleRequest, DescribeSpecResponse, DescribeSpecRequest, DestroyInstanceRequest, ModifyUserNewPrivilegeRequest, DescribeBackUpTablesResponse, OpenBackUpRequest, ModifyInstanceKeyValConfigsResponse, OpenBackUpResponse, CreateInstanceNewResponse, DescribeInstanceClustersResponse, CreateInstanceNewRequest, DescribeBackUpJobDetailResponse, ModifyClusterConfigsRequest, ScaleUpInstanceRequest, DescribeInstanceKeyValConfigsResponse, ModifyClusterConfigsResponse, RecoverBackUpJobRequest, DescribeInstancesNewRequest, DeleteBackUpDataResponse, ModifyInstanceKeyValConfigsRequest, DescribeInstanceNodesResponse, DescribeClusterConfigsRequest, CreateBackUpScheduleResponse, RecoverBackUpJobResponse, DescribeInstanceResponse, DescribeBackUpJobResponse, DescribeInstanceClustersRequest, ResizeDiskRequest, DescribeInstanceStateRequest, DescribeInstanceShardsResponse, DescribeBackUpJobDetailRequest, CreateBackUpScheduleRequest, DeleteBackUpDataRequest, DescribeInstanceRequest, ActionAlterCkUserResponse, DescribeInstanceStateResponse, DescribeBackUpTablesRequest, DestroyInstanceResponse, ResizeDiskResponse, DescribeBackUpScheduleResponse, DescribeCkSqlApisResponse, DescribeBackUpJobRequest, ScaleUpInstanceResponse, ModifyUserNewPrivilegeResponse } from "./cdwch_models";
3
3
  /**
4
4
  * cdwch client
5
5
  * @class
@@ -22,6 +22,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
22
22
  * 在集群详情页面获取所有参数列表
23
23
  */
24
24
  DescribeInstanceKeyValConfigs(req: DescribeInstanceKeyValConfigsRequest, cb?: (error: string, rep: DescribeInstanceKeyValConfigsResponse) => void): Promise<DescribeInstanceKeyValConfigsResponse>;
25
+ /**
26
+ * 开启或者关闭策略
27
+ */
28
+ OpenBackUp(req: OpenBackUpRequest, cb?: (error: string, rep: OpenBackUpResponse) => void): Promise<OpenBackUpResponse>;
25
29
  /**
26
30
  * KV模式修改配置接口
27
31
  */
@@ -50,10 +54,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
50
54
  * 删除备份数据
51
55
  */
52
56
  DeleteBackUpData(req: DeleteBackUpDataRequest, cb?: (error: string, rep: DeleteBackUpDataResponse) => void): Promise<DeleteBackUpDataResponse>;
53
- /**
54
- * 在集群配置页面修改集群配置文件接口,xml模式
55
- */
56
- ModifyClusterConfigs(req: ModifyClusterConfigsRequest, cb?: (error: string, rep: ModifyClusterConfigsResponse) => void): Promise<ModifyClusterConfigsResponse>;
57
57
  /**
58
58
  * 新增和修改用户接口
59
59
  */
@@ -67,9 +67,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
67
67
  */
68
68
  DescribeClusterConfigs(req: DescribeClusterConfigsRequest, cb?: (error: string, rep: DescribeClusterConfigsResponse) => void): Promise<DescribeClusterConfigsResponse>;
69
69
  /**
70
- * 开启或者关闭策略
70
+ * 在集群配置页面修改集群配置文件接口,xml模式
71
71
  */
72
- OpenBackUp(req: OpenBackUpRequest, cb?: (error: string, rep: OpenBackUpResponse) => void): Promise<OpenBackUpResponse>;
72
+ ModifyClusterConfigs(req: ModifyClusterConfigsRequest, cb?: (error: string, rep: ModifyClusterConfigsResponse) => void): Promise<ModifyClusterConfigsResponse>;
73
73
  /**
74
74
  * 备份恢复
75
75
  */
@@ -102,6 +102,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
102
102
  * 根据实例ID查询某个实例的具体信息
103
103
  */
104
104
  DescribeInstance(req: DescribeInstanceRequest, cb?: (error: string, rep: DescribeInstanceResponse) => void): Promise<DescribeInstanceResponse>;
105
+ /**
106
+ * 获取实例节点信息列表
107
+ */
108
+ DescribeInstanceNodes(req: DescribeInstanceNodesRequest, cb?: (error: string, rep: DescribeInstanceNodesResponse) => void): Promise<DescribeInstanceNodesResponse>;
105
109
  /**
106
110
  * 针对集群账号的权限做管控(新版)
107
111
  */
@@ -51,6 +51,12 @@ class Client extends TencentCloudCommon.AbstractClient {
51
51
  async DescribeInstanceKeyValConfigs(req, cb) {
52
52
  return this.request("DescribeInstanceKeyValConfigs", req, cb);
53
53
  }
54
+ /**
55
+ * 开启或者关闭策略
56
+ */
57
+ async OpenBackUp(req, cb) {
58
+ return this.request("OpenBackUp", req, cb);
59
+ }
54
60
  /**
55
61
  * KV模式修改配置接口
56
62
  */
@@ -93,12 +99,6 @@ class Client extends TencentCloudCommon.AbstractClient {
93
99
  async DeleteBackUpData(req, cb) {
94
100
  return this.request("DeleteBackUpData", req, cb);
95
101
  }
96
- /**
97
- * 在集群配置页面修改集群配置文件接口,xml模式
98
- */
99
- async ModifyClusterConfigs(req, cb) {
100
- return this.request("ModifyClusterConfigs", req, cb);
101
- }
102
102
  /**
103
103
  * 新增和修改用户接口
104
104
  */
@@ -118,10 +118,10 @@ class Client extends TencentCloudCommon.AbstractClient {
118
118
  return this.request("DescribeClusterConfigs", req, cb);
119
119
  }
120
120
  /**
121
- * 开启或者关闭策略
121
+ * 在集群配置页面修改集群配置文件接口,xml模式
122
122
  */
123
- async OpenBackUp(req, cb) {
124
- return this.request("OpenBackUp", req, cb);
123
+ async ModifyClusterConfigs(req, cb) {
124
+ return this.request("ModifyClusterConfigs", req, cb);
125
125
  }
126
126
  /**
127
127
  * 备份恢复
@@ -171,6 +171,12 @@ class Client extends TencentCloudCommon.AbstractClient {
171
171
  async DescribeInstance(req, cb) {
172
172
  return this.request("DescribeInstance", req, cb);
173
173
  }
174
+ /**
175
+ * 获取实例节点信息列表
176
+ */
177
+ async DescribeInstanceNodes(req, cb) {
178
+ return this.request("DescribeInstanceNodes", req, cb);
179
+ }
174
180
  /**
175
181
  * 针对集群账号的权限做管控(新版)
176
182
  */
@@ -66,21 +66,21 @@ export interface ScaleOutInstanceResponse {
66
66
  RequestId?: string;
67
67
  }
68
68
  /**
69
- * ResizeDisk请求参数结构体
69
+ * DescribeInstancesNew返回参数结构体
70
70
  */
71
- export interface ResizeDiskRequest {
71
+ export interface DescribeInstancesNewResponse {
72
72
  /**
73
- * 实例唯一ID
73
+ * 实例总数
74
74
  */
75
- InstanceId: string;
75
+ TotalCount?: number;
76
76
  /**
77
- * 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
77
+ * 实例数组
78
78
  */
79
- Type: string;
79
+ InstancesList?: Array<InstanceInfo>;
80
80
  /**
81
- * 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
81
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
82
82
  */
83
- DiskSize: number;
83
+ RequestId?: string;
84
84
  }
85
85
  /**
86
86
  * 数据库权限信息
@@ -115,13 +115,33 @@ export interface DescribeInstanceKeyValConfigsRequest {
115
115
  SearchConfigName?: string;
116
116
  }
117
117
  /**
118
- * OpenBackUp返回参数结构体
118
+ * DescribeInstanceNodes请求参数结构体
119
119
  */
120
- export interface OpenBackUpResponse {
120
+ export interface DescribeInstanceNodesRequest {
121
121
  /**
122
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
122
+ * 集群实例ID
123
123
  */
124
- RequestId?: string;
124
+ InstanceId: string;
125
+ /**
126
+ * 集群角色类型,默认为 "data"数据节点
127
+ */
128
+ NodeRole?: string;
129
+ /**
130
+ * 分页参数,第一页为0,第二页为10
131
+ */
132
+ Offset?: number;
133
+ /**
134
+ * 分页参数,分页步长,默认为10
135
+ */
136
+ Limit?: number;
137
+ /**
138
+ * 展现策略,All时显示所有
139
+ */
140
+ DisplayPolicy?: string;
141
+ /**
142
+ * 当true的时候返回所有节点,即Limit无限大
143
+ */
144
+ ForceAll?: boolean;
125
145
  }
126
146
  /**
127
147
  * 集群计费相关信息
@@ -448,6 +468,15 @@ export interface BackupTableContent {
448
468
  */
449
469
  Rip?: string;
450
470
  }
471
+ /**
472
+ * OpenBackUp返回参数结构体
473
+ */
474
+ export interface OpenBackUpResponse {
475
+ /**
476
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
477
+ */
478
+ RequestId?: string;
479
+ }
451
480
  /**
452
481
  * CreateInstanceNew返回参数结构体
453
482
  */
@@ -937,6 +966,23 @@ export interface ScaleUpInstanceRequest {
937
966
  */
938
967
  ScaleUpEnableRolling: boolean;
939
968
  }
969
+ /**
970
+ * 集群分组信息描述
971
+ */
972
+ export interface GroupInfo {
973
+ /**
974
+ * 分组名称
975
+ */
976
+ GroupName: string;
977
+ /**
978
+ * 分片变量名称
979
+ */
980
+ ShardName: string;
981
+ /**
982
+ * 副本变量名称
983
+ */
984
+ ReplicaName: string;
985
+ }
940
986
  /**
941
987
  * DescribeInstanceKeyValConfigs返回参数结构体
942
988
  */
@@ -1116,17 +1162,18 @@ export interface ModifyInstanceKeyValConfigsRequest {
1116
1162
  Remark?: string;
1117
1163
  }
1118
1164
  /**
1119
- * DescribeInstancesNew返回参数结构体
1165
+ * DescribeInstanceNodes返回参数结构体
1120
1166
  */
1121
- export interface DescribeInstancesNewResponse {
1167
+ export interface DescribeInstanceNodesResponse {
1122
1168
  /**
1123
- * 实例总数
1169
+ * 总数
1124
1170
  */
1125
- TotalCount?: number;
1171
+ TotalCount: number;
1126
1172
  /**
1127
- * 实例数组
1173
+ * 实例节点总数
1174
+ 注意:此字段可能返回 null,表示取不到有效值。
1128
1175
  */
1129
- InstancesList?: Array<InstanceInfo>;
1176
+ InstanceNodesList: Array<InstanceNode>;
1130
1177
  /**
1131
1178
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1132
1179
  */
@@ -1328,6 +1375,23 @@ export interface DescribeInstanceClustersRequest {
1328
1375
  */
1329
1376
  InstanceId: string;
1330
1377
  }
1378
+ /**
1379
+ * ResizeDisk请求参数结构体
1380
+ */
1381
+ export interface ResizeDiskRequest {
1382
+ /**
1383
+ * 实例唯一ID
1384
+ */
1385
+ InstanceId: string;
1386
+ /**
1387
+ * 节点类型,DATA:clickhouse节点,COMMON:为zookeeper节点
1388
+ */
1389
+ Type: string;
1390
+ /**
1391
+ * 磁盘扩容后容量,不能小于原有用量。clickhouse最小200,且为100的整数倍。 zk最小100,且为10的整数倍;
1392
+ */
1393
+ DiskSize: number;
1394
+ }
1331
1395
  /**
1332
1396
  * DescribeInstanceState请求参数结构体
1333
1397
  */
@@ -1419,6 +1483,53 @@ export interface DescribeInstanceShardsResponse {
1419
1483
  */
1420
1484
  RequestId?: string;
1421
1485
  }
1486
+ /**
1487
+ * 实例节点描述信息
1488
+ */
1489
+ export interface InstanceNode {
1490
+ /**
1491
+ * IP地址
1492
+ */
1493
+ Ip: string;
1494
+ /**
1495
+ * 机型,如 S1
1496
+ */
1497
+ Spec: string;
1498
+ /**
1499
+ * cpu核数
1500
+ */
1501
+ Core: number;
1502
+ /**
1503
+ * 内存大小
1504
+ */
1505
+ Memory: number;
1506
+ /**
1507
+ * 磁盘类型
1508
+ */
1509
+ DiskType: string;
1510
+ /**
1511
+ * 磁盘大小
1512
+ */
1513
+ DiskSize: number;
1514
+ /**
1515
+ * 所属clickhouse cluster名称
1516
+ */
1517
+ Cluster: string;
1518
+ /**
1519
+ * 节点所属的分组信息
1520
+ */
1521
+ NodeGroups: Array<GroupInfo>;
1522
+ /**
1523
+ * VPC IP
1524
+ 注意:此字段可能返回 null,表示取不到有效值。
1525
+ */
1526
+ Rip: string;
1527
+ /**
1528
+ * ture的时候表示该节点上部署了chproxy进程
1529
+ 注意:此字段可能返回 null,表示取不到有效值。
1530
+ */
1531
+ IsCHProxy: boolean;
1532
+ }
1422
1533
  /**
1423
1534
  * 集群配置信息
1424
1535
  */