tencentcloud-sdk-dts 3.0.486 → 3.0.487

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ece8b8943f3c1f6c1ad44f2bf206110e53c03fc
4
- data.tar.gz: 3c0dadf0334b22c1351c43afec0640fff6a1e2bf
3
+ metadata.gz: 1a90228731311f2e70a32b9ef7405dbf63bf239b
4
+ data.tar.gz: fd5ce4fc4a4600ff6da48658ea4d622257a16857
5
5
  SHA512:
6
- metadata.gz: 4ca7000d30ca7f81eec20d022f1a634236754fb6bb135344463de81799e83883a85c51e2852b6bb5e6a7ae31991138afb75de568751e618deee4134a29085a97
7
- data.tar.gz: 5821a1723434490480698e52c7458f783023e6070671391dfd11143b41c57073e5a6d552cff5782ce057191cbb879b15d4268546d4afc461a9a7f3fa0d5c4432
6
+ metadata.gz: 158fcb746f60505f80fc03de37b68b085581752fb843f8fd9f2261b2cd2b838490e70c28bad1229367376b7db2d54e92ac9c2ff4aac762d43e1edc4e91dd5324
7
+ data.tar.gz: d152fa0f9f7078cef9b91ae5b7b7219091c217f0ca3e61efbf016f69bca7622f97ade96170d0d786de581e95bbd5dff10bf96b6412dc43899cff74c8de9c7baf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.486
1
+ 3.0.487
@@ -79,6 +79,54 @@ module TencentCloud
79
79
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
80
80
  end
81
81
 
82
+ # 恢复一个暂停中的迁移任务。
83
+
84
+ # @param request: Request instance for ContinueMigrateJob.
85
+ # @type request: :class:`Tencentcloud::dts::V20211206::ContinueMigrateJobRequest`
86
+ # @rtype: :class:`Tencentcloud::dts::V20211206::ContinueMigrateJobResponse`
87
+ def ContinueMigrateJob(request)
88
+ body = send_request('ContinueMigrateJob', request.serialize)
89
+ response = JSON.parse(body)
90
+ if response['Response'].key?('Error') == false
91
+ model = ContinueMigrateJobResponse.new
92
+ model.deserialize(response['Response'])
93
+ model
94
+ else
95
+ code = response['Response']['Error']['Code']
96
+ message = response['Response']['Error']['Message']
97
+ reqid = response['Response']['RequestId']
98
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
99
+ end
100
+ rescue TencentCloud::Common::TencentCloudSDKException => e
101
+ raise e
102
+ rescue StandardError => e
103
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
104
+ end
105
+
106
+ # 恢复处于暂停中中的数据同步任务。
107
+
108
+ # @param request: Request instance for ContinueSyncJob.
109
+ # @type request: :class:`Tencentcloud::dts::V20211206::ContinueSyncJobRequest`
110
+ # @rtype: :class:`Tencentcloud::dts::V20211206::ContinueSyncJobResponse`
111
+ def ContinueSyncJob(request)
112
+ body = send_request('ContinueSyncJob', request.serialize)
113
+ response = JSON.parse(body)
114
+ if response['Response'].key?('Error') == false
115
+ model = ContinueSyncJobResponse.new
116
+ model.deserialize(response['Response'])
117
+ model
118
+ else
119
+ code = response['Response']['Error']['Code']
120
+ message = response['Response']['Error']['Message']
121
+ reqid = response['Response']['RequestId']
122
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
123
+ end
124
+ rescue TencentCloud::Common::TencentCloudSDKException => e
125
+ raise e
126
+ rescue StandardError => e
127
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
128
+ end
129
+
82
130
  # 校验同步任务,检查必要参数和周边配置。
83
131
 
84
132
  # @param request: Request instance for CreateCheckSyncJob.
@@ -635,6 +683,30 @@ module TencentCloud
635
683
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
636
684
  end
637
685
 
686
+ # 暂停一个迁移任务。
687
+
688
+ # @param request: Request instance for PauseMigrateJob.
689
+ # @type request: :class:`Tencentcloud::dts::V20211206::PauseMigrateJobRequest`
690
+ # @rtype: :class:`Tencentcloud::dts::V20211206::PauseMigrateJobResponse`
691
+ def PauseMigrateJob(request)
692
+ body = send_request('PauseMigrateJob', request.serialize)
693
+ response = JSON.parse(body)
694
+ if response['Response'].key?('Error') == false
695
+ model = PauseMigrateJobResponse.new
696
+ model.deserialize(response['Response'])
697
+ model
698
+ else
699
+ code = response['Response']['Error']['Code']
700
+ message = response['Response']['Error']['Message']
701
+ reqid = response['Response']['RequestId']
702
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
703
+ end
704
+ rescue TencentCloud::Common::TencentCloudSDKException => e
705
+ raise e
706
+ rescue StandardError => e
707
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
708
+ end
709
+
638
710
  # 暂停处于同步中的数据同步任务。
