tencentcloud-sdk-nodejs-intl-en 3.0.357 → 3.0.361

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.
@@ -569,6 +569,56 @@ Note: this field may return null, indicating that no valid values can be obtaine
569
569
  }
570
570
  }
571
571
 
572
+ /**
573
+ * DescribeDBDiagEvents response structure.
574
+ * @class
575
+ */
576
+ class DescribeDBDiagEventsResponse extends AbstractModel {
577
+ constructor(){
578
+ super();
579
+
580
+ /**
581
+ * Total number of diagnosis events.
582
+ * @type {number || null}
583
+ */
584
+ this.TotalCount = null;
585
+
586
+ /**
587
+ * Diagnosis event list.
588
+ * @type {Array.<DiagHistoryEventItem> || null}
589
+ */
590
+ this.Items = null;
591
+
592
+ /**
593
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
594
+ * @type {string || null}
595
+ */
596
+ this.RequestId = null;
597
+
598
+ }
599
+
600
+ /**
601
+ * @private
602
+ */
603
+ deserialize(params) {
604
+ if (!params) {
605
+ return;
606
+ }
607
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
608
+
609
+ if (params.Items) {
610
+ this.Items = new Array();
611
+ for (let z in params.Items) {
612
+ let obj = new DiagHistoryEventItem();
613
+ obj.deserialize(params.Items[z]);
614
+ this.Items.push(obj);
615
+ }
616
+ }
617
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
618
+
619
+ }
620
+ }
621
+
572
622
  /**
573
623
  * DescribeDBDiagReportTasks response structure.
574
624
  * @class
@@ -1392,25 +1442,60 @@ class DescribeSecurityAuditLogDownloadUrlsRequest extends AbstractModel {
1392
1442
  }
1393
1443
 
1394
1444
  /**
1395
- * CreateDBDiagReportTask response structure.
1445
+ * Relational database thread
1396
1446
  * @class
1397
1447
  */
1398
- class CreateDBDiagReportTaskResponse extends AbstractModel {
1448
+ class MySqlProcess extends AbstractModel {
1399
1449
  constructor(){
1400
1450
  super();
1401
1451
 
1402
1452
  /**
1403
- * Async task request ID, which can be used to query the execution result of an async task.
1404
- Note: this field may return null, indicating that no valid values can be obtained.
1405
- * @type {number || null}
1453
+ * Thread ID.
1454
+ * @type {string || null}
1406
1455
  */
1407
- this.AsyncRequestId = null;
1456
+ this.ID = null;
1408
1457
 
1409
1458
  /**
1410
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1459
+ * Thread operation account name.
1411
1460
  * @type {string || null}
1412
1461
  */
1413
- this.RequestId = null;
1462
+ this.User = null;
1463
+
1464
+ /**
1465
+ * Thread operation host address.
1466
+ * @type {string || null}
1467
+ */
1468
+ this.Host = null;
1469
+
1470
+ /**
1471
+ * Thread operation database.
1472
+ * @type {string || null}
1473
+ */
1474
+ this.DB = null;
1475
+
1476
+ /**
1477
+ * Thread operation status.
1478
+ * @type {string || null}
1479
+ */
1480
+ this.State = null;
1481
+
1482
+ /**
1483
+ * Thread execution type.
1484
+ * @type {string || null}
1485
+ */
1486
+ this.Command = null;
1487
+
1488
+ /**
1489
+ * Thread operation duration in seconds.
1490
+ * @type {string || null}
1491
+ */
1492
+ this.Time = null;
1493
+
1494
+ /**
1495
+ * Thread operation statement.
1496
+ * @type {string || null}
1497
+ */
1498
+ this.Info = null;
1414
1499
 
1415
1500
  }
1416
1501
 
@@ -1421,8 +1506,14 @@ Note: this field may return null, indicating that no valid values can be obtaine
1421
1506
  if (!params) {
1422
1507
  return;
1423
1508
  }
1424
- this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
1425
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1509
+ this.ID = 'ID' in params ? params.ID : null;
1510
+ this.User = 'User' in params ? params.User : null;
1511
+ this.Host = 'Host' in params ? params.Host : null;
1512
+ this.DB = 'DB' in params ? params.DB : null;
1513
+ this.State = 'State' in params ? params.State : null;
1514
+ this.Command = 'Command' in params ? params.Command : null;
1515
+ this.Time = 'Time' in params ? params.Time : null;
1516
+ this.Info = 'Info' in params ? params.Info : null;
1426
1517
 
1427
1518
  }
1428
1519
  }
