tencentcloud-sdk-cynosdb 3.0.846 → 3.0.847

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190107/models.rb +256 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0bfee183c631dae2b5c35c8be529aad97fd1fbc
4
- data.tar.gz: 547e09cd1160aa37b7e8839581858687549517d1
3
+ metadata.gz: 47e7b01c3739276f6fcabf6dfdb06c74e491d09e
4
+ data.tar.gz: 8e835fd6e6a18ad5c38f532529f79a472ec396e5
5
5
  SHA512:
6
- metadata.gz: 08f5c6d4b75036c545aba516f373594f0d7fd0d09df9bd5d68b0f1274f02d33a1644627921ada558fe6c2ef13341c4c3546e8e8241c2ac95233ad5a1842bf677
7
- data.tar.gz: d577b3c9e49ca3e490f561aed1a1e962e37e425dd40a40ea165fb3d80b9952edb7f2103bdc380aed1c95246b76c9bf1a69d72507d3801d2db7fae285f8963d5e
6
+ metadata.gz: e0cba1c1035ff680e0ef51bc2818de10eae3a088a5bbdef1121ba6eb074e3370f67830552fcda55845a9ee1cfeb2b526836c1f8d47c4ebf42459f7af656c6058
7
+ data.tar.gz: d4f19ef505ed930ba6b5f4abbc31db97f37d9734192cd84ba25023982ff4c41f36e8cf67ce9215ade85b4bdb815c9081146c3ee0472f93960519d152815b0980
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.846
1
+ 3.0.847
@@ -939,6 +939,9 @@ module TencentCloud
939
939
  # @type AppId: Integer
940
940
  # @param ClusterId: 集群id
941
941
  # @type ClusterId: String
942
+ # @param Region: 地域
943
+ # 注意:此字段可能返回 null,表示取不到有效值。
944
+ # @type Region: String
942
945
  # @param CreateTime: 任务创建时间
943
946
  # @type CreateTime: String
944
947
  # @param DelayTime: 延迟执行时间
@@ -1013,16 +1016,21 @@ module TencentCloud
1013
1016
  # @param TaskMaintainInfo: 维护时间
1014
1017
  # 注意:此字段可能返回 null,表示取不到有效值。
1015
1018
  # @type TaskMaintainInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.TaskMaintainInfo`
1019
+ # @param InstanceCLSDeliveryInfos: 实例日志投递信息
1020
+
1021
+ # 注意:此字段可能返回 null,表示取不到有效值。
1022
+ # @type InstanceCLSDeliveryInfos: Array
1016
1023
 
1017
- attr_accessor :ID, :AppId, :ClusterId, :CreateTime, :DelayTime, :ErrMsg, :FlowId, :Input, :InstanceGrpId, :InstanceGroupId, :InstanceId, :ObjectId, :ObjectType, :Operator, :Output, :Status, :TaskType, :TriggerTaskId, :UpdateTime, :StartTime, :EndTime, :ClusterName, :InstanceName, :Process, :ModifyParamsData, :CreateClustersData, :RollbackData, :ModifyInstanceData, :ManualBackupData, :ModifyDbVersionData, :ClusterSlaveData, :SwitchClusterLogBin, :ModifyInstanceParamsData, :TaskMaintainInfo
1024
+ attr_accessor :ID, :AppId, :ClusterId, :Region, :CreateTime, :DelayTime, :ErrMsg, :FlowId, :Input, :InstanceGrpId, :InstanceGroupId, :InstanceId, :ObjectId, :ObjectType, :Operator, :Output, :Status, :TaskType, :TriggerTaskId, :UpdateTime, :StartTime, :EndTime, :ClusterName, :InstanceName, :Process, :ModifyParamsData, :CreateClustersData, :RollbackData, :ModifyInstanceData, :ManualBackupData, :ModifyDbVersionData, :ClusterSlaveData, :SwitchClusterLogBin, :ModifyInstanceParamsData, :TaskMaintainInfo, :InstanceCLSDeliveryInfos
1018
1025
  extend Gem::Deprecate
1019
1026
  deprecate :InstanceGrpId, :none, 2024, 6
1020
1027
  deprecate :InstanceGrpId=, :none, 2024, 6
1021
1028
 