639
711
 
640
712
  # @param request: Request instance for PauseSyncJob.
@@ -103,6 +103,12 @@ module TencentCloud
103
103
 
104
104
  # 一致性校验摘要信息
105
105
  class CompareAbstractInfo < TencentCloud::Common::AbstractModel
106
+ # @param Options: 校验配置参数
107
+ # 注意:此字段可能返回 null,表示取不到有效值。
108
+ # @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
109
+ # @param Objects: 一致性校验对比对象
110
+ # 注意:此字段可能返回 null,表示取不到有效值。
111
+ # @type Objects: :class:`Tencentcloud::Dts.v20211206.models.CompareObject`
106
112
  # @param Conclusion: 对比结论: same,different
107
113
  # 注意:此字段可能返回 null,表示取不到有效值。
108
114
  # @type Conclusion: String
@@ -121,30 +127,65 @@ module TencentCloud
121
127
  # @param SkippedTables: 跳过校验的表数量
122
128
  # 注意:此字段可能返回 null,表示取不到有效值。
123
129
  # @type SkippedTables: Integer
130
+ # @param NearlyTableCount: 预估表总数
131
+ # 注意:此字段可能返回 null,表示取不到有效值。
132
+ # @type NearlyTableCount: Integer
124
133
  # @param DifferentRows: 不一致的数据行数量
125
134
  # 注意:此字段可能返回 null,表示取不到有效值。
126
135
  # @type DifferentRows: Integer
136
+ # @param SrcSampleRows: 源库行数,当对比类型为**行数对比**时此项有意义
137
+ # 注意:此字段可能返回 null,表示取不到有效值。
138
+ # @type SrcSampleRows: Integer
139
+ # @param DstSampleRows: 目标库行数,当对比类型为**行数对比**时此项有意义
140
+ # 注意:此字段可能返回 null,表示取不到有效值。
141
+ # @type DstSampleRows: Integer
142
+ # @param StartedAt: 开始时间
143
+ # 注意:此字段可能返回 null,表示取不到有效值。
144
+ # @type StartedAt: String
145
+ # @param FinishedAt: 结束时间
146
+ # 注意:此字段可能返回 null,表示取不到有效值。
147
+ # @type FinishedAt: String
127
148
 
128
- attr_accessor :Conclusion, :Status, :TotalTables, :CheckedTables, :DifferentTables, :SkippedTables, :DifferentRows
149
+ attr_accessor :Options, :Objects, :Conclusion, :Status, :TotalTables, :CheckedTables, :DifferentTables, :SkippedTables, :NearlyTableCount, :DifferentRows, :SrcSampleRows, :DstSampleRows, :StartedAt, :FinishedAt
129
150
 
130
- def initialize(conclusion=nil, status=nil, totaltables=nil, checkedtables=nil, differenttables=nil, skippedtables=nil, differentrows=nil)
151
+ def initialize(options=nil, objects=nil, conclusion=nil, status=nil, totaltables=nil, checkedtables=nil, differenttables=nil, skippedtables=nil, nearlytablecount=nil, differentrows=nil, srcsamplerows=nil, dstsamplerows=nil, startedat=nil, finishedat=nil)
152
+ @Options = options
153
+ @Objects = objects
131
154
  @Conclusion = conclusion
132
155
  @Status = status
133
156
  @TotalTables = totaltables
134
157
  @CheckedTables = checkedtables
135
158
  @DifferentTables = differenttables
136
159
  @SkippedTables = skippedtables
160
+ @NearlyTableCount = nearlytablecount
137
161
  @DifferentRows = differentrows
162
+ @SrcSampleRows = srcsamplerows
163
+ @DstSampleRows = dstsamplerows
164
+ @StartedAt = startedat
165
+ @FinishedAt = finishedat
138
166
  end
139
167
 
140
168
  def deserialize(params)
