tencentcloud-sdk-nodejs-intl-en 3.0.456 → 3.0.457

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-intl-en",
3
- "version": "3.0.456",
3
+ "version": "3.0.457",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -375,6 +375,38 @@ Note: This field may return null, indicating that no valid values can be obtaine
375
375
  */
376
376
  this.RegionId = null;
377
377
 
378
+ /**
379
+ * The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction. Valid values:
380
+
381
+ ri=Standard RI
382
+
383
+ svp=Savings Plan
384
+
385
+ si=Spot Instances
386
+
387
+ rp=Resource Pack
388
+ * @type {string || null}
389
+ */
390
+ this.InstanceType = null;
391
+
392
+ /**
393
+ * The amount deducted by a reserved instance based on the original component cost.
394
+ * @type {string || null}
395
+ */
396
+ this.OriginalCostWithRI = null;
397
+
398
+ /**
399
+ * The savings plan deduction amount.
400
+ * @type {string || null}
401
+ */
402
+ this.SPDeduction = null;
403
+
404
+ /**
405
+ * The amount deducted by a savings plan based on the original component cost.
406
+ * @type {string || null}
407
+ */
408
+ this.OriginalCostWithSP = null;
409
+
378
410
  }
379
411
 
380
412
  /**
@@ -425,6 +457,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
425
457
  this.BusinessCode = 'BusinessCode' in params ? params.BusinessCode : null;
426
458
  this.ProductCode = 'ProductCode' in params ? params.ProductCode : null;
427
459
  this.RegionId = 'RegionId' in params ? params.RegionId : null;
460
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
461
+ this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
462
+ this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
463
+ this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
428
464
 
429
465
  }
430
466
  }
@@ -1234,6 +1270,55 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1234
1270
  */
1235
1271
  this.ContractPrice = null;
1236
1272
 
1273
+ /**
1274
+ * The special instance (resource pack, reserved instance, savings plan, or spot instance) that is applied to deduction. Valid values:
1275
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1276
+ * @type {string || null}
1277
+ */
1278
+ this.InstanceType = null;
1279
+
1280
+ /**
1281
+ * The usage duration deducted by a reserved instance. The unit of measurement for deduction is the same as that for usage duration.
1282
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1283
+ * @type {string || null}
1284
+ */
1285
+ this.RiTimeSpan = null;
1286
+
1287
+ /**
1288
+ * The amount deducted by a reserved instance based on the original component cost.
1289
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1290
+ * @type {string || null}
1291
+ */
1292
+ this.OriginalCostWithRI = null;
1293
+
1294
+ /**
1295
+ * The discount multiplier that applies to the component based on the remaining commitment of the savings plan.
1296
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1297
+ * @type {string || null}
1298
+ */
1299
+ this.SPDeductionRate = null;
1300
+
1301
+ /**
1302
+ * The savings plan deduction amount.
1303
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1304
+ * @type {string || null}
1305
+ */
1306
+ this.SPDeduction = null;
1307
+
1308
+ /**
1309
+ * The amount deducted by a savings plan based on the original component cost.
1310
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1311
+ * @type {string || null}
1312
+ */
1313
+ this.OriginalCostWithSP = null;
1314
+
1315
+ /**
1316
+ * The blended discount multiplier that combines the official website discount, reserved instance discount, and savings plan discount. If no reserved instance and savings plan discounts are available, the blended discount multiplier equals the discount multiplier.
1317
+ Note: This field may return `null`, indicating that no valid value can be obtained.
1318
+ * @type {string || null}
1319
+ */
1320
+ this.BlendedDiscount = null;
1321
+
1237
1322
  }
1238
1323
 