1022
- def initialize(id=nil, appid=nil, clusterid=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil)
1029
+ def initialize(id=nil, appid=nil, clusterid=nil, region=nil, createtime=nil, delaytime=nil, errmsg=nil, flowid=nil, input=nil, instancegrpid=nil, instancegroupid=nil, instanceid=nil, objectid=nil, objecttype=nil, operator=nil, output=nil, status=nil, tasktype=nil, triggertaskid=nil, updatetime=nil, starttime=nil, endtime=nil, clustername=nil, instancename=nil, process=nil, modifyparamsdata=nil, createclustersdata=nil, rollbackdata=nil, modifyinstancedata=nil, manualbackupdata=nil, modifydbversiondata=nil, clusterslavedata=nil, switchclusterlogbin=nil, modifyinstanceparamsdata=nil, taskmaintaininfo=nil, instanceclsdeliveryinfos=nil)
1023
1030
  @ID = id
1024
1031
  @AppId = appid
1025
1032
  @ClusterId = clusterid
1033
+ @Region = region
1026
1034
  @CreateTime = createtime
1027
1035
  @DelayTime = delaytime
1028
1036
  @ErrMsg = errmsg
@@ -1054,12 +1062,14 @@ module TencentCloud
1054
1062
  @SwitchClusterLogBin = switchclusterlogbin
1055
1063
  @ModifyInstanceParamsData = modifyinstanceparamsdata
1056
1064
  @TaskMaintainInfo = taskmaintaininfo
1065
+ @InstanceCLSDeliveryInfos = instanceclsdeliveryinfos
1057
1066
  end
1058
1067
 
1059
1068
  def deserialize(params)
1060
1069
  @ID = params['ID']
1061
1070
  @AppId = params['AppId']
1062
1071
  @ClusterId = params['ClusterId']
1072
+ @Region = params['Region']
1063
1073
  @CreateTime = params['CreateTime']
1064
1074
  @DelayTime = params['DelayTime']
1065
1075
  @ErrMsg = params['ErrMsg']
@@ -1125,6 +1135,14 @@ module TencentCloud
1125
1135
  @TaskMaintainInfo = TaskMaintainInfo.new
1126
1136
  @TaskMaintainInfo.deserialize(params['TaskMaintainInfo'])
1127
1137
  end
1138
+ unless params['InstanceCLSDeliveryInfos'].nil?
1139
+ @InstanceCLSDeliveryInfos = []
1140
+ params['InstanceCLSDeliveryInfos'].each do |i|
1141
+ instanceclsdeliveryinfo_tmp = InstanceCLSDeliveryInfo.new
1142
+ instanceclsdeliveryinfo_tmp.deserialize(i)
1143
+ @InstanceCLSDeliveryInfos << instanceclsdeliveryinfo_tmp
1144
+ end
1145
+ end
1128
1146
  end
1129
1147
  end
1130
1148
 
@@ -7339,6 +7357,62 @@ module TencentCloud
7339
7357
  end
7340
7358
  end
7341
7359
 
7360
+ # 交换实例信息
7361
+ class ExchangeInstanceInfo < TencentCloud::Common::AbstractModel
7362
+ # @param SrcInstanceInfo: 源实例信息
7363
+ # 注意:此字段可能返回 null,表示取不到有效值。
7364
+ # @type SrcInstanceInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackInstanceInfo`
7365
+ # @param DstInstanceInfo: 目标实例信息
7366
+ # 注意:此字段可能返回 null,表示取不到有效值。
7367
+ # @type DstInstanceInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackInstanceInfo`
7368
+
7369
+ attr_accessor :SrcInstanceInfo, :DstInstanceInfo
7370
+
7371
+ def initialize(srcinstanceinfo=nil, dstinstanceinfo=nil)
7372
+ @SrcInstanceInfo = srcinstanceinfo
7373
+ @DstInstanceInfo = dstinstanceinfo
7374
+ end
7375
+
7376
+ def deserialize(params)
7377
+ unless params['SrcInstanceInfo'].nil?
7378
+ @SrcInstanceInfo = RollbackInstanceInfo.new
7379
+ @SrcInstanceInfo.deserialize(params['SrcInstanceInfo'])
7380
+ end
7381
+ unless params['DstInstanceInfo'].nil?
7382
+ @DstInstanceInfo = RollbackInstanceInfo.new
7383
+ @DstInstanceInfo.deserialize(params['DstInstanceInfo'])
7384
+ end
7385
+ end
7386
+ end
7387
+
7388
+ # 交换RO组信息
7389
+ class ExchangeRoGroupInfo < TencentCloud::Common::AbstractModel
7390
+ # @param SrcRoGroupInfo: 源RO组信息
7391
+ # 注意:此字段可能返回 null,表示取不到有效值。
7392
+ # @type SrcRoGroupInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackRoGroupInfo`
7393
+ # @param DstRoGroupInfo: 目标RO组信息
7394
+ # 注意:此字段可能返回 null,表示取不到有效值。
7395
+ # @type DstRoGroupInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackRoGroupInfo`
7396
+
7397
+ attr_accessor :SrcRoGroupInfo, :DstRoGroupInfo
7398
+
7399
+ def initialize(srcrogroupinfo=nil, dstrogroupinfo=nil)
7400
+ @SrcRoGroupInfo = srcrogroupinfo
7401
+ @DstRoGroupInfo = dstrogroupinfo
7402
+ end
7403
+
7404
+ def deserialize(params)
7405
+ unless params['SrcRoGroupInfo'].nil?
7406
+ @SrcRoGroupInfo = RollbackRoGroupInfo.new
7407
+ @SrcRoGroupInfo.deserialize(params['SrcRoGroupInfo'])
7408
+ end
7409
+ unless params['DstRoGroupInfo'].nil?
7410
+ @DstRoGroupInfo = RollbackRoGroupInfo.new
7411
+ @DstRoGroupInfo.deserialize(params['DstRoGroupInfo'])
7412
+ end
7413
+ end
7414
+ end
7415
+
7342
7416
  # ExportInstanceErrorLogs请求参数结构体