169
+ unless params['Options'].nil?
170
+ @Options = CompareOptions.new
171
+ @Options.deserialize(params['Options'])
172
+ end
173
+ unless params['Objects'].nil?
174
+ @Objects = CompareObject.new
175
+ @Objects.deserialize(params['Objects'])
176
+ end
141
177
  @Conclusion = params['Conclusion']
142
178
  @Status = params['Status']
143
179
  @TotalTables = params['TotalTables']
144
180
  @CheckedTables = params['CheckedTables']
145
181
  @DifferentTables = params['DifferentTables']
146
182
  @SkippedTables = params['SkippedTables']
183
+ @NearlyTableCount = params['NearlyTableCount']
147
184
  @DifferentRows = params['DifferentRows']
185
+ @SrcSampleRows = params['SrcSampleRows']
186
+ @DstSampleRows = params['DstSampleRows']
187
+ @StartedAt = params['StartedAt']
188
+ @FinishedAt = params['FinishedAt']
148
189
  end
149
190
  end
150
191
 
@@ -178,18 +219,22 @@ module TencentCloud
178
219
 
179
220
  # 一致性对比对象配置
180
221
  class CompareObject < TencentCloud::Common::AbstractModel
181
- # @param ObjectMode: 迁移对象模式 all(所有迁移对象),partial(部分对象迁移)
222
+ # @param ObjectMode: 对象模式 整实例-all,部分对象-partial
182
223
  # 注意:此字段可能返回 null,表示取不到有效值。
183
224
  # @type ObjectMode: String
184
- # @param ObjectItems: 迁移对象库表配置
225
+ # @param ObjectItems: 对象列表
185
226
  # 注意:此字段可能返回 null,表示取不到有效值。
186
227
  # @type ObjectItems: Array
228
+ # @param AdvancedObjects: 高级对象类型,如account(账号),index(索引),shardkey(片建,后面可能会调整),schema(库表结构)
229
+ # 注意:此字段可能返回 null,表示取不到有效值。
230
+ # @type AdvancedObjects: Array
187
231
 
188
- attr_accessor :ObjectMode, :ObjectItems
232
+ attr_accessor :ObjectMode, :ObjectItems, :AdvancedObjects
189
233
 
190
- def initialize(objectmode=nil, objectitems=nil)
234
+ def initialize(objectmode=nil, objectitems=nil, advancedobjects=nil)
191
235
  @ObjectMode = objectmode
192
236
  @ObjectItems = objectitems
237
+ @AdvancedObjects = advancedobjects
193
238
  end
194
239
 
195
240
  def deserialize(params)
@@ -202,18 +247,19 @@ module TencentCloud
202
247
  @ObjectItems << compareobjectitem_tmp
203
248
  end
204
249
  end
250
+ @AdvancedObjects = params['AdvancedObjects']
205
251
  end
206
252
  end
207
253
 
208
254
  # 一致性校验库表对象
209
255
  class CompareObjectItem < TencentCloud::Common::AbstractModel
210
- # @param DbName: 迁移的库
256
+ # @param DbName: 数据库名
211
257
  # 注意:此字段可能返回 null,表示取不到有效值。
212
258
  # @type DbName: String
213
259
  # @param DbMode: 数据库选择模式: all 为当前对象下的所有对象,partial 为部分对象
214
260
  # 注意:此字段可能返回 null,表示取不到有效值。
215
261
  # @type DbMode: String
216
- # @param SchemaName: 迁移的 schema
262
+ # @param SchemaName: schema名称
217
263
  # 注意:此字段可能返回 null,表示取不到有效值。
218
264
  # @type SchemaName: String
219
265
  # @param TableMode: 表选择模式: all 为当前对象下的所有表对象,partial 为部分表对象
@@ -266,6 +312,33 @@ module TencentCloud
266
312
  end
267
313
  end
268
314
 
315
+ # 一致性校验选项
316
+ class CompareOptions < TencentCloud::Common::AbstractModel
317
+ # @param Method: 对比类型:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比)
318
+ # 注意:此字段可能返回 null,表示取不到有效值。
319
+ # @type Method: String
320
+ # @param SampleRate: 抽样比例;范围0,100
321
+ # 注意:此字段可能返回 null,表示取不到有效值。
322
+ # @type SampleRate: Integer
323
+ # @param ThreadCount: 线程数,取值1-5,默认为1
324
+ # 注意:此字段可能返回 null,表示取不到有效值。
325
+ # @type ThreadCount: Integer
326
+
327
+ attr_accessor :Method, :SampleRate, :ThreadCount
328
+
329
+ def initialize(method=nil, samplerate=nil, threadcount=nil)
330
+ @Method = method
331
+ @SampleRate = samplerate
332
+ @ThreadCount = threadcount
333
+ end
334
+
335
+ def deserialize(params)
336
+ @Method = params['Method']
337
+ @SampleRate = params['SampleRate']
338
+ @ThreadCount = params['ThreadCount']
339
+ end
340
+ end
341
+
269
342
  # 用于一致性校验的表配置
