tencentcloud-sdk-nodejs-cynosdb 4.0.605 → 4.0.607

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.
@@ -28,160 +28,160 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("cynosdb.tencentcloudapi.com", "2019-01-07", clientConfig);
29
29
  }
30
30
  /**
31
- * 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置。
31
+ * 恢复serverless集群
32
32
  */
33
- async ModifyAuditService(req, cb) {
34
- return this.request("ModifyAuditService", req, cb);
33
+ async ResumeServerless(req, cb) {
34
+ return this.request("ResumeServerless", req, cb);
35
35
  }
36
36
  /**
37
- * 下线实例
37
+ * 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
38
38
  */
39
- async OfflineInstance(req, cb) {
40
- return this.request("OfflineInstance", req, cb);
39
+ async DescribeBackupConfig(req, cb) {
40
+ return this.request("DescribeBackupConfig", req, cb);
41
41
  }
42
42
  /**
43
- * 查询备份文件列表
43
+ * 创建审计规则模版
44
44
  */
45
- async DescribeBackupList(req, cb) {
46
- return this.request("DescribeBackupList", req, cb);
45
+ async CreateAuditRuleTemplate(req, cb) {
46
+ return this.request("CreateAuditRuleTemplate", req, cb);
47
47
  }
48
48
  /**
49
- * 批量回收账号权限
49
+ * 批量授权账号权限
50
50
  */
51
- async RevokeAccountPrivileges(req, cb) {
52
- return this.request("RevokeAccountPrivileges", req, cb);
51
+ async GrantAccountPrivileges(req, cb) {
52
+ return this.request("GrantAccountPrivileges", req, cb);
53
53
  }
54
54
  /**
55
- * 本接口(RollBackCluster)用于回档集群
55
+ * 本接口(DescribeClusterParamLogs)查询参数修改日志
56
56
  */
57
- async RollBackCluster(req, cb) {
58
- return this.request("RollBackCluster", req, cb);
57
+ async DescribeClusterParamLogs(req, cb) {
58
+ return this.request("DescribeClusterParamLogs", req, cb);
59
59
  }
60
60
  /**
61
- * 本接口(IsolateInstance)用于隔离实例。
61
+ * 修改维护时间配置
62
62
  */
63
- async IsolateInstance(req, cb) {
64
- return this.request("IsolateInstance", req, cb);
63
+ async ModifyMaintainPeriodConfig(req, cb) {
64
+ return this.request("ModifyMaintainPeriodConfig", req, cb);
65
65
  }
66
66
  /**
67
- * 查询项目安全组信息
67
+ * 本接口(CopyClusterPasswordComplexity)用于复制集群密码复杂度
68
68
  */
69
- async DescribeProjectSecurityGroups(req, cb) {
70
- return this.request("DescribeProjectSecurityGroups", req, cb);
69
+ async CopyClusterPasswordComplexity(req, cb) {
70
+ return this.request("CopyClusterPasswordComplexity", req, cb);
71
71
  }
72
72
  /**
73
- * 此接口(DescribeBinlogSaveDays)用于查询集群的Binlog保留天数。
73
+ * TDSQL-C for MySQL实例关闭审计服务
74
74
  */
75
- async DescribeBinlogSaveDays(req, cb) {
76
- return this.request("DescribeBinlogSaveDays", req, cb);
75
+ async CloseAuditService(req, cb) {
76
+ return this.request("CloseAuditService", req, cb);
77
77
  }
78
78
  /**
79
- * 本接口(DescribeInstanceSpecs)用于查询实例规格
79
+ * 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
80
80
  */
81
- async DescribeInstanceSpecs(req, cb) {
82
- return this.request("DescribeInstanceSpecs", req, cb);
81
+ async CreateAuditLogFile(req, cb) {
82
+ return this.request("CreateAuditLogFile", req, cb);
83
83
  }
84
84
  /**
85
- * 增加从可用区
85
+ * 更换集群vpc
86
86
  */
87
- async AddClusterSlaveZone(req, cb) {
88
- return this.request("AddClusterSlaveZone", req, cb);
87
+ async SwitchClusterVpc(req, cb) {
88
+ return this.request("SwitchClusterVpc", req, cb);
89
89
  }
90
90
  /**
91
- * 查询用户指定产品下的所有参数模板信息
91
+ * 该接口(DescribeClusterDetail)显示集群详情
92
92
  */
93
- async DescribeParamTemplates(req, cb) {
94
- return this.request("DescribeParamTemplates", req, cb);
93
+ async DescribeClusterDetail(req, cb) {
94
+ return this.request("DescribeClusterDetail", req, cb);
95
95
  }
96
96
  /**
97
- * 本接口(SearchClusterTables)搜索集群数据表列表
97
+ * 本接口(DescribeInstanceSpecs)用于查询实例规格
98
98
  */
99
- async SearchClusterTables(req, cb) {
100
- return this.request("SearchClusterTables", req, cb);
99
+ async DescribeInstanceSpecs(req, cb) {
100
+ return this.request("DescribeInstanceSpecs", req, cb);
101
101
  }
102
102
  /**
103
- * 为集群删除手动备份,无法删除自动备份
103
+ * 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
104
104
  */
105
- async DeleteBackup(req, cb) {
106
- return this.request("DeleteBackup", req, cb);
105
+ async DescribeBinlogDownloadUrl(req, cb) {
106
+ return this.request("DescribeBinlogDownloadUrl", req, cb);
107
107
  }
108
108
  /**
109
- * 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
109
+ * 根据计费订单id查询资源列表
110
110
  */
111
- async DescribeClusterInstanceGrps(req, cb) {
112
- return this.request("DescribeClusterInstanceGrps", req, cb);
111
+ async DescribeResourcesByDealName(req, cb) {
112
+ return this.request("DescribeResourcesByDealName", req, cb);
113
113
  }
114
114
  /**
115
- * 修改实例组ip,端口
115
+ * 升级预付费存储
116
116
  */
117
- async ModifyVipVport(req, cb) {
118
- return this.request("ModifyVipVport", req, cb);
117
+ async ModifyClusterStorage(req, cb) {
118
+ return this.request("ModifyClusterStorage", req, cb);
119
119
  }
120
120
  /**
121
- * TDSQL-C for MySQL实例开通审计服务
121
+ * 本接口(ActivateInstance)用于恢复已隔离的实例访问。
122
122
  */
123
- async OpenAuditService(req, cb) {
124
- return this.request("OpenAuditService", req, cb);
123
+ async ActivateInstance(req, cb) {
124
+ return this.request("ActivateInstance", req, cb);
125
125
  }
126
126
  /**
127
- * 创建审计规则模版
127
+ * 安全组批量解绑云资源
128
128
  */
129
- async CreateAuditRuleTemplate(req, cb) {
130
- return this.request("CreateAuditRuleTemplate", req, cb);
129
+ async DisassociateSecurityGroups(req, cb) {
130
+ return this.request("DisassociateSecurityGroups", req, cb);
131
131
  }
132
132
  /**
133
- * 此接口(ModifyBackupName)用于修改备份文件备注名。
133
+ * 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
134
134
  */
135
- async ModifyBackupName(req, cb) {
136
- return this.request("ModifyBackupName", req, cb);
135
+ async ExportInstanceSlowQueries(req, cb) {
136
+ return this.request("ExportInstanceSlowQueries", req, cb);
137
137
  }
138
138
  /**
139
- * 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
139
+ * 查询账号已有权限
140
140
  */
141
- async DeleteAuditLogFile(req, cb) {
142
- return this.request("DeleteAuditLogFile", req, cb);
141
+ async DescribeAccountPrivileges(req, cb) {
142
+ return this.request("DescribeAccountPrivileges", req, cb);
143
143
  }
144
144
  /**
145
- * 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
145
+ * 本接口(CloseClusterPasswordComplexity)用于关闭集群密码复杂度
146
146
  */
147
- async ResetAccountPassword(req, cb) {
148
- return this.request("ResetAccountPassword", req, cb);
147
+ async CloseClusterPasswordComplexity(req, cb) {
148
+ return this.request("CloseClusterPasswordComplexity", req, cb);
149
149
  }
150
150
  /**
151
- * 本接口(DescribeInstanceDetail)用于查询实例详情。
151
+ * 本接口(RollBackCluster)用于回档集群
152
152
  */
153
- async DescribeInstanceDetail(req, cb) {
154
- return this.request("DescribeInstanceDetail", req, cb);
153
+ async RollBackCluster(req, cb) {
154
+ return this.request("RollBackCluster", req, cb);
155
155
  }
156
156
  /**
157
- * 查询审计规则模版信息
157
+ * 此接口(DescribeBinlogSaveDays)用于查询集群的Binlog保留天数。
158
158
  */
159
- async DescribeAuditRuleTemplates(req, cb) {
160
- return this.request("DescribeAuditRuleTemplates", req, cb);
159
+ async DescribeBinlogSaveDays(req, cb) {
160
+ return this.request("DescribeBinlogSaveDays", req, cb);
161
161
  }
162
162
  /**
163
- * 查询指定集群有效回滚时间范围
163
+ * 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
164
164
  */
165
- async DescribeRollbackTimeRange(req, cb) {
166
- return this.request("DescribeRollbackTimeRange", req, cb);
165
+ async DescribeClusterInstanceGrps(req, cb) {
166
+ return this.request("DescribeClusterInstanceGrps", req, cb);
167
167
  }
168
168
  /**
169
- * 本接口(DescribeFlow)用于查询任务流信息
169
+ * 下线集群
170
170
  */
171
- async DescribeFlow(req, cb) {
172
- return this.request("DescribeFlow", req, cb);
171
+ async OfflineCluster(req, cb) {
172
+ return this.request("OfflineCluster", req, cb);
173
173
  }
174
174
  /**
175
- * 修改指定集群的备份配置
175
+ * 修改集群名称
176
176
  */
177
- async ModifyBackupConfig(req, cb) {
178
- return this.request("ModifyBackupConfig", req, cb);
177
+ async ModifyClusterName(req, cb) {
178
+ return this.request("ModifyClusterName", req, cb);
179
179
  }
180
180
  /**
181
- * 本接口(DescribeInstances)用于查询实例列表。
181
+ * 修改实例组ip,端口
182
182
  */
183
- async DescribeInstances(req, cb) {
184
- return this.request("DescribeInstances", req, cb);
183
+ async ModifyVipVport(req, cb) {
184
+ return this.request("ModifyVipVport", req, cb);
185
185
  }
186
186
  /**
187
187
  * 删除审计规则模版
@@ -190,22 +190,10 @@ class Client extends TencentCloudCommon.AbstractClient {
190
190
  return this.request("DeleteAuditRuleTemplates", req, cb);
191
191
  }
192
192
  /**
193
- * 本接口(DescribeClusterParamLogs)查询参数修改日志
194
- */
195
- async DescribeClusterParamLogs(req, cb) {
196
- return this.request("DescribeClusterParamLogs", req, cb);
197
- }
198
- /**
199
- * 修改维护时间配置
200
- */
201
- async ModifyMaintainPeriodConfig(req, cb) {
202
- return this.request("ModifyMaintainPeriodConfig", req, cb);
203
- }
204
- /**
205
- * 本接口(DescribeAuditLogs)用于查询数据库审计日志。
193
+ * 本接口(CreateParamTemplate)用于创建参数模版
206
194
  */
207
- async DescribeAuditLogs(req, cb) {
208
- return this.request("DescribeAuditLogs", req, cb);
195
+ async CreateParamTemplate(req, cb) {
196
+ return this.request("CreateParamTemplate", req, cb);
209
197
  }
210
198
  /**
211
199
  * 修改从可用区
@@ -220,10 +208,10 @@ class Client extends TencentCloudCommon.AbstractClient {
220
208
  return this.request("ModifyAccountParams", req, cb);
221
209
  }
222
210
  /**
223
- * 本接口(DescribeClusterParams)用于查询集群参数
211
+ * 本接口(ModifyClusterPasswordComplexity)用于修改/开启集群密码复杂度
224
212
  */
225
- async DescribeClusterParams(req, cb) {
226
- return this.request("DescribeClusterParams", req, cb);
213
+ async ModifyClusterPasswordComplexity(req, cb) {
214
+ return this.request("ModifyClusterPasswordComplexity", req, cb);
227
215
  }
228
216
  /**
229
217
  * 为集群创建手动备份
@@ -232,28 +220,16 @@ class Client extends TencentCloudCommon.AbstractClient {
232
220
  return this.request("CreateBackup", req, cb);
233
221
  }
234
222
  /**
235
- * TDSQL-C for MySQL实例关闭审计服务
236
- */
237
- async CloseAuditService(req, cb) {
238
- return this.request("CloseAuditService", req, cb);
239
- }
240
- /**
241
- * 本接口(ModifyInstanceName)用于修改实例名称。
242
- */
243
- async ModifyInstanceName(req, cb) {
244
- return this.request("ModifyInstanceName", req, cb);
245
- }
246
- /**
247
- * 查询实例维护时间窗
223
+ * 下线实例
248
224
  */
249
- async DescribeMaintainPeriod(req, cb) {
250
- return this.request("DescribeMaintainPeriod", req, cb);
225
+ async OfflineInstance(req, cb) {
226
+ return this.request("OfflineInstance", req, cb);
251
227
  }
252
228
  /**
253
- * 恢复serverless集群
229
+ * 隔离集群
254
230
  */
255
- async ResumeServerless(req, cb) {
256
- return this.request("ResumeServerless", req, cb);
231
+ async IsolateCluster(req, cb) {
232
+ return this.request("IsolateCluster", req, cb);
257
233
  }
258
234
  /**
259
235
  * 重启实例
@@ -268,118 +244,112 @@ class Client extends TencentCloudCommon.AbstractClient {
268
244
  return this.request("DescribeClusters", req, cb);
269
245
  }
270
246
  /**
271
- * 本接口(CreateAuditLogFile)用于创建云数据库实例的审计日志文件。
247
+ * 本接口(CloseWan)用于关闭外网
272
248
  */
273
- async CreateAuditLogFile(req, cb) {
274
- return this.request("CreateAuditLogFile", req, cb);
249
+ async CloseWan(req, cb) {
250
+ return this.request("CloseWan", req, cb);
275
251
  }
276
252
  /**
277
- * 隔离集群
253
+ * 查询项目安全组信息
278
254
  */
279
- async IsolateCluster(req, cb) {
280
- return this.request("IsolateCluster", req, cb);
255
+ async DescribeProjectSecurityGroups(req, cb) {
256
+ return this.request("DescribeProjectSecurityGroups", req, cb);
281
257
  }
282
258
  /**
283
- * 查询新购集群价格
259
+ * 修改数据库
284
260
  */
285
- async InquirePriceCreate(req, cb) {
286
- return this.request("InquirePriceCreate", req, cb);
261
+ async ModifyClusterDatabase(req, cb) {
262
+ return this.request("ModifyClusterDatabase", req, cb);
287
263
  }
288
264
  /**
289
- * 此接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
265
+ * 本接口(ModifyParamTemplate)用于修改用户参数模版。
290
266
  */
291
- async DescribeBackupDownloadUrl(req, cb) {
292
- return this.request("DescribeBackupDownloadUrl", req, cb);
267
+ async ModifyParamTemplate(req, cb) {
268
+ return this.request("ModifyParamTemplate", req, cb);
293
269
  }
294
270
  /**
295
- * 更换集群vpc
271
+ * 该接口(DescribeInstanceParams)查询实例参数列表
296
272
  */
297
- async SwitchClusterVpc(req, cb) {
298
- return this.request("SwitchClusterVpc", req, cb);
273
+ async DescribeInstanceParams(req, cb) {
274
+ return this.request("DescribeInstanceParams", req, cb);
299
275
  }
300
276
  /**
301
- * 安全组批量绑定云资源
277
+ * 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
302
278
  */
303
- async AssociateSecurityGroups(req, cb) {
304
- return this.request("AssociateSecurityGroups", req, cb);
279
+ async DescribeInstanceSlowQueries(req, cb) {
280
+ return this.request("DescribeInstanceSlowQueries", req, cb);
305
281
  }
306
282
  /**
307
- * 删除从可用区
283
+ * 修改集群参数
308
284
  */
309
- async RemoveClusterSlaveZone(req, cb) {
310
- return this.request("RemoveClusterSlaveZone", req, cb);
285
+ async ModifyClusterParam(req, cb) {
286
+ return this.request("ModifyClusterParam", req, cb);
311
287
  }
312
288
  /**
313
- * 修改集群名称
289
+ * 创建集群
314
290
  */
315
- async ModifyClusterName(req, cb) {
316
- return this.request("ModifyClusterName", req, cb);
291
+ async CreateClusters(req, cb) {
292
+ return this.request("CreateClusters", req, cb);
317
293
  }
318
294
  /**
319
- * 本接口(SwitchProxyVpc)更换数据库代理vpc
295
+ * 创建账号
320
296
  */
321
- async SwitchProxyVpc(req, cb) {
322
- return this.request("SwitchProxyVpc", req, cb);
297
+ async CreateAccounts(req, cb) {
298
+ return this.request("CreateAccounts", req, cb);
323
299
  }
324
300
  /**
325
- * 该接口(DescribeClusterDetail)显示集群详情
301
+ * 本接口(DescribeAuditLogFiles)用于查询云数据库实例的审计日志文件。
326
302
  */
327
- async DescribeClusterDetail(req, cb) {
328
- return this.request("DescribeClusterDetail", req, cb);
303
+ async DescribeAuditLogFiles(req, cb) {
304
+ return this.request("DescribeAuditLogFiles", req, cb);
329
305
  }
330
306
  /**
331
- * 获取实例的审计规则
307
+ * 删除数据库
332
308
  */
333
- async DescribeAuditRuleWithInstanceIds(req, cb) {
334
- return this.request("DescribeAuditRuleWithInstanceIds", req, cb);
309
+ async DeleteClusterDatabase(req, cb) {
310
+ return this.request("DeleteClusterDatabase", req, cb);
335
311
  }
336
312
  /**
337
- * 此接口(ExportInstanceErrorLogs)用于导出实例错误日志。
313
+ * 切换到从可用区
338
314
  */
339
- async ExportInstanceErrorLogs(req, cb) {
340
- return this.request("ExportInstanceErrorLogs", req, cb);
315
+ async SwitchClusterZone(req, cb) {
316
+ return this.request("SwitchClusterZone", req, cb);
341
317
  }
342
318
  /**
343
- * 获取指定集群的备份配置信息,包括全量备份时间段,备份文件保留时间
319
+ * 本接口(AddInstances)用于集群添加实例
344
320
  */
345
- async DescribeBackupConfig(req, cb) {
346
- return this.request("DescribeBackupConfig", req, cb);
321
+ async AddInstances(req, cb) {
322
+ return this.request("AddInstances", req, cb);
347
323
  }
348
324
  /**
349
- * 账号所有权限
325
+ * 删除账号
350
326
  */
351
- async DescribeAccountAllGrantPrivileges(req, cb) {
352
- return this.request("DescribeAccountAllGrantPrivileges", req, cb);
327
+ async DeleteAccounts(req, cb) {
328
+ return this.request("DeleteAccounts", req, cb);
353
329
  }
354
330
  /**
355
- * 查询续费集群价格
356
- */
357
- async InquirePriceRenew(req, cb) {
358
- return this.request("InquirePriceRenew", req, cb);
359
- }
360
- /**
361
- * 此接口(DescribeBinlogDownloadUrl)用于查询Binlog的下载地址。
331
+ * 批量回收账号权限
362
332
  */
363
- async DescribeBinlogDownloadUrl(req, cb) {
364
- return this.request("DescribeBinlogDownloadUrl", req, cb);
333
+ async RevokeAccountPrivileges(req, cb) {
334
+ return this.request("RevokeAccountPrivileges", req, cb);
365
335
  }
366
336
  /**
367
- * 本接口(DescribeAccounts)用于查询数据库管理账号。
337
+ * 本接口(SearchClusterTables)搜索集群数据表列表
368
338
  */
369
- async DescribeAccounts(req, cb) {
370
- return this.request("DescribeAccounts", req, cb);
339
+ async SearchClusterTables(req, cb) {
340
+ return this.request("SearchClusterTables", req, cb);
371
341
  }
372
342
  /**
373
- * 根据计费订单id查询资源列表
343
+ * 查询用户指定产品下的所有参数模板信息
374
344
  */
375
- async DescribeResourcesByDealName(req, cb) {
376
- return this.request("DescribeResourcesByDealName", req, cb);
345
+ async DescribeParamTemplates(req, cb) {
346
+ return this.request("DescribeParamTemplates", req, cb);
377
347
  }
378
348
  /**
379
- * 此接口(ExportInstanceSlowQueries)用于导出实例慢日志。
349
+ * 为集群删除手动备份,无法删除自动备份
380
350
  */
381
- async ExportInstanceSlowQueries(req, cb) {
382
- return this.request("ExportInstanceSlowQueries", req, cb);
351
+ async DeleteBackup(req, cb) {
352
+ return this.request("DeleteBackup", req, cb);
383
353
  }
384
354
  /**
385
355
  * 暂停serverless集群
@@ -388,64 +358,100 @@ class Client extends TencentCloudCommon.AbstractClient {
388
358
  return this.request("PauseServerless", req, cb);
389
359
  }
390
360
  /**
391
- * 修改集群参数
361
+ * 修改账号主机
392
362
  */
393
- async ModifyClusterParam(req, cb) {
394
- return this.request("ModifyClusterParam", req, cb);
363
+ async ModifyAccountHost(req, cb) {
364
+ return this.request("ModifyAccountHost", req, cb);
395
365
  }
396
366
  /**
397
- * 升级实例
367
+ * 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
398
368
  */
399
- async UpgradeInstance(req, cb) {
400
- return this.request("UpgradeInstance", req, cb);
369
+ async ResetAccountPassword(req, cb) {
370
+ return this.request("ResetAccountPassword", req, cb);
401
371
  }
402
372
  /**
403
- * 创建集群
373
+ * 本接口(DescribeInstanceDetail)用于查询实例详情。
404
374
  */
405
- async CreateClusters(req, cb) {
406
- return this.request("CreateClusters", req, cb);
375
+ async DescribeInstanceDetail(req, cb) {
376
+ return this.request("DescribeInstanceDetail", req, cb);
407
377
  }
408
378
  /**
409
- * 此接口(DescribeBinlogs)用来查询集群Binlog日志列表。
379
+ * 查询指定集群有效回滚时间范围
410
380
  */
411
- async DescribeBinlogs(req, cb) {
412
- return this.request("DescribeBinlogs", req, cb);
381
+ async DescribeRollbackTimeRange(req, cb) {
382
+ return this.request("DescribeRollbackTimeRange", req, cb);
413
383
  }
414
384
  /**
415
- * 创建账号
385
+ * 本接口(DescribeFlow)用于查询任务流信息
416
386
  */
417
- async CreateAccounts(req, cb) {
418
- return this.request("CreateAccounts", req, cb);
387
+ async DescribeFlow(req, cb) {
388
+ return this.request("DescribeFlow", req, cb);
419
389
  }
420
390
  /**
421
- * 升级预付费存储
391
+ * 本接口(ModifyInstanceParam)用于修改实例参数。
422
392
  */
423
- async ModifyClusterStorage(req, cb) {
424
- return this.request("ModifyClusterStorage", req, cb);
393
+ async ModifyInstanceParam(req, cb) {
394
+ return this.request("ModifyInstanceParam", req, cb);
425
395
  }
426
396
  /**
427
- * 本接口(ActivateInstance)用于恢复已隔离的实例访问。
397
+ * 本接口(DescribeAuditLogs)用于查询数据库审计日志。
428
398
  */
429
- async ActivateInstance(req, cb) {
430
- return this.request("ActivateInstance", req, cb);
399
+ async DescribeAuditLogs(req, cb) {
400
+ return this.request("DescribeAuditLogs", req, cb);
431
401
  }
432
402
  /**
433
- * 查询实例安全组信息
403
+ * 本接口(OpenWan)用于开通外网
434
404
  */
435
- async DescribeDBSecurityGroups(req, cb) {
436
- return this.request("DescribeDBSecurityGroups", req, cb);
405
+ async OpenWan(req, cb) {
406
+ return this.request("OpenWan", req, cb);
437
407
  }
438
408
  /**
439
- * 本接口(DescribeAuditLogFiles)用于查询云数据库实例的审计日志文件。
409
+ * 查询新购集群价格
440
410
  */
441
- async DescribeAuditLogFiles(req, cb) {
442
- return this.request("DescribeAuditLogFiles", req, cb);
411
+ async InquirePriceCreate(req, cb) {
412
+ return this.request("InquirePriceCreate", req, cb);
443
413
  }
444
414
  /**
445
- * 本接口(DescribeZones)用于查询可售卖地域可用区信息。
415
+ * 安全组批量绑定云资源
446
416
  */
447
- async DescribeZones(req, cb) {
448
- return this.request("DescribeZones", req, cb);
417
+ async AssociateSecurityGroups(req, cb) {
418
+ return this.request("AssociateSecurityGroups", req, cb);
419
+ }
420
+ /**
421
+ * 修改账号权限
422
+ */
423
+ async ModifyAccountPrivileges(req, cb) {
424
+ return this.request("ModifyAccountPrivileges", req, cb);
425
+ }
426
+ /**
427
+ * 获取实例的审计规则
428
+ */
429
+ async DescribeAuditRuleWithInstanceIds(req, cb) {
430
+ return this.request("DescribeAuditRuleWithInstanceIds", req, cb);
431
+ }
432
+ /**
433
+ * 本接口(IsolateInstance)用于隔离实例。
434
+ */
435
+ async IsolateInstance(req, cb) {
436
+ return this.request("IsolateInstance", req, cb);
437
+ }
438
+ /**
439
+ * 增加从可用区
440
+ */
441
+ async AddClusterSlaveZone(req, cb) {
442
+ return this.request("AddClusterSlaveZone", req, cb);
443
+ }
444
+ /**
445
+ * 此接口(ModifyBackupName)用于修改备份文件备注名。
446
+ */
447
+ async ModifyBackupName(req, cb) {
448
+ return this.request("ModifyBackupName", req, cb);
449
+ }
450
+ /**
451
+ * 本接口(DescribeAccounts)用于查询数据库管理账号。
452
+ */
453
+ async DescribeAccounts(req, cb) {
454
+ return this.request("DescribeAccounts", req, cb);
449
455
  }
450
456
  /**
451
457
  * SetRenewFlag设置实例的自动续费功能
@@ -454,10 +460,64 @@ class Client extends TencentCloudCommon.AbstractClient {
454
460
  return this.request("SetRenewFlag", req, cb);
455
461
  }
456
462
  /**
457
- * 下线集群
463
+ * 查询续费集群价格
458
464
  */
459
- async OfflineCluster(req, cb) {
460
- return this.request("OfflineCluster", req, cb);
465
+ async InquirePriceRenew(req, cb) {
466
+ return this.request("InquirePriceRenew", req, cb);
467
+ }
468
+ /**
469
+ * 修改审计规则模版
470
+ */
471
+ async ModifyAuditRuleTemplates(req, cb) {
472
+ return this.request("ModifyAuditRuleTemplates", req, cb);
473
+ }
474
+ /**
475
+ * 查询备份文件列表
476
+ */
477
+ async DescribeBackupList(req, cb) {
478
+ return this.request("DescribeBackupList", req, cb);
479
+ }
480
+ /**
481
+ * 本接口(ModifyAccountDescription)用于修改数据库账号描述信息。
482
+ */
483
+ async ModifyAccountDescription(req, cb) {
484
+ return this.request("ModifyAccountDescription", req, cb);
485
+ }
486
+ /**
487
+ * 创建数据库
488
+ */
489
+ async CreateClusterDatabase(req, cb) {
490
+ return this.request("CreateClusterDatabase", req, cb);
491
+ }
492
+ /**
493
+ * 本接口(DeleteAuditLogFile)用于删除云数据库实例的审计日志文件。
494
+ */
495
+ async DeleteAuditLogFile(req, cb) {
496
+ return this.request("DeleteAuditLogFile", req, cb);
497
+ }
498
+ /**
499
+ * 查询审计规则模版信息
500
+ */
501
+ async DescribeAuditRuleTemplates(req, cb) {
502
+ return this.request("DescribeAuditRuleTemplates", req, cb);
503
+ }
504
+ /**
505
+ * 修改指定集群的备份配置
506
+ */
507
+ async ModifyBackupConfig(req, cb) {
508
+ return this.request("ModifyBackupConfig", req, cb);
509
+ }
510
+ /**
511
+ * 本接口(DescribeInstances)用于查询实例列表。
512
+ */
513
+ async DescribeInstances(req, cb) {
514
+ return this.request("DescribeInstances", req, cb);
515
+ }
516
+ /**
517
+ * 更新集群Cynos内核版本
518
+ */
519
+ async UpgradeClusterVersion(req, cb) {
520
+ return this.request("UpgradeClusterVersion", req, cb);
461
521
  }
462
522
  /**
463
523
  * 本接口(SearchClusterDatabases)搜索集群database列表
@@ -466,16 +526,58 @@ class Client extends TencentCloudCommon.AbstractClient {
466
526
  return this.request("SearchClusterDatabases", req, cb);
467
527
  }
468
528
  /**
469
- * 修改审计规则模版
529
+ * 本接口(DescribeClusterParams)用于查询集群参数
470
530
  */
471
- async ModifyAuditRuleTemplates(req, cb) {
472
- return this.request("ModifyAuditRuleTemplates", req, cb);
531
+ async DescribeClusterParams(req, cb) {
532
+ return this.request("DescribeClusterParams", req, cb);
473
533
  }
474
534
  /**
475
- * 批量授权账号权限
535
+ * 本接口(ModifyInstanceName)用于修改实例名称。
476
536
  */
477
- async GrantAccountPrivileges(req, cb) {
478
- return this.request("GrantAccountPrivileges", req, cb);
537
+ async ModifyInstanceName(req, cb) {
538
+ return this.request("ModifyInstanceName", req, cb);
539
+ }
540
+ /**
541
+ * 查询实例维护时间窗
542
+ */
543
+ async DescribeMaintainPeriod(req, cb) {
544
+ return this.request("DescribeMaintainPeriod", req, cb);
545
+ }
546
+ /**
547
+ * 本接口(SwitchProxyVpc)更换数据库代理vpc
548
+ */
549
+ async SwitchProxyVpc(req, cb) {
550
+ return this.request("SwitchProxyVpc", req, cb);
551
+ }
552
+ /**
553
+ * 查询数据库列表
554
+ */
555
+ async DescribeClusterDetailDatabases(req, cb) {
556
+ return this.request("DescribeClusterDetailDatabases", req, cb);
557
+ }
558
+ /**
559
+ * 本接口(ModifyAuditService)用于修改云数据库审计日志保存时长、审计规则等服务配置。
560
+ */
561
+ async ModifyAuditService(req, cb) {
562
+ return this.request("ModifyAuditService", req, cb);
563
+ }
564
+ /**
565
+ * 本接口(DescribeZones)用于查询可售卖地域可用区信息。
566
+ */
567
+ async DescribeZones(req, cb) {
568
+ return this.request("DescribeZones", req, cb);
569
+ }
570
+ /**
571
+ * 此接口(DescribeBackupDownloadUrl)用于查询集群备份文件下载地址。
572
+ */
573
+ async DescribeBackupDownloadUrl(req, cb) {
574
+ return this.request("DescribeBackupDownloadUrl", req, cb);
575
+ }
576
+ /**
577
+ * 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
578
+ */
579
+ async ModifyDBInstanceSecurityGroups(req, cb) {
580
+ return this.request("ModifyDBInstanceSecurityGroups", req, cb);
479
581
  }
480
582
  /**
481
583
  * 查询实例错误日志列表
@@ -484,16 +586,16 @@ class Client extends TencentCloudCommon.AbstractClient {
484
586
  return this.request("DescribeInstanceErrorLogs", req, cb);
485
587
  }
486
588
  /**
487
- * 切换到从可用区
589
+ * 此接口(ModifyBinlogSaveDays)用于修改集群Binlog保留天数。
488
590
  */
489
- async SwitchClusterZone(req, cb) {
490
- return this.request("SwitchClusterZone", req, cb);
591
+ async ModifyBinlogSaveDays(req, cb) {
592
+ return this.request("ModifyBinlogSaveDays", req, cb);
491
593
  }
492
594
  /**
493
- * 安全组批量解绑云资源
595
+ * 账号所有权限
494
596
  */
495
- async DisassociateSecurityGroups(req, cb) {
496
- return this.request("DisassociateSecurityGroups", req, cb);
597
+ async DescribeAccountAllGrantPrivileges(req, cb) {
598
+ return this.request("DescribeAccountAllGrantPrivileges", req, cb);
497
599
  }
498
600
  /**
499
601
  * 开通只读实例独有访问接入组
@@ -502,10 +604,28 @@ class Client extends TencentCloudCommon.AbstractClient {
502
604
  return this.request("OpenReadOnlyInstanceExclusiveAccess", req, cb);
503
605
  }
504
606
  /**
505
- * 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
607
+ * 本接口(DescribeClusterPasswordComplexity)用于查看集群密码复杂度详情
506
608
  */
507
- async DescribeInstanceSlowQueries(req, cb) {
508
- return this.request("DescribeInstanceSlowQueries", req, cb);
609
+ async DescribeClusterPasswordComplexity(req, cb) {
610
+ return this.request("DescribeClusterPasswordComplexity", req, cb);
611
+ }
612
+ /**
613
+ * 本接口(DeleteParamTemplate)用于删除用户创建的参数模版。
614
+ */
615
+ async DeleteParamTemplate(req, cb) {
616
+ return this.request("DeleteParamTemplate", req, cb);
617
+ }
618
+ /**
619
+ * 升级实例
620
+ */
621
+ async UpgradeInstance(req, cb) {
622
+ return this.request("UpgradeInstance", req, cb);
623
+ }
624
+ /**
625
+ * 此接口(DescribeBinlogs)用来查询集群Binlog日志列表。
626
+ */
627
+ async DescribeBinlogs(req, cb) {
628
+ return this.request("DescribeBinlogs", req, cb);
509
629
  }
510
630
  /**
511
631
  * 指定时间和集群查询是否可回滚
@@ -514,16 +634,40 @@ class Client extends TencentCloudCommon.AbstractClient {
514
634
  return this.request("DescribeRollbackTimeValidity", req, cb);
515
635
  }
516
636
  /**
517
- * 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
637
+ * 查询实例安全组信息
518
638
  */
519
- async ModifyDBInstanceSecurityGroups(req, cb) {
520
- return this.request("ModifyDBInstanceSecurityGroups", req, cb);
639
+ async DescribeDBSecurityGroups(req, cb) {
640
+ return this.request("DescribeDBSecurityGroups", req, cb);
521
641
  }
522
642
  /**
523
- * 本接口(AddInstances)用于集群添加实例
643
+ * 本接口(OpenClusterPasswordComplexity)用于开启集群密码复杂度
524
644
  */
525
- async AddInstances(req, cb) {
526
- return this.request("AddInstances", req, cb);
645
+ async OpenClusterPasswordComplexity(req, cb) {
646
+ return this.request("OpenClusterPasswordComplexity", req, cb);
647
+ }
648
+ /**
649
+ * TDSQL-C for MySQL实例开通审计服务
650
+ */
651
+ async OpenAuditService(req, cb) {
652
+ return this.request("OpenAuditService", req, cb);
653
+ }
654
+ /**
655
+ * 删除从可用区
656
+ */
657
+ async RemoveClusterSlaveZone(req, cb) {
658
+ return this.request("RemoveClusterSlaveZone", req, cb);
659
+ }
660
+ /**
661
+ * 本接口(DescribeParamTemplateDetail)用于查询用户参数模版详情
662
+ */
663
+ async DescribeParamTemplateDetail(req, cb) {
664
+ return this.request("DescribeParamTemplateDetail", req, cb);
665
+ }
666
+ /**
667
+ * 此接口(ExportInstanceErrorLogs)用于导出实例错误日志。
668
+ */
669
+ async ExportInstanceErrorLogs(req, cb) {
670
+ return this.request("ExportInstanceErrorLogs", req, cb);
527
671
  }
528
672
  }
529
673
  exports.Client = Client;