tencentcloud-sdk-cynosdb 3.0.765 → 3.0.766

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: cbbc570a8c8d08cb7bb3609bc14fc4338164ff6a
4
- data.tar.gz: 491effdd030e951219f09b86dc6ea23d1c5a3205
3
+ metadata.gz: a553149ffb93a46a39e1c33e3214824bf1014a31
4
+ data.tar.gz: a6aaa403fc2bbf72ab824e1143394205475a684c
5
5
  SHA512:
6
- metadata.gz: 144090591ac8fc778d8aa8d9176a2bb88fef4d8b839a39995988358cac1b6c3844737866411e58bc2c1051cbfe52019669f68fcdafd0875ff26cb7b06b60b86e
7
- data.tar.gz: c03c4e3c5972e65130abbd3b1f5cf175a7a00e7857360738c37ecee35e522db1c8fec9bb79b8fc2ec2cd67e9d33963e23ee30cf85835cba6cf2477ccc6ae3868
6
+ metadata.gz: 7437297dab30a90f734b64f397e498c6a7769a35382fdefe13eab1e763b7ae45fba1d16e9b41e2041295b2bb726d6a8a38db50d6ac1e18a68dad486e7e1c237c
7
+ data.tar.gz: 1bd448763a0e0c70bd606fb594c0743b1f18d5636079fe5a72b8075a848b05914a0f4ca1645a1a42a27fa3a4c7214d0c0d237c6c5cd5a0c92ffdabda1a11f2f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.765
1
+ 3.0.766
@@ -1709,6 +1709,30 @@ module TencentCloud
1709
1709
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1710
1710
  end
1711
1711
 
1712
+ # 查询任务列表
1713
+
1714
+ # @param request: Request instance for DescribeTasks.
1715
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeTasksRequest`
1716
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeTasksResponse`
1717
+ def DescribeTasks(request)
1718
+ body = send_request('DescribeTasks', request.serialize)
1719
+ response = JSON.parse(body)
1720
+ if response['Response'].key?('Error') == false
1721
+ model = DescribeTasksResponse.new
1722
+ model.deserialize(response['Response'])
1723
+ model
1724
+ else
1725
+ code = response['Response']['Error']['Code']
1726
+ message = response['Response']['Error']['Message']
1727
+ reqid = response['Response']['RequestId']
1728
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1729
+ end
1730
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1731
+ raise e
1732
+ rescue StandardError => e
1733
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1734
+ end
1735
+
1712
1736
  # 本接口(DescribeZones)用于查询可售卖地域可用区信息。
1713
1737
 
1714
1738
  # @param request: Request instance for DescribeZones.
@@ -916,6 +916,271 @@ module TencentCloud
916
916
  end
917
917
  end
918
918
 
