tencentcloud-sdk-cynosdb 3.0.846 → 3.0.848

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0bfee183c631dae2b5c35c8be529aad97fd1fbc
4
- data.tar.gz: 547e09cd1160aa37b7e8839581858687549517d1
3
+ metadata.gz: 4fb14d3d1d02df353c9f2bb8f347a1a743676c56
4
+ data.tar.gz: 4fa208283ac051ea66d65bc006b77b6cb804fd20
5
5
  SHA512:
6
- metadata.gz: 08f5c6d4b75036c545aba516f373594f0d7fd0d09df9bd5d68b0f1274f02d33a1644627921ada558fe6c2ef13341c4c3546e8e8241c2ac95233ad5a1842bf677
7
- data.tar.gz: d577b3c9e49ca3e490f561aed1a1e962e37e425dd40a40ea165fb3d80b9952edb7f2103bdc380aed1c95246b76c9bf1a69d72507d3801d2db7fae285f8963d5e
6
+ metadata.gz: db4ab0fa28202673d68358e0072332e47d5d656e48e08799edc0daf024c1a7f7da62a0f4a5831d2832914bf1cc0f53f52cb42d6e56e4b5abd7e3e80ac9bcf3c0
7
+ data.tar.gz: 0d9a73a84786507f006abaa6f9768a7f6ac5839573dd3f0484515f6019c81c3555df7203f9d4a32b2c83c600020650487584ed59a3ab5f6707d9c9f9f6f04066
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.846
1
+ 3.0.848
@@ -2959,6 +2959,30 @@ module TencentCloud
2959
2959
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2960
2960
  end
2961
2961
 
2962
+ # 续费集群
2963
+
2964
+ # @param request: Request instance for RenewClusters.
2965
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::RenewClustersRequest`
2966
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::RenewClustersResponse`
2967
+ def RenewClusters(request)
2968
+ body = send_request('RenewClusters', request.serialize)
2969
+ response = JSON.parse(body)
2970
+ if response['Response'].key?('Error') == false
2971
+ model = RenewClustersResponse.new
2972
+ model.deserialize(response['Response'])
2973
+ model
2974
+ else
2975
+ code = response['Response']['Error']['Code']
2976
+ message = response['Response']['Error']['Message']
2977
+ reqid = response['Response']['RequestId']
2978
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2979
+ end
2980
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2981
+ raise e
2982
+ rescue StandardError => e
2983
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2984
+ end
2985
+
2962
2986
  # 本接口(ResetAccountPassword)用于修改数据库账号密码
2963
2987
 
2964
2988
  # @param request: Request instance for ResetAccountPassword.
@@ -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: 实例日志投递信息
1016
1020
 
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
1021
+ # 注意:此字段可能返回 null,表示取不到有效值。
1022
+ # @type InstanceCLSDeliveryInfos: Array
1023
+
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
@@ -11447,6 +11521,75 @@ module TencentCloud
11447
11521
  end
11448
11522
  end
11449
11523
 