270
343
  class CompareTableItem < TencentCloud::Common::AbstractModel
271
344
  # @param TableName: 表名称
@@ -307,7 +380,7 @@ module TencentCloud
307
380
 
308
381
  # 一致性校验对象信息
309
382
  class CompareTaskItem < TencentCloud::Common::AbstractModel
310
- # @param JobId: 迁移任务id
383
+ # @param JobId: 任务id
311
384
  # 注意:此字段可能返回 null,表示取不到有效值。
312
385
  # @type JobId: String
313
386
  # @param CompareTaskId: 对比任务 Id
@@ -340,10 +413,19 @@ module TencentCloud
340
413
  # @param FinishedAt: 对比结束时间
341
414
  # 注意:此字段可能返回 null,表示取不到有效值。
342
415
  # @type FinishedAt: String
416
+ # @param Method: 对比类型,dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比)
417
+ # 注意:此字段可能返回 null,表示取不到有效值。
418
+ # @type Method: String
419
+ # @param Options: 对比配置信息
420
+ # 注意:此字段可能返回 null,表示取不到有效值。
421
+ # @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
422
+ # @param Message: 一致性校验提示信息
423
+ # 注意:此字段可能返回 null,表示取不到有效值。
424
+ # @type Message: String
343
425
 
344
- attr_accessor :JobId, :CompareTaskId, :TaskName, :Status, :Config, :CheckProcess, :CompareProcess, :Conclusion, :CreatedAt, :StartedAt, :FinishedAt
426
+ attr_accessor :JobId, :CompareTaskId, :TaskName, :Status, :Config, :CheckProcess, :CompareProcess, :Conclusion, :CreatedAt, :StartedAt, :FinishedAt, :Method, :Options, :Message
345
427
 
346
- def initialize(jobid=nil, comparetaskid=nil, taskname=nil, status=nil, config=nil, checkprocess=nil, compareprocess=nil, conclusion=nil, createdat=nil, startedat=nil, finishedat=nil)
428
+ def initialize(jobid=nil, comparetaskid=nil, taskname=nil, status=nil, config=nil, checkprocess=nil, compareprocess=nil, conclusion=nil, createdat=nil, startedat=nil, finishedat=nil, method=nil, options=nil, message=nil)
347
429
  @JobId = jobid
348
430
  @CompareTaskId = comparetaskid
349
431
  @TaskName = taskname
@@ -355,6 +437,9 @@ module TencentCloud
355
437
  @CreatedAt = createdat
356
438
  @StartedAt = startedat
357
439
  @FinishedAt = finishedat
440
+ @Method = method
441
+ @Options = options
442
+ @Message = message
358
443
  end
359
444
 
360
445
  def deserialize(params)
@@ -378,6 +463,12 @@ module TencentCloud
378
463
  @CreatedAt = params['CreatedAt']
379
464
  @StartedAt = params['StartedAt']
380
465
  @FinishedAt = params['FinishedAt']
466
+ @Method = params['Method']
467
+ unless params['Options'].nil?
468
+ @Options = CompareOptions.new
469
+ @Options.deserialize(params['Options'])
470
+ end
471
+ @Message = params['Message']
381
472
  end
382
473
  end
383
474
 
@@ -566,6 +657,70 @@ module TencentCloud
566
657
  end
567
658
  end
568
659
 
