tencentcloud-sdk-dts 1.0.302 → 1.0.303
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/models.rb +34 -4
- 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: 9eb9e68bacfb5c86a3d9a25851a9d0df692fd7ff
|
4
|
+
data.tar.gz: 3f914fb01722060dbb4de6799e42083db56d95a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 287a1e79f0f8d9a9b8a0b3d35ae615bc5eafa0c3511fbe7e3f7154dc0d021392e7a786b511825dbbda14f6abda4728387dda36ab7157420287fdb4c9725d8129
|
7
|
+
data.tar.gz: 02b8861f07233c9ed52ea1d0f648d959354e3450136c1f2fb215532baacdcaddd63e721c8277e835f781ed9dea5cf44a547cde7a433b99400ae6a363320c5dc1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.303
|
data/lib/v20180330/models.rb
CHANGED
@@ -194,10 +194,14 @@ module TencentCloud
|
|
194
194
|
# @type DatabaseInfo: String
|
195
195
|
# @param Tags: 迁移实例的tag
|
196
196
|
# @type Tags: Array
|
197
|
+
# @param SrcNodeType: 源实例类型: ""或者"simple":主从节点,"cluster": 集群节点
|
198
|
+
# @type SrcNodeType: String
|
199
|
+
# @param SrcInfoMulti: 源实例信息,具体内容跟迁移任务类型相关
|
200
|
+
# @type SrcInfoMulti: Array
|
197
201
|
|
198
|
-
attr_accessor :JobName, :MigrateOption, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :DstDatabaseType, :DstAccessType, :DstInfo, :DatabaseInfo, :Tags
|
202
|
+
attr_accessor :JobName, :MigrateOption, :SrcDatabaseType, :SrcAccessType, :SrcInfo, :DstDatabaseType, :DstAccessType, :DstInfo, :DatabaseInfo, :Tags, :SrcNodeType, :SrcInfoMulti
|
199
203
|
|
200
|
-
def initialize(jobname=nil, migrateoption=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil, tags=nil)
|
204
|
+
def initialize(jobname=nil, migrateoption=nil, srcdatabasetype=nil, srcaccesstype=nil, srcinfo=nil, dstdatabasetype=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil, tags=nil, srcnodetype=nil, srcinfomulti=nil)
|
201
205
|
@JobName = jobname
|
202
206
|
@MigrateOption = migrateoption
|
203
207
|
@SrcDatabaseType = srcdatabasetype
|
@@ -208,6 +212,8 @@ module TencentCloud
|
|
208
212
|
@DstInfo = dstinfo
|
209
213
|
@DatabaseInfo = databaseinfo
|
210
214
|
@Tags = tags
|
215
|
+
@SrcNodeType = srcnodetype
|
216
|
+
@SrcInfoMulti = srcinfomulti
|
211
217
|
end
|
212
218
|
|
213
219
|
def deserialize(params)
|
@@ -237,6 +243,15 @@ module TencentCloud
|
|
237
243
|
@Tags << tagitem_tmp
|
238
244
|
end
|
239
245
|
end
|
246
|
+
@SrcNodeType = params['SrcNodeType']
|
247
|
+
unless params['SrcInfoMulti'].nil?
|
248
|
+
@SrcInfoMulti = []
|
249
|
+
params['SrcInfoMulti'].each do |i|
|
250
|
+
srcinfo_tmp = SrcInfo.new
|
251
|
+
srcinfo_tmp.deserialize(i)
|
252
|
+
@SrcInfoMulti << srcinfo_tmp
|
253
|
+
end
|
254
|
+
end
|
240
255
|
end
|
241
256
|
end
|
242
257
|
|
@@ -1188,10 +1203,14 @@ module TencentCloud
|
|
1188
1203
|
|
1189
1204
|
# 如果是'整个实例'的迁移模式,不需设置该字段
|
1190
1205
|
# @type DatabaseInfo: String
|
1206
|
+
# @param SrcNodeType: 源实例类型: ""或者"simple":主从节点,"cluster": 集群节点
|
1207
|
+
# @type SrcNodeType: String
|
1208
|
+
# @param SrcInfoMulti: 源实例信息,具体内容跟迁移任务类型相关
|
1209
|
+
# @type SrcInfoMulti: Array
|
1191
1210
|
|
1192
|
-
attr_accessor :JobId, :JobName, :MigrateOption, :SrcAccessType, :SrcInfo, :DstAccessType, :DstInfo, :DatabaseInfo
|
1211
|
+
attr_accessor :JobId, :JobName, :MigrateOption, :SrcAccessType, :SrcInfo, :DstAccessType, :DstInfo, :DatabaseInfo, :SrcNodeType, :SrcInfoMulti
|
1193
1212
|
|
1194
|
-
def initialize(jobid=nil, jobname=nil, migrateoption=nil, srcaccesstype=nil, srcinfo=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil)
|
1213
|
+
def initialize(jobid=nil, jobname=nil, migrateoption=nil, srcaccesstype=nil, srcinfo=nil, dstaccesstype=nil, dstinfo=nil, databaseinfo=nil, srcnodetype=nil, srcinfomulti=nil)
|
1195
1214
|
@JobId = jobid
|
1196
1215
|
@JobName = jobname
|
1197
1216
|
@MigrateOption = migrateoption
|
@@ -1200,6 +1219,8 @@ module TencentCloud
|
|
1200
1219
|
@DstAccessType = dstaccesstype
|
1201
1220
|
@DstInfo = dstinfo
|
1202
1221
|
@DatabaseInfo = databaseinfo
|
1222
|
+
@SrcNodeType = srcnodetype
|
1223
|
+
@SrcInfoMulti = srcinfomulti
|
1203
1224
|
end
|
1204
1225
|
|
1205
1226
|
def deserialize(params)
|
@@ -1220,6 +1241,15 @@ module TencentCloud
|
|
1220
1241
|
@DstInfo.deserialize(params['DstInfo'])
|
1221
1242
|
end
|
1222
1243
|
@DatabaseInfo = params['DatabaseInfo']
|
1244
|
+
@SrcNodeType = params['SrcNodeType']
|
1245
|
+
unless params['SrcInfoMulti'].nil?
|
1246
|
+
@SrcInfoMulti = []
|
1247
|
+
params['SrcInfoMulti'].each do |i|
|
1248
|
+
srcinfo_tmp = SrcInfo.new
|
1249
|
+
srcinfo_tmp.deserialize(i)
|
1250
|
+
@SrcInfoMulti << srcinfo_tmp
|
1251
|
+
end
|
1252
|
+
end
|
1223
1253
|
end
|
1224
1254
|
end
|
1225
1255
|
|
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.303
|
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-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|