11524
+ # RenewClusters请求参数结构体
11525
+ class RenewClustersRequest < TencentCloud::Common::AbstractModel
11526
+ # @param ClusterId: 集群ID
11527
+ # @type ClusterId: String
11528
+ # @param TimeSpan: 续费时长
11529
+ # @type TimeSpan: Float
11530
+ # @param TimeUnit: 时间单位 y,m,d,h,i,s
11531
+ # @type TimeUnit: String
11532
+ # @param DealMode: 交易模式 0-下单并支付 1-下单
11533
+ # @type DealMode: Integer
11534
+
11535
+ attr_accessor :ClusterId, :TimeSpan, :TimeUnit, :DealMode
11536
+
11537
+ def initialize(clusterid=nil, timespan=nil, timeunit=nil, dealmode=nil)
11538
+ @ClusterId = clusterid
11539
+ @TimeSpan = timespan
11540
+ @TimeUnit = timeunit
11541
+ @DealMode = dealmode
11542
+ end
11543
+
11544
+ def deserialize(params)
11545
+ @ClusterId = params['ClusterId']
11546
+ @TimeSpan = params['TimeSpan']
11547
+ @TimeUnit = params['TimeUnit']
11548
+ @DealMode = params['DealMode']
11549
+ end
11550
+ end
11551
+
11552
+ # RenewClusters返回参数结构体
11553
+ class RenewClustersResponse < TencentCloud::Common::AbstractModel
11554
+ # @param BigDealIds: 预付费总订单号
11555
+ # 注意:此字段可能返回 null,表示取不到有效值。
11556
+ # @type BigDealIds: Array
11557
+ # @param DealNames: 退款订单号
11558
+ # 注意:此字段可能返回 null,表示取不到有效值。
11559
+ # @type DealNames: Array
11560
+ # @param TranId: 冻结流水,一次开通一个冻结流水
11561
+ # 注意:此字段可能返回 null,表示取不到有效值。
11562
+ # @type TranId: String
11563
+ # @param ResourceIds: 每个订单号对应的发货资源id列表
11564
+ # 注意:此字段可能返回 null,表示取不到有效值。
11565
+ # @type ResourceIds: Array
11566
+ # @param ClusterIds: 集群id列表
11567
+ # 注意:此字段可能返回 null,表示取不到有效值。
11568
+ # @type ClusterIds: Array
11569
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11570
+ # @type RequestId: String
11571
+
11572
+ attr_accessor :BigDealIds, :DealNames, :TranId, :ResourceIds, :ClusterIds, :RequestId
11573
+
11574
+ def initialize(bigdealids=nil, dealnames=nil, tranid=nil, resourceids=nil, clusterids=nil, requestid=nil)
11575
+ @BigDealIds = bigdealids
11576
+ @DealNames = dealnames
11577
+ @TranId = tranid
11578
+ @ResourceIds = resourceids
11579
+ @ClusterIds = clusterids
11580
+ @RequestId = requestid
11581
+ end
11582
+
11583
+ def deserialize(params)
11584
+ @BigDealIds = params['BigDealIds']
11585
+ @DealNames = params['DealNames']
11586
+ @TranId = params['TranId']
11587
+ @ResourceIds = params['ResourceIds']
11588
+ @ClusterIds = params['ClusterIds']
11589
+ @RequestId = params['RequestId']
11590
+ end
11591
+ end
11592
+
11450
11593
  # ResetAccountPassword请求参数结构体
11451
11594
  class ResetAccountPasswordRequest < TencentCloud::Common::AbstractModel
11452
11595
  # @param AccountName: 数据库账号名
@@ -11759,10 +11902,13 @@ module TencentCloud
11759
11902
  # @param BackupFileName: 备份文件名称
11760
11903
  # 注意:此字段可能返回 null,表示取不到有效值。
11761
11904
  # @type BackupFileName: String
11905
+ # @param RollbackProcess: 回档进程
11906
+ # 注意:此字段可能返回 null,表示取不到有效值。
11907
+ # @type RollbackProcess: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackProcessInfo`
11762
11908
 
11763
- attr_accessor :Cpu, :Memory, :StorageLimit, :OriginalClusterId, :OriginalClusterName, :RollbackStrategy, :SnapshotTime, :MinCpu, :MaxCpu, :SnapShotId, :RollbackDatabases, :RollbackTables, :BackupFileName
11909
+ attr_accessor :Cpu, :Memory, :StorageLimit, :OriginalClusterId, :OriginalClusterName, :RollbackStrategy, :SnapshotTime, :MinCpu, :MaxCpu, :SnapShotId, :RollbackDatabases, :RollbackTables, :BackupFileName, :RollbackProcess
11764
11910
 
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)
11911
+ 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
11912
  @Cpu = cpu
11767
11913
  @Memory = memory
11768
11914
  @StorageLimit = storagelimit
@@ -11776,6 +11922,7 @@ module TencentCloud
11776
11922
  @RollbackDatabases = rollbackdatabases
11777
11923
  @RollbackTables = rollbacktables
11778
11924
  @BackupFileName = backupfilename
11925
+ @RollbackProcess = rollbackprocess
11779
11926
  end
11780
11927
 
11781
11928
  def deserialize(params)
@@ -11806,6 +11953,10 @@ module TencentCloud
11806
11953
  end
11807
11954
  end
11808
11955
  @BackupFileName = params['BackupFileName']
11956
+ unless params['RollbackProcess'].nil?
11957
+ @RollbackProcess = RollbackProcessInfo.new
11958
+ @RollbackProcess.deserialize(params['RollbackProcess'])
11959
+ end
11809
11960
  end
11810
11961
  end
11811
11962
 
@@ -11829,6 +11980,176 @@ module TencentCloud
11829
11980
  end
11830
11981
  end
11831
11982
 