660
+ # ContinueMigrateJob请求参数结构体
661
+ class ContinueMigrateJobRequest < TencentCloud::Common::AbstractModel
662
+ # @param JobId: 数据迁移任务ID
663
+ # @type JobId: String
664
+
665
+ attr_accessor :JobId
666
+
667
+ def initialize(jobid=nil)
668
+ @JobId = jobid
669
+ end
670
+
671
+ def deserialize(params)
672
+ @JobId = params['JobId']
673
+ end
674
+ end
675
+
676
+ # ContinueMigrateJob返回参数结构体
677
+ class ContinueMigrateJobResponse < TencentCloud::Common::AbstractModel
678
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
679
+ # @type RequestId: String
680
+
681
+ attr_accessor :RequestId
682
+
683
+ def initialize(requestid=nil)
684
+ @RequestId = requestid
685
+ end
686
+
687
+ def deserialize(params)
688
+ @RequestId = params['RequestId']
689
+ end
690
+ end
691
+
692
+ # ContinueSyncJob请求参数结构体
693
+ class ContinueSyncJobRequest < TencentCloud::Common::AbstractModel
694
+ # @param JobId: 同步任务id
695
+ # @type JobId: String
696
+
697
+ attr_accessor :JobId
698
+
699
+ def initialize(jobid=nil)
700
+ @JobId = jobid
701
+ end
702
+
703
+ def deserialize(params)
704
+ @JobId = params['JobId']
705
+ end
706
+ end
707
+
708
+ # ContinueSyncJob返回参数结构体
709
+ class ContinueSyncJobResponse < TencentCloud::Common::AbstractModel
710
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
711
+ # @type RequestId: String
712
+
713
+ attr_accessor :RequestId
714
+
715
+ def initialize(requestid=nil)
716
+ @RequestId = requestid
717
+ end
718
+
719
+ def deserialize(params)
720
+ @RequestId = params['RequestId']
721
+ end
722
+ end
723
+
569
724
  # CreateCheckSyncJob请求参数结构体
570
725
  class CreateCheckSyncJobRequest < TencentCloud::Common::AbstractModel
571
726
  # @param JobId: 同步任务id
@@ -600,7 +755,7 @@ module TencentCloud
600
755
 
601
756
  # CreateCompareTask请求参数结构体
602
757
  class CreateCompareTaskRequest < TencentCloud::Common::AbstractModel
603
- # @param JobId: 迁移任务 Id
758
+ # @param JobId: 任务 Id
604
759
  # @type JobId: String
605
760
  # @param TaskName: 数据对比任务名称,若为空则默认给CompareTaskId相同值
606
761
  # @type TaskName: String
@@ -608,14 +763,17 @@ module TencentCloud
608
763
  # @type ObjectMode: String
609
764
  # @param Objects: 一致性对比对象配置
610
765
  # @type Objects: :class:`Tencentcloud::Dts.v20211206.models.CompareObject`
766
+ # @param Options: 一致性校验选项
767
+ # @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
611
768
 
612
- attr_accessor :JobId, :TaskName, :ObjectMode, :Objects
769
+ attr_accessor :JobId, :TaskName, :ObjectMode, :Objects, :Options
613
770
 
614
- def initialize(jobid=nil, taskname=nil, objectmode=nil, objects=nil)
771
+ def initialize(jobid=nil, taskname=nil, objectmode=nil, objects=nil, options=nil)
615
772
  @JobId = jobid
616
773
  @TaskName = taskname
617
774
  @ObjectMode = objectmode
618
775
  @Objects = objects
776
+ @Options = options
619
777
  end
620
778
 
621
779
  def deserialize(params)
@@ -626,6 +784,10 @@ module TencentCloud
626
784
  @Objects = CompareObject.new
627
785
  @Objects.deserialize(params['Objects'])
628
786
  end
787
+ unless params['Options'].nil?
788
+ @Options = CompareOptions.new
789
+ @Options.deserialize(params['Options'])
790
+ end
629
791
  end
630
792
  end
631
793
 
@@ -1507,19 +1669,27 @@ module TencentCloud
1507
1669
  # @type Limit: Integer
1508
1670
  # @param Offset: 分页偏移量
1509
1671
  # @type Offset: Integer
1672
+ # @param CompareTaskId: 校验任务 ID
1673
+ # @type CompareTaskId: String
1674
+ # @param Status: 任务状态过滤,可能的值:created - 创建完成;readyRun - 等待运行;running - 运行中;success - 成功;stopping - 结束中;failed - 失败;canceled - 已终止
1675
+ # @type Status: Array
1510
1676
 
1511
- attr_accessor :JobId, :Limit, :Offset
1677
+ attr_accessor :JobId, :Limit, :Offset, :CompareTaskId, :Status
1512
1678
 
1513
- def initialize(jobid=nil, limit=nil, offset=nil)
1679
+ def initialize(jobid=nil, limit=nil, offset=nil, comparetaskid=nil, status=nil)
1514
1680
  @JobId = jobid
1515
1681
  @Limit = limit
1516
1682
  @Offset = offset
1683
+ @CompareTaskId = comparetaskid
1684
+ @Status = status
1517
1685
  end