919
+ # 任务信息
920
+ class BizTaskInfo < TencentCloud::Common::AbstractModel
921
+ # @param ID: 任务id
922
+ # @type ID: Integer
923
+ # @param AppId: 用户appid
924
+ # @type AppId: Integer
925
+ # @param ClusterId: 集群id
926
+ # @type ClusterId: String
927
+ # @param CreateTime: 任务创建时间
928
+ # @type CreateTime: String
929
+ # @param DelayTime: 延迟执行时间
930
+ # 注意:此字段可能返回 null,表示取不到有效值。
931
+ # @type DelayTime: String
932
+ # @param ErrMsg: 任务失败信息
933
+ # 注意:此字段可能返回 null,表示取不到有效值。
934
+ # @type ErrMsg: String
935
+ # @param FlowId: 异步任务流id
936
+ # @type FlowId: Integer
937
+ # @param Input: 任务输入信息
938
+ # @type Input: String
939
+ # @param InstanceGrpId: 实例组id
940
+ # @type InstanceGrpId: String
941
+ # @param InstanceGroupId: 实例组id
942
+ # @type InstanceGroupId: String
943
+ # @param InstanceId: 实例id
944
+ # @type InstanceId: String
945
+ # @param ObjectId: 任务操作对象id
946
+ # @type ObjectId: String
947
+ # @param ObjectType: 任务操作对象类型
948
+ # @type ObjectType: String
949
+ # @param Operator: 操作者uin
950
+ # @type Operator: String
951
+ # @param Output: 任务输出信息
952
+ # @type Output: String
953
+ # @param Status: 任务状态
954
+ # @type Status: String
955
+ # @param TaskType: 任务类型
956
+ # @type TaskType: String
957
+ # @param TriggerTaskId: 触发本任务的父任务ID
958
+ # @type TriggerTaskId: Integer
959
+ # @param UpdateTime: 更新时间
960
+ # @type UpdateTime: String
961
+ # @param StartTime: 任务开始时间
962
+ # @type StartTime: String
963
+ # @param EndTime: 任务结束时间
964
+ # @type EndTime: String
965
+ # @param ClusterName: 集群名称
966
+ # @type ClusterName: String
967
+ # @param InstanceName: 实例名称
968
+ # @type InstanceName: String
969
+ # @param Process: 任务进度
970
+ # @type Process: Integer
971
+ # @param ModifyParamsData: 修改参数任务信息
972
+ # 注意:此字段可能返回 null,表示取不到有效值。
973
+ # @type ModifyParamsData: Array
974
+ # @param CreateClustersData: 创建集群任务信息
975
+ # 注意:此字段可能返回 null,表示取不到有效值。
976
+ # @type CreateClustersData: :class:`Tencentcloud::Cynosdb.v20190107.models.CreateClustersData`
977
+ # @param RollbackData: 集群回档任务信息
978
+ # 注意:此字段可能返回 null,表示取不到有效值。
979
+ # @type RollbackData: :class:`Tencentcloud::Cynosdb.v20190107.models.RollbackData`
980
+ # @param ModifyInstanceData: 实例变配任务信息
981
+ # 注意:此字段可能返回 null,表示取不到有效值。
982
+ # @type ModifyInstanceData: :class:`Tencentcloud::Cynosdb.v20190107.models.ModifyInstanceData`
983
+ # @param ManualBackupData: 手动备份任务信息
984
+ # 注意:此字段可能返回 null,表示取不到有效值。
985
+ # @type ManualBackupData: :class:`Tencentcloud::Cynosdb.v20190107.models.ManualBackupData`
986
+ # @param ModifyDbVersionData: 修改内核版本任务信息
987
+ # 注意:此字段可能返回 null,表示取不到有效值。
988
+ # @type ModifyDbVersionData: :class:`Tencentcloud::Cynosdb.v20190107.models.ModifyDbVersionData`
989
+ # @param ClusterSlaveData: 集群可用区信息
990
+ # 注意:此字段可能返回 null,表示取不到有效值。
991
+ # @type ClusterSlaveData: :class:`Tencentcloud::Cynosdb.v20190107.models.ClusterSlaveData`
992
+ # @param SwitchClusterLogBin: 转换集群日志
993
+ # 注意:此字段可能返回 null,表示取不到有效值。
994
+ # @type SwitchClusterLogBin: :class:`Tencentcloud::Cynosdb.v20190107.models.SwitchClusterLogBin`
995
+ # @param ModifyInstanceParamsData: 修改实例参数数据
996
+ # 注意:此字段可能返回 null,表示取不到有效值。
997
+ # @type ModifyInstanceParamsData: :class:`Tencentcloud::Cynosdb.v20190107.models.BizTaskModifyParamsData`
998
+ # @param TaskMaintainInfo: 维护时间
999
+ # 注意:此字段可能返回 null,表示取不到有效值。
1000
+ # @type TaskMaintainInfo: :class:`Tencentcloud::Cynosdb.v20190107.models.TaskMaintainInfo`
1001
+
1002
+ 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
1003
+ extend Gem::Deprecate
1004
+ deprecate :InstanceGrpId, :none, 2024, 2
1005
+ deprecate :InstanceGrpId=, :none, 2024, 2
1006
+
1007
+ 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)
1008
+ @ID = id
1009
+ @AppId = appid
1010
+ @ClusterId = clusterid
1011
+ @CreateTime = createtime
1012
+ @DelayTime = delaytime
1013
+ @ErrMsg = errmsg
1014
+ @FlowId = flowid
1015
+ @Input = input
1016
+ @InstanceGrpId = instancegrpid
1017
+ @InstanceGroupId = instancegroupid
1018
+ @InstanceId = instanceid
1019
+ @ObjectId = objectid
1020
+ @ObjectType = objecttype
1021
+ @Operator = operator
1022
+ @Output = output
1023
+ @Status = status
1024
+ @TaskType = tasktype
1025
+ @TriggerTaskId = triggertaskid
1026
+ @UpdateTime = updatetime
1027
+ @StartTime = starttime
1028
+ @EndTime = endtime
1029
+ @ClusterName = clustername
1030
+ @InstanceName = instancename
1031
+ @Process = process
1032
+ @ModifyParamsData = modifyparamsdata
1033
+ @CreateClustersData = createclustersdata
1034
+ @RollbackData = rollbackdata
1035
+ @ModifyInstanceData = modifyinstancedata
1036
+ @ManualBackupData = manualbackupdata
1037
+ @ModifyDbVersionData = modifydbversiondata
1038
+ @ClusterSlaveData = clusterslavedata
1039
+ @SwitchClusterLogBin = switchclusterlogbin
1040
+ @ModifyInstanceParamsData = modifyinstanceparamsdata
1041
+ @TaskMaintainInfo = taskmaintaininfo
1042
+ end
1043
+
1044
+ def deserialize(params)
1045
+ @ID = params['ID']
1046
+ @AppId = params['AppId']
1047
+ @ClusterId = params['ClusterId']
1048
+ @CreateTime = params['CreateTime']
1049
+ @DelayTime = params['DelayTime']
1050
+ @ErrMsg = params['ErrMsg']
1051
+ @FlowId = params['FlowId']
1052
+ @Input = params['Input']
1053
+ @InstanceGrpId = params['InstanceGrpId']
1054
+ @InstanceGroupId = params['InstanceGroupId']
1055
+ @InstanceId = params['InstanceId']
1056
+ @ObjectId = params['ObjectId']
1057
+ @ObjectType = params['ObjectType']
1058
+ @Operator = params['Operator']
1059
+ @Output = params['Output']
1060
+ @Status = params['Status']
1061
+ @TaskType = params['TaskType']
1062
+ @TriggerTaskId = params['TriggerTaskId']
1063
+ @UpdateTime = params['UpdateTime']
1064
+ @StartTime = params['StartTime']
1065
+ @EndTime = params['EndTime']
1066
+ @ClusterName = params['ClusterName']
1067
+ @InstanceName = params['InstanceName']
1068
+ @Process = params['Process']
1069
+ unless params['ModifyParamsData'].nil?
1070
+ @ModifyParamsData = []
1071
+ params['ModifyParamsData'].each do |i|
1072
+ modifyparamsdata_tmp = ModifyParamsData.new
1073
+ modifyparamsdata_tmp.deserialize(i)
1074
+ @ModifyParamsData << modifyparamsdata_tmp
1075
+ end
1076
+ end
1077
+ unless params['CreateClustersData'].nil?
1078
+ @CreateClustersData = CreateClustersData.new
1079
+ @CreateClustersData.deserialize(params['CreateClustersData'])
1080
+ end
1081
+ unless params['RollbackData'].nil?
1082
+ @RollbackData = RollbackData.new
1083
+ @RollbackData.deserialize(params['RollbackData'])
1084
+ end
1085
+ unless params['ModifyInstanceData'].nil?
1086
+ @ModifyInstanceData = ModifyInstanceData.new
1087
+ @ModifyInstanceData.deserialize(params['ModifyInstanceData'])
1088
+ end
1089
+ unless params['ManualBackupData'].nil?
1090
+ @ManualBackupData = ManualBackupData.new
1091
+ @ManualBackupData.deserialize(params['ManualBackupData'])
1092
+ end
1093
+ unless params['ModifyDbVersionData'].nil?
1094
+ @ModifyDbVersionData = ModifyDbVersionData.new
1095
+ @ModifyDbVersionData.deserialize(params['ModifyDbVersionData'])
1096
+ end
1097
+ unless params['ClusterSlaveData'].nil?
1098
+ @ClusterSlaveData = ClusterSlaveData.new
1099
+ @ClusterSlaveData.deserialize(params['ClusterSlaveData'])
1100
+ end
1101
+ unless params['SwitchClusterLogBin'].nil?
1102
+ @SwitchClusterLogBin = SwitchClusterLogBin.new
1103
+ @SwitchClusterLogBin.deserialize(params['SwitchClusterLogBin'])
1104
+ end
1105
+ unless params['ModifyInstanceParamsData'].nil?
1106
+ @ModifyInstanceParamsData = BizTaskModifyParamsData.new
1107
+ @ModifyInstanceParamsData.deserialize(params['ModifyInstanceParamsData'])
1108
+ end
1109
+ unless params['TaskMaintainInfo'].nil?
1110
+ @TaskMaintainInfo = TaskMaintainInfo.new
1111
+ @TaskMaintainInfo.deserialize(params['TaskMaintainInfo'])
1112
+ end
1113
+ end
1114
+ end
1115
+
1116
+ # 实例参数修改任务详情
1117
+ class BizTaskModifyInstanceParam < TencentCloud::Common::AbstractModel
1118
+ # @param InstanceId: 实例ID
1119
+ # @type InstanceId: String
1120
+ # @param ModifyInstanceParamList: 实例参数修改任务详情
1121
+ # 注意:此字段可能返回 null,表示取不到有效值。
1122
+ # @type ModifyInstanceParamList: Array
1123
+
1124
+ attr_accessor :InstanceId, :ModifyInstanceParamList
1125
+
1126
+ def initialize(instanceid=nil, modifyinstanceparamlist=nil)
1127
+ @InstanceId = instanceid
1128
+ @ModifyInstanceParamList = modifyinstanceparamlist
1129
+ end
1130
+
1131
+ def deserialize(params)
1132
+ @InstanceId = params['InstanceId']
1133
+ unless params['ModifyInstanceParamList'].nil?
1134
+ @ModifyInstanceParamList = []
1135
+ params['ModifyInstanceParamList'].each do |i|
1136
+ modifyparamitem_tmp = ModifyParamItem.new
1137
+ modifyparamitem_tmp.deserialize(i)
1138
+ @ModifyInstanceParamList << modifyparamitem_tmp
1139
+ end
1140
+ end
1141
+ end
1142
+ end
1143
+
1144
+ # 修改参数任务数据
1145
+ class BizTaskModifyParamsData < TencentCloud::Common::AbstractModel
1146
+ # @param ClusterId: 集群ID
1147
+ # @type ClusterId: String
1148
+ # @param ClusterParamList: 集群参数修改数据
1149
+ # 注意:此字段可能返回 null,表示取不到有效值。
1150
+ # @type ClusterParamList: Array
1151
+ # @param ModifyInstanceParams: 实例参数修改数据
1152
+ # 注意:此字段可能返回 null,表示取不到有效值。
1153
+ # @type ModifyInstanceParams: Array
1154
+
1155
+ attr_accessor :ClusterId, :ClusterParamList, :ModifyInstanceParams
1156
+
1157
+ def initialize(clusterid=nil, clusterparamlist=nil, modifyinstanceparams=nil)
1158
+ @ClusterId = clusterid
1159
+ @ClusterParamList = clusterparamlist
1160
+ @ModifyInstanceParams = modifyinstanceparams
1161
+ end
1162
+
1163
+ def deserialize(params)
1164
+ @ClusterId = params['ClusterId']
1165
+ unless params['ClusterParamList'].nil?
1166
+ @ClusterParamList = []
1167
+ params['ClusterParamList'].each do |i|
1168
+ modifyparamitem_tmp = ModifyParamItem.new
1169
+ modifyparamitem_tmp.deserialize(i)
1170
+ @ClusterParamList << modifyparamitem_tmp
1171
+ end
1172
+ end
1173
+ unless params['ModifyInstanceParams'].nil?
1174
+ @ModifyInstanceParams = []
1175
+ params['ModifyInstanceParams'].each do |i|
1176
+ biztaskmodifyinstanceparam_tmp = BizTaskModifyInstanceParam.new
1177
+ biztaskmodifyinstanceparam_tmp.deserialize(i)
1178
+ @ModifyInstanceParams << biztaskmodifyinstanceparam_tmp
1179
+ end
1180
+ end
1181
+ end
1182
+ end
1183
+
919
1184
  # CloseAuditService请求参数结构体