1239
1324
  /**
@@ -1262,6 +1347,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
1262
1347
  this.ItemCode = 'ItemCode' in params ? params.ItemCode : null;
1263
1348
  this.ComponentCode = 'ComponentCode' in params ? params.ComponentCode : null;
1264
1349
  this.ContractPrice = 'ContractPrice' in params ? params.ContractPrice : null;
1350
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
1351
+ this.RiTimeSpan = 'RiTimeSpan' in params ? params.RiTimeSpan : null;
1352
+ this.OriginalCostWithRI = 'OriginalCostWithRI' in params ? params.OriginalCostWithRI : null;
1353
+ this.SPDeductionRate = 'SPDeductionRate' in params ? params.SPDeductionRate : null;
1354
+ this.SPDeduction = 'SPDeduction' in params ? params.SPDeduction : null;
1355
+ this.OriginalCostWithSP = 'OriginalCostWithSP' in params ? params.OriginalCostWithSP : null;
1356
+ this.BlendedDiscount = 'BlendedDiscount' in params ? params.BlendedDiscount : null;
1265
1357
 
1266
1358
  }
1267
1359
  }
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.456";
1
+ const sdkVersion = "3.0.457";
2
2
  module.exports = sdkVersion
@@ -16,65 +16,100 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
+ const DescribeAccountPrivilegesResponse = models.DescribeAccountPrivilegesResponse;
20
+ const DescribeDatabasesRequest = models.DescribeDatabasesRequest;
21
+ const CreateAccountResponse = models.CreateAccountResponse;
22
+ const DescribeDBParametersRequest = models.DescribeDBParametersRequest;
23
+ const DescribeAccountsRequest = models.DescribeAccountsRequest;
24
+ const DestroyHourDBInstanceRequest = models.DestroyHourDBInstanceRequest;
25
+ const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
26
+ const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
27
+ const CancelDcnJobResponse = models.CancelDcnJobResponse;
28
+ const DescribeFileDownloadUrlRequest = models.DescribeFileDownloadUrlRequest;
29
+ const DestroyHourDBInstanceResponse = models.DestroyHourDBInstanceResponse;
30
+ const Account = models.Account;
31
+ const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroupsRequest;
32
+ const DescribeDBSlowLogsRequest = models.DescribeDBSlowLogsRequest;
33
+ const CreateAccountRequest = models.CreateAccountRequest;
34
+ const DescribeDBParametersResponse = models.DescribeDBParametersResponse;
35
+ const CloneAccountResponse = models.CloneAccountResponse;
36
+ const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
37
+ const ParamConstraint = models.ParamConstraint;
38
+ const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse;
39
+ const DatabaseView = models.DatabaseView;
19
40
  const DescribeDBLogFilesRequest = models.DescribeDBLogFilesRequest;
20
- const DescribeDcnDetailRequest = models.DescribeDcnDetailRequest;
21
- const DeleteAccountRequest = models.DeleteAccountRequest;
22
- const DescribeFileDownloadUrlResponse = models.DescribeFileDownloadUrlResponse;
23
41
  const NodeInfo = models.NodeInfo;
24
- const CopyAccountPrivilegesRequest = models.CopyAccountPrivilegesRequest;
25
- const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
42
+ const DescribeOrdersResponse = models.DescribeOrdersResponse;
26
43
  const ModifySyncTaskAttributeResponse = models.ModifySyncTaskAttributeResponse;
27
44
  const DcnDetailItem = models.DcnDetailItem;
28
- const LogFileInfo = models.LogFileInfo;
45
+ const ResetAccountPasswordRequest = models.ResetAccountPasswordRequest;
29
46
  const CopyAccountPrivilegesResponse = models.CopyAccountPrivilegesResponse;
30
47
  const CreateHourDBInstanceResponse = models.CreateHourDBInstanceResponse;
31
- const ResetAccountPasswordRequest = models.ResetAccountPasswordRequest;
32
- const DescribeDcnDetailResponse = models.DescribeDcnDetailResponse;
33
- const DescribeInstanceNodeInfoRequest = models.DescribeInstanceNodeInfoRequest;
48
+ const ParamModifyResult = models.ParamModifyResult;
34
49
  const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
35
50
  const DescribeDBSecurityGroupsRequest = models.DescribeDBSecurityGroupsRequest;
36
- const ModifySyncTaskAttributeRequest = models.ModifySyncTaskAttributeRequest;
37
- const AssociateSecurityGroupsRequest = models.AssociateSecurityGroupsRequest;
38
- const CreateAccountResponse = models.CreateAccountResponse;
51
+ const TablePrivilege = models.TablePrivilege;
52
+ const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
53
+ const DatabaseFunction = models.DatabaseFunction;
54
+ const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
55
+ const DescribeDatabaseObjectsRequest = models.DescribeDatabaseObjectsRequest;
56
+ const DatabaseTable = models.DatabaseTable;
57
+ const Deal = models.Deal;
58
+ const GrantAccountPrivilegesRequest = models.GrantAccountPrivilegesRequest;
59
+ const DBParamValue = models.DBParamValue;
60
+ const ModifyDBParametersRequest = models.ModifyDBParametersRequest;
61
+ const DescribeDcnDetailRequest = models.DescribeDcnDetailRequest;
62
+ const DescribeFileDownloadUrlResponse = models.DescribeFileDownloadUrlResponse;
63
+ const ModifyDBParametersResponse = models.ModifyDBParametersResponse;
64
+ const CopyAccountPrivilegesRequest = models.CopyAccountPrivilegesRequest;
65
+ const SecurityGroup = models.SecurityGroup;
66
+ const DescribeDatabaseTableRequest = models.DescribeDatabaseTableRequest;
67
+ const DescribeDatabaseObjectsResponse = models.DescribeDatabaseObjectsResponse;
68
+ const DescribeDcnDetailResponse = models.DescribeDcnDetailResponse;
69
+ const TableColumn = models.TableColumn;
39
70
  const SecurityGroupBound = models.SecurityGroupBound;
40
71
  const ColumnPrivilege = models.ColumnPrivilege;
41
- const GrantAccountPrivilegesResponse = models.GrantAccountPrivilegesResponse;
42
- const DescribeProjectSecurityGroupsResponse = models.DescribeProjectSecurityGroupsResponse;
72
+ const ModifySyncTaskAttributeRequest = models.ModifySyncTaskAttributeRequest;
43
73
  const AssociateSecurityGroupsResponse = models.AssociateSecurityGroupsResponse;
44
- const CancelDcnJobResponse = models.CancelDcnJobResponse;
45
- const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
46
74
  const DBInstance = models.DBInstance;
47
- const DestroyHourDBInstanceResponse = models.DestroyHourDBInstanceResponse;
48
- const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
49
75
  const ModifyAccountPrivilegesResponse = models.ModifyAccountPrivilegesResponse;
50
- const Account = models.Account;
51
- const DescribeProjectSecurityGroupsRequest = models.DescribeProjectSecurityGroupsRequest;
52
- const DescribeDBSecurityGroupsResponse = models.DescribeDBSecurityGroupsResponse;
53
- const ProcedurePrivilege = models.ProcedurePrivilege;
54
- const CreateAccountRequest = models.CreateAccountRequest;
76
+ const Database = models.Database;
77
+ const GrantAccountPrivilegesResponse = models.GrantAccountPrivilegesResponse;
55
78
  const CancelDcnJobRequest = models.CancelDcnJobRequest;
56
- const DestroyHourDBInstanceRequest = models.DestroyHourDBInstanceRequest;
57
- const CreateHourDBInstanceRequest = models.CreateHourDBInstanceRequest;
58
- const SecurityGroup = models.SecurityGroup;
59
- const DescribeFileDownloadUrlRequest = models.DescribeFileDownloadUrlRequest;
60
79
  const DatabasePrivilege = models.DatabasePrivilege;
61
- const ModifyDBInstancesProjectRequest = models.ModifyDBInstancesProjectRequest;
62
80
  const CloseDBExtranetAccessResponse = models.CloseDBExtranetAccessResponse;
63
81
  const FunctionPrivilege = models.FunctionPrivilege;
64
82
  const ModifyAccountDescriptionRequest = models.ModifyAccountDescriptionRequest;
65
- const ModifyAccountDescriptionResponse = models.ModifyAccountDescriptionResponse;
66
- const GrantAccountPrivilegesRequest = models.GrantAccountPrivilegesRequest;
67
- const DescribeInstanceNodeInfoResponse = models.DescribeInstanceNodeInfoResponse;
68
- const TablePrivilege = models.TablePrivilege;
69
- const DBParamValue = models.DBParamValue;
83
+ const SlowLogData = models.SlowLogData;
84
+ const DescribeDatabasesResponse = models.DescribeDatabasesResponse;
70
85
  const ViewPrivileges = models.ViewPrivileges;
71
- const ModifyDBInstancesProjectResponse = models.ModifyDBInstancesProjectResponse;
72
- const DisassociateSecurityGroupsResponse = models.DisassociateSecurityGroupsResponse;
86
+ const DescribeOrdersRequest = models.DescribeOrdersRequest;
73
87
  const DescribeDBLogFilesResponse = models.DescribeDBLogFilesResponse;
74
88
  const CloseDBExtranetAccessRequest = models.CloseDBExtranetAccessRequest;
75
- const ResetAccountPasswordResponse = models.ResetAccountPasswordResponse;
76
- const DeleteAccountResponse = models.DeleteAccountResponse;
77
89
  const ResourceTag = models.ResourceTag;
90
+ const DeleteAccountRequest = models.DeleteAccountRequest;
91
+ const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
92
+ const DatabaseProcedure = models.DatabaseProcedure;
93
+ const ModifyDBSyncModeRequest = models.ModifyDBSyncModeRequest;
94
+ const DescribeInstanceNodeInfoRequest = models.DescribeInstanceNodeInfoRequest;
95
+ const CloneAccountRequest = models.CloneAccountRequest;
96
+ const ParamDesc = models.ParamDesc;
97
+ const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
98
+ const ConstraintRange = models.ConstraintRange;
99
+ const LogFileInfo = models.LogFileInfo;
100
+ const ProcedurePrivilege = models.ProcedurePrivilege;
101
+ const DisassociateSecurityGroupsRequest = models.DisassociateSecurityGroupsRequest;
102
+ const DBAccount = models.DBAccount;
103
+ const CreateHourDBInstanceRequest = models.CreateHourDBInstanceRequest;
104
+ const DescribeDatabaseTableResponse = models.DescribeDatabaseTableResponse;
105
+ const DescribeAccountPrivilegesRequest = models.DescribeAccountPrivilegesRequest;
106
+ const DescribeAccountsResponse = models.DescribeAccountsResponse;
107
+ const DescribeDBSlowLogsResponse = models.DescribeDBSlowLogsResponse;
108
+ const ModifyDBInstancesProjectRequest = models.ModifyDBInstancesProjectRequest;
109
+ const ModifyDBSyncModeResponse = models.ModifyDBSyncModeResponse;
110
+ const DescribeInstanceNodeInfoResponse = models.DescribeInstanceNodeInfoResponse;
111
+ const DisassociateSecurityGroupsResponse = models.DisassociateSecurityGroupsResponse;
112
+ const DeleteAccountResponse = models.DeleteAccountResponse;
78
113
 
79
114
 
80
115
  /**
@@ -87,6 +122,18 @@ class MariadbClient extends AbstractClient {
87
122
  super("mariadb.tencentcloudapi.com", "2017-03-12", credential, region, profile);
88
123
  }
89
124
 
125
+ /**
126
+ * This API is used to query the permissions of a TencentDB account.
127
+ Note: Accounts with the same username but different hosts are different accounts.
128
+ * @param {DescribeAccountPrivilegesRequest} req
129
+ * @param {function(string, DescribeAccountPrivilegesResponse):void} cb
130
+ * @public
131
+ */
132
+ DescribeAccountPrivileges(req, cb) {
133
+ let resp = new DescribeAccountPrivilegesResponse();
134
+ this.request("DescribeAccountPrivileges", req, resp, cb);
135
+ }
136
+
90
137
  /**
91
138
  * This API is used to create pay-as-you-go instances.
92
139
  * @param {CreateHourDBInstanceRequest} req
@@ -99,14 +146,25 @@ class MariadbClient extends AbstractClient {
99
146
  }
100
147
 
101
148
  /**
102
- * This API is used to query the information of primary and replica nodes of an instance.
103
- * @param {DescribeInstanceNodeInfoRequest} req
104
- * @param {function(string, DescribeInstanceNodeInfoResponse):void} cb
149
+ * This API is used to query TencentDB order information. You can pass in an order ID to query the TencentDB instance associated with the order and the corresponding task process ID.
150
+ * @param {DescribeOrdersRequest} req
151
+ * @param {function(string, DescribeOrdersResponse):void} cb
105
152
  * @public
106
153
  */
