tencentcloud-sdk-dts 3.0.631 → 3.0.632
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/models.rb +182 -15
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 838f64267a0d0518476408e763dc1461d2a4ebc7
|
4
|
+
data.tar.gz: d46734a7ff9d5d6fa2486ab10d0f66d3dac0d9e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57c4c0f7f3fdfb7b63c579e8a309b5fc940ac2d5efc3351e9fe5e99658376b97206bed7522d075203226d5f05d4bfa36c74b9f27612dd5a791a5be703e138227
|
7
|
+
data.tar.gz: 8639bdd949d93eefe6178d8c9adf29b920cd23b64827db0e0dafefdfff374729017d071f9ad282e6bd2ac899789d576e9ebd1a5fc226fb515780e04be38160bc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20211206/models.rb
CHANGED
@@ -555,7 +555,7 @@ module TencentCloud
|
|
555
555
|
# @type DstInfos: :class:`Tencentcloud::Dts.v20211206.models.SyncDBEndpointInfos`
|
556
556
|
# @param DstNodeType: 枚举值:cluster、single。目标库为单节点数据库使用single,多节点使用cluster
|
557
557
|
# @type DstNodeType: String
|
558
|
-
# @param Options:
|
558
|
+
# @param Options: 同步任务选项;该字段下的RateLimitOption暂时无法生效、如果需要修改限速、可通过ModifySyncRateLimit接口完成限速
|
559
559
|
# @type Options: :class:`Tencentcloud::Dts.v20211206.models.Options`
|
560
560
|
# @param AutoRetryTimeRangeMinutes: 自动重试的时间段、可设置5至720分钟、0表示不重试
|
561
561
|
# @type AutoRetryTimeRangeMinutes: Integer
|
@@ -2008,12 +2008,17 @@ module TencentCloud
|
|
2008
2008
|
# @param ErrorInfo: 任务错误信息
|
2009
2009
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2010
2010
|
# @type ErrorInfo: Array
|
2011
|
+
# @param DumperResumeCtrl: 全量导出可重入标识:enum::"yes"/"no"。yes表示当前任务可重入、no表示当前任务处于全量导出且不可重入阶段;如果在该值为no时重启任务导出流程不支持断点续传
|
2012
|
+
# @type DumperResumeCtrl: String
|
2013
|
+
# @param RateLimitOption: 任务的限速信息
|
2014
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2015
|
+
# @type RateLimitOption: :class:`Tencentcloud::Dts.v20211206.models.RateLimitOption`
|
2011
2016
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2012
2017
|
# @type RequestId: String
|
2013
2018
|
|
2014
|
-
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :Tags, :RunMode, :ExpectRunTime, :MigrateOption, :CheckStepInfo, :TradeInfo, :ErrorInfo, :RequestId
|
2019
|
+
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :Tags, :RunMode, :ExpectRunTime, :MigrateOption, :CheckStepInfo, :TradeInfo, :ErrorInfo, :DumperResumeCtrl, :RateLimitOption, :RequestId
|
2015
2020
|
|
2016
|
-
def initialize(jobid=nil, jobname=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, briefmsg=nil, status=nil, action=nil, stepinfo=nil, srcinfo=nil, dstinfo=nil, comparetask=nil, tags=nil, runmode=nil, expectruntime=nil, migrateoption=nil, checkstepinfo=nil, tradeinfo=nil, errorinfo=nil, requestid=nil)
|
2021
|
+
def initialize(jobid=nil, jobname=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, briefmsg=nil, status=nil, action=nil, stepinfo=nil, srcinfo=nil, dstinfo=nil, comparetask=nil, tags=nil, runmode=nil, expectruntime=nil, migrateoption=nil, checkstepinfo=nil, tradeinfo=nil, errorinfo=nil, dumperresumectrl=nil, ratelimitoption=nil, requestid=nil)
|
2017
2022
|
@JobId = jobid
|
2018
2023
|
@JobName = jobname
|
2019
2024
|
@CreateTime = createtime
|
@@ -2034,6 +2039,8 @@ module TencentCloud
|
|
2034
2039
|
@CheckStepInfo = checkstepinfo
|
2035
2040
|
@TradeInfo = tradeinfo
|
2036
2041
|
@ErrorInfo = errorinfo
|
2042
|
+
@DumperResumeCtrl = dumperresumectrl
|
2043
|
+
@RateLimitOption = ratelimitoption
|
2037
2044
|
@RequestId = requestid
|
2038
2045
|
end
|
2039
2046
|
|
@@ -2096,6 +2103,11 @@ module TencentCloud
|
|
2096
2103
|
@ErrorInfo << errorinfoitem_tmp
|
2097
2104
|
end
|
2098
2105
|
end
|
2106
|
+
@DumperResumeCtrl = params['DumperResumeCtrl']
|
2107
|
+
unless params['RateLimitOption'].nil?
|
2108
|
+
@RateLimitOption = RateLimitOption.new
|
2109
|
+
@RateLimitOption.deserialize(params['RateLimitOption'])
|
2110
|
+
end
|
2099
2111
|
@RequestId = params['RequestId']
|
2100
2112
|
end
|
2101
2113
|
end
|
@@ -2704,10 +2716,13 @@ module TencentCloud
|
|
2704
2716
|
# @param DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
2705
2717
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2706
2718
|
# @type DatabaseNetEnv: String
|
2719
|
+
# @param CcnOwnerUin: 数据库为跨账号云联网下的实例时、表示云联网所属主账号
|
2720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2721
|
+
# @type CcnOwnerUin: String
|
2707
2722
|
|
2708
|
-
attr_accessor :Region, :Role, :DbKernel, :InstanceId, :Ip, :Port, :User, :Password, :DbName, :VpcId, :SubnetId, :CvmInstanceId, :UniqDcgId, :UniqVpnGwId, :CcnId, :Supplier, :EngineVersion, :Account, :AccountMode, :AccountRole, :RoleExternalId, :TmpSecretId, :TmpSecretKey, :TmpToken, :EncryptConn, :DatabaseNetEnv
|
2723
|
+
attr_accessor :Region, :Role, :DbKernel, :InstanceId, :Ip, :Port, :User, :Password, :DbName, :VpcId, :SubnetId, :CvmInstanceId, :UniqDcgId, :UniqVpnGwId, :CcnId, :Supplier, :EngineVersion, :Account, :AccountMode, :AccountRole, :RoleExternalId, :TmpSecretId, :TmpSecretKey, :TmpToken, :EncryptConn, :DatabaseNetEnv, :CcnOwnerUin
|
2709
2724
|
|
2710
|
-
def initialize(region=nil, role=nil, dbkernel=nil, instanceid=nil, ip=nil, port=nil, user=nil, password=nil, dbname=nil, vpcid=nil, subnetid=nil, cvminstanceid=nil, uniqdcgid=nil, uniqvpngwid=nil, ccnid=nil, supplier=nil, engineversion=nil, account=nil, accountmode=nil, accountrole=nil, roleexternalid=nil, tmpsecretid=nil, tmpsecretkey=nil, tmptoken=nil, encryptconn=nil, databasenetenv=nil)
|
2725
|
+
def initialize(region=nil, role=nil, dbkernel=nil, instanceid=nil, ip=nil, port=nil, user=nil, password=nil, dbname=nil, vpcid=nil, subnetid=nil, cvminstanceid=nil, uniqdcgid=nil, uniqvpngwid=nil, ccnid=nil, supplier=nil, engineversion=nil, account=nil, accountmode=nil, accountrole=nil, roleexternalid=nil, tmpsecretid=nil, tmpsecretkey=nil, tmptoken=nil, encryptconn=nil, databasenetenv=nil, ccnowneruin=nil)
|
2711
2726
|
@Region = region
|
2712
2727
|
@Role = role
|
2713
2728
|
@DbKernel = dbkernel
|
@@ -2734,6 +2749,7 @@ module TencentCloud
|
|
2734
2749
|
@TmpToken = tmptoken
|
2735
2750
|
@EncryptConn = encryptconn
|
2736
2751
|
@DatabaseNetEnv = databasenetenv
|
2752
|
+
@CcnOwnerUin = ccnowneruin
|
2737
2753
|
end
|
2738
2754
|
|
2739
2755
|
def deserialize(params)
|
@@ -2763,6 +2779,33 @@ module TencentCloud
|
|
2763
2779
|
@TmpToken = params['TmpToken']
|
2764
2780
|
@EncryptConn = params['EncryptConn']
|
2765
2781
|
@DatabaseNetEnv = params['DatabaseNetEnv']
|
2782
|
+
@CcnOwnerUin = params['CcnOwnerUin']
|
2783
|
+
end
|
2784
|
+
end
|
2785
|
+
|
2786
|
+
# 错误信息及其解决方案
|
2787
|
+
class ErrInfo < TencentCloud::Common::AbstractModel
|
2788
|
+
# @param Reason: 错误原因
|
2789
|
+
# @type Reason: String
|
2790
|
+
# @param Message: 错误信息
|
2791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2792
|
+
# @type Message: String
|
2793
|
+
# @param Solution: 解决方案
|
2794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2795
|
+
# @type Solution: String
|
2796
|
+
|
2797
|
+
attr_accessor :Reason, :Message, :Solution
|
2798
|
+
|
2799
|
+
def initialize(reason=nil, message=nil, solution=nil)
|
2800
|
+
@Reason = reason
|
2801
|
+
@Message = message
|
2802
|
+
@Solution = solution
|
2803
|
+
end
|
2804
|
+
|
2805
|
+
def deserialize(params)
|
2806
|
+
@Reason = params['Reason']
|
2807
|
+
@Message = params['Message']
|
2808
|
+
@Solution = params['Solution']
|
2766
2809
|
end
|
2767
2810
|
end
|
2768
2811
|
|
@@ -2920,10 +2963,13 @@ module TencentCloud
|
|
2920
2963
|
# @param AutoRetryTimeRangeMinutes: 自动重试时间段信息
|
2921
2964
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2922
2965
|
# @type AutoRetryTimeRangeMinutes: Integer
|
2966
|
+
# @param DumperResumeCtrl: 全量导出可重入标识:enum::"yes"/"no"。yes表示当前任务可重入、no表示当前任务处于全量导出且不可重入阶段;如果在该值为no时重启任务导出流程不支持断点续传
|
2967
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2968
|
+
# @type DumperResumeCtrl: String
|
2923
2969
|
|
2924
|
-
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :RunMode, :ExpectRunTime, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :TradeInfo, :Tags, :AutoRetryTimeRangeMinutes
|
2970
|
+
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :RunMode, :ExpectRunTime, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :TradeInfo, :Tags, :AutoRetryTimeRangeMinutes, :DumperResumeCtrl
|
2925
2971
|
|
2926
|
-
def initialize(jobid=nil, jobname=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, briefmsg=nil, status=nil, runmode=nil, expectruntime=nil, action=nil, stepinfo=nil, srcinfo=nil, dstinfo=nil, comparetask=nil, tradeinfo=nil, tags=nil, autoretrytimerangeminutes=nil)
|
2972
|
+
def initialize(jobid=nil, jobname=nil, createtime=nil, updatetime=nil, starttime=nil, endtime=nil, briefmsg=nil, status=nil, runmode=nil, expectruntime=nil, action=nil, stepinfo=nil, srcinfo=nil, dstinfo=nil, comparetask=nil, tradeinfo=nil, tags=nil, autoretrytimerangeminutes=nil, dumperresumectrl=nil)
|
2927
2973
|
@JobId = jobid
|
2928
2974
|
@JobName = jobname
|
2929
2975
|
@CreateTime = createtime
|
@@ -2942,6 +2988,7 @@ module TencentCloud
|
|
2942
2988
|
@TradeInfo = tradeinfo
|
2943
2989
|
@Tags = tags
|
2944
2990
|
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
2991
|
+
@DumperResumeCtrl = dumperresumectrl
|
2945
2992
|
end
|
2946
2993
|
|
2947
2994
|
def deserialize(params)
|
@@ -2988,6 +3035,7 @@ module TencentCloud
|
|
2988
3035
|
end
|
2989
3036
|
end
|
2990
3037
|
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
3038
|
+
@DumperResumeCtrl = params['DumperResumeCtrl']
|
2991
3039
|
end
|
2992
3040
|
end
|
2993
3041
|
|
@@ -3387,7 +3435,7 @@ module TencentCloud
|
|
3387
3435
|
# @type JobId: String
|
3388
3436
|
# @param RunMode: 运行模式,取值如:immediate(表示立即运行)、timed(表示定时运行)
|
3389
3437
|
# @type RunMode: String
|
3390
|
-
# @param MigrateOption:
|
3438
|
+
# @param MigrateOption: 迁移任务配置选项,描述任务如何执行迁移等一系列配置信息;字段下的RateLimitOption不可配置、如果需要修改任务的限速信息、请在任务运行后通过ModifyMigrateRateLimit接口修改
|
3391
3439
|
# @type MigrateOption: :class:`Tencentcloud::Dts.v20211206.models.MigrateOption`
|
3392
3440
|
# @param SrcInfo: 源实例信息
|
3393
3441
|
# @type SrcInfo: :class:`Tencentcloud::Dts.v20211206.models.DBEndpointInfo`
|
@@ -3592,10 +3640,16 @@ module TencentCloud
|
|
3592
3640
|
# @param KafkaOption: kafka同步选项
|
3593
3641
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3594
3642
|
# @type KafkaOption: :class:`Tencentcloud::Dts.v20211206.models.KafkaOption`
|
3643
|
+
# @param RateLimitOption: 任务限速信息、该字段仅用作出参、入参该字段无效
|
3644
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3645
|
+
# @type RateLimitOption: :class:`Tencentcloud::Dts.v20211206.models.RateLimitOption`
|
3646
|
+
# @param AutoRetryTimeRangeMinutes: 自动重试的时间窗口设置
|
3647
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3648
|
+
# @type AutoRetryTimeRangeMinutes: Integer
|
3595
3649
|
|
3596
|
-
attr_accessor :InitType, :DealOfExistSameTable, :ConflictHandleType, :AddAdditionalColumn, :OpTypes, :ConflictHandleOption, :DdlOptions, :KafkaOption
|
3650
|
+
attr_accessor :InitType, :DealOfExistSameTable, :ConflictHandleType, :AddAdditionalColumn, :OpTypes, :ConflictHandleOption, :DdlOptions, :KafkaOption, :RateLimitOption, :AutoRetryTimeRangeMinutes
|
3597
3651
|
|
3598
|
-
def initialize(inittype=nil, dealofexistsametable=nil, conflicthandletype=nil, addadditionalcolumn=nil, optypes=nil, conflicthandleoption=nil, ddloptions=nil, kafkaoption=nil)
|
3652
|
+
def initialize(inittype=nil, dealofexistsametable=nil, conflicthandletype=nil, addadditionalcolumn=nil, optypes=nil, conflicthandleoption=nil, ddloptions=nil, kafkaoption=nil, ratelimitoption=nil, autoretrytimerangeminutes=nil)
|
3599
3653
|
@InitType = inittype
|
3600
3654
|
@DealOfExistSameTable = dealofexistsametable
|
3601
3655
|
@ConflictHandleType = conflicthandletype
|
@@ -3604,6 +3658,8 @@ module TencentCloud
|
|
3604
3658
|
@ConflictHandleOption = conflicthandleoption
|
3605
3659
|
@DdlOptions = ddloptions
|
3606
3660
|
@KafkaOption = kafkaoption
|
3661
|
+
@RateLimitOption = ratelimitoption
|
3662
|
+
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
3607
3663
|
end
|
3608
3664
|
|
3609
3665
|
def deserialize(params)
|
@@ -3628,6 +3684,11 @@ module TencentCloud
|
|
3628
3684
|
@KafkaOption = KafkaOption.new
|
3629
3685
|
@KafkaOption.deserialize(params['KafkaOption'])
|
3630
3686
|
end
|
3687
|
+
unless params['RateLimitOption'].nil?
|
3688
|
+
@RateLimitOption = RateLimitOption.new
|
3689
|
+
@RateLimitOption.deserialize(params['RateLimitOption'])
|
3690
|
+
end
|
3691
|
+
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
3631
3692
|
end
|
3632
3693
|
end
|
3633
3694
|
|
@@ -3771,6 +3832,73 @@ module TencentCloud
|
|
3771
3832
|
end
|
3772
3833
|
end
|
3773
3834
|
|
3835
|
+
# 迁移和同步任务限速的详细信息
|
3836
|
+
class RateLimitOption < TencentCloud::Common::AbstractModel
|
3837
|
+
# @param CurrentDumpThread: 当前生效的全量导出线程数
|
3838
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3839
|
+
# @type CurrentDumpThread: Integer
|
3840
|
+
# @param DefaultDumpThread: 默认的全量导出线程数
|
3841
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3842
|
+
# @type DefaultDumpThread: Integer
|
3843
|
+
# @param CurrentDumpRps: 当前生效的全量导出Rps
|
3844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3845
|
+
# @type CurrentDumpRps: Integer
|
3846
|
+
# @param DefaultDumpRps: 默认的全量导出Rps
|
3847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3848
|
+
# @type DefaultDumpRps: Integer
|
3849
|
+
# @param CurrentLoadThread: 当前生效的全量导入线程数
|
3850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3851
|
+
# @type CurrentLoadThread: Integer
|
3852
|
+
# @param DefaultLoadThread: 默认的全量导入线程数
|
3853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3854
|
+
# @type DefaultLoadThread: Integer
|
3855
|
+
# @param CurrentLoadRps: 当前生效的全量导入Rps
|
3856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3857
|
+
# @type CurrentLoadRps: Integer
|
3858
|
+
# @param DefaultLoadRps: 默认的全量导入Rps
|
3859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3860
|
+
# @type DefaultLoadRps: Integer
|
3861
|
+
# @param CurrentSinkerThread: 当前生效的增量导入线程数
|
3862
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3863
|
+
# @type CurrentSinkerThread: Integer
|
3864
|
+
# @param DefaultSinkerThread: 默认的增量导入线程数
|
3865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3866
|
+
# @type DefaultSinkerThread: Integer
|
3867
|
+
# @param HasUserSetRateLimit: enum:"no"/"yes"、no表示用户未设置过限速、yes表示设置过限速
|
3868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3869
|
+
# @type HasUserSetRateLimit: String
|
3870
|
+
|
3871
|
+
attr_accessor :CurrentDumpThread, :DefaultDumpThread, :CurrentDumpRps, :DefaultDumpRps, :CurrentLoadThread, :DefaultLoadThread, :CurrentLoadRps, :DefaultLoadRps, :CurrentSinkerThread, :DefaultSinkerThread, :HasUserSetRateLimit
|
3872
|
+
|
3873
|
+
def initialize(currentdumpthread=nil, defaultdumpthread=nil, currentdumprps=nil, defaultdumprps=nil, currentloadthread=nil, defaultloadthread=nil, currentloadrps=nil, defaultloadrps=nil, currentsinkerthread=nil, defaultsinkerthread=nil, hasusersetratelimit=nil)
|
3874
|
+
@CurrentDumpThread = currentdumpthread
|
3875
|
+
@DefaultDumpThread = defaultdumpthread
|
3876
|
+
@CurrentDumpRps = currentdumprps
|
3877
|
+
@DefaultDumpRps = defaultdumprps
|
3878
|
+
@CurrentLoadThread = currentloadthread
|
3879
|
+
@DefaultLoadThread = defaultloadthread
|
3880
|
+
@CurrentLoadRps = currentloadrps
|
3881
|
+
@DefaultLoadRps = defaultloadrps
|
3882
|
+
@CurrentSinkerThread = currentsinkerthread
|
3883
|
+
@DefaultSinkerThread = defaultsinkerthread
|
3884
|
+
@HasUserSetRateLimit = hasusersetratelimit
|
3885
|
+
end
|
3886
|
+
|
3887
|
+
def deserialize(params)
|
3888
|
+
@CurrentDumpThread = params['CurrentDumpThread']
|
3889
|
+
@DefaultDumpThread = params['DefaultDumpThread']
|
3890
|
+
@CurrentDumpRps = params['CurrentDumpRps']
|
3891
|
+
@DefaultDumpRps = params['DefaultDumpRps']
|
3892
|
+
@CurrentLoadThread = params['CurrentLoadThread']
|
3893
|
+
@DefaultLoadThread = params['DefaultLoadThread']
|
3894
|
+
@CurrentLoadRps = params['CurrentLoadRps']
|
3895
|
+
@DefaultLoadRps = params['DefaultLoadRps']
|
3896
|
+
@CurrentSinkerThread = params['CurrentSinkerThread']
|
3897
|
+
@DefaultSinkerThread = params['DefaultSinkerThread']
|
3898
|
+
@HasUserSetRateLimit = params['HasUserSetRateLimit']
|
3899
|
+
end
|
3900
|
+
end
|
3901
|
+
|
3774
3902
|
# RecoverMigrateJob请求参数结构体
|
3775
3903
|
class RecoverMigrateJobRequest < TencentCloud::Common::AbstractModel
|
3776
3904
|
# @param JobId: 任务id
|
@@ -4554,7 +4682,7 @@ module TencentCloud
|
|
4554
4682
|
# @param Progress: 总体进度
|
4555
4683
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4556
4684
|
# @type Progress: Integer
|
4557
|
-
# @param CurrentStepProgress:
|
4685
|
+
# @param CurrentStepProgress: 当前步骤进度,范围为[0-100],若为-1表示当前步骤不支持查看进度
|
4558
4686
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4559
4687
|
# @type CurrentStepProgress: Integer
|
4560
4688
|
# @param MasterSlaveDistance: 同步两端数据量差距
|
@@ -4572,10 +4700,13 @@ module TencentCloud
|
|
4572
4700
|
# @param CauseOfCompareDisable: 不能发起一致性校验的原因
|
4573
4701
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4574
4702
|
# @type CauseOfCompareDisable: String
|
4703
|
+
# @param ErrInfo: 任务的错误和解决方案信息
|
4704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4705
|
+
# @type ErrInfo: :class:`Tencentcloud::Dts.v20211206.models.ErrInfo`
|
4575
4706
|
|
4576
|
-
attr_accessor :StepAll, :StepNow, :Progress, :CurrentStepProgress, :MasterSlaveDistance, :SecondsBehindMaster, :Message, :StepInfos, :CauseOfCompareDisable
|
4707
|
+
attr_accessor :StepAll, :StepNow, :Progress, :CurrentStepProgress, :MasterSlaveDistance, :SecondsBehindMaster, :Message, :StepInfos, :CauseOfCompareDisable, :ErrInfo
|
4577
4708
|
|
4578
|
-
def initialize(stepall=nil, stepnow=nil, progress=nil, currentstepprogress=nil, masterslavedistance=nil, secondsbehindmaster=nil, message=nil, stepinfos=nil, causeofcomparedisable=nil)
|
4709
|
+
def initialize(stepall=nil, stepnow=nil, progress=nil, currentstepprogress=nil, masterslavedistance=nil, secondsbehindmaster=nil, message=nil, stepinfos=nil, causeofcomparedisable=nil, errinfo=nil)
|
4579
4710
|
@StepAll = stepall
|
4580
4711
|
@StepNow = stepnow
|
4581
4712
|
@Progress = progress
|
@@ -4585,6 +4716,7 @@ module TencentCloud
|
|
4585
4716
|
@Message = message
|
4586
4717
|
@StepInfos = stepinfos
|
4587
4718
|
@CauseOfCompareDisable = causeofcomparedisable
|
4719
|
+
@ErrInfo = errinfo
|
4588
4720
|
end
|
4589
4721
|
|
4590
4722
|
def deserialize(params)
|
@@ -4604,6 +4736,10 @@ module TencentCloud
|
|
4604
4736
|
end
|
4605
4737
|
end
|
4606
4738
|
@CauseOfCompareDisable = params['CauseOfCompareDisable']
|
4739
|
+
unless params['ErrInfo'].nil?
|
4740
|
+
@ErrInfo = ErrInfo.new
|
4741
|
+
@ErrInfo.deserialize(params['ErrInfo'])
|
4742
|
+
end
|
4607
4743
|
end
|
4608
4744
|
end
|
4609
4745
|
|
@@ -4654,6 +4790,12 @@ module TencentCloud
|
|
4654
4790
|
# @param SrcInfo: 源端信息,单节点数据库使用
|
4655
4791
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4656
4792
|
# @type SrcInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
4793
|
+
# @param SrcNodeType: 枚举值:cluster、single。源库为单节点数据库使用single,多节点使用cluster
|
4794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4795
|
+
# @type SrcNodeType: String
|
4796
|
+
# @param SrcInfos: 源端信息,多节点数据库使用
|
4797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4798
|
+
# @type SrcInfos: :class:`Tencentcloud::Dts.v20211206.models.SyncDBEndpointInfos`
|
4657
4799
|
# @param DstRegion: 目标端地域,如:ap-guangzhou等
|
4658
4800
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4659
4801
|
# @type DstRegion: String
|
@@ -4666,6 +4808,12 @@ module TencentCloud
|
|
4666
4808
|
# @param DstInfo: 目标端信息,单节点数据库使用
|
4667
4809
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4668
4810
|
# @type DstInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
4811
|
+
# @param DstNodeType: 枚举值:cluster、single。目标库为单节点数据库使用single,多节点使用cluster
|
4812
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4813
|
+
# @type DstNodeType: String
|
4814
|
+
# @param DstInfos: 目标端信息,多节点数据库使用
|
4815
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4816
|
+
# @type DstInfos: :class:`Tencentcloud::Dts.v20211206.models.SyncDBEndpointInfos`
|
4669
4817
|
# @param CreateTime: 创建时间,格式为 yyyy-mm-dd hh:mm:ss
|
4670
4818
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4671
4819
|
# @type CreateTime: String
|
@@ -4699,10 +4847,13 @@ module TencentCloud
|
|
4699
4847
|
# @param AutoRetryTimeRangeMinutes: 自动重试时间段设置
|
4700
4848
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4701
4849
|
# @type AutoRetryTimeRangeMinutes: Integer
|
4850
|
+
# @param DumperResumeCtrl: 全量导出可重入标识:enum::"yes"/"no"。yes表示当前任务可重入、no表示当前任务处于全量导出且不可重入阶段;如果在该值为no时重启任务导出流程不支持断点续传
|
4851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4852
|
+
# @type DumperResumeCtrl: String
|
4702
4853
|
|
4703
|
-
attr_accessor :JobId, :JobName, :PayMode, :RunMode, :ExpectRunTime, :AllActions, :Actions, :Options, :Objects, :Specification, :ExpireTime, :SrcRegion, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :DstRegion, :DstDatabaseType, :DstAccessType, :DstInfo, :CreateTime, :StartTime, :Status, :EndTime, :Tags, :Detail, :TradeStatus, :InstanceClass, :AutoRenew, :OfflineTime, :AutoRetryTimeRangeMinutes
|
4854
|
+
attr_accessor :JobId, :JobName, :PayMode, :RunMode, :ExpectRunTime, :AllActions, :Actions, :Options, :Objects, :Specification, :ExpireTime, :SrcRegion, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :SrcNodeType, :SrcInfos, :DstRegion, :DstDatabaseType, :DstAccessType, :DstInfo, :DstNodeType, :DstInfos, :CreateTime, :StartTime, :Status, :EndTime, :Tags, :Detail, :TradeStatus, :InstanceClass, :AutoRenew, :OfflineTime, :AutoRetryTimeRangeMinutes, :DumperResumeCtrl
|
4704
4855
|
|
4705
|
-
def initialize(jobid=nil, jobname=nil, paymode=nil, runmode=nil, expectruntime=nil, allactions=nil, actions=nil, options=nil, objects=nil, specification=nil, expiretime=nil, srcregion=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, dstregion=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, createtime=nil, starttime=nil, status=nil, endtime=nil, tags=nil, detail=nil, tradestatus=nil, instanceclass=nil, autorenew=nil, offlinetime=nil, autoretrytimerangeminutes=nil)
|
4856
|
+
def initialize(jobid=nil, jobname=nil, paymode=nil, runmode=nil, expectruntime=nil, allactions=nil, actions=nil, options=nil, objects=nil, specification=nil, expiretime=nil, srcregion=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, srcnodetype=nil, srcinfos=nil, dstregion=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, dstnodetype=nil, dstinfos=nil, createtime=nil, starttime=nil, status=nil, endtime=nil, tags=nil, detail=nil, tradestatus=nil, instanceclass=nil, autorenew=nil, offlinetime=nil, autoretrytimerangeminutes=nil, dumperresumectrl=nil)
|
4706
4857
|
@JobId = jobid
|
4707
4858
|
@JobName = jobname
|
4708
4859
|
@PayMode = paymode
|
@@ -4718,10 +4869,14 @@ module TencentCloud
|
|
4718
4869
|
@SrcDatabaseType = srcdatabasetype
|
4719
4870
|
@SrcAccessType = srcaccesstype
|
4720
4871
|
@SrcInfo = srcinfo
|
4872
|
+
@SrcNodeType = srcnodetype
|
4873
|
+
@SrcInfos = srcinfos
|
4721
4874
|
@DstRegion = dstregion
|
4722
4875
|
@DstDatabaseType = dstdatabasetype
|
4723
4876
|
@DstAccessType = dstaccesstype
|
4724
4877
|
@DstInfo = dstinfo
|
4878
|
+
@DstNodeType = dstnodetype
|
4879
|
+
@DstInfos = dstinfos
|
4725
4880
|
@CreateTime = createtime
|
4726
4881
|
@StartTime = starttime
|
4727
4882
|
@Status = status
|
@@ -4733,6 +4888,7 @@ module TencentCloud
|
|
4733
4888
|
@AutoRenew = autorenew
|
4734
4889
|
@OfflineTime = offlinetime
|
4735
4890
|
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
4891
|
+
@DumperResumeCtrl = dumperresumectrl
|
4736
4892
|
end
|
4737
4893
|
|
4738
4894
|
def deserialize(params)
|
@@ -4760,6 +4916,11 @@ module TencentCloud
|
|
4760
4916
|
@SrcInfo = Endpoint.new
|
4761
4917
|
@SrcInfo.deserialize(params['SrcInfo'])
|
4762
4918
|
end
|
4919
|
+
@SrcNodeType = params['SrcNodeType']
|
4920
|
+
unless params['SrcInfos'].nil?
|
4921
|
+
@SrcInfos = SyncDBEndpointInfos.new
|
4922
|
+
@SrcInfos.deserialize(params['SrcInfos'])
|
4923
|
+
end
|
4763
4924
|
@DstRegion = params['DstRegion']
|
4764
4925
|
@DstDatabaseType = params['DstDatabaseType']
|
4765
4926
|
@DstAccessType = params['DstAccessType']
|
@@ -4767,6 +4928,11 @@ module TencentCloud
|
|
4767
4928
|
@DstInfo = Endpoint.new
|
4768
4929
|
@DstInfo.deserialize(params['DstInfo'])
|
4769
4930
|
end
|
4931
|
+
@DstNodeType = params['DstNodeType']
|
4932
|
+
unless params['DstInfos'].nil?
|
4933
|
+
@DstInfos = SyncDBEndpointInfos.new
|
4934
|
+
@DstInfos.deserialize(params['DstInfos'])
|
4935
|
+
end
|
4770
4936
|
@CreateTime = params['CreateTime']
|
4771
4937
|
@StartTime = params['StartTime']
|
4772
4938
|
@Status = params['Status']
|
@@ -4788,6 +4954,7 @@ module TencentCloud
|
|
4788
4954
|
@AutoRenew = params['AutoRenew']
|
4789
4955
|
@OfflineTime = params['OfflineTime']
|
4790
4956
|
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
4957
|
+
@DumperResumeCtrl = params['DumperResumeCtrl']
|
4791
4958
|
end
|
4792
4959
|
end
|
4793
4960
|
|
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.632
|
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-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|