1518
1686
 
1519
1687
  def deserialize(params)
1520
1688
  @JobId = params['JobId']
1521
1689
  @Limit = params['Limit']
1522
1690
  @Offset = params['Offset']
1691
+ @CompareTaskId = params['CompareTaskId']
1692
+ @Status = params['Status']
1523
1693
  end
1524
1694
  end
1525
1695
 
@@ -2875,25 +3045,28 @@ module TencentCloud
2875
3045
 
2876
3046
  # ModifyCompareTask请求参数结构体
2877
3047
  class ModifyCompareTaskRequest < TencentCloud::Common::AbstractModel
2878
- # @param JobId: 迁移任务 Id
3048
+ # @param JobId: 任务 Id
2879
3049
  # @type JobId: String
2880
3050
  # @param CompareTaskId: 对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9
2881
3051
  # @type CompareTaskId: String
2882
3052
  # @param TaskName: 任务名称
2883
3053
  # @type TaskName: String
2884
- # @param ObjectMode: 数据对比对象模式,sameAsMigrate(全部迁移对象, **默认为此项配置**)custom(自定义模式)
3054
+ # @param ObjectMode: 数据对比对象模式,sameAsMigrate(全部迁移对象, 默认为此项配置)custom(自定义),注意自定义对比对象必须是迁移对象的子集
2885
3055
  # @type ObjectMode: String
2886
3056
  # @param Objects: 对比对象,若CompareObjectMode取值为custom,则此项必填
2887
3057
  # @type Objects: :class:`Tencentcloud::Dts.v20211206.models.CompareObject`
3058
+ # @param Options: 一致性校验选项
3059
+ # @type Options: :class:`Tencentcloud::Dts.v20211206.models.CompareOptions`
2888
3060
 
2889
- attr_accessor :JobId, :CompareTaskId, :TaskName, :ObjectMode, :Objects
3061
+ attr_accessor :JobId, :CompareTaskId, :TaskName, :ObjectMode, :Objects, :Options
2890
3062
 
2891
- def initialize(jobid=nil, comparetaskid=nil, taskname=nil, objectmode=nil, objects=nil)
3063
+ def initialize(jobid=nil, comparetaskid=nil, taskname=nil, objectmode=nil, objects=nil, options=nil)
2892
3064
  @JobId = jobid
2893
3065
  @CompareTaskId = comparetaskid
2894
3066
  @TaskName = taskname
2895
3067
  @ObjectMode = objectmode
2896
3068
  @Objects = objects
3069
+ @Options = options
2897
3070
  end
2898
3071
 
2899
3072
  def deserialize(params)
@@ -2905,6 +3078,10 @@ module TencentCloud
2905
3078
  @Objects = CompareObject.new
2906
3079
  @Objects.deserialize(params['Objects'])
2907
3080
  end
3081
+ unless params['Options'].nil?
3082
+ @Options = CompareOptions.new
3083
+ @Options.deserialize(params['Options'])
3084
+ end
2908
3085
  end
2909
3086
  end
2910
3087
 
@@ -3186,6 +3363,38 @@ module TencentCloud
3186
3363
  end
3187
3364
  end
3188
3365
 
3366
+ # PauseMigrateJob请求参数结构体
3367
+ class PauseMigrateJobRequest < TencentCloud::Common::AbstractModel
3368
+ # @param JobId: 数据迁移任务ID
3369
+ # @type JobId: String
3370
+
3371
+ attr_accessor :JobId
3372
+
3373
+ def initialize(jobid=nil)
3374
+ @JobId = jobid
3375
+ end
3376
+
3377
+ def deserialize(params)
3378
+ @JobId = params['JobId']
3379
+ end
3380
+ end
3381
+
3382
+ # PauseMigrateJob返回参数结构体
3383
+ class PauseMigrateJobResponse < TencentCloud::Common::AbstractModel
3384
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3385
+ # @type RequestId: String
3386
+
3387
+ attr_accessor :RequestId
3388
+
3389
+ def initialize(requestid=nil)
3390
+ @RequestId = requestid
3391
+ end
3392
+
3393
+ def deserialize(params)
3394
+ @RequestId = params['RequestId']
3395
+ end
3396
+ end
3397
+
3189
3398
  # PauseSyncJob请求参数结构体
3190
3399
  class PauseSyncJobRequest < TencentCloud::Common::AbstractModel
3191
3400
  # @param JobId: 同步任务id
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.486
4
+ version: 3.0.487
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common