@@ -1596,60 +1687,25 @@ class DescribeDBDiagHistoryRequest extends AbstractModel {
1596
1687
  }
1597
1688
 
1598
1689
  /**
1599
- * Relational database thread
1690
+ * CreateDBDiagReportTask response structure.
1600
1691
  * @class
1601
1692
  */
1602
- class MySqlProcess extends AbstractModel {
1693
+ class CreateDBDiagReportTaskResponse extends AbstractModel {
1603
1694
  constructor(){
1604
1695
  super();
1605
1696
 
1606
1697
  /**
1607
- * Thread ID.
1608
- * @type {string || null}
1609
- */
1610
- this.ID = null;
1611
-
1612
- /**
1613
- * Thread operation account name.
1614
- * @type {string || null}
1615
- */
1616
- this.User = null;
1617
-
1618
- /**
1619
- * Thread operation host address.
1620
- * @type {string || null}
1621
- */
1622
- this.Host = null;
1623
-
1624
- /**
1625
- * Thread operation database.
1626
- * @type {string || null}
1627
- */
1628
- this.DB = null;
1629
-
1630
- /**
1631
- * Thread operation status.
1632
- * @type {string || null}
1633
- */
1634
- this.State = null;
1635
-
1636
- /**
1637
- * Thread execution type.
1638
- * @type {string || null}
1639
- */
1640
- this.Command = null;
1641
-
1642
- /**
1643
- * Thread operation duration in seconds.
1644
- * @type {string || null}
1698
+ * Async task request ID, which can be used to query the execution result of an async task.
1699
+ Note: this field may return null, indicating that no valid values can be obtained.
1700
+ * @type {number || null}
1645
1701
  */
1646
- this.Time = null;
1702
+ this.AsyncRequestId = null;
1647
1703
 
1648
1704
  /**
1649
- * Thread operation statement.
1705
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1650
1706
  * @type {string || null}
1651
1707
  */
1652
- this.Info = null;
1708
+ this.RequestId = null;
1653
1709
 
1654
1710
  }
1655
1711
 
@@ -1660,14 +1716,8 @@ class MySqlProcess extends AbstractModel {
1660
1716
  if (!params) {
1661
1717
  return;
1662
1718
  }
1663
- this.ID = 'ID' in params ? params.ID : null;
1664
- this.User = 'User' in params ? params.User : null;
1665
- this.Host = 'Host' in params ? params.Host : null;
1666
- this.DB = 'DB' in params ? params.DB : null;
1667
- this.State = 'State' in params ? params.State : null;
1668
- this.Command = 'Command' in params ? params.Command : null;
1669
- this.Time = 'Time' in params ? params.Time : null;
1670
- this.Info = 'Info' in params ? params.Info : null;
1719
+ this.AsyncRequestId = 'AsyncRequestId' in params ? params.AsyncRequestId : null;
1720
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1671
1721
 
1672
1722
  }
1673
1723
  }
@@ -3542,7 +3592,7 @@ class DescribeSlowLogTopSqlsRequest extends AbstractModel {
3542
3592
  this.StartTime = null;
3543
3593
 
3544
3594
  /**
3545
- * End time, such as "2019-09-10 12:13:14". The interval between the end time and the start time can be up to 7 days.
3595
+ * End time in the format of "2019-09-11 10:13:14". The interval between the end time and the start time can be up to 7 days.
3546
3596
  * @type {string || null}
3547
3597
  */
3548
3598
  this.EndTime = null;
@@ -4307,6 +4357,69 @@ class DescribeDBSpaceStatusResponse extends AbstractModel {
4307
4357
  }
4308
4358
  }
4309
4359
 
4360
+ /**
4361
+ * DescribeDBDiagEvents request structure.
4362
+ * @class
4363
+ */
4364
+ class DescribeDBDiagEventsRequest extends AbstractModel {
4365
+ constructor(){
4366
+ super();
4367
+
4368
+ /**
4369
+ * Start time in the format of “2021-05-27 00:00:00”. The earliest time that can be queried is 30 days before the current time.
4370
+ * @type {string || null}
4371
+ */
4372
+ this.StartTime = null;
4373
+
4374
+ /**
4375
+ * End time in the format of "2021-05-27 01:00:00". The interval between the end time and the start time can be up to 7 days.
4376
+ * @type {string || null}
4377
+ */
4378
+ this.EndTime = null;
4379
+
4380
+ /**
4381
+ * Risk level list. Valid values in descending order of severity: `1` (critical), `2` (serious), `3` (alarm), `4` (warning), `5` (healthy).
4382
+ * @type {Array.<number> || null}
4383
+ */
4384
+ this.Severities = null;
4385
+
4386
+ /**
4387
+ * Instance ID list.
4388
+ * @type {Array.<string> || null}
4389
+ */
4390
+ this.InstanceIds = null;
4391
+
4392
+ /**
4393
+ * Offset. Default value: 0.
4394
+ * @type {number || null}
4395
+ */
4396
+ this.Offset = null;
4397
+
4398
+ /**
4399
+ * Number of returned results. Default value: 20. Maximum value: 50.
4400
+ * @type {number || null}
4401
+ */
4402
+ this.Limit = null;
4403
+
4404
+ }
4405
+
4406
+ /**
4407
+ * @private
4408
+ */
4409
+ deserialize(params) {
4410
+ if (!params) {
4411
+ return;
4412
+ }
4413
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
4414
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
4415
+ this.Severities = 'Severities' in params ? params.Severities : null;
4416
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
4417
+ this.Offset = 'Offset' in params ? params.Offset : null;
4418
+ this.Limit = 'Limit' in params ? params.Limit : null;
4419
+
4420
+ }
4421
+ }
4422
+
4310
4423
  /**
4311
4424
  * Describes the group information.
4312
4425
  * @class
@@ -5010,6 +5123,7 @@ module.exports = {
5010
5123
  InstanceConfs: InstanceConfs,
5011
5124
  CreateSecurityAuditLogExportTaskRequest: CreateSecurityAuditLogExportTaskRequest,
5012
5125
  DescribeDBDiagEventResponse: DescribeDBDiagEventResponse,
5126
+ DescribeDBDiagEventsResponse: DescribeDBDiagEventsResponse,
5013
5127
  DescribeDBDiagReportTasksResponse: DescribeDBDiagReportTasksResponse,
5014
5128
  AddUserContactResponse: AddUserContactResponse,
5015
5129
  ModifyDiagDBInstanceConfResponse: ModifyDiagDBInstanceConfResponse,
@@ -5025,12 +5139,12 @@ module.exports = {
5025
5139
  TimeSlice: TimeSlice,
5026
5140
  ModifyDiagDBInstanceConfRequest: ModifyDiagDBInstanceConfRequest,
5027
5141
  DescribeSecurityAuditLogDownloadUrlsRequest: DescribeSecurityAuditLogDownloadUrlsRequest,
5028
- CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
5142
+ MySqlProcess: MySqlProcess,
5029
5143
  CreateMailProfileResponse: CreateMailProfileResponse,
5030
5144
  DescribeSlowLogTimeSeriesStatsRequest: DescribeSlowLogTimeSeriesStatsRequest,
5031
5145
  CreateDBDiagReportUrlResponse: CreateDBDiagReportUrlResponse,
5032
5146
  DescribeDBDiagHistoryRequest: DescribeDBDiagHistoryRequest,
5033
- MySqlProcess: MySqlProcess,
5147
+ CreateDBDiagReportTaskResponse: CreateDBDiagReportTaskResponse,
5034
5148
  DiagHistoryEventItem: DiagHistoryEventItem,
5035
5149
  SlowLogHost: SlowLogHost,
5036
5150
  CreateMailProfileRequest: CreateMailProfileRequest,
@@ -5077,6 +5191,7 @@ module.exports = {
5077
5191
  DescribeAllUserGroupResponse: DescribeAllUserGroupResponse,
5078
5192
  DescribeUserSqlAdviceResponse: DescribeUserSqlAdviceResponse,
5079
5193
  DescribeDBSpaceStatusResponse: DescribeDBSpaceStatusResponse,
5194
+ DescribeDBDiagEventsRequest: DescribeDBDiagEventsRequest,
5080
5195
  GroupItem: GroupItem,
5081
5196
  DescribeTopSpaceTableTimeSeriesRequest: DescribeTopSpaceTableTimeSeriesRequest,
5082
5197
  DescribeDBDiagReportTasksRequest: DescribeDBDiagReportTasksRequest,
@@ -16,24 +16,18 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
- const DescribeSyncJobsResponse = models.DescribeSyncJobsResponse;
20
19
  const DescribeMigrateJobsResponse = models.DescribeMigrateJobsResponse;
21
- const MigrateDetailInfo = models.MigrateDetailInfo;
20
+ const MigrateStepDetailInfo = models.MigrateStepDetailInfo;
22
21
  const DeleteMigrateJobResponse = models.DeleteMigrateJobResponse;
23
22
  const CreateMigrateCheckJobRequest = models.CreateMigrateCheckJobRequest;
24
23
  const ModifySubscribeVipVportRequest = models.ModifySubscribeVipVportRequest;
25
- const SyncInstanceInfo = models.SyncInstanceInfo;
26
24
  const ModifySubscribeNameResponse = models.ModifySubscribeNameResponse;
27
- const CreateSyncJobResponse = models.CreateSyncJobResponse;
28
25
  const DescribeMigrateCheckJobRequest = models.DescribeMigrateCheckJobRequest;
29
26
  const IsolateSubscribeResponse = models.IsolateSubscribeResponse;
30
27
  const ModifySubscribeObjectsResponse = models.ModifySubscribeObjectsResponse;
31
- const SwitchDrToMasterRequest = models.SwitchDrToMasterRequest;
32
- const StartSyncJobRequest = models.StartSyncJobRequest;
33
28
  const CreateMigrateJobRequest = models.CreateMigrateJobRequest;
34
- const SubscribeInfo = models.SubscribeInfo;
29
+ const SubscribeRegionConf = models.SubscribeRegionConf;
35
30
  const ModifySubscribeNameRequest = models.ModifySubscribeNameRequest;
36
- const SyncJobInfo = models.SyncJobInfo;
37
31
  const ModifySubscribeConsumeTimeResponse = models.ModifySubscribeConsumeTimeResponse;
38
32
  const DstInfo = models.DstInfo;
39
33
  const DescribeSubscribeConfResponse = models.DescribeSubscribeConfResponse;
@@ -43,57 +37,41 @@ const ConsistencyParams = models.ConsistencyParams;
43
37
  const ModifyMigrateJobRequest = models.ModifyMigrateJobRequest;
44
38
  const CreateSubscribeRequest = models.CreateSubscribeRequest;
45
39
  const CreateMigrateCheckJobResponse = models.CreateMigrateCheckJobResponse;
46
- const MigrateStepDetailInfo = models.MigrateStepDetailInfo;
47
40
  const ModifySubscribeObjectsRequest = models.ModifySubscribeObjectsRequest;
48
41
  const DescribeMigrateCheckJobResponse = models.DescribeMigrateCheckJobResponse;
49
- const SubscribeRegionConf = models.SubscribeRegionConf;
50
42
  const ActivateSubscribeRequest = models.ActivateSubscribeRequest;
51
43
  const OfflineIsolatedSubscribeRequest = models.OfflineIsolatedSubscribeRequest;
52
44
  const DescribeSubscribesRequest = models.DescribeSubscribesRequest;
53
45
  const ResetSubscribeResponse = models.ResetSubscribeResponse;
54
- const StartSyncJobResponse = models.StartSyncJobResponse;
55
46
  const DescribeSubscribesResponse = models.DescribeSubscribesResponse;
56
- const SyncCheckStepInfo = models.SyncCheckStepInfo;
57
- const CreateSyncCheckJobResponse = models.CreateSyncCheckJobResponse;
47
+ const ModifySubscribeConsumeTimeRequest = models.ModifySubscribeConsumeTimeRequest;
58
48
  const StopMigrateJobRequest = models.StopMigrateJobRequest;
59
- const DescribeSyncCheckJobRequest = models.DescribeSyncCheckJobRequest;
49
+ const MigrateDetailInfo = models.MigrateDetailInfo;
60
50
  const DescribeRegionConfResponse = models.DescribeRegionConfResponse;
61
- const ModifySyncJobResponse = models.ModifySyncJobResponse;
62
51
  const DescribeAsyncRequestInfoResponse = models.DescribeAsyncRequestInfoResponse;
63
- const CompleteMigrateJobRequest = models.CompleteMigrateJobRequest;
52
+ const SubscribeInfo = models.SubscribeInfo;
64
53
  const ResetSubscribeRequest = models.ResetSubscribeRequest;
65
54
  const TagItem = models.TagItem;
66
55
  const TagFilter = models.TagFilter;
67
- const ModifySubscribeConsumeTimeRequest = models.ModifySubscribeConsumeTimeRequest;
68
- const SwitchDrToMasterResponse = models.SwitchDrToMasterResponse;
69
56
  const ModifyMigrateJobResponse = models.ModifyMigrateJobResponse;
70
- const CreateSyncJobRequest = models.CreateSyncJobRequest;
71
- const DescribeSyncJobsRequest = models.DescribeSyncJobsRequest;
72
57
  const DescribeMigrateJobsRequest = models.DescribeMigrateJobsRequest;
73
- const SyncDetailInfo = models.SyncDetailInfo;
74
58
  const StopMigrateJobResponse = models.StopMigrateJobResponse;
75
- const SyncOption = models.SyncOption;
76
59
  const OfflineIsolatedSubscribeResponse = models.OfflineIsolatedSubscribeResponse;
77
- const SyncStepDetailInfo = models.SyncStepDetailInfo;
78
60
  const IsolateSubscribeRequest = models.IsolateSubscribeRequest;
79
- const DeleteSyncJobResponse = models.DeleteSyncJobResponse;
80
- const CreateSyncCheckJobRequest = models.CreateSyncCheckJobRequest;
81
- const ModifySyncJobRequest = models.ModifySyncJobRequest;
61
+ const CompleteMigrateJobRequest = models.CompleteMigrateJobRequest;
62
+ const MigrateJobInfo = models.MigrateJobInfo;
82
63
  const DescribeRegionConfRequest = models.DescribeRegionConfRequest;
83
64
  const CompleteMigrateJobResponse = models.CompleteMigrateJobResponse;
84
- const StartMigrateJobResponse = models.StartMigrateJobResponse;
85
65
  const SubscribeObject = models.SubscribeObject;
86
66
  const CreateMigrateJobResponse = models.CreateMigrateJobResponse;
87
67
  const DescribeSubscribeConfRequest = models.DescribeSubscribeConfRequest;
88
68
  const ModifySubscribeVipVportResponse = models.ModifySubscribeVipVportResponse;
89
- const MigrateJobInfo = models.MigrateJobInfo;
90
69
  const DeleteMigrateJobRequest = models.DeleteMigrateJobRequest;
91
- const DeleteSyncJobRequest = models.DeleteSyncJobRequest;
92
70
  const ActivateSubscribeResponse = models.ActivateSubscribeResponse;
93
71
  const CreateSubscribeResponse = models.CreateSubscribeResponse;
94
72
  const MigrateOption = models.MigrateOption;
95
73
  const ErrorInfo = models.ErrorInfo;
96
- const DescribeSyncCheckJobResponse = models.DescribeSyncCheckJobResponse;
74
+ const StartMigrateJobResponse = models.StartMigrateJobResponse;
97
75
  const StartMigrateJobRequest = models.StartMigrateJobRequest;
98
76
 
99
77
 
@@ -107,28 +85,6 @@ class DtsClient extends AbstractClient {
107
85
  super("dts.tencentcloudapi.com", "2018-03-30", credential, region, profile);
108
86
  }
109
87
 
110
- /**
111
- * This API is used to delete a disaster recovery sync task. Sync tasks that are running cannot be deleted.
112
- * @param {DeleteSyncJobRequest} req
113
- * @param {function(string, DeleteSyncJobResponse):void} cb
114
- * @public
115
- */
116
- DeleteSyncJob(req, cb) {
117
- let resp = new DeleteSyncJobResponse();
118
- this.request("DeleteSyncJob", req, resp, cb);
119
- }
120
-
121
- /**
122
- * This API is used to query disaster recovery sync tasks initiated on the DTS platform.
123
- * @param {DescribeSyncJobsRequest} req
124
- * @param {function(string, DescribeSyncJobsResponse):void} cb
125
- * @public
126
- */
127
- DescribeSyncJobs(req, cb) {
128
- let resp = new DescribeSyncJobsResponse();
129
- this.request("DescribeSyncJobs", req, resp, cb);
130
- }
131
-
132
88
  /**
133
89
  * This API is used to configure a data subscription, which can be called only for subscription instances in unconfigured status.
134
90
  * @param {ActivateSubscribeRequest} req
@@ -140,31 +96,6 @@ class DtsClient extends AbstractClient {
140
96
  this.request("ActivateSubscribe", req, resp, cb);
141
97
  }
142
98
 
143
- /**
144
- * This API is used to modify a disaster recovery sync task.
145
- If the status of a sync task is creating, created, check succeeded, or check failed, this API can be called to modify the task.
146
- The information of the source and target instances cannot be modified, but the task name and the tables to be synced can.
147
- * @param {ModifySyncJobRequest} req
148
- * @param {function(string, ModifySyncJobResponse):void} cb
149
- * @public
150
- */
151
- ModifySyncJob(req, cb) {
152
- let resp = new ModifySyncJobResponse();
153
- this.request("ModifySyncJob", req, resp, cb);
154
- }
155
-
156
- /**
157
- * This API (CreateSyncJob) is used to create a disaster recovery sync task.
158
- After successful creation, check can be initiated through the CreateSyncCheckJob API. The sync task can be started through the StartSyncJob API only if the check succeeds.
159
- * @param {CreateSyncJobRequest} req
160
- * @param {function(string, CreateSyncJobResponse):void} cb
161
- * @public
162
- */
163
- CreateSyncJob(req, cb) {
164
- let resp = new CreateSyncJobResponse();
165
- this.request("CreateSyncJob", req, resp, cb);
166
- }
167
-
168
99
  /**
169
100
  * This API is used to modify the subscription rule of a data subscription channel.
170
101
  * @param {ModifySubscribeObjectsRequest} req
@@ -176,17 +107,6 @@ After successful creation, check can be initiated through the CreateSyncCheckJob
176
107
  this.request("ModifySubscribeObjects", req, resp, cb);
177
108
  }
178
109
 
179
- /**
180
- * This API is used to start a disaster recovery sync task after it is successfully checked through the CreateSyncCheckJob and DescribeSyncCheckJob APIs.
181
- * @param {StartSyncJobRequest} req
182
- * @param {function(string, StartSyncJobResponse):void} cb
183
- * @public
184
- */
185
- StartSyncJob(req, cb) {
186
- let resp = new StartSyncJobResponse();
187
- this.request("StartSyncJob", req, resp, cb);
188
- }
189
-
190
110
  /**
191
111
  * This API is used to get the check result and query check status and progress after a check is created.
192
112
  If the check succeeds, you can call the StartMigrateJob API to start migration.
@@ -211,17 +131,6 @@ If the check fails, the reason can be queried. Please modify the migration confi
211
131
  this.request("DescribeAsyncRequestInfo", req, resp, cb);
212
132
  }
213
133
 
214
- /**
215
- * This API is used to promote a disaster recovery instance to a master instance, which will stop sync from the original master instance and end the master/slave relationship.
216
- * @param {SwitchDrToMasterRequest} req
217
- * @param {function(string, SwitchDrToMasterResponse):void} cb
218
- * @public
219
- */
220
- SwitchDrToMaster(req, cb) {
221
- let resp = new SwitchDrToMasterResponse();
222
- this.request("SwitchDrToMaster", req, resp, cb);
223
- }
224
-
225
134
  /**
226
135
  * This API (StopMigrateJob) is used to cancel a data migration task.
227
136
  During migration, this API can be used to cancel migration if the task status queried through the DescribeMigrateJobs API is running (status=7) or ready (status=8), and the migration task will fail.
@@ -268,22 +177,6 @@ For a finance zone linkage, please use the domain name https://dts.ap-shenzhen-f
268
177
  this.request("DescribeSubscribes", req, resp, cb);
269
178
  }
270
179
 
271
- /**
272
- * This API is used to get the check result after a disaster recovery sync check task is created through the CreateSyncCheckJob API. Check status and progress can be queried.
273
- If the check succeeds, you can call the StartSyncJob API to start the sync task.
274
- If the check fails, the reason will be returned. You can modify the configuration through the ModifySyncJob API and initiate check again.
275
- It takes about 30 seconds to complete the check task. If the returned status is not "finished", the check has not been completed, and this API needs to be polled.
276
- If Status=finished and CheckFlag=1, the check succeeds.
277
- If Status=finished and CheckFlag !=1, the check fails.
278
- * @param {DescribeSyncCheckJobRequest} req
279
- * @param {function(string, DescribeSyncCheckJobResponse):void} cb
280
- * @public
281
- */
282
- DescribeSyncCheckJob(req, cb) {
283
- let resp = new DescribeSyncCheckJobResponse();
284
- this.request("DescribeSyncCheckJob", req, resp, cb);
285
- }
286
-
287
180
  /**
288
181
  * This API (CreateMigrateJob) is used to create a data migration task.
289
182
 
@@ -343,18 +236,6 @@ After successful check, if the migration task needs to be modified, a new check
343
236
  this.request("ModifySubscribeName", req, resp, cb);
344
237
  }
345
238
 
346
- /**
347
- * Before the StartSyncJob API is called to start disaster recovery sync, this API should be called first to create a check. Data sync can start only if the check succeeds. You can view the check result through the DescribeSyncCheckJob API.
348
- Sync can begin only if the check succeeds.
349
- * @param {CreateSyncCheckJobRequest} req
350
- * @param {function(string, CreateSyncCheckJobResponse):void} cb
351
- * @public
352
- */
353
- CreateSyncCheckJob(req, cb) {
354
- let resp = new CreateSyncCheckJobResponse();
355
- this.request("CreateSyncCheckJob", req, resp, cb);
356
- }
357
-
358
239
  /**
359
240
  * This API is used to create a data subscription instance.
360
241
  * @param {CreateSubscribeRequest} req