tencentcloud-sdk-dts 3.0.1016 → 3.0.1017
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/v20180330/models.rb +0 -8
- data/lib/v20211206/models.rb +0 -236
- 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: 5290b1e0e74a764039b137e6aecaf1197d5fda26
|
4
|
+
data.tar.gz: 1439274085bb653ab45d0c45d6b2a7eb2cd2e5f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7aacc1695673ffb6409de54d57d1dbe8a5d7a53a54191e5b5feaa4f2e770d9e832e3313d0decda757b014d965a704e4791002ddee22a552991681175635ef8a
|
7
|
+
data.tar.gz: 376f46f654f9148be5ee7682c0341879f8cf874fce661f3b1f5f67ba2654092ad339562f2a751f7fafe2ef8599c109d85faa77d781122a9467f2c65c225fae0f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1017
|
data/lib/v20180330/models.rb
CHANGED
@@ -1146,7 +1146,6 @@ module TencentCloud
|
|
1146
1146
|
# @param Status: 步骤状态:0-默认值,1-成功,2-失败,3-执行中,4-未执行
|
1147
1147
|
# @type Status: Integer
|
1148
1148
|
# @param StartTime: 当前步骤开始的时间,格式为"yyyy-mm-dd hh:mm:ss",该字段不存在或者为空是无意义
|
1149
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1150
1149
|
# @type StartTime: String
|
1151
1150
|
|
1152
1151
|
attr_accessor :StepNo, :StepName, :StepId, :Status, :StartTime
|
@@ -1670,7 +1669,6 @@ module TencentCloud
|
|
1670
1669
|
# 查询订阅配置的错误信息
|
1671
1670
|
class SubsErr < TencentCloud::Common::AbstractModel
|
1672
1671
|
# @param Message: 错误信息
|
1673
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1674
1672
|
# @type Message: String
|
1675
1673
|
|
1676
1674
|
attr_accessor :Message
|
@@ -1713,7 +1711,6 @@ module TencentCloud
|
|
1713
1711
|
# @param ConsumeStartTime: 最近一次修改的消费时间起点,如果从未修改则为零值
|
1714
1712
|
# @type ConsumeStartTime: String
|
1715
1713
|
# @param AutoRenewFlag: 自动续费标识。只有当 PayType=0,该值才有意义。枚举值:0-不自动续费,1-自动续费
|
1716
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1717
1714
|
# @type AutoRenewFlag: Integer
|
1718
1715
|
# @param Region: 数据订阅实例所属地域
|
1719
1716
|
# @type Region: String
|
@@ -1735,7 +1732,6 @@ module TencentCloud
|
|
1735
1732
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1736
1733
|
# @type Tags: Array
|
1737
1734
|
# @param SubscribeVersion: 订阅实例版本;txdts-旧版数据订阅,kafka-kafka版本数据订阅
|
1738
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1739
1735
|
# @type SubscribeVersion: String
|
1740
1736
|
|
1741
1737
|
attr_accessor :SubscribeId, :SubscribeName, :ChannelId, :Product, :InstanceId, :InstanceStatus, :SubsStatus, :ModifyTime, :CreateTime, :IsolateTime, :ExpireTime, :OfflineTime, :ConsumeStartTime, :AutoRenewFlag, :Region, :PayType, :Vip, :Vport, :UniqVpcId, :UniqSubnetId, :Status, :SdkConsumedTime, :Tags, :SubscribeVersion
|
@@ -1805,13 +1801,10 @@ module TencentCloud
|
|
1805
1801
|
# 数据订阅的对象
|
1806
1802
|
class SubscribeObject < TencentCloud::Common::AbstractModel
|
1807
1803
|
# @param ObjectsType: 数据订阅对象的类型,0-数据库,1-数据库内的表
|
1808
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1809
1804
|
# @type ObjectsType: Integer
|
1810
1805
|
# @param DatabaseName: 订阅数据库的名称
|
1811
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1812
1806
|
# @type DatabaseName: String
|
1813
1807
|
# @param TableNames: 订阅数据库中表名称数组
|
1814
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1815
1808
|
# @type TableNames: Array
|
1816
1809
|
|
1817
1810
|
attr_accessor :ObjectsType, :DatabaseName, :TableNames
|
@@ -1854,7 +1847,6 @@ module TencentCloud
|
|
1854
1847
|
# @param TagKey: 标签键值
|
1855
1848
|
# @type TagKey: String
|
1856
1849
|
# @param TagValue: 标签值
|
1857
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1858
1850
|
# @type TagValue: String
|
1859
1851
|
|
1860
1852
|
attr_accessor :TagKey, :TagValue
|
data/lib/v20211206/models.rb
CHANGED
@@ -111,13 +111,10 @@ module TencentCloud
|
|
111
111
|
# 校验任务运行详情
|
112
112
|
class CheckStepInfo < TencentCloud::Common::AbstractModel
|
113
113
|
# @param StartAt: 任务开始时间
|
114
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
115
114
|
# @type StartAt: String
|
116
115
|
# @param EndAt: 任务结束时间
|
117
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
118
116
|
# @type EndAt: String
|
119
117
|
# @param Progress: 任务步骤信息
|
120
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
121
118
|
# @type Progress: :class:`Tencentcloud::Dts.v20211206.models.ProcessProgress`
|
122
119
|
|
123
120
|
attr_accessor :StartAt, :EndAt, :Progress
|
@@ -251,7 +248,6 @@ module TencentCloud
|
|
251
248
|
# 列选项
|
252
249
|
class CompareColumnItem < TencentCloud::Common::AbstractModel
|
253
250
|
# @param ColumnName: 列名
|
254
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
255
251
|
# @type ColumnName: String
|
256
252
|
|
257
253
|
attr_accessor :ColumnName
|
@@ -320,13 +316,10 @@ module TencentCloud
|
|
320
316
|
# 一致性对比对象配置
|
321
317
|
class CompareObject < TencentCloud::Common::AbstractModel
|
322
318
|
# @param ObjectMode: 对象模式 整实例-all,部分对象-partial
|
323
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
324
319
|
# @type ObjectMode: String
|
325
320
|
# @param ObjectItems: 对象列表
|
326
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
327
321
|
# @type ObjectItems: Array
|
328
322
|
# @param AdvancedObjects: 高级对象类型,目前只支持mongodb链路。如index(索引),shardkey(片键),schema(库表)
|
329
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
330
323
|
# @type AdvancedObjects: Array
|
331
324
|
|
332
325
|
attr_accessor :ObjectMode, :ObjectItems, :AdvancedObjects
|
@@ -354,22 +347,16 @@ module TencentCloud
|
|
354
347
|
# 一致性校验库表对象
|
355
348
|
class CompareObjectItem < TencentCloud::Common::AbstractModel
|
356
349
|
# @param DbName: 数据库名
|
357
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
358
350
|
# @type DbName: String
|
359
351
|
# @param DbMode: 数据库选择模式: all 为当前对象下的所有对象,partial 为部分对象
|
360
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
361
352
|
# @type DbMode: String
|
362
353
|
# @param SchemaName: schema名称
|
363
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
364
354
|
# @type SchemaName: String
|
365
355
|
# @param TableMode: 表选择模式: all 为当前对象下的所有表对象,partial 为部分表对象
|
366
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
367
356
|
# @type TableMode: String
|
368
357
|
# @param Tables: 用于一致性校验的表配置,当 TableMode 为 partial 时,需要填写
|
369
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
370
358
|
# @type Tables: Array
|
371
359
|
# @param ViewMode: 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象(一致性校验不校验视图,当前参数未启作用)
|
372
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
373
360
|
# @type ViewMode: String
|
374
361
|
# @param Views: 用于一致性校验的视图配置,当 ViewMode 为 partial 时, 需要填写(一致性校验不校验视图,当前参数未启作用)
|
375
362
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -415,13 +402,10 @@ module TencentCloud
|
|
415
402
|
# 一致性校验选项
|
416
403
|
class CompareOptions < TencentCloud::Common::AbstractModel
|
417
404
|
# @param Method: 对比方式:dataCheck(完整数据对比)、sampleDataCheck(抽样数据对比)、rowsCount(行数对比), 默认为dataCheck
|
418
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
419
405
|
# @type Method: String
|
420
406
|
# @param SampleRate: 抽样比例;范围0,100。默认为100
|
421
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
422
407
|
# @type SampleRate: Integer
|
423
408
|
# @param ThreadCount: 线程数,取值1-5,默认为1
|
424
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
425
409
|
# @type ThreadCount: Integer
|
426
410
|
|
427
411
|
attr_accessor :Method, :SampleRate, :ThreadCount
|
@@ -442,13 +426,10 @@ module TencentCloud
|
|
442
426
|
# 用于一致性校验的表配置
|
443
427
|
class CompareTableItem < TencentCloud::Common::AbstractModel
|
444
428
|
# @param TableName: 表名称
|
445
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
446
429
|
# @type TableName: String
|
447
430
|
# @param ColumnMode: column 模式,all 为全部,partial 表示部分(该参数仅对数据同步任务有效)
|
448
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
449
431
|
# @type ColumnMode: String
|
450
432
|
# @param Columns: 当 ColumnMode 为 partial 时必填(该参数仅对数据同步任务有效)
|
451
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
452
433
|
# @type Columns: Array
|
453
434
|
|
454
435
|
attr_accessor :TableName, :ColumnMode, :Columns
|
@@ -476,10 +457,8 @@ module TencentCloud
|
|
476
457
|
# 数据一致性校验结果
|
477
458
|
class CompareTaskInfo < TencentCloud::Common::AbstractModel
|
478
459
|
# @param CompareTaskId: 一致性校验任务Id
|
479
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
480
460
|
# @type CompareTaskId: String
|
481
461
|
# @param Status: 一致性校验结果,包括:unstart(未启动)、running(校验中)、canceled(已终止)、failed(校验任务失败)、inconsistent(不一致)、consistent(一致)、notexist(不存在校验任务)
|
482
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
483
462
|
# @type Status: String
|
484
463
|
|
485
464
|
attr_accessor :CompareTaskId, :Status
|
@@ -592,7 +571,6 @@ module TencentCloud
|
|
592
571
|
# 用于一致性校验的视图配置
|
593
572
|
class CompareViewItem < TencentCloud::Common::AbstractModel
|
594
573
|
# @param ViewName: 视图名
|
595
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
596
574
|
# @type ViewName: String
|
597
575
|
|
598
576
|
attr_accessor :ViewName
|
@@ -884,7 +862,6 @@ module TencentCloud
|
|
884
862
|
# 数据一致性校验选项, 默认为不开启一致性校验
|
885
863
|
class ConsistencyOption < TencentCloud::Common::AbstractModel
|
886
864
|
# @param Mode: 一致性检测类型: full(全量检测迁移对象)、noCheck(不检测)、notConfigured(未配置)
|
887
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
888
865
|
# @type Mode: String
|
889
866
|
|
890
867
|
attr_accessor :Mode
|
@@ -1431,32 +1408,23 @@ module TencentCloud
|
|
1431
1408
|
# 实例信息
|
1432
1409
|
class DBEndpointInfo < TencentCloud::Common::AbstractModel
|
1433
1410
|
# @param Region: 实例所在地域
|
1434
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1435
1411
|
# @type Region: String
|
1436
1412
|
# @param AccessType: 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
1437
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1438
1413
|
# @type AccessType: String
|
1439
1414
|
# @param DatabaseType: 实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
1440
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1441
1415
|
# @type DatabaseType: String
|
1442
1416
|
# @param NodeType: 节点类型,为空或者simple表示普通节点、cluster表示集群节点;对于mongo业务,取值为replicaset(mongodb副本集)、standalone(mongodb单节点)、cluster(mongodb集群);对于redis实例,为空或simple(单节点)、cluster(集群)、cluster-cache(cache集群)、cluster-proxy(代理集群)
|
1443
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1444
1417
|
# @type NodeType: String
|
1445
1418
|
# @param Info: 数据库信息
|
1446
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1447
1419
|
# @type Info: Array
|
1448
1420
|
# @param Supplier: 实例服务提供商,如:"aliyun","others"
|
1449
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1450
1421
|
# @type Supplier: String
|
1451
1422
|
# @param ExtraAttr: MongoDB可定义如下的参数: ['AuthDatabase':'admin',
|
1452
1423
|
# 'AuthFlag': "1", 'AuthMechanism':"SCRAM-SHA-1"]
|
1453
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1454
1424
|
# @type ExtraAttr: Array
|
1455
1425
|
# @param DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
1456
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1457
1426
|
# @type DatabaseNetEnv: String
|
1458
1427
|
# @param ConnectType: tdsql连接方式:proxy-通过tdsql proxy主机访问各个set节点,注意只有在自研上云的网络环境下才能通过这种方式连接,Info中只需要提供proxy主机信息。set-直连set节点,如选择直连set方式,Info中需要正确填写proxy主机信息及所有set节点信息。源端是tdsqlmysql类型必填。
|
1459
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1460
1428
|
# @type ConnectType: String
|
1461
1429
|
|
1462
1430
|
attr_accessor :Region, :AccessType, :DatabaseType, :NodeType, :Info, :Supplier, :ExtraAttr, :DatabaseNetEnv, :ConnectType
|
@@ -1503,67 +1471,46 @@ module TencentCloud
|
|
1503
1471
|
# 数据库信息
|
1504
1472
|
class DBInfo < TencentCloud::Common::AbstractModel
|
1505
1473
|
# @param Role: 表示节点角色,针对分布式数据库,如mongodb中的mongos节点。tdsqlmysql的可选项:proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填。
|
1506
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1507
1474
|
# @type Role: String
|
1508
1475
|
# @param DbKernel: 内核版本,针对mariadb的不同内核版本等
|
1509
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1510
1476
|
# @type DbKernel: String
|
1511
1477
|
# @param Host: 实例的IP地址,对于公网、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
1512
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1513
1478
|
# @type Host: String
|
1514
1479
|
# @param Port: 实例的端口,对于公网、云主机自建、专线、VPN、云联网、自研上云、VPC等接入方式此项必填
|
1515
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1516
1480
|
# @type Port: Integer
|
1517
1481
|
# @param User: 实例的用户名
|
1518
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1519
1482
|
# @type User: String
|
1520
1483
|
# @param Password: 实例的密码
|
1521
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1522
1484
|
# @type Password: String
|
1523
1485
|
# @param CvmInstanceId: CVM实例短ID,格式如:ins-olgl39y8;与云服务器控制台页面显示的实例ID相同;如果接入类型为云主机自建的方式,此项必填
|
1524
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1525
1486
|
# @type CvmInstanceId: String
|
1526
1487
|
# @param UniqVpnGwId: VPN网关ID,格式如:vpngw-9ghexg7q;如果接入类型为vpncloud的方式,此项必填
|
1527
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1528
1488
|
# @type UniqVpnGwId: String
|
1529
1489
|
# @param UniqDcgId: 专线网关ID,格式如:dcg-0rxtqqxb;如果接入类型为专线接入的方式,此项必填
|
1530
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1531
1490
|
# @type UniqDcgId: String
|
1532
1491
|
# @param InstanceId: 数据库实例ID,格式如:cdb-powiqx8q;如果接入类型为云数据库的方式,此项必填
|
1533
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1534
1492
|
# @type InstanceId: String
|
1535
1493
|
# @param CcnGwId: 云联网ID,如:ccn-afp6kltc 注意:此字段可能返回 null,表示取不到有效值。
|
1536
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1537
1494
|
# @type CcnGwId: String
|
1538
1495
|
# @param VpcId: 私有网络ID,格式如:vpc-92jblxto;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
1539
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1540
1496
|
# @type VpcId: String
|
1541
1497
|
# @param SubnetId: 私有网络下的子网ID,格式如:subnet-3paxmkdz;如果接入类型为vpc、vpncloud、ccn、dcg的方式,此项必填
|
1542
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1543
1498
|
# @type SubnetId: String
|
1544
1499
|
# @param EngineVersion: 数据库版本,当实例为RDS实例时才有效,格式如:5.6或者5.7,默认为5.6
|
1545
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1546
1500
|
# @type EngineVersion: String
|
1547
1501
|
# @param Account: 实例所属账号
|
1548
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1549
1502
|
# @type Account: String
|
1550
1503
|
# @param AccountRole: 跨账号迁移时的角色,只允许[a-zA-Z0-9\-\_]+
|
1551
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1552
1504
|
# @type AccountRole: String
|
1553
1505
|
# @param AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示其他账户资源)
|
1554
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1555
1506
|
# @type AccountMode: String
|
1556
1507
|
# @param TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
1557
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1558
1508
|
# @type TmpSecretId: String
|
1559
1509
|
# @param TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
1560
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1561
1510
|
# @type TmpSecretKey: String
|
1562
1511
|
# @param TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号迁移文档(https://cloud.tencent.com/document/product/571/54117)第4节中关于角色的定义。
|
1563
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1564
1512
|
# @type TmpToken: String
|
1565
1513
|
# @param SetId: tdsql的分片id。如节点类型为set必填。
|
1566
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1567
1514
|
# @type SetId: String
|
1568
1515
|
|
1569
1516
|
attr_accessor :Role, :DbKernel, :Host, :Port, :User, :Password, :CvmInstanceId, :UniqVpnGwId, :UniqDcgId, :InstanceId, :CcnGwId, :VpcId, :SubnetId, :EngineVersion, :Account, :AccountRole, :AccountMode, :TmpSecretId, :TmpSecretKey, :TmpToken, :SetId
|
@@ -1620,64 +1567,44 @@ module TencentCloud
|
|
1620
1567
|
# 迁移对象信息,在配置库表视图等对象信息时大小写敏感
|
1621
1568
|
class DBItem < TencentCloud::Common::AbstractModel
|
1622
1569
|
# @param DbName: 需要迁移或同步的库名,当ObjectMode为partial时,此项必填
|
1623
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1624
1570
|
# @type DbName: String
|
1625
1571
|
# @param NewDbName: 迁移或同步后的库名,默认与源库相同
|
1626
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1627
1572
|
# @type NewDbName: String
|
1628
1573
|
# @param SchemaName: 迁移或同步的 schema
|
1629
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1630
1574
|
# @type SchemaName: String
|
1631
1575
|
# @param NewSchemaName: 迁移或同步后的 schema name
|
1632
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1633
1576
|
# @type NewSchemaName: String
|
1634
1577
|
# @param DBMode: DB选择模式: all(为当前对象下的所有对象),partial(部分对象),当ObjectMode为partial时,此项必填
|
1635
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1636
1578
|
# @type DBMode: String
|
1637
1579
|
# @param SchemaMode: schema选择模式: all(为当前对象下的所有对象),partial(部分对象)
|
1638
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1639
1580
|
# @type SchemaMode: String
|
1640
1581
|
# @param TableMode: 表选择模式: all(为当前对象下的所有对象),partial(部分对象),当DBMode为partial时此项必填
|
1641
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1642
1582
|
# @type TableMode: String
|
1643
1583
|
# @param Tables: 表图对象集合,当 TableMode 为 partial 时,此项需要填写
|
1644
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1645
1584
|
# @type Tables: Array
|
1646
1585
|
# @param ViewMode: 视图选择模式: all 为当前对象下的所有视图对象,partial 为部分视图对象
|
1647
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1648
1586
|
# @type ViewMode: String
|
1649
1587
|
# @param Views: 视图对象集合,当 ViewMode 为 partial 时, 此项需要填写
|
1650
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1651
1588
|
# @type Views: Array
|
1652
1589
|
# @param RoleMode: postgresql独有参数,角色选择模式: all 为当前对象下的所有角色对象,partial 为部分角色对象
|
1653
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1654
1590
|
# @type RoleMode: String
|
1655
1591
|
# @param Roles: postgresql独有参数,当 RoleMode 为 partial 时, 此项需要填写
|
1656
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1657
1592
|
# @type Roles: Array
|
1658
1593
|
# @param FunctionMode: 选择要同步的模式,partial为部分,all为整选
|
1659
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1660
1594
|
# @type FunctionMode: String
|
1661
1595
|
# @param TriggerMode: 选择要同步的模式,partial为部分,all为整选
|
1662
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1663
1596
|
# @type TriggerMode: String
|
1664
1597
|
# @param EventMode: 选择要同步的模式,partial为部分,all为整选
|
1665
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1666
1598
|
# @type EventMode: String
|
1667
1599
|
# @param ProcedureMode: 选择要同步的模式,partial为部分,all为整选
|
1668
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1669
1600
|
# @type ProcedureMode: String
|
1670
1601
|
# @param Functions: FunctionMode取值为partial时需要填写
|
1671
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1672
1602
|
# @type Functions: Array
|
1673
1603
|
# @param Procedures: ProcedureMode取值为partial时需要填写
|
1674
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1675
1604
|
# @type Procedures: Array
|
1676
1605
|
# @param Events: EventMode取值为partial时需要填写
|
1677
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1678
1606
|
# @type Events: Array
|
1679
1607
|
# @param Triggers: TriggerMode取值为partial时需要填写
|
1680
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1681
1608
|
# @type Triggers: Array
|
1682
1609
|
|
1683
1610
|
attr_accessor :DbName, :NewDbName, :SchemaName, :NewSchemaName, :DBMode, :SchemaMode, :TableMode, :Tables, :ViewMode, :Views, :RoleMode, :Roles, :FunctionMode, :TriggerMode, :EventMode, :ProcedureMode, :Functions, :Procedures, :Events, :Triggers
|
@@ -1864,10 +1791,8 @@ module TencentCloud
|
|
1864
1791
|
# 迁移对象选项,需要告知迁移服务迁移哪些库表对象
|
1865
1792
|
class DatabaseTableObject < TencentCloud::Common::AbstractModel
|
1866
1793
|
# @param ObjectMode: 迁移对象类型 all(全实例),partial(部分对象)
|
1867
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1868
1794
|
# @type ObjectMode: String
|
1869
1795
|
# @param Databases: 迁移对象,当 ObjectMode 为 partial 时,不为空
|
1870
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1871
1796
|
# @type Databases: Array
|
1872
1797
|
# @param AdvancedObjects: 高级对象类型,如trigger、function、procedure、event。注意:如果要迁移同步高级对象,此配置中应该包含对应的高级对象类型
|
1873
1798
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3723,13 +3648,10 @@ module TencentCloud
|
|
3723
3648
|
# 订阅任务的kafka分区规则。符合库名和表名正则表达式的数据将按照RuleType计算该条数据将被投递的kafka分区。如果配置了多个规则,将按照配置的顺序,第一条命中的规则生效。
|
3724
3649
|
class DistributeRule < TencentCloud::Common::AbstractModel
|
3725
3650
|
# @param RuleType: 规则类型。非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区,cols-按列名分区。mongo的枚举值为:collection-按集合名分区、collectionAndObjectId-按集合+主键分区。
|
3726
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3727
3651
|
# @type RuleType: String
|
3728
3652
|
# @param DbPattern: 库名匹配规则,请填写正则表达式
|
3729
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3730
3653
|
# @type DbPattern: String
|
3731
3654
|
# @param TablePattern: 表名匹配规则,如果 DatabaseType 为 mongodb,则匹配集合名
|
3732
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3733
3655
|
# @type TablePattern: String
|
3734
3656
|
# @param Columns: 列名。如果 RuleType 为 cols,此项必填。订阅任务会用该列的值计算分区。mongo没有按列分区,因此也不用传这个字段。
|
3735
3657
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -3797,94 +3719,64 @@ module TencentCloud
|
|
3797
3719
|
# 数据同步中的描述源端和目的端的信息
|
3798
3720
|
class Endpoint < TencentCloud::Common::AbstractModel
|
3799
3721
|
# @param Region: 地域英文名,如:ap-guangzhou
|
3800
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3801
3722
|
# @type Region: String
|
3802
3723
|
# @param Role: 节点类型,proxy表示节点类型为主机,set表示节点类型为节点。proxy类型必须填在数组第一项。tdsqlmysql类型的源/目标配置必填
|
3803
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3804
3724
|
# @type Role: String
|
3805
3725
|
# @param DbKernel: 数据库内核类型,tdsql中用于区分不同内核:percona,mariadb,mysql。注意TDSQL-C MySQL、TDSQL PostgreSQL无需填写此项值。
|
3806
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3807
3726
|
# @type DbKernel: String
|
3808
3727
|
# @param InstanceId: 数据库实例ID,格式如:cdb-powiqx8q
|
3809
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3810
3728
|
# @type InstanceId: String
|
3811
3729
|
# @param Ip: 实例的IP地址,接入类型为非cdb时此项必填
|
3812
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3813
3730
|
# @type Ip: String
|
3814
3731
|
# @param Port: 实例端口,接入类型为非cdb时此项必填
|
3815
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3816
3732
|
# @type Port: Integer
|
3817
3733
|
# @param User: 用户名,对于访问需要用户名密码认证的实例必填
|
3818
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3819
3734
|
# @type User: String
|
3820
3735
|
# @param Password: 密码,对于访问需要用户名密码认证的实例必填
|
3821
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3822
3736
|
# @type Password: String
|
3823
3737
|
# @param DbName: 数据库名,数据库为cdwpg时,需要提供
|
3824
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3825
3738
|
# @type DbName: String
|
3826
3739
|
# @param VpcId: 私有网络ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:vpc-92jblxto
|
3827
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3828
3740
|
# @type VpcId: String
|
3829
3741
|
# @param SubnetId: 私有网络下的子网ID,对于私有网络、专线、VPN的接入方式此项必填,格式如:subnet-3paxmkdz
|
3830
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3831
3742
|
# @type SubnetId: String
|
3832
3743
|
# @param CvmInstanceId: CVM实例短ID,格式如:ins-olgl39y8,与云服务器控制台页面显示的实例ID相同。如果是CVM自建实例,需要传递此字段
|
3833
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3834
3744
|
# @type CvmInstanceId: String
|
3835
3745
|
# @param UniqDcgId: 专线网关ID,对于专线接入类型此项必填,格式如:dcg-0rxtqqxb
|
3836
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3837
3746
|
# @type UniqDcgId: String
|
3838
3747
|
# @param UniqVpnGwId: VPN网关ID,对于vpn接入类型此项必填,格式如:vpngw-9ghexg7q
|
3839
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3840
3748
|
# @type UniqVpnGwId: String
|
3841
3749
|
# @param CcnId: 云联网ID,对于云联网接入类型此项必填,如:ccn-afp6kltc
|
3842
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3843
3750
|
# @type CcnId: String
|
3844
3751
|
# @param Supplier: 云厂商类型,当实例为RDS实例时,填写为aliyun, 其他情况均填写others,默认为others
|
3845
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3846
3752
|
# @type Supplier: String
|
3847
3753
|
# @param EngineVersion: 数据库版本,当实例为RDS实例时才有效,其他实例忽略,格式如:5.6或者5.7,默认为5.6
|
3848
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3849
3754
|
# @type EngineVersion: String
|
3850
3755
|
# @param Account: 实例所属账号,如果为跨账号实例此项必填
|
3851
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3852
3756
|
# @type Account: String
|
3853
3757
|
# @param AccountMode: 资源所属账号 为空或self(表示本账号内资源)、other(表示跨账号资源)
|
3854
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3855
3758
|
# @type AccountMode: String
|
3856
3759
|
# @param AccountRole: 跨账号同步时的角色,只允许[a-zA-Z0-9\-\_]+,如果为跨账号实例此项必填
|
3857
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3858
3760
|
# @type AccountRole: String
|
3859
3761
|
# @param RoleExternalId: 外部角色id
|
3860
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3861
3762
|
# @type RoleExternalId: String
|
3862
3763
|
# @param TmpSecretId: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
3863
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3864
3764
|
# @type TmpSecretId: String
|
3865
3765
|
# @param TmpSecretKey: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
3866
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3867
3766
|
# @type TmpSecretKey: String
|
3868
3767
|
# @param TmpToken: 临时密钥Id,可通过申请扮演角色临时访问凭证获取临时密钥https://cloud.tencent.com/document/product/1312/48197,其中角色资源RoleArn的定义可参考DTS跨账号同步文档(https://cloud.tencent.com/document/product/571/68729)第4节中关于角色的定义。
|
3869
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3870
3768
|
# @type TmpToken: String
|
3871
3769
|
# @param EncryptConn: 是否走加密传输、UnEncrypted表示不走加密传输,Encrypted表示走加密传输,默认UnEncrypted
|
3872
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3873
3770
|
# @type EncryptConn: String
|
3874
3771
|
# @param DatabaseNetEnv: 数据库所属网络环境,AccessType为云联网(ccn)时必填, UserIDC表示用户IDC、TencentVPC表示腾讯云VPC;
|
3875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3876
3772
|
# @type DatabaseNetEnv: String
|
3877
3773
|
# @param CcnOwnerUin: 数据库为跨账号云联网下的实例时、表示云联网所属主账号
|
3878
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3879
3774
|
# @type CcnOwnerUin: String
|
3880
3775
|
# @param ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
3881
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3882
3776
|
# @type ChildInstanceId: String
|
3883
3777
|
# @param ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
3884
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3885
3778
|
# @type ChildInstanceType: String
|
3886
3779
|
# @param SetId: tdsql的分片id。如节点类型为set必填。
|
3887
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3888
3780
|
# @type SetId: String
|
3889
3781
|
|
3890
3782
|
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, :ChildInstanceId, :ChildInstanceType, :SetId
|
@@ -3959,61 +3851,43 @@ module TencentCloud
|
|
3959
3851
|
# 数据订阅的实例节点信息
|
3960
3852
|
class EndpointItem < TencentCloud::Common::AbstractModel
|
3961
3853
|
# @param DatabaseRegion: 源库所在地域。如果 AccessType 为 ccn,请填vpc所在地域,因为此时不知道源库在哪个地域。其他接入方式,请填订阅任务所在地域,因为确保订阅任务与源库在同一地域是最优的网络方案。
|
3962
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3963
3854
|
# @type DatabaseRegion: String
|
3964
3855
|
# @param User: 用户名
|
3965
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3966
3856
|
# @type User: String
|
3967
3857
|
# @param Password: 密码。作为入参时必填,作为出参时为空。
|
3968
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3969
3858
|
# @type Password: String
|
3970
3859
|
# @param InstanceId: 目标实例ID。如果 AccessType 为 cdb,此项必填。配置InstanceId时会查询并校验实例信息。mysql的查询接口经过了鉴权,请确保子用户有 cdb:DescribeDBInstances 的接口权限。
|
3971
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3972
3860
|
# @type InstanceId: String
|
3973
3861
|
# @param CvmInstanceId: 云主机ID。如果 AccessType 为 cvm,此项必填。
|
3974
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3975
3862
|
# @type CvmInstanceId: String
|
3976
3863
|
# @param UniqDcgId: 专线网关ID。如果 AccessType 为 dcg,此项必填。
|
3977
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3978
3864
|
# @type UniqDcgId: String
|
3979
3865
|
# @param CcnId: 云联网ID。如果 AccessType 为 ccn,此项必填。
|
3980
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3981
3866
|
# @type CcnId: String
|
3982
3867
|
# @param UniqVpnGwId: vpn网关ID。如果 AccessType 为 vpncloud,此项必填。
|
3983
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3984
3868
|
# @type UniqVpnGwId: String
|
3985
3869
|
# @param VpcId: VpcID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
3986
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3987
3870
|
# @type VpcId: String
|
3988
3871
|
# @param SubnetId: 子网ID。如果 AccessType 为 dcg\ccn\vpncloud\vpc,此项必填。
|
3989
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3990
3872
|
# @type SubnetId: String
|
3991
3873
|
# @param HostName: 数据库地址,支持域名与IP。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet,此项必填。
|
3992
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3993
3874
|
# @type HostName: String
|
3994
3875
|
# @param Port: 数据库端口。如果 AccessType 为 dcg\ccn\vpncloud\vpc\extranet\intranet\cvm,此项必填。
|
3995
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3996
3876
|
# @type Port: Integer
|
3997
3877
|
# @param EncryptConn: 是否走加密传输,枚举值:UnEncrypted-不加密,Encrypted-加密。只有mysql支持,不填默认不加密,其他产品不填。
|
3998
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3999
3878
|
# @type EncryptConn: String
|
4000
3879
|
# @param DatabaseNetEnv: 数据库网络环境。如果 AccessType 为 ccn 此项必填。枚举值:UserIDC-自建idc,TencentVPC-腾讯云,Aws-aws,AliYun-阿里云,Others-其他。
|
4001
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4002
3880
|
# @type DatabaseNetEnv: String
|
4003
3881
|
# @param CcnOwnerUin: 云联网网关所属的主账号uin、跨账号云联网需要。
|
4004
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4005
3882
|
# @type CcnOwnerUin: String
|
4006
3883
|
# @param ExtraAttr: 为业务添加的额外信息。参数名作key,参数值作value。
|
4007
3884
|
# tdpg必填参数:PgDatabase-订阅的库名;
|
4008
3885
|
# mongo选填参数:InstanceType-实例类型:replicaset-副本集,cluster-分片集,主要用于控制台跳转到mongo实例页面,如不填不影响任务运行;
|
4009
3886
|
# 全业务选填参数:EngineVersion-内核版本。
|
4010
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4011
3887
|
# @type ExtraAttr: Array
|
4012
3888
|
# @param ChildInstanceId: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的ID
|
4013
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4014
3889
|
# @type ChildInstanceId: String
|
4015
3890
|
# @param ChildInstanceType: 数据库为cynos、且是cynos集群内的一个子数据库实例时、该参数为该子实例的类型、例如:只读实例传ro、读写实例传rw
|
4016
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4017
3891
|
# @type ChildInstanceType: String
|
4018
3892
|
|
4019
3893
|
attr_accessor :DatabaseRegion, :User, :Password, :InstanceId, :CvmInstanceId, :UniqDcgId, :CcnId, :UniqVpnGwId, :VpcId, :SubnetId, :HostName, :Port, :EncryptConn, :DatabaseNetEnv, :CcnOwnerUin, :ExtraAttr, :ChildInstanceId, :ChildInstanceType
|
@@ -4073,10 +3947,8 @@ module TencentCloud
|
|
4073
3947
|
# @param Reason: 错误原因
|
4074
3948
|
# @type Reason: String
|
4075
3949
|
# @param Message: 错误信息
|
4076
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4077
3950
|
# @type Message: String
|
4078
3951
|
# @param Solution: 解决方案
|
4079
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4080
3952
|
# @type Solution: String
|
4081
3953
|
|
4082
3954
|
attr_accessor :Reason, :Message, :Solution
|
@@ -4097,16 +3969,12 @@ module TencentCloud
|
|
4097
3969
|
# 任务错误信息
|
4098
3970
|
class ErrorInfoItem < TencentCloud::Common::AbstractModel
|
4099
3971
|
# @param Code: 错误码
|
4100
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4101
3972
|
# @type Code: String
|
4102
3973
|
# @param Solution: 解决方案
|
4103
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4104
3974
|
# @type Solution: String
|
4105
3975
|
# @param ErrorLog: 错误日志信息
|
4106
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4107
3976
|
# @type ErrorLog: String
|
4108
3977
|
# @param HelpDoc: 文档提示
|
4109
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4110
3978
|
# @type HelpDoc: String
|
4111
3979
|
|
4112
3980
|
attr_accessor :Code, :Solution, :ErrorLog, :HelpDoc
|
@@ -4133,7 +4001,6 @@ module TencentCloud
|
|
4133
4001
|
# @param ConsumerGroupName: 消费者组名称
|
4134
4002
|
# @type ConsumerGroupName: String
|
4135
4003
|
# @param Description: 消费者组备注
|
4136
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4137
4004
|
# @type Description: String
|
4138
4005
|
# @param ConsumerGroupOffset: 消费组偏移量。该字段是为了兼容以前单Partition的情况,取值为最后一个分区的偏移量。各分区的偏移量详见StateOfPartition字段
|
4139
4006
|
# @type ConsumerGroupOffset: Integer
|
@@ -4150,7 +4017,6 @@ module TencentCloud
|
|
4150
4017
|
# @param ConsumerGroupState: 消费者组状态,包括Dead、Empty、Stable等,只有Dead和Empty两种状态可以执行reset操作
|
4151
4018
|
# @type ConsumerGroupState: String
|
4152
4019
|
# @param PartitionAssignment: 每个消费者正在消费的分区
|
4153
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4154
4020
|
# @type PartitionAssignment: Array
|
4155
4021
|
|
4156
4022
|
attr_accessor :Account, :ConsumerGroupName, :Description, :ConsumerGroupOffset, :ConsumerGroupLag, :Latency, :StateOfPartition, :CreatedAt, :UpdatedAt, :ConsumerGroupState, :PartitionAssignment
|
@@ -4466,10 +4332,8 @@ module TencentCloud
|
|
4466
4332
|
# 存放配置时的额外信息
|
4467
4333
|
class KeyValuePairOption < TencentCloud::Common::AbstractModel
|
4468
4334
|
# @param Key: 选项key
|
4469
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4470
4335
|
# @type Key: String
|
4471
4336
|
# @param Value: 选项value
|
4472
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4473
4337
|
# @type Value: String
|
4474
4338
|
|
4475
4339
|
attr_accessor :Key, :Value
|
@@ -4488,10 +4352,8 @@ module TencentCloud
|
|
4488
4352
|
# 任务操作信息,包含迁移任务的所有操作列表,及迁移任务在当前状态下允许的操作列表
|
4489
4353
|
class MigrateAction < TencentCloud::Common::AbstractModel
|
4490
4354
|
# @param AllAction: 任务的所有操作列表
|
4491
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4492
4355
|
# @type AllAction: Array
|
4493
4356
|
# @param AllowedAction: 任务在当前状态下允许的操作列表
|
4494
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4495
4357
|
# @type AllowedAction: Array
|
4496
4358
|
|
4497
4359
|
attr_accessor :AllAction, :AllowedAction
|
@@ -4546,19 +4408,14 @@ module TencentCloud
|
|
4546
4408
|
# 迁移执行过程信息
|
4547
4409
|
class MigrateDetailInfo < TencentCloud::Common::AbstractModel
|
4548
4410
|
# @param StepAll: 总步骤数
|
4549
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4550
4411
|
# @type StepAll: Integer
|
4551
4412
|
# @param StepNow: 当前步骤
|
4552
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4553
4413
|
# @type StepNow: Integer
|
4554
4414
|
# @param MasterSlaveDistance: 主从差距,MB;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
4555
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4556
4415
|
# @type MasterSlaveDistance: Integer
|
4557
4416
|
# @param SecondsBehindMaster: 主从差距,秒;只在任务正常,迁移或者同步的最后一步(追Binlog的阶段才有校),如果是非法值,返回-1
|
4558
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4559
4417
|
# @type SecondsBehindMaster: Integer
|
4560
4418
|
# @param StepInfo: 步骤信息
|
4561
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4562
4419
|
# @type StepInfo: Array
|
4563
4420
|
|
4564
4421
|
attr_accessor :StepAll, :StepNow, :MasterSlaveDistance, :SecondsBehindMaster, :StepInfo
|
@@ -4590,29 +4447,21 @@ module TencentCloud
|
|
4590
4447
|
# 迁移选项,描述任务如何执行迁移等一系列配置信息
|
4591
4448
|
class MigrateOption < TencentCloud::Common::AbstractModel
|
4592
4449
|
# @param DatabaseTable: 迁移对象选项,需要告知迁移服务迁移哪些库表对象
|
4593
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4594
4450
|
# @type DatabaseTable: :class:`Tencentcloud::Dts.v20211206.models.DatabaseTableObject`
|
4595
4451
|
# @param MigrateType: 迁移类型,full(全量迁移),structure(结构迁移),fullAndIncrement(全量加增量迁移), 默认为fullAndIncrement;注意redis,keewidb产品只支持fullAndIncrement类型。
|
4596
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4597
4452
|
# @type MigrateType: String
|
4598
4453
|
# @param Consistency: 数据一致性校验选项, 默认为不开启一致性校验
|
4599
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4600
4454
|
# @type Consistency: :class:`Tencentcloud::Dts.v20211206.models.ConsistencyOption`
|
4601
4455
|
# @param IsMigrateAccount: 是否迁移账号,true(迁移账号),false(不迁移账号)
|
4602
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4603
4456
|
# @type IsMigrateAccount: Boolean
|
4604
4457
|
# @param IsOverrideRoot: 是否用源库Root账户覆盖目标库,值包括:false-不覆盖,true-覆盖,选择库表或者结构迁移时应该为false,注意只对旧版迁移有效
|
4605
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4606
4458
|
# @type IsOverrideRoot: Boolean
|
4607
4459
|
# @param IsDstReadOnly: 是否在迁移时设置目标库只读(仅对mysql有效),true(设置只读)、false(不设置只读,默认此值)
|
4608
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4609
4460
|
# @type IsDstReadOnly: Boolean
|
4610
4461
|
# @param ExtraAttr: 其他附加信息,对于特定库可设置额外参数,Redis可定义如下的参数:
|
4611
4462
|
# ["DstWriteMode":normal, 目标库写入模式,可取值clearData(清空目标实例数据)、overwrite(以覆盖写的方式执行任务)、normal(跟正常流程一样,不做额外动作) "IsDstReadOnly":true, 是否在迁移时设置目标库只读,true(设置只读)、false(不设置只读) "ClientOutputBufferHardLimit":512, 从机缓冲区的硬性容量限制(MB) "ClientOutputBufferSoftLimit":512, 从机缓冲区的软性容量限制(MB) "ClientOutputBufferPersistTime":60, 从机缓冲区的软性限制持续时间(秒) "ReplBacklogSize":512, 环形缓冲区容量限制(MB) "ReplTimeout":120, 复制超时时间(秒) "IsExpireKey":"true",过期key自动淘汰]
|
4612
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4613
4463
|
# @type ExtraAttr: Array
|
4614
4464
|
# @param MigrateWay: pgsql迁移分类:logical(逻辑迁移)、physical(物理迁移)
|
4615
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4616
4465
|
# @type MigrateWay: String
|
4617
4466
|
|
4618
4467
|
attr_accessor :DatabaseTable, :MigrateType, :Consistency, :IsMigrateAccount, :IsOverrideRoot, :IsDstReadOnly, :ExtraAttr, :MigrateWay
|
@@ -4657,13 +4506,10 @@ module TencentCloud
|
|
4657
4506
|
class ModifiedSubscribeObject < TencentCloud::Common::AbstractModel
|
4658
4507
|
# @param ObjectsType: 订阅对象的类型,枚举值为:0-库,1-表(该值对于mongo任务来说,是集合) 。
|
4659
4508
|
# 注意:mongo只支持全实例、单库或者单集合订阅,因此该字段不要与SubscribeObjectType冲突。如:SubscribeObjectType=4,表示mongo单库订阅,那么该字段应该传0。
|
4660
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4661
4509
|
# @type ObjectsType: Integer
|
4662
4510
|
# @param DatabaseName: 订阅数据库的名称
|
4663
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4664
4511
|
# @type DatabaseName: String
|
4665
4512
|
# @param TableNames: 订阅数据库中表(或集合)的名称。如果 ObjectsType 为 1,那么此字段为必填,且不为空;
|
4666
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4667
4513
|
# @type TableNames: Array
|
4668
4514
|
|
4669
4515
|
attr_accessor :ObjectsType, :DatabaseName, :TableNames
|
@@ -5438,10 +5284,8 @@ module TencentCloud
|
|
5438
5284
|
# 数据订阅kafka分区中checkpoint信息
|
5439
5285
|
class OffsetTimeMap < TencentCloud::Common::AbstractModel
|
5440
5286
|
# @param PartitionNo: kafka分区编号
|
5441
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5442
5287
|
# @type PartitionNo: Integer
|
5443
5288
|
# @param Offset: kafka offset
|
5444
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5445
5289
|
# @type Offset: Integer
|
5446
5290
|
|
5447
5291
|
attr_accessor :PartitionNo, :Offset
|
@@ -5655,10 +5499,8 @@ module TencentCloud
|
|
5655
5499
|
# mongo输出聚合设置。输出默认 Change Event
|
5656
5500
|
class PipelineInfo < TencentCloud::Common::AbstractModel
|
5657
5501
|
# @param AggOp: 聚合运算符:$addFields、$match、$project、$replaceRoot、$redact、$replaceWith、$set、$unset。其中 $replaceWith、$set、$unset 只有当订阅实例是4.2及以上版本可选。
|
5658
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5659
5502
|
# @type AggOp: String
|
5660
5503
|
# @param AggCmd: 聚合表达式。必须是json格式
|
5661
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5662
5504
|
# @type AggCmd: String
|
5663
5505
|
|
5664
5506
|
attr_accessor :AggOp, :AggCmd
|
@@ -5677,22 +5519,16 @@ module TencentCloud
|
|
5677
5519
|
# 任务步骤信息
|
5678
5520
|
class ProcessProgress < TencentCloud::Common::AbstractModel
|
5679
5521
|
# @param Status: 步骤的状态, 包括:notStarted(未开始)、running(运行中)、success(成功)、failed(失败)等
|
5680
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5681
5522
|
# @type Status: String
|
5682
5523
|
# @param Percent: 进度信息
|
5683
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5684
5524
|
# @type Percent: Integer
|
5685
5525
|
# @param StepAll: 总的步骤数
|
5686
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5687
5526
|
# @type StepAll: Integer
|
5688
5527
|
# @param StepNow: 当前进行的步骤
|
5689
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5690
5528
|
# @type StepNow: Integer
|
5691
5529
|
# @param Message: 当前步骤输出提示信息
|
5692
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5693
5530
|
# @type Message: String
|
5694
5531
|
# @param Steps: 步骤信息
|
5695
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5696
5532
|
# @type Steps: Array
|
5697
5533
|
|
5698
5534
|
attr_accessor :Status, :Percent, :StepAll, :StepNow, :Message, :Steps
|
@@ -5726,13 +5562,10 @@ module TencentCloud
|
|
5726
5562
|
# 错误信息及告警信息对象
|
5727
5563
|
class ProcessStepTip < TencentCloud::Common::AbstractModel
|
5728
5564
|
# @param Message: 提示信息
|
5729
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5730
5565
|
# @type Message: String
|
5731
5566
|
# @param Solution: 解决方案
|
5732
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5733
5567
|
# @type Solution: String
|
5734
5568
|
# @param HelpDoc: 文档提示
|
5735
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5736
5569
|
# @type HelpDoc: String
|
5737
5570
|
|
5738
5571
|
attr_accessor :Message, :Solution, :HelpDoc
|
@@ -5753,37 +5586,26 @@ module TencentCloud
|
|
5753
5586
|
# 迁移和同步任务限速的详细信息
|
5754
5587
|
class RateLimitOption < TencentCloud::Common::AbstractModel
|
5755
5588
|
# @param CurrentDumpThread: 当前生效的全量导出线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
5756
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5757
5589
|
# @type CurrentDumpThread: Integer
|
5758
5590
|
# @param DefaultDumpThread: 默认的全量导出线程数,该字段仅在出参有意义
|
5759
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5760
5591
|
# @type DefaultDumpThread: Integer
|
5761
5592
|
# @param CurrentDumpRps: 当前生效的全量导出Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
5762
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5763
5593
|
# @type CurrentDumpRps: Integer
|
5764
5594
|
# @param DefaultDumpRps: 默认的全量导出Rps,该字段仅在出参有意义
|
5765
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5766
5595
|
# @type DefaultDumpRps: Integer
|
5767
5596
|
# @param CurrentLoadThread: 当前生效的全量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为16
|
5768
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5769
5597
|
# @type CurrentLoadThread: Integer
|
5770
5598
|
# @param DefaultLoadThread: 默认的全量导入线程数,该字段仅在出参有意义
|
5771
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5772
5599
|
# @type DefaultLoadThread: Integer
|
5773
5600
|
# @param CurrentLoadRps: 当前生效的全量导入Rps,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为50000000
|
5774
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5775
5601
|
# @type CurrentLoadRps: Integer
|
5776
5602
|
# @param DefaultLoadRps: 默认的全量导入Rps,该字段仅在出参有意义
|
5777
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5778
5603
|
# @type DefaultLoadRps: Integer
|
5779
5604
|
# @param CurrentSinkerThread: 当前生效的增量导入线程数,配置任务时可调整该字段值,注意:如果不设置或设置为0则表示保持当前值,最大值为128
|
5780
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5781
5605
|
# @type CurrentSinkerThread: Integer
|
5782
5606
|
# @param DefaultSinkerThread: 默认的增量导入线程数,该字段仅在出参有意义
|
5783
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5784
5607
|
# @type DefaultSinkerThread: Integer
|
5785
5608
|
# @param HasUserSetRateLimit: enum:"no"/"yes"、no表示用户未设置过限速、yes表示设置过限速,该字段仅在出参有意义
|
5786
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5787
5609
|
# @type HasUserSetRateLimit: String
|
5788
5610
|
|
5789
5611
|
attr_accessor :CurrentDumpThread, :DefaultDumpThread, :CurrentDumpRps, :DefaultDumpRps, :CurrentLoadThread, :DefaultLoadThread, :CurrentLoadRps, :DefaultLoadRps, :CurrentSinkerThread, :DefaultSinkerThread, :HasUserSetRateLimit
|
@@ -6104,10 +5926,8 @@ module TencentCloud
|
|
6104
5926
|
# 角色对象,postgresql独有参数
|
6105
5927
|
class RoleItem < TencentCloud::Common::AbstractModel
|
6106
5928
|
# @param RoleName: 角色名称
|
6107
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6108
5929
|
# @type RoleName: String
|
6109
5930
|
# @param NewRoleName: 迁移后的角色名称
|
6110
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6111
5931
|
# @type NewRoleName: String
|
6112
5932
|
|
6113
5933
|
attr_accessor :RoleName, :NewRoleName
|
@@ -6459,31 +6279,22 @@ module TencentCloud
|
|
6459
6279
|
# 步骤信息
|
6460
6280
|
class StepDetailInfo < TencentCloud::Common::AbstractModel
|
6461
6281
|
# @param StepNo: 步骤序列
|
6462
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6463
6282
|
# @type StepNo: Integer
|
6464
6283
|
# @param StepName: 步骤展现名称
|
6465
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6466
6284
|
# @type StepName: String
|
6467
6285
|
# @param StepId: 步骤英文标识
|
6468
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6469
6286
|
# @type StepId: String
|
6470
6287
|
# @param Status: 步骤状态:success(成功)、failed(失败)、running(执行中)、notStarted(未执行)、默认为notStarted
|
6471
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6472
6288
|
# @type Status: String
|
6473
6289
|
# @param StartTime: 当前步骤开始的时间,格式为"yyyy-mm-dd hh:mm:ss",该字段不存在或者为空是无意义 注意:此字段可能返回 null,表示取不到有效值。
|
6474
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6475
6290
|
# @type StartTime: String
|
6476
6291
|
# @param StepMessage: 步骤错误信息
|
6477
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6478
6292
|
# @type StepMessage: String
|
6479
6293
|
# @param Percent: 执行进度
|
6480
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6481
6294
|
# @type Percent: Integer
|
6482
6295
|
# @param Errors: 错误信息
|
6483
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6484
6296
|
# @type Errors: Array
|
6485
6297
|
# @param Warnings: 告警提示
|
6486
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6487
6298
|
# @type Warnings: Array
|
6488
6299
|
|
6489
6300
|
attr_accessor :StepNo, :StepName, :StepId, :Status, :StartTime, :StepMessage, :Percent, :Errors, :Warnings
|
@@ -6761,25 +6572,18 @@ module TencentCloud
|
|
6761
6572
|
# 订阅校验任务的各步骤信息。
|
6762
6573
|
class SubscribeCheckStepInfo < TencentCloud::Common::AbstractModel
|
6763
6574
|
# @param StepName: 步骤名称
|
6764
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6765
6575
|
# @type StepName: String
|
6766
6576
|
# @param StepId: 步骤Id
|
6767
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6768
6577
|
# @type StepId: String
|
6769
6578
|
# @param StepNo: 步骤编号,从 1 开始
|
6770
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6771
6579
|
# @type StepNo: Integer
|
6772
6580
|
# @param Status: 当前步骤状态,可能值为 notStarted,running,finished,failed
|
6773
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6774
6581
|
# @type Status: String
|
6775
6582
|
# @param Percent: 当前步骤进度
|
6776
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6777
6583
|
# @type Percent: Integer
|
6778
6584
|
# @param Errors: 错误提示
|
6779
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6780
6585
|
# @type Errors: Array
|
6781
6586
|
# @param Warnings: 告警提示
|
6782
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6783
6587
|
# @type Warnings: Array
|
6784
6588
|
|
6785
6589
|
attr_accessor :StepName, :StepId, :StepNo, :Status, :Percent, :Errors, :Warnings
|
@@ -6822,10 +6626,8 @@ module TencentCloud
|
|
6822
6626
|
# 订阅校验任务的提示信息
|
6823
6627
|
class SubscribeCheckStepTip < TencentCloud::Common::AbstractModel
|
6824
6628
|
# @param Message: 错误或告警的详细信息
|
6825
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6826
6629
|
# @type Message: String
|
6827
6630
|
# @param HelpDoc: 帮助文档
|
6828
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6829
6631
|
# @type HelpDoc: String
|
6830
6632
|
|
6831
6633
|
attr_accessor :Message, :HelpDoc
|
@@ -6848,34 +6650,26 @@ module TencentCloud
|
|
6848
6650
|
# @param SubscribeName: 数据订阅实例的名称
|
6849
6651
|
# @type SubscribeName: String
|
6850
6652
|
# @param Topic: 订阅实例发送数据的kafka topic
|
6851
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6852
6653
|
# @type Topic: String
|
6853
6654
|
# @param Product: 订阅实例的类型,目前支持 cynosdbmysql,mariadb,mongodb,mysql,percona,tdpg,tdsqlpercona(tdsqlmysql)
|
6854
6655
|
# @type Product: String
|
6855
6656
|
# @param InstanceId: 订阅的数据库实例ID(如果订阅的是云数据库)如果实例不是腾讯云上的,此值为空。
|
6856
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6857
6657
|
# @type InstanceId: String
|
6858
6658
|
# @param InstanceStatus: 云数据库状态:running 运行中,isolated 已隔离,offline 已下线。如果不是云上,此值为空
|
6859
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6860
6659
|
# @type InstanceStatus: String
|
6861
6660
|
# @param Status: 数据订阅生命周期状态,可能的值为:正常 normal, 隔离中 isolating, 已隔离 isolated, 下线中 offlining, 按量转包年包月中 post2PrePayIng
|
6862
6661
|
# @type Status: String
|
6863
6662
|
# @param SubsStatus: 数据订阅状态,可能的值为:未启动 notStarted, 校验中 checking, 校验不通过 checkNotPass, 校验通过 checkPass, 启动中 starting, 运行中 running, 异常出错 error
|
6864
6663
|
# @type SubsStatus: String
|
6865
6664
|
# @param ModifyTime: 上次修改时间,时间格式如:Y-m-d h:m:s
|
6866
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6867
6665
|
# @type ModifyTime: String
|
6868
6666
|
# @param CreateTime: 创建时间,时间格式如:Y-m-d h:m:s
|
6869
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6870
6667
|
# @type CreateTime: String
|
6871
6668
|
# @param IsolateTime: 隔离时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
6872
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6873
6669
|
# @type IsolateTime: String
|
6874
6670
|
# @param ExpireTime: 包年包月任务的到期时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
6875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6876
6671
|
# @type ExpireTime: String
|
6877
6672
|
# @param OfflineTime: 下线时间,时间格式如:Y-m-d h:m:s。默认:0000-00-00 00:00:00
|
6878
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6879
6673
|
# @type OfflineTime: String
|
6880
6674
|
# @param PayType: 计费方式,0 - 包年包月,1 - 按量计费
|
6881
6675
|
# @type PayType: Integer
|
@@ -6884,13 +6678,10 @@ module TencentCloud
|
|
6884
6678
|
# @param Region: 数据订阅实例所属地域
|
6885
6679
|
# @type Region: String
|
6886
6680
|
# @param AccessType: 接入方式。枚举值:extranet(公网) vpncloud(vpn接入) dcg(专线接入) ccn(云联网) cdb(云数据库) cvm(云主机自建) intranet(自研上云) vpc(私有网络vpc)
|
6887
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6888
6681
|
# @type AccessType: String
|
6889
6682
|
# @param Endpoints: 数据库节点信息
|
6890
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6891
6683
|
# @type Endpoints: Array
|
6892
6684
|
# @param SubscribeVersion: 数据订阅版本, 当前只支持 kafka 版本。
|
6893
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6894
6685
|
# @type SubscribeVersion: String
|
6895
6686
|
# @param Tags: 标签
|
6896
6687
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -6974,15 +6765,12 @@ module TencentCloud
|
|
6974
6765
|
# 订阅的kafka分区数和分区规则。mariadb,percona,tdsqlmysql,tdpg不支持自定义分区,所以DistributeRules和DefaultRuleType可以不填,但是NumberOfPartitions是必填。
|
6975
6766
|
class SubscribeKafkaConfig < TencentCloud::Common::AbstractModel
|
6976
6767
|
# @param NumberOfPartitions: kafka分区数量,枚举值为1,4,8
|
6977
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6978
6768
|
# @type NumberOfPartitions: Integer
|
6979
6769
|
# @param DistributeRules: 分区规则。当NumberOfPartitions > 1时,该项必填。
|
6980
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6981
6770
|
# @type DistributeRules: Array
|
6982
6771
|
# @param DefaultRuleType: 默认分区策略。当NumberOfPartitions > 1时,该项必填。不满足DistributeRules中正则表达式的数据,将按照默认分区策略计算分区。
|
6983
6772
|
# 非mongo产品的枚举值为: table-按表名分区,pk-按表名+主键分区。mongo的枚举值为:collection-按集合名分区。
|
6984
6773
|
# 该字段与DistributeRules搭配使用,如果配置了该字段,视为配置了一条DistributeRules。
|
6985
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6986
6774
|
# @type DefaultRuleType: String
|
6987
6775
|
|
6988
6776
|
attr_accessor :NumberOfPartitions, :DistributeRules, :DefaultRuleType
|
@@ -7010,10 +6798,8 @@ module TencentCloud
|
|
7010
6798
|
# 订阅的数据库表信息,用于配置和查询订阅任务接口。
|
7011
6799
|
class SubscribeObject < TencentCloud::Common::AbstractModel
|
7012
6800
|
# @param ObjectType: 订阅数据的类型,枚举值:database-数据库,table-数据库的表(如果 DatabaseType 为 mongodb,则表示集合)
|
7013
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7014
6801
|
# @type ObjectType: String
|
7015
6802
|
# @param Database: 订阅的数据库名称
|
7016
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7017
6803
|
# @type Database: String
|
7018
6804
|
# @param Tables: 订阅数据库中表的名称。如果 DatabaseType 为 mongodb,填集合名。mongodb只支持订阅单库或者单集合。
|
7019
6805
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7037,13 +6823,10 @@ module TencentCloud
|
|
7037
6823
|
# 数据同步配置多节点数据库的节点信息。多节点数据库,如tdsqlmysql使用该结构;单节点数据库,如mysql使用Endpoint。
|
7038
6824
|
class SyncDBEndpointInfos < TencentCloud::Common::AbstractModel
|
7039
6825
|
# @param Region: 数据库所在地域
|
7040
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7041
6826
|
# @type Region: String
|
7042
6827
|
# @param AccessType: 实例网络接入类型,如:extranet(外网)、ipv6(公网ipv6)、cvm(云主机自建)、dcg(专线接入)、vpncloud(vpn接入的实例)、cdb(云数据库)、ccn(云联网)、intranet(自研上云)、vpc(私有网络)等,注意具体可选值依赖当前链路
|
7043
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7044
6828
|
# @type AccessType: String
|
7045
6829
|
# @param DatabaseType: 实例数据库类型,如:mysql,redis,mongodb,postgresql,mariadb,percona 等
|
7046
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7047
6830
|
# @type DatabaseType: String
|
7048
6831
|
# @param Info: 数据库信息。注意:如果数据库类型为tdsqlmysql,此处Endpoint数组的顺序应满足规则:proxy节点放在set节点之前。如果SrcConnectType选择proxy接入则只需要填写proxy节点即可。如果选择set接入,数组中第一个set节点必须是shardkey范围起始为0的分片
|
7049
6832
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -7422,16 +7205,12 @@ module TencentCloud
|
|
7422
7205
|
# 表对象集合,当 TableMode 为 partial 时,此项需要填写
|
7423
7206
|
class TableItem < TencentCloud::Common::AbstractModel
|
7424
7207
|
# @param TableName: 迁移的表名,大小写敏感
|
7425
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7426
7208
|
# @type TableName: String
|
7427
7209
|
# @param NewTableName: 迁移后的表名,当TableEditMode为rename时此项必填,注意此配置与TmpTables互斥,只能使用其中一种
|
7428
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7429
7210
|
# @type NewTableName: String
|
7430
7211
|
# @param TmpTables: 迁移临时表,注意此配置与NewTableName互斥,只能使用其中一种。当配置的同步对象为表级别且TableEditMode为pt时此项有意义,针对pt-osc等工具在迁移过程中产生的临时表进行同步,需要提前将可能的临时表配置在这里,否则不会同步任何临时表。示例,如要对t1进行pt-osc操作,此项配置应该为["\_t1\_new","\_t1\_old"];如要对t1进行gh-ost操作,此项配置应该为["\_t1\_ghc","\_t1\_gho","\_t1\_del"],pt-osc与gh-ost产生的临时表可同时配置。
|
7431
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7432
7212
|
# @type TmpTables: Array
|
7433
7213
|
# @param TableEditMode: 编辑表类型,rename(表映射),pt(同步附加表)
|
7434
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7435
7214
|
# @type TableEditMode: String
|
7436
7215
|
|
7437
7216
|
attr_accessor :TableName, :NewTableName, :TmpTables, :TableEditMode
|
@@ -7474,10 +7253,8 @@ module TencentCloud
|
|
7474
7253
|
# 标签
|
7475
7254
|
class TagItem < TencentCloud::Common::AbstractModel
|
7476
7255
|
# @param TagKey: 标签键
|
7477
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7478
7256
|
# @type TagKey: String
|
7479
7257
|
# @param TagValue: 标签值
|
7480
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7481
7258
|
# @type TagValue: String
|
7482
7259
|
|
7483
7260
|
attr_accessor :TagKey, :TagValue
|
@@ -7537,37 +7314,26 @@ module TencentCloud
|
|
7537
7314
|
# 计费状态信息
|
7538
7315
|
class TradeInfo < TencentCloud::Common::AbstractModel
|
7539
7316
|
# @param DealName: 交易订单号
|
7540
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7541
7317
|
# @type DealName: String
|
7542
7318
|
# @param LastDealName: 上一次交易订单号
|
7543
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7544
7319
|
# @type LastDealName: String
|
7545
7320
|
# @param InstanceClass: 实例规格,包括:micro、small、medium、large、xlarge、2xlarge等
|
7546
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7547
7321
|
# @type InstanceClass: String
|
7548
7322
|
# @param TradeStatus: 计费任务状态, normal(计费或待计费)、resizing(变配中)、reversing(冲正中,比较短暂的状态)、isolating(隔离中,比较短暂的状态)、isolated(已隔离)、offlining(下线中)、offlined(已下线)、notBilled(未计费)
|
7549
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7550
7323
|
# @type TradeStatus: String
|
7551
7324
|
# @param ExpireTime: 到期时间,格式为"yyyy-mm-dd hh:mm:ss"
|
7552
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7553
7325
|
# @type ExpireTime: String
|
7554
7326
|
# @param OfflineTime: 下线时间,格式为"yyyy-mm-dd hh:mm:ss"
|
7555
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7556
7327
|
# @type OfflineTime: String
|
7557
7328
|
# @param IsolateTime: 隔离时间,格式为"yyyy-mm-dd hh:mm:ss"
|
7558
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7559
7329
|
# @type IsolateTime: String
|
7560
7330
|
# @param OfflineReason: 下线原因
|
7561
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7562
7331
|
# @type OfflineReason: String
|
7563
7332
|
# @param IsolateReason: 隔离原因
|
7564
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7565
7333
|
# @type IsolateReason: String
|
7566
7334
|
# @param PayType: 付费类型,包括:postpay(后付费)、prepay(预付费)
|
7567
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7568
7335
|
# @type PayType: String
|
7569
7336
|
# @param BillingType: 任务计费类型,包括:billing(计费)、notBilling(不计费)、 promotions(促销活动中)
|
7570
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7571
7337
|
# @type BillingType: String
|
7572
7338
|
|
7573
7339
|
attr_accessor :DealName, :LastDealName, :InstanceClass, :TradeStatus, :ExpireTime, :OfflineTime, :IsolateTime, :OfflineReason, :IsolateReason, :PayType, :BillingType
|
@@ -7626,10 +7392,8 @@ module TencentCloud
|
|
7626
7392
|
# 视图对象
|
7627
7393
|
class ViewItem < TencentCloud::Common::AbstractModel
|
7628
7394
|
# @param ViewName: 视图名称
|
7629
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7630
7395
|
# @type ViewName: String
|
7631
7396
|
# @param NewViewName: 迁移后的视图名称
|
7632
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7633
7397
|
# @type NewViewName: String
|
7634
7398
|
|
7635
7399
|
attr_accessor :ViewName, :NewViewName
|
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.1017
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|