920
1185
  class CloseAuditServiceRequest < TencentCloud::Common::AbstractModel
921
1186
  # @param InstanceId: 实例ID。
@@ -1191,6 +1456,38 @@ module TencentCloud
1191
1456
  end
1192
1457
  end
1193
1458
 
1459
+ # 集群从可用区信息
1460
+ class ClusterSlaveData < TencentCloud::Common::AbstractModel
1461
+ # @param OldMasterZone: 旧主可用区
1462
+ # 注意:此字段可能返回 null,表示取不到有效值。
1463
+ # @type OldMasterZone: String
1464
+ # @param OldSlaveZone: 旧从可用区
1465
+ # 注意:此字段可能返回 null,表示取不到有效值。
1466
+ # @type OldSlaveZone: Array
1467
+ # @param NewMasterZone: 新主可用区
1468
+ # 注意:此字段可能返回 null,表示取不到有效值。
1469
+ # @type NewMasterZone: String
1470
+ # @param NewSlaveZone: 新从可用区
1471
+ # 注意:此字段可能返回 null,表示取不到有效值。
1472
+ # @type NewSlaveZone: Array
1473
+
1474
+ attr_accessor :OldMasterZone, :OldSlaveZone, :NewMasterZone, :NewSlaveZone
1475
+
1476
+ def initialize(oldmasterzone=nil, oldslavezone=nil, newmasterzone=nil, newslavezone=nil)
1477
+ @OldMasterZone = oldmasterzone
1478
+ @OldSlaveZone = oldslavezone
1479
+ @NewMasterZone = newmasterzone
1480
+ @NewSlaveZone = newslavezone
1481
+ end
1482
+
1483
+ def deserialize(params)
1484
+ @OldMasterZone = params['OldMasterZone']
1485
+ @OldSlaveZone = params['OldSlaveZone']
1486
+ @NewMasterZone = params['NewMasterZone']
1487
+ @NewSlaveZone = params['NewSlaveZone']
1488
+ end
1489
+ end
1490
+
1194
1491
  # CopyClusterPasswordComplexity请求参数结构体