11983
+ # 回档实例信息
11984
+ class RollbackInstanceInfo < TencentCloud::Common::AbstractModel
11985
+ # @param ClusterId: 集群ID
11986
+ # 注意:此字段可能返回 null,表示取不到有效值。
11987
+ # @type ClusterId: String
11988
+ # @param ClusterName: 集群名称
11989
+ # 注意:此字段可能返回 null,表示取不到有效值。
11990
+ # @type ClusterName: String
11991
+ # @param UniqVpcId: vpc信息
11992
+ # 注意:此字段可能返回 null,表示取不到有效值。
11993
+ # @type UniqVpcId: String
11994
+ # @param UniqSubnetId: 子网信息
11995
+ # 注意:此字段可能返回 null,表示取不到有效值。
11996
+ # @type UniqSubnetId: String
11997
+ # @param Vip: vip信息
11998
+ # 注意:此字段可能返回 null,表示取不到有效值。
11999
+ # @type Vip: String
12000
+ # @param Vport: vport信息
12001
+ # 注意:此字段可能返回 null,表示取不到有效值。
12002
+ # @type Vport: Integer
12003
+ # @param InstanceId: 实例ID
12004
+ # 注意:此字段可能返回 null,表示取不到有效值。
12005
+ # @type InstanceId: String
12006
+ # @param InstanceName: 实例名称
12007
+ # 注意:此字段可能返回 null,表示取不到有效值。
12008
+ # @type InstanceName: String
12009
+ # @param Status: 状态
12010
+ # 注意:此字段可能返回 null,表示取不到有效值。
12011
+ # @type Status: String
12012
+ # @param Cpu: cpu大小
12013
+ # 注意:此字段可能返回 null,表示取不到有效值。
12014
+ # @type Cpu: Integer
12015
+ # @param Mem: 内存大小
12016
+ # 注意:此字段可能返回 null,表示取不到有效值。
12017
+ # @type Mem: Integer
12018
+ # @param StorageLimit: 存储大小
12019
+ # 注意:此字段可能返回 null,表示取不到有效值。
12020
+ # @type StorageLimit: Integer
12021
+
12022
+ attr_accessor :ClusterId, :ClusterName, :UniqVpcId, :UniqSubnetId, :Vip, :Vport, :InstanceId, :InstanceName, :Status, :Cpu, :Mem, :StorageLimit
12023
+
12024
+ 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)
12025
+ @ClusterId = clusterid
12026
+ @ClusterName = clustername
12027
+ @UniqVpcId = uniqvpcid
12028
+ @UniqSubnetId = uniqsubnetid
12029
+ @Vip = vip
12030
+ @Vport = vport
12031
+ @InstanceId = instanceid
12032
+ @InstanceName = instancename
12033
+ @Status = status
12034
+ @Cpu = cpu
12035
+ @Mem = mem
12036
+ @StorageLimit = storagelimit
12037
+ end
12038
+
12039
+ def deserialize(params)
12040
+ @ClusterId = params['ClusterId']
12041
+ @ClusterName = params['ClusterName']
12042
+ @UniqVpcId = params['UniqVpcId']
12043
+ @UniqSubnetId = params['UniqSubnetId']
12044
+ @Vip = params['Vip']
12045
+ @Vport = params['Vport']
12046
+ @InstanceId = params['InstanceId']
12047
+ @InstanceName = params['InstanceName']
12048
+ @Status = params['Status']
12049
+ @Cpu = params['Cpu']
12050
+ @Mem = params['Mem']
12051
+ @StorageLimit = params['StorageLimit']
12052
+ end
12053
+ end
12054
+
12055
+ # 回档进度详情
12056
+ class RollbackProcessInfo < TencentCloud::Common::AbstractModel
12057
+ # @param IsVipSwitchable: 是否可以交换vip
12058
+ # 注意:此字段可能返回 null,表示取不到有效值。
12059
+ # @type IsVipSwitchable: Boolean
12060
+ # @param VipSwitchableTime: vip可交换时间
12061
+ # 注意:此字段可能返回 null,表示取不到有效值。
12062
+ # @type VipSwitchableTime: String
12063
+ # @param ExchangeInstanceInfoList: 交换实例列表
12064
+ # 注意:此字段可能返回 null,表示取不到有效值。
12065
+ # @type ExchangeInstanceInfoList: Array
12066
+ # @param ExchangeRoGroupInfoList: 交换RO组列表
12067
+ # 注意:此字段可能返回 null,表示取不到有效值。
12068
+ # @type ExchangeRoGroupInfoList: Array
12069
+ # @param CurrentStep: 当前步骤
12070
+ # 注意:此字段可能返回 null,表示取不到有效值。
12071
+ # @type CurrentStep: String
12072
+ # @param CurrentStepProgress: 当前步骤进度
12073
+ # 注意:此字段可能返回 null,表示取不到有效值。
12074
+ # @type CurrentStepProgress: Integer
12075
+ # @param CurrentStepRemainingTime: 当前步骤剩余时间
12076
+ # 注意:此字段可能返回 null,表示取不到有效值。
12077
+ # @type CurrentStepRemainingTime: String
12078
+
12079
+ attr_accessor :IsVipSwitchable, :VipSwitchableTime, :ExchangeInstanceInfoList, :ExchangeRoGroupInfoList, :CurrentStep, :CurrentStepProgress, :CurrentStepRemainingTime
12080
+
12081
+ def initialize(isvipswitchable=nil, vipswitchabletime=nil, exchangeinstanceinfolist=nil, exchangerogroupinfolist=nil, currentstep=nil, currentstepprogress=nil, currentstepremainingtime=nil)
12082
+ @IsVipSwitchable = isvipswitchable
12083
+ @VipSwitchableTime = vipswitchabletime
12084
+ @ExchangeInstanceInfoList = exchangeinstanceinfolist
12085
+ @ExchangeRoGroupInfoList = exchangerogroupinfolist
12086
+ @CurrentStep = currentstep
12087
+ @CurrentStepProgress = currentstepprogress
12088
+ @CurrentStepRemainingTime = currentstepremainingtime
12089
+ end
12090
+
12091
+ def deserialize(params)
12092
+ @IsVipSwitchable = params['IsVipSwitchable']
12093
+ @VipSwitchableTime = params['VipSwitchableTime']
12094
+ unless params['ExchangeInstanceInfoList'].nil?
12095
+ @ExchangeInstanceInfoList = []
12096
+ params['ExchangeInstanceInfoList'].each do |i|
12097
+ exchangeinstanceinfo_tmp = ExchangeInstanceInfo.new
12098
+ exchangeinstanceinfo_tmp.deserialize(i)
12099
+ @ExchangeInstanceInfoList << exchangeinstanceinfo_tmp
12100
+ end
12101
+ end
12102
+ unless params['ExchangeRoGroupInfoList'].nil?
12103
+ @ExchangeRoGroupInfoList = []
12104
+ params['ExchangeRoGroupInfoList'].each do |i|
12105
+ exchangerogroupinfo_tmp = ExchangeRoGroupInfo.new
12106
+ exchangerogroupinfo_tmp.deserialize(i)
12107
+ @ExchangeRoGroupInfoList << exchangerogroupinfo_tmp
12108
+ end
12109
+ end
12110
+ @CurrentStep = params['CurrentStep']
12111
+ @CurrentStepProgress = params['CurrentStepProgress']
12112
+ @CurrentStepRemainingTime = params['CurrentStepRemainingTime']
12113
+ end
12114
+ end
12115
+
12116
+ # 回档RO组信息
12117
+ class RollbackRoGroupInfo < TencentCloud::Common::AbstractModel
12118
+ # @param InstanceGroupId: 实例组ID
12119
+ # 注意:此字段可能返回 null,表示取不到有效值。
12120
+ # @type InstanceGroupId: String
12121
+ # @param UniqVpcId: vpc信息
12122
+ # 注意:此字段可能返回 null,表示取不到有效值。
12123
+ # @type UniqVpcId: String
12124
+ # @param UniqSubnetId: 子网信息
12125
+ # 注意:此字段可能返回 null,表示取不到有效值。
12126
+ # @type UniqSubnetId: String
12127
+ # @param Vip: vip信息
12128
+ # 注意:此字段可能返回 null,表示取不到有效值。
12129
+ # @type Vip: String
12130
+ # @param Vport: vport信息
12131
+ # 注意:此字段可能返回 null,表示取不到有效值。
12132
+ # @type Vport: Integer
12133
+
12134
+ attr_accessor :InstanceGroupId, :UniqVpcId, :UniqSubnetId, :Vip, :Vport
12135
+
12136
+ def initialize(instancegroupid=nil, uniqvpcid=nil, uniqsubnetid=nil, vip=nil, vport=nil)
12137
+ @InstanceGroupId = instancegroupid
12138
+ @UniqVpcId = uniqvpcid
12139
+ @UniqSubnetId = uniqsubnetid
12140
+ @Vip = vip
12141
+ @Vport = vport
12142
+ end
12143
+
12144
+ def deserialize(params)
12145
+ @InstanceGroupId = params['InstanceGroupId']
12146
+ @UniqVpcId = params['UniqVpcId']
12147
+ @UniqSubnetId = params['UniqSubnetId']
12148
+ @Vip = params['Vip']
12149
+ @Vport = params['Vport']
12150
+ end
12151
+ end
12152
+
11832
12153
  # 回档数据库及表
11833
12154
  class RollbackTable < TencentCloud::Common::AbstractModel
11834
12155
  # @param Database: 数据库名称
metadata CHANGED
@@ -1,14 +1,14 @@
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.848
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common