7343
7417
  class ExportInstanceErrorLogsRequest < TencentCloud::Common::AbstractModel
7344
7418
  # @param InstanceId: 实例ID
@@ -11759,10 +11833,13 @@ module TencentCloud
11759
11833
  # @param BackupFileName: 备份文件名称
11760
11834
  # 注意:此字段可能返回 null,表示取不到有效值。
11761
11835
  # @type BackupFileName: String
11836
+ # @param RollbackProcess: 回档进程
11837
+ # 注意:此字段可能返回 null,表示取不到有效值。
11838
+ # @type RollbackProcess: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackProcessInfo`
11762
11839
 
11763
- attr_accessor :Cpu, :Memory, :StorageLimit, :OriginalClusterId, :OriginalClusterName, :RollbackStrategy, :SnapshotTime, :MinCpu, :MaxCpu, :SnapShotId, :RollbackDatabases, :RollbackTables, :BackupFileName
11840
+ attr_accessor :Cpu, :Memory, :StorageLimit, :OriginalClusterId, :OriginalClusterName, :RollbackStrategy, :SnapshotTime, :MinCpu, :MaxCpu, :SnapShotId, :RollbackDatabases, :RollbackTables, :BackupFileName, :RollbackProcess
11764
11841
 
11765
- def initialize(cpu=nil, memory=nil, storagelimit=nil, originalclusterid=nil, originalclustername=nil, rollbackstrategy=nil, snapshottime=nil, mincpu=nil, maxcpu=nil, snapshotid=nil, rollbackdatabases=nil, rollbacktables=nil, backupfilename=nil)
11842
+ def initialize(cpu=nil, memory=nil, storagelimit=nil, originalclusterid=nil, originalclustername=nil, rollbackstrategy=nil, snapshottime=nil, mincpu=nil, maxcpu=nil, snapshotid=nil, rollbackdatabases=nil, rollbacktables=nil, backupfilename=nil, rollbackprocess=nil)
11766
11843
  @Cpu = cpu
11767
11844
  @Memory = memory
11768
11845
  @StorageLimit = storagelimit
@@ -11776,6 +11853,7 @@ module TencentCloud
11776
11853
  @RollbackDatabases = rollbackdatabases
11777
11854
  @RollbackTables = rollbacktables
11778
11855
  @BackupFileName = backupfilename
11856
+ @RollbackProcess = rollbackprocess
11779
11857
  end
11780
11858
 
11781
11859
  def deserialize(params)
@@ -11806,6 +11884,10 @@ module TencentCloud
11806
11884
  end
11807
11885
  end
11808
11886
  @BackupFileName = params['BackupFileName']
11887
+ unless params['RollbackProcess'].nil?
11888
+ @RollbackProcess = RollbackProcessInfo.new
11889
+ @RollbackProcess.deserialize(params['RollbackProcess'])
11890
+ end
11809
11891
  end
11810
11892
  end
11811
11893
 
@@ -11829,6 +11911,176 @@ module TencentCloud
11829
11911
  end
11830
11912
  end
11831
11913
 