1195
1492
  class CopyClusterPasswordComplexityRequest < TencentCloud::Common::AbstractModel
1196
1493
  # @param ClusterIds: 复制集群ID数组,例如["cynosdbmysql-bzxxrmtq","cynosdbmysql-qwer"]
@@ -1525,6 +1822,30 @@ module TencentCloud
1525
1822
  end
1526
1823
  end
1527
1824
 
1825
+ # 创建集群任务信息
1826
+ class CreateClustersData < TencentCloud::Common::AbstractModel
1827
+ # @param Cpu: 实例CPU
1828
+ # @type Cpu: Integer
1829
+ # @param Memory: 实例内存
1830
+ # @type Memory: Integer
1831
+ # @param StorageLimit: 集群存储上限
1832
+ # @type StorageLimit: Integer
1833
+
1834
+ attr_accessor :Cpu, :Memory, :StorageLimit
1835
+
1836
+ def initialize(cpu=nil, memory=nil, storagelimit=nil)
1837
+ @Cpu = cpu
1838
+ @Memory = memory
1839
+ @StorageLimit = storagelimit
1840
+ end
1841
+
1842
+ def deserialize(params)
1843
+ @Cpu = params['Cpu']
1844
+ @Memory = params['Memory']
1845
+ @StorageLimit = params['StorageLimit']
1846
+ end
1847
+ end
1848
+
1528
1849
  # CreateClusters请求参数结构体
