tencentcloud-sdk-nodejs-intl-en 3.0.1471 → 3.0.1472
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/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/cls/v20201016/models.js +73 -42
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/csip/v20221121/csip_client.js +19 -12
- package/tencentcloud/csip/v20221121/models.js +722 -179
- package/tencentcloud/dts/v20211206/dts_client.js +7 -3
- package/tencentcloud/dts/v20211206/models.js +446 -208
- package/tencentcloud/faceid/v20180301/faceid_client.js +5 -1
- package/tencentcloud/faceid/v20180301/models.js +251 -21
- package/tencentcloud/ocr/v20181119/models.js +694 -405
- package/tencentcloud/ocr/v20181119/ocr_client.js +23 -7
- package/tencentcloud/teo/v20220901/models.js +316 -50
- package/tencentcloud/teo/v20220901/teo_client.js +27 -1
- package/tencentcloud/tke/v20180525/models.js +86 -0
- package/tencentcloud/tke/v20180525/tke_client.js +13 -0
- package/tencentcloud/vod/v20180717/models.js +407 -162
- package/tencentcloud/vod/v20180717/vod_client.js +42 -15
- package/tencentcloud/waf/v20180125/models.js +12871 -9082
- package/tencentcloud/waf/v20180125/waf_client.js +583 -257
|
@@ -409,6 +409,46 @@ class ModifySyncRateLimitResponse extends AbstractModel {
|
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
+
/**
|
|
413
|
+
* Table-level DDL/DML filtering information
|
|
414
|
+
* @class
|
|
415
|
+
*/
|
|
416
|
+
class TableFilter extends AbstractModel {
|
|
417
|
+
constructor(){
|
|
418
|
+
super();
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Table name for rule effectiveness
|
|
422
|
+
* @type {string || null}
|
|
423
|
+
*/
|
|
424
|
+
this.TableName = null;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Table-level DDL/DML Filter Rule
|
|
428
|
+
* @type {OpFilter || null}
|
|
429
|
+
*/
|
|
430
|
+
this.OpFilter = null;
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @private
|
|
436
|
+
*/
|
|
437
|
+
deserialize(params) {
|
|
438
|
+
if (!params) {
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
this.TableName = 'TableName' in params ? params.TableName : null;
|
|
442
|
+
|
|
443
|
+
if (params.OpFilter) {
|
|
444
|
+
let obj = new OpFilter();
|
|
445
|
+
obj.deserialize(params.OpFilter)
|
|
446
|
+
this.OpFilter = obj;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
412
452
|
/**
|
|
413
453
|
* DestroyMigrateJob request structure.
|
|
414
454
|
* @class
|
|
@@ -634,6 +674,34 @@ class ResizeSyncJobResponse extends AbstractModel {
|
|
|
634
674
|
}
|
|
635
675
|
}
|
|
636
676
|
|
|
677
|
+
/**
|
|
678
|
+
* StopMigrateJob response structure.
|
|
679
|
+
* @class
|
|
680
|
+
*/
|
|
681
|
+
class StopMigrateJobResponse extends AbstractModel {
|
|
682
|
+
constructor(){
|
|
683
|
+
super();
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* 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.
|
|
687
|
+
* @type {string || null}
|
|
688
|
+
*/
|
|
689
|
+
this.RequestId = null;
|
|
690
|
+
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @private
|
|
695
|
+
*/
|
|
696
|
+
deserialize(params) {
|
|
697
|
+
if (!params) {
|
|
698
|
+
return;
|
|
699
|
+
}
|
|
700
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
701
|
+
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
|
|
637
705
|
/**
|
|
638
706
|
* CreateSubscribeCheckJob request structure.
|
|
639
707
|
* @class
|
|
@@ -1195,18 +1263,36 @@ class IsolateMigrateJobRequest extends AbstractModel {
|
|
|
1195
1263
|
}
|
|
1196
1264
|
|
|
1197
1265
|
/**
|
|
1198
|
-
*
|
|
1266
|
+
* DDL/DML allowlist at the database/table/view level
|
|
1199
1267
|
* @class
|
|
1200
1268
|
*/
|
|
1201
|
-
class
|
|
1269
|
+
class DBOpFilter extends AbstractModel {
|
|
1202
1270
|
constructor(){
|
|
1203
1271
|
super();
|
|
1204
1272
|
|
|
1205
1273
|
/**
|
|
1206
|
-
*
|
|
1274
|
+
* Database name for rule effectiveness
|
|
1207
1275
|
* @type {string || null}
|
|
1208
1276
|
*/
|
|
1209
|
-
this.
|
|
1277
|
+
this.DbName = null;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Database-level DDL/DML Filter Rule
|
|
1281
|
+
* @type {OpFilter || null}
|
|
1282
|
+
*/
|
|
1283
|
+
this.OpFilter = null;
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Table-level DDL/DML filtering information
|
|
1287
|
+
* @type {Array.<TableFilter> || null}
|
|
1288
|
+
*/
|
|
1289
|
+
this.Tables = null;
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* View-level DDL/DML filtering information
|
|
1293
|
+
* @type {Array.<ViewFilter> || null}
|
|
1294
|
+
*/
|
|
1295
|
+
this.Views = null;
|
|
1210
1296
|
|
|
1211
1297
|
}
|
|
1212
1298
|
|
|
@@ -1217,7 +1303,31 @@ class StopMigrateJobResponse extends AbstractModel {
|
|
|
1217
1303
|
if (!params) {
|
|
1218
1304
|
return;
|
|
1219
1305
|
}
|
|
1220
|
-
this.
|
|
1306
|
+
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
1307
|
+
|
|
1308
|
+
if (params.OpFilter) {
|
|
1309
|
+
let obj = new OpFilter();
|
|
1310
|
+
obj.deserialize(params.OpFilter)
|
|
1311
|
+
this.OpFilter = obj;
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
if (params.Tables) {
|
|
1315
|
+
this.Tables = new Array();
|
|
1316
|
+
for (let z in params.Tables) {
|
|
1317
|
+
let obj = new TableFilter();
|
|
1318
|
+
obj.deserialize(params.Tables[z]);
|
|
1319
|
+
this.Tables.push(obj);
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
if (params.Views) {
|
|
1324
|
+
this.Views = new Array();
|
|
1325
|
+
for (let z in params.Views) {
|
|
1326
|
+
let obj = new ViewFilter();
|
|
1327
|
+
obj.deserialize(params.Views[z]);
|
|
1328
|
+
this.Views.push(obj);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1221
1331
|
|
|
1222
1332
|
}
|
|
1223
1333
|
}
|
|
@@ -1321,7 +1431,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1321
1431
|
this.InstanceStatus = null;
|
|
1322
1432
|
|
|
1323
1433
|
/**
|
|
1324
|
-
* Data subscription lifecycle status. Valid values: normal (normal), isolating (isolating), isolated (isolated), offlining (offlining), post2PrePayIng (changing from pay-as-you-go to monthly subscription).
|
|
1434
|
+
* Data subscription lifecycle status. Valid values: normal (normal), isolating (isolating), isolated (isolated), offlining (offlining), post2PrePayIng (changing from pay-as-you-go to yearly/monthly subscription).
|
|
1325
1435
|
* @type {string || null}
|
|
1326
1436
|
*/
|
|
1327
1437
|
this.Status = null;
|
|
@@ -1351,7 +1461,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1351
1461
|
this.IsolateTime = null;
|
|
1352
1462
|
|
|
1353
1463
|
/**
|
|
1354
|
-
* Expiration time for monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained.
|
|
1464
|
+
* Expiration time for yearly/monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained.
|
|
1355
1465
|
* @type {string || null}
|
|
1356
1466
|
*/
|
|
1357
1467
|
this.ExpireTime = null;
|
|
@@ -1411,6 +1521,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1411
1521
|
*/
|
|
1412
1522
|
this.Errors = null;
|
|
1413
1523
|
|
|
1524
|
+
/**
|
|
1525
|
+
* Subscribe to instance specifications
|
|
1526
|
+
* @type {string || null}
|
|
1527
|
+
*/
|
|
1528
|
+
this.InstanceClass = null;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Routing Phase for the New Version of Subscription Consumption
|
|
1532
|
+
* @type {string || null}
|
|
1533
|
+
*/
|
|
1534
|
+
this.ConsumerRoutePhase = null;
|
|
1535
|
+
|
|
1414
1536
|
}
|
|
1415
1537
|
|
|
1416
1538
|
/**
|
|
@@ -1465,6 +1587,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1465
1587
|
this.Errors.push(obj);
|
|
1466
1588
|
}
|
|
1467
1589
|
}
|
|
1590
|
+
this.InstanceClass = 'InstanceClass' in params ? params.InstanceClass : null;
|
|
1591
|
+
this.ConsumerRoutePhase = 'ConsumerRoutePhase' in params ? params.ConsumerRoutePhase : null;
|
|
1468
1592
|
|
|
1469
1593
|
}
|
|
1470
1594
|
}
|
|
@@ -1600,15 +1724,13 @@ class KeyValuePairOption extends AbstractModel {
|
|
|
1600
1724
|
super();
|
|
1601
1725
|
|
|
1602
1726
|
/**
|
|
1603
|
-
* Option key
|
|
1604
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1727
|
+
* Option key.
|
|
1605
1728
|
* @type {string || null}
|
|
1606
1729
|
*/
|
|
1607
1730
|
this.Key = null;
|
|
1608
1731
|
|
|
1609
1732
|
/**
|
|
1610
|
-
* Option value
|
|
1611
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1733
|
+
* Option value.
|
|
1612
1734
|
* @type {string || null}
|
|
1613
1735
|
*/
|
|
1614
1736
|
this.Value = null;
|
|
@@ -1939,15 +2061,13 @@ class DdlOption extends AbstractModel {
|
|
|
1939
2061
|
super();
|
|
1940
2062
|
|
|
1941
2063
|
/**
|
|
1942
|
-
* DDL type
|
|
1943
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2064
|
+
* DDL type. For example: database, table, view, and index.
|
|
1944
2065
|
* @type {string || null}
|
|
1945
2066
|
*/
|
|
1946
2067
|
this.DdlObject = null;
|
|
1947
2068
|
|
|
1948
2069
|
/**
|
|
1949
|
-
* DDL
|
|
1950
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2070
|
+
* Specific values of DDL. For Database, it can be [Create, Drop, Alter];<br>for Table, it can be [Create, Drop, Alter, Truncate, Rename];<br>for View, it can be [Create, Drop];<br>for Index, it can be [Create, Drop].
|
|
1951
2071
|
* @type {Array.<string> || null}
|
|
1952
2072
|
*/
|
|
1953
2073
|
this.DdlValue = null;
|
|
@@ -1976,22 +2096,19 @@ class ConflictHandleOption extends AbstractModel {
|
|
|
1976
2096
|
super();
|
|
1977
2097
|
|
|
1978
2098
|
/**
|
|
1979
|
-
*
|
|
1980
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2099
|
+
* Columns for conditional overwrite.
|
|
1981
2100
|
* @type {string || null}
|
|
1982
2101
|
*/
|
|
1983
2102
|
this.ConditionColumn = null;
|
|
1984
2103
|
|
|
1985
2104
|
/**
|
|
1986
|
-
*
|
|
1987
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2105
|
+
* Condition coverage operation. Currently, only > is supported.
|
|
1988
2106
|
* @type {string || null}
|
|
1989
2107
|
*/
|
|
1990
2108
|
this.ConditionOperator = null;
|
|
1991
2109
|
|
|
1992
2110
|
/**
|
|
1993
|
-
*
|
|
1994
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2111
|
+
* Condition coverage priority processing. Supported types are >, <, and =.
|
|
1995
2112
|
* @type {string || null}
|
|
1996
2113
|
*/
|
|
1997
2114
|
this.ConditionOrderInSrcAndDst = null;
|
|
@@ -3320,7 +3437,7 @@ class DescribeSubscribeDetailResponse extends AbstractModel {
|
|
|
3320
3437
|
this.IsolateTime = null;
|
|
3321
3438
|
|
|
3322
3439
|
/**
|
|
3323
|
-
* Expiration time for monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3440
|
+
* Expiration time for yearly/monthly subscription tasks, the format is: Y-m-d h:m:s. Default time: 0000-00-00 00:00:00.Note: This field may return null, indicating that no valid values can be obtained.
|
|
3324
3441
|
* @type {string || null}
|
|
3325
3442
|
*/
|
|
3326
3443
|
this.ExpireTime = null;
|
|
@@ -3332,7 +3449,7 @@ class DescribeSubscribeDetailResponse extends AbstractModel {
|
|
|
3332
3449
|
this.OfflineTime = null;
|
|
3333
3450
|
|
|
3334
3451
|
/**
|
|
3335
|
-
* Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go).
|
|
3452
|
+
* Payment method. Valid values: 0 (yearly/monthly subscription); 1 (pay-as-you-go).
|
|
3336
3453
|
* @type {number || null}
|
|
3337
3454
|
*/
|
|
3338
3455
|
this.PayType = null;
|
|
@@ -3388,7 +3505,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3388
3505
|
this.KafkaConfig = null;
|
|
3389
3506
|
|
|
3390
3507
|
/**
|
|
3391
|
-
*
|
|
3508
|
+
* Subscribe to version information for the built-in Kafka
|
|
3392
3509
|
* @type {string || null}
|
|
3393
3510
|
*/
|
|
3394
3511
|
this.KafkaVersion = null;
|
|
@@ -3433,25 +3550,25 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3433
3550
|
this.ExtraAttr = null;
|
|
3434
3551
|
|
|
3435
3552
|
/**
|
|
3436
|
-
*
|
|
3553
|
+
* Data subscription version; currently supports Kafka and KafkaPro (Professional Edition).
|
|
3437
3554
|
* @type {string || null}
|
|
3438
3555
|
*/
|
|
3439
3556
|
this.SubscribeVersion = null;
|
|
3440
3557
|
|
|
3441
3558
|
/**
|
|
3442
|
-
*
|
|
3559
|
+
* VPC where the consumer-side address is located
|
|
3443
3560
|
* @type {string || null}
|
|
3444
3561
|
*/
|
|
3445
3562
|
this.ConsumerVpcId = null;
|
|
3446
3563
|
|
|
3447
3564
|
/**
|
|
3448
|
-
*
|
|
3565
|
+
* Subnet where the consumer-side address is located
|
|
3449
3566
|
* @type {string || null}
|
|
3450
3567
|
*/
|
|
3451
3568
|
this.ConsumerSubnetId = null;
|
|
3452
3569
|
|
|
3453
3570
|
/**
|
|
3454
|
-
*
|
|
3571
|
+
* Subscribe to instance specifications
|
|
3455
3572
|
* @type {string || null}
|
|
3456
3573
|
*/
|
|
3457
3574
|
this.InstanceClass = null;
|
|
@@ -3707,89 +3824,79 @@ class Options extends AbstractModel {
|
|
|
3707
3824
|
super();
|
|
3708
3825
|
|
|
3709
3826
|
/**
|
|
3710
|
-
*
|
|
3711
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3827
|
+
* <p>Synchronization initialization options: Data (Full Data initialization), Structure (Structure initialization), Full (Full Data and Structure initialization, default), None (incremental only). The mongodb link supports only Full Data initialization or incremental only.</p>
|
|
3712
3828
|
* @type {string || null}
|
|
3713
3829
|
*/
|
|
3714
3830
|
this.InitType = null;
|
|
3715
3831
|
|
|
3716
3832
|
/**
|
|
3717
|
-
*
|
|
3718
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3833
|
+
* <p>Handling of tables with the same name, ReportErrorAfterCheck (pre-validation and error reporting, default), ExecuteAfterIgnore (ignore and continue execution).</p>
|
|
3719
3834
|
* @type {string || null}
|
|
3720
3835
|
*/
|
|
3721
3836
|
this.DealOfExistSameTable = null;
|
|
3722
3837
|
|
|
3723
3838
|
/**
|
|
3724
|
-
* Conflict
|
|
3725
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3839
|
+
* <p>Conflict resolution options: ReportError (report error, default), Ignore, Cover, ConditionCover</p>
|
|
3726
3840
|
* @type {string || null}
|
|
3727
3841
|
*/
|
|
3728
3842
|
this.ConflictHandleType = null;
|
|
3729
3843
|
|
|
3730
3844
|
/**
|
|
3731
|
-
* Whether to add
|
|
3732
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3845
|
+
* <p>Whether to add an additional column</p>
|
|
3733
3846
|
* @type {boolean || null}
|
|
3734
3847
|
*/
|
|
3735
3848
|
this.AddAdditionalColumn = null;
|
|
3736
3849
|
|
|
3737
3850
|
/**
|
|
3738
|
-
* DML and DDL
|
|
3739
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3851
|
+
* <p>Options for DML and DDL to be synchronized: Insert, Update, Delete, DDL (structure synchronization), PartialDDL (custom, can be used together with DdlOptions). Note that it must contain at least one DML option.</p>
|
|
3740
3852
|
* @type {Array.<string> || null}
|
|
3741
3853
|
*/
|
|
3742
3854
|
this.OpTypes = null;
|
|
3743
3855
|
|
|
3744
3856
|
/**
|
|
3745
|
-
* Detailed
|
|
3746
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3857
|
+
* <p>Detailed options for conflict resolution, such as condition row and conditional operation in condition coverage</p>
|
|
3747
3858
|
* @type {ConflictHandleOption || null}
|
|
3748
3859
|
*/
|
|
3749
3860
|
this.ConflictHandleOption = null;
|
|
3750
3861
|
|
|
3751
3862
|
/**
|
|
3752
|
-
* DDL
|
|
3753
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3863
|
+
* <p>DDL synchronization option. Description of which DDLs to synchronize.</p>
|
|
3754
3864
|
* @type {Array.<DdlOption> || null}
|
|
3755
3865
|
*/
|
|
3756
3866
|
this.DdlOptions = null;
|
|
3757
3867
|
|
|
3758
3868
|
/**
|
|
3759
|
-
*
|
|
3760
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3869
|
+
* <p>kafka sync options</p>
|
|
3761
3870
|
* @type {KafkaOption || null}
|
|
3762
3871
|
*/
|
|
3763
3872
|
this.KafkaOption = null;
|
|
3764
3873
|
|
|
3765
3874
|
/**
|
|
3766
|
-
* Task speed limit information
|
|
3767
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3875
|
+
* <p>Task speed limit information</p>
|
|
3768
3876
|
* @type {RateLimitOption || null}
|
|
3769
3877
|
*/
|
|
3770
3878
|
this.RateLimitOption = null;
|
|
3771
3879
|
|
|
3772
3880
|
/**
|
|
3773
|
-
*
|
|
3774
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3881
|
+
* <p>Time window for automatic retry settings</p>
|
|
3775
3882
|
* @type {number || null}
|
|
3776
3883
|
*/
|
|
3777
3884
|
this.AutoRetryTimeRangeMinutes = null;
|
|
3778
3885
|
|
|
3779
3886
|
/**
|
|
3780
|
-
*
|
|
3887
|
+
* <p>Synchronize to the specified checkpoint of the kafka link. Currently only support time format: 2023-12-20T19:24:23+08:00. If not specified, it is empty.</p>
|
|
3781
3888
|
* @type {string || null}
|
|
3782
3889
|
*/
|
|
3783
3890
|
this.StartPosition = null;
|
|
3784
3891
|
|
|
3785
3892
|
/**
|
|
3786
|
-
*
|
|
3893
|
+
* <p>Whether to filter out begin and commit messages when synchronizing to kafka. Currently, only the mysql-to-kafka link supports this.</p>
|
|
3787
3894
|
* @type {boolean || null}
|
|
3788
3895
|
*/
|
|
3789
3896
|
this.FilterBeginCommit = null;
|
|
3790
3897
|
|
|
3791
3898
|
/**
|
|
3792
|
-
*
|
|
3899
|
+
* <p>Whether to filter out checkpoint messages when synchronizing to kafka. Currently, only the mysql-to-kafka link supports this.</p>
|
|
3793
3900
|
* @type {boolean || null}
|
|
3794
3901
|
*/
|
|
3795
3902
|
this.FilterCheckpoint = null;
|
|
@@ -4027,28 +4134,25 @@ class SyncDBEndpointInfos extends AbstractModel {
|
|
|
4027
4134
|
super();
|
|
4028
4135
|
|
|
4029
4136
|
/**
|
|
4030
|
-
*
|
|
4031
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4137
|
+
* Database region
|
|
4032
4138
|
* @type {string || null}
|
|
4033
4139
|
*/
|
|
4034
4140
|
this.Region = null;
|
|
4035
4141
|
|
|
4036
4142
|
/**
|
|
4037
|
-
* Instance network access type.
|
|
4038
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4143
|
+
* Instance network access type. For example: extranet (public network), ipv6 (public network ipv6), cvm (self-built CVM), dcg (DC), vpncloud (instance accessed via VPN), cdb (cloud database), ccn (CCN), intranet (self-developed cloud migration), and vpc (VPC). Note that the specific valid values depend on the current linkage.
|
|
4039
4144
|
* @type {string || null}
|
|
4040
4145
|
*/
|
|
4041
4146
|
this.AccessType = null;
|
|
4042
4147
|
|
|
4043
4148
|
/**
|
|
4044
|
-
*
|
|
4045
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4149
|
+
* Instance database type. For example: mysql, redis, mongodb, postgresql, mariadb, and percona.
|
|
4046
4150
|
* @type {string || null}
|
|
4047
4151
|
*/
|
|
4048
4152
|
this.DatabaseType = null;
|
|
4049
4153
|
|
|
4050
4154
|
/**
|
|
4051
|
-
* Database information. Note: If the
|
|
4155
|
+
* Database information. Note: If the database type is tdsqlmysql, the order of the Endpoint array should follow the following rule: proxy nodes are placed before set nodes. If SrcConnectType selects proxy access, only the proxy node needs to be filled. If set access is selected, the first set node in the array should be the shard with a shardkey range starting from 0.
|
|
4052
4156
|
* @type {Array.<Endpoint> || null}
|
|
4053
4157
|
*/
|
|
4054
4158
|
this.Info = null;
|
|
@@ -5316,7 +5420,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5316
5420
|
}
|
|
5317
5421
|
|
|
5318
5422
|
/**
|
|
5319
|
-
*
|
|
5423
|
+
* Synchronization option fields added when the destination is Kafka.
|
|
5320
5424
|
* @class
|
|
5321
5425
|
*/
|
|
5322
5426
|
class KafkaOption extends AbstractModel {
|
|
@@ -5324,29 +5428,35 @@ class KafkaOption extends AbstractModel {
|
|
|
5324
5428
|
super();
|
|
5325
5429
|
|
|
5326
5430
|
/**
|
|
5327
|
-
* Data type delivered to
|
|
5431
|
+
* <p>Data type delivered to kafka, such as Avro, Json, canal-pb, canal-Json, debezium</p>
|
|
5328
5432
|
* @type {string || null}
|
|
5329
5433
|
*/
|
|
5330
5434
|
this.DataType = null;
|
|
5331
5435
|
|
|
5332
5436
|
/**
|
|
5333
|
-
*
|
|
5437
|
+
* <p>Synchronize topic policies, for example, Single (Deliver to a single topic), Multi (Custom topic name)</p>
|
|
5334
5438
|
* @type {string || null}
|
|
5335
5439
|
*/
|
|
5336
5440
|
this.TopicType = null;
|
|
5337
5441
|
|
|
5338
5442
|
/**
|
|
5339
|
-
*
|
|
5443
|
+
* <p>topic used to store ddl</p>
|
|
5340
5444
|
* @type {string || null}
|
|
5341
5445
|
*/
|
|
5342
5446
|
this.DDLTopicName = null;
|
|
5343
5447
|
|
|
5344
5448
|
/**
|
|
5345
|
-
*
|
|
5449
|
+
* <p>Description of single topic and custom topic</p>
|
|
5346
5450
|
* @type {Array.<TopicRule> || null}
|
|
5347
5451
|
*/
|
|
5348
5452
|
this.TopicRules = null;
|
|
5349
5453
|
|
|
5454
|
+
/**
|
|
5455
|
+
* <p>Additional information, for specific data types, additional parameters can be set. For example, for Canal-compatible feature support: "canalOfficialFormat":"on" means to enable the Canal-compatible feature, not included by default. For large message skipping feature support: "skipLargeMessage":"on" means to enable skipping large messages, not included by default; when enabled, "maxMessageSizeMB" must be simultaneously set to a positive integer string from 1 to 100, representing the max message size threshold (MB), messages exceeding this size will be skipped, not included by default.</p>
|
|
5456
|
+
* @type {Array.<KeyValuePairOption> || null}
|
|
5457
|
+
*/
|
|
5458
|
+
this.DataOption = null;
|
|
5459
|
+
|
|
5350
5460
|
}
|
|
5351
5461
|
|
|
5352
5462
|
/**
|
|
@@ -5369,6 +5479,15 @@ class KafkaOption extends AbstractModel {
|
|
|
5369
5479
|
}
|
|
5370
5480
|
}
|
|
5371
5481
|
|
|
5482
|
+
if (params.DataOption) {
|
|
5483
|
+
this.DataOption = new Array();
|
|
5484
|
+
for (let z in params.DataOption) {
|
|
5485
|
+
let obj = new KeyValuePairOption();
|
|
5486
|
+
obj.deserialize(params.DataOption[z]);
|
|
5487
|
+
this.DataOption.push(obj);
|
|
5488
|
+
}
|
|
5489
|
+
}
|
|
5490
|
+
|
|
5372
5491
|
}
|
|
5373
5492
|
}
|
|
5374
5493
|
|
|
@@ -5698,7 +5817,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5698
5817
|
}
|
|
5699
5818
|
|
|
5700
5819
|
/**
|
|
5701
|
-
*
|
|
5820
|
+
* Description of single and custom topics. During shipping to a single topic, the last item in this array will be treated as the default partition strategy. All unmatched data will be shipped according to this strategy. The default strategy only supports three options: shipping to partition 0, by table name, or by table name+primary key.
|
|
5702
5821
|
* @class
|
|
5703
5822
|
*/
|
|
5704
5823
|
class TopicRule extends AbstractModel {
|
|
@@ -5706,41 +5825,47 @@ class TopicRule extends AbstractModel {
|
|
|
5706
5825
|
super();
|
|
5707
5826
|
|
|
5708
5827
|
/**
|
|
5709
|
-
* Topic name
|
|
5828
|
+
* Topic name. For single-topic scenarios, all TopicNames should be the same.
|
|
5710
5829
|
* @type {string || null}
|
|
5711
5830
|
*/
|
|
5712
5831
|
this.TopicName = null;
|
|
5713
5832
|
|
|
5714
5833
|
/**
|
|
5715
|
-
* Topic
|
|
5834
|
+
* Topic partition policy. When a topic is customized, the valid value is Random (random shipping); when centralizing shipping to a single topic is adopted, the valid values are AllInPartitionZero (ship all to partition 0), PartitionByTable (partition by table name), PartitionByTableAndKey (partition by table name and primary key), and PartitionByCols (partition by column).
|
|
5716
5835
|
* @type {string || null}
|
|
5717
5836
|
*/
|
|
5718
5837
|
this.PartitionType = null;
|
|
5719
5838
|
|
|
5720
5839
|
/**
|
|
5721
|
-
* Database name matching rule.
|
|
5840
|
+
* Database name matching rule. For example: Regular (regular expression matching) and Default (remaining databases that do not meet any rule). The last item in the array should be Default.
|
|
5722
5841
|
* @type {string || null}
|
|
5723
5842
|
*/
|
|
5724
5843
|
this.DbMatchMode = null;
|
|
5725
5844
|
|
|
5726
5845
|
/**
|
|
5727
|
-
* Database name
|
|
5846
|
+
* Database name. It is valid when DbMatchMode=Regular.
|
|
5728
5847
|
* @type {string || null}
|
|
5729
5848
|
*/
|
|
5730
5849
|
this.DbName = null;
|
|
5731
5850
|
|
|
5732
5851
|
/**
|
|
5733
|
-
* Table name matching rule.
|
|
5852
|
+
* Table name matching rule. For example: Regular (regular expression matching) and Default (remaining tables that do not meet any rule). The last item in the array should be Default.
|
|
5734
5853
|
* @type {string || null}
|
|
5735
5854
|
*/
|
|
5736
5855
|
this.TableMatchMode = null;
|
|
5737
5856
|
|
|
5738
5857
|
/**
|
|
5739
|
-
* Table name
|
|
5858
|
+
* Table name. It is valid when TableMatchMode is Regular.
|
|
5740
5859
|
* @type {string || null}
|
|
5741
5860
|
*/
|
|
5742
5861
|
this.TableName = null;
|
|
5743
5862
|
|
|
5863
|
+
/**
|
|
5864
|
+
* When partitioning by column, you need to select and configure column names. Multi-column selection is supported.
|
|
5865
|
+
* @type {Array.<string> || null}
|
|
5866
|
+
*/
|
|
5867
|
+
this.Columns = null;
|
|
5868
|
+
|
|
5744
5869
|
}
|
|
5745
5870
|
|
|
5746
5871
|
/**
|
|
@@ -5756,6 +5881,7 @@ class TopicRule extends AbstractModel {
|
|
|
5756
5881
|
this.DbName = 'DbName' in params ? params.DbName : null;
|
|
5757
5882
|
this.TableMatchMode = 'TableMatchMode' in params ? params.TableMatchMode : null;
|
|
5758
5883
|
this.TableName = 'TableName' in params ? params.TableName : null;
|
|
5884
|
+
this.Columns = 'Columns' in params ? params.Columns : null;
|
|
5759
5885
|
|
|
5760
5886
|
}
|
|
5761
5887
|
}
|
|
@@ -6602,6 +6728,49 @@ class ModifyCompareTaskRequest extends AbstractModel {
|
|
|
6602
6728
|
}
|
|
6603
6729
|
}
|
|
6604
6730
|
|
|
6731
|
+
/**
|
|
6732
|
+
* DDL/DML Filter Rule
|
|
6733
|
+
* @class
|
|
6734
|
+
*/
|
|
6735
|
+
class OpFilter extends AbstractModel {
|
|
6736
|
+
constructor(){
|
|
6737
|
+
super();
|
|
6738
|
+
|
|
6739
|
+
/**
|
|
6740
|
+
* DML allowlist
|
|
6741
|
+
* @type {Array.<string> || null}
|
|
6742
|
+
*/
|
|
6743
|
+
this.OpTypes = null;
|
|
6744
|
+
|
|
6745
|
+
/**
|
|
6746
|
+
* DDL allowlist
|
|
6747
|
+
* @type {Array.<DdlOption> || null}
|
|
6748
|
+
*/
|
|
6749
|
+
this.DdlOptions = null;
|
|
6750
|
+
|
|
6751
|
+
}
|
|
6752
|
+
|
|
6753
|
+
/**
|
|
6754
|
+
* @private
|
|
6755
|
+
*/
|
|
6756
|
+
deserialize(params) {
|
|
6757
|
+
if (!params) {
|
|
6758
|
+
return;
|
|
6759
|
+
}
|
|
6760
|
+
this.OpTypes = 'OpTypes' in params ? params.OpTypes : null;
|
|
6761
|
+
|
|
6762
|
+
if (params.DdlOptions) {
|
|
6763
|
+
this.DdlOptions = new Array();
|
|
6764
|
+
for (let z in params.DdlOptions) {
|
|
6765
|
+
let obj = new DdlOption();
|
|
6766
|
+
obj.deserialize(params.DdlOptions[z]);
|
|
6767
|
+
this.DdlOptions.push(obj);
|
|
6768
|
+
}
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
}
|
|
6772
|
+
}
|
|
6773
|
+
|
|
6605
6774
|
/**
|
|
6606
6775
|
* RecoverSyncJob request structure.
|
|
6607
6776
|
* @class
|
|
@@ -6639,127 +6808,109 @@ class Database extends AbstractModel {
|
|
|
6639
6808
|
super();
|
|
6640
6809
|
|
|
6641
6810
|
/**
|
|
6642
|
-
*
|
|
6643
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6811
|
+
* <p>Database name for migration or synchronization. This item is required when ObjectMode is Partial.</p>
|
|
6644
6812
|
* @type {string || null}
|
|
6645
6813
|
*/
|
|
6646
6814
|
this.DbName = null;
|
|
6647
6815
|
|
|
6648
6816
|
/**
|
|
6649
|
-
*
|
|
6650
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6817
|
+
* <p>The name of the migrated or synchronized database is identical to that of the source database by default.</p>
|
|
6651
6818
|
* @type {string || null}
|
|
6652
6819
|
*/
|
|
6653
6820
|
this.NewDbName = null;
|
|
6654
6821
|
|
|
6655
6822
|
/**
|
|
6656
|
-
*
|
|
6657
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6823
|
+
* <p>DB selection mode: All (for all objects under the current object), Partial (partial objects). This item is required when Mode is Partial. Note that synchronization of advanced objects is independent of this value. If you sync entire database, it should be All here.</p>
|
|
6658
6824
|
* @type {string || null}
|
|
6659
6825
|
*/
|
|
6660
6826
|
this.DbMode = null;
|
|
6661
6827
|
|
|
6662
6828
|
/**
|
|
6663
|
-
*
|
|
6664
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6829
|
+
* <p>schema for migration or synchronization</p>
|
|
6665
6830
|
* @type {string || null}
|
|
6666
6831
|
*/
|
|
6667
6832
|
this.SchemaName = null;
|
|
6668
6833
|
|
|
6669
6834
|
/**
|
|
6670
|
-
*
|
|
6671
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6835
|
+
* <p>schema name after migration or synchronization</p>
|
|
6672
6836
|
* @type {string || null}
|
|
6673
6837
|
*/
|
|
6674
6838
|
this.NewSchemaName = null;
|
|
6675
6839
|
|
|
6676
6840
|
/**
|
|
6677
|
-
*
|
|
6678
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6841
|
+
* <p>schema Selection Mode, pg and sqlserver require the use of</p><p>Enumeration value:</p><ul><li>All: All objects under the current object</li><li>Partial: Partial objects</li></ul>
|
|
6679
6842
|
* @type {string || null}
|
|
6680
6843
|
*/
|
|
6681
6844
|
this.SchemaMode = null;
|
|
6682
6845
|
|
|
6683
6846
|
/**
|
|
6684
|
-
*
|
|
6685
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6847
|
+
* <p>Schema selection mode: All (for all objects under the current object), Partial (partial objects). This item is required when DBMode is Partial. If you sync entire database, it should be All here.</p>
|
|
6686
6848
|
* @type {string || null}
|
|
6687
6849
|
*/
|
|
6688
6850
|
this.TableMode = null;
|
|
6689
6851
|
|
|
6690
6852
|
/**
|
|
6691
|
-
*
|
|
6692
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6853
|
+
* <p>Table diagram object set. This item needs to be filled in when TableMode is Partial.</p>
|
|
6693
6854
|
* @type {Array.<Table> || null}
|
|
6694
6855
|
*/
|
|
6695
6856
|
this.Tables = null;
|
|
6696
6857
|
|
|
6697
6858
|
/**
|
|
6698
|
-
* View selection mode
|
|
6699
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6859
|
+
* <p>View selection mode: All indicates all view objects under the current object, Partial indicates partial view objects. If you sync entire database, it should be All here.</p>
|
|
6700
6860
|
* @type {string || null}
|
|
6701
6861
|
*/
|
|
6702
6862
|
this.ViewMode = null;
|
|
6703
6863
|
|
|
6704
6864
|
/**
|
|
6705
|
-
*
|
|
6706
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6865
|
+
* <p>View object set. When ViewMode is Partial, this item requires filling in.</p>
|
|
6707
6866
|
* @type {Array.<View> || null}
|
|
6708
6867
|
*/
|
|
6709
6868
|
this.Views = null;
|
|
6710
6869
|
|
|
6711
6870
|
/**
|
|
6712
|
-
*
|
|
6713
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6871
|
+
* <p>Select the sync mode. Partial means part, and All means the entire database. If you want to sync entire database, select All here.</p>
|
|
6714
6872
|
* @type {string || null}
|
|
6715
6873
|
*/
|
|
6716
6874
|
this.FunctionMode = null;
|
|
6717
6875
|
|
|
6718
6876
|
/**
|
|
6719
|
-
* This
|
|
6720
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6877
|
+
* <p>This item needs to be filled in when FunctionMode value is Partial.</p>
|
|
6721
6878
|
* @type {Array.<string> || null}
|
|
6722
6879
|
*/
|
|
6723
6880
|
this.Functions = null;
|
|
6724
6881
|
|
|
6725
6882
|
/**
|
|
6726
|
-
*
|
|
6727
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6883
|
+
* <p>Select the sync mode. Partial means part, and All means the entire database. If you want to sync entire database, select All here.</p>
|
|
6728
6884
|
* @type {string || null}
|
|
6729
6885
|
*/
|
|
6730
6886
|
this.ProcedureMode = null;
|
|
6731
6887
|
|
|
6732
6888
|
/**
|
|
6733
|
-
* This
|
|
6734
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6889
|
+
* <p>This item needs to be filled in when the ProcedureMode value is Partial.</p>
|
|
6735
6890
|
* @type {Array.<string> || null}
|
|
6736
6891
|
*/
|
|
6737
6892
|
this.Procedures = null;
|
|
6738
6893
|
|
|
6739
6894
|
/**
|
|
6740
|
-
* Trigger
|
|
6741
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6895
|
+
* <p>Trigger migration mode, All (all objects under the current object), Partial (partial objects). If syncing the entire database, it should be All here. Data sync does not currently support this advanced object.</p>
|
|
6742
6896
|
* @type {string || null}
|
|
6743
6897
|
*/
|
|
6744
6898
|
this.TriggerMode = null;
|
|
6745
6899
|
|
|
6746
6900
|
/**
|
|
6747
|
-
*
|
|
6748
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6901
|
+
* <p>When TriggerMode is partial, specify the trigger name to migrate.</p>
|
|
6749
6902
|
* @type {Array.<string> || null}
|
|
6750
6903
|
*/
|
|
6751
6904
|
this.Triggers = null;
|
|
6752
6905
|
|
|
6753
6906
|
/**
|
|
6754
|
-
* Event
|
|
6755
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6907
|
+
* <p>Event migration mode: All (all objects under the current object), Partial (partial objects). If syncing the entire database, it should be All here. This advanced object is not currently supported for data sync.</p>
|
|
6756
6908
|
* @type {string || null}
|
|
6757
6909
|
*/
|
|
6758
6910
|
this.EventMode = null;
|
|
6759
6911
|
|
|
6760
6912
|
/**
|
|
6761
|
-
*
|
|
6762
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6913
|
+
* <p>When EventMode is partial, specify the event name to migrate.</p>
|
|
6763
6914
|
* @type {Array.<string> || null}
|
|
6764
6915
|
*/
|
|
6765
6916
|
this.Events = null;
|
|
@@ -6820,14 +6971,13 @@ class Column extends AbstractModel {
|
|
|
6820
6971
|
super();
|
|
6821
6972
|
|
|
6822
6973
|
/**
|
|
6823
|
-
* Column
|
|
6974
|
+
* Column name
|
|
6824
6975
|
* @type {string || null}
|
|
6825
6976
|
*/
|
|
6826
6977
|
this.ColumnName = null;
|
|
6827
6978
|
|
|
6828
6979
|
/**
|
|
6829
|
-
* New column name
|
|
6830
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
6980
|
+
* New column name.
|
|
6831
6981
|
* @type {string || null}
|
|
6832
6982
|
*/
|
|
6833
6983
|
this.NewColumnName = null;
|
|
@@ -7978,14 +8128,13 @@ class View extends AbstractModel {
|
|
|
7978
8128
|
super();
|
|
7979
8129
|
|
|
7980
8130
|
/**
|
|
7981
|
-
* View name
|
|
7982
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8131
|
+
* View name.
|
|
7983
8132
|
* @type {string || null}
|
|
7984
8133
|
*/
|
|
7985
8134
|
this.ViewName = null;
|
|
7986
8135
|
|
|
7987
8136
|
/**
|
|
7988
|
-
* Reserved field. Currently,
|
|
8137
|
+
* Reserved field. Currently, view renaming is not supported.
|
|
7989
8138
|
* @type {string || null}
|
|
7990
8139
|
*/
|
|
7991
8140
|
this.NewViewName = null;
|
|
@@ -8224,72 +8373,119 @@ class RateLimitOption extends AbstractModel {
|
|
|
8224
8373
|
super();
|
|
8225
8374
|
|
|
8226
8375
|
/**
|
|
8227
|
-
*
|
|
8376
|
+
* Currently effective number of threads for full export. You can adjust this field value when the task is configured. Note: If it is not set or set to 0, the current value is kept. The maximum value is 16.
|
|
8228
8377
|
* @type {number || null}
|
|
8229
8378
|
*/
|
|
8230
8379
|
this.CurrentDumpThread = null;
|
|
8231
8380
|
|
|
8232
8381
|
/**
|
|
8233
|
-
* The default number of full export
|
|
8382
|
+
* The default number of threads for full export. This field is only meaningful in the output parameters.
|
|
8234
8383
|
* @type {number || null}
|
|
8235
8384
|
*/
|
|
8236
8385
|
this.DefaultDumpThread = null;
|
|
8237
8386
|
|
|
8238
8387
|
/**
|
|
8239
|
-
* The
|
|
8388
|
+
* The currently effective Rps for full export. You can adjust this field value when configuring the task. Note: If not set or set to 0, it indicates to keep the current value. The maximum value is 50000000.
|
|
8240
8389
|
* @type {number || null}
|
|
8241
8390
|
*/
|
|
8242
8391
|
this.CurrentDumpRps = null;
|
|
8243
8392
|
|
|
8244
8393
|
/**
|
|
8245
|
-
* The default full export
|
|
8394
|
+
* The default Rps for full export. This field is only meaningful in the output parameters.
|
|
8246
8395
|
* @type {number || null}
|
|
8247
8396
|
*/
|
|
8248
8397
|
this.DefaultDumpRps = null;
|
|
8249
8398
|
|
|
8250
8399
|
/**
|
|
8251
|
-
*
|
|
8400
|
+
* Currently effective number of threads for full import. You can adjust this field value when the task is configured. Note: If it is not set or set to 0, the current value is kept. The maximum value is 16.
|
|
8252
8401
|
* @type {number || null}
|
|
8253
8402
|
*/
|
|
8254
8403
|
this.CurrentLoadThread = null;
|
|
8255
8404
|
|
|
8256
8405
|
/**
|
|
8257
|
-
* The default number of full import
|
|
8406
|
+
* The default number of threads for full import. This field is only meaningful in the output parameters.
|
|
8258
8407
|
* @type {number || null}
|
|
8259
8408
|
*/
|
|
8260
8409
|
this.DefaultLoadThread = null;
|
|
8261
8410
|
|
|
8262
8411
|
/**
|
|
8263
|
-
* The
|
|
8412
|
+
* The currently effective Rps for full import. You can adjust this field value when configuring the task. Note: If not set or set to 0, it indicates to keep the current value. The maximum value is 50000000.
|
|
8264
8413
|
* @type {number || null}
|
|
8265
8414
|
*/
|
|
8266
8415
|
this.CurrentLoadRps = null;
|
|
8267
8416
|
|
|
8268
8417
|
/**
|
|
8269
|
-
*
|
|
8418
|
+
* Default full import Rps. This field is only meaningful in the output parameter.
|
|
8270
8419
|
* @type {number || null}
|
|
8271
8420
|
*/
|
|
8272
8421
|
this.DefaultLoadRps = null;
|
|
8273
8422
|
|
|
8274
8423
|
/**
|
|
8275
|
-
* The number of
|
|
8424
|
+
* The currently effective number of threads for incremental import. You can adjust this field value when configuring the task. Note: If not set or set to 0, it indicates to keep the current value. The maximum value is 128.
|
|
8276
8425
|
* @type {number || null}
|
|
8277
8426
|
*/
|
|
8278
8427
|
this.CurrentSinkerThread = null;
|
|
8279
8428
|
|
|
8280
8429
|
/**
|
|
8281
|
-
* The default number of incremental import
|
|
8282
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
8430
|
+
* The default number of threads for incremental import. This field is only meaningful in the output parameters.
|
|
8283
8431
|
* @type {number || null}
|
|
8284
8432
|
*/
|
|
8285
8433
|
this.DefaultSinkerThread = null;
|
|
8286
8434
|
|
|
8287
8435
|
/**
|
|
8288
|
-
* enum:"no"/"yes"
|
|
8436
|
+
* enum: "no"/"yes". no indicates that the user has not set a speed limit, while yes indicates that a speed limit has been set. This field is only meaningful in the output parameters.
|
|
8289
8437
|
* @type {string || null}
|
|
8290
8438
|
*/
|
|
8291
8439
|
this.HasUserSetRateLimit = null;
|
|
8292
8440
|
|
|
8441
|
+
/**
|
|
8442
|
+
* Default full export BPS, currently supported only for MongoDB links.
|
|
8443
|
+
* @type {number || null}
|
|
8444
|
+
*/
|
|
8445
|
+
this.DefaultDumpBps = null;
|
|
8446
|
+
|
|
8447
|
+
/**
|
|
8448
|
+
* Incremental import RPS, currently supported only for MongoDB links.
|
|
8449
|
+
* @type {number || null}
|
|
8450
|
+
*/
|
|
8451
|
+
this.CurrentSinkerRps = null;
|
|
8452
|
+
|
|
8453
|
+
/**
|
|
8454
|
+
* Default incremental import RPS, currently supported only for MongoDB links.
|
|
8455
|
+
* @type {number || null}
|
|
8456
|
+
*/
|
|
8457
|
+
this.DefaultSinkerRps = null;
|
|
8458
|
+
|
|
8459
|
+
/**
|
|
8460
|
+
* Current import BPS. Currently, it is only used for Redis.
|
|
8461
|
+
* @type {number || null}
|
|
8462
|
+
*/
|
|
8463
|
+
this.CurrentLoadBps = null;
|
|
8464
|
+
|
|
8465
|
+
/**
|
|
8466
|
+
* Number of shards in the target database. Currently, only used for Redis.
|
|
8467
|
+
* @type {number || null}
|
|
8468
|
+
*/
|
|
8469
|
+
this.CurrentDstShardCount = null;
|
|
8470
|
+
|
|
8471
|
+
/**
|
|
8472
|
+
* Full export BPS, currently supported only for MongoDB links.
|
|
8473
|
+
* @type {number || null}
|
|
8474
|
+
*/
|
|
8475
|
+
this.CurrentDumpBps = null;
|
|
8476
|
+
|
|
8477
|
+
/**
|
|
8478
|
+
* Incremental import BPS, currently supported only for MongoDB links.
|
|
8479
|
+
* @type {number || null}
|
|
8480
|
+
*/
|
|
8481
|
+
this.CurrentSinkerBps = null;
|
|
8482
|
+
|
|
8483
|
+
/**
|
|
8484
|
+
* Default incremental import BPS, currently supported only for MongoDB links.
|
|
8485
|
+
* @type {number || null}
|
|
8486
|
+
*/
|
|
8487
|
+
this.DefaultSinkerBps = null;
|
|
8488
|
+
|
|
8293
8489
|
}
|
|
8294
8490
|
|
|
8295
8491
|
/**
|
|
@@ -8310,6 +8506,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8310
8506
|
this.CurrentSinkerThread = 'CurrentSinkerThread' in params ? params.CurrentSinkerThread : null;
|
|
8311
8507
|
this.DefaultSinkerThread = 'DefaultSinkerThread' in params ? params.DefaultSinkerThread : null;
|
|
8312
8508
|
this.HasUserSetRateLimit = 'HasUserSetRateLimit' in params ? params.HasUserSetRateLimit : null;
|
|
8509
|
+
this.DefaultDumpBps = 'DefaultDumpBps' in params ? params.DefaultDumpBps : null;
|
|
8510
|
+
this.CurrentSinkerRps = 'CurrentSinkerRps' in params ? params.CurrentSinkerRps : null;
|
|
8511
|
+
this.DefaultSinkerRps = 'DefaultSinkerRps' in params ? params.DefaultSinkerRps : null;
|
|
8512
|
+
this.CurrentLoadBps = 'CurrentLoadBps' in params ? params.CurrentLoadBps : null;
|
|
8513
|
+
this.CurrentDstShardCount = 'CurrentDstShardCount' in params ? params.CurrentDstShardCount : null;
|
|
8514
|
+
this.CurrentDumpBps = 'CurrentDumpBps' in params ? params.CurrentDumpBps : null;
|
|
8515
|
+
this.CurrentSinkerBps = 'CurrentSinkerBps' in params ? params.CurrentSinkerBps : null;
|
|
8516
|
+
this.DefaultSinkerBps = 'DefaultSinkerBps' in params ? params.DefaultSinkerBps : null;
|
|
8313
8517
|
|
|
8314
8518
|
}
|
|
8315
8519
|
}
|
|
@@ -8499,6 +8703,46 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
8499
8703
|
}
|
|
8500
8704
|
}
|
|
8501
8705
|
|
|
8706
|
+
/**
|
|
8707
|
+
* View-level DDL/DML filtering information
|
|
8708
|
+
* @class
|
|
8709
|
+
*/
|
|
8710
|
+
class ViewFilter extends AbstractModel {
|
|
8711
|
+
constructor(){
|
|
8712
|
+
super();
|
|
8713
|
+
|
|
8714
|
+
/**
|
|
8715
|
+
* View name for rule effectiveness
|
|
8716
|
+
* @type {string || null}
|
|
8717
|
+
*/
|
|
8718
|
+
this.ViewName = null;
|
|
8719
|
+
|
|
8720
|
+
/**
|
|
8721
|
+
* View-level DDL/DML Filter Rule
|
|
8722
|
+
* @type {OpFilter || null}
|
|
8723
|
+
*/
|
|
8724
|
+
this.OpFilter = null;
|
|
8725
|
+
|
|
8726
|
+
}
|
|
8727
|
+
|
|
8728
|
+
/**
|
|
8729
|
+
* @private
|
|
8730
|
+
*/
|
|
8731
|
+
deserialize(params) {
|
|
8732
|
+
if (!params) {
|
|
8733
|
+
return;
|
|
8734
|
+
}
|
|
8735
|
+
this.ViewName = 'ViewName' in params ? params.ViewName : null;
|
|
8736
|
+
|
|
8737
|
+
if (params.OpFilter) {
|
|
8738
|
+
let obj = new OpFilter();
|
|
8739
|
+
obj.deserialize(params.OpFilter)
|
|
8740
|
+
this.OpFilter = obj;
|
|
8741
|
+
}
|
|
8742
|
+
|
|
8743
|
+
}
|
|
8744
|
+
}
|
|
8745
|
+
|
|
8502
8746
|
/**
|
|
8503
8747
|
* Check step
|
|
8504
8748
|
* @class
|
|
@@ -9469,19 +9713,19 @@ class CreateSubscribeRequest extends AbstractModel {
|
|
|
9469
9713
|
this.Product = null;
|
|
9470
9714
|
|
|
9471
9715
|
/**
|
|
9472
|
-
* Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go).
|
|
9716
|
+
* Payment method. Valid values: 0 (yearly/monthly subscription); 1 (pay-as-you-go).
|
|
9473
9717
|
* @type {number || null}
|
|
9474
9718
|
*/
|
|
9475
9719
|
this.PayType = null;
|
|
9476
9720
|
|
|
9477
9721
|
/**
|
|
9478
|
-
* Purchase duration. This field needs to be filled in when the payType is monthly subscription. The unit is month. Value range: 1-120. Default value: 1.
|
|
9722
|
+
* Purchase duration. This field needs to be filled in when the payType is yearly/monthly subscription. The unit is month. Value range: 1-120. Default value: 1.
|
|
9479
9723
|
* @type {number || null}
|
|
9480
9724
|
*/
|
|
9481
9725
|
this.Duration = null;
|
|
9482
9726
|
|
|
9483
9727
|
/**
|
|
9484
|
-
* Whether to renew automatically. This field needs to be filled in when the payType is monthly subscription. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). Automatic renewal is not performed by default. This flag is invalid for pay-as-you-go.
|
|
9728
|
+
* Whether to renew automatically. This field needs to be filled in when the payType is yearly/monthly subscription. Valid values: 0 (auto-renewal disabled); 1 (auto-renewal enabled). Automatic renewal is not performed by default. This flag is invalid for pay-as-you-go.
|
|
9485
9729
|
* @type {number || null}
|
|
9486
9730
|
*/
|
|
9487
9731
|
this.AutoRenew = null;
|
|
@@ -9505,7 +9749,13 @@ class CreateSubscribeRequest extends AbstractModel {
|
|
|
9505
9749
|
this.Name = null;
|
|
9506
9750
|
|
|
9507
9751
|
/**
|
|
9508
|
-
*
|
|
9752
|
+
* For the data subscription version, Kafka and KafkaPro (Professional Edition) are currently supported; if left blank, it defaults to KafkaPro.
|
|
9753
|
+
* @type {string || null}
|
|
9754
|
+
*/
|
|
9755
|
+
this.SubscribeVersion = null;
|
|
9756
|
+
|
|
9757
|
+
/**
|
|
9758
|
+
* For subscription instance specifications, only 'small', 'medium', and 'large' are currently supported.
|
|
9509
9759
|
* @type {string || null}
|
|
9510
9760
|
*/
|
|
9511
9761
|
this.InstanceClass = null;
|
|
@@ -9534,6 +9784,7 @@ class CreateSubscribeRequest extends AbstractModel {
|
|
|
9534
9784
|
}
|
|
9535
9785
|
}
|
|
9536
9786
|
this.Name = 'Name' in params ? params.Name : null;
|
|
9787
|
+
this.SubscribeVersion = 'SubscribeVersion' in params ? params.SubscribeVersion : null;
|
|
9537
9788
|
this.InstanceClass = 'InstanceClass' in params ? params.InstanceClass : null;
|
|
9538
9789
|
|
|
9539
9790
|
}
|
|
@@ -9653,31 +9904,35 @@ class Objects extends AbstractModel {
|
|
|
9653
9904
|
super();
|
|
9654
9905
|
|
|
9655
9906
|
/**
|
|
9656
|
-
* Sync object type
|
|
9907
|
+
* <p>Sync object type Partial (partial objects)</p>
|
|
9657
9908
|
* @type {string || null}
|
|
9658
9909
|
*/
|
|
9659
9910
|
this.Mode = null;
|
|
9660
9911
|
|
|
9661
9912
|
/**
|
|
9662
|
-
* Sync object,
|
|
9663
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9913
|
+
* <p>Sync object, not empty when Mode is Partial</p>
|
|
9664
9914
|
* @type {Array.<Database> || null}
|
|
9665
9915
|
*/
|
|
9666
9916
|
this.Databases = null;
|
|
9667
9917
|
|
|
9668
9918
|
/**
|
|
9669
|
-
* Advanced object types, such as function and procedure. Note: If you
|
|
9919
|
+
* <p>Advanced object types, such as function and procedure. Note: If you need to migrate and synchronize advanced objects, this configuration should contain the corresponding advanced object type. When synchronization of advanced objects is required, the initialization type must contain the structure initialization type, that is, the field value of task Options.InitType must be Structure or Full.</p>
|
|
9670
9920
|
* @type {Array.<string> || null}
|
|
9671
9921
|
*/
|
|
9672
9922
|
this.AdvancedObjects = null;
|
|
9673
9923
|
|
|
9674
9924
|
/**
|
|
9675
|
-
*
|
|
9676
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
9925
|
+
* <p>This field is deprecated. For temporary table synchronization, use Objects.Databases[n].Tables[n].TmpTables to import.</p>
|
|
9677
9926
|
* @type {OnlineDDL || null}
|
|
9678
9927
|
*/
|
|
9679
9928
|
this.OnlineDDL = null;
|
|
9680
9929
|
|
|
9930
|
+
/**
|
|
9931
|
+
* <p>Database/Table/View-level DML/DDL allowlist</p>
|
|
9932
|
+
* @type {Array.<DBOpFilter> || null}
|
|
9933
|
+
*/
|
|
9934
|
+
this.DatabasesOpFilter = null;
|
|
9935
|
+
|
|
9681
9936
|
}
|
|
9682
9937
|
|
|
9683
9938
|
/**
|
|
@@ -9705,6 +9960,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
9705
9960
|
this.OnlineDDL = obj;
|
|
9706
9961
|
}
|
|
9707
9962
|
|
|
9963
|
+
if (params.DatabasesOpFilter) {
|
|
9964
|
+
this.DatabasesOpFilter = new Array();
|
|
9965
|
+
for (let z in params.DatabasesOpFilter) {
|
|
9966
|
+
let obj = new DBOpFilter();
|
|
9967
|
+
obj.deserialize(params.DatabasesOpFilter[z]);
|
|
9968
|
+
this.DatabasesOpFilter.push(obj);
|
|
9969
|
+
}
|
|
9970
|
+
}
|
|
9971
|
+
|
|
9708
9972
|
}
|
|
9709
9973
|
}
|
|
9710
9974
|
|
|
@@ -10082,205 +10346,181 @@ class Endpoint extends AbstractModel {
|
|
|
10082
10346
|
super();
|
|
10083
10347
|
|
|
10084
10348
|
/**
|
|
10085
|
-
* Region name,
|
|
10086
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10349
|
+
* <p>Region English name, for example: ap-guangzhou</p>
|
|
10087
10350
|
* @type {string || null}
|
|
10088
10351
|
*/
|
|
10089
10352
|
this.Region = null;
|
|
10090
10353
|
|
|
10091
10354
|
/**
|
|
10092
|
-
* Node type
|
|
10093
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10355
|
+
* <p>Node type. proxy means the node type is host, set means the node type is node. proxy type must be the first item in the array. Source/target configuration for tdsqlmysql type is required.</p>
|
|
10094
10356
|
* @type {string || null}
|
|
10095
10357
|
*/
|
|
10096
10358
|
this.Role = null;
|
|
10097
10359
|
|
|
10098
10360
|
/**
|
|
10099
|
-
* Database kernel type,
|
|
10100
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10361
|
+
* <p>Database kernel type, used in tdsql to differentiate between different kernels: percona, mariadb, mysql. Note that tdsql-C mysql and tdsql PostgreSQL do not need to fill in this field.</p>
|
|
10101
10362
|
* @type {string || null}
|
|
10102
10363
|
*/
|
|
10103
10364
|
this.DbKernel = null;
|
|
10104
10365
|
|
|
10105
10366
|
/**
|
|
10106
|
-
* Database instance ID in the format of
|
|
10107
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10367
|
+
* <p>Database instance ID, in the format of: cdb-powiqx8q</p>
|
|
10108
10368
|
* @type {string || null}
|
|
10109
10369
|
*/
|
|
10110
10370
|
this.InstanceId = null;
|
|
10111
10371
|
|
|
10112
10372
|
/**
|
|
10113
|
-
*
|
|
10114
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10373
|
+
* <p>IP address of the instance. This item is required when the access type is not cdb.</p>
|
|
10115
10374
|
* @type {string || null}
|
|
10116
10375
|
*/
|
|
10117
10376
|
this.Ip = null;
|
|
10118
10377
|
|
|
10119
10378
|
/**
|
|
10120
|
-
* Instance port
|
|
10121
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10379
|
+
* <p>Instance port. This item is required when the access type is not cdb.</p>
|
|
10122
10380
|
* @type {number || null}
|
|
10123
10381
|
*/
|
|
10124
10382
|
this.Port = null;
|
|
10125
10383
|
|
|
10126
10384
|
/**
|
|
10127
|
-
*
|
|
10128
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10385
|
+
* <p>User name, required for accessing instances that need username and password authentication.</p>
|
|
10129
10386
|
* @type {string || null}
|
|
10130
10387
|
*/
|
|
10131
10388
|
this.User = null;
|
|
10132
10389
|
|
|
10133
10390
|
/**
|
|
10134
|
-
* Password
|
|
10135
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10391
|
+
* <p>Password is required for accessing instances that need username and password authentication.</p>
|
|
10136
10392
|
* @type {string || null}
|
|
10137
10393
|
*/
|
|
10138
10394
|
this.Password = null;
|
|
10139
10395
|
|
|
10140
10396
|
/**
|
|
10141
|
-
* Database name,
|
|
10142
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10397
|
+
* <p>Database name, required when the database is cdwpg</p>
|
|
10143
10398
|
* @type {string || null}
|
|
10144
10399
|
*/
|
|
10145
10400
|
this.DbName = null;
|
|
10146
10401
|
|
|
10147
10402
|
/**
|
|
10148
|
-
*
|
|
10149
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10403
|
+
* <p>Private network ID. This item is required for private network, Direct Connect, and VPN access methods, in the format of vpc-92jblxto.</p>
|
|
10150
10404
|
* @type {string || null}
|
|
10151
10405
|
*/
|
|
10152
10406
|
this.VpcId = null;
|
|
10153
10407
|
|
|
10154
10408
|
/**
|
|
10155
|
-
* ID
|
|
10156
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10409
|
+
* <p>Subnet ID under the private network. This item is required for private network, Direct Connect, and VPN access methods, in the format of subnet-3paxmkdz.</p>
|
|
10157
10410
|
* @type {string || null}
|
|
10158
10411
|
*/
|
|
10159
10412
|
this.SubnetId = null;
|
|
10160
10413
|
|
|
10161
10414
|
/**
|
|
10162
|
-
*
|
|
10163
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10415
|
+
* <p>CVM instance short ID, in the format of: ins-olgl39y8, is identical to the instance ID displayed on the cloud server console page. If it is a CVM self-created instance, this field is required.</p>
|
|
10164
10416
|
* @type {string || null}
|
|
10165
10417
|
*/
|
|
10166
10418
|
this.CvmInstanceId = null;
|
|
10167
10419
|
|
|
10168
10420
|
/**
|
|
10169
|
-
* Direct Connect gateway ID
|
|
10170
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10421
|
+
* <p>Direct Connect gateway ID. This item is required for dedicated access type, in the format of: dcg-0rxtqqxb</p>
|
|
10171
10422
|
* @type {string || null}
|
|
10172
10423
|
*/
|
|
10173
10424
|
this.UniqDcgId = null;
|
|
10174
10425
|
|
|
10175
10426
|
/**
|
|
10176
|
-
* VPN
|
|
10177
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10427
|
+
* <p>VPN Gateway ID. This item is required for VPN access type, in the format of vpngw-9ghexg7q.</p>
|
|
10178
10428
|
* @type {string || null}
|
|
10179
10429
|
*/
|
|
10180
10430
|
this.UniqVpnGwId = null;
|
|
10181
10431
|
|
|
10182
10432
|
/**
|
|
10183
|
-
*
|
|
10184
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10433
|
+
* <p>Cloud Connect Network ID. This item is required for the CCN access type, for example: ccn-afp6kltc</p>
|
|
10185
10434
|
* @type {string || null}
|
|
10186
10435
|
*/
|
|
10187
10436
|
this.CcnId = null;
|
|
10188
10437
|
|
|
10189
10438
|
/**
|
|
10190
|
-
* Cloud vendor type. For
|
|
10191
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10439
|
+
* <p>Cloud vendor type. For RDS instances, fill in aliyun. In other cases, fill in others. Default is others.</p>
|
|
10192
10440
|
* @type {string || null}
|
|
10193
10441
|
*/
|
|
10194
10442
|
this.Supplier = null;
|
|
10195
10443
|
|
|
10196
10444
|
/**
|
|
10197
|
-
* Database version in the format of
|
|
10198
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10445
|
+
* <p>Database version. Valid only for RDS instances, ignored for other instances, in the format of 5.6 or 5.7, defaults to 5.6.</p>
|
|
10199
10446
|
* @type {string || null}
|
|
10200
10447
|
*/
|
|
10201
10448
|
this.EngineVersion = null;
|
|
10202
10449
|
|
|
10203
10450
|
/**
|
|
10204
|
-
*
|
|
10205
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10451
|
+
* <p>Account of the instance. This item is required if it is a cross-account instance.</p>
|
|
10206
10452
|
* @type {string || null}
|
|
10207
10453
|
*/
|
|
10208
10454
|
this.Account = null;
|
|
10209
10455
|
|
|
10210
10456
|
/**
|
|
10211
|
-
*
|
|
10212
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10457
|
+
* <p>Associated account is empty, self (means resources within this account), or other (means cross-account resources).</p>
|
|
10213
10458
|
* @type {string || null}
|
|
10214
10459
|
*/
|
|
10215
10460
|
this.AccountMode = null;
|
|
10216
10461
|
|
|
10217
10462
|
/**
|
|
10218
|
-
*
|
|
10219
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10463
|
+
* <p>Role for cross-account sync, only allow [a-zA-Z0-9-_]+. This item is required if it is a cross-account instance.</p>
|
|
10220
10464
|
* @type {string || null}
|
|
10221
10465
|
*/
|
|
10222
10466
|
this.AccountRole = null;
|
|
10223
10467
|
|
|
10224
10468
|
/**
|
|
10225
|
-
* External role
|
|
10226
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10469
|
+
* <p>External role id</p>
|
|
10227
10470
|
* @type {string || null}
|
|
10228
10471
|
*/
|
|
10229
10472
|
this.RoleExternalId = null;
|
|
10230
10473
|
|
|
10231
10474
|
/**
|
|
10232
|
-
* Temporary
|
|
10475
|
+
* <p>Temporary key Id can be obtained by applying for role assumption temporary access credentials https://www.tencentcloud.com/document/product/1312/48197.?from_cn_redirect=1 Among them, the definition of the role resource RoleArn can be found in the DTS cross-account sync document (https://www.tencentcloud.com/document/product/571/68729?from_cn_redirect=1) Section 4 about role-based definition.</p>
|
|
10233
10476
|
* @type {string || null}
|
|
10234
10477
|
*/
|
|
10235
10478
|
this.TmpSecretId = null;
|
|
10236
10479
|
|
|
10237
10480
|
/**
|
|
10238
|
-
* Temporary
|
|
10481
|
+
* <p>Temporary key Id can be obtained by applying for role assumption temporary access credentials at https://www.tencentcloud.com/document/product/1312/48197.?from_cn_redirect=1 Among them, the definition of the role resource RoleArn can be found in the DTS cross-account sync document (https://www.tencentcloud.com/document/product/571/68729?from_cn_redirect=1) Section 4 about role definition.</p>
|
|
10239
10482
|
* @type {string || null}
|
|
10240
10483
|
*/
|
|
10241
10484
|
this.TmpSecretKey = null;
|
|
10242
10485
|
|
|
10243
10486
|
/**
|
|
10244
|
-
* Temporary
|
|
10487
|
+
* <p>Temporary key Id can be obtained by applying for role assumption temporary access credentials https://www.tencentcloud.com/document/product/1312/48197.?from_cn_redirect=1 Among them, the definition of the role resource RoleArn can be found in the DTS cross-account sync document (https://www.tencentcloud.com/document/product/571/68729?from_cn_redirect=1) Section 4 about role-based definition.</p>
|
|
10245
10488
|
* @type {string || null}
|
|
10246
10489
|
*/
|
|
10247
10490
|
this.TmpToken = null;
|
|
10248
10491
|
|
|
10249
10492
|
/**
|
|
10250
|
-
* Whether to
|
|
10251
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10493
|
+
* <p>Whether to use encrypted transmission. UnEncrypted means no encrypted transmission, Encrypted means encrypted transmission. Default: UnEncrypted</p>
|
|
10252
10494
|
* @type {string || null}
|
|
10253
10495
|
*/
|
|
10254
10496
|
this.EncryptConn = null;
|
|
10255
10497
|
|
|
10256
10498
|
/**
|
|
10257
|
-
* Network environment of the database.
|
|
10258
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10499
|
+
* <p>Network environment of the database. Required when AccessType is Cloud Connect Network (ccn). UserIDC refers to User IDC, and TencentVPC refers to Tencent Cloud VPC.</p>
|
|
10259
10500
|
* @type {string || null}
|
|
10260
10501
|
*/
|
|
10261
10502
|
this.DatabaseNetEnv = null;
|
|
10262
10503
|
|
|
10263
10504
|
/**
|
|
10264
|
-
*
|
|
10265
|
-
Note: This field may return `null`, indicating that no valid values can be obtained.
|
|
10505
|
+
* <p>When the database is an instance of cross-account cloud networking, it refers to the main account to which the CCN belongs.</p>
|
|
10266
10506
|
* @type {string || null}
|
|
10267
10507
|
*/
|
|
10268
10508
|
this.CcnOwnerUin = null;
|
|
10269
10509
|
|
|
10270
10510
|
/**
|
|
10271
|
-
*
|
|
10511
|
+
* <p>When the database is cynos and it is a sub-database instance within the cynos cluster, this parameter is the ID of the sub-instance.</p>
|
|
10272
10512
|
* @type {string || null}
|
|
10273
10513
|
*/
|
|
10274
10514
|
this.ChildInstanceId = null;
|
|
10275
10515
|
|
|
10276
10516
|
/**
|
|
10277
|
-
*
|
|
10517
|
+
* <p>When the database is cynos and it is a sub-database instance within the cynos cluster, this parameter is the type of the sub-instance, for example: pass ro for a read-only instance, pass rw for a read-write instance.</p>
|
|
10278
10518
|
* @type {string || null}
|
|
10279
10519
|
*/
|
|
10280
10520
|
this.ChildInstanceType = null;
|
|
10281
10521
|
|
|
10282
10522
|
/**
|
|
10283
|
-
*
|
|
10523
|
+
* <p>Shard id of tdsql. Required if the node type is set.</p>
|
|
10284
10524
|
* @type {string || null}
|
|
10285
10525
|
*/
|
|
10286
10526
|
this.SetId = null;
|
|
@@ -10486,7 +10726,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10486
10726
|
this.JobName = null;
|
|
10487
10727
|
|
|
10488
10728
|
/**
|
|
10489
|
-
* Billing mode. Valid values: `PostPay` (pay-as-you-go); `PrePay` (monthly subscription).
|
|
10729
|
+
* Billing mode. Valid values: `PostPay` (pay-as-you-go); `PrePay` (yearly/monthly subscription).
|
|
10490
10730
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
10491
10731
|
* @type {string || null}
|
|
10492
10732
|
*/
|
|
@@ -10703,7 +10943,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
10703
10943
|
this.OfflineTime = null;
|
|
10704
10944
|
|
|
10705
10945
|
/**
|
|
10706
|
-
*
|
|
10946
|
+
* Dynamically modify objects, such as changing the status of a task.
|
|
10707
10947
|
* @type {string || null}
|
|
10708
10948
|
*/
|
|
10709
10949
|
this.OptObjStatus = null;
|
|
@@ -11090,7 +11330,7 @@ class CreateSyncJobRequest extends AbstractModel {
|
|
|
11090
11330
|
super();
|
|
11091
11331
|
|
|
11092
11332
|
/**
|
|
11093
|
-
* Billing mode. Valid values: `PrePay` (monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge.
|
|
11333
|
+
* Billing mode. Valid values: `PrePay` (yearly/monthly subscription); `PostPay` (pay-as-you-go). Currently, DTS at Tencent Cloud International is free of charge.
|
|
11094
11334
|
* @type {string || null}
|
|
11095
11335
|
*/
|
|
11096
11336
|
this.PayMode = null;
|
|
@@ -11126,7 +11366,7 @@ class CreateSyncJobRequest extends AbstractModel {
|
|
|
11126
11366
|
this.Specification = null;
|
|
11127
11367
|
|
|
11128
11368
|
/**
|
|
11129
|
-
*
|
|
11369
|
+
* Purchase duration (in months); this configuration is applicable only when PayMode is set to 'PrePay'. The default value is 1 month, and the valid range is [1, 100].
|
|
11130
11370
|
* @type {number || null}
|
|
11131
11371
|
*/
|
|
11132
11372
|
this.TimeSpan = null;
|
|
@@ -11533,8 +11773,7 @@ class OnlineDDL extends AbstractModel {
|
|
|
11533
11773
|
super();
|
|
11534
11774
|
|
|
11535
11775
|
/**
|
|
11536
|
-
* Status
|
|
11537
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11776
|
+
* Status. Valid values: ON (enable) and OFF (disable).
|
|
11538
11777
|
* @type {string || null}
|
|
11539
11778
|
*/
|
|
11540
11779
|
this.Status = null;
|
|
@@ -11764,47 +12003,42 @@ class Table extends AbstractModel {
|
|
|
11764
12003
|
|
|
11765
12004
|
/**
|
|
11766
12005
|
* Table name
|
|
11767
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11768
12006
|
* @type {string || null}
|
|
11769
12007
|
*/
|
|
11770
12008
|
this.TableName = null;
|
|
11771
12009
|
|
|
11772
12010
|
/**
|
|
11773
12011
|
* New table name
|
|
11774
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
11775
12012
|
* @type {string || null}
|
|
11776
12013
|
*/
|
|
11777
12014
|
this.NewTableName = null;
|
|
11778
12015
|
|
|
11779
12016
|
/**
|
|
11780
|
-
* Filter
|
|
11781
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12017
|
+
* Filter criteria.
|
|
11782
12018
|
* @type {string || null}
|
|
11783
12019
|
*/
|
|
11784
12020
|
this.FilterCondition = null;
|
|
11785
12021
|
|
|
11786
12022
|
/**
|
|
11787
|
-
* Whether to synchronize all columns in the table. All: all columns under the current table; Partial (the corresponding field ColumnMode in ModifySyncJobConfig
|
|
12023
|
+
* Whether to synchronize all columns in the table. All: all columns under the current table; Partial (the corresponding field ColumnMode in the ModifySyncJobConfig API does not currently support Partial): To synchronize some specific columns of the current table, Columns field is required.
|
|
11788
12024
|
* @type {string || null}
|
|
11789
12025
|
*/
|
|
11790
12026
|
this.ColumnMode = null;
|
|
11791
12027
|
|
|
11792
12028
|
/**
|
|
11793
|
-
*
|
|
12029
|
+
* Synchronized column information. It is required when ColumnMode is Partial.
|
|
11794
12030
|
* @type {Array.<Column> || null}
|
|
11795
12031
|
*/
|
|
11796
12032
|
this.Columns = null;
|
|
11797
12033
|
|
|
11798
12034
|
/**
|
|
11799
|
-
*
|
|
11800
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12035
|
+
* Synchronize temporary tables. Note that this configuration is mutually exclusive with NewTableName, and only one of them can be used. When the configured synchronization object is at the table level and TableEditMode is pt, this parameter is meaningful. It is used to synchronize the temporary tables generated by tools such as pt-osc during the synchronization process. The possible temporary tables need to be configured here in advance, otherwise no temporary tables will be synchronized. For example, if you want to perform a pt-osc operation on t1, this configuration should be ["\_t1\_new","\_t1\_old"]; if you want to perform a gh-ost operation on t1, this configuration should be ["\_t1\_ghc","\_t1\_gho","\_t1\_del"]. Temporary tables generated by pt-osc and gh-ost can be configured simultaneously.
|
|
11801
12036
|
* @type {Array.<string> || null}
|
|
11802
12037
|
*/
|
|
11803
12038
|
this.TmpTables = null;
|
|
11804
12039
|
|
|
11805
12040
|
/**
|
|
11806
|
-
*
|
|
11807
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
12041
|
+
* Edit table type. Valid values: rename (table mapping); pt (synchronize additional table).
|
|
11808
12042
|
* @type {string || null}
|
|
11809
12043
|
*/
|
|
11810
12044
|
this.TableEditMode = null;
|
|
@@ -11935,7 +12169,7 @@ class DescribeSubscribeJobsRequest extends AbstractModel {
|
|
|
11935
12169
|
this.SubscribeId = null;
|
|
11936
12170
|
|
|
11937
12171
|
/**
|
|
11938
|
-
*
|
|
12172
|
+
* Filter by subscription ID, exact match
|
|
11939
12173
|
* @type {Array.<string> || null}
|
|
11940
12174
|
*/
|
|
11941
12175
|
this.SubscribeIds = null;
|
|
@@ -11953,13 +12187,13 @@ class DescribeSubscribeJobsRequest extends AbstractModel {
|
|
|
11953
12187
|
this.InstanceId = null;
|
|
11954
12188
|
|
|
11955
12189
|
/**
|
|
11956
|
-
*
|
|
12190
|
+
* Subscribed topicName
|
|
11957
12191
|
* @type {string || null}
|
|
11958
12192
|
*/
|
|
11959
12193
|
this.Topic = null;
|
|
11960
12194
|
|
|
11961
12195
|
/**
|
|
11962
|
-
* Payment method. Valid values: 0 (monthly subscription); 1 (pay-as-you-go).
|
|
12196
|
+
* Payment method. Valid values: 0 (yearly/monthly subscription); 1 (pay-as-you-go).
|
|
11963
12197
|
* @type {number || null}
|
|
11964
12198
|
*/
|
|
11965
12199
|
this.PayType = null;
|
|
@@ -12109,6 +12343,7 @@ module.exports = {
|
|
|
12109
12343
|
ModifyConsumerGroupPasswordRequest: ModifyConsumerGroupPasswordRequest,
|
|
12110
12344
|
StepTip: StepTip,
|
|
12111
12345
|
ModifySyncRateLimitResponse: ModifySyncRateLimitResponse,
|
|
12346
|
+
TableFilter: TableFilter,
|
|
12112
12347
|
DestroyMigrateJobRequest: DestroyMigrateJobRequest,
|
|
12113
12348
|
ModifySubscribeNameRequest: ModifySubscribeNameRequest,
|
|
12114
12349
|
OffsetTimeMap: OffsetTimeMap,
|
|
@@ -12116,6 +12351,7 @@ module.exports = {
|
|
|
12116
12351
|
ResumeSyncJobRequest: ResumeSyncJobRequest,
|
|
12117
12352
|
PartitionAssignment: PartitionAssignment,
|
|
12118
12353
|
ResizeSyncJobResponse: ResizeSyncJobResponse,
|
|
12354
|
+
StopMigrateJobResponse: StopMigrateJobResponse,
|
|
12119
12355
|
CreateSubscribeCheckJobRequest: CreateSubscribeCheckJobRequest,
|
|
12120
12356
|
ResumeMigrateJobResponse: ResumeMigrateJobResponse,
|
|
12121
12357
|
DifferenceItem: DifferenceItem,
|
|
@@ -12130,7 +12366,7 @@ module.exports = {
|
|
|
12130
12366
|
DestroySyncJobResponse: DestroySyncJobResponse,
|
|
12131
12367
|
ErrorInfoItem: ErrorInfoItem,
|
|
12132
12368
|
IsolateMigrateJobRequest: IsolateMigrateJobRequest,
|
|
12133
|
-
|
|
12369
|
+
DBOpFilter: DBOpFilter,
|
|
12134
12370
|
TableItem: TableItem,
|
|
12135
12371
|
SubscribeInfo: SubscribeInfo,
|
|
12136
12372
|
ModifyCompareTaskNameRequest: ModifyCompareTaskNameRequest,
|
|
@@ -12233,6 +12469,7 @@ module.exports = {
|
|
|
12233
12469
|
CheckStepInfo: CheckStepInfo,
|
|
12234
12470
|
ProcessStepTip: ProcessStepTip,
|
|
12235
12471
|
ModifyCompareTaskRequest: ModifyCompareTaskRequest,
|
|
12472
|
+
OpFilter: OpFilter,
|
|
12236
12473
|
RecoverSyncJobRequest: RecoverSyncJobRequest,
|
|
12237
12474
|
Database: Database,
|
|
12238
12475
|
Column: Column,
|
|
@@ -12263,6 +12500,7 @@ module.exports = {
|
|
|
12263
12500
|
RateLimitOption: RateLimitOption,
|
|
12264
12501
|
SkipCheckItemRequest: SkipCheckItemRequest,
|
|
12265
12502
|
CompareAbstractInfo: CompareAbstractInfo,
|
|
12503
|
+
ViewFilter: ViewFilter,
|
|
12266
12504
|
CheckStep: CheckStep,
|
|
12267
12505
|
CompareTaskItem: CompareTaskItem,
|
|
12268
12506
|
ModifyMigrateJobSpecResponse: ModifyMigrateJobSpecResponse,
|