tencentcloud-sdk-nodejs-intl-en 3.0.298 → 3.0.302
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/cdb/v20170320/models.js +14 -0
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/gme/v20180711/models.js +7 -0
- package/tencentcloud/monitor/v20180724/models.js +16 -0
- package/tencentcloud/mps/v20190612/models.js +14 -0
- package/tencentcloud/ocr/v20181119/models.js +32 -14
- package/tencentcloud/sqlserver/v20180328/models.js +339 -131
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +19 -5
- package/tencentcloud/tcaplusdb/v20190823/models.js +304 -2
- package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +27 -0
- package/tencentcloud/tcr/v20190924/models.js +1058 -237
- package/tencentcloud/tcr/v20190924/tcr_client.js +94 -23
- package/tencentcloud/vod/v20180717/models.js +598 -279
- package/tencentcloud/vod/v20180717/vod_client.js +76 -19
|
@@ -283,6 +283,62 @@ class DealInfo extends AbstractModel {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
+
/**
|
|
287
|
+
* ModifyBackupStrategy request structure.
|
|
288
|
+
* @class
|
|
289
|
+
*/
|
|
290
|
+
class ModifyBackupStrategyRequest extends AbstractModel {
|
|
291
|
+
constructor(){
|
|
292
|
+
super();
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Instance ID.
|
|
296
|
+
* @type {string || null}
|
|
297
|
+
*/
|
|
298
|
+
this.InstanceId = null;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Backup mode, which supports daily backup only. Valid value: daily.
|
|
302
|
+
* @type {string || null}
|
|
303
|
+
*/
|
|
304
|
+
this.BackupType = null;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Backup time. Value range: an integer from 0 to 23.
|
|
308
|
+
* @type {number || null}
|
|
309
|
+
*/
|
|
310
|
+
this.BackupTime = null;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Backup interval in days when the `BackupType` is `daily`. Valid value: 1.
|
|
314
|
+
* @type {number || null}
|
|
315
|
+
*/
|
|
316
|
+
this.BackupDay = null;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node), `slave_no_pkg` (do not archive the backup files of the replica node). Backup files of the replica node are supported only when Always On disaster recovery is enabled.
|
|
320
|
+
* @type {string || null}
|
|
321
|
+
*/
|
|
322
|
+
this.BackupModel = null;
|
|
323
|
+
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @private
|
|
328
|
+
*/
|
|
329
|
+
deserialize(params) {
|
|
330
|
+
if (!params) {
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
334
|
+
this.BackupType = 'BackupType' in params ? params.BackupType : null;
|
|
335
|
+
this.BackupTime = 'BackupTime' in params ? params.BackupTime : null;
|
|
336
|
+
this.BackupDay = 'BackupDay' in params ? params.BackupDay : null;
|
|
337
|
+
this.BackupModel = 'BackupModel' in params ? params.BackupModel : null;
|
|
338
|
+
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
286
342
|
/**
|
|
287
343
|
* RestoreInstance request structure.
|
|
288
344
|
* @class
|
|
@@ -315,6 +371,12 @@ class RestoreInstanceRequest extends AbstractModel {
|
|
|
315
371
|
*/
|
|
316
372
|
this.RenameRestore = null;
|
|
317
373
|
|
|
374
|
+
/**
|
|
375
|
+
* Group ID of unarchived backup files grouped by backup task. This parameter is returned by the [DescribeBackups](https://intl.cloud.tencent.com/document/product/238/19943?from_cn_redirect=1) API.
|
|
376
|
+
* @type {string || null}
|
|
377
|
+
*/
|
|
378
|
+
this.GroupId = null;
|
|
379
|
+
|
|
318
380
|
}
|
|
319
381
|
|
|
320
382
|
/**
|
|
@@ -336,23 +398,36 @@ class RestoreInstanceRequest extends AbstractModel {
|
|
|
336
398
|
this.RenameRestore.push(obj);
|
|
337
399
|
}
|
|
338
400
|
}
|
|
401
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
339
402
|
|
|
340
403
|
}
|
|
341
404
|
}
|
|
342
405
|
|
|
343
406
|
/**
|
|
344
|
-
*
|
|
407
|
+
* DescribeAccounts request structure.
|
|
345
408
|
* @class
|
|
346
409
|
*/
|
|
347
|
-
class
|
|
410
|
+
class DescribeAccountsRequest extends AbstractModel {
|
|
348
411
|
constructor(){
|
|
349
412
|
super();
|
|
350
413
|
|
|
351
414
|
/**
|
|
352
|
-
*
|
|
415
|
+
* Instance ID
|
|
416
|
+
* @type {string || null}
|
|
417
|
+
*/
|
|
418
|
+
this.InstanceId = null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Number of results per page. Value range: 1-100. Default value: 20
|
|
353
422
|
* @type {number || null}
|
|
354
423
|
*/
|
|
355
|
-
this.
|
|
424
|
+
this.Limit = null;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Page number. Default value: 0
|
|
428
|
+
* @type {number || null}
|
|
429
|
+
*/
|
|
430
|
+
this.Offset = null;
|
|
356
431
|
|
|
357
432
|
}
|
|
358
433
|
|
|
@@ -363,7 +438,9 @@ class DescribeFlowStatusRequest extends AbstractModel {
|
|
|
363
438
|
if (!params) {
|
|
364
439
|
return;
|
|
365
440
|
}
|
|
366
|
-
this.
|
|
441
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
442
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
443
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
367
444
|
|
|
368
445
|
}
|
|
369
446
|
}
|
|
@@ -1127,24 +1204,78 @@ class DescribeRegionsResponse extends AbstractModel {
|
|
|
1127
1204
|
}
|
|
1128
1205
|
|
|
1129
1206
|
/**
|
|
1130
|
-
*
|
|
1207
|
+
* DescribeBackups request structure.
|
|
1131
1208
|
* @class
|
|
1132
1209
|
*/
|
|
1133
|
-
class
|
|
1210
|
+
class DescribeBackupsRequest extends AbstractModel {
|
|
1134
1211
|
constructor(){
|
|
1135
1212
|
super();
|
|
1136
1213
|
|
|
1137
1214
|
/**
|
|
1138
|
-
*
|
|
1139
|
-
* @type {
|
|
1215
|
+
* Start name (yyyy-MM-dd HH:mm:ss)
|
|
1216
|
+
* @type {string || null}
|
|
1140
1217
|
*/
|
|
1141
|
-
this.
|
|
1218
|
+
this.StartTime = null;
|
|
1142
1219
|
|
|
1143
1220
|
/**
|
|
1144
|
-
*
|
|
1221
|
+
* End time (yyyy-MM-dd HH:mm:ss)
|
|
1145
1222
|
* @type {string || null}
|
|
1146
1223
|
*/
|
|
1147
|
-
this.
|
|
1224
|
+
this.EndTime = null;
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Instance ID in the format of mssql-njj2mtpl
|
|
1228
|
+
* @type {string || null}
|
|
1229
|
+
*/
|
|
1230
|
+
this.InstanceId = null;
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Number of results per page. Value range: 1-100. Default value: 20
|
|
1234
|
+
* @type {number || null}
|
|
1235
|
+
*/
|
|
1236
|
+
this.Limit = null;
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* Page number. Default value: 0
|
|
1240
|
+
* @type {number || null}
|
|
1241
|
+
*/
|
|
1242
|
+
this.Offset = null;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Filter by backup name. If this parameter is left empty, backup name will not be used in filtering.
|
|
1246
|
+
* @type {string || null}
|
|
1247
|
+
*/
|
|
1248
|
+
this.BackupName = null;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering.
|
|
1252
|
+
* @type {number || null}
|
|
1253
|
+
*/
|
|
1254
|
+
this.Strategy = null;
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Filter by backup mode. Valid values: 0 (automatic backup on a regular basis), 1 (manual backup performed by the user at any time). If this parameter is left empty, backup mode will not be used in filtering.
|
|
1258
|
+
* @type {number || null}
|
|
1259
|
+
*/
|
|
1260
|
+
this.BackupWay = null;
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering.
|
|
1264
|
+
* @type {number || null}
|
|
1265
|
+
*/
|
|
1266
|
+
this.BackupId = null;
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect.
|
|
1270
|
+
* @type {string || null}
|
|
1271
|
+
*/
|
|
1272
|
+
this.DatabaseName = null;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files.
|
|
1276
|
+
* @type {number || null}
|
|
1277
|
+
*/
|
|
1278
|
+
this.Group = null;
|
|
1148
1279
|
|
|
1149
1280
|
}
|
|
1150
1281
|
|
|
@@ -1155,8 +1286,17 @@ class DescribeDBCharsetsResponse extends AbstractModel {
|
|
|
1155
1286
|
if (!params) {
|
|
1156
1287
|
return;
|
|
1157
1288
|
}
|
|
1158
|
-
this.
|
|
1159
|
-
this.
|
|
1289
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
1290
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
1291
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
1292
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
1293
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
1294
|
+
this.BackupName = 'BackupName' in params ? params.BackupName : null;
|
|
1295
|
+
this.Strategy = 'Strategy' in params ? params.Strategy : null;
|
|
1296
|
+
this.BackupWay = 'BackupWay' in params ? params.BackupWay : null;
|
|
1297
|
+
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
1298
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
1299
|
+
this.Group = 'Group' in params ? params.Group : null;
|
|
1160
1300
|
|
|
1161
1301
|
}
|
|
1162
1302
|
}
|
|
@@ -1977,30 +2117,18 @@ class RecycleDBInstanceRequest extends AbstractModel {
|
|
|
1977
2117
|
}
|
|
1978
2118
|
|
|
1979
2119
|
/**
|
|
1980
|
-
*
|
|
2120
|
+
* DescribeFlowStatus request structure.
|
|
1981
2121
|
* @class
|
|
1982
2122
|
*/
|
|
1983
|
-
class
|
|
2123
|
+
class DescribeFlowStatusRequest extends AbstractModel {
|
|
1984
2124
|
constructor(){
|
|
1985
2125
|
super();
|
|
1986
2126
|
|
|
1987
2127
|
/**
|
|
1988
|
-
*
|
|
1989
|
-
* @type {string || null}
|
|
1990
|
-
*/
|
|
1991
|
-
this.InstanceId = null;
|
|
1992
|
-
|
|
1993
|
-
/**
|
|
1994
|
-
* Number of results per page. Value range: 1-100. Default value: 20
|
|
1995
|
-
* @type {number || null}
|
|
1996
|
-
*/
|
|
1997
|
-
this.Limit = null;
|
|
1998
|
-
|
|
1999
|
-
/**
|
|
2000
|
-
* Page number. Default value: 0
|
|
2128
|
+
* Flow ID
|
|
2001
2129
|
* @type {number || null}
|
|
2002
2130
|
*/
|
|
2003
|
-
this.
|
|
2131
|
+
this.FlowId = null;
|
|
2004
2132
|
|
|
2005
2133
|
}
|
|
2006
2134
|
|
|
@@ -2011,9 +2139,7 @@ class DescribeAccountsRequest extends AbstractModel {
|
|
|
2011
2139
|
if (!params) {
|
|
2012
2140
|
return;
|
|
2013
2141
|
}
|
|
2014
|
-
this.
|
|
2015
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2016
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
2142
|
+
this.FlowId = 'FlowId' in params ? params.FlowId : null;
|
|
2017
2143
|
|
|
2018
2144
|
}
|
|
2019
2145
|
}
|
|
@@ -2762,6 +2888,12 @@ class DescribeDBInstancesRequest extends AbstractModel {
|
|
|
2762
2888
|
*/
|
|
2763
2889
|
this.SearchKey = null;
|
|
2764
2890
|
|
|
2891
|
+
/**
|
|
2892
|
+
* Unique Uid of an instance
|
|
2893
|
+
* @type {Array.<string> || null}
|
|
2894
|
+
*/
|
|
2895
|
+
this.UidSet = null;
|
|
2896
|
+
|
|
2765
2897
|
}
|
|
2766
2898
|
|
|
2767
2899
|
/**
|
|
@@ -2785,6 +2917,7 @@ class DescribeDBInstancesRequest extends AbstractModel {
|
|
|
2785
2917
|
this.Zone = 'Zone' in params ? params.Zone : null;
|
|
2786
2918
|
this.TagKeys = 'TagKeys' in params ? params.TagKeys : null;
|
|
2787
2919
|
this.SearchKey = 'SearchKey' in params ? params.SearchKey : null;
|
|
2920
|
+
this.UidSet = 'UidSet' in params ? params.UidSet : null;
|
|
2788
2921
|
|
|
2789
2922
|
}
|
|
2790
2923
|
}
|
|
@@ -2946,36 +3079,30 @@ class DescribeMigrationsResponse extends AbstractModel {
|
|
|
2946
3079
|
}
|
|
2947
3080
|
|
|
2948
3081
|
/**
|
|
2949
|
-
*
|
|
3082
|
+
* DescribeBackupFiles response structure.
|
|
2950
3083
|
* @class
|
|
2951
3084
|
*/
|
|
2952
|
-
class
|
|
3085
|
+
class DescribeBackupFilesResponse extends AbstractModel {
|
|
2953
3086
|
constructor(){
|
|
2954
3087
|
super();
|
|
2955
3088
|
|
|
2956
3089
|
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @type {
|
|
2959
|
-
*/
|
|
2960
|
-
this.InstanceId = null;
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* Backup mode, which supports daily backup only. Valid value: daily.
|
|
2964
|
-
* @type {string || null}
|
|
3090
|
+
* Total number of backups
|
|
3091
|
+
* @type {number || null}
|
|
2965
3092
|
*/
|
|
2966
|
-
this.
|
|
3093
|
+
this.TotalCount = null;
|
|
2967
3094
|
|
|
2968
3095
|
/**
|
|
2969
|
-
*
|
|
2970
|
-
* @type {
|
|
3096
|
+
* List of backup file details
|
|
3097
|
+
* @type {Array.<BackupFile> || null}
|
|
2971
3098
|
*/
|
|
2972
|
-
this.
|
|
3099
|
+
this.BackupFiles = null;
|
|
2973
3100
|
|
|
2974
3101
|
/**
|
|
2975
|
-
*
|
|
2976
|
-
* @type {
|
|
3102
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
3103
|
+
* @type {string || null}
|
|
2977
3104
|
*/
|
|
2978
|
-
this.
|
|
3105
|
+
this.RequestId = null;
|
|
2979
3106
|
|
|
2980
3107
|
}
|
|
2981
3108
|
|
|
@@ -2986,10 +3113,17 @@ class ModifyBackupStrategyRequest extends AbstractModel {
|
|
|
2986
3113
|
if (!params) {
|
|
2987
3114
|
return;
|
|
2988
3115
|
}
|
|
2989
|
-
this.
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
3116
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
3117
|
+
|
|
3118
|
+
if (params.BackupFiles) {
|
|
3119
|
+
this.BackupFiles = new Array();
|
|
3120
|
+
for (let z in params.BackupFiles) {
|
|
3121
|
+
let obj = new BackupFile();
|
|
3122
|
+
obj.deserialize(params.BackupFiles[z]);
|
|
3123
|
+
this.BackupFiles.push(obj);
|
|
3124
|
+
}
|
|
3125
|
+
}
|
|
3126
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2993
3127
|
|
|
2994
3128
|
}
|
|
2995
3129
|
}
|
|
@@ -4049,6 +4183,62 @@ class InstanceDBDetail extends AbstractModel {
|
|
|
4049
4183
|
}
|
|
4050
4184
|
}
|
|
4051
4185
|
|
|
4186
|
+
/**
|
|
4187
|
+
* DescribeBackupFiles request structure.
|
|
4188
|
+
* @class
|
|
4189
|
+
*/
|
|
4190
|
+
class DescribeBackupFilesRequest extends AbstractModel {
|
|
4191
|
+
constructor(){
|
|
4192
|
+
super();
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* Instance ID in the format of mssql-njj2mtpl
|
|
4196
|
+
* @type {string || null}
|
|
4197
|
+
*/
|
|
4198
|
+
this.InstanceId = null;
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
* Group ID of unarchived backup files, which can be obtained by the `DescribeBackups` API
|
|
4202
|
+
* @type {string || null}
|
|
4203
|
+
*/
|
|
4204
|
+
this.GroupId = null;
|
|
4205
|
+
|
|
4206
|
+
/**
|
|
4207
|
+
* Number of entries to be returned per page. Value range: 1-100. Default value: `20`
|
|
4208
|
+
* @type {number || null}
|
|
4209
|
+
*/
|
|
4210
|
+
this.Limit = null;
|
|
4211
|
+
|
|
4212
|
+
/**
|
|
4213
|
+
* Page number. Default value: `0`
|
|
4214
|
+
* @type {number || null}
|
|
4215
|
+
*/
|
|
4216
|
+
this.Offset = null;
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* Filter backups by database name. If the parameter is left empty, this filter criterion will not take effect.
|
|
4220
|
+
* @type {string || null}
|
|
4221
|
+
*/
|
|
4222
|
+
this.DatabaseName = null;
|
|
4223
|
+
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
* @private
|
|
4228
|
+
*/
|
|
4229
|
+
deserialize(params) {
|
|
4230
|
+
if (!params) {
|
|
4231
|
+
return;
|
|
4232
|
+
}
|
|
4233
|
+
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
4234
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
4235
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
4236
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
4237
|
+
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
4238
|
+
|
|
4239
|
+
}
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4052
4242
|
/**
|
|
4053
4243
|
* Used in the `RestoreInstance`, `RollbackInstance`, `CreateMigration`, and `CloneDB` APIs to specify and rename the database to be restored, rolled back, migrated, or cloned.
|
|
4054
4244
|
* @class
|
|
@@ -4966,7 +5156,7 @@ class DBInstance extends AbstractModel {
|
|
|
4966
5156
|
this.SubnetId = null;
|
|
4967
5157
|
|
|
4968
5158
|
/**
|
|
4969
|
-
* Instance status. Valid values: <li>1:
|
|
5159
|
+
* Instance status. Valid values: <li>1: creating</li> <li>2: running</li> <li>3: instance operations restricted (due to the ongoing primary-replica switch)</li> <li>4: isolated</li> <li>5: repossessing</li> <li>6: repossessed</li> <li>7: running tasks (such as backup and rollback tasks)</li> <li>8: eliminated</li> <li>9: expanding capacity</li> <li>10: migrating</li> <li>11: read-only</li> <li>12: restarting</li> <li>13: modifying configuration and waiting for switch</li> <li>14: implementing pub/sub</li> <li>15: modifying pub/sub configuration</li> <li>16: modifying configuration and switching</li> <li>17: creating read-only instances</li>
|
|
4970
5160
|
* @type {number || null}
|
|
4971
5161
|
*/
|
|
4972
5162
|
this.Status = null;
|
|
@@ -5150,6 +5340,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5150
5340
|
*/
|
|
5151
5341
|
this.ResourceTags = null;
|
|
5152
5342
|
|
|
5343
|
+
/**
|
|
5344
|
+
* Backup mode. Valid values: `master_pkg` (archive the backup files of the primary node (default value)), `master_no_pkg` (do not archive the backup files of the primary node), `slave_pkg` (archive the backup files of the replica node (valid for Always On clusters)), `slave_no_pkg` (do not archive the backup files of the replica node (valid for Always On clusters)). This parameter is invalid for read-only instances.
|
|
5345
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
5346
|
+
* @type {string || null}
|
|
5347
|
+
*/
|
|
5348
|
+
this.BackupModel = null;
|
|
5349
|
+
|
|
5153
5350
|
}
|
|
5154
5351
|
|
|
5155
5352
|
/**
|
|
@@ -5204,6 +5401,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
|
|
|
5204
5401
|
this.ResourceTags.push(obj);
|
|
5205
5402
|
}
|
|
5206
5403
|
}
|
|
5404
|
+
this.BackupModel = 'BackupModel' in params ? params.BackupModel : null;
|
|
5207
5405
|
|
|
5208
5406
|
}
|
|
5209
5407
|
}
|
|
@@ -5622,13 +5820,13 @@ class Backup extends AbstractModel {
|
|
|
5622
5820
|
super();
|
|
5623
5821
|
|
|
5624
5822
|
/**
|
|
5625
|
-
*
|
|
5823
|
+
* File name. The name of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
|
|
5626
5824
|
* @type {string || null}
|
|
5627
5825
|
*/
|
|
5628
5826
|
this.FileName = null;
|
|
5629
5827
|
|
|
5630
5828
|
/**
|
|
5631
|
-
* File size in KB
|
|
5829
|
+
* File size in KB. The size of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
|
|
5632
5830
|
* @type {number || null}
|
|
5633
5831
|
*/
|
|
5634
5832
|
this.Size = null;
|
|
@@ -5646,19 +5844,19 @@ class Backup extends AbstractModel {
|
|
|
5646
5844
|
this.EndTime = null;
|
|
5647
5845
|
|
|
5648
5846
|
/**
|
|
5649
|
-
*
|
|
5847
|
+
* Private network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
|
|
5650
5848
|
* @type {string || null}
|
|
5651
5849
|
*/
|
|
5652
5850
|
this.InternalAddr = null;
|
|
5653
5851
|
|
|
5654
5852
|
/**
|
|
5655
|
-
*
|
|
5853
|
+
* Public network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
|
|
5656
5854
|
* @type {string || null}
|
|
5657
5855
|
*/
|
|
5658
5856
|
this.ExternalAddr = null;
|
|
5659
5857
|
|
|
5660
5858
|
/**
|
|
5661
|
-
* Unique ID of backup file, which
|
|
5859
|
+
* Unique ID of a backup file, which is used by the `RestoreInstance` API. The unique ID of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.
|
|
5662
5860
|
* @type {number || null}
|
|
5663
5861
|
*/
|
|
5664
5862
|
this.Id = null;
|
|
@@ -5688,11 +5886,17 @@ class Backup extends AbstractModel {
|
|
|
5688
5886
|
this.BackupWay = null;
|
|
5689
5887
|
|
|
5690
5888
|
/**
|
|
5691
|
-
* Backup name
|
|
5889
|
+
* Backup task name (customizable)
|
|
5692
5890
|
* @type {string || null}
|
|
5693
5891
|
*/
|
|
5694
5892
|
this.BackupName = null;
|
|
5695
5893
|
|
|
5894
|
+
/**
|
|
5895
|
+
* Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group. This parameter is invalid for archived backup files.
|
|
5896
|
+
* @type {string || null}
|
|
5897
|
+
*/
|
|
5898
|
+
this.GroupId = null;
|
|
5899
|
+
|
|
5696
5900
|
}
|
|
5697
5901
|
|
|
5698
5902
|
/**
|
|
@@ -5714,6 +5918,7 @@ class Backup extends AbstractModel {
|
|
|
5714
5918
|
this.Strategy = 'Strategy' in params ? params.Strategy : null;
|
|
5715
5919
|
this.BackupWay = 'BackupWay' in params ? params.BackupWay : null;
|
|
5716
5920
|
this.BackupName = 'BackupName' in params ? params.BackupName : null;
|
|
5921
|
+
this.GroupId = 'GroupId' in params ? params.GroupId : null;
|
|
5717
5922
|
|
|
5718
5923
|
}
|
|
5719
5924
|
}
|
|
@@ -6477,6 +6682,62 @@ class DescribeDBsNormalRequest extends AbstractModel {
|
|
|
6477
6682
|
}
|
|
6478
6683
|
}
|
|
6479
6684
|
|
|
6685
|
+
/**
|
|
6686
|
+
* If the backup files are unarchived, each database corresponds to one backup file.
|
|
6687
|
+
* @class
|
|
6688
|
+
*/
|
|
6689
|
+
class BackupFile extends AbstractModel {
|
|
6690
|
+
constructor(){
|
|
6691
|
+
super();
|
|
6692
|
+
|
|
6693
|
+
/**
|
|
6694
|
+
* Unique ID of a backup file
|
|
6695
|
+
* @type {number || null}
|
|
6696
|
+
*/
|
|
6697
|
+
this.Id = null;
|
|
6698
|
+
|
|
6699
|
+
/**
|
|
6700
|
+
* Backup file name
|
|
6701
|
+
* @type {string || null}
|
|
6702
|
+
*/
|
|
6703
|
+
this.FileName = null;
|
|
6704
|
+
|
|
6705
|
+
/**
|
|
6706
|
+
* File size in KB
|
|
6707
|
+
* @type {number || null}
|
|
6708
|
+
*/
|
|
6709
|
+
this.Size = null;
|
|
6710
|
+
|
|
6711
|
+
/**
|
|
6712
|
+
* Name of the database corresponding to the backup file
|
|
6713
|
+
* @type {Array.<string> || null}
|
|
6714
|
+
*/
|
|
6715
|
+
this.DBs = null;
|
|
6716
|
+
|
|
6717
|
+
/**
|
|
6718
|
+
* Download address
|
|
6719
|
+
* @type {string || null}
|
|
6720
|
+
*/
|
|
6721
|
+
this.DownloadLink = null;
|
|
6722
|
+
|
|
6723
|
+
}
|
|
6724
|
+
|
|
6725
|
+
/**
|
|
6726
|
+
* @private
|
|
6727
|
+
*/
|
|
6728
|
+
deserialize(params) {
|
|
6729
|
+
if (!params) {
|
|
6730
|
+
return;
|
|
6731
|
+
}
|
|
6732
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
6733
|
+
this.FileName = 'FileName' in params ? params.FileName : null;
|
|
6734
|
+
this.Size = 'Size' in params ? params.Size : null;
|
|
6735
|
+
this.DBs = 'DBs' in params ? params.DBs : null;
|
|
6736
|
+
this.DownloadLink = 'DownloadLink' in params ? params.DownloadLink : null;
|
|
6737
|
+
|
|
6738
|
+
}
|
|
6739
|
+
}
|
|
6740
|
+
|
|
6480
6741
|
/**
|
|
6481
6742
|
* ModifyAccountRemark request structure.
|
|
6482
6743
|
* @class
|
|
@@ -8007,72 +8268,24 @@ class DeleteAccountResponse extends AbstractModel {
|
|
|
8007
8268
|
}
|
|
8008
8269
|
|
|
8009
8270
|
/**
|
|
8010
|
-
*
|
|
8271
|
+
* DescribeDBCharsets response structure.
|
|
8011
8272
|
* @class
|
|
8012
8273
|
*/
|
|
8013
|
-
class
|
|
8274
|
+
class DescribeDBCharsetsResponse extends AbstractModel {
|
|
8014
8275
|
constructor(){
|
|
8015
8276
|
super();
|
|
8016
8277
|
|
|
8017
8278
|
/**
|
|
8018
|
-
*
|
|
8019
|
-
* @type {string || null}
|
|
8020
|
-
*/
|
|
8021
|
-
this.StartTime = null;
|
|
8022
|
-
|
|
8023
|
-
/**
|
|
8024
|
-
* End time (yyyy-MM-dd HH:mm:ss)
|
|
8025
|
-
* @type {string || null}
|
|
8026
|
-
*/
|
|
8027
|
-
this.EndTime = null;
|
|
8028
|
-
|
|
8029
|
-
/**
|
|
8030
|
-
* Instance ID in the format of mssql-njj2mtpl
|
|
8031
|
-
* @type {string || null}
|
|
8032
|
-
*/
|
|
8033
|
-
this.InstanceId = null;
|
|
8034
|
-
|
|
8035
|
-
/**
|
|
8036
|
-
* Number of results per page. Value range: 1-100. Default value: 20
|
|
8037
|
-
* @type {number || null}
|
|
8038
|
-
*/
|
|
8039
|
-
this.Limit = null;
|
|
8040
|
-
|
|
8041
|
-
/**
|
|
8042
|
-
* Page number. Default value: 0
|
|
8043
|
-
* @type {number || null}
|
|
8044
|
-
*/
|
|
8045
|
-
this.Offset = null;
|
|
8046
|
-
|
|
8047
|
-
/**
|
|
8048
|
-
* Filter by backup name. If this parameter is left empty, backup name will not be used in filtering.
|
|
8049
|
-
* @type {string || null}
|
|
8050
|
-
*/
|
|
8051
|
-
this.BackupName = null;
|
|
8052
|
-
|
|
8053
|
-
/**
|
|
8054
|
-
* Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering.
|
|
8055
|
-
* @type {number || null}
|
|
8056
|
-
*/
|
|
8057
|
-
this.Strategy = null;
|
|
8058
|
-
|
|
8059
|
-
/**
|
|
8060
|
-
* Filter by backup mode. Valid values: 0 (automatic backup on a regular basis), 1 (manual backup performed by the user at any time). If this parameter is left empty, backup mode will not be used in filtering.
|
|
8061
|
-
* @type {number || null}
|
|
8062
|
-
*/
|
|
8063
|
-
this.BackupWay = null;
|
|
8064
|
-
|
|
8065
|
-
/**
|
|
8066
|
-
* Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering.
|
|
8067
|
-
* @type {number || null}
|
|
8279
|
+
* Database character set list
|
|
8280
|
+
* @type {Array.<string> || null}
|
|
8068
8281
|
*/
|
|
8069
|
-
this.
|
|
8282
|
+
this.DatabaseCharsets = null;
|
|
8070
8283
|
|
|
8071
8284
|
/**
|
|
8072
|
-
*
|
|
8285
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
8073
8286
|
* @type {string || null}
|
|
8074
8287
|
*/
|
|
8075
|
-
this.
|
|
8288
|
+
this.RequestId = null;
|
|
8076
8289
|
|
|
8077
8290
|
}
|
|
8078
8291
|
|
|
@@ -8083,16 +8296,8 @@ class DescribeBackupsRequest extends AbstractModel {
|
|
|
8083
8296
|
if (!params) {
|
|
8084
8297
|
return;
|
|
8085
8298
|
}
|
|
8086
|
-
this.
|
|
8087
|
-
this.
|
|
8088
|
-
this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
|
|
8089
|
-
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
8090
|
-
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
8091
|
-
this.BackupName = 'BackupName' in params ? params.BackupName : null;
|
|
8092
|
-
this.Strategy = 'Strategy' in params ? params.Strategy : null;
|
|
8093
|
-
this.BackupWay = 'BackupWay' in params ? params.BackupWay : null;
|
|
8094
|
-
this.BackupId = 'BackupId' in params ? params.BackupId : null;
|
|
8095
|
-
this.DatabaseName = 'DatabaseName' in params ? params.DatabaseName : null;
|
|
8299
|
+
this.DatabaseCharsets = 'DatabaseCharsets' in params ? params.DatabaseCharsets : null;
|
|
8300
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
8096
8301
|
|
|
8097
8302
|
}
|
|
8098
8303
|
}
|
|
@@ -8101,8 +8306,9 @@ module.exports = {
|
|
|
8101
8306
|
CreateDBInstancesRequest: CreateDBInstancesRequest,
|
|
8102
8307
|
CloneDBResponse: CloneDBResponse,
|
|
8103
8308
|
DealInfo: DealInfo,
|
|
8309
|
+
ModifyBackupStrategyRequest: ModifyBackupStrategyRequest,
|
|
8104
8310
|
RestoreInstanceRequest: RestoreInstanceRequest,
|
|
8105
|
-
|
|
8311
|
+
DescribeAccountsRequest: DescribeAccountsRequest,
|
|
8106
8312
|
CreateMigrationResponse: CreateMigrationResponse,
|
|
8107
8313
|
DeleteBackupMigrationRequest: DeleteBackupMigrationRequest,
|
|
8108
8314
|
RestartDBInstanceRequest: RestartDBInstanceRequest,
|
|
@@ -8122,7 +8328,7 @@ module.exports = {
|
|
|
8122
8328
|
DBRemark: DBRemark,
|
|
8123
8329
|
MigrateDB: MigrateDB,
|
|
8124
8330
|
DescribeRegionsResponse: DescribeRegionsResponse,
|
|
8125
|
-
|
|
8331
|
+
DescribeBackupsRequest: DescribeBackupsRequest,
|
|
8126
8332
|
ModifyDBInstanceProjectResponse: ModifyDBInstanceProjectResponse,
|
|
8127
8333
|
DescribeRollbackTimeResponse: DescribeRollbackTimeResponse,
|
|
8128
8334
|
DescribeInstanceParamRecordsResponse: DescribeInstanceParamRecordsResponse,
|
|
@@ -8136,7 +8342,7 @@ module.exports = {
|
|
|
8136
8342
|
ModifyDBInstanceNetworkRequest: ModifyDBInstanceNetworkRequest,
|
|
8137
8343
|
MigrationDetail: MigrationDetail,
|
|
8138
8344
|
RecycleDBInstanceRequest: RecycleDBInstanceRequest,
|
|
8139
|
-
|
|
8345
|
+
DescribeFlowStatusRequest: DescribeFlowStatusRequest,
|
|
8140
8346
|
ResetAccountPasswordResponse: ResetAccountPasswordResponse,
|
|
8141
8347
|
MigrateTask: MigrateTask,
|
|
8142
8348
|
SpecInfo: SpecInfo,
|
|
@@ -8152,7 +8358,7 @@ module.exports = {
|
|
|
8152
8358
|
SlowlogInfo: SlowlogInfo,
|
|
8153
8359
|
ModifyAccountRemarkResponse: ModifyAccountRemarkResponse,
|
|
8154
8360
|
DescribeMigrationsResponse: DescribeMigrationsResponse,
|
|
8155
|
-
|
|
8361
|
+
DescribeBackupFilesResponse: DescribeBackupFilesResponse,
|
|
8156
8362
|
DescribeZonesRequest: DescribeZonesRequest,
|
|
8157
8363
|
DeleteDBRequest: DeleteDBRequest,
|
|
8158
8364
|
StartIncrementalMigrationRequest: StartIncrementalMigrationRequest,
|
|
@@ -8179,6 +8385,7 @@ module.exports = {
|
|
|
8179
8385
|
TerminateDBInstanceRequest: TerminateDBInstanceRequest,
|
|
8180
8386
|
CreateDBRequest: CreateDBRequest,
|
|
8181
8387
|
InstanceDBDetail: InstanceDBDetail,
|
|
8388
|
+
DescribeBackupFilesRequest: DescribeBackupFilesRequest,
|
|
8182
8389
|
RenameRestoreDatabase: RenameRestoreDatabase,
|
|
8183
8390
|
InquiryPriceUpgradeDBInstanceRequest: InquiryPriceUpgradeDBInstanceRequest,
|
|
8184
8391
|
ModifyDBRemarkRequest: ModifyDBRemarkRequest,
|
|
@@ -8225,6 +8432,7 @@ module.exports = {
|
|
|
8225
8432
|
DeleteBackupMigrationResponse: DeleteBackupMigrationResponse,
|
|
8226
8433
|
CreateBackupRequest: CreateBackupRequest,
|
|
8227
8434
|
DescribeDBsNormalRequest: DescribeDBsNormalRequest,
|
|
8435
|
+
BackupFile: BackupFile,
|
|
8228
8436
|
ModifyAccountRemarkRequest: ModifyAccountRemarkRequest,
|
|
8229
8437
|
ModifyIncrementalMigrationResponse: ModifyIncrementalMigrationResponse,
|
|
8230
8438
|
MigrationAction: MigrationAction,
|
|
@@ -8257,6 +8465,6 @@ module.exports = {
|
|
|
8257
8465
|
CreateDBInstancesResponse: CreateDBInstancesResponse,
|
|
8258
8466
|
ModifyBackupMigrationRequest: ModifyBackupMigrationRequest,
|
|
8259
8467
|
DeleteAccountResponse: DeleteAccountResponse,
|
|
8260
|
-
|
|
8468
|
+
DescribeDBCharsetsResponse: DescribeDBCharsetsResponse,
|
|
8261
8469
|
|
|
8262
8470
|
}
|