1529
1850
  class CreateClustersRequest < TencentCloud::Common::AbstractModel
1530
1851
  # @param Zone: 可用区
@@ -6474,6 +6795,76 @@ module TencentCloud
6474
6795
  end
6475
6796
  end
6476
6797
 
6798
+ # DescribeTasks请求参数结构体
6799
+ class DescribeTasksRequest < TencentCloud::Common::AbstractModel
6800
+ # @param StartTimeBegin: 任务开始时间起始值
6801
+ # @type StartTimeBegin: String
6802
+ # @param StartTimeEnd: 任务开始时间结束值
6803
+ # @type StartTimeEnd: String
6804
+ # @param Filters: 过滤条件
6805
+ # @type Filters: Array
6806
+ # @param Limit: 查询列表长度
6807
+ # @type Limit: Integer
6808
+ # @param Offset: 查询列表偏移量
6809
+ # @type Offset: Integer
6810
+
6811
+ attr_accessor :StartTimeBegin, :StartTimeEnd, :Filters, :Limit, :Offset
6812
+
6813
+ def initialize(starttimebegin=nil, starttimeend=nil, filters=nil, limit=nil, offset=nil)
6814
+ @StartTimeBegin = starttimebegin
6815
+ @StartTimeEnd = starttimeend
6816
+ @Filters = filters
6817
+ @Limit = limit
6818
+ @Offset = offset
6819
+ end
6820
+
6821
+ def deserialize(params)
6822
+ @StartTimeBegin = params['StartTimeBegin']
6823
+ @StartTimeEnd = params['StartTimeEnd']
6824
+ unless params['Filters'].nil?
6825
+ @Filters = []
6826
+ params['Filters'].each do |i|
6827
+ queryfilter_tmp = QueryFilter.new
6828
+ queryfilter_tmp.deserialize(i)
6829
+ @Filters << queryfilter_tmp
6830
+ end
6831
+ end
6832
+ @Limit = params['Limit']
6833
+ @Offset = params['Offset']
6834
+ end
6835
+ end
6836
+
6837
+ # DescribeTasks返回参数结构体
6838
+ class DescribeTasksResponse < TencentCloud::Common::AbstractModel
6839
+ # @param TotalCount: 任务列表总条数
6840
+ # @type TotalCount: Integer
6841
+ # @param TaskList: 任务列表
6842
+ # @type TaskList: Array
6843
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6844
+ # @type RequestId: String
6845
+
6846
+ attr_accessor :TotalCount, :TaskList, :RequestId
6847
+
6848
+ def initialize(totalcount=nil, tasklist=nil, requestid=nil)
6849
+ @TotalCount = totalcount
6850
+ @TaskList = tasklist
6851
+ @RequestId = requestid
6852
+ end
6853
+
6854
+ def deserialize(params)
6855
+ @TotalCount = params['TotalCount']
6856
+ unless params['TaskList'].nil?
6857
+ @TaskList = []
6858
+ params['TaskList'].each do |i|
6859
+ biztaskinfo_tmp = BizTaskInfo.new
6860
+ biztaskinfo_tmp.deserialize(i)
6861
+ @TaskList << biztaskinfo_tmp
6862
+ end
6863
+ end
6864
+ @RequestId = params['RequestId']
6865
+ end
6866
+ end
6867
+
6477
6868
  # DescribeZones请求参数结构体
6478
6869
  class DescribeZonesRequest < TencentCloud::Common::AbstractModel
6479
6870
  # @param IncludeVirtualZones: 是否包含虚拟区
@@ -7540,6 +7931,30 @@ module TencentCloud
7540
7931
  end
7541
7932
  end
7542
7933
 
7934
+ # 手动备份任务信息
7935
+ class ManualBackupData < TencentCloud::Common::AbstractModel
7936
+ # @param BackupType: 备份类型。snapshot-快照备份
7937
+ # @type BackupType: String
7938
+ # @param BackupMethod: 备份方式。auto-自动备份,manual-手动
7939
+ # @type BackupMethod: String
7940
+ # @param SnapshotTime: 备份时间
7941
+ # @type SnapshotTime: String
7942
+
7943
+ attr_accessor :BackupType, :BackupMethod, :SnapshotTime
7944
+
7945
+ def initialize(backuptype=nil, backupmethod=nil, snapshottime=nil)
7946
+ @BackupType = backuptype
7947
+ @BackupMethod = backupmethod
7948
+ @SnapshotTime = snapshottime
7949
+ end
7950
+
7951
+ def deserialize(params)
7952
+ @BackupType = params['BackupType']
7953
+ @BackupMethod = params['BackupMethod']
7954
+ @SnapshotTime = params['SnapshotTime']
7955
+ end
7956
+ end
7957
+
7543
7958
  # 参数是否可修改的详细信息
7544
7959
  class ModifiableInfo < TencentCloud::Common::AbstractModel
7545
7960
  # @param IsModifiable: 参数是否可被修改, 1:可以 0:不可以
@@ -8367,6 +8782,70 @@ module TencentCloud
8367
8782
  end
8368
8783
  end
8369
8784
 
8785
+ # 修改数据库内核版本任务信息
8786
+ class ModifyDbVersionData < TencentCloud::Common::AbstractModel
8787
+ # @param OldVersion: 修改前版本
8788
+ # @type OldVersion: String
8789
+ # @param NewVersion: 修改后版本
8790
+ # @type NewVersion: String
8791
+ # @param UpgradeType: 升级方式
8792
+ # @type UpgradeType: String
8793
+
8794
+ attr_accessor :OldVersion, :NewVersion, :UpgradeType
8795
+
8796
+ def initialize(oldversion=nil, newversion=nil, upgradetype=nil)
8797
+ @OldVersion = oldversion
8798
+ @NewVersion = newversion
8799
+ @UpgradeType = upgradetype
8800
+ end
8801
+
8802
+ def deserialize(params)
8803
+ @OldVersion = params['OldVersion']
8804
+ @NewVersion = params['NewVersion']
8805
+ @UpgradeType = params['UpgradeType']
8806
+ end
8807
+ end
8808
+
8809
+ # 实例变配任务信息
8810
+ class ModifyInstanceData < TencentCloud::Common::AbstractModel
8811
+ # @param Cpu: 变配后CPU
8812
+ # @type Cpu: Integer
8813
+ # @param Memory: 变配后内存
8814
+ # @type Memory: Integer
8815
+ # @param StorageLimit: 变配后存储上限
8816
+ # @type StorageLimit: Integer
8817
+ # @param OldCpu: 变配前CPU
8818
+ # @type OldCpu: Integer
8819
+ # @param OldMemory: 变配前内存
8820
+ # @type OldMemory: Integer
8821
+ # @param OldStorageLimit: 变配前存储上限
8822
+ # @type OldStorageLimit: Integer
8823
+ # @param UpgradeType: 升级方式。升级完成后切换或维护时间内切换
8824
+ # @type UpgradeType: String
8825
+
8826
+ attr_accessor :Cpu, :Memory, :StorageLimit, :OldCpu, :OldMemory, :OldStorageLimit, :UpgradeType
8827
+
8828
+ def initialize(cpu=nil, memory=nil, storagelimit=nil, oldcpu=nil, oldmemory=nil, oldstoragelimit=nil, upgradetype=nil)
8829
+ @Cpu = cpu
8830
+ @Memory = memory
8831
+ @StorageLimit = storagelimit
8832
+ @OldCpu = oldcpu
8833
+ @OldMemory = oldmemory
8834
+ @OldStorageLimit = oldstoragelimit
8835
+ @UpgradeType = upgradetype
8836
+ end
8837
+
8838
+ def deserialize(params)
8839
+ @Cpu = params['Cpu']
8840
+ @Memory = params['Memory']
8841
+ @StorageLimit = params['StorageLimit']
8842
+ @OldCpu = params['OldCpu']
8843
+ @OldMemory = params['OldMemory']
8844
+ @OldStorageLimit = params['OldStorageLimit']
8845
+ @UpgradeType = params['UpgradeType']
8846
+ end
8847
+ end
8848
+
8370
8849
  # ModifyInstanceName请求参数结构体
