tencentcloud-sdk-nodejs-intl-en 3.0.1339 → 3.0.1341
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/index.js +1 -1
- package/tencentcloud/dts/index.js +1 -1
- package/tencentcloud/live/v20180801/live_client.js +13 -0
- package/tencentcloud/live/v20180801/models.js +162 -0
- package/tencentcloud/organization/index.js +1 -1
- package/tencentcloud/postgres/v20170312/models.js +2681 -618
- package/tencentcloud/postgres/v20170312/postgres_client.js +338 -96
- package/tencentcloud/sms/index.js +1 -1
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/teo/v20220901/models.js +3973 -1034
- package/tencentcloud/teo/v20220901/teo_client.js +283 -63
- package/tencentcloud/trtc/v20190722/models.js +16 -16
|
@@ -188,6 +188,80 @@ It's generally not recommended to pass in this parameter. If needed, only the la
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
+
/**
|
|
192
|
+
* Task details.
|
|
193
|
+
* @class
|
|
194
|
+
*/
|
|
195
|
+
class TaskDetail extends AbstractModel {
|
|
196
|
+
constructor(){
|
|
197
|
+
super();
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Current task step name.
|
|
201
|
+
* @type {string || null}
|
|
202
|
+
*/
|
|
203
|
+
this.CurrentStep = null;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the step description of the current task you own.
|
|
207
|
+
* @type {string || null}
|
|
208
|
+
*/
|
|
209
|
+
this.AllSteps = null;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Input of the task.
|
|
213
|
+
* @type {string || null}
|
|
214
|
+
*/
|
|
215
|
+
this.Input = null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Output parameter of the task.
|
|
219
|
+
* @type {string || null}
|
|
220
|
+
*/
|
|
221
|
+
this.Output = null;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Specifies the switch time after instance configurations are modified. default value: 0.
|
|
225
|
+
This task does not require switching.
|
|
226
|
+
Switch immediately.
|
|
227
|
+
2: switch at specified time.
|
|
228
|
+
3: switch during maintenance time window.
|
|
229
|
+
* @type {number || null}
|
|
230
|
+
*/
|
|
231
|
+
this.SwitchTag = null;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Specifies the switch time.
|
|
235
|
+
* @type {string || null}
|
|
236
|
+
*/
|
|
237
|
+
this.SwitchTime = null;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Note of the task.
|
|
241
|
+
* @type {string || null}
|
|
242
|
+
*/
|
|
243
|
+
this.Message = null;
|
|
244
|
+
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @private
|
|
249
|
+
*/
|
|
250
|
+
deserialize(params) {
|
|
251
|
+
if (!params) {
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
this.CurrentStep = 'CurrentStep' in params ? params.CurrentStep : null;
|
|
255
|
+
this.AllSteps = 'AllSteps' in params ? params.AllSteps : null;
|
|
256
|
+
this.Input = 'Input' in params ? params.Input : null;
|
|
257
|
+
this.Output = 'Output' in params ? params.Output : null;
|
|
258
|
+
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
259
|
+
this.SwitchTime = 'SwitchTime' in params ? params.SwitchTime : null;
|
|
260
|
+
this.Message = 'Message' in params ? params.Message : null;
|
|
261
|
+
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
191
265
|
/**
|
|
192
266
|
* SetAutoRenewFlag request structure.
|
|
193
267
|
* @class
|
|
@@ -223,6 +297,77 @@ class SetAutoRenewFlagRequest extends AbstractModel {
|
|
|
223
297
|
}
|
|
224
298
|
}
|
|
225
299
|
|
|
300
|
+
/**
|
|
301
|
+
* DeleteBackupPlan response structure.
|
|
302
|
+
* @class
|
|
303
|
+
*/
|
|
304
|
+
class DeleteBackupPlanResponse extends AbstractModel {
|
|
305
|
+
constructor(){
|
|
306
|
+
super();
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
310
|
+
* @type {string || null}
|
|
311
|
+
*/
|
|
312
|
+
this.RequestId = null;
|
|
313
|
+
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @private
|
|
318
|
+
*/
|
|
319
|
+
deserialize(params) {
|
|
320
|
+
if (!params) {
|
|
321
|
+
return;
|
|
322
|
+
}
|
|
323
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
324
|
+
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* DescribeAccountPrivileges response structure.
|
|
330
|
+
* @class
|
|
331
|
+
*/
|
|
332
|
+
class DescribeAccountPrivilegesResponse extends AbstractModel {
|
|
333
|
+
constructor(){
|
|
334
|
+
super();
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Specifies that the user has CREATE, CONNECT, and TEMPORARY permissions on the database user_database.
|
|
338
|
+
* @type {Array.<DatabasePrivilege> || null}
|
|
339
|
+
*/
|
|
340
|
+
this.PrivilegeSet = null;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
344
|
+
* @type {string || null}
|
|
345
|
+
*/
|
|
346
|
+
this.RequestId = null;
|
|
347
|
+
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* @private
|
|
352
|
+
*/
|
|
353
|
+
deserialize(params) {
|
|
354
|
+
if (!params) {
|
|
355
|
+
return;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
if (params.PrivilegeSet) {
|
|
359
|
+
this.PrivilegeSet = new Array();
|
|
360
|
+
for (let z in params.PrivilegeSet) {
|
|
361
|
+
let obj = new DatabasePrivilege();
|
|
362
|
+
obj.deserialize(params.PrivilegeSet[z]);
|
|
363
|
+
this.PrivilegeSet.push(obj);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
367
|
+
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
226
371
|
/**
|
|
227
372
|
* DescribeDatabases request structure.
|
|
228
373
|
* @class
|
|
@@ -232,7 +377,7 @@ class DescribeDatabasesRequest extends AbstractModel {
|
|
|
232
377
|
super();
|
|
233
378
|
|
|
234
379
|
/**
|
|
235
|
-
* Instance ID
|
|
380
|
+
* Instance ID. obtain through the API [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?from_cn_redirect=1).
|
|
236
381
|
* @type {string || null}
|
|
237
382
|
*/
|
|
238
383
|
this.DBInstanceId = null;
|
|
@@ -250,7 +395,8 @@ class DescribeDatabasesRequest extends AbstractModel {
|
|
|
250
395
|
this.Offset = null;
|
|
251
396
|
|
|
252
397
|
/**
|
|
253
|
-
* Number of items displayed at a time
|
|
398
|
+
* Number of items displayed at a time. the maximum value is recommended to be 100.
|
|
399
|
+
Default value: 20.
|
|
254
400
|
* @type {number || null}
|
|
255
401
|
*/
|
|
256
402
|
this.Limit = null;
|
|
@@ -345,7 +491,7 @@ class CreateReadOnlyGroupNetworkAccessRequest extends AbstractModel {
|
|
|
345
491
|
super();
|
|
346
492
|
|
|
347
493
|
/**
|
|
348
|
-
*
|
|
494
|
+
* ROGroupId specifies the read-only group ID in the format of pgrogrp-4t9c6g7k. it can be obtained through the DescribeReadOnlyGroups api (https://www.tencentcloud.com/document/product/409/39725?lang=en).
|
|
349
495
|
* @type {string || null}
|
|
350
496
|
*/
|
|
351
497
|
this.ReadOnlyGroupId = null;
|
|
@@ -369,7 +515,7 @@ class CreateReadOnlyGroupNetworkAccessRequest extends AbstractModel {
|
|
|
369
515
|
this.IsAssignVip = null;
|
|
370
516
|
|
|
371
517
|
/**
|
|
372
|
-
* Target VIP.
|
|
518
|
+
* Target VIP address. when this parameter is not specified and IsAssignVip is true, the system automatically assigns a VIP by default.
|
|
373
519
|
* @type {string || null}
|
|
374
520
|
*/
|
|
375
521
|
this.Vip = null;
|
|
@@ -401,13 +547,13 @@ class DescribeAccountsRequest extends AbstractModel {
|
|
|
401
547
|
super();
|
|
402
548
|
|
|
403
549
|
/**
|
|
404
|
-
* Instance ID
|
|
550
|
+
* Instance ID, such as postgres-6fego161. can be obtained through the DescribeDBInstances api (https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
405
551
|
* @type {string || null}
|
|
406
552
|
*/
|
|
407
553
|
this.DBInstanceId = null;
|
|
408
554
|
|
|
409
555
|
/**
|
|
410
|
-
*
|
|
556
|
+
* Pagination return. maximum return per page. default 20. value range 1-100.
|
|
411
557
|
* @type {number || null}
|
|
412
558
|
*/
|
|
413
559
|
this.Limit = null;
|
|
@@ -419,13 +565,15 @@ class DescribeAccountsRequest extends AbstractModel {
|
|
|
419
565
|
this.Offset = null;
|
|
420
566
|
|
|
421
567
|
/**
|
|
422
|
-
*
|
|
568
|
+
* Return data is sorted by creation time or username. valid values: createTime, name, updateTime. createTime - sort by creation time; name - sort by username; updateTime - sort by update time.
|
|
569
|
+
Default value: createTime.
|
|
423
570
|
* @type {string || null}
|
|
424
571
|
*/
|
|
425
572
|
this.OrderBy = null;
|
|
426
573
|
|
|
427
574
|
/**
|
|
428
|
-
*
|
|
575
|
+
* Specifies whether the returned results are in ascending or descending order. valid values: desc or asc. desc - descending order; asc - ascending order.
|
|
576
|
+
Default value: desc.
|
|
429
577
|
* @type {string || null}
|
|
430
578
|
*/
|
|
431
579
|
this.OrderByType = null;
|
|
@@ -493,13 +641,14 @@ class OpenDBExtranetAccessRequest extends AbstractModel {
|
|
|
493
641
|
super();
|
|
494
642
|
|
|
495
643
|
/**
|
|
496
|
-
*
|
|
644
|
+
* Specifies the instance ID, such as postgres-hez4fh0v. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
497
645
|
* @type {string || null}
|
|
498
646
|
*/
|
|
499
647
|
this.DBInstanceId = null;
|
|
500
648
|
|
|
501
649
|
/**
|
|
502
|
-
*
|
|
650
|
+
* Specifies whether to enable public network Ipv6. valid values: 1 (yes), 0 (no).
|
|
651
|
+
Default value: 0
|
|
503
652
|
* @type {number || null}
|
|
504
653
|
*/
|
|
505
654
|
this.IsIpv6 = null;
|
|
@@ -967,12 +1116,17 @@ class CreateDBInstanceNetworkAccessResponse extends AbstractModel {
|
|
|
967
1116
|
super();
|
|
968
1117
|
|
|
969
1118
|
/**
|
|
970
|
-
*
|
|
971
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
1119
|
+
* Process ID. FlowId is equivalent to TaskId.
|
|
972
1120
|
* @type {number || null}
|
|
973
1121
|
*/
|
|
974
1122
|
this.FlowId = null;
|
|
975
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* Task ID.
|
|
1126
|
+
* @type {number || null}
|
|
1127
|
+
*/
|
|
1128
|
+
this.TaskId = null;
|
|
1129
|
+
|
|
976
1130
|
/**
|
|
977
1131
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
978
1132
|
* @type {string || null}
|
|
@@ -989,6 +1143,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
989
1143
|
return;
|
|
990
1144
|
}
|
|
991
1145
|
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
1146
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
992
1147
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
993
1148
|
|
|
994
1149
|
}
|
|
@@ -1045,7 +1200,7 @@ class CreateBaseBackupRequest extends AbstractModel {
|
|
|
1045
1200
|
super();
|
|
1046
1201
|
|
|
1047
1202
|
/**
|
|
1048
|
-
* Instance ID
|
|
1203
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
1049
1204
|
* @type {string || null}
|
|
1050
1205
|
*/
|
|
1051
1206
|
this.DBInstanceId = null;
|
|
@@ -1163,30 +1318,30 @@ class ClassInfo extends AbstractModel {
|
|
|
1163
1318
|
}
|
|
1164
1319
|
|
|
1165
1320
|
/**
|
|
1166
|
-
*
|
|
1321
|
+
* DescribeDBInstanceParameters response structure.
|
|
1167
1322
|
* @class
|
|
1168
1323
|
*/
|
|
1169
|
-
class
|
|
1324
|
+
class DescribeDBInstanceParametersResponse extends AbstractModel {
|
|
1170
1325
|
constructor(){
|
|
1171
1326
|
super();
|
|
1172
1327
|
|
|
1173
1328
|
/**
|
|
1174
|
-
*
|
|
1175
|
-
* @type {
|
|
1329
|
+
* Total number of the parameters in the returned list
|
|
1330
|
+
* @type {number || null}
|
|
1176
1331
|
*/
|
|
1177
|
-
this.
|
|
1332
|
+
this.TotalCount = null;
|
|
1178
1333
|
|
|
1179
1334
|
/**
|
|
1180
|
-
*
|
|
1181
|
-
* @type {
|
|
1335
|
+
* Details of the returned parameter list
|
|
1336
|
+
* @type {Array.<ParamInfo> || null}
|
|
1182
1337
|
*/
|
|
1183
|
-
this.
|
|
1338
|
+
this.Detail = null;
|
|
1184
1339
|
|
|
1185
1340
|
/**
|
|
1186
|
-
*
|
|
1341
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1187
1342
|
* @type {string || null}
|
|
1188
1343
|
*/
|
|
1189
|
-
this.
|
|
1344
|
+
this.RequestId = null;
|
|
1190
1345
|
|
|
1191
1346
|
}
|
|
1192
1347
|
|
|
@@ -1197,9 +1352,17 @@ class DescribeCloneDBInstanceSpecRequest extends AbstractModel {
|
|
|
1197
1352
|
if (!params) {
|
|
1198
1353
|
return;
|
|
1199
1354
|
}
|
|
1200
|
-
this.
|
|
1201
|
-
|
|
1202
|
-
|
|
1355
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1356
|
+
|
|
1357
|
+
if (params.Detail) {
|
|
1358
|
+
this.Detail = new Array();
|
|
1359
|
+
for (let z in params.Detail) {
|
|
1360
|
+
let obj = new ParamInfo();
|
|
1361
|
+
obj.deserialize(params.Detail[z]);
|
|
1362
|
+
this.Detail.push(obj);
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1203
1366
|
|
|
1204
1367
|
}
|
|
1205
1368
|
}
|
|
@@ -1324,6 +1487,56 @@ class RestoreDBInstanceObjectsResponse extends AbstractModel {
|
|
|
1324
1487
|
}
|
|
1325
1488
|
}
|
|
1326
1489
|
|
|
1490
|
+
/**
|
|
1491
|
+
* Slow query details
|
|
1492
|
+
* @class
|
|
1493
|
+
*/
|
|
1494
|
+
class SlowlogDetail extends AbstractModel {
|
|
1495
|
+
constructor(){
|
|
1496
|
+
super();
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Total time consumed
|
|
1500
|
+
* @type {number || null}
|
|
1501
|
+
*/
|
|
1502
|
+
this.TotalTime = null;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Total number of calls
|
|
1506
|
+
* @type {number || null}
|
|
1507
|
+
*/
|
|
1508
|
+
this.TotalCalls = null;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* List of slow SQL statements after desensitization
|
|
1512
|
+
* @type {Array.<NormalQueryItem> || null}
|
|
1513
|
+
*/
|
|
1514
|
+
this.NormalQueries = null;
|
|
1515
|
+
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* @private
|
|
1520
|
+
*/
|
|
1521
|
+
deserialize(params) {
|
|
1522
|
+
if (!params) {
|
|
1523
|
+
return;
|
|
1524
|
+
}
|
|
1525
|
+
this.TotalTime = 'TotalTime' in params ? params.TotalTime : null;
|
|
1526
|
+
this.TotalCalls = 'TotalCalls' in params ? params.TotalCalls : null;
|
|
1527
|
+
|
|
1528
|
+
if (params.NormalQueries) {
|
|
1529
|
+
this.NormalQueries = new Array();
|
|
1530
|
+
for (let z in params.NormalQueries) {
|
|
1531
|
+
let obj = new NormalQueryItem();
|
|
1532
|
+
obj.deserialize(params.NormalQueries[z]);
|
|
1533
|
+
this.NormalQueries.push(obj);
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1327
1540
|
/**
|
|
1328
1541
|
* SwitchDBInstancePrimary request structure.
|
|
1329
1542
|
* @class
|
|
@@ -1781,24 +1994,57 @@ class RemoveDBInstanceFromReadOnlyGroupRequest extends AbstractModel {
|
|
|
1781
1994
|
}
|
|
1782
1995
|
|
|
1783
1996
|
/**
|
|
1784
|
-
*
|
|
1997
|
+
* CreateAccount request structure.
|
|
1785
1998
|
* @class
|
|
1786
1999
|
*/
|
|
1787
|
-
class
|
|
2000
|
+
class CreateAccountRequest extends AbstractModel {
|
|
1788
2001
|
constructor(){
|
|
1789
2002
|
super();
|
|
1790
2003
|
|
|
1791
2004
|
/**
|
|
1792
|
-
* Instance ID
|
|
1793
|
-
* @type {
|
|
2005
|
+
* Instance ID. can be obtained through the DescribeDBInstances api (https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
2006
|
+
* @type {string || null}
|
|
1794
2007
|
*/
|
|
1795
|
-
this.
|
|
2008
|
+
this.DBInstanceId = null;
|
|
1796
2009
|
|
|
1797
2010
|
/**
|
|
1798
|
-
* The
|
|
2011
|
+
* The name of the account created. Consists of letters (a-z, A-Z), numbers (0-9), underscores (_), starts with a letter or (_), up to 63 characters. Cannot use system reserved keywords, cannot be postgres, and cannot begin with pg_or tencentdb_
|
|
1799
2012
|
* @type {string || null}
|
|
1800
2013
|
*/
|
|
1801
|
-
this.
|
|
2014
|
+
this.UserName = null;
|
|
2015
|
+
|
|
2016
|
+
/**
|
|
2017
|
+
* Account type. currently supported: normal, tencentDBSuper. normal references a general user, tencentDBSuper is an account that possesses the pg_tencentdb_superuser role.
|
|
2018
|
+
* @type {string || null}
|
|
2019
|
+
*/
|
|
2020
|
+
this.Type = null;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Specifies the corresponding password for the account. the password rules are as follows:.
|
|
2024
|
+
<Li>Specifies a length of 8 to 32 characters. a password of more than 12 characters is recommended.</li>.
|
|
2025
|
+
<Li>Cannot start with "/".</li>.
|
|
2026
|
+
<Li>Specifies the following four items must be included.</li>.
|
|
2027
|
+
|
|
2028
|
+
Valid values: a to z (lowercase letters).
|
|
2029
|
+
Uppercase letters: A - Z.
|
|
2030
|
+
Valid values: 0 - 9.
|
|
2031
|
+
Special symbols: ()`~!@#$%^&*-+=_|{}[]:<>,.?/.
|
|
2032
|
+
|
|
2033
|
+
* @type {string || null}
|
|
2034
|
+
*/
|
|
2035
|
+
this.Password = null;
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* Account remark. only allow english letters, digits, underscore, hyphen, and chinese characters, limited to 60 characters.
|
|
2039
|
+
* @type {string || null}
|
|
2040
|
+
*/
|
|
2041
|
+
this.Remark = null;
|
|
2042
|
+
|
|
2043
|
+
/**
|
|
2044
|
+
* Specifies whether CAM verification is enabled for the account.
|
|
2045
|
+
* @type {boolean || null}
|
|
2046
|
+
*/
|
|
2047
|
+
this.OpenCam = null;
|
|
1802
2048
|
|
|
1803
2049
|
}
|
|
1804
2050
|
|
|
@@ -1809,31 +2055,35 @@ class InitDBInstancesResponse extends AbstractModel {
|
|
|
1809
2055
|
if (!params) {
|
|
1810
2056
|
return;
|
|
1811
2057
|
}
|
|
1812
|
-
this.
|
|
1813
|
-
this.
|
|
2058
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
2059
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
2060
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2061
|
+
this.Password = 'Password' in params ? params.Password : null;
|
|
2062
|
+
this.Remark = 'Remark' in params ? params.Remark : null;
|
|
2063
|
+
this.OpenCam = 'OpenCam' in params ? params.OpenCam : null;
|
|
1814
2064
|
|
|
1815
2065
|
}
|
|
1816
2066
|
}
|
|
1817
2067
|
|
|
1818
2068
|
/**
|
|
1819
|
-
*
|
|
2069
|
+
* InitDBInstances response structure.
|
|
1820
2070
|
* @class
|
|
1821
2071
|
*/
|
|
1822
|
-
class
|
|
2072
|
+
class InitDBInstancesResponse extends AbstractModel {
|
|
1823
2073
|
constructor(){
|
|
1824
2074
|
super();
|
|
1825
2075
|
|
|
1826
2076
|
/**
|
|
1827
|
-
*
|
|
1828
|
-
* @type {string || null}
|
|
2077
|
+
* Instance ID set.
|
|
2078
|
+
* @type {Array.<string> || null}
|
|
1829
2079
|
*/
|
|
1830
|
-
this.
|
|
2080
|
+
this.DBInstanceIdSet = null;
|
|
1831
2081
|
|
|
1832
2082
|
/**
|
|
1833
|
-
*
|
|
2083
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1834
2084
|
* @type {string || null}
|
|
1835
2085
|
*/
|
|
1836
|
-
this.
|
|
2086
|
+
this.RequestId = null;
|
|
1837
2087
|
|
|
1838
2088
|
}
|
|
1839
2089
|
|
|
@@ -1844,12 +2094,196 @@ class DescribeDefaultParametersRequest extends AbstractModel {
|
|
|
1844
2094
|
if (!params) {
|
|
1845
2095
|
return;
|
|
1846
2096
|
}
|
|
1847
|
-
this.
|
|
2097
|
+
this.DBInstanceIdSet = 'DBInstanceIdSet' in params ? params.DBInstanceIdSet : null;
|
|
2098
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2099
|
+
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* DescribeTasks response structure.
|
|
2105
|
+
* @class
|
|
2106
|
+
*/
|
|
2107
|
+
class DescribeTasksResponse extends AbstractModel {
|
|
2108
|
+
constructor(){
|
|
2109
|
+
super();
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Number of queried tasks.
|
|
2113
|
+
* @type {number || null}
|
|
2114
|
+
*/
|
|
2115
|
+
this.TotalCount = null;
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* Task Information List
|
|
2119
|
+
* @type {Array.<TaskSet> || null}
|
|
2120
|
+
*/
|
|
2121
|
+
this.TaskSet = null;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2125
|
+
* @type {string || null}
|
|
2126
|
+
*/
|
|
2127
|
+
this.RequestId = null;
|
|
2128
|
+
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
/**
|
|
2132
|
+
* @private
|
|
2133
|
+
*/
|
|
2134
|
+
deserialize(params) {
|
|
2135
|
+
if (!params) {
|
|
2136
|
+
return;
|
|
2137
|
+
}
|
|
2138
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
2139
|
+
|
|
2140
|
+
if (params.TaskSet) {
|
|
2141
|
+
this.TaskSet = new Array();
|
|
2142
|
+
for (let z in params.TaskSet) {
|
|
2143
|
+
let obj = new TaskSet();
|
|
2144
|
+
obj.deserialize(params.TaskSet[z]);
|
|
2145
|
+
this.TaskSet.push(obj);
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2149
|
+
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* DescribeMaintainTimeWindow response structure.
|
|
2155
|
+
* @class
|
|
2156
|
+
*/
|
|
2157
|
+
class DescribeMaintainTimeWindowResponse extends AbstractModel {
|
|
2158
|
+
constructor(){
|
|
2159
|
+
super();
|
|
2160
|
+
|
|
2161
|
+
/**
|
|
2162
|
+
* Instance ID
|
|
2163
|
+
* @type {string || null}
|
|
2164
|
+
*/
|
|
2165
|
+
this.DBInstanceId = null;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* Maintenance start time. time zone is UTC+8.
|
|
2169
|
+
* @type {string || null}
|
|
2170
|
+
*/
|
|
2171
|
+
this.MaintainStartTime = null;
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
* Maintenance duration. unit: hr.
|
|
2175
|
+
* @type {number || null}
|
|
2176
|
+
*/
|
|
2177
|
+
this.MaintainDuration = null;
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* Specifies the maintenance period.
|
|
2181
|
+
* @type {Array.<string> || null}
|
|
2182
|
+
*/
|
|
2183
|
+
this.MaintainWeekDays = null;
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2187
|
+
* @type {string || null}
|
|
2188
|
+
*/
|
|
2189
|
+
this.RequestId = null;
|
|
2190
|
+
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* @private
|
|
2195
|
+
*/
|
|
2196
|
+
deserialize(params) {
|
|
2197
|
+
if (!params) {
|
|
2198
|
+
return;
|
|
2199
|
+
}
|
|
2200
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
2201
|
+
this.MaintainStartTime = 'MaintainStartTime' in params ? params.MaintainStartTime : null;
|
|
2202
|
+
this.MaintainDuration = 'MaintainDuration' in params ? params.MaintainDuration : null;
|
|
2203
|
+
this.MaintainWeekDays = 'MaintainWeekDays' in params ? params.MaintainWeekDays : null;
|
|
2204
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2205
|
+
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
* DescribeDefaultParameters request structure.
|
|
2211
|
+
* @class
|
|
2212
|
+
*/
|
|
2213
|
+
class DescribeDefaultParametersRequest extends AbstractModel {
|
|
2214
|
+
constructor(){
|
|
2215
|
+
super();
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* The major database version number, such as 11, 12, 13.
|
|
2219
|
+
* @type {string || null}
|
|
2220
|
+
*/
|
|
2221
|
+
this.DBMajorVersion = null;
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* Database engine, such as postgresql, mssql_compatible.
|
|
2225
|
+
* @type {string || null}
|
|
2226
|
+
*/
|
|
2227
|
+
this.DBEngine = null;
|
|
2228
|
+
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
/**
|
|
2232
|
+
* @private
|
|
2233
|
+
*/
|
|
2234
|
+
deserialize(params) {
|
|
2235
|
+
if (!params) {
|
|
2236
|
+
return;
|
|
2237
|
+
}
|
|
2238
|
+
this.DBMajorVersion = 'DBMajorVersion' in params ? params.DBMajorVersion : null;
|
|
1848
2239
|
this.DBEngine = 'DBEngine' in params ? params.DBEngine : null;
|
|
1849
2240
|
|
|
1850
2241
|
}
|
|
1851
2242
|
}
|
|
1852
2243
|
|
|
2244
|
+
/**
|
|
2245
|
+
* DescribeDedicatedClusters response structure.
|
|
2246
|
+
* @class
|
|
2247
|
+
*/
|
|
2248
|
+
class DescribeDedicatedClustersResponse extends AbstractModel {
|
|
2249
|
+
constructor(){
|
|
2250
|
+
super();
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Exclusive cluster information.
|
|
2254
|
+
* @type {Array.<DedicatedCluster> || null}
|
|
2255
|
+
*/
|
|
2256
|
+
this.DedicatedClusterSet = null;
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2260
|
+
* @type {string || null}
|
|
2261
|
+
*/
|
|
2262
|
+
this.RequestId = null;
|
|
2263
|
+
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* @private
|
|
2268
|
+
*/
|
|
2269
|
+
deserialize(params) {
|
|
2270
|
+
if (!params) {
|
|
2271
|
+
return;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
if (params.DedicatedClusterSet) {
|
|
2275
|
+
this.DedicatedClusterSet = new Array();
|
|
2276
|
+
for (let z in params.DedicatedClusterSet) {
|
|
2277
|
+
let obj = new DedicatedCluster();
|
|
2278
|
+
obj.deserialize(params.DedicatedClusterSet[z]);
|
|
2279
|
+
this.DedicatedClusterSet.push(obj);
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2283
|
+
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
|
|
1853
2287
|
/**
|
|
1854
2288
|
* RenewInstance request structure.
|
|
1855
2289
|
* @class
|
|
@@ -2168,7 +2602,7 @@ class BackupDownloadRestriction extends AbstractModel {
|
|
|
2168
2602
|
super();
|
|
2169
2603
|
|
|
2170
2604
|
/**
|
|
2171
|
-
*
|
|
2605
|
+
* Backup file download limit type. valid values: NONE (unlimited, allows download from both private and public networks), INTRANET (only allows private network download), CUSTOMIZE (custom limits for download by vpc or ip). when the parameter value is CUSTOMIZE, at least one item must be filled in for vpc or ip information.
|
|
2172
2606
|
* @type {string || null}
|
|
2173
2607
|
*/
|
|
2174
2608
|
this.RestrictionType = null;
|
|
@@ -2423,24 +2857,51 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
2423
2857
|
}
|
|
2424
2858
|
|
|
2425
2859
|
/**
|
|
2426
|
-
*
|
|
2860
|
+
* CreateDatabase request structure.
|
|
2427
2861
|
* @class
|
|
2428
2862
|
*/
|
|
2429
|
-
class
|
|
2863
|
+
class CreateDatabaseRequest extends AbstractModel {
|
|
2430
2864
|
constructor(){
|
|
2431
2865
|
super();
|
|
2432
2866
|
|
|
2433
2867
|
/**
|
|
2434
|
-
*
|
|
2435
|
-
* @type {
|
|
2868
|
+
* Specifies the instance ID, such as postgres-6fego161. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/api/409/16773?from_cn_redirect=1).
|
|
2869
|
+
* @type {string || null}
|
|
2436
2870
|
*/
|
|
2437
|
-
this.
|
|
2871
|
+
this.DBInstanceId = null;
|
|
2438
2872
|
|
|
2439
2873
|
/**
|
|
2440
|
-
*
|
|
2874
|
+
* Specifies the user-created database name.
|
|
2875
|
+
Name specification: consists of letters (a-z, a-z), digits (0-9), and underscores (_), starting with a letter or underscore (_), up to 63 characters. system reserved keywords cannot be used, and 'postgres' is not allowed.
|
|
2441
2876
|
* @type {string || null}
|
|
2442
2877
|
*/
|
|
2443
|
-
this.
|
|
2878
|
+
this.DatabaseName = null;
|
|
2879
|
+
|
|
2880
|
+
/**
|
|
2881
|
+
* Owner of the database. obtain through the api [DescribeAccounts](https://www.tencentcloud.com/document/api/409/18109?from_cn_redirect=1).
|
|
2882
|
+
* @type {string || null}
|
|
2883
|
+
*/
|
|
2884
|
+
this.DatabaseOwner = null;
|
|
2885
|
+
|
|
2886
|
+
/**
|
|
2887
|
+
* Specifies the character encoding of the database.
|
|
2888
|
+
Supported character sets include UTF8, LATIN1, LATIN2, WIN1250, WIN1251, WIN1252, KOI8R, EUC_JP, and EUC_KR.
|
|
2889
|
+
Default value: UTF8.
|
|
2890
|
+
* @type {string || null}
|
|
2891
|
+
*/
|
|
2892
|
+
this.Encoding = null;
|
|
2893
|
+
|
|
2894
|
+
/**
|
|
2895
|
+
* Specifies the database sorting rule.
|
|
2896
|
+
* @type {string || null}
|
|
2897
|
+
*/
|
|
2898
|
+
this.Collate = null;
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* Specifies the character category of the database.
|
|
2902
|
+
* @type {string || null}
|
|
2903
|
+
*/
|
|
2904
|
+
this.Ctype = null;
|
|
2444
2905
|
|
|
2445
2906
|
}
|
|
2446
2907
|
|
|
@@ -2451,16 +2912,12 @@ class DescribeReadOnlyGroupsResponse extends AbstractModel {
|
|
|
2451
2912
|
if (!params) {
|
|
2452
2913
|
return;
|
|
2453
2914
|
}
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
this.ReadOnlyGroupList.push(obj);
|
|
2461
|
-
}
|
|
2462
|
-
}
|
|
2463
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2915
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
2916
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
2917
|
+
this.DatabaseOwner = 'DatabaseOwner' in params ? params.DatabaseOwner : null;
|
|
2918
|
+
this.Encoding = 'Encoding' in params ? params.Encoding : null;
|
|
2919
|
+
this.Collate = 'Collate' in params ? params.Collate : null;
|
|
2920
|
+
this.Ctype = 'Ctype' in params ? params.Ctype : null;
|
|
2464
2921
|
|
|
2465
2922
|
}
|
|
2466
2923
|
}
|
|
@@ -2694,19 +3151,56 @@ db-instance-ip: Filter by instance VPC IP (in string format).
|
|
|
2694
3151
|
}
|
|
2695
3152
|
|
|
2696
3153
|
/**
|
|
2697
|
-
*
|
|
3154
|
+
* CreateBackupPlan request structure.
|
|
2698
3155
|
* @class
|
|
2699
3156
|
*/
|
|
2700
|
-
class
|
|
3157
|
+
class CreateBackupPlanRequest extends AbstractModel {
|
|
2701
3158
|
constructor(){
|
|
2702
3159
|
super();
|
|
2703
3160
|
|
|
2704
3161
|
/**
|
|
2705
|
-
* Instance ID.
|
|
3162
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
2706
3163
|
* @type {string || null}
|
|
2707
3164
|
*/
|
|
2708
3165
|
this.DBInstanceId = null;
|
|
2709
3166
|
|
|
3167
|
+
/**
|
|
3168
|
+
* Specifies the name of the backup plan.
|
|
3169
|
+
* @type {string || null}
|
|
3170
|
+
*/
|
|
3171
|
+
this.PlanName = null;
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* Specifies the schedule type of the backup created. currently only support month.
|
|
3175
|
+
* @type {string || null}
|
|
3176
|
+
*/
|
|
3177
|
+
this.BackupPeriodType = null;
|
|
3178
|
+
|
|
3179
|
+
/**
|
|
3180
|
+
* Backup date. example: enable backup on the 2nd of every month.
|
|
3181
|
+
* @type {Array.<string> || null}
|
|
3182
|
+
*/
|
|
3183
|
+
this.BackupPeriod = null;
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* Specifies the backup start time. if not passed, it follows the default backup plan.
|
|
3187
|
+
* @type {string || null}
|
|
3188
|
+
*/
|
|
3189
|
+
this.MinBackupStartTime = null;
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* Backup end time. follows the default plan if not specified.
|
|
3193
|
+
* @type {string || null}
|
|
3194
|
+
*/
|
|
3195
|
+
this.MaxBackupStartTime = null;
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
* Specifies the data backup retention duration in days. value range: [0,30000).
|
|
3199
|
+
BackupPeriodType defaults to 7 when set to week and 31 when set to month.
|
|
3200
|
+
* @type {number || null}
|
|
3201
|
+
*/
|
|
3202
|
+
this.BaseBackupRetentionPeriod = null;
|
|
3203
|
+
|
|
2710
3204
|
}
|
|
2711
3205
|
|
|
2712
3206
|
/**
|
|
@@ -2717,6 +3211,12 @@ class DescribeDBInstanceAttributeRequest extends AbstractModel {
|
|
|
2717
3211
|
return;
|
|
2718
3212
|
}
|
|
2719
3213
|
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
3214
|
+
this.PlanName = 'PlanName' in params ? params.PlanName : null;
|
|
3215
|
+
this.BackupPeriodType = 'BackupPeriodType' in params ? params.BackupPeriodType : null;
|
|
3216
|
+
this.BackupPeriod = 'BackupPeriod' in params ? params.BackupPeriod : null;
|
|
3217
|
+
this.MinBackupStartTime = 'MinBackupStartTime' in params ? params.MinBackupStartTime : null;
|
|
3218
|
+
this.MaxBackupStartTime = 'MaxBackupStartTime' in params ? params.MaxBackupStartTime : null;
|
|
3219
|
+
this.BaseBackupRetentionPeriod = 'BaseBackupRetentionPeriod' in params ? params.BaseBackupRetentionPeriod : null;
|
|
2720
3220
|
|
|
2721
3221
|
}
|
|
2722
3222
|
}
|
|
@@ -2791,6 +3291,34 @@ class CreateBaseBackupResponse extends AbstractModel {
|
|
|
2791
3291
|
}
|
|
2792
3292
|
}
|
|
2793
3293
|
|
|
3294
|
+
/**
|
|
3295
|
+
* LockAccount response structure.
|
|
3296
|
+
* @class
|
|
3297
|
+
*/
|
|
3298
|
+
class LockAccountResponse extends AbstractModel {
|
|
3299
|
+
constructor(){
|
|
3300
|
+
super();
|
|
3301
|
+
|
|
3302
|
+
/**
|
|
3303
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3304
|
+
* @type {string || null}
|
|
3305
|
+
*/
|
|
3306
|
+
this.RequestId = null;
|
|
3307
|
+
|
|
3308
|
+
}
|
|
3309
|
+
|
|
3310
|
+
/**
|
|
3311
|
+
* @private
|
|
3312
|
+
*/
|
|
3313
|
+
deserialize(params) {
|
|
3314
|
+
if (!params) {
|
|
3315
|
+
return;
|
|
3316
|
+
}
|
|
3317
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3318
|
+
|
|
3319
|
+
}
|
|
3320
|
+
}
|
|
3321
|
+
|
|
2794
3322
|
/**
|
|
2795
3323
|
* CloneDBInstance response structure.
|
|
2796
3324
|
* @class
|
|
@@ -2918,18 +3446,88 @@ class AddDBInstanceToReadOnlyGroupResponse extends AbstractModel {
|
|
|
2918
3446
|
}
|
|
2919
3447
|
|
|
2920
3448
|
/**
|
|
2921
|
-
*
|
|
3449
|
+
* KMS key information
|
|
2922
3450
|
* @class
|
|
2923
3451
|
*/
|
|
2924
|
-
class
|
|
3452
|
+
class EncryptionKey extends AbstractModel {
|
|
2925
3453
|
constructor(){
|
|
2926
3454
|
super();
|
|
2927
3455
|
|
|
2928
3456
|
/**
|
|
2929
|
-
*
|
|
3457
|
+
* Specifies the KeyId for KMS instance encryption.
|
|
2930
3458
|
* @type {string || null}
|
|
2931
3459
|
*/
|
|
2932
|
-
this.
|
|
3460
|
+
this.KeyId = null;
|
|
3461
|
+
|
|
3462
|
+
/**
|
|
3463
|
+
* Alias name of the KMS instance encryption Key.
|
|
3464
|
+
* @type {string || null}
|
|
3465
|
+
*/
|
|
3466
|
+
this.KeyAlias = null;
|
|
3467
|
+
|
|
3468
|
+
/**
|
|
3469
|
+
* Specifies the ciphertext of the instance encryption key DEK.
|
|
3470
|
+
* @type {string || null}
|
|
3471
|
+
*/
|
|
3472
|
+
this.DEKCipherTextBlob = null;
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Whether the key is enabled. valid values: 1 (enabled), 0 (disabled).
|
|
3476
|
+
* @type {number || null}
|
|
3477
|
+
*/
|
|
3478
|
+
this.IsEnabled = null;
|
|
3479
|
+
|
|
3480
|
+
/**
|
|
3481
|
+
* Specifies the region of the KMS key.
|
|
3482
|
+
* @type {string || null}
|
|
3483
|
+
*/
|
|
3484
|
+
this.KeyRegion = null;
|
|
3485
|
+
|
|
3486
|
+
/**
|
|
3487
|
+
* Creation time of the DEK key.
|
|
3488
|
+
* @type {string || null}
|
|
3489
|
+
*/
|
|
3490
|
+
this.CreateTime = null;
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* Specifies the Id of the KMS service cluster where the key resides. being empty indicates the key is in the default KMS cluster. a non-empty value indicates the key is in the specified KMS service cluster.
|
|
3494
|
+
* @type {string || null}
|
|
3495
|
+
*/
|
|
3496
|
+
this.KMSClusterId = null;
|
|
3497
|
+
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* @private
|
|
3502
|
+
*/
|
|
3503
|
+
deserialize(params) {
|
|
3504
|
+
if (!params) {
|
|
3505
|
+
return;
|
|
3506
|
+
}
|
|
3507
|
+
this.KeyId = 'KeyId' in params ? params.KeyId : null;
|
|
3508
|
+
this.KeyAlias = 'KeyAlias' in params ? params.KeyAlias : null;
|
|
3509
|
+
this.DEKCipherTextBlob = 'DEKCipherTextBlob' in params ? params.DEKCipherTextBlob : null;
|
|
3510
|
+
this.IsEnabled = 'IsEnabled' in params ? params.IsEnabled : null;
|
|
3511
|
+
this.KeyRegion = 'KeyRegion' in params ? params.KeyRegion : null;
|
|
3512
|
+
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
3513
|
+
this.KMSClusterId = 'KMSClusterId' in params ? params.KMSClusterId : null;
|
|
3514
|
+
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3518
|
+
/**
|
|
3519
|
+
* Database data backup information
|
|
3520
|
+
* @class
|
|
3521
|
+
*/
|
|
3522
|
+
class BaseBackup extends AbstractModel {
|
|
3523
|
+
constructor(){
|
|
3524
|
+
super();
|
|
3525
|
+
|
|
3526
|
+
/**
|
|
3527
|
+
* Instance ID
|
|
3528
|
+
* @type {string || null}
|
|
3529
|
+
*/
|
|
3530
|
+
this.DBInstanceId = null;
|
|
2933
3531
|
|
|
2934
3532
|
/**
|
|
2935
3533
|
* Unique ID of a backup file
|
|
@@ -2944,19 +3542,19 @@ class BaseBackup extends AbstractModel {
|
|
|
2944
3542
|
this.Name = null;
|
|
2945
3543
|
|
|
2946
3544
|
/**
|
|
2947
|
-
*
|
|
3545
|
+
* Specifies the backup method: physical - physical backup, logical - logical backup.
|
|
2948
3546
|
* @type {string || null}
|
|
2949
3547
|
*/
|
|
2950
3548
|
this.BackupMethod = null;
|
|
2951
3549
|
|
|
2952
3550
|
/**
|
|
2953
|
-
* Backup mode
|
|
3551
|
+
* Backup mode: automatic - automatic backup, manual - manual backup.
|
|
2954
3552
|
* @type {string || null}
|
|
2955
3553
|
*/
|
|
2956
3554
|
this.BackupMode = null;
|
|
2957
3555
|
|
|
2958
3556
|
/**
|
|
2959
|
-
* Backup task status
|
|
3557
|
+
* Backup task status. valid values: init, running, finished, failed, canceled.
|
|
2960
3558
|
* @type {string || null}
|
|
2961
3559
|
*/
|
|
2962
3560
|
this.State = null;
|
|
@@ -3093,24 +3691,60 @@ class DescribeAvailableRecoveryTimeRequest extends AbstractModel {
|
|
|
3093
3691
|
}
|
|
3094
3692
|
|
|
3095
3693
|
/**
|
|
3096
|
-
*
|
|
3694
|
+
* DescribeTasks request structure.
|
|
3097
3695
|
* @class
|
|
3098
3696
|
*/
|
|
3099
|
-
class
|
|
3697
|
+
class DescribeTasksRequest extends AbstractModel {
|
|
3100
3698
|
constructor(){
|
|
3101
3699
|
super();
|
|
3102
3700
|
|
|
3103
3701
|
/**
|
|
3104
|
-
*
|
|
3702
|
+
* Query by task ID. the FlowId and TaskId returned in other cloud apis are equivalent.
|
|
3703
|
+
* @type {number || null}
|
|
3704
|
+
*/
|
|
3705
|
+
this.TaskId = null;
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
* Query by database instance ID.
|
|
3105
3709
|
* @type {string || null}
|
|
3106
3710
|
*/
|
|
3107
|
-
this.
|
|
3711
|
+
this.DBInstanceId = null;
|
|
3108
3712
|
|
|
3109
3713
|
/**
|
|
3110
|
-
*
|
|
3714
|
+
* Earliest start time of the task, such as 2024-08-23 00:00:00. default shows data within the last 180 days.
|
|
3715
|
+
* @type {string || null}
|
|
3716
|
+
*/
|
|
3717
|
+
this.MinStartTime = null;
|
|
3718
|
+
|
|
3719
|
+
/**
|
|
3720
|
+
* Latest start time of the task, such as 2024-08-23 00:00:00, defaults to the current time.
|
|
3721
|
+
* @type {string || null}
|
|
3722
|
+
*/
|
|
3723
|
+
this.MaxStartTime = null;
|
|
3724
|
+
|
|
3725
|
+
/**
|
|
3726
|
+
* Number of results displayed per page. value range 1-100. default 20.
|
|
3111
3727
|
* @type {number || null}
|
|
3112
3728
|
*/
|
|
3113
|
-
this.
|
|
3729
|
+
this.Limit = null;
|
|
3730
|
+
|
|
3731
|
+
/**
|
|
3732
|
+
* Data offset, starting from 0.
|
|
3733
|
+
* @type {number || null}
|
|
3734
|
+
*/
|
|
3735
|
+
this.Offset = null;
|
|
3736
|
+
|
|
3737
|
+
/**
|
|
3738
|
+
* Sorting field, supports StartTime and EndTime. defaults to StartTime.
|
|
3739
|
+
* @type {string || null}
|
|
3740
|
+
*/
|
|
3741
|
+
this.OrderBy = null;
|
|
3742
|
+
|
|
3743
|
+
/**
|
|
3744
|
+
* Specifies the sorting method, including ascending: `asc` and descending: `desc`. defaults to `desc`.
|
|
3745
|
+
* @type {string || null}
|
|
3746
|
+
*/
|
|
3747
|
+
this.OrderByType = null;
|
|
3114
3748
|
|
|
3115
3749
|
}
|
|
3116
3750
|
|
|
@@ -3121,8 +3755,14 @@ class DurationAnalysis extends AbstractModel {
|
|
|
3121
3755
|
if (!params) {
|
|
3122
3756
|
return;
|
|
3123
3757
|
}
|
|
3124
|
-
this.
|
|
3125
|
-
this.
|
|
3758
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3759
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
3760
|
+
this.MinStartTime = 'MinStartTime' in params ? params.MinStartTime : null;
|
|
3761
|
+
this.MaxStartTime = 'MaxStartTime' in params ? params.MaxStartTime : null;
|
|
3762
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
3763
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
3764
|
+
this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
|
|
3765
|
+
this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
|
|
3126
3766
|
|
|
3127
3767
|
}
|
|
3128
3768
|
}
|
|
@@ -3136,7 +3776,7 @@ class DescribeDBInstanceParametersRequest extends AbstractModel {
|
|
|
3136
3776
|
super();
|
|
3137
3777
|
|
|
3138
3778
|
/**
|
|
3139
|
-
* Instance ID
|
|
3779
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
3140
3780
|
* @type {string || null}
|
|
3141
3781
|
*/
|
|
3142
3782
|
this.DBInstanceId = null;
|
|
@@ -3276,42 +3916,18 @@ class OpenServerlessDBExtranetAccessResponse extends AbstractModel {
|
|
|
3276
3916
|
}
|
|
3277
3917
|
|
|
3278
3918
|
/**
|
|
3279
|
-
*
|
|
3919
|
+
* ModifyMaintainTimeWindow response structure.
|
|
3280
3920
|
* @class
|
|
3281
3921
|
*/
|
|
3282
|
-
class
|
|
3922
|
+
class ModifyMaintainTimeWindowResponse extends AbstractModel {
|
|
3283
3923
|
constructor(){
|
|
3284
3924
|
super();
|
|
3285
3925
|
|
|
3286
3926
|
/**
|
|
3287
|
-
*
|
|
3288
|
-
* @type {string || null}
|
|
3289
|
-
*/
|
|
3290
|
-
this.TemplateId = null;
|
|
3291
|
-
|
|
3292
|
-
/**
|
|
3293
|
-
* Parameter template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this field is empty, the original parameter template name will be used.
|
|
3294
|
-
* @type {string || null}
|
|
3295
|
-
*/
|
|
3296
|
-
this.TemplateName = null;
|
|
3297
|
-
|
|
3298
|
-
/**
|
|
3299
|
-
* Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this parameter is not passed in, the original parameter template description will be used.
|
|
3927
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3300
3928
|
* @type {string || null}
|
|
3301
3929
|
*/
|
|
3302
|
-
this.
|
|
3303
|
-
|
|
3304
|
-
/**
|
|
3305
|
-
* The set of parameters to be modified or added. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
|
|
3306
|
-
* @type {Array.<ParamEntry> || null}
|
|
3307
|
-
*/
|
|
3308
|
-
this.ModifyParamEntrySet = null;
|
|
3309
|
-
|
|
3310
|
-
/**
|
|
3311
|
-
* The set of parameters to be deleted in the template. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
|
|
3312
|
-
* @type {Array.<string> || null}
|
|
3313
|
-
*/
|
|
3314
|
-
this.DeleteParamSet = null;
|
|
3930
|
+
this.RequestId = null;
|
|
3315
3931
|
|
|
3316
3932
|
}
|
|
3317
3933
|
|
|
@@ -3322,19 +3938,7 @@ class ModifyParameterTemplateRequest extends AbstractModel {
|
|
|
3322
3938
|
if (!params) {
|
|
3323
3939
|
return;
|
|
3324
3940
|
}
|
|
3325
|
-
this.
|
|
3326
|
-
this.TemplateName = 'TemplateName' in params ? params.TemplateName : null;
|
|
3327
|
-
this.TemplateDescription = 'TemplateDescription' in params ? params.TemplateDescription : null;
|
|
3328
|
-
|
|
3329
|
-
if (params.ModifyParamEntrySet) {
|
|
3330
|
-
this.ModifyParamEntrySet = new Array();
|
|
3331
|
-
for (let z in params.ModifyParamEntrySet) {
|
|
3332
|
-
let obj = new ParamEntry();
|
|
3333
|
-
obj.deserialize(params.ModifyParamEntrySet[z]);
|
|
3334
|
-
this.ModifyParamEntrySet.push(obj);
|
|
3335
|
-
}
|
|
3336
|
-
}
|
|
3337
|
-
this.DeleteParamSet = 'DeleteParamSet' in params ? params.DeleteParamSet : null;
|
|
3941
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3338
3942
|
|
|
3339
3943
|
}
|
|
3340
3944
|
}
|
|
@@ -3348,13 +3952,13 @@ class InquiryPriceCreateDBInstancesResponse extends AbstractModel {
|
|
|
3348
3952
|
super();
|
|
3349
3953
|
|
|
3350
3954
|
/**
|
|
3351
|
-
*
|
|
3955
|
+
* <p>List price, in cents.</p>
|
|
3352
3956
|
* @type {number || null}
|
|
3353
3957
|
*/
|
|
3354
3958
|
this.OriginalPrice = null;
|
|
3355
3959
|
|
|
3356
3960
|
/**
|
|
3357
|
-
*
|
|
3961
|
+
* <p>Actual payment amount after discount, in cents.</p>
|
|
3358
3962
|
* @type {number || null}
|
|
3359
3963
|
*/
|
|
3360
3964
|
this.Price = null;
|
|
@@ -3472,7 +4076,7 @@ class CreateDBInstanceNetworkAccessRequest extends AbstractModel {
|
|
|
3472
4076
|
super();
|
|
3473
4077
|
|
|
3474
4078
|
/**
|
|
3475
|
-
*
|
|
4079
|
+
* Specifies the instance ID, such as postgres-6bwgamo3. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773).
|
|
3476
4080
|
* @type {string || null}
|
|
3477
4081
|
*/
|
|
3478
4082
|
this.DBInstanceId = null;
|
|
@@ -3496,7 +4100,7 @@ class CreateDBInstanceNetworkAccessRequest extends AbstractModel {
|
|
|
3496
4100
|
this.IsAssignVip = null;
|
|
3497
4101
|
|
|
3498
4102
|
/**
|
|
3499
|
-
* Target VIP.
|
|
4103
|
+
* Target VIP address. when this parameter is not specified and IsAssignVip is true, the system automatically assigns a VIP by default.
|
|
3500
4104
|
* @type {string || null}
|
|
3501
4105
|
*/
|
|
3502
4106
|
this.Vip = null;
|
|
@@ -3547,6 +4151,88 @@ class ModifySwitchTimePeriodResponse extends AbstractModel {
|
|
|
3547
4151
|
}
|
|
3548
4152
|
}
|
|
3549
4153
|
|
|
4154
|
+
/**
|
|
4155
|
+
* Task list information
|
|
4156
|
+
* @class
|
|
4157
|
+
*/
|
|
4158
|
+
class TaskSet extends AbstractModel {
|
|
4159
|
+
constructor(){
|
|
4160
|
+
super();
|
|
4161
|
+
|
|
4162
|
+
/**
|
|
4163
|
+
* Task ID.
|
|
4164
|
+
* @type {number || null}
|
|
4165
|
+
*/
|
|
4166
|
+
this.TaskId = null;
|
|
4167
|
+
|
|
4168
|
+
/**
|
|
4169
|
+
* Specifies the task type.
|
|
4170
|
+
* @type {string || null}
|
|
4171
|
+
*/
|
|
4172
|
+
this.TaskType = null;
|
|
4173
|
+
|
|
4174
|
+
/**
|
|
4175
|
+
* Specifies the instance ID of the task instance.
|
|
4176
|
+
* @type {string || null}
|
|
4177
|
+
*/
|
|
4178
|
+
this.DBInstanceId = null;
|
|
4179
|
+
|
|
4180
|
+
/**
|
|
4181
|
+
* Start time of the task.
|
|
4182
|
+
* @type {string || null}
|
|
4183
|
+
*/
|
|
4184
|
+
this.StartTime = null;
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* Task end time.
|
|
4188
|
+
* @type {string || null}
|
|
4189
|
+
*/
|
|
4190
|
+
this.EndTime = null;
|
|
4191
|
+
|
|
4192
|
+
/**
|
|
4193
|
+
* Specifies the task Running status, including Running, Success, WaitSwitch, Fail, Pause.
|
|
4194
|
+
* @type {string || null}
|
|
4195
|
+
*/
|
|
4196
|
+
this.Status = null;
|
|
4197
|
+
|
|
4198
|
+
/**
|
|
4199
|
+
* Indicates the progress of task execution, with a value range of 0-100.
|
|
4200
|
+
* @type {number || null}
|
|
4201
|
+
*/
|
|
4202
|
+
this.Progress = null;
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* Specifies the task details.
|
|
4206
|
+
* @type {TaskDetail || null}
|
|
4207
|
+
*/
|
|
4208
|
+
this.TaskDetail = null;
|
|
4209
|
+
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
/**
|
|
4213
|
+
* @private
|
|
4214
|
+
*/
|
|
4215
|
+
deserialize(params) {
|
|
4216
|
+
if (!params) {
|
|
4217
|
+
return;
|
|
4218
|
+
}
|
|
4219
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
4220
|
+
this.TaskType = 'TaskType' in params ? params.TaskType : null;
|
|
4221
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
4222
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
4223
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
4224
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
4225
|
+
this.Progress = 'Progress' in params ? params.Progress : null;
|
|
4226
|
+
|
|
4227
|
+
if (params.TaskDetail) {
|
|
4228
|
+
let obj = new TaskDetail();
|
|
4229
|
+
obj.deserialize(params.TaskDetail)
|
|
4230
|
+
this.TaskDetail = obj;
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
}
|
|
4234
|
+
}
|
|
4235
|
+
|
|
3550
4236
|
/**
|
|
3551
4237
|
* InquiryPriceCreateDBInstances request structure.
|
|
3552
4238
|
* @class
|
|
@@ -3556,61 +4242,65 @@ class InquiryPriceCreateDBInstancesRequest extends AbstractModel {
|
|
|
3556
4242
|
super();
|
|
3557
4243
|
|
|
3558
4244
|
/**
|
|
3559
|
-
*
|
|
4245
|
+
* <p>Availability zone name. The value of this parameter can be obtained from the returned Zone field of the <a href="https://www.tencentcloud.com/document/product/409/16769?from_cn_redirect=1">DescribeZones</a> API.</p>
|
|
3560
4246
|
* @type {string || null}
|
|
3561
4247
|
*/
|
|
3562
4248
|
this.Zone = null;
|
|
3563
4249
|
|
|
3564
4250
|
/**
|
|
3565
|
-
* Specification ID
|
|
4251
|
+
* <p>Specification ID. The value of this parameter can be obtained from the returned SpecCode field of the <a href="https://www.tencentcloud.com/document/product/409/89019?from_cn_redirect=1">DescribeClasses</a> API.</p>
|
|
3566
4252
|
* @type {string || null}
|
|
3567
4253
|
*/
|
|
3568
4254
|
this.SpecCode = null;
|
|
3569
4255
|
|
|
3570
4256
|
/**
|
|
3571
|
-
* Storage capacity
|
|
4257
|
+
* <p>Storage capacity, in GB. The value for this parameter must be set in increments of 10.</p>
|
|
3572
4258
|
* @type {number || null}
|
|
3573
4259
|
*/
|
|
3574
4260
|
this.Storage = null;
|
|
3575
4261
|
|
|
3576
4262
|
/**
|
|
3577
|
-
*
|
|
4263
|
+
* <p>Instance quantity. The maximum allowed quantity is no more than 100. If you need to create more instances at a time, please contact customer service.</p>
|
|
3578
4264
|
* @type {number || null}
|
|
3579
4265
|
*/
|
|
3580
4266
|
this.InstanceCount = null;
|
|
3581
4267
|
|
|
3582
4268
|
/**
|
|
3583
|
-
*
|
|
4269
|
+
* <p>Purchased duration, in months. Only 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, and 36 are supported.</p>
|
|
3584
4270
|
* @type {number || null}
|
|
3585
4271
|
*/
|
|
3586
4272
|
this.Period = null;
|
|
3587
4273
|
|
|
3588
4274
|
/**
|
|
3589
|
-
* [
|
|
4275
|
+
* <p>[Deprecated and no longer effective] Billing ID. The value of this parameter can be obtained from the returned Pid field of the DescribeProductConfig API.</p>
|
|
3590
4276
|
* @type {number || null}
|
|
3591
4277
|
*/
|
|
3592
4278
|
this.Pid = null;
|
|
3593
4279
|
|
|
3594
4280
|
/**
|
|
3595
|
-
* Instance billing type. Valid
|
|
4281
|
+
* <p>Instance billing type. Valid values: PREPAID (prepaid, also known as yearly/monthly subscription) and POSTPAID (pay-as-you-go).<br>Default value: PREPAID.</p>
|
|
3596
4282
|
* @type {string || null}
|
|
3597
4283
|
*/
|
|
3598
4284
|
this.InstanceChargeType = null;
|
|
3599
4285
|
|
|
3600
4286
|
/**
|
|
3601
|
-
* Instance type.
|
|
3602
|
-
`primary` (dual-server high-availability, one-primary-one-standby)
|
|
3603
|
-
`readonly` (read-only instance)
|
|
4287
|
+
* <p>Instance type. The default value is primary. Valid values:<br>primary (dual-server high availability (one primary and one standby)).<br>readonly (read-only instance).</p>
|
|
3604
4288
|
* @type {string || null}
|
|
3605
4289
|
*/
|
|
3606
4290
|
this.InstanceType = null;
|
|
3607
4291
|
|
|
3608
4292
|
/**
|
|
3609
|
-
* <p>
|
|
4293
|
+
* <p>Database engine. The default value is postgresql. Valid values:<br>postgresql (TencentDB for PostgreSQL).<br>mssql_compatible (MSSQL compatible - TencentDB for PostgreSQL).</p>
|
|
3610
4294
|
* @type {string || null}
|
|
3611
4295
|
*/
|
|
3612
4296
|
this.DBEngine = null;
|
|
3613
4297
|
|
|
4298
|
+
/**
|
|
4299
|
+
* <p>Instance storage type. Valid values: PHYSICAL_LOCAL_SSD: local SSD of physical machine. CLOUD_PREMIUM: Premium Disk. CLOUD_SSD: Cloud SSD. CLOUD_HSSD: Enhanced SSD.</p>
|
|
4300
|
+
* @type {string || null}
|
|
4301
|
+
*/
|
|
4302
|
+
this.StorageType = null;
|
|
4303
|
+
|
|
3614
4304
|
}
|
|
3615
4305
|
|
|
3616
4306
|
/**
|
|
@@ -3629,6 +4319,7 @@ class InquiryPriceCreateDBInstancesRequest extends AbstractModel {
|
|
|
3629
4319
|
this.InstanceChargeType = 'InstanceChargeType' in params ? params.InstanceChargeType : null;
|
|
3630
4320
|
this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
|
|
3631
4321
|
this.DBEngine = 'DBEngine' in params ? params.DBEngine : null;
|
|
4322
|
+
this.StorageType = 'StorageType' in params ? params.StorageType : null;
|
|
3632
4323
|
|
|
3633
4324
|
}
|
|
3634
4325
|
}
|
|
@@ -4327,18 +5018,36 @@ Note: This field may return `null`, indicating that no valid value was found.
|
|
|
4327
5018
|
}
|
|
4328
5019
|
|
|
4329
5020
|
/**
|
|
4330
|
-
*
|
|
5021
|
+
* ModifyMaintainTimeWindow request structure.
|
|
4331
5022
|
* @class
|
|
4332
5023
|
*/
|
|
4333
|
-
class
|
|
5024
|
+
class ModifyMaintainTimeWindowRequest extends AbstractModel {
|
|
4334
5025
|
constructor(){
|
|
4335
5026
|
super();
|
|
4336
5027
|
|
|
4337
5028
|
/**
|
|
4338
|
-
*
|
|
5029
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
4339
5030
|
* @type {string || null}
|
|
4340
5031
|
*/
|
|
4341
|
-
this.
|
|
5032
|
+
this.DBInstanceId = null;
|
|
5033
|
+
|
|
5034
|
+
/**
|
|
5035
|
+
* Maintenance start time. time zone is UTC+8.
|
|
5036
|
+
* @type {string || null}
|
|
5037
|
+
*/
|
|
5038
|
+
this.MaintainStartTime = null;
|
|
5039
|
+
|
|
5040
|
+
/**
|
|
5041
|
+
* Maintenance duration. unit: hr. value range: [1,4].
|
|
5042
|
+
* @type {number || null}
|
|
5043
|
+
*/
|
|
5044
|
+
this.MaintainDuration = null;
|
|
5045
|
+
|
|
5046
|
+
/**
|
|
5047
|
+
* Specifies the maintenance period.
|
|
5048
|
+
* @type {Array.<string> || null}
|
|
5049
|
+
*/
|
|
5050
|
+
this.MaintainWeekDays = null;
|
|
4342
5051
|
|
|
4343
5052
|
}
|
|
4344
5053
|
|
|
@@ -4349,57 +5058,82 @@ class ModifyBackupDownloadRestrictionResponse extends AbstractModel {
|
|
|
4349
5058
|
if (!params) {
|
|
4350
5059
|
return;
|
|
4351
5060
|
}
|
|
4352
|
-
this.
|
|
5061
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
5062
|
+
this.MaintainStartTime = 'MaintainStartTime' in params ? params.MaintainStartTime : null;
|
|
5063
|
+
this.MaintainDuration = 'MaintainDuration' in params ? params.MaintainDuration : null;
|
|
5064
|
+
this.MaintainWeekDays = 'MaintainWeekDays' in params ? params.MaintainWeekDays : null;
|
|
4353
5065
|
|
|
4354
5066
|
}
|
|
4355
5067
|
}
|
|
4356
5068
|
|
|
4357
5069
|
/**
|
|
4358
|
-
*
|
|
5070
|
+
* ModifyBackupDownloadRestriction response structure.
|
|
4359
5071
|
* @class
|
|
4360
5072
|
*/
|
|
4361
|
-
class
|
|
5073
|
+
class ModifyBackupDownloadRestrictionResponse extends AbstractModel {
|
|
4362
5074
|
constructor(){
|
|
4363
5075
|
super();
|
|
4364
5076
|
|
|
4365
5077
|
/**
|
|
4366
|
-
*
|
|
4367
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5078
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4368
5079
|
* @type {string || null}
|
|
4369
5080
|
*/
|
|
4370
|
-
this.
|
|
5081
|
+
this.RequestId = null;
|
|
4371
5082
|
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
5083
|
+
}
|
|
5084
|
+
|
|
5085
|
+
/**
|
|
5086
|
+
* @private
|
|
5087
|
+
*/
|
|
5088
|
+
deserialize(params) {
|
|
5089
|
+
if (!params) {
|
|
5090
|
+
return;
|
|
5091
|
+
}
|
|
5092
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5093
|
+
|
|
5094
|
+
}
|
|
5095
|
+
}
|
|
5096
|
+
|
|
5097
|
+
/**
|
|
5098
|
+
* Parameter information for each version
|
|
5099
|
+
* @class
|
|
5100
|
+
*/
|
|
5101
|
+
class ParamVersionRelation extends AbstractModel {
|
|
5102
|
+
constructor(){
|
|
5103
|
+
super();
|
|
5104
|
+
|
|
5105
|
+
/**
|
|
5106
|
+
* Parameter name.
|
|
5107
|
+
* @type {string || null}
|
|
5108
|
+
*/
|
|
5109
|
+
this.Name = null;
|
|
5110
|
+
|
|
5111
|
+
/**
|
|
5112
|
+
* Parameter information belonging to kernel version.
|
|
5113
|
+
* @type {string || null}
|
|
4376
5114
|
*/
|
|
4377
5115
|
this.DBKernelVersion = null;
|
|
4378
5116
|
|
|
4379
5117
|
/**
|
|
4380
|
-
* Default
|
|
4381
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5118
|
+
* Default value of the parameter for this version and specification.
|
|
4382
5119
|
* @type {string || null}
|
|
4383
5120
|
*/
|
|
4384
5121
|
this.Value = null;
|
|
4385
5122
|
|
|
4386
5123
|
/**
|
|
4387
|
-
*
|
|
4388
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5124
|
+
* Parameter value unit. returns null if the parameter has no units.
|
|
4389
5125
|
* @type {string || null}
|
|
4390
5126
|
*/
|
|
4391
5127
|
this.Unit = null;
|
|
4392
5128
|
|
|
4393
5129
|
/**
|
|
4394
|
-
*
|
|
4395
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5130
|
+
* Numerical type (integer, real) parameter specifies the upper bound.
|
|
4396
5131
|
* @type {number || null}
|
|
4397
5132
|
*/
|
|
4398
5133
|
this.Max = null;
|
|
4399
5134
|
|
|
4400
5135
|
/**
|
|
4401
|
-
*
|
|
4402
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5136
|
+
* Specifies the numerical type (integer, real) parameter and its lower bound.
|
|
4403
5137
|
* @type {number || null}
|
|
4404
5138
|
*/
|
|
4405
5139
|
this.Min = null;
|
|
@@ -4547,6 +5281,53 @@ class SetAutoRenewFlagResponse extends AbstractModel {
|
|
|
4547
5281
|
}
|
|
4548
5282
|
}
|
|
4549
5283
|
|
|
5284
|
+
/**
|
|
5285
|
+
* Specifies the permissions for modifying a database object, including the data structure of the database object description, the list of permissions required for modification, and the modification type.
|
|
5286
|
+
* @class
|
|
5287
|
+
*/
|
|
5288
|
+
class ModifyPrivilege extends AbstractModel {
|
|
5289
|
+
constructor(){
|
|
5290
|
+
super();
|
|
5291
|
+
|
|
5292
|
+
/**
|
|
5293
|
+
* Specifies the database object and permission list to be modified.
|
|
5294
|
+
* @type {DatabasePrivilege || null}
|
|
5295
|
+
*/
|
|
5296
|
+
this.DatabasePrivilege = null;
|
|
5297
|
+
|
|
5298
|
+
/**
|
|
5299
|
+
* Modifies via grantObject, revokeObject, or alterRole. grantObject represents authorization, revokeObject represents withdraw, alterRole represents modify account type.
|
|
5300
|
+
* @type {string || null}
|
|
5301
|
+
*/
|
|
5302
|
+
this.ModifyType = null;
|
|
5303
|
+
|
|
5304
|
+
/**
|
|
5305
|
+
* This parameter is required only when ModifyType is revokeObject. when set to true, the permission will be revoked with cascading effect. default false.
|
|
5306
|
+
* @type {boolean || null}
|
|
5307
|
+
*/
|
|
5308
|
+
this.IsCascade = null;
|
|
5309
|
+
|
|
5310
|
+
}
|
|
5311
|
+
|
|
5312
|
+
/**
|
|
5313
|
+
* @private
|
|
5314
|
+
*/
|
|
5315
|
+
deserialize(params) {
|
|
5316
|
+
if (!params) {
|
|
5317
|
+
return;
|
|
5318
|
+
}
|
|
5319
|
+
|
|
5320
|
+
if (params.DatabasePrivilege) {
|
|
5321
|
+
let obj = new DatabasePrivilege();
|
|
5322
|
+
obj.deserialize(params.DatabasePrivilege)
|
|
5323
|
+
this.DatabasePrivilege = obj;
|
|
5324
|
+
}
|
|
5325
|
+
this.ModifyType = 'ModifyType' in params ? params.ModifyType : null;
|
|
5326
|
+
this.IsCascade = 'IsCascade' in params ? params.IsCascade : null;
|
|
5327
|
+
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
|
|
4550
5331
|
/**
|
|
4551
5332
|
* Network information. (This parameter structure has been deprecated. Please use `DBInstanceNetInfo` to query network information.)
|
|
4552
5333
|
* @class
|
|
@@ -4624,6 +5405,34 @@ class NetworkAccess extends AbstractModel {
|
|
|
4624
5405
|
}
|
|
4625
5406
|
}
|
|
4626
5407
|
|
|
5408
|
+
/**
|
|
5409
|
+
* DescribeDBInstanceAttribute request structure.
|
|
5410
|
+
* @class
|
|
5411
|
+
*/
|
|
5412
|
+
class DescribeDBInstanceAttributeRequest extends AbstractModel {
|
|
5413
|
+
constructor(){
|
|
5414
|
+
super();
|
|
5415
|
+
|
|
5416
|
+
/**
|
|
5417
|
+
* Instance ID. can be obtained through the DescribeDBInstances api (https://www.tencentcloud.comom/document/api/409/16773?from_cn_redirect=1).
|
|
5418
|
+
* @type {string || null}
|
|
5419
|
+
*/
|
|
5420
|
+
this.DBInstanceId = null;
|
|
5421
|
+
|
|
5422
|
+
}
|
|
5423
|
+
|
|
5424
|
+
/**
|
|
5425
|
+
* @private
|
|
5426
|
+
*/
|
|
5427
|
+
deserialize(params) {
|
|
5428
|
+
if (!params) {
|
|
5429
|
+
return;
|
|
5430
|
+
}
|
|
5431
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
5432
|
+
|
|
5433
|
+
}
|
|
5434
|
+
}
|
|
5435
|
+
|
|
4627
5436
|
/**
|
|
4628
5437
|
* ResetAccountPassword response structure.
|
|
4629
5438
|
* @class
|
|
@@ -4688,24 +5497,48 @@ class RemoveDBInstanceFromReadOnlyGroupResponse extends AbstractModel {
|
|
|
4688
5497
|
}
|
|
4689
5498
|
|
|
4690
5499
|
/**
|
|
4691
|
-
*
|
|
5500
|
+
* The list of slow query details returned by the `DescribeSlowQueryList` API
|
|
4692
5501
|
* @class
|
|
4693
5502
|
*/
|
|
4694
|
-
class
|
|
5503
|
+
class RawSlowQuery extends AbstractModel {
|
|
4695
5504
|
constructor(){
|
|
4696
5505
|
super();
|
|
4697
5506
|
|
|
4698
5507
|
/**
|
|
4699
|
-
*
|
|
5508
|
+
* Slow query statement
|
|
5509
|
+
* @type {string || null}
|
|
5510
|
+
*/
|
|
5511
|
+
this.RawQuery = null;
|
|
5512
|
+
|
|
5513
|
+
/**
|
|
5514
|
+
* The database queried by the slow query statement
|
|
5515
|
+
* @type {string || null}
|
|
5516
|
+
*/
|
|
5517
|
+
this.DatabaseName = null;
|
|
5518
|
+
|
|
5519
|
+
/**
|
|
5520
|
+
* The execution time of the slow query statement
|
|
4700
5521
|
* @type {number || null}
|
|
4701
5522
|
*/
|
|
4702
|
-
this.
|
|
5523
|
+
this.Duration = null;
|
|
4703
5524
|
|
|
4704
5525
|
/**
|
|
4705
|
-
* The
|
|
5526
|
+
* The client that executes the slow query statement
|
|
4706
5527
|
* @type {string || null}
|
|
4707
5528
|
*/
|
|
4708
|
-
this.
|
|
5529
|
+
this.ClientAddr = null;
|
|
5530
|
+
|
|
5531
|
+
/**
|
|
5532
|
+
* The name of the user who executes the slow query statement
|
|
5533
|
+
* @type {string || null}
|
|
5534
|
+
*/
|
|
5535
|
+
this.UserName = null;
|
|
5536
|
+
|
|
5537
|
+
/**
|
|
5538
|
+
* The time when the slow query statement starts to execute
|
|
5539
|
+
* @type {string || null}
|
|
5540
|
+
*/
|
|
5541
|
+
this.SessionStartTime = null;
|
|
4709
5542
|
|
|
4710
5543
|
}
|
|
4711
5544
|
|
|
@@ -4716,8 +5549,82 @@ class ModifyDBInstancesProjectResponse extends AbstractModel {
|
|
|
4716
5549
|
if (!params) {
|
|
4717
5550
|
return;
|
|
4718
5551
|
}
|
|
4719
|
-
this.
|
|
4720
|
-
this.
|
|
5552
|
+
this.RawQuery = 'RawQuery' in params ? params.RawQuery : null;
|
|
5553
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
5554
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
5555
|
+
this.ClientAddr = 'ClientAddr' in params ? params.ClientAddr : null;
|
|
5556
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
5557
|
+
this.SessionStartTime = 'SessionStartTime' in params ? params.SessionStartTime : null;
|
|
5558
|
+
|
|
5559
|
+
}
|
|
5560
|
+
}
|
|
5561
|
+
|
|
5562
|
+
/**
|
|
5563
|
+
* DescribeDatabaseObjects request structure.
|
|
5564
|
+
* @class
|
|
5565
|
+
*/
|
|
5566
|
+
class DescribeDatabaseObjectsRequest extends AbstractModel {
|
|
5567
|
+
constructor(){
|
|
5568
|
+
super();
|
|
5569
|
+
|
|
5570
|
+
/**
|
|
5571
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/api/409/16773?from_cn_redirect=1).
|
|
5572
|
+
* @type {string || null}
|
|
5573
|
+
*/
|
|
5574
|
+
this.DBInstanceId = null;
|
|
5575
|
+
|
|
5576
|
+
/**
|
|
5577
|
+
* Specifies the object type for querying. supported objects: database, schema, sequence, procedure, type, function, table, view, matview, column.
|
|
5578
|
+
* @type {string || null}
|
|
5579
|
+
*/
|
|
5580
|
+
this.ObjectType = null;
|
|
5581
|
+
|
|
5582
|
+
/**
|
|
5583
|
+
* Number of items displayed at a time. default 20. value range 0-100.
|
|
5584
|
+
* @type {number || null}
|
|
5585
|
+
*/
|
|
5586
|
+
this.Limit = null;
|
|
5587
|
+
|
|
5588
|
+
/**
|
|
5589
|
+
* Data offset, starting from 0.
|
|
5590
|
+
* @type {number || null}
|
|
5591
|
+
*/
|
|
5592
|
+
this.Offset = null;
|
|
5593
|
+
|
|
5594
|
+
/**
|
|
5595
|
+
* Describes the database the query object belongs to. this parameter is required when the query object type is not database.
|
|
5596
|
+
* @type {string || null}
|
|
5597
|
+
*/
|
|
5598
|
+
this.DatabaseName = null;
|
|
5599
|
+
|
|
5600
|
+
/**
|
|
5601
|
+
* Specifies the mode belonging to the query object. this parameter is required when the query object type is not database or schema.
|
|
5602
|
+
* @type {string || null}
|
|
5603
|
+
*/
|
|
5604
|
+
this.SchemaName = null;
|
|
5605
|
+
|
|
5606
|
+
/**
|
|
5607
|
+
* Specifies the table belonging to the query object. this parameter is required when the query object type is column.
|
|
5608
|
+
* @type {string || null}
|
|
5609
|
+
*/
|
|
5610
|
+
this.TableName = null;
|
|
5611
|
+
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5614
|
+
/**
|
|
5615
|
+
* @private
|
|
5616
|
+
*/
|
|
5617
|
+
deserialize(params) {
|
|
5618
|
+
if (!params) {
|
|
5619
|
+
return;
|
|
5620
|
+
}
|
|
5621
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
5622
|
+
this.ObjectType = 'ObjectType' in params ? params.ObjectType : null;
|
|
5623
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
5624
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
5625
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
5626
|
+
this.SchemaName = 'SchemaName' in params ? params.SchemaName : null;
|
|
5627
|
+
this.TableName = 'TableName' in params ? params.TableName : null;
|
|
4721
5628
|
|
|
4722
5629
|
}
|
|
4723
5630
|
}
|
|
@@ -4781,43 +5688,37 @@ class ParamSpecRelation extends AbstractModel {
|
|
|
4781
5688
|
super();
|
|
4782
5689
|
|
|
4783
5690
|
/**
|
|
4784
|
-
* Parameter name
|
|
4785
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5691
|
+
* Parameter name.
|
|
4786
5692
|
* @type {string || null}
|
|
4787
5693
|
*/
|
|
4788
5694
|
this.Name = null;
|
|
4789
5695
|
|
|
4790
5696
|
/**
|
|
4791
|
-
*
|
|
4792
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5697
|
+
* Parameter information belonging to specification.
|
|
4793
5698
|
* @type {string || null}
|
|
4794
5699
|
*/
|
|
4795
5700
|
this.Memory = null;
|
|
4796
5701
|
|
|
4797
5702
|
/**
|
|
4798
|
-
*
|
|
4799
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5703
|
+
* Default value of the parameter for this specification.
|
|
4800
5704
|
* @type {string || null}
|
|
4801
5705
|
*/
|
|
4802
5706
|
this.Value = null;
|
|
4803
5707
|
|
|
4804
5708
|
/**
|
|
4805
|
-
*
|
|
4806
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5709
|
+
* Parameter value unit. returns null if the parameter has no units.
|
|
4807
5710
|
* @type {string || null}
|
|
4808
5711
|
*/
|
|
4809
5712
|
this.Unit = null;
|
|
4810
5713
|
|
|
4811
5714
|
/**
|
|
4812
|
-
*
|
|
4813
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5715
|
+
* Numerical type (integer, real) parameter specifies the upper bound.
|
|
4814
5716
|
* @type {number || null}
|
|
4815
5717
|
*/
|
|
4816
5718
|
this.Max = null;
|
|
4817
5719
|
|
|
4818
5720
|
/**
|
|
4819
|
-
*
|
|
4820
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5721
|
+
* Specifies the numerical type (integer, real) parameter and its lower bound.
|
|
4821
5722
|
* @type {number || null}
|
|
4822
5723
|
*/
|
|
4823
5724
|
this.Min = null;
|
|
@@ -4850,18 +5751,42 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4850
5751
|
}
|
|
4851
5752
|
|
|
4852
5753
|
/**
|
|
4853
|
-
*
|
|
5754
|
+
* Describes the type of a certain object in the database, and the database, mode, and table of the object.
|
|
4854
5755
|
* @class
|
|
4855
5756
|
*/
|
|
4856
|
-
class
|
|
5757
|
+
class DatabaseObject extends AbstractModel {
|
|
4857
5758
|
constructor(){
|
|
4858
5759
|
super();
|
|
4859
5760
|
|
|
4860
5761
|
/**
|
|
4861
|
-
*
|
|
5762
|
+
* Specifies the supported object types in the database: account, database, schema, sequence, procedure, type, function, table, view, matview, column.
|
|
4862
5763
|
* @type {string || null}
|
|
4863
5764
|
*/
|
|
4864
|
-
this.
|
|
5765
|
+
this.ObjectType = null;
|
|
5766
|
+
|
|
5767
|
+
/**
|
|
5768
|
+
* Specifies the database object name.
|
|
5769
|
+
* @type {string || null}
|
|
5770
|
+
*/
|
|
5771
|
+
this.ObjectName = null;
|
|
5772
|
+
|
|
5773
|
+
/**
|
|
5774
|
+
* Describes the database object and the database name it belongs to. this parameter is required when the description object type is not database.
|
|
5775
|
+
* @type {string || null}
|
|
5776
|
+
*/
|
|
5777
|
+
this.DatabaseName = null;
|
|
5778
|
+
|
|
5779
|
+
/**
|
|
5780
|
+
* Specifies the schema name of the database object to describe. this parameter is required when the description object is not database or schema.
|
|
5781
|
+
* @type {string || null}
|
|
5782
|
+
*/
|
|
5783
|
+
this.SchemaName = null;
|
|
5784
|
+
|
|
5785
|
+
/**
|
|
5786
|
+
* Specifies the database object to describe and the table name it belongs to. this parameter is required when the object type is column.
|
|
5787
|
+
* @type {string || null}
|
|
5788
|
+
*/
|
|
5789
|
+
this.TableName = null;
|
|
4865
5790
|
|
|
4866
5791
|
}
|
|
4867
5792
|
|
|
@@ -4872,16 +5797,20 @@ class SwitchDBInstancePrimaryResponse extends AbstractModel {
|
|
|
4872
5797
|
if (!params) {
|
|
4873
5798
|
return;
|
|
4874
5799
|
}
|
|
4875
|
-
this.
|
|
5800
|
+
this.ObjectType = 'ObjectType' in params ? params.ObjectType : null;
|
|
5801
|
+
this.ObjectName = 'ObjectName' in params ? params.ObjectName : null;
|
|
5802
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
5803
|
+
this.SchemaName = 'SchemaName' in params ? params.SchemaName : null;
|
|
5804
|
+
this.TableName = 'TableName' in params ? params.TableName : null;
|
|
4876
5805
|
|
|
4877
5806
|
}
|
|
4878
5807
|
}
|
|
4879
5808
|
|
|
4880
5809
|
/**
|
|
4881
|
-
*
|
|
5810
|
+
* UpgradeDBInstanceKernelVersion request structure.
|
|
4882
5811
|
* @class
|
|
4883
5812
|
*/
|
|
4884
|
-
class
|
|
5813
|
+
class UpgradeDBInstanceKernelVersionRequest extends AbstractModel {
|
|
4885
5814
|
constructor(){
|
|
4886
5815
|
super();
|
|
4887
5816
|
|
|
@@ -4892,37 +5821,164 @@ class ModifyDBInstanceHAConfigRequest extends AbstractModel {
|
|
|
4892
5821
|
this.DBInstanceId = null;
|
|
4893
5822
|
|
|
4894
5823
|
/**
|
|
4895
|
-
*
|
|
4896
|
-
<li>`Semi-sync`
|
|
4897
|
-
<li>`Async`
|
|
5824
|
+
* Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field in the returned value of the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
|
|
4898
5825
|
|
|
4899
5826
|
* @type {string || null}
|
|
4900
5827
|
*/
|
|
4901
|
-
this.
|
|
5828
|
+
this.TargetDBKernelVersion = null;
|
|
4902
5829
|
|
|
4903
5830
|
/**
|
|
4904
|
-
*
|
|
4905
|
-
<li
|
|
4906
|
-
<li
|
|
5831
|
+
* Switch time after the kernel version upgrade for the specified instance. Valid values:
|
|
5832
|
+
<li>`0`: Switch now.
|
|
5833
|
+
<li>`1`: Switch at the specified time.
|
|
5834
|
+
<li>`2`: Switch in the maintenance time.
|
|
5835
|
+
Default value: `0`.
|
|
4907
5836
|
* @type {number || null}
|
|
4908
5837
|
*/
|
|
4909
|
-
this.
|
|
5838
|
+
this.SwitchTag = null;
|
|
4910
5839
|
|
|
4911
5840
|
/**
|
|
4912
|
-
*
|
|
4913
|
-
|
|
4914
|
-
<li>Value range: 5-10
|
|
4915
|
-
* @type {number || null}
|
|
5841
|
+
* Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is `0` or `2`, this parameter is invalid.
|
|
5842
|
+
* @type {string || null}
|
|
4916
5843
|
*/
|
|
4917
|
-
this.
|
|
5844
|
+
this.SwitchStartTime = null;
|
|
4918
5845
|
|
|
4919
5846
|
/**
|
|
4920
|
-
*
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
5847
|
+
* Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is `0` or `2`, this parameter is invalid. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.
|
|
5848
|
+
* @type {string || null}
|
|
5849
|
+
*/
|
|
5850
|
+
this.SwitchEndTime = null;
|
|
5851
|
+
|
|
5852
|
+
/**
|
|
5853
|
+
* Whether to perform a pre-check on the current operation of upgrading the instance kernel version. Valid values:
|
|
5854
|
+
u200c<li>u200c`true`: Performs a pre-check without upgrading the kernel version. Check items include request parameters, kernel version compatibility, and instance parameters.
|
|
5855
|
+
u200cu200c<li>`false`: Sends a normal request and upgrades the kernel version directly after the check is passed.
|
|
5856
|
+
Default value: `false`.
|
|
5857
|
+
* @type {boolean || null}
|
|
5858
|
+
*/
|
|
5859
|
+
this.DryRun = null;
|
|
5860
|
+
|
|
5861
|
+
}
|
|
5862
|
+
|
|
5863
|
+
/**
|
|
5864
|
+
* @private
|
|
5865
|
+
*/
|
|
5866
|
+
deserialize(params) {
|
|
5867
|
+
if (!params) {
|
|
5868
|
+
return;
|
|
5869
|
+
}
|
|
5870
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
5871
|
+
this.TargetDBKernelVersion = 'TargetDBKernelVersion' in params ? params.TargetDBKernelVersion : null;
|
|
5872
|
+
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
5873
|
+
this.SwitchStartTime = 'SwitchStartTime' in params ? params.SwitchStartTime : null;
|
|
5874
|
+
this.SwitchEndTime = 'SwitchEndTime' in params ? params.SwitchEndTime : null;
|
|
5875
|
+
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
5876
|
+
|
|
5877
|
+
}
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5880
|
+
/**
|
|
5881
|
+
* SwitchDBInstancePrimary response structure.
|
|
5882
|
+
* @class
|
|
5883
|
+
*/
|
|
5884
|
+
class SwitchDBInstancePrimaryResponse extends AbstractModel {
|
|
5885
|
+
constructor(){
|
|
5886
|
+
super();
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5890
|
+
* @type {string || null}
|
|
5891
|
+
*/
|
|
5892
|
+
this.RequestId = null;
|
|
5893
|
+
|
|
5894
|
+
}
|
|
5895
|
+
|
|
5896
|
+
/**
|
|
5897
|
+
* @private
|
|
5898
|
+
*/
|
|
5899
|
+
deserialize(params) {
|
|
5900
|
+
if (!params) {
|
|
5901
|
+
return;
|
|
5902
|
+
}
|
|
5903
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5904
|
+
|
|
5905
|
+
}
|
|
5906
|
+
}
|
|
5907
|
+
|
|
5908
|
+
/**
|
|
5909
|
+
* ModifyReadOnlyDBInstanceWeight response structure.
|
|
5910
|
+
* @class
|
|
5911
|
+
*/
|
|
5912
|
+
class ModifyReadOnlyDBInstanceWeightResponse extends AbstractModel {
|
|
5913
|
+
constructor(){
|
|
5914
|
+
super();
|
|
5915
|
+
|
|
5916
|
+
/**
|
|
5917
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5918
|
+
* @type {string || null}
|
|
5919
|
+
*/
|
|
5920
|
+
this.RequestId = null;
|
|
5921
|
+
|
|
5922
|
+
}
|
|
5923
|
+
|
|
5924
|
+
/**
|
|
5925
|
+
* @private
|
|
5926
|
+
*/
|
|
5927
|
+
deserialize(params) {
|
|
5928
|
+
if (!params) {
|
|
5929
|
+
return;
|
|
5930
|
+
}
|
|
5931
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
5932
|
+
|
|
5933
|
+
}
|
|
5934
|
+
}
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* ModifyDBInstanceHAConfig request structure.
|
|
5938
|
+
* @class
|
|
5939
|
+
*/
|
|
5940
|
+
class ModifyDBInstanceHAConfigRequest extends AbstractModel {
|
|
5941
|
+
constructor(){
|
|
5942
|
+
super();
|
|
5943
|
+
|
|
5944
|
+
/**
|
|
5945
|
+
* Instance ID
|
|
5946
|
+
* @type {string || null}
|
|
5947
|
+
*/
|
|
5948
|
+
this.DBInstanceId = null;
|
|
5949
|
+
|
|
5950
|
+
/**
|
|
5951
|
+
* Primary-standby sync mode. Valid values:
|
|
5952
|
+
<li>`Semi-sync`
|
|
5953
|
+
<li>`Async`
|
|
5954
|
+
|
|
5955
|
+
* @type {string || null}
|
|
5956
|
+
*/
|
|
5957
|
+
this.SyncMode = null;
|
|
5958
|
+
|
|
5959
|
+
/**
|
|
5960
|
+
* Maximum data lag for high-availability standby server. The standby node can be promoted to the primary node when its data lag and the delay time are both less than the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
|
|
5961
|
+
<li>Unit: byte
|
|
5962
|
+
<li>Value range: 1073741824-322122547200
|
|
5963
|
+
* @type {number || null}
|
|
5964
|
+
*/
|
|
5965
|
+
this.MaxStandbyLatency = null;
|
|
5966
|
+
|
|
5967
|
+
/**
|
|
5968
|
+
* The maximum delay for high-availability standby server The standby node can be promoted to the primary node when its data lag and the delay time are both less or equals to the value of `MaxStandbyLatency` and `MaxStandbyLag` respectively.
|
|
5969
|
+
<li>Unit: s
|
|
5970
|
+
<li>Value range: 5-10
|
|
5971
|
+
* @type {number || null}
|
|
5972
|
+
*/
|
|
5973
|
+
this.MaxStandbyLag = null;
|
|
5974
|
+
|
|
5975
|
+
/**
|
|
5976
|
+
* Maximum data sync lag for standby server. If data lag of the standby node and the delay ime are both less than or equals to the values of `MaxSyncStandbyLatency` and `MaxSyncStandbyLag`, the standby server adopts semi-sync replication; if not, it adopts async replication.
|
|
5977
|
+
This value is only valid for the instance with `SyncMode` set to `Semi-sync`.
|
|
5978
|
+
When the semi-sync replication mode of the instance is not allowed to downgrade to async replication, `MaxSyncStandbyLatency` and `MaxSyncStandbyLag` are not required.
|
|
5979
|
+
When the semi-sync instance is allowed to downgrade to async replication, `MaxSyncStandbyLatency` is required and `MaxSyncStandbyLag` must be left empty for PostgreSQL 9; `MaxSyncStandbyLatency` and MaxSyncStandbyLag` are required for PostgreSQL 10 and later.
|
|
5980
|
+
* @type {number || null}
|
|
5981
|
+
*/
|
|
4926
5982
|
this.MaxSyncStandbyLatency = null;
|
|
4927
5983
|
|
|
4928
5984
|
/**
|
|
@@ -5052,6 +6108,34 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
5052
6108
|
}
|
|
5053
6109
|
}
|
|
5054
6110
|
|
|
6111
|
+
/**
|
|
6112
|
+
* DescribeMaintainTimeWindow request structure.
|
|
6113
|
+
* @class
|
|
6114
|
+
*/
|
|
6115
|
+
class DescribeMaintainTimeWindowRequest extends AbstractModel {
|
|
6116
|
+
constructor(){
|
|
6117
|
+
super();
|
|
6118
|
+
|
|
6119
|
+
/**
|
|
6120
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
6121
|
+
* @type {string || null}
|
|
6122
|
+
*/
|
|
6123
|
+
this.DBInstanceId = null;
|
|
6124
|
+
|
|
6125
|
+
}
|
|
6126
|
+
|
|
6127
|
+
/**
|
|
6128
|
+
* @private
|
|
6129
|
+
*/
|
|
6130
|
+
deserialize(params) {
|
|
6131
|
+
if (!params) {
|
|
6132
|
+
return;
|
|
6133
|
+
}
|
|
6134
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
6135
|
+
|
|
6136
|
+
}
|
|
6137
|
+
}
|
|
6138
|
+
|
|
5055
6139
|
/**
|
|
5056
6140
|
* DescribeBackupSummaries response structure.
|
|
5057
6141
|
* @class
|
|
@@ -5111,7 +6195,7 @@ class DescribeDBErrlogsRequest extends AbstractModel {
|
|
|
5111
6195
|
super();
|
|
5112
6196
|
|
|
5113
6197
|
/**
|
|
5114
|
-
* Instance ID
|
|
6198
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
5115
6199
|
* @type {string || null}
|
|
5116
6200
|
*/
|
|
5117
6201
|
this.DBInstanceId = null;
|
|
@@ -5279,33 +6363,59 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5279
6363
|
}
|
|
5280
6364
|
|
|
5281
6365
|
/**
|
|
5282
|
-
*
|
|
6366
|
+
* ModifyDBInstancesProject response structure.
|
|
5283
6367
|
* @class
|
|
5284
6368
|
*/
|
|
5285
|
-
class
|
|
6369
|
+
class ModifyDBInstancesProjectResponse extends AbstractModel {
|
|
5286
6370
|
constructor(){
|
|
5287
6371
|
super();
|
|
5288
6372
|
|
|
5289
6373
|
/**
|
|
5290
|
-
*
|
|
5291
|
-
|
|
6374
|
+
* Number of successfully transferred instances
|
|
6375
|
+
* @type {number || null}
|
|
6376
|
+
*/
|
|
6377
|
+
this.Count = null;
|
|
6378
|
+
|
|
6379
|
+
/**
|
|
6380
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
5292
6381
|
* @type {string || null}
|
|
5293
6382
|
*/
|
|
5294
|
-
this.
|
|
6383
|
+
this.RequestId = null;
|
|
6384
|
+
|
|
6385
|
+
}
|
|
6386
|
+
|
|
6387
|
+
/**
|
|
6388
|
+
* @private
|
|
6389
|
+
*/
|
|
6390
|
+
deserialize(params) {
|
|
6391
|
+
if (!params) {
|
|
6392
|
+
return;
|
|
6393
|
+
}
|
|
6394
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
6395
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6396
|
+
|
|
6397
|
+
}
|
|
6398
|
+
}
|
|
6399
|
+
|
|
6400
|
+
/**
|
|
6401
|
+
* DeleteBackupPlan request structure.
|
|
6402
|
+
* @class
|
|
6403
|
+
*/
|
|
6404
|
+
class DeleteBackupPlanRequest extends AbstractModel {
|
|
6405
|
+
constructor(){
|
|
6406
|
+
super();
|
|
5295
6407
|
|
|
5296
6408
|
/**
|
|
5297
|
-
*
|
|
5298
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6409
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
5299
6410
|
* @type {string || null}
|
|
5300
6411
|
*/
|
|
5301
|
-
this.
|
|
6412
|
+
this.DBInstanceId = null;
|
|
5302
6413
|
|
|
5303
6414
|
/**
|
|
5304
|
-
*
|
|
5305
|
-
|
|
5306
|
-
* @type {number || null}
|
|
6415
|
+
* Backup plan ID. obtain through the api [DescribeBackupPlans](https://www.tencentcloud.com/document/product/409/45151?lang=en).
|
|
6416
|
+
* @type {string || null}
|
|
5307
6417
|
*/
|
|
5308
|
-
this.
|
|
6418
|
+
this.PlanId = null;
|
|
5309
6419
|
|
|
5310
6420
|
}
|
|
5311
6421
|
|
|
@@ -5316,9 +6426,8 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5316
6426
|
if (!params) {
|
|
5317
6427
|
return;
|
|
5318
6428
|
}
|
|
5319
|
-
this.
|
|
5320
|
-
this.
|
|
5321
|
-
this.DBConnLimit = 'DBConnLimit' in params ? params.DBConnLimit : null;
|
|
6429
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
6430
|
+
this.PlanId = 'PlanId' in params ? params.PlanId : null;
|
|
5322
6431
|
|
|
5323
6432
|
}
|
|
5324
6433
|
}
|
|
@@ -5607,7 +6716,7 @@ class DescribeParamsEventRequest extends AbstractModel {
|
|
|
5607
6716
|
super();
|
|
5608
6717
|
|
|
5609
6718
|
/**
|
|
5610
|
-
* Instance ID
|
|
6719
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
5611
6720
|
* @type {string || null}
|
|
5612
6721
|
*/
|
|
5613
6722
|
this.DBInstanceId = null;
|
|
@@ -5635,57 +6744,49 @@ class EventInfo extends AbstractModel {
|
|
|
5635
6744
|
super();
|
|
5636
6745
|
|
|
5637
6746
|
/**
|
|
5638
|
-
* Parameter name
|
|
5639
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6747
|
+
* Parameter name.
|
|
5640
6748
|
* @type {string || null}
|
|
5641
6749
|
*/
|
|
5642
6750
|
this.ParamName = null;
|
|
5643
6751
|
|
|
5644
6752
|
/**
|
|
5645
|
-
* Original parameter value
|
|
5646
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6753
|
+
* Original parameter value.
|
|
5647
6754
|
* @type {string || null}
|
|
5648
6755
|
*/
|
|
5649
6756
|
this.OldValue = null;
|
|
5650
6757
|
|
|
5651
6758
|
/**
|
|
5652
|
-
*
|
|
5653
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6759
|
+
* This modification specifies the expected parameter value.
|
|
5654
6760
|
* @type {string || null}
|
|
5655
6761
|
*/
|
|
5656
6762
|
this.NewValue = null;
|
|
5657
6763
|
|
|
5658
6764
|
/**
|
|
5659
|
-
*
|
|
5660
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6765
|
+
* Specifies the start time for backend parameter modification.
|
|
5661
6766
|
* @type {string || null}
|
|
5662
6767
|
*/
|
|
5663
6768
|
this.ModifyTime = null;
|
|
5664
6769
|
|
|
5665
6770
|
/**
|
|
5666
|
-
*
|
|
5667
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6771
|
+
* Specifies the start of effective time for the backend parameter.
|
|
5668
6772
|
* @type {string || null}
|
|
5669
6773
|
*/
|
|
5670
6774
|
this.EffectiveTime = null;
|
|
5671
6775
|
|
|
5672
6776
|
/**
|
|
5673
|
-
* Modification status
|
|
5674
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6777
|
+
* Modification status. valid values: in progress, success, paused.
|
|
5675
6778
|
* @type {string || null}
|
|
5676
6779
|
*/
|
|
5677
6780
|
this.State = null;
|
|
5678
6781
|
|
|
5679
6782
|
/**
|
|
5680
|
-
* Operator (
|
|
5681
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6783
|
+
* Operator (normal: user sub UIN).
|
|
5682
6784
|
* @type {string || null}
|
|
5683
6785
|
*/
|
|
5684
6786
|
this.Operator = null;
|
|
5685
6787
|
|
|
5686
6788
|
/**
|
|
5687
|
-
*
|
|
5688
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6789
|
+
* Time log.
|
|
5689
6790
|
* @type {string || null}
|
|
5690
6791
|
*/
|
|
5691
6792
|
this.EventLog = null;
|
|
@@ -6422,6 +7523,41 @@ class CreateReadOnlyGroupRequest extends AbstractModel {
|
|
|
6422
7523
|
}
|
|
6423
7524
|
}
|
|
6424
7525
|
|
|
7526
|
+
/**
|
|
7527
|
+
* ModifyDBInstanceSSLConfig response structure.
|
|
7528
|
+
* @class
|
|
7529
|
+
*/
|
|
7530
|
+
class ModifyDBInstanceSSLConfigResponse extends AbstractModel {
|
|
7531
|
+
constructor(){
|
|
7532
|
+
super();
|
|
7533
|
+
|
|
7534
|
+
/**
|
|
7535
|
+
* Task ID
|
|
7536
|
+
* @type {number || null}
|
|
7537
|
+
*/
|
|
7538
|
+
this.TaskId = null;
|
|
7539
|
+
|
|
7540
|
+
/**
|
|
7541
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7542
|
+
* @type {string || null}
|
|
7543
|
+
*/
|
|
7544
|
+
this.RequestId = null;
|
|
7545
|
+
|
|
7546
|
+
}
|
|
7547
|
+
|
|
7548
|
+
/**
|
|
7549
|
+
* @private
|
|
7550
|
+
*/
|
|
7551
|
+
deserialize(params) {
|
|
7552
|
+
if (!params) {
|
|
7553
|
+
return;
|
|
7554
|
+
}
|
|
7555
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
7556
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7557
|
+
|
|
7558
|
+
}
|
|
7559
|
+
}
|
|
7560
|
+
|
|
6425
7561
|
/**
|
|
6426
7562
|
* DescribeParamsEvent response structure.
|
|
6427
7563
|
* @class
|
|
@@ -6517,18 +7653,19 @@ Information of security groups can be obtained from the `sgld` field in the retu
|
|
|
6517
7653
|
}
|
|
6518
7654
|
|
|
6519
7655
|
/**
|
|
6520
|
-
*
|
|
7656
|
+
* DescribeDedicatedClusters request structure.
|
|
6521
7657
|
* @class
|
|
6522
7658
|
*/
|
|
6523
|
-
class
|
|
7659
|
+
class DescribeDedicatedClustersRequest extends AbstractModel {
|
|
6524
7660
|
constructor(){
|
|
6525
7661
|
super();
|
|
6526
7662
|
|
|
6527
7663
|
/**
|
|
6528
|
-
*
|
|
6529
|
-
|
|
7664
|
+
* Query using one or more filter criteria. filter criteria currently supported include:.
|
|
7665
|
+
dedicated-cluster-id: filters by dedicated cluster id. string type.
|
|
7666
|
+
* @type {Array.<Filter> || null}
|
|
6530
7667
|
*/
|
|
6531
|
-
this.
|
|
7668
|
+
this.Filters = null;
|
|
6532
7669
|
|
|
6533
7670
|
}
|
|
6534
7671
|
|
|
@@ -6539,7 +7676,43 @@ class CloseServerlessDBExtranetAccessResponse extends AbstractModel {
|
|
|
6539
7676
|
if (!params) {
|
|
6540
7677
|
return;
|
|
6541
7678
|
}
|
|
6542
|
-
|
|
7679
|
+
|
|
7680
|
+
if (params.Filters) {
|
|
7681
|
+
this.Filters = new Array();
|
|
7682
|
+
for (let z in params.Filters) {
|
|
7683
|
+
let obj = new Filter();
|
|
7684
|
+
obj.deserialize(params.Filters[z]);
|
|
7685
|
+
this.Filters.push(obj);
|
|
7686
|
+
}
|
|
7687
|
+
}
|
|
7688
|
+
|
|
7689
|
+
}
|
|
7690
|
+
}
|
|
7691
|
+
|
|
7692
|
+
/**
|
|
7693
|
+
* CloseServerlessDBExtranetAccess response structure.
|
|
7694
|
+
* @class
|
|
7695
|
+
*/
|
|
7696
|
+
class CloseServerlessDBExtranetAccessResponse extends AbstractModel {
|
|
7697
|
+
constructor(){
|
|
7698
|
+
super();
|
|
7699
|
+
|
|
7700
|
+
/**
|
|
7701
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7702
|
+
* @type {string || null}
|
|
7703
|
+
*/
|
|
7704
|
+
this.RequestId = null;
|
|
7705
|
+
|
|
7706
|
+
}
|
|
7707
|
+
|
|
7708
|
+
/**
|
|
7709
|
+
* @private
|
|
7710
|
+
*/
|
|
7711
|
+
deserialize(params) {
|
|
7712
|
+
if (!params) {
|
|
7713
|
+
return;
|
|
7714
|
+
}
|
|
7715
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
6543
7716
|
|
|
6544
7717
|
}
|
|
6545
7718
|
}
|
|
@@ -6553,22 +7726,19 @@ class EventItem extends AbstractModel {
|
|
|
6553
7726
|
super();
|
|
6554
7727
|
|
|
6555
7728
|
/**
|
|
6556
|
-
* Parameter name
|
|
6557
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7729
|
+
* Parameter name.
|
|
6558
7730
|
* @type {string || null}
|
|
6559
7731
|
*/
|
|
6560
7732
|
this.ParamName = null;
|
|
6561
7733
|
|
|
6562
7734
|
/**
|
|
6563
|
-
*
|
|
6564
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7735
|
+
* Number of modified events.
|
|
6565
7736
|
* @type {number || null}
|
|
6566
7737
|
*/
|
|
6567
7738
|
this.EventCount = null;
|
|
6568
7739
|
|
|
6569
7740
|
/**
|
|
6570
|
-
*
|
|
6571
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7741
|
+
* Last modification time.
|
|
6572
7742
|
* @type {Array.<EventInfo> || null}
|
|
6573
7743
|
*/
|
|
6574
7744
|
this.EventDetail = null;
|
|
@@ -6698,52 +7868,45 @@ class ParamInfo extends AbstractModel {
|
|
|
6698
7868
|
|
|
6699
7869
|
/**
|
|
6700
7870
|
* Parameter ID
|
|
6701
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
6702
7871
|
* @type {number || null}
|
|
6703
7872
|
*/
|
|
6704
7873
|
this.ID = null;
|
|
6705
7874
|
|
|
6706
7875
|
/**
|
|
6707
|
-
* Parameter name
|
|
6708
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7876
|
+
* Parameter name.
|
|
6709
7877
|
* @type {string || null}
|
|
6710
7878
|
*/
|
|
6711
7879
|
this.Name = null;
|
|
6712
7880
|
|
|
6713
7881
|
/**
|
|
6714
|
-
*
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7882
|
+
* Parameter value type: integer, real, bool, enum, mutil_enum.
|
|
7883
|
+
When the parameter type is integer or real (floating-point), the value range is determined based on the Max and Min of the return value.
|
|
7884
|
+
When the parameter type is boolean, the valid values are true or false.
|
|
7885
|
+
When the parameter type is enum (enumeration type) or mutil_enum (multi-enum type), the valid values are determined by EnumValue in the return value.
|
|
6719
7886
|
* @type {string || null}
|
|
6720
7887
|
*/
|
|
6721
7888
|
this.ParamValueType = null;
|
|
6722
7889
|
|
|
6723
7890
|
/**
|
|
6724
|
-
*
|
|
6725
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7891
|
+
* Parameter value unit. returns null if the parameter has no units.
|
|
6726
7892
|
* @type {string || null}
|
|
6727
7893
|
*/
|
|
6728
7894
|
this.Unit = null;
|
|
6729
7895
|
|
|
6730
7896
|
/**
|
|
6731
|
-
* Default
|
|
6732
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7897
|
+
* Default parameter value. returns in string form.
|
|
6733
7898
|
* @type {string || null}
|
|
6734
7899
|
*/
|
|
6735
7900
|
this.DefaultValue = null;
|
|
6736
7901
|
|
|
6737
7902
|
/**
|
|
6738
|
-
*
|
|
6739
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7903
|
+
* Specifies the current value in string form.
|
|
6740
7904
|
* @type {string || null}
|
|
6741
7905
|
*/
|
|
6742
7906
|
this.CurrentValue = null;
|
|
6743
7907
|
|
|
6744
7908
|
/**
|
|
6745
|
-
*
|
|
6746
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7909
|
+
* Specifies the numerical type (integer, real) parameter and its lower bound.
|
|
6747
7910
|
* @type {number || null}
|
|
6748
7911
|
*/
|
|
6749
7912
|
this.Max = null;
|
|
@@ -6756,71 +7919,61 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
6756
7919
|
this.EnumValue = null;
|
|
6757
7920
|
|
|
6758
7921
|
/**
|
|
6759
|
-
*
|
|
6760
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7922
|
+
* Numerical type (integer, real) parameter specifies the upper bound.
|
|
6761
7923
|
* @type {number || null}
|
|
6762
7924
|
*/
|
|
6763
7925
|
this.Min = null;
|
|
6764
7926
|
|
|
6765
7927
|
/**
|
|
6766
|
-
*
|
|
6767
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7928
|
+
* Chinese description.
|
|
6768
7929
|
* @type {string || null}
|
|
6769
7930
|
*/
|
|
6770
7931
|
this.ParamDescriptionCH = null;
|
|
6771
7932
|
|
|
6772
7933
|
/**
|
|
6773
|
-
*
|
|
6774
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7934
|
+
* Specifies the english description of the parameter.
|
|
6775
7935
|
* @type {string || null}
|
|
6776
7936
|
*/
|
|
6777
7937
|
this.ParamDescriptionEN = null;
|
|
6778
7938
|
|
|
6779
7939
|
/**
|
|
6780
|
-
*
|
|
6781
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7940
|
+
* Specifies whether a restart is required for parameter modification (true indicates required, false indicates not required).
|
|
6782
7941
|
* @type {boolean || null}
|
|
6783
7942
|
*/
|
|
6784
7943
|
this.NeedReboot = null;
|
|
6785
7944
|
|
|
6786
7945
|
/**
|
|
6787
|
-
* Parameter category
|
|
6788
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7946
|
+
* Parameter chinese category.
|
|
6789
7947
|
* @type {string || null}
|
|
6790
7948
|
*/
|
|
6791
7949
|
this.ClassificationCN = null;
|
|
6792
7950
|
|
|
6793
7951
|
/**
|
|
6794
|
-
* Parameter category
|
|
6795
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7952
|
+
* Parameter english category.
|
|
6796
7953
|
* @type {string || null}
|
|
6797
7954
|
*/
|
|
6798
7955
|
this.ClassificationEN = null;
|
|
6799
7956
|
|
|
6800
7957
|
/**
|
|
6801
|
-
*
|
|
6802
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7958
|
+
* Specifies whether it is related to the specification (true for related, false for unrelated).
|
|
6803
7959
|
* @type {boolean || null}
|
|
6804
7960
|
*/
|
|
6805
7961
|
this.SpecRelated = null;
|
|
6806
7962
|
|
|
6807
7963
|
/**
|
|
6808
|
-
*
|
|
6809
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7964
|
+
* Indicates whether it is a key parameter (true means it is a key parameter, modification requires special attention and may affect instance performance).
|
|
6810
7965
|
* @type {boolean || null}
|
|
6811
7966
|
*/
|
|
6812
7967
|
this.Advanced = null;
|
|
6813
7968
|
|
|
6814
7969
|
/**
|
|
6815
|
-
*
|
|
6816
|
-
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
7970
|
+
* Specifies the last modified time.
|
|
6817
7971
|
* @type {string || null}
|
|
6818
7972
|
*/
|
|
6819
7973
|
this.LastModifyTime = null;
|
|
6820
7974
|
|
|
6821
7975
|
/**
|
|
6822
|
-
* Parameter primary-secondary constraints
|
|
6823
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
7976
|
+
* Parameter primary-secondary constraints. `0`: no constraint between primary and standby. `1`: standby parameter value > primary machine parameter value. `2`: primary parameter value must be greater than that of the standby machine.
|
|
6824
7977
|
* @type {number || null}
|
|
6825
7978
|
*/
|
|
6826
7979
|
this.StandbyRelated = null;
|
|
@@ -7112,11 +8265,17 @@ class OpenDBExtranetAccessResponse extends AbstractModel {
|
|
|
7112
8265
|
super();
|
|
7113
8266
|
|
|
7114
8267
|
/**
|
|
7115
|
-
*
|
|
8268
|
+
* Process ID. FlowId is equivalent to TaskId.
|
|
7116
8269
|
* @type {number || null}
|
|
7117
8270
|
*/
|
|
7118
8271
|
this.FlowId = null;
|
|
7119
8272
|
|
|
8273
|
+
/**
|
|
8274
|
+
* Task ID.
|
|
8275
|
+
* @type {number || null}
|
|
8276
|
+
*/
|
|
8277
|
+
this.TaskId = null;
|
|
8278
|
+
|
|
7120
8279
|
/**
|
|
7121
8280
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7122
8281
|
* @type {string || null}
|
|
@@ -7133,6 +8292,7 @@ class OpenDBExtranetAccessResponse extends AbstractModel {
|
|
|
7133
8292
|
return;
|
|
7134
8293
|
}
|
|
7135
8294
|
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
8295
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
7136
8296
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7137
8297
|
|
|
7138
8298
|
}
|
|
@@ -7271,6 +8431,49 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
7271
8431
|
}
|
|
7272
8432
|
}
|
|
7273
8433
|
|
|
8434
|
+
/**
|
|
8435
|
+
* DescribeDatabaseObjects response structure.
|
|
8436
|
+
* @class
|
|
8437
|
+
*/
|
|
8438
|
+
class DescribeDatabaseObjectsResponse extends AbstractModel {
|
|
8439
|
+
constructor(){
|
|
8440
|
+
super();
|
|
8441
|
+
|
|
8442
|
+
/**
|
|
8443
|
+
* Query object list.
|
|
8444
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8445
|
+
* @type {Array.<string> || null}
|
|
8446
|
+
*/
|
|
8447
|
+
this.ObjectSet = null;
|
|
8448
|
+
|
|
8449
|
+
/**
|
|
8450
|
+
* Specifies the total number of objects.
|
|
8451
|
+
* @type {number || null}
|
|
8452
|
+
*/
|
|
8453
|
+
this.TotalCount = null;
|
|
8454
|
+
|
|
8455
|
+
/**
|
|
8456
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8457
|
+
* @type {string || null}
|
|
8458
|
+
*/
|
|
8459
|
+
this.RequestId = null;
|
|
8460
|
+
|
|
8461
|
+
}
|
|
8462
|
+
|
|
8463
|
+
/**
|
|
8464
|
+
* @private
|
|
8465
|
+
*/
|
|
8466
|
+
deserialize(params) {
|
|
8467
|
+
if (!params) {
|
|
8468
|
+
return;
|
|
8469
|
+
}
|
|
8470
|
+
this.ObjectSet = 'ObjectSet' in params ? params.ObjectSet : null;
|
|
8471
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
8472
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8473
|
+
|
|
8474
|
+
}
|
|
8475
|
+
}
|
|
8476
|
+
|
|
7274
8477
|
/**
|
|
7275
8478
|
* IsolateDBInstances request structure.
|
|
7276
8479
|
* @class
|
|
@@ -7336,54 +8539,91 @@ class ModifyDBInstanceNameRequest extends AbstractModel {
|
|
|
7336
8539
|
}
|
|
7337
8540
|
|
|
7338
8541
|
/**
|
|
7339
|
-
*
|
|
8542
|
+
* DescribeDBInstanceSSLConfig response structure.
|
|
7340
8543
|
* @class
|
|
7341
8544
|
*/
|
|
7342
|
-
class
|
|
8545
|
+
class DescribeDBInstanceSSLConfigResponse extends AbstractModel {
|
|
7343
8546
|
constructor(){
|
|
7344
8547
|
super();
|
|
7345
8548
|
|
|
7346
8549
|
/**
|
|
7347
|
-
*
|
|
7348
|
-
|
|
8550
|
+
* true represents enabled. false represents not enabled.
|
|
8551
|
+
* @type {boolean || null}
|
|
8552
|
+
*/
|
|
8553
|
+
this.SSLEnabled = null;
|
|
8554
|
+
|
|
8555
|
+
/**
|
|
8556
|
+
* Certificate download url for the cloud root certificate.
|
|
7349
8557
|
* @type {string || null}
|
|
7350
8558
|
*/
|
|
7351
|
-
this.
|
|
8559
|
+
this.CAUrl = null;
|
|
7352
8560
|
|
|
7353
8561
|
/**
|
|
7354
|
-
*
|
|
7355
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8562
|
+
* Specifies the intranet or public network connection address in the server certificate.
|
|
7356
8563
|
* @type {string || null}
|
|
7357
8564
|
*/
|
|
7358
|
-
this.
|
|
8565
|
+
this.ConnectAddress = null;
|
|
7359
8566
|
|
|
7360
8567
|
/**
|
|
7361
|
-
*
|
|
7362
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8568
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
7363
8569
|
* @type {string || null}
|
|
7364
8570
|
*/
|
|
7365
|
-
this.
|
|
8571
|
+
this.RequestId = null;
|
|
8572
|
+
|
|
8573
|
+
}
|
|
8574
|
+
|
|
8575
|
+
/**
|
|
8576
|
+
* @private
|
|
8577
|
+
*/
|
|
8578
|
+
deserialize(params) {
|
|
8579
|
+
if (!params) {
|
|
8580
|
+
return;
|
|
8581
|
+
}
|
|
8582
|
+
this.SSLEnabled = 'SSLEnabled' in params ? params.SSLEnabled : null;
|
|
8583
|
+
this.CAUrl = 'CAUrl' in params ? params.CAUrl : null;
|
|
8584
|
+
this.ConnectAddress = 'ConnectAddress' in params ? params.ConnectAddress : null;
|
|
8585
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8586
|
+
|
|
8587
|
+
}
|
|
8588
|
+
}
|
|
8589
|
+
|
|
8590
|
+
/**
|
|
8591
|
+
* ModifyParameterTemplate request structure.
|
|
8592
|
+
* @class
|
|
8593
|
+
*/
|
|
8594
|
+
class ModifyParameterTemplateRequest extends AbstractModel {
|
|
8595
|
+
constructor(){
|
|
8596
|
+
super();
|
|
7366
8597
|
|
|
7367
8598
|
/**
|
|
7368
|
-
*
|
|
7369
|
-
|
|
7370
|
-
* @type {number || null}
|
|
8599
|
+
* Specifies the parameter template ID, which uniquely identifies the parameter template and cannot be modified. it can be obtained through the api [DescribeParameterTemplates](https://www.tencentcloud.com/document/product/409/52651?lang=en).
|
|
8600
|
+
* @type {string || null}
|
|
7371
8601
|
*/
|
|
7372
|
-
this.
|
|
8602
|
+
this.TemplateId = null;
|
|
7373
8603
|
|
|
7374
8604
|
/**
|
|
7375
|
-
*
|
|
7376
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8605
|
+
* Parameter template name, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this field is empty, the original parameter template name will be used.
|
|
7377
8606
|
* @type {string || null}
|
|
7378
8607
|
*/
|
|
7379
|
-
this.
|
|
8608
|
+
this.TemplateName = null;
|
|
7380
8609
|
|
|
7381
8610
|
/**
|
|
7382
|
-
*
|
|
7383
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
8611
|
+
* Parameter template description, which can contain 1-60 letters, digits, and symbols (-_./()[]()+=:@). If this parameter is not passed in, the original parameter template description will be used.
|
|
7384
8612
|
* @type {string || null}
|
|
7385
8613
|
*/
|
|
7386
|
-
this.
|
|
8614
|
+
this.TemplateDescription = null;
|
|
8615
|
+
|
|
8616
|
+
/**
|
|
8617
|
+
* The set of parameters to be modified or added. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
|
|
8618
|
+
* @type {Array.<ParamEntry> || null}
|
|
8619
|
+
*/
|
|
8620
|
+
this.ModifyParamEntrySet = null;
|
|
8621
|
+
|
|
8622
|
+
/**
|
|
8623
|
+
* The set of parameters to be deleted in the template. A parameter cannot be put to `ModifyParamEntrySet` and `DeleteParamSet` at the same time, that is, it cannot be modified/added and deleted at the same time.
|
|
8624
|
+
* @type {Array.<string> || null}
|
|
8625
|
+
*/
|
|
8626
|
+
this.DeleteParamSet = null;
|
|
7387
8627
|
|
|
7388
8628
|
}
|
|
7389
8629
|
|
|
@@ -7394,12 +8634,54 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
7394
8634
|
if (!params) {
|
|
7395
8635
|
return;
|
|
7396
8636
|
}
|
|
7397
|
-
this.
|
|
7398
|
-
this.
|
|
7399
|
-
this.
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
8637
|
+
this.TemplateId = 'TemplateId' in params ? params.TemplateId : null;
|
|
8638
|
+
this.TemplateName = 'TemplateName' in params ? params.TemplateName : null;
|
|
8639
|
+
this.TemplateDescription = 'TemplateDescription' in params ? params.TemplateDescription : null;
|
|
8640
|
+
|
|
8641
|
+
if (params.ModifyParamEntrySet) {
|
|
8642
|
+
this.ModifyParamEntrySet = new Array();
|
|
8643
|
+
for (let z in params.ModifyParamEntrySet) {
|
|
8644
|
+
let obj = new ParamEntry();
|
|
8645
|
+
obj.deserialize(params.ModifyParamEntrySet[z]);
|
|
8646
|
+
this.ModifyParamEntrySet.push(obj);
|
|
8647
|
+
}
|
|
8648
|
+
}
|
|
8649
|
+
this.DeleteParamSet = 'DeleteParamSet' in params ? params.DeleteParamSet : null;
|
|
8650
|
+
|
|
8651
|
+
}
|
|
8652
|
+
}
|
|
8653
|
+
|
|
8654
|
+
/**
|
|
8655
|
+
* DeleteAccount request structure.
|
|
8656
|
+
* @class
|
|
8657
|
+
*/
|
|
8658
|
+
class DeleteAccountRequest extends AbstractModel {
|
|
8659
|
+
constructor(){
|
|
8660
|
+
super();
|
|
8661
|
+
|
|
8662
|
+
/**
|
|
8663
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/api/409/16773?from_cn_redirect=1).
|
|
8664
|
+
* @type {string || null}
|
|
8665
|
+
*/
|
|
8666
|
+
this.DBInstanceId = null;
|
|
8667
|
+
|
|
8668
|
+
/**
|
|
8669
|
+
* Account name to be deleted. obtain through the api [DescribeAccounts](https://www.tencentcloud.com/document/api/409/18109?from_cn_redirect=1).
|
|
8670
|
+
* @type {string || null}
|
|
8671
|
+
*/
|
|
8672
|
+
this.UserName = null;
|
|
8673
|
+
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8676
|
+
/**
|
|
8677
|
+
* @private
|
|
8678
|
+
*/
|
|
8679
|
+
deserialize(params) {
|
|
8680
|
+
if (!params) {
|
|
8681
|
+
return;
|
|
8682
|
+
}
|
|
8683
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
8684
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
7403
8685
|
|
|
7404
8686
|
}
|
|
7405
8687
|
}
|
|
@@ -7982,6 +9264,41 @@ class ModifyDBInstanceDeploymentResponse extends AbstractModel {
|
|
|
7982
9264
|
}
|
|
7983
9265
|
}
|
|
7984
9266
|
|
|
9267
|
+
/**
|
|
9268
|
+
* UnlockAccount request structure.
|
|
9269
|
+
* @class
|
|
9270
|
+
*/
|
|
9271
|
+
class UnlockAccountRequest extends AbstractModel {
|
|
9272
|
+
constructor(){
|
|
9273
|
+
super();
|
|
9274
|
+
|
|
9275
|
+
/**
|
|
9276
|
+
* Instance ID.
|
|
9277
|
+
* @type {string || null}
|
|
9278
|
+
*/
|
|
9279
|
+
this.DBInstanceId = null;
|
|
9280
|
+
|
|
9281
|
+
/**
|
|
9282
|
+
* Account name.
|
|
9283
|
+
* @type {string || null}
|
|
9284
|
+
*/
|
|
9285
|
+
this.UserName = null;
|
|
9286
|
+
|
|
9287
|
+
}
|
|
9288
|
+
|
|
9289
|
+
/**
|
|
9290
|
+
* @private
|
|
9291
|
+
*/
|
|
9292
|
+
deserialize(params) {
|
|
9293
|
+
if (!params) {
|
|
9294
|
+
return;
|
|
9295
|
+
}
|
|
9296
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
9297
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
9298
|
+
|
|
9299
|
+
}
|
|
9300
|
+
}
|
|
9301
|
+
|
|
7985
9302
|
/**
|
|
7986
9303
|
* Instance details
|
|
7987
9304
|
* @class
|
|
@@ -8360,19 +9677,31 @@ class DeleteParameterTemplateResponse extends AbstractModel {
|
|
|
8360
9677
|
}
|
|
8361
9678
|
|
|
8362
9679
|
/**
|
|
8363
|
-
*
|
|
9680
|
+
* ModifyReadOnlyDBInstanceWeight request structure.
|
|
8364
9681
|
* @class
|
|
8365
9682
|
*/
|
|
8366
|
-
class
|
|
9683
|
+
class ModifyReadOnlyDBInstanceWeightRequest extends AbstractModel {
|
|
8367
9684
|
constructor(){
|
|
8368
9685
|
super();
|
|
8369
9686
|
|
|
8370
9687
|
/**
|
|
8371
|
-
* ID
|
|
9688
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
9689
|
+
* @type {string || null}
|
|
9690
|
+
*/
|
|
9691
|
+
this.DBInstanceId = null;
|
|
9692
|
+
|
|
9693
|
+
/**
|
|
9694
|
+
* ReadOnlyGroupId. specifies the read-only group ID, which can be obtained through the api [DescribeReadOnlyGroups](https://www.tencentcloud.com/document/product/409/39725?lang=en).
|
|
8372
9695
|
* @type {string || null}
|
|
8373
9696
|
*/
|
|
8374
9697
|
this.ReadOnlyGroupId = null;
|
|
8375
9698
|
|
|
9699
|
+
/**
|
|
9700
|
+
* Specifies the traffic weight of the read-only instance in the read-only group. valid values: 1-50.
|
|
9701
|
+
* @type {number || null}
|
|
9702
|
+
*/
|
|
9703
|
+
this.Weight = null;
|
|
9704
|
+
|
|
8376
9705
|
}
|
|
8377
9706
|
|
|
8378
9707
|
/**
|
|
@@ -8382,24 +9711,159 @@ class DeleteReadOnlyGroupRequest extends AbstractModel {
|
|
|
8382
9711
|
if (!params) {
|
|
8383
9712
|
return;
|
|
8384
9713
|
}
|
|
9714
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
8385
9715
|
this.ReadOnlyGroupId = 'ReadOnlyGroupId' in params ? params.ReadOnlyGroupId : null;
|
|
9716
|
+
this.Weight = 'Weight' in params ? params.Weight : null;
|
|
8386
9717
|
|
|
8387
9718
|
}
|
|
8388
9719
|
}
|
|
8389
9720
|
|
|
8390
9721
|
/**
|
|
8391
|
-
*
|
|
9722
|
+
* ModifyAccountPrivileges response structure.
|
|
8392
9723
|
* @class
|
|
8393
9724
|
*/
|
|
8394
|
-
class
|
|
9725
|
+
class ModifyAccountPrivilegesResponse extends AbstractModel {
|
|
8395
9726
|
constructor(){
|
|
8396
9727
|
super();
|
|
8397
9728
|
|
|
8398
9729
|
/**
|
|
8399
|
-
*
|
|
9730
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8400
9731
|
* @type {string || null}
|
|
8401
9732
|
*/
|
|
8402
|
-
this.
|
|
9733
|
+
this.RequestId = null;
|
|
9734
|
+
|
|
9735
|
+
}
|
|
9736
|
+
|
|
9737
|
+
/**
|
|
9738
|
+
* @private
|
|
9739
|
+
*/
|
|
9740
|
+
deserialize(params) {
|
|
9741
|
+
if (!params) {
|
|
9742
|
+
return;
|
|
9743
|
+
}
|
|
9744
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9745
|
+
|
|
9746
|
+
}
|
|
9747
|
+
}
|
|
9748
|
+
|
|
9749
|
+
/**
|
|
9750
|
+
* Describes the database detailed information, including owner and character encoding.
|
|
9751
|
+
* @class
|
|
9752
|
+
*/
|
|
9753
|
+
class Database extends AbstractModel {
|
|
9754
|
+
constructor(){
|
|
9755
|
+
super();
|
|
9756
|
+
|
|
9757
|
+
/**
|
|
9758
|
+
* Database name
|
|
9759
|
+
* @type {string || null}
|
|
9760
|
+
*/
|
|
9761
|
+
this.DatabaseName = null;
|
|
9762
|
+
|
|
9763
|
+
/**
|
|
9764
|
+
* Specifies the database owner.
|
|
9765
|
+
* @type {string || null}
|
|
9766
|
+
*/
|
|
9767
|
+
this.DatabaseOwner = null;
|
|
9768
|
+
|
|
9769
|
+
/**
|
|
9770
|
+
* Specifies the database character encoding.
|
|
9771
|
+
* @type {string || null}
|
|
9772
|
+
*/
|
|
9773
|
+
this.Encoding = null;
|
|
9774
|
+
|
|
9775
|
+
/**
|
|
9776
|
+
* Specifies the database sorting rule.
|
|
9777
|
+
* @type {string || null}
|
|
9778
|
+
*/
|
|
9779
|
+
this.Collate = null;
|
|
9780
|
+
|
|
9781
|
+
/**
|
|
9782
|
+
* Specifies the character category of the database.
|
|
9783
|
+
* @type {string || null}
|
|
9784
|
+
*/
|
|
9785
|
+
this.Ctype = null;
|
|
9786
|
+
|
|
9787
|
+
/**
|
|
9788
|
+
* Specifies whether the database allows connections.
|
|
9789
|
+
* @type {boolean || null}
|
|
9790
|
+
*/
|
|
9791
|
+
this.AllowConn = null;
|
|
9792
|
+
|
|
9793
|
+
/**
|
|
9794
|
+
* Maximum number of connections for the database. -1 indicates unlimited.
|
|
9795
|
+
* @type {number || null}
|
|
9796
|
+
*/
|
|
9797
|
+
this.ConnLimit = null;
|
|
9798
|
+
|
|
9799
|
+
/**
|
|
9800
|
+
* Specifies the database permission list.
|
|
9801
|
+
* @type {string || null}
|
|
9802
|
+
*/
|
|
9803
|
+
this.Privileges = null;
|
|
9804
|
+
|
|
9805
|
+
}
|
|
9806
|
+
|
|
9807
|
+
/**
|
|
9808
|
+
* @private
|
|
9809
|
+
*/
|
|
9810
|
+
deserialize(params) {
|
|
9811
|
+
if (!params) {
|
|
9812
|
+
return;
|
|
9813
|
+
}
|
|
9814
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
9815
|
+
this.DatabaseOwner = 'DatabaseOwner' in params ? params.DatabaseOwner : null;
|
|
9816
|
+
this.Encoding = 'Encoding' in params ? params.Encoding : null;
|
|
9817
|
+
this.Collate = 'Collate' in params ? params.Collate : null;
|
|
9818
|
+
this.Ctype = 'Ctype' in params ? params.Ctype : null;
|
|
9819
|
+
this.AllowConn = 'AllowConn' in params ? params.AllowConn : null;
|
|
9820
|
+
this.ConnLimit = 'ConnLimit' in params ? params.ConnLimit : null;
|
|
9821
|
+
this.Privileges = 'Privileges' in params ? params.Privileges : null;
|
|
9822
|
+
|
|
9823
|
+
}
|
|
9824
|
+
}
|
|
9825
|
+
|
|
9826
|
+
/**
|
|
9827
|
+
* DeleteReadOnlyGroup request structure.
|
|
9828
|
+
* @class
|
|
9829
|
+
*/
|
|
9830
|
+
class DeleteReadOnlyGroupRequest extends AbstractModel {
|
|
9831
|
+
constructor(){
|
|
9832
|
+
super();
|
|
9833
|
+
|
|
9834
|
+
/**
|
|
9835
|
+
* ID of the RO group to be deleted
|
|
9836
|
+
* @type {string || null}
|
|
9837
|
+
*/
|
|
9838
|
+
this.ReadOnlyGroupId = null;
|
|
9839
|
+
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9842
|
+
/**
|
|
9843
|
+
* @private
|
|
9844
|
+
*/
|
|
9845
|
+
deserialize(params) {
|
|
9846
|
+
if (!params) {
|
|
9847
|
+
return;
|
|
9848
|
+
}
|
|
9849
|
+
this.ReadOnlyGroupId = 'ReadOnlyGroupId' in params ? params.ReadOnlyGroupId : null;
|
|
9850
|
+
|
|
9851
|
+
}
|
|
9852
|
+
}
|
|
9853
|
+
|
|
9854
|
+
/**
|
|
9855
|
+
* DescribeDBBackups request structure.
|
|
9856
|
+
* @class
|
|
9857
|
+
*/
|
|
9858
|
+
class DescribeDBBackupsRequest extends AbstractModel {
|
|
9859
|
+
constructor(){
|
|
9860
|
+
super();
|
|
9861
|
+
|
|
9862
|
+
/**
|
|
9863
|
+
* Instance ID in the format of postgres-4wdeb0zv.
|
|
9864
|
+
* @type {string || null}
|
|
9865
|
+
*/
|
|
9866
|
+
this.DBInstanceId = null;
|
|
8403
9867
|
|
|
8404
9868
|
/**
|
|
8405
9869
|
* Backup mode (1: full). Currently, only full backup is supported. The value is 1.
|
|
@@ -8450,6 +9914,41 @@ class DescribeDBBackupsRequest extends AbstractModel {
|
|
|
8450
9914
|
}
|
|
8451
9915
|
}
|
|
8452
9916
|
|
|
9917
|
+
/**
|
|
9918
|
+
* RestartDBInstance response structure.
|
|
9919
|
+
* @class
|
|
9920
|
+
*/
|
|
9921
|
+
class RestartDBInstanceResponse extends AbstractModel {
|
|
9922
|
+
constructor(){
|
|
9923
|
+
super();
|
|
9924
|
+
|
|
9925
|
+
/**
|
|
9926
|
+
* Async flow ID
|
|
9927
|
+
* @type {number || null}
|
|
9928
|
+
*/
|
|
9929
|
+
this.FlowId = null;
|
|
9930
|
+
|
|
9931
|
+
/**
|
|
9932
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9933
|
+
* @type {string || null}
|
|
9934
|
+
*/
|
|
9935
|
+
this.RequestId = null;
|
|
9936
|
+
|
|
9937
|
+
}
|
|
9938
|
+
|
|
9939
|
+
/**
|
|
9940
|
+
* @private
|
|
9941
|
+
*/
|
|
9942
|
+
deserialize(params) {
|
|
9943
|
+
if (!params) {
|
|
9944
|
+
return;
|
|
9945
|
+
}
|
|
9946
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
9947
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9948
|
+
|
|
9949
|
+
}
|
|
9950
|
+
}
|
|
9951
|
+
|
|
8453
9952
|
/**
|
|
8454
9953
|
* Key-value pair filter for conditional filtering queries, such as filter ID and name
|
|
8455
9954
|
* If more than one filter exists, the logical relationship between these filters is `AND`.
|
|
@@ -8552,42 +10051,30 @@ class DescribeReadOnlyGroupsRequest extends AbstractModel {
|
|
|
8552
10051
|
}
|
|
8553
10052
|
|
|
8554
10053
|
/**
|
|
8555
|
-
*
|
|
10054
|
+
* DescribeBaseBackups response structure.
|
|
8556
10055
|
* @class
|
|
8557
10056
|
*/
|
|
8558
|
-
class
|
|
10057
|
+
class DescribeBaseBackupsResponse extends AbstractModel {
|
|
8559
10058
|
constructor(){
|
|
8560
10059
|
super();
|
|
8561
10060
|
|
|
8562
10061
|
/**
|
|
8563
|
-
*
|
|
8564
|
-
* @type {
|
|
10062
|
+
* Number of queried data backups.
|
|
10063
|
+
* @type {number || null}
|
|
8565
10064
|
*/
|
|
8566
|
-
this.
|
|
10065
|
+
this.TotalCount = null;
|
|
8567
10066
|
|
|
8568
10067
|
/**
|
|
8569
|
-
*
|
|
8570
|
-
* @type {
|
|
10068
|
+
* Detailed data backup information list.
|
|
10069
|
+
* @type {Array.<BaseBackup> || null}
|
|
8571
10070
|
*/
|
|
8572
|
-
this.
|
|
10071
|
+
this.BaseBackupSet = null;
|
|
8573
10072
|
|
|
8574
10073
|
/**
|
|
8575
|
-
*
|
|
10074
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8576
10075
|
* @type {string || null}
|
|
8577
10076
|
*/
|
|
8578
|
-
this.
|
|
8579
|
-
|
|
8580
|
-
/**
|
|
8581
|
-
* Validity period of a URL, which is 12 hours by default.
|
|
8582
|
-
* @type {number || null}
|
|
8583
|
-
*/
|
|
8584
|
-
this.URLExpireTime = null;
|
|
8585
|
-
|
|
8586
|
-
/**
|
|
8587
|
-
* Backup download restriction
|
|
8588
|
-
* @type {BackupDownloadRestriction || null}
|
|
8589
|
-
*/
|
|
8590
|
-
this.BackupDownloadRestriction = null;
|
|
10077
|
+
this.RequestId = null;
|
|
8591
10078
|
|
|
8592
10079
|
}
|
|
8593
10080
|
|
|
@@ -8598,16 +10085,17 @@ class DescribeBackupDownloadURLRequest extends AbstractModel {
|
|
|
8598
10085
|
if (!params) {
|
|
8599
10086
|
return;
|
|
8600
10087
|
}
|
|
8601
|
-
this.
|
|
8602
|
-
this.BackupType = 'BackupType' in params ? params.BackupType : null;
|
|
8603
|
-
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
8604
|
-
this.URLExpireTime = 'URLExpireTime' in params ? params.URLExpireTime : null;
|
|
10088
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
8605
10089
|
|
|
8606
|
-
if (params.
|
|
8607
|
-
|
|
8608
|
-
|
|
8609
|
-
|
|
10090
|
+
if (params.BaseBackupSet) {
|
|
10091
|
+
this.BaseBackupSet = new Array();
|
|
10092
|
+
for (let z in params.BaseBackupSet) {
|
|
10093
|
+
let obj = new BaseBackup();
|
|
10094
|
+
obj.deserialize(params.BaseBackupSet[z]);
|
|
10095
|
+
this.BaseBackupSet.push(obj);
|
|
10096
|
+
}
|
|
8610
10097
|
}
|
|
10098
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8611
10099
|
|
|
8612
10100
|
}
|
|
8613
10101
|
}
|
|
@@ -8620,6 +10108,12 @@ class ModifyDBInstanceParametersResponse extends AbstractModel {
|
|
|
8620
10108
|
constructor(){
|
|
8621
10109
|
super();
|
|
8622
10110
|
|
|
10111
|
+
/**
|
|
10112
|
+
* Task ID.
|
|
10113
|
+
* @type {number || null}
|
|
10114
|
+
*/
|
|
10115
|
+
this.TaskId = null;
|
|
10116
|
+
|
|
8623
10117
|
/**
|
|
8624
10118
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8625
10119
|
* @type {string || null}
|
|
@@ -8635,6 +10129,7 @@ class ModifyDBInstanceParametersResponse extends AbstractModel {
|
|
|
8635
10129
|
if (!params) {
|
|
8636
10130
|
return;
|
|
8637
10131
|
}
|
|
10132
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8638
10133
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8639
10134
|
|
|
8640
10135
|
}
|
|
@@ -8684,30 +10179,30 @@ class DescribeDBVersionsResponse extends AbstractModel {
|
|
|
8684
10179
|
}
|
|
8685
10180
|
|
|
8686
10181
|
/**
|
|
8687
|
-
*
|
|
10182
|
+
* ModifyDBInstanceSSLConfig request structure.
|
|
8688
10183
|
* @class
|
|
8689
10184
|
*/
|
|
8690
|
-
class
|
|
10185
|
+
class ModifyDBInstanceSSLConfigRequest extends AbstractModel {
|
|
8691
10186
|
constructor(){
|
|
8692
10187
|
super();
|
|
8693
10188
|
|
|
8694
10189
|
/**
|
|
8695
|
-
*
|
|
8696
|
-
* @type {
|
|
10190
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
10191
|
+
* @type {string || null}
|
|
8697
10192
|
*/
|
|
8698
|
-
this.
|
|
10193
|
+
this.DBInstanceId = null;
|
|
8699
10194
|
|
|
8700
10195
|
/**
|
|
8701
|
-
*
|
|
8702
|
-
* @type {
|
|
10196
|
+
* Turn on or off SSL. true - turn on; false - turn off.
|
|
10197
|
+
* @type {boolean || null}
|
|
8703
10198
|
*/
|
|
8704
|
-
this.
|
|
10199
|
+
this.SSLEnabled = null;
|
|
8705
10200
|
|
|
8706
10201
|
/**
|
|
8707
|
-
*
|
|
8708
|
-
* @type {
|
|
10202
|
+
* The unique connection address protected by an SSL certificate. for a primary instance, it can be set to private and public IP addresses. for a read-only instance, it can be set to the instance IP or read-only group IP. this parameter is required when enabling SSL or modifying the SSL-protected connection address. it will be ignored when disabling SSL.
|
|
10203
|
+
* @type {string || null}
|
|
8709
10204
|
*/
|
|
8710
|
-
this.
|
|
10205
|
+
this.ConnectAddress = null;
|
|
8711
10206
|
|
|
8712
10207
|
}
|
|
8713
10208
|
|
|
@@ -8718,34 +10213,34 @@ class SlowlogDetail extends AbstractModel {
|
|
|
8718
10213
|
if (!params) {
|
|
8719
10214
|
return;
|
|
8720
10215
|
}
|
|
8721
|
-
this.
|
|
8722
|
-
this.
|
|
8723
|
-
|
|
8724
|
-
if (params.NormalQueries) {
|
|
8725
|
-
this.NormalQueries = new Array();
|
|
8726
|
-
for (let z in params.NormalQueries) {
|
|
8727
|
-
let obj = new NormalQueryItem();
|
|
8728
|
-
obj.deserialize(params.NormalQueries[z]);
|
|
8729
|
-
this.NormalQueries.push(obj);
|
|
8730
|
-
}
|
|
8731
|
-
}
|
|
10216
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
10217
|
+
this.SSLEnabled = 'SSLEnabled' in params ? params.SSLEnabled : null;
|
|
10218
|
+
this.ConnectAddress = 'ConnectAddress' in params ? params.ConnectAddress : null;
|
|
8732
10219
|
|
|
8733
10220
|
}
|
|
8734
10221
|
}
|
|
8735
10222
|
|
|
8736
10223
|
/**
|
|
8737
|
-
*
|
|
10224
|
+
* Specifies the permission list of the specified account for the database object.
|
|
8738
10225
|
* @class
|
|
8739
10226
|
*/
|
|
8740
|
-
class
|
|
10227
|
+
class DatabasePrivilege extends AbstractModel {
|
|
8741
10228
|
constructor(){
|
|
8742
10229
|
super();
|
|
8743
10230
|
|
|
8744
10231
|
/**
|
|
8745
|
-
* The
|
|
8746
|
-
|
|
10232
|
+
* The database object. when ObjectType is database, DatabaseName/SchemaName/TableName can be empty. when ObjectType is schema, SchemaName/TableName can be empty. when ObjectType is column, TableName cannot be empty. other cases can be empty.
|
|
10233
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10234
|
+
* @type {DatabaseObject || null}
|
|
8747
10235
|
*/
|
|
8748
|
-
this.
|
|
10236
|
+
this.Object = null;
|
|
10237
|
+
|
|
10238
|
+
/**
|
|
10239
|
+
* Specifies the permission list of the specified account for the database object.
|
|
10240
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10241
|
+
* @type {Array.<string> || null}
|
|
10242
|
+
*/
|
|
10243
|
+
this.PrivilegeSet = null;
|
|
8749
10244
|
|
|
8750
10245
|
}
|
|
8751
10246
|
|
|
@@ -8756,35 +10251,97 @@ class ModifyDBInstanceSecurityGroupsResponse extends AbstractModel {
|
|
|
8756
10251
|
if (!params) {
|
|
8757
10252
|
return;
|
|
8758
10253
|
}
|
|
8759
|
-
|
|
10254
|
+
|
|
10255
|
+
if (params.Object) {
|
|
10256
|
+
let obj = new DatabaseObject();
|
|
10257
|
+
obj.deserialize(params.Object)
|
|
10258
|
+
this.Object = obj;
|
|
10259
|
+
}
|
|
10260
|
+
this.PrivilegeSet = 'PrivilegeSet' in params ? params.PrivilegeSet : null;
|
|
8760
10261
|
|
|
8761
10262
|
}
|
|
8762
10263
|
}
|
|
8763
10264
|
|
|
8764
10265
|
/**
|
|
8765
|
-
*
|
|
10266
|
+
* UnlockAccount response structure.
|
|
8766
10267
|
* @class
|
|
8767
10268
|
*/
|
|
8768
|
-
class
|
|
10269
|
+
class UnlockAccountResponse extends AbstractModel {
|
|
8769
10270
|
constructor(){
|
|
8770
10271
|
super();
|
|
8771
10272
|
|
|
8772
10273
|
/**
|
|
8773
|
-
*
|
|
8774
|
-
`Primary`;
|
|
8775
|
-
`Standby`.
|
|
10274
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8776
10275
|
* @type {string || null}
|
|
8777
10276
|
*/
|
|
8778
|
-
this.
|
|
10277
|
+
this.RequestId = null;
|
|
8779
10278
|
|
|
8780
|
-
|
|
8781
|
-
* AZ where the node resides, such as ap-guangzhou-1.
|
|
8782
|
-
* @type {string || null}
|
|
8783
|
-
*/
|
|
8784
|
-
this.Zone = null;
|
|
10279
|
+
}
|
|
8785
10280
|
|
|
8786
|
-
|
|
8787
|
-
|
|
10281
|
+
/**
|
|
10282
|
+
* @private
|
|
10283
|
+
*/
|
|
10284
|
+
deserialize(params) {
|
|
10285
|
+
if (!params) {
|
|
10286
|
+
return;
|
|
10287
|
+
}
|
|
10288
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10289
|
+
|
|
10290
|
+
}
|
|
10291
|
+
}
|
|
10292
|
+
|
|
10293
|
+
/**
|
|
10294
|
+
* ModifyDBInstanceSecurityGroups response structure.
|
|
10295
|
+
* @class
|
|
10296
|
+
*/
|
|
10297
|
+
class ModifyDBInstanceSecurityGroupsResponse extends AbstractModel {
|
|
10298
|
+
constructor(){
|
|
10299
|
+
super();
|
|
10300
|
+
|
|
10301
|
+
/**
|
|
10302
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
10303
|
+
* @type {string || null}
|
|
10304
|
+
*/
|
|
10305
|
+
this.RequestId = null;
|
|
10306
|
+
|
|
10307
|
+
}
|
|
10308
|
+
|
|
10309
|
+
/**
|
|
10310
|
+
* @private
|
|
10311
|
+
*/
|
|
10312
|
+
deserialize(params) {
|
|
10313
|
+
if (!params) {
|
|
10314
|
+
return;
|
|
10315
|
+
}
|
|
10316
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10317
|
+
|
|
10318
|
+
}
|
|
10319
|
+
}
|
|
10320
|
+
|
|
10321
|
+
/**
|
|
10322
|
+
* Describes the instance node information, including the node type, availability zone where the node is located, and dedicated cluster where the node resides.
|
|
10323
|
+
* @class
|
|
10324
|
+
*/
|
|
10325
|
+
class DBNode extends AbstractModel {
|
|
10326
|
+
constructor(){
|
|
10327
|
+
super();
|
|
10328
|
+
|
|
10329
|
+
/**
|
|
10330
|
+
* Node type. Valid values:
|
|
10331
|
+
`Primary`;
|
|
10332
|
+
`Standby`.
|
|
10333
|
+
* @type {string || null}
|
|
10334
|
+
*/
|
|
10335
|
+
this.Role = null;
|
|
10336
|
+
|
|
10337
|
+
/**
|
|
10338
|
+
* AZ where the node resides, such as ap-guangzhou-1.
|
|
10339
|
+
* @type {string || null}
|
|
10340
|
+
*/
|
|
10341
|
+
this.Zone = null;
|
|
10342
|
+
|
|
10343
|
+
/**
|
|
10344
|
+
* CDC ID.
|
|
8788
10345
|
* @type {string || null}
|
|
8789
10346
|
*/
|
|
8790
10347
|
this.DedicatedClusterId = null;
|
|
@@ -8940,11 +10497,17 @@ class CloseDBExtranetAccessResponse extends AbstractModel {
|
|
|
8940
10497
|
super();
|
|
8941
10498
|
|
|
8942
10499
|
/**
|
|
8943
|
-
*
|
|
10500
|
+
* Process ID. FlowId is equivalent to TaskId.
|
|
8944
10501
|
* @type {number || null}
|
|
8945
10502
|
*/
|
|
8946
10503
|
this.FlowId = null;
|
|
8947
10504
|
|
|
10505
|
+
/**
|
|
10506
|
+
* Task ID.
|
|
10507
|
+
* @type {number || null}
|
|
10508
|
+
*/
|
|
10509
|
+
this.TaskId = null;
|
|
10510
|
+
|
|
8948
10511
|
/**
|
|
8949
10512
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
8950
10513
|
* @type {string || null}
|
|
@@ -8961,6 +10524,7 @@ class CloseDBExtranetAccessResponse extends AbstractModel {
|
|
|
8961
10524
|
return;
|
|
8962
10525
|
}
|
|
8963
10526
|
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
10527
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
8964
10528
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8965
10529
|
|
|
8966
10530
|
}
|
|
@@ -9376,6 +10940,12 @@ class DescribeDatabasesResponse extends AbstractModel {
|
|
|
9376
10940
|
*/
|
|
9377
10941
|
this.TotalCount = null;
|
|
9378
10942
|
|
|
10943
|
+
/**
|
|
10944
|
+
* Specifies the database details list.
|
|
10945
|
+
* @type {Array.<Database> || null}
|
|
10946
|
+
*/
|
|
10947
|
+
this.Databases = null;
|
|
10948
|
+
|
|
9379
10949
|
/**
|
|
9380
10950
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
9381
10951
|
* @type {string || null}
|
|
@@ -9393,6 +10963,15 @@ class DescribeDatabasesResponse extends AbstractModel {
|
|
|
9393
10963
|
}
|
|
9394
10964
|
this.Items = 'Items' in params ? params.Items : null;
|
|
9395
10965
|
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
10966
|
+
|
|
10967
|
+
if (params.Databases) {
|
|
10968
|
+
this.Databases = new Array();
|
|
10969
|
+
for (let z in params.Databases) {
|
|
10970
|
+
let obj = new Database();
|
|
10971
|
+
obj.deserialize(params.Databases[z]);
|
|
10972
|
+
this.Databases.push(obj);
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
9396
10975
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
9397
10976
|
|
|
9398
10977
|
}
|
|
@@ -9478,13 +11057,13 @@ class CloseDBExtranetAccessRequest extends AbstractModel {
|
|
|
9478
11057
|
super();
|
|
9479
11058
|
|
|
9480
11059
|
/**
|
|
9481
|
-
*
|
|
11060
|
+
* Specifies the instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en). such as postgres-6r233v55.
|
|
9482
11061
|
* @type {string || null}
|
|
9483
11062
|
*/
|
|
9484
11063
|
this.DBInstanceId = null;
|
|
9485
11064
|
|
|
9486
11065
|
/**
|
|
9487
|
-
*
|
|
11066
|
+
* Specifies whether to close public network Ipv6. 1: yes. 0: no. default value: 0.
|
|
9488
11067
|
* @type {number || null}
|
|
9489
11068
|
*/
|
|
9490
11069
|
this.IsIpv6 = null;
|
|
@@ -9541,7 +11120,7 @@ class DescribeEncryptionKeysRequest extends AbstractModel {
|
|
|
9541
11120
|
super();
|
|
9542
11121
|
|
|
9543
11122
|
/**
|
|
9544
|
-
* Instance ID
|
|
11123
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
9545
11124
|
* @type {string || null}
|
|
9546
11125
|
*/
|
|
9547
11126
|
this.DBInstanceId = null;
|
|
@@ -9934,6 +11513,56 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
9934
11513
|
}
|
|
9935
11514
|
}
|
|
9936
11515
|
|
|
11516
|
+
/**
|
|
11517
|
+
* ModifyAccountPrivileges request structure.
|
|
11518
|
+
* @class
|
|
11519
|
+
*/
|
|
11520
|
+
class ModifyAccountPrivilegesRequest extends AbstractModel {
|
|
11521
|
+
constructor(){
|
|
11522
|
+
super();
|
|
11523
|
+
|
|
11524
|
+
/**
|
|
11525
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/api/409/16773?from_cn_redirect=1).
|
|
11526
|
+
* @type {string || null}
|
|
11527
|
+
*/
|
|
11528
|
+
this.DBInstanceId = null;
|
|
11529
|
+
|
|
11530
|
+
/**
|
|
11531
|
+
* Modify the permission of this account for a database object. obtain through the [DescribeAccounts](https://www.tencentcloud.com/document/api/409/18109?from_cn_redirect=1) api.
|
|
11532
|
+
* @type {string || null}
|
|
11533
|
+
*/
|
|
11534
|
+
this.UserName = null;
|
|
11535
|
+
|
|
11536
|
+
/**
|
|
11537
|
+
* Permission information to modify. supports batch modification. the maximum number of modifications per batch is 50.
|
|
11538
|
+
* @type {Array.<ModifyPrivilege> || null}
|
|
11539
|
+
*/
|
|
11540
|
+
this.ModifyPrivilegeSet = null;
|
|
11541
|
+
|
|
11542
|
+
}
|
|
11543
|
+
|
|
11544
|
+
/**
|
|
11545
|
+
* @private
|
|
11546
|
+
*/
|
|
11547
|
+
deserialize(params) {
|
|
11548
|
+
if (!params) {
|
|
11549
|
+
return;
|
|
11550
|
+
}
|
|
11551
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
11552
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
11553
|
+
|
|
11554
|
+
if (params.ModifyPrivilegeSet) {
|
|
11555
|
+
this.ModifyPrivilegeSet = new Array();
|
|
11556
|
+
for (let z in params.ModifyPrivilegeSet) {
|
|
11557
|
+
let obj = new ModifyPrivilege();
|
|
11558
|
+
obj.deserialize(params.ModifyPrivilegeSet[z]);
|
|
11559
|
+
this.ModifyPrivilegeSet.push(obj);
|
|
11560
|
+
}
|
|
11561
|
+
}
|
|
11562
|
+
|
|
11563
|
+
}
|
|
11564
|
+
}
|
|
11565
|
+
|
|
9937
11566
|
/**
|
|
9938
11567
|
* DeleteServerlessDBInstance request structure.
|
|
9939
11568
|
* @class
|
|
@@ -10018,29 +11647,50 @@ class AccountInfo extends AbstractModel {
|
|
|
10018
11647
|
this.UserName = null;
|
|
10019
11648
|
|
|
10020
11649
|
/**
|
|
10021
|
-
*
|
|
11650
|
+
* Specifies the account remark.
|
|
10022
11651
|
* @type {string || null}
|
|
10023
11652
|
*/
|
|
10024
11653
|
this.Remark = null;
|
|
10025
11654
|
|
|
10026
11655
|
/**
|
|
10027
|
-
* Account status.
|
|
11656
|
+
* Account status. valid values: 1-creating, 2-normal, 3-modifying, 4-resetting password, 5-locked, -1-deleting.
|
|
10028
11657
|
* @type {number || null}
|
|
10029
11658
|
*/
|
|
10030
11659
|
this.Status = null;
|
|
10031
11660
|
|
|
10032
11661
|
/**
|
|
10033
|
-
*
|
|
11662
|
+
* Creation time.
|
|
10034
11663
|
* @type {string || null}
|
|
10035
11664
|
*/
|
|
10036
11665
|
this.CreateTime = null;
|
|
10037
11666
|
|
|
10038
11667
|
/**
|
|
10039
|
-
*
|
|
11668
|
+
* Last update time of the account.
|
|
10040
11669
|
* @type {string || null}
|
|
10041
11670
|
*/
|
|
10042
11671
|
this.UpdateTime = null;
|
|
10043
11672
|
|
|
11673
|
+
/**
|
|
11674
|
+
* Specifies the last modified time of the account.
|
|
11675
|
+
|
|
11676
|
+
This field will only take effect after 2025-10-31. No matter whether the password is modified before, the value will be the default value: 0000-00-00 00:00:00
|
|
11677
|
+
Indicates that this field is updated only when the password is modified via the cloud API or the console.
|
|
11678
|
+
* @type {string || null}
|
|
11679
|
+
*/
|
|
11680
|
+
this.PasswordUpdateTime = null;
|
|
11681
|
+
|
|
11682
|
+
/**
|
|
11683
|
+
* Account type. valid values: normal, tencentDBSuper. normal references a general user, tencentDBSuper possesses the pg_tencentdb_superuser user role.
|
|
11684
|
+
* @type {string || null}
|
|
11685
|
+
*/
|
|
11686
|
+
this.UserType = null;
|
|
11687
|
+
|
|
11688
|
+
/**
|
|
11689
|
+
* Specifies whether CAM verification is enabled for the user account.
|
|
11690
|
+
* @type {boolean || null}
|
|
11691
|
+
*/
|
|
11692
|
+
this.OpenCam = null;
|
|
11693
|
+
|
|
10044
11694
|
}
|
|
10045
11695
|
|
|
10046
11696
|
/**
|
|
@@ -10056,6 +11706,9 @@ class AccountInfo extends AbstractModel {
|
|
|
10056
11706
|
this.Status = 'Status' in params ? params.Status : null;
|
|
10057
11707
|
this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
|
|
10058
11708
|
this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
|
|
11709
|
+
this.PasswordUpdateTime = 'PasswordUpdateTime' in params ? params.PasswordUpdateTime : null;
|
|
11710
|
+
this.UserType = 'UserType' in params ? params.UserType : null;
|
|
11711
|
+
this.OpenCam = 'OpenCam' in params ? params.OpenCam : null;
|
|
10059
11712
|
|
|
10060
11713
|
}
|
|
10061
11714
|
}
|
|
@@ -10252,13 +11905,13 @@ class DeleteBaseBackupRequest extends AbstractModel {
|
|
|
10252
11905
|
super();
|
|
10253
11906
|
|
|
10254
11907
|
/**
|
|
10255
|
-
* Instance ID
|
|
11908
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
10256
11909
|
* @type {string || null}
|
|
10257
11910
|
*/
|
|
10258
11911
|
this.DBInstanceId = null;
|
|
10259
11912
|
|
|
10260
11913
|
/**
|
|
10261
|
-
* Data
|
|
11914
|
+
* Data backup ID. obtain through the api [DescribeBaseBackups](https://www.tencentcloud.com/document/product/409/54343?lang=en). automatic backup sets cannot be deleted within 7 days.
|
|
10262
11915
|
* @type {string || null}
|
|
10263
11916
|
*/
|
|
10264
11917
|
this.BaseBackupId = null;
|
|
@@ -10439,6 +12092,62 @@ class CreateParameterTemplateRequest extends AbstractModel {
|
|
|
10439
12092
|
}
|
|
10440
12093
|
}
|
|
10441
12094
|
|
|
12095
|
+
/**
|
|
12096
|
+
* DescribeDBInstanceSSLConfig request structure.
|
|
12097
|
+
* @class
|
|
12098
|
+
*/
|
|
12099
|
+
class DescribeDBInstanceSSLConfigRequest extends AbstractModel {
|
|
12100
|
+
constructor(){
|
|
12101
|
+
super();
|
|
12102
|
+
|
|
12103
|
+
/**
|
|
12104
|
+
* Specifies the instance ID, such as postgres-6bwgamo3. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
12105
|
+
* @type {string || null}
|
|
12106
|
+
*/
|
|
12107
|
+
this.DBInstanceId = null;
|
|
12108
|
+
|
|
12109
|
+
}
|
|
12110
|
+
|
|
12111
|
+
/**
|
|
12112
|
+
* @private
|
|
12113
|
+
*/
|
|
12114
|
+
deserialize(params) {
|
|
12115
|
+
if (!params) {
|
|
12116
|
+
return;
|
|
12117
|
+
}
|
|
12118
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
12119
|
+
|
|
12120
|
+
}
|
|
12121
|
+
}
|
|
12122
|
+
|
|
12123
|
+
/**
|
|
12124
|
+
* ModifyDatabaseOwner response structure.
|
|
12125
|
+
* @class
|
|
12126
|
+
*/
|
|
12127
|
+
class ModifyDatabaseOwnerResponse extends AbstractModel {
|
|
12128
|
+
constructor(){
|
|
12129
|
+
super();
|
|
12130
|
+
|
|
12131
|
+
/**
|
|
12132
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12133
|
+
* @type {string || null}
|
|
12134
|
+
*/
|
|
12135
|
+
this.RequestId = null;
|
|
12136
|
+
|
|
12137
|
+
}
|
|
12138
|
+
|
|
12139
|
+
/**
|
|
12140
|
+
* @private
|
|
12141
|
+
*/
|
|
12142
|
+
deserialize(params) {
|
|
12143
|
+
if (!params) {
|
|
12144
|
+
return;
|
|
12145
|
+
}
|
|
12146
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12147
|
+
|
|
12148
|
+
}
|
|
12149
|
+
}
|
|
12150
|
+
|
|
10442
12151
|
/**
|
|
10443
12152
|
* ModifySwitchTimePeriod request structure.
|
|
10444
12153
|
* @class
|
|
@@ -10474,6 +12183,34 @@ class ModifySwitchTimePeriodRequest extends AbstractModel {
|
|
|
10474
12183
|
}
|
|
10475
12184
|
}
|
|
10476
12185
|
|
|
12186
|
+
/**
|
|
12187
|
+
* CreateAccount response structure.
|
|
12188
|
+
* @class
|
|
12189
|
+
*/
|
|
12190
|
+
class CreateAccountResponse extends AbstractModel {
|
|
12191
|
+
constructor(){
|
|
12192
|
+
super();
|
|
12193
|
+
|
|
12194
|
+
/**
|
|
12195
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12196
|
+
* @type {string || null}
|
|
12197
|
+
*/
|
|
12198
|
+
this.RequestId = null;
|
|
12199
|
+
|
|
12200
|
+
}
|
|
12201
|
+
|
|
12202
|
+
/**
|
|
12203
|
+
* @private
|
|
12204
|
+
*/
|
|
12205
|
+
deserialize(params) {
|
|
12206
|
+
if (!params) {
|
|
12207
|
+
return;
|
|
12208
|
+
}
|
|
12209
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12210
|
+
|
|
12211
|
+
}
|
|
12212
|
+
}
|
|
12213
|
+
|
|
10477
12214
|
/**
|
|
10478
12215
|
* DescribeSlowQueryList request structure.
|
|
10479
12216
|
* @class
|
|
@@ -10552,30 +12289,30 @@ class DescribeSlowQueryListRequest extends AbstractModel {
|
|
|
10552
12289
|
}
|
|
10553
12290
|
|
|
10554
12291
|
/**
|
|
10555
|
-
*
|
|
12292
|
+
* DescribeCloneDBInstanceSpec request structure.
|
|
10556
12293
|
* @class
|
|
10557
12294
|
*/
|
|
10558
|
-
class
|
|
12295
|
+
class DescribeCloneDBInstanceSpecRequest extends AbstractModel {
|
|
10559
12296
|
constructor(){
|
|
10560
12297
|
super();
|
|
10561
12298
|
|
|
10562
12299
|
/**
|
|
10563
|
-
*
|
|
10564
|
-
* @type {
|
|
12300
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
12301
|
+
* @type {string || null}
|
|
10565
12302
|
*/
|
|
10566
|
-
this.
|
|
12303
|
+
this.DBInstanceId = null;
|
|
10567
12304
|
|
|
10568
12305
|
/**
|
|
10569
|
-
*
|
|
10570
|
-
* @type {
|
|
12306
|
+
* Basic backup set ID. obtain through the api [DescribeBaseBackups](https://www.tencentcloud.com/document/product/409/54343?lang=en). this parameter and RecoveryTargetTime must be selected. if set simultaneously with RecoveryTargetTime, this parameter takes precedence.
|
|
12307
|
+
* @type {string || null}
|
|
10571
12308
|
*/
|
|
10572
|
-
this.
|
|
12309
|
+
this.BackupSetId = null;
|
|
10573
12310
|
|
|
10574
12311
|
/**
|
|
10575
|
-
*
|
|
12312
|
+
* Restoration time (UTC+8). Either this parameter or `BackupSetId` must be passed in.
|
|
10576
12313
|
* @type {string || null}
|
|
10577
12314
|
*/
|
|
10578
|
-
this.
|
|
12315
|
+
this.RecoveryTargetTime = null;
|
|
10579
12316
|
|
|
10580
12317
|
}
|
|
10581
12318
|
|
|
@@ -10586,17 +12323,9 @@ class DescribeDBInstanceParametersResponse extends AbstractModel {
|
|
|
10586
12323
|
if (!params) {
|
|
10587
12324
|
return;
|
|
10588
12325
|
}
|
|
10589
|
-
this.
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
this.Detail = new Array();
|
|
10593
|
-
for (let z in params.Detail) {
|
|
10594
|
-
let obj = new ParamInfo();
|
|
10595
|
-
obj.deserialize(params.Detail[z]);
|
|
10596
|
-
this.Detail.push(obj);
|
|
10597
|
-
}
|
|
10598
|
-
}
|
|
10599
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12326
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
12327
|
+
this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
|
|
12328
|
+
this.RecoveryTargetTime = 'RecoveryTargetTime' in params ? params.RecoveryTargetTime : null;
|
|
10600
12329
|
|
|
10601
12330
|
}
|
|
10602
12331
|
}
|
|
@@ -10659,32 +12388,74 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
10659
12388
|
}
|
|
10660
12389
|
|
|
10661
12390
|
/**
|
|
10662
|
-
*
|
|
12391
|
+
* ModifyDatabaseOwner request structure.
|
|
10663
12392
|
* @class
|
|
10664
12393
|
*/
|
|
10665
|
-
class
|
|
12394
|
+
class ModifyDatabaseOwnerRequest extends AbstractModel {
|
|
10666
12395
|
constructor(){
|
|
10667
12396
|
super();
|
|
10668
12397
|
|
|
10669
12398
|
/**
|
|
10670
|
-
* Instance ID
|
|
10671
|
-
* @type {
|
|
12399
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/api/409/16773?from_cn_redirect=1).
|
|
12400
|
+
* @type {string || null}
|
|
10672
12401
|
*/
|
|
10673
|
-
this.
|
|
12402
|
+
this.DBInstanceId = null;
|
|
10674
12403
|
|
|
10675
12404
|
/**
|
|
10676
|
-
*
|
|
10677
|
-
|
|
10678
|
-
<Li>Postpaid: Pay-as-you-go, this parameter does not take effect.</li>.
|
|
10679
|
-
* @type {number || null}
|
|
12405
|
+
* Database name. obtain through the api [DescribeDatabases](https://www.tencentcloud.com/document/api/409/43353?from_cn_redirect=1).
|
|
12406
|
+
* @type {string || null}
|
|
10680
12407
|
*/
|
|
10681
|
-
this.
|
|
12408
|
+
this.DatabaseName = null;
|
|
10682
12409
|
|
|
10683
12410
|
/**
|
|
10684
|
-
*
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
12411
|
+
* New owner of the database. obtain through the api [DescribeAccounts](https://www.tencentcloud.com/document/api/409/18109?from_cn_redirect=1).
|
|
12412
|
+
* @type {string || null}
|
|
12413
|
+
*/
|
|
12414
|
+
this.DatabaseOwner = null;
|
|
12415
|
+
|
|
12416
|
+
}
|
|
12417
|
+
|
|
12418
|
+
/**
|
|
12419
|
+
* @private
|
|
12420
|
+
*/
|
|
12421
|
+
deserialize(params) {
|
|
12422
|
+
if (!params) {
|
|
12423
|
+
return;
|
|
12424
|
+
}
|
|
12425
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
12426
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
12427
|
+
this.DatabaseOwner = 'DatabaseOwner' in params ? params.DatabaseOwner : null;
|
|
12428
|
+
|
|
12429
|
+
}
|
|
12430
|
+
}
|
|
12431
|
+
|
|
12432
|
+
/**
|
|
12433
|
+
* DisIsolateDBInstances request structure.
|
|
12434
|
+
* @class
|
|
12435
|
+
*/
|
|
12436
|
+
class DisIsolateDBInstancesRequest extends AbstractModel {
|
|
12437
|
+
constructor(){
|
|
12438
|
+
super();
|
|
12439
|
+
|
|
12440
|
+
/**
|
|
12441
|
+
* Instance ID list. obtain through the api [DescribeDBInstances](https://www.tencentcloud.comom/document/api/409/16773?from_cn_redirect=1). supports de-isolating multiple instances simultaneously.
|
|
12442
|
+
* @type {Array.<string> || null}
|
|
12443
|
+
*/
|
|
12444
|
+
this.DBInstanceIdSet = null;
|
|
12445
|
+
|
|
12446
|
+
/**
|
|
12447
|
+
* Purchase duration, in months.
|
|
12448
|
+
<Li>Prepaid: Yearly/monthly subscription, supports `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `24`, and `36`.</li>.
|
|
12449
|
+
<Li>Postpaid: Pay-as-you-go, this parameter does not take effect.</li>.
|
|
12450
|
+
* @type {number || null}
|
|
12451
|
+
*/
|
|
12452
|
+
this.Period = null;
|
|
12453
|
+
|
|
12454
|
+
/**
|
|
12455
|
+
* Whether to use vouchers.
|
|
12456
|
+
<li>true: use.</li>.
|
|
12457
|
+
<li>false: non-use.</li>.
|
|
12458
|
+
Default value: `false`.
|
|
10688
12459
|
* @type {boolean || null}
|
|
10689
12460
|
*/
|
|
10690
12461
|
this.AutoVoucher = null;
|
|
@@ -10713,18 +12484,18 @@ Default value: `false`.
|
|
|
10713
12484
|
}
|
|
10714
12485
|
|
|
10715
12486
|
/**
|
|
10716
|
-
*
|
|
12487
|
+
* CreateBackupPlan response structure.
|
|
10717
12488
|
* @class
|
|
10718
12489
|
*/
|
|
10719
|
-
class
|
|
12490
|
+
class CreateBackupPlanResponse extends AbstractModel {
|
|
10720
12491
|
constructor(){
|
|
10721
12492
|
super();
|
|
10722
12493
|
|
|
10723
12494
|
/**
|
|
10724
|
-
*
|
|
10725
|
-
* @type {
|
|
12495
|
+
* Backup policy ID.
|
|
12496
|
+
* @type {string || null}
|
|
10726
12497
|
*/
|
|
10727
|
-
this.
|
|
12498
|
+
this.PlanId = null;
|
|
10728
12499
|
|
|
10729
12500
|
/**
|
|
10730
12501
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -10741,37 +12512,31 @@ class RestartDBInstanceResponse extends AbstractModel {
|
|
|
10741
12512
|
if (!params) {
|
|
10742
12513
|
return;
|
|
10743
12514
|
}
|
|
10744
|
-
this.
|
|
12515
|
+
this.PlanId = 'PlanId' in params ? params.PlanId : null;
|
|
10745
12516
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
10746
12517
|
|
|
10747
12518
|
}
|
|
10748
12519
|
}
|
|
10749
12520
|
|
|
10750
12521
|
/**
|
|
10751
|
-
*
|
|
12522
|
+
* LockAccount request structure.
|
|
10752
12523
|
* @class
|
|
10753
12524
|
*/
|
|
10754
|
-
class
|
|
12525
|
+
class LockAccountRequest extends AbstractModel {
|
|
10755
12526
|
constructor(){
|
|
10756
12527
|
super();
|
|
10757
12528
|
|
|
10758
12529
|
/**
|
|
10759
|
-
* Instance ID
|
|
12530
|
+
* Instance ID.
|
|
10760
12531
|
* @type {string || null}
|
|
10761
12532
|
*/
|
|
10762
12533
|
this.DBInstanceId = null;
|
|
10763
12534
|
|
|
10764
12535
|
/**
|
|
10765
|
-
*
|
|
10766
|
-
* @type {string || null}
|
|
10767
|
-
*/
|
|
10768
|
-
this.BaseBackupId = null;
|
|
10769
|
-
|
|
10770
|
-
/**
|
|
10771
|
-
* New expiration time
|
|
12536
|
+
* Account name.
|
|
10772
12537
|
* @type {string || null}
|
|
10773
12538
|
*/
|
|
10774
|
-
this.
|
|
12539
|
+
this.UserName = null;
|
|
10775
12540
|
|
|
10776
12541
|
}
|
|
10777
12542
|
|
|
@@ -10783,8 +12548,7 @@ class ModifyBaseBackupExpireTimeRequest extends AbstractModel {
|
|
|
10783
12548
|
return;
|
|
10784
12549
|
}
|
|
10785
12550
|
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
10786
|
-
this.
|
|
10787
|
-
this.NewExpireTime = 'NewExpireTime' in params ? params.NewExpireTime : null;
|
|
12551
|
+
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
10788
12552
|
|
|
10789
12553
|
}
|
|
10790
12554
|
}
|
|
@@ -10848,13 +12612,13 @@ class DescribeDBInstanceSecurityGroupsRequest extends AbstractModel {
|
|
|
10848
12612
|
super();
|
|
10849
12613
|
|
|
10850
12614
|
/**
|
|
10851
|
-
* Instance ID.
|
|
12615
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en). specify either DBInstanceId or ReadOnlyGroupId. if both are provided, ReadOnlyGroupId is ignored.
|
|
10852
12616
|
* @type {string || null}
|
|
10853
12617
|
*/
|
|
10854
12618
|
this.DBInstanceId = null;
|
|
10855
12619
|
|
|
10856
12620
|
/**
|
|
10857
|
-
*
|
|
12621
|
+
* ReadOnlyGroupId. specifies the read-only group ID, which can be obtained through the api [DescribeReadOnlyGroups](https://www.tencentcloud.com/document/product/409/39725?lang=en). valid values: DBInstanceId and ReadOnlyGroupId (at least one is required). if you need to query the associated security group of the read-only group, only ReadOnlyGroupId is required.
|
|
10858
12622
|
* @type {string || null}
|
|
10859
12623
|
*/
|
|
10860
12624
|
this.ReadOnlyGroupId = null;
|
|
@@ -10902,6 +12666,48 @@ class DescribeBackupPlansRequest extends AbstractModel {
|
|
|
10902
12666
|
}
|
|
10903
12667
|
}
|
|
10904
12668
|
|
|
12669
|
+
/**
|
|
12670
|
+
* ModifyBaseBackupExpireTime request structure.
|
|
12671
|
+
* @class
|
|
12672
|
+
*/
|
|
12673
|
+
class ModifyBaseBackupExpireTimeRequest extends AbstractModel {
|
|
12674
|
+
constructor(){
|
|
12675
|
+
super();
|
|
12676
|
+
|
|
12677
|
+
/**
|
|
12678
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
12679
|
+
* @type {string || null}
|
|
12680
|
+
*/
|
|
12681
|
+
this.DBInstanceId = null;
|
|
12682
|
+
|
|
12683
|
+
/**
|
|
12684
|
+
* Data backup ID. obtain through the api [DescribeBaseBackups](https://www.tencentcloud.com/document/product/409/54343?lang=en).
|
|
12685
|
+
* @type {string || null}
|
|
12686
|
+
*/
|
|
12687
|
+
this.BaseBackupId = null;
|
|
12688
|
+
|
|
12689
|
+
/**
|
|
12690
|
+
* New expiration time
|
|
12691
|
+
* @type {string || null}
|
|
12692
|
+
*/
|
|
12693
|
+
this.NewExpireTime = null;
|
|
12694
|
+
|
|
12695
|
+
}
|
|
12696
|
+
|
|
12697
|
+
/**
|
|
12698
|
+
* @private
|
|
12699
|
+
*/
|
|
12700
|
+
deserialize(params) {
|
|
12701
|
+
if (!params) {
|
|
12702
|
+
return;
|
|
12703
|
+
}
|
|
12704
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
12705
|
+
this.BaseBackupId = 'BaseBackupId' in params ? params.BaseBackupId : null;
|
|
12706
|
+
this.NewExpireTime = 'NewExpireTime' in params ? params.NewExpireTime : null;
|
|
12707
|
+
|
|
12708
|
+
}
|
|
12709
|
+
}
|
|
12710
|
+
|
|
10905
12711
|
/**
|
|
10906
12712
|
* ModifyDBInstanceHAConfig response structure.
|
|
10907
12713
|
* @class
|
|
@@ -10930,6 +12736,34 @@ class ModifyDBInstanceHAConfigResponse extends AbstractModel {
|
|
|
10930
12736
|
}
|
|
10931
12737
|
}
|
|
10932
12738
|
|
|
12739
|
+
/**
|
|
12740
|
+
* CreateDatabase response structure.
|
|
12741
|
+
* @class
|
|
12742
|
+
*/
|
|
12743
|
+
class CreateDatabaseResponse extends AbstractModel {
|
|
12744
|
+
constructor(){
|
|
12745
|
+
super();
|
|
12746
|
+
|
|
12747
|
+
/**
|
|
12748
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12749
|
+
* @type {string || null}
|
|
12750
|
+
*/
|
|
12751
|
+
this.RequestId = null;
|
|
12752
|
+
|
|
12753
|
+
}
|
|
12754
|
+
|
|
12755
|
+
/**
|
|
12756
|
+
* @private
|
|
12757
|
+
*/
|
|
12758
|
+
deserialize(params) {
|
|
12759
|
+
if (!params) {
|
|
12760
|
+
return;
|
|
12761
|
+
}
|
|
12762
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12763
|
+
|
|
12764
|
+
}
|
|
12765
|
+
}
|
|
12766
|
+
|
|
10933
12767
|
/**
|
|
10934
12768
|
* RebalanceReadOnlyGroup response structure.
|
|
10935
12769
|
* @class
|
|
@@ -11042,30 +12876,257 @@ class DescribeSlowQueryAnalysisResponse extends AbstractModel {
|
|
|
11042
12876
|
obj.deserialize(params.Detail)
|
|
11043
12877
|
this.Detail = obj;
|
|
11044
12878
|
}
|
|
11045
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12879
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12880
|
+
|
|
12881
|
+
}
|
|
12882
|
+
}
|
|
12883
|
+
|
|
12884
|
+
/**
|
|
12885
|
+
* ModifyDBInstanceParameters request structure.
|
|
12886
|
+
* @class
|
|
12887
|
+
*/
|
|
12888
|
+
class ModifyDBInstanceParametersRequest extends AbstractModel {
|
|
12889
|
+
constructor(){
|
|
12890
|
+
super();
|
|
12891
|
+
|
|
12892
|
+
/**
|
|
12893
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
12894
|
+
* @type {string || null}
|
|
12895
|
+
*/
|
|
12896
|
+
this.DBInstanceId = null;
|
|
12897
|
+
|
|
12898
|
+
/**
|
|
12899
|
+
* Parameters to be modified and expected values.
|
|
12900
|
+
* @type {Array.<ParamEntry> || null}
|
|
12901
|
+
*/
|
|
12902
|
+
this.ParamList = null;
|
|
12903
|
+
|
|
12904
|
+
}
|
|
12905
|
+
|
|
12906
|
+
/**
|
|
12907
|
+
* @private
|
|
12908
|
+
*/
|
|
12909
|
+
deserialize(params) {
|
|
12910
|
+
if (!params) {
|
|
12911
|
+
return;
|
|
12912
|
+
}
|
|
12913
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
12914
|
+
|
|
12915
|
+
if (params.ParamList) {
|
|
12916
|
+
this.ParamList = new Array();
|
|
12917
|
+
for (let z in params.ParamList) {
|
|
12918
|
+
let obj = new ParamEntry();
|
|
12919
|
+
obj.deserialize(params.ParamList[z]);
|
|
12920
|
+
this.ParamList.push(obj);
|
|
12921
|
+
}
|
|
12922
|
+
}
|
|
12923
|
+
|
|
12924
|
+
}
|
|
12925
|
+
}
|
|
12926
|
+
|
|
12927
|
+
/**
|
|
12928
|
+
* Exclusive cluster-related information, used for querying the user's exclusive cluster list.
|
|
12929
|
+
* @class
|
|
12930
|
+
*/
|
|
12931
|
+
class DedicatedCluster extends AbstractModel {
|
|
12932
|
+
constructor(){
|
|
12933
|
+
super();
|
|
12934
|
+
|
|
12935
|
+
/**
|
|
12936
|
+
* CDC ID.
|
|
12937
|
+
* @type {string || null}
|
|
12938
|
+
*/
|
|
12939
|
+
this.DedicatedClusterId = null;
|
|
12940
|
+
|
|
12941
|
+
/**
|
|
12942
|
+
* Dedicated cluster name.
|
|
12943
|
+
* @type {string || null}
|
|
12944
|
+
*/
|
|
12945
|
+
this.Name = null;
|
|
12946
|
+
|
|
12947
|
+
/**
|
|
12948
|
+
* Specifies the AZ of the exclusive cluster.
|
|
12949
|
+
* @type {string || null}
|
|
12950
|
+
*/
|
|
12951
|
+
this.Zone = null;
|
|
12952
|
+
|
|
12953
|
+
/**
|
|
12954
|
+
* Disaster recovery cluster.
|
|
12955
|
+
* @type {Array.<string> || null}
|
|
12956
|
+
*/
|
|
12957
|
+
this.StandbyDedicatedClusterSet = null;
|
|
12958
|
+
|
|
12959
|
+
/**
|
|
12960
|
+
* Specifies the instance count.
|
|
12961
|
+
* @type {number || null}
|
|
12962
|
+
*/
|
|
12963
|
+
this.InstanceCount = null;
|
|
12964
|
+
|
|
12965
|
+
/**
|
|
12966
|
+
* Total number of cpus.
|
|
12967
|
+
* @type {number || null}
|
|
12968
|
+
*/
|
|
12969
|
+
this.CpuTotal = null;
|
|
12970
|
+
|
|
12971
|
+
/**
|
|
12972
|
+
* Specifies the available amount of Cpu.
|
|
12973
|
+
* @type {number || null}
|
|
12974
|
+
*/
|
|
12975
|
+
this.CpuAvailable = null;
|
|
12976
|
+
|
|
12977
|
+
/**
|
|
12978
|
+
* Total memory capacity in GB.
|
|
12979
|
+
* @type {number || null}
|
|
12980
|
+
*/
|
|
12981
|
+
this.MemTotal = null;
|
|
12982
|
+
|
|
12983
|
+
/**
|
|
12984
|
+
* Available memory in GB.
|
|
12985
|
+
* @type {number || null}
|
|
12986
|
+
*/
|
|
12987
|
+
this.MemAvailable = null;
|
|
12988
|
+
|
|
12989
|
+
/**
|
|
12990
|
+
* Total disk capacity (unit: GB).
|
|
12991
|
+
* @type {number || null}
|
|
12992
|
+
*/
|
|
12993
|
+
this.DiskTotal = null;
|
|
12994
|
+
|
|
12995
|
+
/**
|
|
12996
|
+
* Disk availability (unit: GB).
|
|
12997
|
+
* @type {number || null}
|
|
12998
|
+
*/
|
|
12999
|
+
this.DiskAvailable = null;
|
|
13000
|
+
|
|
13001
|
+
}
|
|
13002
|
+
|
|
13003
|
+
/**
|
|
13004
|
+
* @private
|
|
13005
|
+
*/
|
|
13006
|
+
deserialize(params) {
|
|
13007
|
+
if (!params) {
|
|
13008
|
+
return;
|
|
13009
|
+
}
|
|
13010
|
+
this.DedicatedClusterId = 'DedicatedClusterId' in params ? params.DedicatedClusterId : null;
|
|
13011
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
13012
|
+
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
13013
|
+
this.StandbyDedicatedClusterSet = 'StandbyDedicatedClusterSet' in params ? params.StandbyDedicatedClusterSet : null;
|
|
13014
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
13015
|
+
this.CpuTotal = 'CpuTotal' in params ? params.CpuTotal : null;
|
|
13016
|
+
this.CpuAvailable = 'CpuAvailable' in params ? params.CpuAvailable : null;
|
|
13017
|
+
this.MemTotal = 'MemTotal' in params ? params.MemTotal : null;
|
|
13018
|
+
this.MemAvailable = 'MemAvailable' in params ? params.MemAvailable : null;
|
|
13019
|
+
this.DiskTotal = 'DiskTotal' in params ? params.DiskTotal : null;
|
|
13020
|
+
this.DiskAvailable = 'DiskAvailable' in params ? params.DiskAvailable : null;
|
|
13021
|
+
|
|
13022
|
+
}
|
|
13023
|
+
}
|
|
13024
|
+
|
|
13025
|
+
/**
|
|
13026
|
+
* PostgreSQL for Serverless instance account description
|
|
13027
|
+
* @class
|
|
13028
|
+
*/
|
|
13029
|
+
class ServerlessDBAccount extends AbstractModel {
|
|
13030
|
+
constructor(){
|
|
13031
|
+
super();
|
|
13032
|
+
|
|
13033
|
+
/**
|
|
13034
|
+
* Username
|
|
13035
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
13036
|
+
* @type {string || null}
|
|
13037
|
+
*/
|
|
13038
|
+
this.DBUser = null;
|
|
13039
|
+
|
|
13040
|
+
/**
|
|
13041
|
+
* Password
|
|
13042
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
13043
|
+
* @type {string || null}
|
|
13044
|
+
*/
|
|
13045
|
+
this.DBPassword = null;
|
|
13046
|
+
|
|
13047
|
+
/**
|
|
13048
|
+
* The maximum number of connections
|
|
13049
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
13050
|
+
* @type {number || null}
|
|
13051
|
+
*/
|
|
13052
|
+
this.DBConnLimit = null;
|
|
13053
|
+
|
|
13054
|
+
}
|
|
13055
|
+
|
|
13056
|
+
/**
|
|
13057
|
+
* @private
|
|
13058
|
+
*/
|
|
13059
|
+
deserialize(params) {
|
|
13060
|
+
if (!params) {
|
|
13061
|
+
return;
|
|
13062
|
+
}
|
|
13063
|
+
this.DBUser = 'DBUser' in params ? params.DBUser : null;
|
|
13064
|
+
this.DBPassword = 'DBPassword' in params ? params.DBPassword : null;
|
|
13065
|
+
this.DBConnLimit = 'DBConnLimit' in params ? params.DBConnLimit : null;
|
|
13066
|
+
|
|
13067
|
+
}
|
|
13068
|
+
}
|
|
13069
|
+
|
|
13070
|
+
/**
|
|
13071
|
+
* Analyze the execution time of slow query statements by classifying them to different time ranges
|
|
13072
|
+
* @class
|
|
13073
|
+
*/
|
|
13074
|
+
class DurationAnalysis extends AbstractModel {
|
|
13075
|
+
constructor(){
|
|
13076
|
+
super();
|
|
13077
|
+
|
|
13078
|
+
/**
|
|
13079
|
+
* Time range
|
|
13080
|
+
* @type {string || null}
|
|
13081
|
+
*/
|
|
13082
|
+
this.TimeSegment = null;
|
|
13083
|
+
|
|
13084
|
+
/**
|
|
13085
|
+
* The number of slow query statements whose execution time falls within the time range
|
|
13086
|
+
* @type {number || null}
|
|
13087
|
+
*/
|
|
13088
|
+
this.Count = null;
|
|
13089
|
+
|
|
13090
|
+
}
|
|
13091
|
+
|
|
13092
|
+
/**
|
|
13093
|
+
* @private
|
|
13094
|
+
*/
|
|
13095
|
+
deserialize(params) {
|
|
13096
|
+
if (!params) {
|
|
13097
|
+
return;
|
|
13098
|
+
}
|
|
13099
|
+
this.TimeSegment = 'TimeSegment' in params ? params.TimeSegment : null;
|
|
13100
|
+
this.Count = 'Count' in params ? params.Count : null;
|
|
11046
13101
|
|
|
11047
13102
|
}
|
|
11048
13103
|
}
|
|
11049
13104
|
|
|
11050
13105
|
/**
|
|
11051
|
-
*
|
|
13106
|
+
* DescribeDBSlowlogs response structure.
|
|
11052
13107
|
* @class
|
|
11053
13108
|
*/
|
|
11054
|
-
class
|
|
13109
|
+
class DescribeDBSlowlogsResponse extends AbstractModel {
|
|
11055
13110
|
constructor(){
|
|
11056
13111
|
super();
|
|
11057
13112
|
|
|
11058
13113
|
/**
|
|
11059
|
-
*
|
|
11060
|
-
* @type {
|
|
13114
|
+
* Number of date entries returned this time
|
|
13115
|
+
* @type {number || null}
|
|
11061
13116
|
*/
|
|
11062
|
-
this.
|
|
13117
|
+
this.TotalCount = null;
|
|
11063
13118
|
|
|
11064
13119
|
/**
|
|
11065
|
-
*
|
|
11066
|
-
* @type {
|
|
13120
|
+
* Slow query log details
|
|
13121
|
+
* @type {SlowlogDetail || null}
|
|
11067
13122
|
*/
|
|
11068
|
-
this.
|
|
13123
|
+
this.Detail = null;
|
|
13124
|
+
|
|
13125
|
+
/**
|
|
13126
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
13127
|
+
* @type {string || null}
|
|
13128
|
+
*/
|
|
13129
|
+
this.RequestId = null;
|
|
11069
13130
|
|
|
11070
13131
|
}
|
|
11071
13132
|
|
|
@@ -11076,63 +13137,43 @@ class ModifyDBInstanceParametersRequest extends AbstractModel {
|
|
|
11076
13137
|
if (!params) {
|
|
11077
13138
|
return;
|
|
11078
13139
|
}
|
|
11079
|
-
this.
|
|
13140
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
11080
13141
|
|
|
11081
|
-
if (params.
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11085
|
-
obj.deserialize(params.ParamList[z]);
|
|
11086
|
-
this.ParamList.push(obj);
|
|
11087
|
-
}
|
|
13142
|
+
if (params.Detail) {
|
|
13143
|
+
let obj = new SlowlogDetail();
|
|
13144
|
+
obj.deserialize(params.Detail)
|
|
13145
|
+
this.Detail = obj;
|
|
11088
13146
|
}
|
|
13147
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11089
13148
|
|
|
11090
13149
|
}
|
|
11091
13150
|
}
|
|
11092
13151
|
|
|
11093
13152
|
/**
|
|
11094
|
-
*
|
|
13153
|
+
* DescribeAccountPrivileges request structure.
|
|
11095
13154
|
* @class
|
|
11096
13155
|
*/
|
|
11097
|
-
class
|
|
13156
|
+
class DescribeAccountPrivilegesRequest extends AbstractModel {
|
|
11098
13157
|
constructor(){
|
|
11099
13158
|
super();
|
|
11100
13159
|
|
|
11101
13160
|
/**
|
|
11102
|
-
*
|
|
11103
|
-
* @type {string || null}
|
|
11104
|
-
*/
|
|
11105
|
-
this.RawQuery = null;
|
|
11106
|
-
|
|
11107
|
-
/**
|
|
11108
|
-
* The database queried by the slow query statement
|
|
11109
|
-
* @type {string || null}
|
|
11110
|
-
*/
|
|
11111
|
-
this.DatabaseName = null;
|
|
11112
|
-
|
|
11113
|
-
/**
|
|
11114
|
-
* The execution time of the slow query statement
|
|
11115
|
-
* @type {number || null}
|
|
11116
|
-
*/
|
|
11117
|
-
this.Duration = null;
|
|
11118
|
-
|
|
11119
|
-
/**
|
|
11120
|
-
* The client that executes the slow query statement
|
|
13161
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
11121
13162
|
* @type {string || null}
|
|
11122
13163
|
*/
|
|
11123
|
-
this.
|
|
13164
|
+
this.DBInstanceId = null;
|
|
11124
13165
|
|
|
11125
13166
|
/**
|
|
11126
|
-
*
|
|
13167
|
+
* Describes the permissions owned by this account for a database object. the account name can be obtained through the [DescribeAccounts](https://www.tencentcloud.com/document/product/409/18109?lang=en) api.
|
|
11127
13168
|
* @type {string || null}
|
|
11128
13169
|
*/
|
|
11129
13170
|
this.UserName = null;
|
|
11130
13171
|
|
|
11131
13172
|
/**
|
|
11132
|
-
*
|
|
11133
|
-
* @type {
|
|
13173
|
+
* Specifies the database object information to query.
|
|
13174
|
+
* @type {Array.<DatabaseObject> || null}
|
|
11134
13175
|
*/
|
|
11135
|
-
this.
|
|
13176
|
+
this.DatabaseObjectSet = null;
|
|
11136
13177
|
|
|
11137
13178
|
}
|
|
11138
13179
|
|
|
@@ -11143,35 +13184,34 @@ class RawSlowQuery extends AbstractModel {
|
|
|
11143
13184
|
if (!params) {
|
|
11144
13185
|
return;
|
|
11145
13186
|
}
|
|
11146
|
-
this.
|
|
11147
|
-
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
11148
|
-
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
11149
|
-
this.ClientAddr = 'ClientAddr' in params ? params.ClientAddr : null;
|
|
13187
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
11150
13188
|
this.UserName = 'UserName' in params ? params.UserName : null;
|
|
11151
|
-
|
|
13189
|
+
|
|
13190
|
+
if (params.DatabaseObjectSet) {
|
|
13191
|
+
this.DatabaseObjectSet = new Array();
|
|
13192
|
+
for (let z in params.DatabaseObjectSet) {
|
|
13193
|
+
let obj = new DatabaseObject();
|
|
13194
|
+
obj.deserialize(params.DatabaseObjectSet[z]);
|
|
13195
|
+
this.DatabaseObjectSet.push(obj);
|
|
13196
|
+
}
|
|
13197
|
+
}
|
|
11152
13198
|
|
|
11153
13199
|
}
|
|
11154
13200
|
}
|
|
11155
13201
|
|
|
11156
13202
|
/**
|
|
11157
|
-
*
|
|
13203
|
+
* DescribeReadOnlyGroups response structure.
|
|
11158
13204
|
* @class
|
|
11159
13205
|
*/
|
|
11160
|
-
class
|
|
13206
|
+
class DescribeReadOnlyGroupsResponse extends AbstractModel {
|
|
11161
13207
|
constructor(){
|
|
11162
13208
|
super();
|
|
11163
13209
|
|
|
11164
13210
|
/**
|
|
11165
|
-
*
|
|
11166
|
-
* @type {
|
|
11167
|
-
*/
|
|
11168
|
-
this.TotalCount = null;
|
|
11169
|
-
|
|
11170
|
-
/**
|
|
11171
|
-
* Slow query log details
|
|
11172
|
-
* @type {SlowlogDetail || null}
|
|
13211
|
+
* RO group list
|
|
13212
|
+
* @type {Array.<ReadOnlyGroup> || null}
|
|
11173
13213
|
*/
|
|
11174
|
-
this.
|
|
13214
|
+
this.ReadOnlyGroupList = null;
|
|
11175
13215
|
|
|
11176
13216
|
/**
|
|
11177
13217
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -11188,12 +13228,14 @@ class DescribeDBSlowlogsResponse extends AbstractModel {
|
|
|
11188
13228
|
if (!params) {
|
|
11189
13229
|
return;
|
|
11190
13230
|
}
|
|
11191
|
-
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
11192
13231
|
|
|
11193
|
-
if (params.
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
13232
|
+
if (params.ReadOnlyGroupList) {
|
|
13233
|
+
this.ReadOnlyGroupList = new Array();
|
|
13234
|
+
for (let z in params.ReadOnlyGroupList) {
|
|
13235
|
+
let obj = new ReadOnlyGroup();
|
|
13236
|
+
obj.deserialize(params.ReadOnlyGroupList[z]);
|
|
13237
|
+
this.ReadOnlyGroupList.push(obj);
|
|
13238
|
+
}
|
|
11197
13239
|
}
|
|
11198
13240
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11199
13241
|
|
|
@@ -11264,7 +13306,7 @@ class DescribeAccountsResponse extends AbstractModel {
|
|
|
11264
13306
|
this.TotalCount = null;
|
|
11265
13307
|
|
|
11266
13308
|
/**
|
|
11267
|
-
* Detailed account list information.
|
|
13309
|
+
* Detailed account list information. when the CreateTime field is 0000-00-00 00:00:00, it means the corresponding account is created by direct connection database, not through the CreateAccount api.
|
|
11268
13310
|
* @type {Array.<AccountInfo> || null}
|
|
11269
13311
|
*/
|
|
11270
13312
|
this.Details = null;
|
|
@@ -11863,30 +13905,42 @@ class ModifyDBInstanceSpecResponse extends AbstractModel {
|
|
|
11863
13905
|
}
|
|
11864
13906
|
|
|
11865
13907
|
/**
|
|
11866
|
-
*
|
|
13908
|
+
* DescribeBackupDownloadURL request structure.
|
|
11867
13909
|
* @class
|
|
11868
13910
|
*/
|
|
11869
|
-
class
|
|
13911
|
+
class DescribeBackupDownloadURLRequest extends AbstractModel {
|
|
11870
13912
|
constructor(){
|
|
11871
13913
|
super();
|
|
11872
13914
|
|
|
11873
13915
|
/**
|
|
11874
|
-
*
|
|
11875
|
-
* @type {
|
|
13916
|
+
* Instance ID. obtain through the api [DescribeDBInstances](https://www.tencentcloud.com/document/product/409/16773?lang=en).
|
|
13917
|
+
* @type {string || null}
|
|
11876
13918
|
*/
|
|
11877
|
-
this.
|
|
13919
|
+
this.DBInstanceId = null;
|
|
11878
13920
|
|
|
11879
13921
|
/**
|
|
11880
|
-
*
|
|
11881
|
-
* @type {
|
|
13922
|
+
* Backup type. Valid values: `LogBackup`, `BaseBackup`.
|
|
13923
|
+
* @type {string || null}
|
|
11882
13924
|
*/
|
|
11883
|
-
this.
|
|
13925
|
+
this.BackupType = null;
|
|
11884
13926
|
|
|
11885
13927
|
/**
|
|
11886
|
-
*
|
|
13928
|
+
* Unique backup ID.
|
|
11887
13929
|
* @type {string || null}
|
|
11888
13930
|
*/
|
|
11889
|
-
this.
|
|
13931
|
+
this.BackupId = null;
|
|
13932
|
+
|
|
13933
|
+
/**
|
|
13934
|
+
* Validity time of the connection. value range: [0,36]. default value: 12 hours.
|
|
13935
|
+
* @type {number || null}
|
|
13936
|
+
*/
|
|
13937
|
+
this.URLExpireTime = null;
|
|
13938
|
+
|
|
13939
|
+
/**
|
|
13940
|
+
* Backup download restriction
|
|
13941
|
+
* @type {BackupDownloadRestriction || null}
|
|
13942
|
+
*/
|
|
13943
|
+
this.BackupDownloadRestriction = null;
|
|
11890
13944
|
|
|
11891
13945
|
}
|
|
11892
13946
|
|
|
@@ -11897,17 +13951,16 @@ class DescribeBaseBackupsResponse extends AbstractModel {
|
|
|
11897
13951
|
if (!params) {
|
|
11898
13952
|
return;
|
|
11899
13953
|
}
|
|
11900
|
-
this.
|
|
13954
|
+
this.DBInstanceId = 'DBInstanceId' in params ? params.DBInstanceId : null;
|
|
13955
|
+
this.BackupType = 'BackupType' in params ? params.BackupType : null;
|
|
13956
|
+
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
13957
|
+
this.URLExpireTime = 'URLExpireTime' in params ? params.URLExpireTime : null;
|
|
11901
13958
|
|
|
11902
|
-
if (params.
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
obj.deserialize(params.BaseBackupSet[z]);
|
|
11907
|
-
this.BaseBackupSet.push(obj);
|
|
11908
|
-
}
|
|
13959
|
+
if (params.BackupDownloadRestriction) {
|
|
13960
|
+
let obj = new BackupDownloadRestriction();
|
|
13961
|
+
obj.deserialize(params.BackupDownloadRestriction)
|
|
13962
|
+
this.BackupDownloadRestriction = obj;
|
|
11909
13963
|
}
|
|
11910
|
-
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
11911
13964
|
|
|
11912
13965
|
}
|
|
11913
13966
|
}
|
|
@@ -11963,56 +14016,24 @@ class DescribeDBXlogsResponse extends AbstractModel {
|
|
|
11963
14016
|
}
|
|
11964
14017
|
|
|
11965
14018
|
/**
|
|
11966
|
-
*
|
|
14019
|
+
* ModifyDBInstanceChargeType response structure.
|
|
11967
14020
|
* @class
|
|
11968
14021
|
*/
|
|
11969
|
-
class
|
|
14022
|
+
class ModifyDBInstanceChargeTypeResponse extends AbstractModel {
|
|
11970
14023
|
constructor(){
|
|
11971
14024
|
super();
|
|
11972
14025
|
|
|
11973
14026
|
/**
|
|
11974
|
-
*
|
|
11975
|
-
* @type {string || null}
|
|
11976
|
-
*/
|
|
11977
|
-
this.DBInstanceId = null;
|
|
11978
|
-
|
|
11979
|
-
/**
|
|
11980
|
-
* Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field in the returned value of the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
|
|
11981
|
-
|
|
11982
|
-
* @type {string || null}
|
|
11983
|
-
*/
|
|
11984
|
-
this.TargetDBKernelVersion = null;
|
|
11985
|
-
|
|
11986
|
-
/**
|
|
11987
|
-
* Switch time after the kernel version upgrade for the specified instance. Valid values:
|
|
11988
|
-
<li>`0`: Switch now.
|
|
11989
|
-
<li>`1`: Switch at the specified time.
|
|
11990
|
-
<li>`2`: Switch in the maintenance time.
|
|
11991
|
-
Default value: `0`.
|
|
11992
|
-
* @type {number || null}
|
|
11993
|
-
*/
|
|
11994
|
-
this.SwitchTag = null;
|
|
11995
|
-
|
|
11996
|
-
/**
|
|
11997
|
-
* Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is `0` or `2`, this parameter is invalid.
|
|
14027
|
+
* Order name
|
|
11998
14028
|
* @type {string || null}
|
|
11999
14029
|
*/
|
|
12000
|
-
this.
|
|
14030
|
+
this.DealName = null;
|
|
12001
14031
|
|
|
12002
14032
|
/**
|
|
12003
|
-
*
|
|
14033
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12004
14034
|
* @type {string || null}
|
|
12005
14035
|
*/
|
|
12006
|
-
this.
|
|
12007
|
-
|
|
12008
|
-
/**
|
|
12009
|
-
* Whether to perform a pre-check on the current operation of upgrading the instance kernel version. Valid values:
|
|
12010
|
-
u200c<li>u200c`true`: Performs a pre-check without upgrading the kernel version. Check items include request parameters, kernel version compatibility, and instance parameters.
|
|
12011
|
-
u200cu200c<li>`false`: Sends a normal request and upgrades the kernel version directly after the check is passed.
|
|
12012
|
-
Default value: `false`.
|
|
12013
|
-
* @type {boolean || null}
|
|
12014
|
-
*/
|
|
12015
|
-
this.DryRun = null;
|
|
14036
|
+
this.RequestId = null;
|
|
12016
14037
|
|
|
12017
14038
|
}
|
|
12018
14039
|
|
|
@@ -12023,12 +14044,8 @@ Default value: `false`.
|
|
|
12023
14044
|
if (!params) {
|
|
12024
14045
|
return;
|
|
12025
14046
|
}
|
|
12026
|
-
this.
|
|
12027
|
-
this.
|
|
12028
|
-
this.SwitchTag = 'SwitchTag' in params ? params.SwitchTag : null;
|
|
12029
|
-
this.SwitchStartTime = 'SwitchStartTime' in params ? params.SwitchStartTime : null;
|
|
12030
|
-
this.SwitchEndTime = 'SwitchEndTime' in params ? params.SwitchEndTime : null;
|
|
12031
|
-
this.DryRun = 'DryRun' in params ? params.DryRun : null;
|
|
14047
|
+
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
14048
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12032
14049
|
|
|
12033
14050
|
}
|
|
12034
14051
|
}
|
|
@@ -12054,7 +14071,12 @@ class DescribeBaseBackupsRequest extends AbstractModel {
|
|
|
12054
14071
|
this.MaxFinishTime = null;
|
|
12055
14072
|
|
|
12056
14073
|
/**
|
|
12057
|
-
*
|
|
14074
|
+
* Query using one or more filter criteria. filter criteria currently supported include:.
|
|
14075
|
+
db-instance-id: filter by instance id (string type).
|
|
14076
|
+
db-instance-name: specifies the instance name to filter by, supports fuzzy matching (string type).
|
|
14077
|
+
db-instance-ip: specifies the instance VPC ip for filtering (string type).
|
|
14078
|
+
base-backup-id: filter by backup set id (in string format).
|
|
14079
|
+
db-instance-status: filter by instance status (in string format). valid values refer to the DBInstanceStatus field in the DBInstance structure (https://www.tencentcloud.com/document/product/409/16778#dbinstance).
|
|
12058
14080
|
* @type {Array.<Filter> || null}
|
|
12059
14081
|
*/
|
|
12060
14082
|
this.Filters = null;
|
|
@@ -12072,13 +14094,13 @@ class DescribeBaseBackupsRequest extends AbstractModel {
|
|
|
12072
14094
|
this.Offset = null;
|
|
12073
14095
|
|
|
12074
14096
|
/**
|
|
12075
|
-
*
|
|
14097
|
+
* Specifies the sorting field, supports StartTime, FinishTime, and Size. default value: StartTime.
|
|
12076
14098
|
* @type {string || null}
|
|
12077
14099
|
*/
|
|
12078
14100
|
this.OrderBy = null;
|
|
12079
14101
|
|
|
12080
14102
|
/**
|
|
12081
|
-
* Sorting
|
|
14103
|
+
* Sorting method, including ascending: `asc` and descending: `desc`. the default value is `desc`.
|
|
12082
14104
|
* @type {string || null}
|
|
12083
14105
|
*/
|
|
12084
14106
|
this.OrderByType = null;
|
|
@@ -12120,8 +14142,7 @@ class DescribeEncryptionKeysResponse extends AbstractModel {
|
|
|
12120
14142
|
super();
|
|
12121
14143
|
|
|
12122
14144
|
/**
|
|
12123
|
-
*
|
|
12124
|
-
Note: This field may return `null`, indicating that no valid value can be obtained.
|
|
14145
|
+
* Specifies the key information list of the instance.
|
|
12125
14146
|
* @type {Array.<EncryptionKey> || null}
|
|
12126
14147
|
*/
|
|
12127
14148
|
this.EncryptionKeys = null;
|
|
@@ -12164,12 +14185,17 @@ class CreateReadOnlyGroupNetworkAccessResponse extends AbstractModel {
|
|
|
12164
14185
|
super();
|
|
12165
14186
|
|
|
12166
14187
|
/**
|
|
12167
|
-
*
|
|
12168
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
14188
|
+
* Process ID. FlowId is equivalent to TaskId.
|
|
12169
14189
|
* @type {number || null}
|
|
12170
14190
|
*/
|
|
12171
14191
|
this.FlowId = null;
|
|
12172
14192
|
|
|
14193
|
+
/**
|
|
14194
|
+
* Task ID.
|
|
14195
|
+
* @type {number || null}
|
|
14196
|
+
*/
|
|
14197
|
+
this.TaskId = null;
|
|
14198
|
+
|
|
12173
14199
|
/**
|
|
12174
14200
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12175
14201
|
* @type {string || null}
|
|
@@ -12186,6 +14212,7 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
12186
14212
|
return;
|
|
12187
14213
|
}
|
|
12188
14214
|
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
14215
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
12189
14216
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12190
14217
|
|
|
12191
14218
|
}
|
|
@@ -12241,19 +14268,13 @@ class CreateDBInstancesResponse extends AbstractModel {
|
|
|
12241
14268
|
}
|
|
12242
14269
|
|
|
12243
14270
|
/**
|
|
12244
|
-
*
|
|
14271
|
+
* DeleteAccount response structure.
|
|
12245
14272
|
* @class
|
|
12246
14273
|
*/
|
|
12247
|
-
class
|
|
14274
|
+
class DeleteAccountResponse extends AbstractModel {
|
|
12248
14275
|
constructor(){
|
|
12249
14276
|
super();
|
|
12250
14277
|
|
|
12251
|
-
/**
|
|
12252
|
-
* Order name
|
|
12253
|
-
* @type {string || null}
|
|
12254
|
-
*/
|
|
12255
|
-
this.DealName = null;
|
|
12256
|
-
|
|
12257
14278
|
/**
|
|
12258
14279
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
12259
14280
|
* @type {string || null}
|
|
@@ -12269,7 +14290,6 @@ class ModifyDBInstanceChargeTypeResponse extends AbstractModel {
|
|
|
12269
14290
|
if (!params) {
|
|
12270
14291
|
return;
|
|
12271
14292
|
}
|
|
12272
|
-
this.DealName = 'DealName' in params ? params.DealName : null;
|
|
12273
14293
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
12274
14294
|
|
|
12275
14295
|
}
|
|
@@ -12277,7 +14297,10 @@ class ModifyDBInstanceChargeTypeResponse extends AbstractModel {
|
|
|
12277
14297
|
|
|
12278
14298
|
module.exports = {
|
|
12279
14299
|
CreateDBInstancesRequest: CreateDBInstancesRequest,
|
|
14300
|
+
TaskDetail: TaskDetail,
|
|
12280
14301
|
SetAutoRenewFlagRequest: SetAutoRenewFlagRequest,
|
|
14302
|
+
DeleteBackupPlanResponse: DeleteBackupPlanResponse,
|
|
14303
|
+
DescribeAccountPrivilegesResponse: DescribeAccountPrivilegesResponse,
|
|
12281
14304
|
DescribeDatabasesRequest: DescribeDatabasesRequest,
|
|
12282
14305
|
DescribeDBXlogsRequest: DescribeDBXlogsRequest,
|
|
12283
14306
|
CreateReadOnlyGroupNetworkAccessRequest: CreateReadOnlyGroupNetworkAccessRequest,
|
|
@@ -12292,10 +14315,11 @@ module.exports = {
|
|
|
12292
14315
|
CreateBaseBackupRequest: CreateBaseBackupRequest,
|
|
12293
14316
|
ModifyDBInstanceReadOnlyGroupResponse: ModifyDBInstanceReadOnlyGroupResponse,
|
|
12294
14317
|
ClassInfo: ClassInfo,
|
|
12295
|
-
|
|
14318
|
+
DescribeDBInstanceParametersResponse: DescribeDBInstanceParametersResponse,
|
|
12296
14319
|
DescribeDBInstanceSecurityGroupsResponse: DescribeDBInstanceSecurityGroupsResponse,
|
|
12297
14320
|
BackupPlan: BackupPlan,
|
|
12298
14321
|
RestoreDBInstanceObjectsResponse: RestoreDBInstanceObjectsResponse,
|
|
14322
|
+
SlowlogDetail: SlowlogDetail,
|
|
12299
14323
|
SwitchDBInstancePrimaryRequest: SwitchDBInstancePrimaryRequest,
|
|
12300
14324
|
OpenServerlessDBExtranetAccessRequest: OpenServerlessDBExtranetAccessRequest,
|
|
12301
14325
|
RenewInstanceResponse: RenewInstanceResponse,
|
|
@@ -12306,8 +14330,12 @@ module.exports = {
|
|
|
12306
14330
|
AddDBInstanceToReadOnlyGroupRequest: AddDBInstanceToReadOnlyGroupRequest,
|
|
12307
14331
|
DescribeProductConfigRequest: DescribeProductConfigRequest,
|
|
12308
14332
|
RemoveDBInstanceFromReadOnlyGroupRequest: RemoveDBInstanceFromReadOnlyGroupRequest,
|
|
14333
|
+
CreateAccountRequest: CreateAccountRequest,
|
|
12309
14334
|
InitDBInstancesResponse: InitDBInstancesResponse,
|
|
14335
|
+
DescribeTasksResponse: DescribeTasksResponse,
|
|
14336
|
+
DescribeMaintainTimeWindowResponse: DescribeMaintainTimeWindowResponse,
|
|
12310
14337
|
DescribeDefaultParametersRequest: DescribeDefaultParametersRequest,
|
|
14338
|
+
DescribeDedicatedClustersResponse: DescribeDedicatedClustersResponse,
|
|
12311
14339
|
RenewInstanceRequest: RenewInstanceRequest,
|
|
12312
14340
|
DescribeBackupOverviewRequest: DescribeBackupOverviewRequest,
|
|
12313
14341
|
DescribeRegionsResponse: DescribeRegionsResponse,
|
|
@@ -12320,29 +14348,32 @@ module.exports = {
|
|
|
12320
14348
|
DeleteReadOnlyGroupNetworkAccessRequest: DeleteReadOnlyGroupNetworkAccessRequest,
|
|
12321
14349
|
DescribeBackupDownloadRestrictionRequest: DescribeBackupDownloadRestrictionRequest,
|
|
12322
14350
|
ZoneInfo: ZoneInfo,
|
|
12323
|
-
|
|
14351
|
+
CreateDatabaseRequest: CreateDatabaseRequest,
|
|
12324
14352
|
NormalQueryItem: NormalQueryItem,
|
|
12325
14353
|
Tag: Tag,
|
|
12326
14354
|
DescribeBackupSummariesRequest: DescribeBackupSummariesRequest,
|
|
12327
|
-
|
|
14355
|
+
CreateBackupPlanRequest: CreateBackupPlanRequest,
|
|
12328
14356
|
CloseServerlessDBExtranetAccessRequest: CloseServerlessDBExtranetAccessRequest,
|
|
12329
14357
|
CreateBaseBackupResponse: CreateBaseBackupResponse,
|
|
14358
|
+
LockAccountResponse: LockAccountResponse,
|
|
12330
14359
|
CloneDBInstanceResponse: CloneDBInstanceResponse,
|
|
12331
14360
|
ModifyDBInstanceReadOnlyGroupRequest: ModifyDBInstanceReadOnlyGroupRequest,
|
|
12332
14361
|
AddDBInstanceToReadOnlyGroupResponse: AddDBInstanceToReadOnlyGroupResponse,
|
|
14362
|
+
EncryptionKey: EncryptionKey,
|
|
12333
14363
|
BaseBackup: BaseBackup,
|
|
12334
14364
|
CreateReadOnlyDBInstanceResponse: CreateReadOnlyDBInstanceResponse,
|
|
12335
14365
|
DescribeAvailableRecoveryTimeRequest: DescribeAvailableRecoveryTimeRequest,
|
|
12336
|
-
|
|
14366
|
+
DescribeTasksRequest: DescribeTasksRequest,
|
|
12337
14367
|
DescribeDBInstanceParametersRequest: DescribeDBInstanceParametersRequest,
|
|
12338
14368
|
DescribeOrdersResponse: DescribeOrdersResponse,
|
|
12339
14369
|
DescribeBackupDownloadURLResponse: DescribeBackupDownloadURLResponse,
|
|
12340
14370
|
OpenServerlessDBExtranetAccessResponse: OpenServerlessDBExtranetAccessResponse,
|
|
12341
|
-
|
|
14371
|
+
ModifyMaintainTimeWindowResponse: ModifyMaintainTimeWindowResponse,
|
|
12342
14372
|
InquiryPriceCreateDBInstancesResponse: InquiryPriceCreateDBInstancesResponse,
|
|
12343
14373
|
Version: Version,
|
|
12344
14374
|
CreateDBInstanceNetworkAccessRequest: CreateDBInstanceNetworkAccessRequest,
|
|
12345
14375
|
ModifySwitchTimePeriodResponse: ModifySwitchTimePeriodResponse,
|
|
14376
|
+
TaskSet: TaskSet,
|
|
12346
14377
|
InquiryPriceCreateDBInstancesRequest: InquiryPriceCreateDBInstancesRequest,
|
|
12347
14378
|
DescribeDefaultParametersResponse: DescribeDefaultParametersResponse,
|
|
12348
14379
|
ServerlessDBInstanceNetInfo: ServerlessDBInstanceNetInfo,
|
|
@@ -12354,24 +14385,33 @@ module.exports = {
|
|
|
12354
14385
|
UpgradeDBInstanceRequest: UpgradeDBInstanceRequest,
|
|
12355
14386
|
DescribeZonesRequest: DescribeZonesRequest,
|
|
12356
14387
|
SpecInfo: SpecInfo,
|
|
14388
|
+
ModifyMaintainTimeWindowRequest: ModifyMaintainTimeWindowRequest,
|
|
12357
14389
|
ModifyBackupDownloadRestrictionResponse: ModifyBackupDownloadRestrictionResponse,
|
|
12358
14390
|
ParamVersionRelation: ParamVersionRelation,
|
|
12359
14391
|
DescribeLogBackupsRequest: DescribeLogBackupsRequest,
|
|
12360
14392
|
SetAutoRenewFlagResponse: SetAutoRenewFlagResponse,
|
|
14393
|
+
ModifyPrivilege: ModifyPrivilege,
|
|
12361
14394
|
NetworkAccess: NetworkAccess,
|
|
14395
|
+
DescribeDBInstanceAttributeRequest: DescribeDBInstanceAttributeRequest,
|
|
12362
14396
|
ResetAccountPasswordResponse: ResetAccountPasswordResponse,
|
|
12363
14397
|
RemoveDBInstanceFromReadOnlyGroupResponse: RemoveDBInstanceFromReadOnlyGroupResponse,
|
|
12364
|
-
|
|
14398
|
+
RawSlowQuery: RawSlowQuery,
|
|
14399
|
+
DescribeDatabaseObjectsRequest: DescribeDatabaseObjectsRequest,
|
|
12365
14400
|
DescribeParameterTemplatesResponse: DescribeParameterTemplatesResponse,
|
|
12366
14401
|
ParamSpecRelation: ParamSpecRelation,
|
|
14402
|
+
DatabaseObject: DatabaseObject,
|
|
14403
|
+
UpgradeDBInstanceKernelVersionRequest: UpgradeDBInstanceKernelVersionRequest,
|
|
12367
14404
|
SwitchDBInstancePrimaryResponse: SwitchDBInstancePrimaryResponse,
|
|
14405
|
+
ModifyReadOnlyDBInstanceWeightResponse: ModifyReadOnlyDBInstanceWeightResponse,
|
|
12368
14406
|
ModifyDBInstanceHAConfigRequest: ModifyDBInstanceHAConfigRequest,
|
|
12369
14407
|
PgDeal: PgDeal,
|
|
12370
14408
|
DeleteReadOnlyGroupNetworkAccessResponse: DeleteReadOnlyGroupNetworkAccessResponse,
|
|
14409
|
+
DescribeMaintainTimeWindowRequest: DescribeMaintainTimeWindowRequest,
|
|
12371
14410
|
DescribeBackupSummariesResponse: DescribeBackupSummariesResponse,
|
|
12372
14411
|
DescribeDBErrlogsRequest: DescribeDBErrlogsRequest,
|
|
12373
14412
|
DBBackup: DBBackup,
|
|
12374
|
-
|
|
14413
|
+
ModifyDBInstancesProjectResponse: ModifyDBInstancesProjectResponse,
|
|
14414
|
+
DeleteBackupPlanRequest: DeleteBackupPlanRequest,
|
|
12375
14415
|
CloneDBInstanceRequest: CloneDBInstanceRequest,
|
|
12376
14416
|
DeleteParameterTemplateRequest: DeleteParameterTemplateRequest,
|
|
12377
14417
|
DescribeClassesRequest: DescribeClassesRequest,
|
|
@@ -12386,8 +14426,10 @@ module.exports = {
|
|
|
12386
14426
|
DescribeSlowQueryListResponse: DescribeSlowQueryListResponse,
|
|
12387
14427
|
ServerlessDBInstance: ServerlessDBInstance,
|
|
12388
14428
|
CreateReadOnlyGroupRequest: CreateReadOnlyGroupRequest,
|
|
14429
|
+
ModifyDBInstanceSSLConfigResponse: ModifyDBInstanceSSLConfigResponse,
|
|
12389
14430
|
DescribeParamsEventResponse: DescribeParamsEventResponse,
|
|
12390
14431
|
ModifyDBInstanceSecurityGroupsRequest: ModifyDBInstanceSecurityGroupsRequest,
|
|
14432
|
+
DescribeDedicatedClustersRequest: DescribeDedicatedClustersRequest,
|
|
12391
14433
|
CloseServerlessDBExtranetAccessResponse: CloseServerlessDBExtranetAccessResponse,
|
|
12392
14434
|
EventItem: EventItem,
|
|
12393
14435
|
RestartDBInstanceRequest: RestartDBInstanceRequest,
|
|
@@ -12401,9 +14443,12 @@ module.exports = {
|
|
|
12401
14443
|
OpenDBExtranetAccessResponse: OpenDBExtranetAccessResponse,
|
|
12402
14444
|
InquiryPriceUpgradeDBInstanceRequest: InquiryPriceUpgradeDBInstanceRequest,
|
|
12403
14445
|
DescribeDBInstanceHAConfigResponse: DescribeDBInstanceHAConfigResponse,
|
|
14446
|
+
DescribeDatabaseObjectsResponse: DescribeDatabaseObjectsResponse,
|
|
12404
14447
|
IsolateDBInstancesRequest: IsolateDBInstancesRequest,
|
|
12405
14448
|
ModifyDBInstanceNameRequest: ModifyDBInstanceNameRequest,
|
|
12406
|
-
|
|
14449
|
+
DescribeDBInstanceSSLConfigResponse: DescribeDBInstanceSSLConfigResponse,
|
|
14450
|
+
ModifyParameterTemplateRequest: ModifyParameterTemplateRequest,
|
|
14451
|
+
DeleteAccountRequest: DeleteAccountRequest,
|
|
12407
14452
|
UpgradeDBInstanceKernelVersionResponse: UpgradeDBInstanceKernelVersionResponse,
|
|
12408
14453
|
InquiryPriceRenewDBInstanceResponse: InquiryPriceRenewDBInstanceResponse,
|
|
12409
14454
|
DescribeSlowQueryAnalysisRequest: DescribeSlowQueryAnalysisRequest,
|
|
@@ -12415,16 +14460,23 @@ module.exports = {
|
|
|
12415
14460
|
DescribeClassesResponse: DescribeClassesResponse,
|
|
12416
14461
|
DeleteDBInstanceNetworkAccessRequest: DeleteDBInstanceNetworkAccessRequest,
|
|
12417
14462
|
ModifyDBInstanceDeploymentResponse: ModifyDBInstanceDeploymentResponse,
|
|
14463
|
+
UnlockAccountRequest: UnlockAccountRequest,
|
|
12418
14464
|
DBInstance: DBInstance,
|
|
12419
14465
|
DeleteParameterTemplateResponse: DeleteParameterTemplateResponse,
|
|
14466
|
+
ModifyReadOnlyDBInstanceWeightRequest: ModifyReadOnlyDBInstanceWeightRequest,
|
|
14467
|
+
ModifyAccountPrivilegesResponse: ModifyAccountPrivilegesResponse,
|
|
14468
|
+
Database: Database,
|
|
12420
14469
|
DeleteReadOnlyGroupRequest: DeleteReadOnlyGroupRequest,
|
|
12421
14470
|
DescribeDBBackupsRequest: DescribeDBBackupsRequest,
|
|
14471
|
+
RestartDBInstanceResponse: RestartDBInstanceResponse,
|
|
12422
14472
|
Filter: Filter,
|
|
12423
14473
|
DescribeReadOnlyGroupsRequest: DescribeReadOnlyGroupsRequest,
|
|
12424
|
-
|
|
14474
|
+
DescribeBaseBackupsResponse: DescribeBaseBackupsResponse,
|
|
12425
14475
|
ModifyDBInstanceParametersResponse: ModifyDBInstanceParametersResponse,
|
|
12426
14476
|
DescribeDBVersionsResponse: DescribeDBVersionsResponse,
|
|
12427
|
-
|
|
14477
|
+
ModifyDBInstanceSSLConfigRequest: ModifyDBInstanceSSLConfigRequest,
|
|
14478
|
+
DatabasePrivilege: DatabasePrivilege,
|
|
14479
|
+
UnlockAccountResponse: UnlockAccountResponse,
|
|
12428
14480
|
ModifyDBInstanceSecurityGroupsResponse: ModifyDBInstanceSecurityGroupsResponse,
|
|
12429
14481
|
DBNode: DBNode,
|
|
12430
14482
|
ModifyDBInstanceNameResponse: ModifyDBInstanceNameResponse,
|
|
@@ -12449,6 +14501,7 @@ module.exports = {
|
|
|
12449
14501
|
InquiryPriceRenewDBInstanceRequest: InquiryPriceRenewDBInstanceRequest,
|
|
12450
14502
|
CreateReadOnlyGroupResponse: CreateReadOnlyGroupResponse,
|
|
12451
14503
|
DeleteDBInstanceNetworkAccessResponse: DeleteDBInstanceNetworkAccessResponse,
|
|
14504
|
+
ModifyAccountPrivilegesRequest: ModifyAccountPrivilegesRequest,
|
|
12452
14505
|
DeleteServerlessDBInstanceRequest: DeleteServerlessDBInstanceRequest,
|
|
12453
14506
|
ModifyReadOnlyGroupConfigResponse: ModifyReadOnlyGroupConfigResponse,
|
|
12454
14507
|
AccountInfo: AccountInfo,
|
|
@@ -12461,23 +14514,33 @@ module.exports = {
|
|
|
12461
14514
|
InquiryPriceUpgradeDBInstanceResponse: InquiryPriceUpgradeDBInstanceResponse,
|
|
12462
14515
|
DisIsolateDBInstancesResponse: DisIsolateDBInstancesResponse,
|
|
12463
14516
|
CreateParameterTemplateRequest: CreateParameterTemplateRequest,
|
|
14517
|
+
DescribeDBInstanceSSLConfigRequest: DescribeDBInstanceSSLConfigRequest,
|
|
14518
|
+
ModifyDatabaseOwnerResponse: ModifyDatabaseOwnerResponse,
|
|
12464
14519
|
ModifySwitchTimePeriodRequest: ModifySwitchTimePeriodRequest,
|
|
14520
|
+
CreateAccountResponse: CreateAccountResponse,
|
|
12465
14521
|
DescribeSlowQueryListRequest: DescribeSlowQueryListRequest,
|
|
12466
|
-
|
|
14522
|
+
DescribeCloneDBInstanceSpecRequest: DescribeCloneDBInstanceSpecRequest,
|
|
12467
14523
|
RegionInfo: RegionInfo,
|
|
14524
|
+
ModifyDatabaseOwnerRequest: ModifyDatabaseOwnerRequest,
|
|
12468
14525
|
DisIsolateDBInstancesRequest: DisIsolateDBInstancesRequest,
|
|
12469
|
-
|
|
12470
|
-
|
|
14526
|
+
CreateBackupPlanResponse: CreateBackupPlanResponse,
|
|
14527
|
+
LockAccountRequest: LockAccountRequest,
|
|
12471
14528
|
DescribeDBInstancesResponse: DescribeDBInstancesResponse,
|
|
12472
14529
|
DescribeDBInstanceSecurityGroupsRequest: DescribeDBInstanceSecurityGroupsRequest,
|
|
12473
14530
|
DescribeBackupPlansRequest: DescribeBackupPlansRequest,
|
|
14531
|
+
ModifyBaseBackupExpireTimeRequest: ModifyBaseBackupExpireTimeRequest,
|
|
12474
14532
|
ModifyDBInstanceHAConfigResponse: ModifyDBInstanceHAConfigResponse,
|
|
14533
|
+
CreateDatabaseResponse: CreateDatabaseResponse,
|
|
12475
14534
|
RebalanceReadOnlyGroupResponse: RebalanceReadOnlyGroupResponse,
|
|
12476
14535
|
ResetAccountPasswordRequest: ResetAccountPasswordRequest,
|
|
12477
14536
|
DescribeSlowQueryAnalysisResponse: DescribeSlowQueryAnalysisResponse,
|
|
12478
14537
|
ModifyDBInstanceParametersRequest: ModifyDBInstanceParametersRequest,
|
|
12479
|
-
|
|
14538
|
+
DedicatedCluster: DedicatedCluster,
|
|
14539
|
+
ServerlessDBAccount: ServerlessDBAccount,
|
|
14540
|
+
DurationAnalysis: DurationAnalysis,
|
|
12480
14541
|
DescribeDBSlowlogsResponse: DescribeDBSlowlogsResponse,
|
|
14542
|
+
DescribeAccountPrivilegesRequest: DescribeAccountPrivilegesRequest,
|
|
14543
|
+
DescribeReadOnlyGroupsResponse: DescribeReadOnlyGroupsResponse,
|
|
12481
14544
|
RestoreDBInstanceObjectsRequest: RestoreDBInstanceObjectsRequest,
|
|
12482
14545
|
DescribeAccountsResponse: DescribeAccountsResponse,
|
|
12483
14546
|
ModifyDBInstanceChargeTypeRequest: ModifyDBInstanceChargeTypeRequest,
|
|
@@ -12492,13 +14555,13 @@ module.exports = {
|
|
|
12492
14555
|
DeleteBaseBackupResponse: DeleteBaseBackupResponse,
|
|
12493
14556
|
PolicyRule: PolicyRule,
|
|
12494
14557
|
ModifyDBInstanceSpecResponse: ModifyDBInstanceSpecResponse,
|
|
12495
|
-
|
|
14558
|
+
DescribeBackupDownloadURLRequest: DescribeBackupDownloadURLRequest,
|
|
12496
14559
|
DescribeDBXlogsResponse: DescribeDBXlogsResponse,
|
|
12497
|
-
|
|
14560
|
+
ModifyDBInstanceChargeTypeResponse: ModifyDBInstanceChargeTypeResponse,
|
|
12498
14561
|
DescribeBaseBackupsRequest: DescribeBaseBackupsRequest,
|
|
12499
14562
|
DescribeEncryptionKeysResponse: DescribeEncryptionKeysResponse,
|
|
12500
14563
|
CreateReadOnlyGroupNetworkAccessResponse: CreateReadOnlyGroupNetworkAccessResponse,
|
|
12501
14564
|
CreateDBInstancesResponse: CreateDBInstancesResponse,
|
|
12502
|
-
|
|
14565
|
+
DeleteAccountResponse: DeleteAccountResponse,
|
|
12503
14566
|
|
|
12504
14567
|
}
|