tencentcloud-sdk-dts 1.0.303 → 1.0.304
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180330/client.rb +2 -0
- data/lib/v20180330/models.rb +55 -6
- 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: 2e788ca8f0d56bce472394f49c8330b4f5507013
|
4
|
+
data.tar.gz: 3f37941557e9cc686f3f403693bb7c86d4bca5ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af43d89223c93a43bc7f57754a47e77aaec1fbee11ac6441b372407718560ff8bc61192310afdc3030d6cb9a20c2c2b73abf8e957bf55a3e307dc7d6e64b75e2
|
7
|
+
data.tar.gz: 0dfdecb83537dc97306ca020e0169d4c21ee3bb46880f918d56d05600c0515cf4f37e371c76e7a2d9227331d52a1f1e94fa186d243004a7477fea0c922cbdcf2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.304
|
data/lib/v20180330/client.rb
CHANGED
@@ -83,6 +83,8 @@ module TencentCloud
|
|
83
83
|
# 在开始迁移前, 必须调用本接口创建校验, 且校验成功后才能开始迁移. 校验的结果可以通过DescribeMigrateCheckJob查看.
|
84
84
|
# 校验成功后,迁移任务若有修改, 则必须重新创建校验并通过后, 才能开始迁移.
|
85
85
|
|
86
|
+
# 如果是金融区链路, 请使用域名: https://dts.ap-shenzhen-fsi.tencentcloudapi.com
|
87
|
+
|
86
88
|
# @param request: Request instance for CreateMigrateCheckJob.
|
87
89
|
# @type request: :class:`Tencentcloud::dts::V20180330::CreateMigrateCheckJobRequest`
|
88
90
|
# @rtype: :class:`Tencentcloud::dts::V20180330::CreateMigrateCheckJobResponse`
|
data/lib/v20180330/models.rb
CHANGED
@@ -289,16 +289,19 @@ module TencentCloud
|
|
289
289
|
# @type AutoRenew: Integer
|
290
290
|
# @param Tags: 实例资源标签
|
291
291
|
# @type Tags: Array
|
292
|
+
# @param Name: 用户自定义实例名
|
293
|
+
# @type Name: String
|
292
294
|
|
293
|
-
attr_accessor :Product, :PayType, :Duration, :Count, :AutoRenew, :Tags
|
295
|
+
attr_accessor :Product, :PayType, :Duration, :Count, :AutoRenew, :Tags, :Name
|
294
296
|
|
295
|
-
def initialize(product=nil, paytype=nil, duration=nil, count=nil, autorenew=nil, tags=nil)
|
297
|
+
def initialize(product=nil, paytype=nil, duration=nil, count=nil, autorenew=nil, tags=nil, name=nil)
|
296
298
|
@Product = product
|
297
299
|
@PayType = paytype
|
298
300
|
@Duration = duration
|
299
301
|
@Count = count
|
300
302
|
@AutoRenew = autorenew
|
301
303
|
@Tags = tags
|
304
|
+
@Name = name
|
302
305
|
end
|
303
306
|
|
304
307
|
def deserialize(params)
|
@@ -315,6 +318,7 @@ module TencentCloud
|
|
315
318
|
@Tags << tagitem_tmp
|
316
319
|
end
|
317
320
|
end
|
321
|
+
@Name = params['Name']
|
318
322
|
end
|
319
323
|
end
|
320
324
|
|
@@ -655,12 +659,17 @@ module TencentCloud
|
|
655
659
|
# @param AutoRenewFlag: 自动续费标识,0-不自动续费,1-自动续费
|
656
660
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
657
661
|
# @type AutoRenewFlag: Integer
|
662
|
+
# @param SubscribeVersion: 数据订阅版本。老版订阅填txdts,kafka版填kafka
|
663
|
+
# @type SubscribeVersion: String
|
664
|
+
# @param Errors: 错误信息
|
665
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
666
|
+
# @type Errors: Array
|
658
667
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
659
668
|
# @type RequestId: String
|
660
669
|
|
661
|
-
attr_accessor :SubscribeId, :SubscribeName, :ChannelId, :Product, :InstanceId, :InstanceStatus, :SubsStatus, :Status, :CreateTime, :IsolateTime, :ExpireTime, :OfflineTime, :ConsumeStartTime, :PayType, :Vip, :Vport, :UniqVpcId, :UniqSubnetId, :SdkConsumedTime, :SdkHost, :SubscribeObjectType, :SubscribeObjects, :ModifyTime, :Region, :Tags, :AutoRenewFlag, :RequestId
|
670
|
+
attr_accessor :SubscribeId, :SubscribeName, :ChannelId, :Product, :InstanceId, :InstanceStatus, :SubsStatus, :Status, :CreateTime, :IsolateTime, :ExpireTime, :OfflineTime, :ConsumeStartTime, :PayType, :Vip, :Vport, :UniqVpcId, :UniqSubnetId, :SdkConsumedTime, :SdkHost, :SubscribeObjectType, :SubscribeObjects, :ModifyTime, :Region, :Tags, :AutoRenewFlag, :SubscribeVersion, :Errors, :RequestId
|
662
671
|
|
663
|
-
def initialize(subscribeid=nil, subscribename=nil, channelid=nil, product=nil, instanceid=nil, instancestatus=nil, subsstatus=nil, status=nil, createtime=nil, isolatetime=nil, expiretime=nil, offlinetime=nil, consumestarttime=nil, paytype=nil, vip=nil, vport=nil, uniqvpcid=nil, uniqsubnetid=nil, sdkconsumedtime=nil, sdkhost=nil, subscribeobjecttype=nil, subscribeobjects=nil, modifytime=nil, region=nil, tags=nil, autorenewflag=nil, requestid=nil)
|
672
|
+
def initialize(subscribeid=nil, subscribename=nil, channelid=nil, product=nil, instanceid=nil, instancestatus=nil, subsstatus=nil, status=nil, createtime=nil, isolatetime=nil, expiretime=nil, offlinetime=nil, consumestarttime=nil, paytype=nil, vip=nil, vport=nil, uniqvpcid=nil, uniqsubnetid=nil, sdkconsumedtime=nil, sdkhost=nil, subscribeobjecttype=nil, subscribeobjects=nil, modifytime=nil, region=nil, tags=nil, autorenewflag=nil, subscribeversion=nil, errors=nil, requestid=nil)
|
664
673
|
@SubscribeId = subscribeid
|
665
674
|
@SubscribeName = subscribename
|
666
675
|
@ChannelId = channelid
|
@@ -687,6 +696,8 @@ module TencentCloud
|
|
687
696
|
@Region = region
|
688
697
|
@Tags = tags
|
689
698
|
@AutoRenewFlag = autorenewflag
|
699
|
+
@SubscribeVersion = subscribeversion
|
700
|
+
@Errors = errors
|
690
701
|
@RequestId = requestid
|
691
702
|
end
|
692
703
|
|
@@ -731,6 +742,15 @@ module TencentCloud
|
|
731
742
|
end
|
732
743
|
end
|
733
744
|
@AutoRenewFlag = params['AutoRenewFlag']
|
745
|
+
@SubscribeVersion = params['SubscribeVersion']
|
746
|
+
unless params['Errors'].nil?
|
747
|
+
@Errors = []
|
748
|
+
params['Errors'].each do |i|
|
749
|
+
subserr_tmp = SubsErr.new
|
750
|
+
subserr_tmp.deserialize(i)
|
751
|
+
@Errors << subserr_tmp
|
752
|
+
end
|
753
|
+
end
|
734
754
|
@RequestId = params['RequestId']
|
735
755
|
end
|
736
756
|
end
|
@@ -1013,10 +1033,13 @@ module TencentCloud
|
|
1013
1033
|
# @param Tags: 标签
|
1014
1034
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1015
1035
|
# @type Tags: Array
|
1036
|
+
# @param SrcInfoMulti: 源实例为集群时且接入为非cdb时源实例信息
|
1037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1038
|
+
# @type SrcInfoMulti: Array
|
1016
1039
|
|
1017
|
-
attr_accessor :JobId, :JobName, :MigrateOption, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :DstDatabaseType, :DstAccessType, :DstInfo, :DatabaseInfo, :CreateTime, :StartTime, :EndTime, :Status, :Detail, :ErrorInfo, :Tags
|
1040
|
+
attr_accessor :JobId, :JobName, :MigrateOption, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :DstDatabaseType, :DstAccessType, :DstInfo, :DatabaseInfo, :CreateTime, :StartTime, :EndTime, :Status, :Detail, :ErrorInfo, :Tags, :SrcInfoMulti
|
1018
1041
|
|
1019
|
-
def initialize(jobid=nil, jobname=nil, migrateoption=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil, createtime=nil, starttime=nil, endtime=nil, status=nil, detail=nil, errorinfo=nil, tags=nil)
|
1042
|
+
def initialize(jobid=nil, jobname=nil, migrateoption=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil, createtime=nil, starttime=nil, endtime=nil, status=nil, detail=nil, errorinfo=nil, tags=nil, srcinfomulti=nil)
|
1020
1043
|
@JobId = jobid
|
1021
1044
|
@JobName = jobname
|
1022
1045
|
@MigrateOption = migrateoption
|
@@ -1034,6 +1057,7 @@ module TencentCloud
|
|
1034
1057
|
@Detail = detail
|
1035
1058
|
@ErrorInfo = errorinfo
|
1036
1059
|
@Tags = tags
|
1060
|
+
@SrcInfoMulti = srcinfomulti
|
1037
1061
|
end
|
1038
1062
|
|
1039
1063
|
def deserialize(params)
|
@@ -1080,6 +1104,14 @@ module TencentCloud
|
|
1080
1104
|
@Tags << tagitem_tmp
|
1081
1105
|
end
|
1082
1106
|
end
|
1107
|
+
unless params['SrcInfoMulti'].nil?
|
1108
|
+
@SrcInfoMulti = []
|
1109
|
+
params['SrcInfoMulti'].each do |i|
|
1110
|
+
srcinfo_tmp = SrcInfo.new
|
1111
|
+
srcinfo_tmp.deserialize(i)
|
1112
|
+
@SrcInfoMulti << srcinfo_tmp
|
1113
|
+
end
|
1114
|
+
end
|
1083
1115
|
end
|
1084
1116
|
end
|
1085
1117
|
|
@@ -1677,6 +1709,23 @@ module TencentCloud
|
|
1677
1709
|
end
|
1678
1710
|
end
|
1679
1711
|
|
1712
|
+
# 查询订阅配置的错误信息
|
1713
|
+
class SubsErr < TencentCloud::Common::AbstractModel
|
1714
|
+
# @param Message: 错误信息
|
1715
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1716
|
+
# @type Message: String
|
1717
|
+
|
1718
|
+
attr_accessor :Message
|
1719
|
+
|
1720
|
+
def initialize(message=nil)
|
1721
|
+
@Message = message
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
def deserialize(params)
|
1725
|
+
@Message = params['Message']
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
|
1680
1729
|
# 订阅实例信息
|
1681
1730
|
class SubscribeInfo < TencentCloud::Common::AbstractModel
|
1682
1731
|
# @param SubscribeId: 数据订阅的实例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: 1.0.
|
4
|
+
version: 1.0.304
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|