11914
+ # 回档实例信息
11915
+ class RollbackInstanceInfo < TencentCloud::Common::AbstractModel
11916
+ # @param ClusterId: 集群ID
11917
+ # 注意:此字段可能返回 null,表示取不到有效值。
11918
+ # @type ClusterId: String
11919
+ # @param ClusterName: 集群名称
11920
+ # 注意:此字段可能返回 null,表示取不到有效值。
11921
+ # @type ClusterName: String
11922
+ # @param UniqVpcId: vpc信息
11923
+ # 注意:此字段可能返回 null,表示取不到有效值。
11924
+ # @type UniqVpcId: String
11925
+ # @param UniqSubnetId: 子网信息
11926
+ # 注意:此字段可能返回 null,表示取不到有效值。
11927
+ # @type UniqSubnetId: String
11928
+ # @param Vip: vip信息
11929
+ # 注意:此字段可能返回 null,表示取不到有效值。
11930
+ # @type Vip: String
11931
+ # @param Vport: vport信息
11932
+ # 注意:此字段可能返回 null,表示取不到有效值。
11933
+ # @type Vport: Integer
11934
+ # @param InstanceId: 实例ID
11935
+ # 注意:此字段可能返回 null,表示取不到有效值。
11936
+ # @type InstanceId: String
11937
+ # @param InstanceName: 实例名称
11938
+ # 注意:此字段可能返回 null,表示取不到有效值。
11939
+ # @type InstanceName: String
11940
+ # @param Status: 状态
11941
+ # 注意:此字段可能返回 null,表示取不到有效值。
11942
+ # @type Status: String
11943
+ # @param Cpu: cpu大小
11944
+ # 注意:此字段可能返回 null,表示取不到有效值。
11945
+ # @type Cpu: Integer
11946
+ # @param Mem: 内存大小
11947
+ # 注意:此字段可能返回 null,表示取不到有效值。
11948
+ # @type Mem: Integer
11949
+ # @param StorageLimit: 存储大小
11950
+ # 注意:此字段可能返回 null,表示取不到有效值。
11951
+ # @type StorageLimit: Integer
11952
+
11953
+ attr_accessor :ClusterId, :ClusterName, :UniqVpcId, :UniqSubnetId, :Vip, :Vport, :InstanceId, :InstanceName, :Status, :Cpu, :Mem, :StorageLimit
11954
+
11955
+ def initialize(clusterid=nil, clustername=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil, instanceid=nil, instancename=nil, status=nil, cpu=nil, mem=nil, storagelimit=nil)
11956
+ @ClusterId = clusterid
11957
+ @ClusterName = clustername
11958
+ @UniqVpcId = uniqvpcid
11959
+ @UniqSubnetId = uniqsubnetid
11960
+ @Vip = vip
11961
+ @Vport = vport
11962
+ @InstanceId = instanceid
11963
+ @InstanceName = instancename
11964
+ @Status = status
11965
+ @Cpu = cpu
11966
+ @Mem = mem
11967
+ @StorageLimit = storagelimit
11968
+ end
11969
+
11970
+ def deserialize(params)
11971
+ @ClusterId = params['ClusterId']
11972
+ @ClusterName = params['ClusterName']
11973
+ @UniqVpcId = params['UniqVpcId']
11974
+ @UniqSubnetId = params['UniqSubnetId']
11975
+ @Vip = params['Vip']
11976
+ @Vport = params['Vport']
11977
+ @InstanceId = params['InstanceId']
11978
+ @InstanceName = params['InstanceName']
11979
+ @Status = params['Status']
11980
+ @Cpu = params['Cpu']
11981
+ @Mem = params['Mem']
11982
+ @StorageLimit = params['StorageLimit']
11983
+ end
11984
+ end
11985
+
11986
+ # 回档进度详情
11987
+ class RollbackProcessInfo < TencentCloud::Common::AbstractModel
11988
+ # @param IsVipSwitchable: 是否可以交换vip
11989
+ # 注意:此字段可能返回 null,表示取不到有效值。
11990
+ # @type IsVipSwitchable: Boolean
11991
+ # @param VipSwitchableTime: vip可交换时间
11992
+ # 注意:此字段可能返回 null,表示取不到有效值。
11993
+ # @type VipSwitchableTime: String
11994
+ # @param ExchangeInstanceInfoList: 交换实例列表
11995
+ # 注意:此字段可能返回 null,表示取不到有效值。
11996
+ # @type ExchangeInstanceInfoList: Array
11997
+ # @param ExchangeRoGroupInfoList: 交换RO组列表
11998
+ # 注意:此字段可能返回 null,表示取不到有效值。
11999
+ # @type ExchangeRoGroupInfoList: Array
12000
+ # @param CurrentStep: 当前步骤
12001
+ # 注意:此字段可能返回 null,表示取不到有效值。
12002
+ # @type CurrentStep: String
12003
+ # @param CurrentStepProgress: 当前步骤进度
12004
+ # 注意:此字段可能返回 null,表示取不到有效值。
12005
+ # @type CurrentStepProgress: Integer
12006
+ # @param CurrentStepRemainingTime: 当前步骤剩余时间
12007
+ # 注意:此字段可能返回 null,表示取不到有效值。
12008
+ # @type CurrentStepRemainingTime: String
12009
+
12010
+ attr_accessor :IsVipSwitchable, :VipSwitchableTime, :ExchangeInstanceInfoList, :ExchangeRoGroupInfoList, :CurrentStep, :CurrentStepProgress, :CurrentStepRemainingTime
12011
+
12012
+ def initialize(isvipswitchable=nil, vipswitchabletime=nil, exchangeinstanceinfolist=nil, exchangerogroupinfolist=nil, currentstep=nil, currentstepprogress=nil, currentstepremainingtime=nil)
12013
+ @IsVipSwitchable = isvipswitchable
12014
+ @VipSwitchableTime = vipswitchabletime
12015
+ @ExchangeInstanceInfoList = exchangeinstanceinfolist
12016
+ @ExchangeRoGroupInfoList = exchangerogroupinfolist
12017
+ @CurrentStep = currentstep
12018
+ @CurrentStepProgress = currentstepprogress
12019
+ @CurrentStepRemainingTime = currentstepremainingtime
12020
+ end
12021
+
12022
+ def deserialize(params)
12023
+ @IsVipSwitchable = params['IsVipSwitchable']
12024
+ @VipSwitchableTime = params['VipSwitchableTime']
12025
+ unless params['ExchangeInstanceInfoList'].nil?
12026
+ @ExchangeInstanceInfoList = []
12027
+ params['ExchangeInstanceInfoList'].each do |i|
12028
+ exchangeinstanceinfo_tmp = ExchangeInstanceInfo.new
12029
+ exchangeinstanceinfo_tmp.deserialize(i)
12030
+ @ExchangeInstanceInfoList << exchangeinstanceinfo_tmp
12031
+ end
12032
+ end
12033
+ unless params['ExchangeRoGroupInfoList'].nil?
12034
+ @ExchangeRoGroupInfoList = []
12035
+ params['ExchangeRoGroupInfoList'].each do |i|
12036
+ exchangerogroupinfo_tmp = ExchangeRoGroupInfo.new
12037
+ exchangerogroupinfo_tmp.deserialize(i)
12038
+ @ExchangeRoGroupInfoList << exchangerogroupinfo_tmp
12039
+ end
12040
+ end
12041
+ @CurrentStep = params['CurrentStep']
12042
+ @CurrentStepProgress = params['CurrentStepProgress']
12043
+ @CurrentStepRemainingTime = params['CurrentStepRemainingTime']
12044
+ end
12045
+ end
12046
+
12047
+ # 回档RO组信息
12048
+ class RollbackRoGroupInfo < TencentCloud::Common::AbstractModel
12049
+ # @param InstanceGroupId: 实例组ID
12050
+ # 注意:此字段可能返回 null,表示取不到有效值。
12051
+ # @type InstanceGroupId: String
12052
+ # @param UniqVpcId: vpc信息
12053
+ # 注意:此字段可能返回 null,表示取不到有效值。
12054
+ # @type UniqVpcId: String
12055
+ # @param UniqSubnetId: 子网信息
12056
+ # 注意:此字段可能返回 null,表示取不到有效值。
12057
+ # @type UniqSubnetId: String
12058
+ # @param Vip: vip信息
12059
+ # 注意:此字段可能返回 null,表示取不到有效值。
12060
+ # @type Vip: String
12061
+ # @param Vport: vport信息
12062
+ # 注意:此字段可能返回 null,表示取不到有效值。
12063
+ # @type Vport: Integer
12064
+
12065
+ attr_accessor :InstanceGroupId, :UniqVpcId, :UniqSubnetId, :Vip, :Vport
12066
+
12067
+ def initialize(instancegroupid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil)
12068
+ @InstanceGroupId = instancegroupid
12069
+ @UniqVpcId = uniqvpcid
12070
+ @UniqSubnetId = uniqsubnetid
12071
+ @Vip = vip
12072
+ @Vport = vport
12073
+ end
12074
+
12075
+ def deserialize(params)
12076
+ @InstanceGroupId = params['InstanceGroupId']
12077
+ @UniqVpcId = params['UniqVpcId']
12078
+ @UniqSubnetId = params['UniqSubnetId']
12079
+ @Vip = params['Vip']
12080
+ @Vport = params['Vport']
12081
+ end
12082
+ end
12083
+
11832
12084
  # 回档数据库及表
11833
12085
  class RollbackTable < TencentCloud::Common::AbstractModel
11834
12086
  # @param Database: 数据库名称
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.846
4
+ version: 3.0.847
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud