tencentcloud-sdk-dts 3.0.1170 → 3.0.1173
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211206/client.rb +192 -0
- data/lib/v20211206/models.rb +467 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5f4949cd6450dbbb7c8974f3624c20e658098d9c
|
|
4
|
+
data.tar.gz: d3571fe8f521cc5f7da73030d775d49564d1c98c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc0510508ce70cffcfaead39bde57b23a413045afb1a5a19600ba8f408f3c50c5b411bb5a5283f8a282a40378328bc66df2dc395ba4537372624d2fcb6473fe4
|
|
7
|
+
data.tar.gz: 775aebeadda3d87dd3f6c8a8fb5fbc9ac624901e54cd1d6440193d6fdf79d101a32c71843e041b2c05b62651191937a6b8f67e7c6c1f4bca61542f7ca96f906b
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1173
|
data/lib/v20211206/client.rb
CHANGED
|
@@ -346,6 +346,30 @@ module TencentCloud
|
|
|
346
346
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
347
347
|
end
|
|
348
348
|
|
|
349
|
+
# 本接口用于创建数据对比任务,创建成功后会返回数据对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9,创建成功后可通过StartSyncCompare启动一致性校验任务
|
|
350
|
+
|
|
351
|
+
# @param request: Request instance for CreateSyncCompareTask.
|
|
352
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::CreateSyncCompareTaskRequest`
|
|
353
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::CreateSyncCompareTaskResponse`
|
|
354
|
+
def CreateSyncCompareTask(request)
|
|
355
|
+
body = send_request('CreateSyncCompareTask', request.serialize)
|
|
356
|
+
response = JSON.parse(body)
|
|
357
|
+
if response['Response'].key?('Error') == false
|
|
358
|
+
model = CreateSyncCompareTaskResponse.new
|
|
359
|
+
model.deserialize(response['Response'])
|
|
360
|
+
model
|
|
361
|
+
else
|
|
362
|
+
code = response['Response']['Error']['Code']
|
|
363
|
+
message = response['Response']['Error']['Message']
|
|
364
|
+
reqid = response['Response']['RequestId']
|
|
365
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
366
|
+
end
|
|
367
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
368
|
+
raise e
|
|
369
|
+
rescue StandardError => e
|
|
370
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
371
|
+
end
|
|
372
|
+
|
|
349
373
|
# 创建一个同步任务
|
|
350
374
|
|
|
351
375
|
# @param request: Request instance for CreateSyncJob.
|
|
@@ -418,6 +442,30 @@ module TencentCloud
|
|
|
418
442
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
419
443
|
end
|
|
420
444
|
|
|
445
|
+
# 删除一致性校验任务。当一致性校验任务状态为success、failed、canceled 时可以执行此操作。
|
|
446
|
+
|
|
447
|
+
# @param request: Request instance for DeleteSyncCompareTask.
|
|
448
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::DeleteSyncCompareTaskRequest`
|
|
449
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::DeleteSyncCompareTaskResponse`
|
|
450
|
+
def DeleteSyncCompareTask(request)
|
|
451
|
+
body = send_request('DeleteSyncCompareTask', request.serialize)
|
|
452
|
+
response = JSON.parse(body)
|
|
453
|
+
if response['Response'].key?('Error') == false
|
|
454
|
+
model = DeleteSyncCompareTaskResponse.new
|
|
455
|
+
model.deserialize(response['Response'])
|
|
456
|
+
model
|
|
457
|
+
else
|
|
458
|
+
code = response['Response']['Error']['Code']
|
|
459
|
+
message = response['Response']['Error']['Message']
|
|
460
|
+
reqid = response['Response']['RequestId']
|
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
462
|
+
end
|
|
463
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
464
|
+
raise e
|
|
465
|
+
rescue StandardError => e
|
|
466
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
467
|
+
end
|
|
468
|
+
|
|
421
469
|
# 查询同步校验任务结果,检查必要参数和周边配置
|
|
422
470
|
|
|
423
471
|
# @param request: Request instance for DescribeCheckSyncJobResult.
|
|
@@ -760,6 +808,54 @@ module TencentCloud
|
|
|
760
808
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
761
809
|
end
|
|
762
810
|
|
|
811
|
+
# 查询一致性校验任务详情
|
|
812
|
+
|
|
813
|
+
# @param request: Request instance for DescribeSyncCompareReport.
|
|
814
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::DescribeSyncCompareReportRequest`
|
|
815
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::DescribeSyncCompareReportResponse`
|
|
816
|
+
def DescribeSyncCompareReport(request)
|
|
817
|
+
body = send_request('DescribeSyncCompareReport', request.serialize)
|
|
818
|
+
response = JSON.parse(body)
|
|
819
|
+
if response['Response'].key?('Error') == false
|
|
820
|
+
model = DescribeSyncCompareReportResponse.new
|
|
821
|
+
model.deserialize(response['Response'])
|
|
822
|
+
model
|
|
823
|
+
else
|
|
824
|
+
code = response['Response']['Error']['Code']
|
|
825
|
+
message = response['Response']['Error']['Message']
|
|
826
|
+
reqid = response['Response']['RequestId']
|
|
827
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
828
|
+
end
|
|
829
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
830
|
+
raise e
|
|
831
|
+
rescue StandardError => e
|
|
832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
833
|
+
end
|
|
834
|
+
|
|
835
|
+
# 查询一致性校验任务列表。通过该接口可查看改任务下所有一致性校验任务。
|
|
836
|
+
|
|
837
|
+
# @param request: Request instance for DescribeSyncCompareTasks.
|
|
838
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::DescribeSyncCompareTasksRequest`
|
|
839
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::DescribeSyncCompareTasksResponse`
|
|
840
|
+
def DescribeSyncCompareTasks(request)
|
|
841
|
+
body = send_request('DescribeSyncCompareTasks', request.serialize)
|
|
842
|
+
response = JSON.parse(body)
|
|
843
|
+
if response['Response'].key?('Error') == false
|
|
844
|
+
model = DescribeSyncCompareTasksResponse.new
|
|
845
|
+
model.deserialize(response['Response'])
|
|
846
|
+
model
|
|
847
|
+
else
|
|
848
|
+
code = response['Response']['Error']['Code']
|
|
849
|
+
message = response['Response']['Error']['Message']
|
|
850
|
+
reqid = response['Response']['RequestId']
|
|
851
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
852
|
+
end
|
|
853
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
854
|
+
raise e
|
|
855
|
+
rescue StandardError => e
|
|
856
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
857
|
+
end
|
|
858
|
+
|
|
763
859
|
# 查询同步任务信息
|
|
764
860
|
|
|
765
861
|
# @param request: Request instance for DescribeSyncJobs.
|
|
@@ -1216,6 +1312,54 @@ module TencentCloud
|
|
|
1216
1312
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1217
1313
|
end
|
|
1218
1314
|
|
|
1315
|
+
# 修改一致性校验任务,在任务创建后启动之前,可修改一致性校验参数
|
|
1316
|
+
|
|
1317
|
+
# @param request: Request instance for ModifySyncCompareTask.
|
|
1318
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::ModifySyncCompareTaskRequest`
|
|
1319
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::ModifySyncCompareTaskResponse`
|
|
1320
|
+
def ModifySyncCompareTask(request)
|
|
1321
|
+
body = send_request('ModifySyncCompareTask', request.serialize)
|
|
1322
|
+
response = JSON.parse(body)
|
|
1323
|
+
if response['Response'].key?('Error') == false
|
|
1324
|
+
model = ModifySyncCompareTaskResponse.new
|
|
1325
|
+
model.deserialize(response['Response'])
|
|
1326
|
+
model
|
|
1327
|
+
else
|
|
1328
|
+
code = response['Response']['Error']['Code']
|
|
1329
|
+
message = response['Response']['Error']['Message']
|
|
1330
|
+
reqid = response['Response']['RequestId']
|
|
1331
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1332
|
+
end
|
|
1333
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1334
|
+
raise e
|
|
1335
|
+
rescue StandardError => e
|
|
1336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
# 修改同步一致性校验任务名称
|
|
1340
|
+
|
|
1341
|
+
# @param request: Request instance for ModifySyncCompareTaskName.
|
|
1342
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::ModifySyncCompareTaskNameRequest`
|
|
1343
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::ModifySyncCompareTaskNameResponse`
|
|
1344
|
+
def ModifySyncCompareTaskName(request)
|
|
1345
|
+
body = send_request('ModifySyncCompareTaskName', request.serialize)
|
|
1346
|
+
response = JSON.parse(body)
|
|
1347
|
+
if response['Response'].key?('Error') == false
|
|
1348
|
+
model = ModifySyncCompareTaskNameResponse.new
|
|
1349
|
+
model.deserialize(response['Response'])
|
|
1350
|
+
model
|
|
1351
|
+
else
|
|
1352
|
+
code = response['Response']['Error']['Code']
|
|
1353
|
+
message = response['Response']['Error']['Message']
|
|
1354
|
+
reqid = response['Response']['RequestId']
|
|
1355
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1356
|
+
end
|
|
1357
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1358
|
+
raise e
|
|
1359
|
+
rescue StandardError => e
|
|
1360
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1361
|
+
end
|
|
1362
|
+
|
|
1219
1363
|
# 该接口支持在同步任务启动后修改任务的配置
|
|
1220
1364
|
# 修改同步配置的完整流程:修改同步任务配置->创建修改同步任务配置的校验任务->查询修改配置的校验任务的结果->启动修改配置任务
|
|
1221
1365
|
|
|
@@ -1674,6 +1818,30 @@ module TencentCloud
|
|
|
1674
1818
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1675
1819
|
end
|
|
1676
1820
|
|
|
1821
|
+
# 启动一致性校验任务,启动之前需要先通过接口`CreateSyncCompareTask` 创建一致性校验任务,启动后可通过接口`DescribeSyncCompareTasks` 查询一致性校验任务列表来获得启动后的状态
|
|
1822
|
+
|
|
1823
|
+
# @param request: Request instance for StartSyncCompare.
|
|
1824
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::StartSyncCompareRequest`
|
|
1825
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::StartSyncCompareResponse`
|
|
1826
|
+
def StartSyncCompare(request)
|
|
1827
|
+
body = send_request('StartSyncCompare', request.serialize)
|
|
1828
|
+
response = JSON.parse(body)
|
|
1829
|
+
if response['Response'].key?('Error') == false
|
|
1830
|
+
model = StartSyncCompareResponse.new
|
|
1831
|
+
model.deserialize(response['Response'])
|
|
1832
|
+
model
|
|
1833
|
+
else
|
|
1834
|
+
code = response['Response']['Error']['Code']
|
|
1835
|
+
message = response['Response']['Error']['Message']
|
|
1836
|
+
reqid = response['Response']['RequestId']
|
|
1837
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1838
|
+
end
|
|
1839
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1840
|
+
raise e
|
|
1841
|
+
rescue StandardError => e
|
|
1842
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1843
|
+
end
|
|
1844
|
+
|
|
1677
1845
|
# 启动同步任务
|
|
1678
1846
|
|
|
1679
1847
|
# @param request: Request instance for StartSyncJob.
|
|
@@ -1747,6 +1915,30 @@ module TencentCloud
|
|
|
1747
1915
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1748
1916
|
end
|
|
1749
1917
|
|
|
1918
|
+
# 终止一致性校验任务
|
|
1919
|
+
|
|
1920
|
+
# @param request: Request instance for StopSyncCompare.
|
|
1921
|
+
# @type request: :class:`Tencentcloud::dts::V20211206::StopSyncCompareRequest`
|
|
1922
|
+
# @rtype: :class:`Tencentcloud::dts::V20211206::StopSyncCompareResponse`
|
|
1923
|
+
def StopSyncCompare(request)
|
|
1924
|
+
body = send_request('StopSyncCompare', request.serialize)
|
|
1925
|
+
response = JSON.parse(body)
|
|
1926
|
+
if response['Response'].key?('Error') == false
|
|
1927
|
+
model = StopSyncCompareResponse.new
|
|
1928
|
+
model.deserialize(response['Response'])
|
|
1929
|
+
model
|
|
1930
|
+
else
|
|
1931
|
+
code = response['Response']['Error']['Code']
|
|
1932
|
+
message = response['Response']['Error']['Message']
|
|
1933
|
+
reqid = response['Response']['RequestId']
|
|
1934
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1935
|
+
end
|
|
1936
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1937
|
+
raise e
|
|
1938
|
+
rescue StandardError => e
|
|
1939
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1940
|
+
end
|
|
1941
|
+
|
|
1750
1942
|
# 结束同步任务,操作后可通过查询同步任务信息接口DescribeSyncJobs,获取操作后的状态。
|
|
1751
1943
|
|
|
1752
1944
|
# @param request: Request instance for StopSyncJob.
|
data/lib/v20211206/models.rb
CHANGED
|
@@ -429,13 +429,19 @@ module TencentCloud
|
|
|
429
429
|
# @type ColumnMode: String
|
|
430
430
|
# @param Columns: 当 ColumnMode 为 partial 时必填(该参数仅对数据同步任务有效)
|
|
431
431
|
# @type Columns: Array
|
|
432
|
+
# @param FilterCondition: 过滤条件
|
|
433
|
+
# @type FilterCondition: String
|
|
434
|
+
# @param FilterTimeZone: 时区选择。如 "+08:00", "-08:00", "+00:00"(空值等价于"+00:00")
|
|
435
|
+
# @type FilterTimeZone: String
|
|
432
436
|
|
|
433
|
-
attr_accessor :TableName, :ColumnMode, :Columns
|
|
437
|
+
attr_accessor :TableName, :ColumnMode, :Columns, :FilterCondition, :FilterTimeZone
|
|
434
438
|
|
|
435
|
-
def initialize(tablename=nil, columnmode=nil, columns=nil)
|
|
439
|
+
def initialize(tablename=nil, columnmode=nil, columns=nil, filtercondition=nil, filtertimezone=nil)
|
|
436
440
|
@TableName = tablename
|
|
437
441
|
@ColumnMode = columnmode
|
|
438
442
|
@Columns = columns
|
|
443
|
+
@FilterCondition = filtercondition
|
|
444
|
+
@FilterTimeZone = filtertimezone
|
|
439
445
|
end
|
|
440
446
|
|
|
441
447
|
def deserialize(params)
|
|
@@ -449,6 +455,8 @@ module TencentCloud
|
|
|
449
455
|
@Columns << comparecolumnitem_tmp
|
|
450
456
|
end
|
|
451
457
|
end
|
|
458
|
+
@FilterCondition = params['FilterCondition']
|
|
459
|
+
@FilterTimeZone = params['FilterTimeZone']
|
|
452
460
|
end
|
|
453
461
|
end
|
|
454
462
|
|
|
@@ -1324,6 +1332,65 @@ module TencentCloud
|
|
|
1324
1332
|
end
|
|
1325
1333
|
end
|
|
1326
1334
|
|
|
1335
|
+
# CreateSyncCompareTask请求参数结构体
|
|
1336
|
+
class CreateSyncCompareTaskRequest < TencentCloud::Common::AbstractModel
|
|
1337
|
+
# @param JobId: 任务 Id
|
|
1338
|
+
# @type JobId: String
|
|
1339
|
+
# @param TaskName: 数据对比任务名称,若为空则默认给CompareTaskId相同值
|
|
1340
|
+
# @type TaskName: String
|
|
1341
|
+
# @param ObjectMode: 数据对比对象模式,sameAsMigrate(全部迁移对象, 默认为此项配置),custom(自定义模式)
|
|
1342
|
+
# @type ObjectMode: String
|
|
1343
|
+
# @param Objects: 对比对象,当ObjectMode值为custom时,此项需要填写
|
|
1344
|
+
# @type Objects: :class:`Tencentcloud::Dts.v20211206.models.CompareObject`
|
|
1345
|
+
# @param Options: 一致性校验选项
|
|
1346
|
+
# @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
|
|
1347
|
+
|
|
1348
|
+
attr_accessor :JobId, :TaskName, :ObjectMode, :Objects, :Options
|
|
1349
|
+
|
|
1350
|
+
def initialize(jobid=nil, taskname=nil, objectmode=nil, objects=nil, options=nil)
|
|
1351
|
+
@JobId = jobid
|
|
1352
|
+
@TaskName = taskname
|
|
1353
|
+
@ObjectMode = objectmode
|
|
1354
|
+
@Objects = objects
|
|
1355
|
+
@Options = options
|
|
1356
|
+
end
|
|
1357
|
+
|
|
1358
|
+
def deserialize(params)
|
|
1359
|
+
@JobId = params['JobId']
|
|
1360
|
+
@TaskName = params['TaskName']
|
|
1361
|
+
@ObjectMode = params['ObjectMode']
|
|
1362
|
+
unless params['Objects'].nil?
|
|
1363
|
+
@Objects = CompareObject.new
|
|
1364
|
+
@Objects.deserialize(params['Objects'])
|
|
1365
|
+
end
|
|
1366
|
+
unless params['Options'].nil?
|
|
1367
|
+
@Options = CompareOptions.new
|
|
1368
|
+
@Options.deserialize(params['Options'])
|
|
1369
|
+
end
|
|
1370
|
+
end
|
|
1371
|
+
end
|
|
1372
|
+
|
|
1373
|
+
# CreateSyncCompareTask返回参数结构体
|
|
1374
|
+
class CreateSyncCompareTaskResponse < TencentCloud::Common::AbstractModel
|
|
1375
|
+
# @param CompareTaskId: 数据对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
1376
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1377
|
+
# @type CompareTaskId: String
|
|
1378
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1379
|
+
# @type RequestId: String
|
|
1380
|
+
|
|
1381
|
+
attr_accessor :CompareTaskId, :RequestId
|
|
1382
|
+
|
|
1383
|
+
def initialize(comparetaskid=nil, requestid=nil)
|
|
1384
|
+
@CompareTaskId = comparetaskid
|
|
1385
|
+
@RequestId = requestid
|
|
1386
|
+
end
|
|
1387
|
+
|
|
1388
|
+
def deserialize(params)
|
|
1389
|
+
@CompareTaskId = params['CompareTaskId']
|
|
1390
|
+
@RequestId = params['RequestId']
|
|
1391
|
+
end
|
|
1392
|
+
end
|
|
1393
|
+
|
|
1327
1394
|
# CreateSyncJob请求参数结构体
|
|
1328
1395
|
class CreateSyncJobRequest < TencentCloud::Common::AbstractModel
|
|
1329
1396
|
# @param PayMode: 付款类型, 如:PrePay(表示包年包月)、PostPay(表示按时按量)
|
|
@@ -1931,6 +1998,42 @@ module TencentCloud
|
|
|
1931
1998
|
end
|
|
1932
1999
|
end
|
|
1933
2000
|
|
|
2001
|
+
# DeleteSyncCompareTask请求参数结构体
|
|
2002
|
+
class DeleteSyncCompareTaskRequest < TencentCloud::Common::AbstractModel
|
|
2003
|
+
# @param JobId: 任务 Id
|
|
2004
|
+
# @type JobId: String
|
|
2005
|
+
# @param CompareTaskId: 对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
2006
|
+
# @type CompareTaskId: String
|
|
2007
|
+
|
|
2008
|
+
attr_accessor :JobId, :CompareTaskId
|
|
2009
|
+
|
|
2010
|
+
def initialize(jobid=nil, comparetaskid=nil)
|
|
2011
|
+
@JobId = jobid
|
|
2012
|
+
@CompareTaskId = comparetaskid
|
|
2013
|
+
end
|
|
2014
|
+
|
|
2015
|
+
def deserialize(params)
|
|
2016
|
+
@JobId = params['JobId']
|
|
2017
|
+
@CompareTaskId = params['CompareTaskId']
|
|
2018
|
+
end
|
|
2019
|
+
end
|
|
2020
|
+
|
|
2021
|
+
# DeleteSyncCompareTask返回参数结构体
|
|
2022
|
+
class DeleteSyncCompareTaskResponse < TencentCloud::Common::AbstractModel
|
|
2023
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2024
|
+
# @type RequestId: String
|
|
2025
|
+
|
|
2026
|
+
attr_accessor :RequestId
|
|
2027
|
+
|
|
2028
|
+
def initialize(requestid=nil)
|
|
2029
|
+
@RequestId = requestid
|
|
2030
|
+
end
|
|
2031
|
+
|
|
2032
|
+
def deserialize(params)
|
|
2033
|
+
@RequestId = params['RequestId']
|
|
2034
|
+
end
|
|
2035
|
+
end
|
|
2036
|
+
|
|
1934
2037
|
# DescribeCheckSyncJobResult请求参数结构体
|
|
1935
2038
|
class DescribeCheckSyncJobResultRequest < TencentCloud::Common::AbstractModel
|
|
1936
2039
|
# @param JobId: 同步实例id(即标识一个同步作业),形如sync-werwfs23,此值必填,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
@@ -3130,6 +3233,162 @@ module TencentCloud
|
|
|
3130
3233
|
end
|
|
3131
3234
|
end
|
|
3132
3235
|
|
|
3236
|
+
# DescribeSyncCompareReport请求参数结构体
|
|
3237
|
+
class DescribeSyncCompareReportRequest < TencentCloud::Common::AbstractModel
|
|
3238
|
+
# @param JobId: 任务 Id
|
|
3239
|
+
# @type JobId: String
|
|
3240
|
+
# @param CompareTaskId: 校验任务 Id
|
|
3241
|
+
# @type CompareTaskId: String
|
|
3242
|
+
# @param DifferenceLimit: 校验不一致结果的 limit
|
|
3243
|
+
# @type DifferenceLimit: Integer
|
|
3244
|
+
# @param DifferenceOffset: 不一致的 Offset
|
|
3245
|
+
# @type DifferenceOffset: Integer
|
|
3246
|
+
# @param DifferenceDB: 搜索条件,不一致的库名
|
|
3247
|
+
# @type DifferenceDB: String
|
|
3248
|
+
# @param DifferenceTable: 搜索条件,不一致的表名
|
|
3249
|
+
# @type DifferenceTable: String
|
|
3250
|
+
# @param SkippedLimit: 未校验的 Limit
|
|
3251
|
+
# @type SkippedLimit: Integer
|
|
3252
|
+
# @param SkippedOffset: 未校验的 Offset
|
|
3253
|
+
# @type SkippedOffset: Integer
|
|
3254
|
+
# @param SkippedDB: 搜索条件,未校验的库名
|
|
3255
|
+
# @type SkippedDB: String
|
|
3256
|
+
# @param SkippedTable: 搜索条件,未校验的表名
|
|
3257
|
+
# @type SkippedTable: String
|
|
3258
|
+
|
|
3259
|
+
attr_accessor :JobId, :CompareTaskId, :DifferenceLimit, :DifferenceOffset, :DifferenceDB, :DifferenceTable, :SkippedLimit, :SkippedOffset, :SkippedDB, :SkippedTable
|
|
3260
|
+
|
|
3261
|
+
def initialize(jobid=nil, comparetaskid=nil, differencelimit=nil, differenceoffset=nil, differencedb=nil, differencetable=nil, skippedlimit=nil, skippedoffset=nil, skippeddb=nil, skippedtable=nil)
|
|
3262
|
+
@JobId = jobid
|
|
3263
|
+
@CompareTaskId = comparetaskid
|
|
3264
|
+
@DifferenceLimit = differencelimit
|
|
3265
|
+
@DifferenceOffset = differenceoffset
|
|
3266
|
+
@DifferenceDB = differencedb
|
|
3267
|
+
@DifferenceTable = differencetable
|
|
3268
|
+
@SkippedLimit = skippedlimit
|
|
3269
|
+
@SkippedOffset = skippedoffset
|
|
3270
|
+
@SkippedDB = skippeddb
|
|
3271
|
+
@SkippedTable = skippedtable
|
|
3272
|
+
end
|
|
3273
|
+
|
|
3274
|
+
def deserialize(params)
|
|
3275
|
+
@JobId = params['JobId']
|
|
3276
|
+
@CompareTaskId = params['CompareTaskId']
|
|
3277
|
+
@DifferenceLimit = params['DifferenceLimit']
|
|
3278
|
+
@DifferenceOffset = params['DifferenceOffset']
|
|
3279
|
+
@DifferenceDB = params['DifferenceDB']
|
|
3280
|
+
@DifferenceTable = params['DifferenceTable']
|
|
3281
|
+
@SkippedLimit = params['SkippedLimit']
|
|
3282
|
+
@SkippedOffset = params['SkippedOffset']
|
|
3283
|
+
@SkippedDB = params['SkippedDB']
|
|
3284
|
+
@SkippedTable = params['SkippedTable']
|
|
3285
|
+
end
|
|
3286
|
+
end
|
|
3287
|
+
|
|
3288
|
+
# DescribeSyncCompareReport返回参数结构体
|
|
3289
|
+
class DescribeSyncCompareReportResponse < TencentCloud::Common::AbstractModel
|
|
3290
|
+
# @param Abstract: 一致性校验摘要信息
|
|
3291
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3292
|
+
# @type Abstract: :class:`Tencentcloud::Dts.v20211206.models.CompareAbstractInfo`
|
|
3293
|
+
# @param Detail: 一致性校验详细信息
|
|
3294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3295
|
+
# @type Detail: :class:`Tencentcloud::Dts.v20211206.models.CompareDetailInfo`
|
|
3296
|
+
# @param IncAbstract: 增量校验阶段的摘要
|
|
3297
|
+
# @type IncAbstract: :class:`Tencentcloud::Dts.v20211206.models.IncCompareAbstractInfo`
|
|
3298
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3299
|
+
# @type RequestId: String
|
|
3300
|
+
|
|
3301
|
+
attr_accessor :Abstract, :Detail, :IncAbstract, :RequestId
|
|
3302
|
+
|
|
3303
|
+
def initialize(abstract=nil, detail=nil, incabstract=nil, requestid=nil)
|
|
3304
|
+
@Abstract = abstract
|
|
3305
|
+
@Detail = detail
|
|
3306
|
+
@IncAbstract = incabstract
|
|
3307
|
+
@RequestId = requestid
|
|
3308
|
+
end
|
|
3309
|
+
|
|
3310
|
+
def deserialize(params)
|
|
3311
|
+
unless params['Abstract'].nil?
|
|
3312
|
+
@Abstract = CompareAbstractInfo.new
|
|
3313
|
+
@Abstract.deserialize(params['Abstract'])
|
|
3314
|
+
end
|
|
3315
|
+
unless params['Detail'].nil?
|
|
3316
|
+
@Detail = CompareDetailInfo.new
|
|
3317
|
+
@Detail.deserialize(params['Detail'])
|
|
3318
|
+
end
|
|
3319
|
+
unless params['IncAbstract'].nil?
|
|
3320
|
+
@IncAbstract = IncCompareAbstractInfo.new
|
|
3321
|
+
@IncAbstract.deserialize(params['IncAbstract'])
|
|
3322
|
+
end
|
|
3323
|
+
@RequestId = params['RequestId']
|
|
3324
|
+
end
|
|
3325
|
+
end
|
|
3326
|
+
|
|
3327
|
+
# DescribeSyncCompareTasks请求参数结构体
|
|
3328
|
+
class DescribeSyncCompareTasksRequest < TencentCloud::Common::AbstractModel
|
|
3329
|
+
# @param JobId: 任务 Id
|
|
3330
|
+
# @type JobId: String
|
|
3331
|
+
# @param Limit: 分页设置,表示每页显示多少条任务,默认为 20
|
|
3332
|
+
# @type Limit: Integer
|
|
3333
|
+
# @param Offset: 分页偏移量
|
|
3334
|
+
# @type Offset: Integer
|
|
3335
|
+
# @param CompareTaskId: 校验任务 ID
|
|
3336
|
+
# @type CompareTaskId: String
|
|
3337
|
+
# @param Status: 任务状态过滤,可能的值:created - 创建完成;readyRun - 等待运行;running - 运行中;success - 成功;stopping - 结束中;failed - 失败;canceled - 已终止
|
|
3338
|
+
# @type Status: Array
|
|
3339
|
+
|
|
3340
|
+
attr_accessor :JobId, :Limit, :Offset, :CompareTaskId, :Status
|
|
3341
|
+
|
|
3342
|
+
def initialize(jobid=nil, limit=nil, offset=nil, comparetaskid=nil, status=nil)
|
|
3343
|
+
@JobId = jobid
|
|
3344
|
+
@Limit = limit
|
|
3345
|
+
@Offset = offset
|
|
3346
|
+
@CompareTaskId = comparetaskid
|
|
3347
|
+
@Status = status
|
|
3348
|
+
end
|
|
3349
|
+
|
|
3350
|
+
def deserialize(params)
|
|
3351
|
+
@JobId = params['JobId']
|
|
3352
|
+
@Limit = params['Limit']
|
|
3353
|
+
@Offset = params['Offset']
|
|
3354
|
+
@CompareTaskId = params['CompareTaskId']
|
|
3355
|
+
@Status = params['Status']
|
|
3356
|
+
end
|
|
3357
|
+
end
|
|
3358
|
+
|
|
3359
|
+
# DescribeSyncCompareTasks返回参数结构体
|
|
3360
|
+
class DescribeSyncCompareTasksResponse < TencentCloud::Common::AbstractModel
|
|
3361
|
+
# @param TotalCount: 数量
|
|
3362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3363
|
+
# @type TotalCount: Integer
|
|
3364
|
+
# @param Items: 一致性校验任务列表
|
|
3365
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3366
|
+
# @type Items: Array
|
|
3367
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3368
|
+
# @type RequestId: String
|
|
3369
|
+
|
|
3370
|
+
attr_accessor :TotalCount, :Items, :RequestId
|
|
3371
|
+
|
|
3372
|
+
def initialize(totalcount=nil, items=nil, requestid=nil)
|
|
3373
|
+
@TotalCount = totalcount
|
|
3374
|
+
@Items = items
|
|
3375
|
+
@RequestId = requestid
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3378
|
+
def deserialize(params)
|
|
3379
|
+
@TotalCount = params['TotalCount']
|
|
3380
|
+
unless params['Items'].nil?
|
|
3381
|
+
@Items = []
|
|
3382
|
+
params['Items'].each do |i|
|
|
3383
|
+
comparetaskitem_tmp = CompareTaskItem.new
|
|
3384
|
+
comparetaskitem_tmp.deserialize(i)
|
|
3385
|
+
@Items << comparetaskitem_tmp
|
|
3386
|
+
end
|
|
3387
|
+
end
|
|
3388
|
+
@RequestId = params['RequestId']
|
|
3389
|
+
end
|
|
3390
|
+
end
|
|
3391
|
+
|
|
3133
3392
|
# DescribeSyncJobs请求参数结构体
|
|
3134
3393
|
class DescribeSyncJobsRequest < TencentCloud::Common::AbstractModel
|
|
3135
3394
|
# @param JobId: 同步任务id,如sync-werwfs23,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
@@ -4081,6 +4340,38 @@ module TencentCloud
|
|
|
4081
4340
|
end
|
|
4082
4341
|
end
|
|
4083
4342
|
|
|
4343
|
+
# 增量校验阶段的摘要信息
|
|
4344
|
+
class IncCompareAbstractInfo < TencentCloud::Common::AbstractModel
|
|
4345
|
+
# @param StartPosition: 增量起始位点
|
|
4346
|
+
# @type StartPosition: String
|
|
4347
|
+
# @param CurrentPosition: 增量当前位点
|
|
4348
|
+
# @type CurrentPosition: String
|
|
4349
|
+
# @param CheckedRecord: 已校验行数
|
|
4350
|
+
# @type CheckedRecord: Integer
|
|
4351
|
+
# @param DiffRecord: 不一致行数
|
|
4352
|
+
# @type DiffRecord: Integer
|
|
4353
|
+
# @param DiffTable: 不一致表的数量
|
|
4354
|
+
# @type DiffTable: Integer
|
|
4355
|
+
|
|
4356
|
+
attr_accessor :StartPosition, :CurrentPosition, :CheckedRecord, :DiffRecord, :DiffTable
|
|
4357
|
+
|
|
4358
|
+
def initialize(startposition=nil, currentposition=nil, checkedrecord=nil, diffrecord=nil, difftable=nil)
|
|
4359
|
+
@StartPosition = startposition
|
|
4360
|
+
@CurrentPosition = currentposition
|
|
4361
|
+
@CheckedRecord = checkedrecord
|
|
4362
|
+
@DiffRecord = diffrecord
|
|
4363
|
+
@DiffTable = difftable
|
|
4364
|
+
end
|
|
4365
|
+
|
|
4366
|
+
def deserialize(params)
|
|
4367
|
+
@StartPosition = params['StartPosition']
|
|
4368
|
+
@CurrentPosition = params['CurrentPosition']
|
|
4369
|
+
@CheckedRecord = params['CheckedRecord']
|
|
4370
|
+
@DiffRecord = params['DiffRecord']
|
|
4371
|
+
@DiffTable = params['DiffTable']
|
|
4372
|
+
end
|
|
4373
|
+
end
|
|
4374
|
+
|
|
4084
4375
|
# IsolateMigrateJob请求参数结构体
|
|
4085
4376
|
class IsolateMigrateJobRequest < TencentCloud::Common::AbstractModel
|
|
4086
4377
|
# @param JobId: 任务id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。
|
|
@@ -5119,6 +5410,104 @@ module TencentCloud
|
|
|
5119
5410
|
end
|
|
5120
5411
|
end
|
|
5121
5412
|
|
|
5413
|
+
# ModifySyncCompareTaskName请求参数结构体
|
|
5414
|
+
class ModifySyncCompareTaskNameRequest < TencentCloud::Common::AbstractModel
|
|
5415
|
+
# @param JobId: 任务 Id
|
|
5416
|
+
# @type JobId: String
|
|
5417
|
+
# @param CompareTaskId: 对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
5418
|
+
# @type CompareTaskId: String
|
|
5419
|
+
# @param TaskName: 一致性校验任务名称
|
|
5420
|
+
# @type TaskName: String
|
|
5421
|
+
|
|
5422
|
+
attr_accessor :JobId, :CompareTaskId, :TaskName
|
|
5423
|
+
|
|
5424
|
+
def initialize(jobid=nil, comparetaskid=nil, taskname=nil)
|
|
5425
|
+
@JobId = jobid
|
|
5426
|
+
@CompareTaskId = comparetaskid
|
|
5427
|
+
@TaskName = taskname
|
|
5428
|
+
end
|
|
5429
|
+
|
|
5430
|
+
def deserialize(params)
|
|
5431
|
+
@JobId = params['JobId']
|
|
5432
|
+
@CompareTaskId = params['CompareTaskId']
|
|
5433
|
+
@TaskName = params['TaskName']
|
|
5434
|
+
end
|
|
5435
|
+
end
|
|
5436
|
+
|
|
5437
|
+
# ModifySyncCompareTaskName返回参数结构体
|
|
5438
|
+
class ModifySyncCompareTaskNameResponse < TencentCloud::Common::AbstractModel
|
|
5439
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5440
|
+
# @type RequestId: String
|
|
5441
|
+
|
|
5442
|
+
attr_accessor :RequestId
|
|
5443
|
+
|
|
5444
|
+
def initialize(requestid=nil)
|
|
5445
|
+
@RequestId = requestid
|
|
5446
|
+
end
|
|
5447
|
+
|
|
5448
|
+
def deserialize(params)
|
|
5449
|
+
@RequestId = params['RequestId']
|
|
5450
|
+
end
|
|
5451
|
+
end
|
|
5452
|
+
|
|
5453
|
+
# ModifySyncCompareTask请求参数结构体
|
|
5454
|
+
class ModifySyncCompareTaskRequest < TencentCloud::Common::AbstractModel
|
|
5455
|
+
# @param JobId: 任务 Id
|
|
5456
|
+
# @type JobId: String
|
|
5457
|
+
# @param CompareTaskId: 对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
5458
|
+
# @type CompareTaskId: String
|
|
5459
|
+
# @param TaskName: 任务名称
|
|
5460
|
+
# @type TaskName: String
|
|
5461
|
+
# @param ObjectMode: 数据对比对象模式,sameAsMigrate(全部迁移对象, 默认为此项配置)、custom(自定义),注意自定义对比对象必须是迁移对象的子集
|
|
5462
|
+
# @type ObjectMode: String
|
|
5463
|
+
# @param Objects: 对比对象,若CompareObjectMode取值为custom,则此项必填
|
|
5464
|
+
# @type Objects: :class:`Tencentcloud::Dts.v20211206.models.CompareObject`
|
|
5465
|
+
# @param Options: 一致性校验选项
|
|
5466
|
+
# @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
|
|
5467
|
+
|
|
5468
|
+
attr_accessor :JobId, :CompareTaskId, :TaskName, :ObjectMode, :Objects, :Options
|
|
5469
|
+
|
|
5470
|
+
def initialize(jobid=nil, comparetaskid=nil, taskname=nil, objectmode=nil, objects=nil, options=nil)
|
|
5471
|
+
@JobId = jobid
|
|
5472
|
+
@CompareTaskId = comparetaskid
|
|
5473
|
+
@TaskName = taskname
|
|
5474
|
+
@ObjectMode = objectmode
|
|
5475
|
+
@Objects = objects
|
|
5476
|
+
@Options = options
|
|
5477
|
+
end
|
|
5478
|
+
|
|
5479
|
+
def deserialize(params)
|
|
5480
|
+
@JobId = params['JobId']
|
|
5481
|
+
@CompareTaskId = params['CompareTaskId']
|
|
5482
|
+
@TaskName = params['TaskName']
|
|
5483
|
+
@ObjectMode = params['ObjectMode']
|
|
5484
|
+
unless params['Objects'].nil?
|
|
5485
|
+
@Objects = CompareObject.new
|
|
5486
|
+
@Objects.deserialize(params['Objects'])
|
|
5487
|
+
end
|
|
5488
|
+
unless params['Options'].nil?
|
|
5489
|
+
@Options = CompareOptions.new
|
|
5490
|
+
@Options.deserialize(params['Options'])
|
|
5491
|
+
end
|
|
5492
|
+
end
|
|
5493
|
+
end
|
|
5494
|
+
|
|
5495
|
+
# ModifySyncCompareTask返回参数结构体
|
|
5496
|
+
class ModifySyncCompareTaskResponse < TencentCloud::Common::AbstractModel
|
|
5497
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5498
|
+
# @type RequestId: String
|
|
5499
|
+
|
|
5500
|
+
attr_accessor :RequestId
|
|
5501
|
+
|
|
5502
|
+
def initialize(requestid=nil)
|
|
5503
|
+
@RequestId = requestid
|
|
5504
|
+
end
|
|
5505
|
+
|
|
5506
|
+
def deserialize(params)
|
|
5507
|
+
@RequestId = params['RequestId']
|
|
5508
|
+
end
|
|
5509
|
+
end
|
|
5510
|
+
|
|
5122
5511
|
# ModifySyncJobConfig请求参数结构体
|
|
5123
5512
|
class ModifySyncJobConfigRequest < TencentCloud::Common::AbstractModel
|
|
5124
5513
|
# @param JobId: 同步任务ID,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
@@ -6329,6 +6718,42 @@ module TencentCloud
|
|
|
6329
6718
|
end
|
|
6330
6719
|
end
|
|
6331
6720
|
|
|
6721
|
+
# StartSyncCompare请求参数结构体
|
|
6722
|
+
class StartSyncCompareRequest < TencentCloud::Common::AbstractModel
|
|
6723
|
+
# @param JobId: 任务 Id
|
|
6724
|
+
# @type JobId: String
|
|
6725
|
+
# @param CompareTaskId: 对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
6726
|
+
# @type CompareTaskId: String
|
|
6727
|
+
|
|
6728
|
+
attr_accessor :JobId, :CompareTaskId
|
|
6729
|
+
|
|
6730
|
+
def initialize(jobid=nil, comparetaskid=nil)
|
|
6731
|
+
@JobId = jobid
|
|
6732
|
+
@CompareTaskId = comparetaskid
|
|
6733
|
+
end
|
|
6734
|
+
|
|
6735
|
+
def deserialize(params)
|
|
6736
|
+
@JobId = params['JobId']
|
|
6737
|
+
@CompareTaskId = params['CompareTaskId']
|
|
6738
|
+
end
|
|
6739
|
+
end
|
|
6740
|
+
|
|
6741
|
+
# StartSyncCompare返回参数结构体
|
|
6742
|
+
class StartSyncCompareResponse < TencentCloud::Common::AbstractModel
|
|
6743
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6744
|
+
# @type RequestId: String
|
|
6745
|
+
|
|
6746
|
+
attr_accessor :RequestId
|
|
6747
|
+
|
|
6748
|
+
def initialize(requestid=nil)
|
|
6749
|
+
@RequestId = requestid
|
|
6750
|
+
end
|
|
6751
|
+
|
|
6752
|
+
def deserialize(params)
|
|
6753
|
+
@RequestId = params['RequestId']
|
|
6754
|
+
end
|
|
6755
|
+
end
|
|
6756
|
+
|
|
6332
6757
|
# StartSyncJob请求参数结构体
|
|
6333
6758
|
class StartSyncJobRequest < TencentCloud::Common::AbstractModel
|
|
6334
6759
|
# @param JobId: 同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
|
@@ -6587,6 +7012,46 @@ module TencentCloud
|
|
|
6587
7012
|
end
|
|
6588
7013
|
end
|
|
6589
7014
|
|
|
7015
|
+
# StopSyncCompare请求参数结构体
|
|
7016
|
+
class StopSyncCompareRequest < TencentCloud::Common::AbstractModel
|
|
7017
|
+
# @param JobId: 任务 Id
|
|
7018
|
+
# @type JobId: String
|
|
7019
|
+
# @param CompareTaskId: 对比任务 ID,形如:sync-8yv4w2i1-cmp-37skmii9
|
|
7020
|
+
# @type CompareTaskId: String
|
|
7021
|
+
# @param ForceStop: 是否强制停止。如果填true,迁移任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果
|
|
7022
|
+
# @type ForceStop: Boolean
|
|
7023
|
+
|
|
7024
|
+
attr_accessor :JobId, :CompareTaskId, :ForceStop
|
|
7025
|
+
|
|
7026
|
+
def initialize(jobid=nil, comparetaskid=nil, forcestop=nil)
|
|
7027
|
+
@JobId = jobid
|
|
7028
|
+
@CompareTaskId = comparetaskid
|
|
7029
|
+
@ForceStop = forcestop
|
|
7030
|
+
end
|
|
7031
|
+
|
|
7032
|
+
def deserialize(params)
|
|
7033
|
+
@JobId = params['JobId']
|
|
7034
|
+
@CompareTaskId = params['CompareTaskId']
|
|
7035
|
+
@ForceStop = params['ForceStop']
|
|
7036
|
+
end
|
|
7037
|
+
end
|
|
7038
|
+
|
|
7039
|
+
# StopSyncCompare返回参数结构体
|
|
7040
|
+
class StopSyncCompareResponse < TencentCloud::Common::AbstractModel
|
|
7041
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7042
|
+
# @type RequestId: String
|
|
7043
|
+
|
|
7044
|
+
attr_accessor :RequestId
|
|
7045
|
+
|
|
7046
|
+
def initialize(requestid=nil)
|
|
7047
|
+
@RequestId = requestid
|
|
7048
|
+
end
|
|
7049
|
+
|
|
7050
|
+
def deserialize(params)
|
|
7051
|
+
@RequestId = params['RequestId']
|
|
7052
|
+
end
|
|
7053
|
+
end
|
|
7054
|
+
|
|
6590
7055
|
# StopSyncJob请求参数结构体
|
|
6591
7056
|
class StopSyncJobRequest < TencentCloud::Common::AbstractModel
|
|
6592
7057
|
# @param JobId: 同步任务id,可通过[DescribeSyncJobs](https://cloud.tencent.com/document/product/571/82103)接口获取。
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-dts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1173
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,11 +33,11 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20211206/client.rb
|
|
37
|
-
- lib/v20211206/models.rb
|
|
38
|
-
- lib/tencentcloud-sdk-dts.rb
|
|
39
36
|
- lib/v20180330/client.rb
|
|
40
37
|
- lib/v20180330/models.rb
|
|
38
|
+
- lib/tencentcloud-sdk-dts.rb
|
|
39
|
+
- lib/v20211206/client.rb
|
|
40
|
+
- lib/v20211206/models.rb
|
|
41
41
|
- lib/VERSION
|
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
43
43
|
licenses:
|