8371
8850
  class ModifyInstanceNameRequest < TencentCloud::Common::AbstractModel
8372
8851
  # @param InstanceId: 实例ID
@@ -8589,6 +9068,30 @@ module TencentCloud
8589
9068
  end
8590
9069
  end
8591
9070
 
9071
+ # 修改参数信息
9072
+ class ModifyParamsData < TencentCloud::Common::AbstractModel
9073
+ # @param Name: 参数名
9074
+ # @type Name: String
9075
+ # @param OldValue: 修改前参数值
9076
+ # @type OldValue: String
9077
+ # @param CurValue: 修改后参数值
9078
+ # @type CurValue: String
9079
+
9080
+ attr_accessor :Name, :OldValue, :CurValue
9081
+
9082
+ def initialize(name=nil, oldvalue=nil, curvalue=nil)
9083
+ @Name = name
9084
+ @OldValue = oldvalue
9085
+ @CurValue = curvalue
9086
+ end
9087
+
9088
+ def deserialize(params)
9089
+ @Name = params['Name']
9090
+ @OldValue = params['OldValue']
9091
+ @CurValue = params['CurValue']
9092
+ end
9093
+ end
9094
+
8592
9095
  # ModifyProxyDesc请求参数结构体
8593
9096
  class ModifyProxyDescRequest < TencentCloud::Common::AbstractModel
8594
9097
  # @param ClusterId: 集群ID
@@ -10692,6 +11195,90 @@ module TencentCloud
10692
11195
  end
10693
11196
  end
10694
11197
 
11198
+ # 回档任务信息
11199
+ class RollbackData < TencentCloud::Common::AbstractModel
11200
+ # @param Cpu: 实例CPU
11201
+ # @type Cpu: Integer
11202
+ # @param Memory: 实例内存
11203
+ # @type Memory: Integer
11204
+ # @param StorageLimit: 集群存储上限
11205
+ # @type StorageLimit: Integer
11206
+ # @param OriginalClusterId: 原集群id
11207
+ # @type OriginalClusterId: String
11208
+ # @param OriginalClusterName: 原集群名
11209
+ # @type OriginalClusterName: String
11210
+ # @param RollbackStrategy: 回档方式
11211
+ # @type RollbackStrategy: String
11212
+ # @param SnapshotTime: 快照时间
11213
+ # @type SnapshotTime: String
11214
+ # @param MinCpu: 回档到serverlessls集群时最小CPU
11215
+ # 注意:此字段可能返回 null,表示取不到有效值。
11216
+ # @type MinCpu: Integer
11217
+ # @param MaxCpu: 回档到serverlessls集群时最大CPU
11218
+ # 注意:此字段可能返回 null,表示取不到有效值。
11219
+ # @type MaxCpu: Integer
11220
+ # @param SnapShotId: 快照ID
11221
+ # 注意:此字段可能返回 null,表示取不到有效值。
11222
+ # @type SnapShotId: Integer
11223
+ # @param RollbackDatabases: 回档数据库
11224
+ # 注意:此字段可能返回 null,表示取不到有效值。
11225
+ # @type RollbackDatabases: Array
11226
+ # @param RollbackTables: 回档数据表
11227
+ # 注意:此字段可能返回 null,表示取不到有效值。
11228
+ # @type RollbackTables: Array
11229
+ # @param BackupFileName: 备份文件名称
11230
+ # 注意:此字段可能返回 null,表示取不到有效值。
11231
+ # @type BackupFileName: String
11232
+
11233
+ attr_accessor :Cpu, :Memory, :StorageLimit, :OriginalClusterId, :OriginalClusterName, :RollbackStrategy, :SnapshotTime, :MinCpu, :MaxCpu, :SnapShotId, :RollbackDatabases, :RollbackTables, :BackupFileName
11234
+
11235
+ 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)
11236
+ @Cpu = cpu
11237
+ @Memory = memory
11238
+ @StorageLimit = storagelimit
11239
+ @OriginalClusterId = originalclusterid
11240
+ @OriginalClusterName = originalclustername
11241
+ @RollbackStrategy = rollbackstrategy
11242
+ @SnapshotTime = snapshottime
11243
+ @MinCpu = mincpu
11244
+ @MaxCpu = maxcpu
11245
+ @SnapShotId = snapshotid
11246
+ @RollbackDatabases = rollbackdatabases
11247
+ @RollbackTables = rollbacktables
11248
+ @BackupFileName = backupfilename
11249
+ end
11250
+
11251
+ def deserialize(params)
11252
+ @Cpu = params['Cpu']
11253
+ @Memory = params['Memory']
11254
+ @StorageLimit = params['StorageLimit']
11255
+ @OriginalClusterId = params['OriginalClusterId']
11256
+ @OriginalClusterName = params['OriginalClusterName']
11257
+ @RollbackStrategy = params['RollbackStrategy']
11258
+ @SnapshotTime = params['SnapshotTime']
11259
+ @MinCpu = params['MinCpu']
11260
+ @MaxCpu = params['MaxCpu']
11261
+ @SnapShotId = params['SnapShotId']
11262
+ unless params['RollbackDatabases'].nil?
11263
+ @RollbackDatabases = []
11264
+ params['RollbackDatabases'].each do |i|
11265
+ rollbackdatabase_tmp = RollbackDatabase.new
11266
+ rollbackdatabase_tmp.deserialize(i)
11267
+ @RollbackDatabases << rollbackdatabase_tmp
11268
+ end
11269
+ end
11270
+ unless params['RollbackTables'].nil?
11271
+ @RollbackTables = []
11272
+ params['RollbackTables'].each do |i|
11273
+ rollbacktable_tmp = RollbackTable.new
11274
+ rollbacktable_tmp.deserialize(i)
11275
+ @RollbackTables << rollbacktable_tmp
11276
+ end
11277
+ end
11278
+ @BackupFileName = params['BackupFileName']
11279
+ end
11280
+ end
11281
+
10695
11282
  # 回滚数据库信息
