tencentcloud-sdk-dts 3.0.478 → 3.0.480
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 +112 -41
- 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: f9884d70a103b5f1426960be18931f588d31f7a5
|
|
4
|
+
data.tar.gz: 7ca40a720cbe40e47d9c2cb57b3d5db2c2088f73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c22016e3e1740479b82a0a972e77687d9bd94f96f10beee307aba6e6eeec59f06c1db24247cf93b457f4e9b60fbebcc34090ecc77a1823228d79d1e06f1466c6
|
|
7
|
+
data.tar.gz: 4874d9aa7a1640f793804fb70728e948ea819981592beb7b7e94f0b7e9c03830f30f0891d5743fa203b8904f9e4e5a833af77c6c2285fe57b8ffa83c4cbec13c
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.480
|
data/lib/v20211206/models.rb
CHANGED
|
@@ -440,50 +440,48 @@ module TencentCloud
|
|
|
440
440
|
# @type JobId: String
|
|
441
441
|
# @param SrcAccessType: 源端接入类型,cdb(云数据库)、cvm(云主机自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)、noProxy,注意具体可选值依赖当前链路
|
|
442
442
|
# @type SrcAccessType: String
|
|
443
|
-
# @param SrcInfo: 源端信息
|
|
444
|
-
# @type SrcInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
445
443
|
# @param DstAccessType: 目标端接入类型,cdb(云数据库)、cvm(云主机自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)、noProxy,注意具体可选值依赖当前链路
|
|
446
444
|
# @type DstAccessType: String
|
|
447
|
-
# @param DstInfo: 目标端信息
|
|
448
|
-
# @type DstInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
449
445
|
# @param Options: 同步任务选项
|
|
450
446
|
# @type Options: :class:`Tencentcloud::Dts.v20211206.models.Options`
|
|
451
447
|
# @param Objects: 同步库表对象信息
|
|
452
448
|
# @type Objects: :class:`Tencentcloud::Dts.v20211206.models.Objects`
|
|
453
449
|
# @param JobName: 同步任务名称
|
|
454
450
|
# @type JobName: String
|
|
451
|
+
# @param JobMode: 枚举值是 liteMode 和 fullMode ,分别对应精简模式或正常模式
|
|
452
|
+
# @type JobMode: String
|
|
455
453
|
# @param RunMode: 运行模式,取值如:Immediate(表示立即运行,默认为此项值)、Timed(表示定时运行)
|
|
456
454
|
# @type RunMode: String
|
|
457
455
|
# @param ExpectRunTime: 期待启动时间,当RunMode取值为Timed时,此值必填,形如:"2006-01-02 15:04:05"
|
|
458
456
|
# @type ExpectRunTime: String
|
|
457
|
+
# @param SrcInfo: 源端信息,单节点数据库使用
|
|
458
|
+
# @type SrcInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
459
|
+
# @param DstInfo: 目标端信息,单节点数据库使用
|
|
460
|
+
# @type DstInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
461
|
+
# @param AutoRetryTimeRangeMinutes: 自动重试的时间段、可设置5至720分钟、0表示不重试
|
|
462
|
+
# @type AutoRetryTimeRangeMinutes: Integer
|
|
459
463
|
|
|
460
|
-
attr_accessor :JobId, :SrcAccessType, :
|
|
464
|
+
attr_accessor :JobId, :SrcAccessType, :DstAccessType, :Options, :Objects, :JobName, :JobMode, :RunMode, :ExpectRunTime, :SrcInfo, :DstInfo, :AutoRetryTimeRangeMinutes
|
|
461
465
|
|
|
462
|
-
def initialize(jobid=nil, srcaccesstype=nil,
|
|
466
|
+
def initialize(jobid=nil, srcaccesstype=nil, dstaccesstype=nil, options=nil, objects=nil, jobname=nil, jobmode=nil, runmode=nil, expectruntime=nil, srcinfo=nil, dstinfo=nil, autoretrytimerangeminutes=nil)
|
|
463
467
|
@JobId = jobid
|
|
464
468
|
@SrcAccessType = srcaccesstype
|
|
465
|
-
@SrcInfo = srcinfo
|
|
466
469
|
@DstAccessType = dstaccesstype
|
|
467
|
-
@DstInfo = dstinfo
|
|
468
470
|
@Options = options
|
|
469
471
|
@Objects = objects
|
|
470
472
|
@JobName = jobname
|
|
473
|
+
@JobMode = jobmode
|
|
471
474
|
@RunMode = runmode
|
|
472
475
|
@ExpectRunTime = expectruntime
|
|
476
|
+
@SrcInfo = srcinfo
|
|
477
|
+
@DstInfo = dstinfo
|
|
478
|
+
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
|
473
479
|
end
|
|
474
480
|
|
|
475
481
|
def deserialize(params)
|
|
476
482
|
@JobId = params['JobId']
|
|
477
483
|
@SrcAccessType = params['SrcAccessType']
|
|
478
|
-
unless params['SrcInfo'].nil?
|
|
479
|
-
@SrcInfo = Endpoint.new
|
|
480
|
-
@SrcInfo.deserialize(params['SrcInfo'])
|
|
481
|
-
end
|
|
482
484
|
@DstAccessType = params['DstAccessType']
|
|
483
|
-
unless params['DstInfo'].nil?
|
|
484
|
-
@DstInfo = Endpoint.new
|
|
485
|
-
@DstInfo.deserialize(params['DstInfo'])
|
|
486
|
-
end
|
|
487
485
|
unless params['Options'].nil?
|
|
488
486
|
@Options = Options.new
|
|
489
487
|
@Options.deserialize(params['Options'])
|
|
@@ -493,8 +491,18 @@ module TencentCloud
|
|
|
493
491
|
@Objects.deserialize(params['Objects'])
|
|
494
492
|
end
|
|
495
493
|
@JobName = params['JobName']
|
|
494
|
+
@JobMode = params['JobMode']
|
|
496
495
|
@RunMode = params['RunMode']
|
|
497
496
|
@ExpectRunTime = params['ExpectRunTime']
|
|
497
|
+
unless params['SrcInfo'].nil?
|
|
498
|
+
@SrcInfo = Endpoint.new
|
|
499
|
+
@SrcInfo.deserialize(params['SrcInfo'])
|
|
500
|
+
end
|
|
501
|
+
unless params['DstInfo'].nil?
|
|
502
|
+
@DstInfo = Endpoint.new
|
|
503
|
+
@DstInfo.deserialize(params['DstInfo'])
|
|
504
|
+
end
|
|
505
|
+
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
|
498
506
|
end
|
|
499
507
|
end
|
|
500
508
|
|
|
@@ -1007,7 +1015,7 @@ module TencentCloud
|
|
|
1007
1015
|
end
|
|
1008
1016
|
end
|
|
1009
1017
|
|
|
1010
|
-
#
|
|
1018
|
+
# 迁移对象信息,在配置库表视图等对象信息时大小写敏感
|
|
1011
1019
|
class DBItem < TencentCloud::Common::AbstractModel
|
|
1012
1020
|
# @param DbName: 需要迁移或同步的库名,当ObjectMode为partial时,此项必填
|
|
1013
1021
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -1181,10 +1189,22 @@ module TencentCloud
|
|
|
1181
1189
|
# @param Procedures: ProcedureMode取值为Partial时需要填写
|
|
1182
1190
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1183
1191
|
# @type Procedures: Array
|
|
1192
|
+
# @param TriggerMode: 触发器迁移模式,all(为当前对象下的所有对象),partial(部分对象)
|
|
1193
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1194
|
+
# @type TriggerMode: String
|
|
1195
|
+
# @param Triggers: 当TriggerMode为partial,指定要迁移的触发器名称
|
|
1196
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1197
|
+
# @type Triggers: Array
|
|
1198
|
+
# @param EventMode: 事件迁移模式,all(为当前对象下的所有对象),partial(部分对象)
|
|
1199
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1200
|
+
# @type EventMode: String
|
|
1201
|
+
# @param Events: 当EventMode为partial,指定要迁移的事件名称
|
|
1202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
# @type Events: Array
|
|
1184
1204
|
|
|
1185
|
-
attr_accessor :DbName, :NewDbName, :DbMode, :SchemaName, :NewSchemaName, :TableMode, :Tables, :ViewMode, :Views, :FunctionMode, :Functions, :ProcedureMode, :Procedures
|
|
1205
|
+
attr_accessor :DbName, :NewDbName, :DbMode, :SchemaName, :NewSchemaName, :TableMode, :Tables, :ViewMode, :Views, :FunctionMode, :Functions, :ProcedureMode, :Procedures, :TriggerMode, :Triggers, :EventMode, :Events
|
|
1186
1206
|
|
|
1187
|
-
def initialize(dbname=nil, newdbname=nil, dbmode=nil, schemaname=nil, newschemaname=nil, tablemode=nil, tables=nil, viewmode=nil, views=nil, functionmode=nil, functions=nil, proceduremode=nil, procedures=nil)
|
|
1207
|
+
def initialize(dbname=nil, newdbname=nil, dbmode=nil, schemaname=nil, newschemaname=nil, tablemode=nil, tables=nil, viewmode=nil, views=nil, functionmode=nil, functions=nil, proceduremode=nil, procedures=nil, triggermode=nil, triggers=nil, eventmode=nil, events=nil)
|
|
1188
1208
|
@DbName = dbname
|
|
1189
1209
|
@NewDbName = newdbname
|
|
1190
1210
|
@DbMode = dbmode
|
|
@@ -1198,6 +1218,10 @@ module TencentCloud
|
|
|
1198
1218
|
@Functions = functions
|
|
1199
1219
|
@ProcedureMode = proceduremode
|
|
1200
1220
|
@Procedures = procedures
|
|
1221
|
+
@TriggerMode = triggermode
|
|
1222
|
+
@Triggers = triggers
|
|
1223
|
+
@EventMode = eventmode
|
|
1224
|
+
@Events = events
|
|
1201
1225
|
end
|
|
1202
1226
|
|
|
1203
1227
|
def deserialize(params)
|
|
@@ -1228,6 +1252,10 @@ module TencentCloud
|
|
|
1228
1252
|
@Functions = params['Functions']
|
|
1229
1253
|
@ProcedureMode = params['ProcedureMode']
|
|
1230
1254
|
@Procedures = params['Procedures']
|
|
1255
|
+
@TriggerMode = params['TriggerMode']
|
|
1256
|
+
@Triggers = params['Triggers']
|
|
1257
|
+
@EventMode = params['EventMode']
|
|
1258
|
+
@Events = params['Events']
|
|
1231
1259
|
end
|
|
1232
1260
|
end
|
|
1233
1261
|
|
|
@@ -2265,6 +2293,9 @@ module TencentCloud
|
|
|
2265
2293
|
# @param Region: 地域英文名,如:ap-guangzhou
|
|
2266
2294
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2267
2295
|
# @type Region: String
|
|
2296
|
+
# @param Role: tdsql mysql版的节点类型,枚举值为proxy、set
|
|
2297
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2298
|
+
# @type Role: String
|
|
2268
2299
|
# @param DbKernel: 数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql
|
|
2269
2300
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2270
2301
|
# @type DbKernel: String
|
|
@@ -2310,15 +2341,18 @@ module TencentCloud
|
|
|
2310
2341
|
# @param EngineVersion: 数据库版本,当实例为RDS实例时才有效,其他实例忽略,格式如:5.6或者5.7,默认为5.6
|
|
2311
2342
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2312
2343
|
# @type EngineVersion: String
|
|
2313
|
-
# @param AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示跨账号资源)
|
|
2314
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2315
|
-
# @type AccountMode: String
|
|
2316
2344
|
# @param Account: 实例所属账号,如果为跨账号实例此项必填
|
|
2317
2345
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2318
2346
|
# @type Account: String
|
|
2347
|
+
# @param AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示跨账号资源)
|
|
2348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2349
|
+
# @type AccountMode: String
|
|
2319
2350
|
# @param AccountRole: 跨账号同步时的角色,只允许[a-zA-Z0-9\-\_]+,如果为跨账号实例此项必填
|
|
2320
2351
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2321
2352
|
# @type AccountRole: String
|
|
2353
|
+
# @param RoleExternalId: 外部角色id
|
|
2354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2355
|
+
# @type RoleExternalId: String
|
|
2322
2356
|
# @param TmpSecretId: 临时密钥Id,如果为跨账号实例此项必填
|
|
2323
2357
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2324
2358
|
# @type TmpSecretId: String
|
|
@@ -2328,14 +2362,15 @@ module TencentCloud
|
|
|
2328
2362
|
# @param TmpToken: 临时Token,如果为跨账号实例此项必填
|
|
2329
2363
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2330
2364
|
# @type TmpToken: String
|
|
2331
|
-
# @param
|
|
2365
|
+
# @param EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
|
2332
2366
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2333
|
-
# @type
|
|
2367
|
+
# @type EncryptConn: String
|
|
2334
2368
|
|
|
2335
|
-
attr_accessor :Region, :DbKernel, :InstanceId, :Ip, :Port, :User, :Password, :DbName, :VpcId, :SubnetId, :CvmInstanceId, :UniqDcgId, :UniqVpnGwId, :CcnId, :Supplier, :EngineVersion, :
|
|
2369
|
+
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
|
|
2336
2370
|
|
|
2337
|
-
def initialize(region=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,
|
|
2371
|
+
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)
|
|
2338
2372
|
@Region = region
|
|
2373
|
+
@Role = role
|
|
2339
2374
|
@DbKernel = dbkernel
|
|
2340
2375
|
@InstanceId = instanceid
|
|
2341
2376
|
@Ip = ip
|
|
@@ -2351,17 +2386,19 @@ module TencentCloud
|
|
|
2351
2386
|
@CcnId = ccnid
|
|
2352
2387
|
@Supplier = supplier
|
|
2353
2388
|
@EngineVersion = engineversion
|
|
2354
|
-
@AccountMode = accountmode
|
|
2355
2389
|
@Account = account
|
|
2390
|
+
@AccountMode = accountmode
|
|
2356
2391
|
@AccountRole = accountrole
|
|
2392
|
+
@RoleExternalId = roleexternalid
|
|
2357
2393
|
@TmpSecretId = tmpsecretid
|
|
2358
2394
|
@TmpSecretKey = tmpsecretkey
|
|
2359
2395
|
@TmpToken = tmptoken
|
|
2360
|
-
@
|
|
2396
|
+
@EncryptConn = encryptconn
|
|
2361
2397
|
end
|
|
2362
2398
|
|
|
2363
2399
|
def deserialize(params)
|
|
2364
2400
|
@Region = params['Region']
|
|
2401
|
+
@Role = params['Role']
|
|
2365
2402
|
@DbKernel = params['DbKernel']
|
|
2366
2403
|
@InstanceId = params['InstanceId']
|
|
2367
2404
|
@Ip = params['Ip']
|
|
@@ -2377,13 +2414,14 @@ module TencentCloud
|
|
|
2377
2414
|
@CcnId = params['CcnId']
|
|
2378
2415
|
@Supplier = params['Supplier']
|
|
2379
2416
|
@EngineVersion = params['EngineVersion']
|
|
2380
|
-
@AccountMode = params['AccountMode']
|
|
2381
2417
|
@Account = params['Account']
|
|
2418
|
+
@AccountMode = params['AccountMode']
|
|
2382
2419
|
@AccountRole = params['AccountRole']
|
|
2420
|
+
@RoleExternalId = params['RoleExternalId']
|
|
2383
2421
|
@TmpSecretId = params['TmpSecretId']
|
|
2384
2422
|
@TmpSecretKey = params['TmpSecretKey']
|
|
2385
2423
|
@TmpToken = params['TmpToken']
|
|
2386
|
-
@
|
|
2424
|
+
@EncryptConn = params['EncryptConn']
|
|
2387
2425
|
end
|
|
2388
2426
|
end
|
|
2389
2427
|
|
|
@@ -2536,10 +2574,13 @@ module TencentCloud
|
|
|
2536
2574
|
# @param Tags: 标签信息
|
|
2537
2575
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2538
2576
|
# @type Tags: Array
|
|
2577
|
+
# @param AutoRetryTimeRangeMinutes: 自动重试时间段信息
|
|
2578
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
2579
|
+
# @type AutoRetryTimeRangeMinutes: Integer
|
|
2539
2580
|
|
|
2540
|
-
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :RunMode, :ExpectRunTime, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :TradeInfo, :Tags
|
|
2581
|
+
attr_accessor :JobId, :JobName, :CreateTime, :UpdateTime, :StartTime, :EndTime, :BriefMsg, :Status, :RunMode, :ExpectRunTime, :Action, :StepInfo, :SrcInfo, :DstInfo, :CompareTask, :TradeInfo, :Tags, :AutoRetryTimeRangeMinutes
|
|
2541
2582
|
|
|
2542
|
-
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)
|
|
2583
|
+
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)
|
|
2543
2584
|
@JobId = jobid
|
|
2544
2585
|
@JobName = jobname
|
|
2545
2586
|
@CreateTime = createtime
|
|
@@ -2557,6 +2598,7 @@ module TencentCloud
|
|
|
2557
2598
|
@CompareTask = comparetask
|
|
2558
2599
|
@TradeInfo = tradeinfo
|
|
2559
2600
|
@Tags = tags
|
|
2601
|
+
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
|
2560
2602
|
end
|
|
2561
2603
|
|
|
2562
2604
|
def deserialize(params)
|
|
@@ -2602,6 +2644,7 @@ module TencentCloud
|
|
|
2602
2644
|
@Tags << tagitem_tmp
|
|
2603
2645
|
end
|
|
2604
2646
|
end
|
|
2647
|
+
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
|
2605
2648
|
end
|
|
2606
2649
|
end
|
|
2607
2650
|
|
|
@@ -2971,10 +3014,12 @@ module TencentCloud
|
|
|
2971
3014
|
# @type ExpectRunTime: String
|
|
2972
3015
|
# @param Tags: 标签信息
|
|
2973
3016
|
# @type Tags: Array
|
|
3017
|
+
# @param AutoRetryTimeRangeMinutes: 自动重试的时间段、可设置5至720分钟、0表示不重试
|
|
3018
|
+
# @type AutoRetryTimeRangeMinutes: Integer
|
|
2974
3019
|
|
|
2975
|
-
attr_accessor :JobId, :RunMode, :MigrateOption, :SrcInfo, :DstInfo, :JobName, :ExpectRunTime, :Tags
|
|
3020
|
+
attr_accessor :JobId, :RunMode, :MigrateOption, :SrcInfo, :DstInfo, :JobName, :ExpectRunTime, :Tags, :AutoRetryTimeRangeMinutes
|
|
2976
3021
|
|
|
2977
|
-
def initialize(jobid=nil, runmode=nil, migrateoption=nil, srcinfo=nil, dstinfo=nil, jobname=nil, expectruntime=nil, tags=nil)
|
|
3022
|
+
def initialize(jobid=nil, runmode=nil, migrateoption=nil, srcinfo=nil, dstinfo=nil, jobname=nil, expectruntime=nil, tags=nil, autoretrytimerangeminutes=nil)
|
|
2978
3023
|
@JobId = jobid
|
|
2979
3024
|
@RunMode = runmode
|
|
2980
3025
|
@MigrateOption = migrateoption
|
|
@@ -2983,6 +3028,7 @@ module TencentCloud
|
|
|
2983
3028
|
@JobName = jobname
|
|
2984
3029
|
@ExpectRunTime = expectruntime
|
|
2985
3030
|
@Tags = tags
|
|
3031
|
+
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
|
2986
3032
|
end
|
|
2987
3033
|
|
|
2988
3034
|
def deserialize(params)
|
|
@@ -3010,6 +3056,7 @@ module TencentCloud
|
|
|
3010
3056
|
@Tags << tagitem_tmp
|
|
3011
3057
|
end
|
|
3012
3058
|
end
|
|
3059
|
+
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
|
3013
3060
|
end
|
|
3014
3061
|
end
|
|
3015
3062
|
|
|
@@ -3040,13 +3087,17 @@ module TencentCloud
|
|
|
3040
3087
|
# @param AdvancedObjects: 高级对象类型,如function、procedure,当需要同步高级对象时,初始化类型必须包含结构初始化类型,即Options.InitType字段值为Structure或Full
|
|
3041
3088
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3042
3089
|
# @type AdvancedObjects: Array
|
|
3090
|
+
# @param OnlineDDL: OnlineDDL类型
|
|
3091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3092
|
+
# @type OnlineDDL: :class:`Tencentcloud::Dts.v20211206.models.OnlineDDL`
|
|
3043
3093
|
|
|
3044
|
-
attr_accessor :Mode, :Databases, :AdvancedObjects
|
|
3094
|
+
attr_accessor :Mode, :Databases, :AdvancedObjects, :OnlineDDL
|
|
3045
3095
|
|
|
3046
|
-
def initialize(mode=nil, databases=nil, advancedobjects=nil)
|
|
3096
|
+
def initialize(mode=nil, databases=nil, advancedobjects=nil, onlineddl=nil)
|
|
3047
3097
|
@Mode = mode
|
|
3048
3098
|
@Databases = databases
|
|
3049
3099
|
@AdvancedObjects = advancedobjects
|
|
3100
|
+
@OnlineDDL = onlineddl
|
|
3050
3101
|
end
|
|
3051
3102
|
|
|
3052
3103
|
def deserialize(params)
|
|
@@ -3060,6 +3111,21 @@ module TencentCloud
|
|
|
3060
3111
|
end
|
|
3061
3112
|
end
|
|
3062
3113
|
@AdvancedObjects = params['AdvancedObjects']
|
|
3114
|
+
unless params['OnlineDDL'].nil?
|
|
3115
|
+
@OnlineDDL = OnlineDDL.new
|
|
3116
|
+
@OnlineDDL.deserialize(params['OnlineDDL'])
|
|
3117
|
+
end
|
|
3118
|
+
end
|
|
3119
|
+
end
|
|
3120
|
+
|
|
3121
|
+
# OnlineDDL类型
|
|
3122
|
+
class OnlineDDL < TencentCloud::Common::AbstractModel
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
def initialize()
|
|
3126
|
+
end
|
|
3127
|
+
|
|
3128
|
+
def deserialize(params)
|
|
3063
3129
|
end
|
|
3064
3130
|
end
|
|
3065
3131
|
|
|
@@ -3991,7 +4057,7 @@ module TencentCloud
|
|
|
3991
4057
|
# @param SrcAccessType: 源端接入类型,cdb(云数据库)、cvm(云主机自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)
|
|
3992
4058
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3993
4059
|
# @type SrcAccessType: String
|
|
3994
|
-
# @param SrcInfo:
|
|
4060
|
+
# @param SrcInfo: 源端信息,单节点数据库使用
|
|
3995
4061
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3996
4062
|
# @type SrcInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
3997
4063
|
# @param DstRegion: 目标端地域,如:ap-guangzhou等
|
|
@@ -4003,7 +4069,7 @@ module TencentCloud
|
|
|
4003
4069
|
# @param DstAccessType: 目标端接入类型,cdb(云数据库)、cvm(云主机自建)、vpc(私有网络)、extranet(外网)、vpncloud(vpn接入)、dcg(专线接入)、ccn(云联网)、intranet(自研上云)
|
|
4004
4070
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4005
4071
|
# @type DstAccessType: String
|
|
4006
|
-
# @param DstInfo:
|
|
4072
|
+
# @param DstInfo: 目标端信息,单节点数据库使用
|
|
4007
4073
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4008
4074
|
# @type DstInfo: :class:`Tencentcloud::Dts.v20211206.models.Endpoint`
|
|
4009
4075
|
# @param CreateTime: 创建时间,格式为 yyyy-mm-dd hh:mm:ss
|
|
@@ -4036,10 +4102,13 @@ module TencentCloud
|
|
|
4036
4102
|
# @param OfflineTime: 下线时间,格式为 yyyy-mm-dd hh:mm:ss
|
|
4037
4103
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4038
4104
|
# @type OfflineTime: String
|
|
4105
|
+
# @param AutoRetryTimeRangeMinutes: 自动重试时间段设置
|
|
4106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4107
|
+
# @type AutoRetryTimeRangeMinutes: Integer
|
|
4039
4108
|
|
|
4040
|
-
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
|
|
4109
|
+
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
|
|
4041
4110
|
|
|
4042
|
-
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)
|
|
4111
|
+
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)
|
|
4043
4112
|
@JobId = jobid
|
|
4044
4113
|
@JobName = jobname
|
|
4045
4114
|
@PayMode = paymode
|
|
@@ -4069,6 +4138,7 @@ module TencentCloud
|
|
|
4069
4138
|
@InstanceClass = instanceclass
|
|
4070
4139
|
@AutoRenew = autorenew
|
|
4071
4140
|
@OfflineTime = offlinetime
|
|
4141
|
+
@AutoRetryTimeRangeMinutes = autoretrytimerangeminutes
|
|
4072
4142
|
end
|
|
4073
4143
|
|
|
4074
4144
|
def deserialize(params)
|
|
@@ -4123,6 +4193,7 @@ module TencentCloud
|
|
|
4123
4193
|
@InstanceClass = params['InstanceClass']
|
|
4124
4194
|
@AutoRenew = params['AutoRenew']
|
|
4125
4195
|
@OfflineTime = params['OfflineTime']
|
|
4196
|
+
@AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes']
|
|
4126
4197
|
end
|
|
4127
4198
|
end
|
|
4128
4199
|
|
|
@@ -4155,7 +4226,7 @@ module TencentCloud
|
|
|
4155
4226
|
|
|
4156
4227
|
# 表对象集合,当 TableMode 为 partial 时,此项需要填写
|
|
4157
4228
|
class TableItem < TencentCloud::Common::AbstractModel
|
|
4158
|
-
# @param TableName:
|
|
4229
|
+
# @param TableName: 迁移的表名,大小写敏感
|
|
4159
4230
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4160
4231
|
# @type TableName: String
|
|
4161
4232
|
# @param NewTableName: 迁移后的表名,当TableEditMode为rename时此项必填
|
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.480
|
|
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-12-
|
|
11
|
+
date: 2022-12-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|