107
- DescribeInstanceNodeInfo(req, cb) {
108
- let resp = new DescribeInstanceNodeInfoResponse();
109
- this.request("DescribeInstanceNodeInfo", req, resp, cb);
154
+ DescribeOrders(req, cb) {
155
+ let resp = new DescribeOrdersResponse();
156
+ this.request("DescribeOrders", req, resp, cb);
157
+ }
158
+
159
+ /**
160
+ * This API is used to query the list of database objects in a TencentDB instance, including tables, stored procedures, views, and functions.
161
+ * @param {DescribeDatabaseObjectsRequest} req
162
+ * @param {function(string, DescribeDatabaseObjectsResponse):void} cb
163
+ * @public
164
+ */
165
+ DescribeDatabaseObjects(req, cb) {
166
+ let resp = new DescribeDatabaseObjectsResponse();
167
+ this.request("DescribeDatabaseObjects", req, resp, cb);
110
168
  }
111
169
 
112
170
  /**
@@ -145,15 +203,36 @@ Note: accounts with the same username but different hosts are different accounts
145
203
  }
146
204
 
147
205
  /**
148
- * This API is used to grant permissions to a TencentDB account.
149
- Note: accounts with the same username but different hosts are different accounts.
150
- * @param {GrantAccountPrivilegesRequest} req
151
- * @param {function(string, GrantAccountPrivilegesResponse):void} cb
206
+ * This API is used to modify database parameters.
207
+ * @param {ModifyDBParametersRequest} req
208
+ * @param {function(string, ModifyDBParametersResponse):void} cb
152
209
  * @public
153
210
  */
154
- GrantAccountPrivileges(req, cb) {
155
- let resp = new GrantAccountPrivilegesResponse();
156
- this.request("GrantAccountPrivileges", req, resp, cb);
211
+ ModifyDBParameters(req, cb) {
212
+ let resp = new ModifyDBParametersResponse();
213
+ this.request("ModifyDBParameters", req, resp, cb);
214
+ }
215
+
216
+ /**
217
+ * This API is used to query the list of slow query logs.
218
+ * @param {DescribeDBSlowLogsRequest} req
219
+ * @param {function(string, DescribeDBSlowLogsResponse):void} cb
220
+ * @public
221
+ */
222
+ DescribeDBSlowLogs(req, cb) {
223
+ let resp = new DescribeDBSlowLogsResponse();
224
+ this.request("DescribeDBSlowLogs", req, resp, cb);
225
+ }
226
+
227
+ /**
228
+ * This API is used to query the information of primary and replica nodes of an instance.
229
+ * @param {DescribeInstanceNodeInfoRequest} req
230
+ * @param {function(string, DescribeInstanceNodeInfoResponse):void} cb
231
+ * @public
232
+ */
233
+ DescribeInstanceNodeInfo(req, cb) {
234
+ let resp = new DescribeInstanceNodeInfoResponse();
235
+ this.request("DescribeInstanceNodeInfo", req, resp, cb);
157
236
  }
158
237
 
159
238
  /**
@@ -167,6 +246,17 @@ Note: accounts with the same username but different hosts are different accounts
167
246
  this.request("DeleteAccount", req, resp, cb);
168
247
  }
169
248
 
249
+ /**
250
+ * This API is used to get the current parameter settings of a database.
251
+ * @param {DescribeDBParametersRequest} req
252
+ * @param {function(string, DescribeDBParametersResponse):void} cb
253
+ * @public
254
+ */
255
+ DescribeDBParameters(req, cb) {
256
+ let resp = new DescribeDBParametersResponse();
257
+ this.request("DescribeDBParameters", req, resp, cb);
258
+ }
259
+
170
260
  /**
171
261
  * This API is used to modify the project to which TencentDB instances belong.
172
262
  * @param {ModifyDBInstancesProjectRequest} req
@@ -272,6 +362,17 @@ If no filter is specified, 20 instances will be returned by default. Up to 100 i
272
362
  this.request("ModifyAccountPrivileges", req, resp, cb);
273
363
  }
274
364
 
365
+ /**
366
+ * This API is used to modify the sync mode of a TencentDB instance.
367
+ * @param {ModifyDBSyncModeRequest} req
368
+ * @param {function(string, ModifyDBSyncModeResponse):void} cb
369
+ * @public
370
+ */
371
+ ModifyDBSyncMode(req, cb) {
372
+ let resp = new ModifyDBSyncModeResponse();
373
+ this.request("ModifyDBSyncMode", req, resp, cb);
374
+ }
375
+
275
376
  /**
276
377
  * This API is used to disable public network access for a TencentDB instance, which will make the public IP address inaccessible. The `DescribeDCDBInstances` API will not return the public domain name and port information of the corresponding instance.
277
378
  * @param {CloseDBExtranetAccessRequest} req
@@ -283,6 +384,17 @@ If no filter is specified, 20 instances will be returned by default. Up to 100 i
283
384
  this.request("CloseDBExtranetAccess", req, resp, cb);
284
385
  }
285
386
 
387
+ /**
388
+ * This API is used to query the list of accounts of a specified TencentDB instance.
389
+ * @param {DescribeAccountsRequest} req
390
+ * @param {function(string, DescribeAccountsResponse):void} cb
391
+ * @public
392
+ */
393
+ DescribeAccounts(req, cb) {
394
+ let resp = new DescribeAccountsResponse();
395
+ this.request("DescribeAccounts", req, resp, cb);
396
+ }
397
+
286
398
  /**
287
399
  * This API is used to query the disaster recovery details of an instance.
288
400
  * @param {DescribeDcnDetailRequest} req
@@ -294,6 +406,18 @@ If no filter is specified, 20 instances will be returned by default. Up to 100 i
294
406
  this.request("DescribeDcnDetail", req, resp, cb);
295
407
  }
296
408
 
409
+ /**
410
+ * This API is used to grant permissions to a TencentDB account.
411
+ Note: accounts with the same username but different hosts are different accounts.
412
+ * @param {GrantAccountPrivilegesRequest} req
413
+ * @param {function(string, GrantAccountPrivilegesResponse):void} cb
414
+ * @public
415
+ */
416
+ GrantAccountPrivileges(req, cb) {
417
+ let resp = new GrantAccountPrivilegesResponse();
418
+ this.request("GrantAccountPrivileges", req, resp, cb);
419
+ }
420
+
297
421
  /**
298
422
  * This API is used to copy the permissions of a TencentDB account.
299
423
  Note: accounts with the same username but different hosts are different accounts. Permissions can only be copied between accounts with the same `Readonly` attribute.
@@ -306,6 +430,17 @@ Note: accounts with the same username but different hosts are different accounts
306
430
  this.request("CopyAccountPrivileges", req, resp, cb);
307
431
  }
308
432
 
433
+ /**
434
+ * This API is used to query the database list of a TencentDB instance.
435
+ * @param {DescribeDatabasesRequest} req
436
+ * @param {function(string, DescribeDatabasesResponse):void} cb
437
+ * @public
438
+ */
439
+ DescribeDatabases(req, cb) {
440
+ let resp = new DescribeDatabasesResponse();
441
+ this.request("DescribeDatabases", req, resp, cb);
442
+ }
443
+
309
444
  /**
310
445
  * This API is used to query the security group details of an instance.
311
446
  * @param {DescribeDBSecurityGroupsRequest} req
@@ -317,6 +452,17 @@ Note: accounts with the same username but different hosts are different accounts
317
452
  this.request("DescribeDBSecurityGroups", req, resp, cb);
318
453
  }
319
454
 
455
+ /**
456
+ * This API is used to query the table information of a TencentDB instance.
457
+ * @param {DescribeDatabaseTableRequest} req
458
+ * @param {function(string, DescribeDatabaseTableResponse):void} cb
459
+ * @public
460
+ */
461
+ DescribeDatabaseTable(req, cb) {
462
+ let resp = new DescribeDatabaseTableResponse();
463
+ this.request("DescribeDatabaseTable", req, resp, cb);
464
+ }
465
+
320
466
  /**
321
467
  * This API is used to cancel DCN synchronization.
322
468
  * @param {CancelDcnJobRequest} req
@@ -328,6 +474,17 @@ Note: accounts with the same username but different hosts are different accounts
328
474
  this.request("CancelDcnJob", req, resp, cb);
329
475
  }
330
476
 
477
+ /**
478
+ * This API is used to clone an instance account.
479
+ * @param {CloneAccountRequest} req
480
+ * @param {function(string, CloneAccountResponse):void} cb
481
+ * @public
482
+ */
483
+ CloneAccount(req, cb) {
484
+ let resp = new CloneAccountResponse();
485
+ this.request("CloneAccount", req, resp, cb);
486
+ }
487
+
331
488
  /**
332
489
  * This API is used to unassociate security groups from instances in batches.
333
490
  * @param {DisassociateSecurityGroupsRequest} req