10696
11283
  class RollbackDatabase < TencentCloud::Common::AbstractModel
10697
11284
  # @param OldDatabase: 旧数据库名称
@@ -11281,6 +11868,23 @@ module TencentCloud
11281
11868
  end
11282
11869
  end
11283
11870
 
11871
+ # 转换集群log bin开关
11872
+ class SwitchClusterLogBin < TencentCloud::Common::AbstractModel
11873
+ # @param Status: 状态
11874
+ # 注意:此字段可能返回 null,表示取不到有效值。
11875
+ # @type Status: String
11876
+
11877
+ attr_accessor :Status
11878
+
11879
+ def initialize(status=nil)
11880
+ @Status = status
11881
+ end
11882
+
11883
+ def deserialize(params)
11884
+ @Status = params['Status']
11885
+ end
11886
+ end
11887
+
11284
11888
  # SwitchClusterVpc请求参数结构体
11285
11889
  class SwitchClusterVpcRequest < TencentCloud::Common::AbstractModel
11286
11890
  # @param ClusterId: 集群ID
@@ -11476,6 +12080,33 @@ module TencentCloud
11476
12080
  end
11477
12081
  end
11478
12082
 
12083
+ # TaskMaintainInfo
12084
+ class TaskMaintainInfo < TencentCloud::Common::AbstractModel
12085
+ # @param MaintainStartTime: 执行开始时间(距离0点的秒数)
12086
+ # 注意:此字段可能返回 null,表示取不到有效值。
12087
+ # @type MaintainStartTime: Integer
12088
+ # @param MaintainDuration: 持续的时间(单位:秒)
12089
+ # 注意:此字段可能返回 null,表示取不到有效值。
12090
+ # @type MaintainDuration: Integer
12091
+ # @param MaintainWeekDays: 可以执行的时间,枚举值:["Mon","Tue","Wed","Thu","Fri", "Sat", "Sun"]
12092
+ # 注意:此字段可能返回 null,表示取不到有效值。
12093
+ # @type MaintainWeekDays: Array
12094
+
12095
+ attr_accessor :MaintainStartTime, :MaintainDuration, :MaintainWeekDays
12096
+
12097
+ def initialize(maintainstarttime=nil, maintainduration=nil, maintainweekdays=nil)
12098
+ @MaintainStartTime = maintainstarttime
12099
+ @MaintainDuration = maintainduration
12100
+ @MaintainWeekDays = maintainweekdays
12101
+ end
12102
+
12103
+ def deserialize(params)
12104
+ @MaintainStartTime = params['MaintainStartTime']
12105
+ @MaintainDuration = params['MaintainDuration']
12106
+ @MaintainWeekDays = params['MaintainWeekDays']
12107
+ end
12108
+ end
12109
+
11479
12110
  # 参数模板详情
11480
12111
  class TemplateParamInfo < TencentCloud::Common::AbstractModel
11481
12112
  # @param CurrentValue: 当前值
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.765
4
+ version: 3.0.766
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud