tencentcloud-sdk-cdb 3.0.1067 → 3.0.1069
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/v20170320/client.rb +24 -0
- data/lib/v20170320/models.rb +301 -4
- 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: ab9f6c78c50caa4dfa16aa435518cdbd01e498cc
|
4
|
+
data.tar.gz: 6cd46caa5d6d9a3ddc547e4196d1406b16dd83d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad2fb4916729c47dc0e8105a6d21a95e24893d119a912d55b9d20e168182cf335e78ca11c25a1195ae938abca6f544d9b9ad72089df426c5cb9ffab40c34dd45
|
7
|
+
data.tar.gz: 62ffd1e0106c1152543efc660767d149b6c29eedee5ae1b96e76a79f59c303baa18dd97a666ab9fb4229e1d99e83af6ca09be80f4133fa800d80b17a9bc0b1de
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1069
|
data/lib/v20170320/client.rb
CHANGED
@@ -1611,6 +1611,30 @@ module TencentCloud
|
|
1611
1611
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1612
1612
|
end
|
1613
1613
|
|
1614
|
+
# 本接口(DescribeCpuExpandHistory)用于查询扩容历史。
|
1615
|
+
|
1616
|
+
# @param request: Request instance for DescribeCpuExpandHistory.
|
1617
|
+
# @type request: :class:`Tencentcloud::cdb::V20170320::DescribeCpuExpandHistoryRequest`
|
1618
|
+
# @rtype: :class:`Tencentcloud::cdb::V20170320::DescribeCpuExpandHistoryResponse`
|
1619
|
+
def DescribeCpuExpandHistory(request)
|
1620
|
+
body = send_request('DescribeCpuExpandHistory', request.serialize)
|
1621
|
+
response = JSON.parse(body)
|
1622
|
+
if response['Response'].key?('Error') == false
|
1623
|
+
model = DescribeCpuExpandHistoryResponse.new
|
1624
|
+
model.deserialize(response['Response'])
|
1625
|
+
model
|
1626
|
+
else
|
1627
|
+
code = response['Response']['Error']['Code']
|
1628
|
+
message = response['Response']['Error']['Message']
|
1629
|
+
reqid = response['Response']['RequestId']
|
1630
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1631
|
+
end
|
1632
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1633
|
+
raise e
|
1634
|
+
rescue StandardError => e
|
1635
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1636
|
+
end
|
1637
|
+
|
1614
1638
|
# 本接口(DescribeDBFeatures)用于查询云数据库版本属性,包括是否支持数据库加密、数据库审计等功能。
|
1615
1639
|
|
1616
1640
|
# @param request: Request instance for DescribeDBFeatures.
|
data/lib/v20170320/models.rb
CHANGED
@@ -57,6 +57,9 @@ module TencentCloud
|
|
57
57
|
# @type OpenCam: Boolean
|
58
58
|
|
59
59
|
attr_accessor :Notes, :Host, :User, :ModifyTime, :ModifyPasswordTime, :CreateTime, :MaxUserConnections, :OpenCam
|
60
|
+
extend Gem::Deprecate
|
61
|
+
deprecate :CreateTime, :none, 2025, 5
|
62
|
+
deprecate :CreateTime=, :none, 2025, 5
|
60
63
|
|
61
64
|
def initialize(notes=nil, host=nil, user=nil, modifytime=nil, modifypasswordtime=nil, createtime=nil, maxuserconnections=nil, opencam=nil)
|
62
65
|
@Notes = notes
|
@@ -372,6 +375,50 @@ module TencentCloud
|
|
372
375
|
end
|
373
376
|
end
|
374
377
|
|
378
|
+
# 分析引擎节点信息
|
379
|
+
class AnalysisNodeInfo < TencentCloud::Common::AbstractModel
|
380
|
+
# @param NodeId: 节点ID
|
381
|
+
# @type NodeId: String
|
382
|
+
# @param Status: 节点状态
|
383
|
+
# @type Status: String
|
384
|
+
# @param DataStatus: 数据加载状态
|
385
|
+
# @type DataStatus: String
|
386
|
+
# @param Cpu: cpu核数,单位:核
|
387
|
+
# @type Cpu: Integer
|
388
|
+
# @param Memory: 内存大小,单位: MB
|
389
|
+
# @type Memory: Integer
|
390
|
+
# @param Storage: 磁盘大小,单位:GB
|
391
|
+
# @type Storage: Integer
|
392
|
+
# @param Zone: 节点所在可用区
|
393
|
+
# @type Zone: String
|
394
|
+
# @param Message: 数据同步错误信息
|
395
|
+
# @type Message: String
|
396
|
+
|
397
|
+
attr_accessor :NodeId, :Status, :DataStatus, :Cpu, :Memory, :Storage, :Zone, :Message
|
398
|
+
|
399
|
+
def initialize(nodeid=nil, status=nil, datastatus=nil, cpu=nil, memory=nil, storage=nil, zone=nil, message=nil)
|
400
|
+
@NodeId = nodeid
|
401
|
+
@Status = status
|
402
|
+
@DataStatus = datastatus
|
403
|
+
@Cpu = cpu
|
404
|
+
@Memory = memory
|
405
|
+
@Storage = storage
|
406
|
+
@Zone = zone
|
407
|
+
@Message = message
|
408
|
+
end
|
409
|
+
|
410
|
+
def deserialize(params)
|
411
|
+
@NodeId = params['NodeId']
|
412
|
+
@Status = params['Status']
|
413
|
+
@DataStatus = params['DataStatus']
|
414
|
+
@Cpu = params['Cpu']
|
415
|
+
@Memory = params['Memory']
|
416
|
+
@Storage = params['Storage']
|
417
|
+
@Zone = params['Zone']
|
418
|
+
@Message = params['Message']
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
375
422
|
# AnalyzeAuditLogs请求参数结构体
|
376
423
|
class AnalyzeAuditLogsRequest < TencentCloud::Common::AbstractModel
|
377
424
|
# @param InstanceId: 实例ID。
|
@@ -5758,6 +5805,77 @@ module TencentCloud
|
|
5758
5805
|
end
|
5759
5806
|
end
|
5760
5807
|
|
5808
|
+
# DescribeCpuExpandHistory请求参数结构体
|
5809
|
+
class DescribeCpuExpandHistoryRequest < TencentCloud::Common::AbstractModel
|
5810
|
+
# @param InstanceId: 实例 ID
|
5811
|
+
# @type InstanceId: String
|
5812
|
+
# @param ExpandStrategy: 扩容策略,值包括:all,manual,auto
|
5813
|
+
# @type ExpandStrategy: String
|
5814
|
+
# @param Status: 扩容状态,值包括:all,extend,reduce,extend_failed
|
5815
|
+
# @type Status: String
|
5816
|
+
# @param StartTime: 查询的开始时间。只能查看30天内的扩容历史
|
5817
|
+
# @type StartTime: Integer
|
5818
|
+
# @param EndTime: 查询的结束时间。只能查看30天内的扩容历史
|
5819
|
+
# @type EndTime: Integer
|
5820
|
+
# @param Offset: 分页入参
|
5821
|
+
# @type Offset: Integer
|
5822
|
+
# @param Limit: 分页入参
|
5823
|
+
# @type Limit: Integer
|
5824
|
+
|
5825
|
+
attr_accessor :InstanceId, :ExpandStrategy, :Status, :StartTime, :EndTime, :Offset, :Limit
|
5826
|
+
|
5827
|
+
def initialize(instanceid=nil, expandstrategy=nil, status=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
5828
|
+
@InstanceId = instanceid
|
5829
|
+
@ExpandStrategy = expandstrategy
|
5830
|
+
@Status = status
|
5831
|
+
@StartTime = starttime
|
5832
|
+
@EndTime = endtime
|
5833
|
+
@Offset = offset
|
5834
|
+
@Limit = limit
|
5835
|
+
end
|
5836
|
+
|
5837
|
+
def deserialize(params)
|
5838
|
+
@InstanceId = params['InstanceId']
|
5839
|
+
@ExpandStrategy = params['ExpandStrategy']
|
5840
|
+
@Status = params['Status']
|
5841
|
+
@StartTime = params['StartTime']
|
5842
|
+
@EndTime = params['EndTime']
|
5843
|
+
@Offset = params['Offset']
|
5844
|
+
@Limit = params['Limit']
|
5845
|
+
end
|
5846
|
+
end
|
5847
|
+
|
5848
|
+
# DescribeCpuExpandHistory返回参数结构体
|
5849
|
+
class DescribeCpuExpandHistoryResponse < TencentCloud::Common::AbstractModel
|
5850
|
+
# @param Items: 满足查询要求的扩容历史
|
5851
|
+
# @type Items: Array
|
5852
|
+
# @param TotalCount: 总数出参
|
5853
|
+
# @type TotalCount: Integer
|
5854
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5855
|
+
# @type RequestId: String
|
5856
|
+
|
5857
|
+
attr_accessor :Items, :TotalCount, :RequestId
|
5858
|
+
|
5859
|
+
def initialize(items=nil, totalcount=nil, requestid=nil)
|
5860
|
+
@Items = items
|
5861
|
+
@TotalCount = totalcount
|
5862
|
+
@RequestId = requestid
|
5863
|
+
end
|
5864
|
+
|
5865
|
+
def deserialize(params)
|
5866
|
+
unless params['Items'].nil?
|
5867
|
+
@Items = []
|
5868
|
+
params['Items'].each do |i|
|
5869
|
+
historyjob_tmp = HistoryJob.new
|
5870
|
+
historyjob_tmp.deserialize(i)
|
5871
|
+
@Items << historyjob_tmp
|
5872
|
+
end
|
5873
|
+
end
|
5874
|
+
@TotalCount = params['TotalCount']
|
5875
|
+
@RequestId = params['RequestId']
|
5876
|
+
end
|
5877
|
+
end
|
5878
|
+
|
5761
5879
|
# DescribeDBFeatures请求参数结构体
|
5762
5880
|
class DescribeDBFeaturesRequest < TencentCloud::Common::AbstractModel
|
5763
5881
|
# @param InstanceId: 实例 ID,格式如:cdb-c1nl9rpv 或者 cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
@@ -8753,6 +8871,50 @@ module TencentCloud
|
|
8753
8871
|
end
|
8754
8872
|
end
|
8755
8873
|
|
8874
|
+
# 单条扩容历史记录
|
8875
|
+
class HistoryJob < TencentCloud::Common::AbstractModel
|
8876
|
+
# @param OperationType: 操作类型
|
8877
|
+
# @type OperationType: String
|
8878
|
+
# @param ExpandType: 扩容类型
|
8879
|
+
# @type ExpandType: String
|
8880
|
+
# @param StartTime: 扩容开始时间
|
8881
|
+
# @type StartTime: Integer
|
8882
|
+
# @param EndTime: 扩容结束时间
|
8883
|
+
# @type EndTime: Integer
|
8884
|
+
# @param OldCpu: 扩容前核数
|
8885
|
+
# @type OldCpu: Integer
|
8886
|
+
# @param NewCpu: 扩容后核数
|
8887
|
+
# @type NewCpu: Integer
|
8888
|
+
# @param ExtendCPUNum: 增减的cpu数
|
8889
|
+
# @type ExtendCPUNum: Integer
|
8890
|
+
# @param Error: extend_failed操作上报
|
8891
|
+
# @type Error: String
|
8892
|
+
|
8893
|
+
attr_accessor :OperationType, :ExpandType, :StartTime, :EndTime, :OldCpu, :NewCpu, :ExtendCPUNum, :Error
|
8894
|
+
|
8895
|
+
def initialize(operationtype=nil, expandtype=nil, starttime=nil, endtime=nil, oldcpu=nil, newcpu=nil, extendcpunum=nil, error=nil)
|
8896
|
+
@OperationType = operationtype
|
8897
|
+
@ExpandType = expandtype
|
8898
|
+
@StartTime = starttime
|
8899
|
+
@EndTime = endtime
|
8900
|
+
@OldCpu = oldcpu
|
8901
|
+
@NewCpu = newcpu
|
8902
|
+
@ExtendCPUNum = extendcpunum
|
8903
|
+
@Error = error
|
8904
|
+
end
|
8905
|
+
|
8906
|
+
def deserialize(params)
|
8907
|
+
@OperationType = params['OperationType']
|
8908
|
+
@ExpandType = params['ExpandType']
|
8909
|
+
@StartTime = params['StartTime']
|
8910
|
+
@EndTime = params['EndTime']
|
8911
|
+
@OldCpu = params['OldCpu']
|
8912
|
+
@NewCpu = params['NewCpu']
|
8913
|
+
@ExtendCPUNum = params['ExtendCPUNum']
|
8914
|
+
@Error = params['Error']
|
8915
|
+
end
|
8916
|
+
end
|
8917
|
+
|
8756
8918
|
# 导入任务记录
|
8757
8919
|
class ImportRecord < TencentCloud::Common::AbstractModel
|
8758
8920
|
# @param Status: 状态值
|
@@ -9184,10 +9346,14 @@ module TencentCloud
|
|
9184
9346
|
# @type ExpandCpu: Integer
|
9185
9347
|
# @param ClusterInfo: 实例集群版节点信息
|
9186
9348
|
# @type ClusterInfo: Array
|
9349
|
+
# @param AnalysisNodeInfos: 分析引擎节点列表
|
9350
|
+
# @type AnalysisNodeInfos: Array
|
9351
|
+
# @param DeviceBandwidth: 设备带宽,单位G。当DeviceClass不为空时此参数才有效。例:25-表示当前设备带宽为25G;10-表示当前设备带宽为10G。
|
9352
|
+
# @type DeviceBandwidth: Integer
|
9187
9353
|
|
9188
|
-
attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu, :ClusterInfo
|
9354
|
+
attr_accessor :WanStatus, :Zone, :InitFlag, :RoVipInfo, :Memory, :Status, :VpcId, :SlaveInfo, :InstanceId, :Volume, :AutoRenew, :ProtectMode, :RoGroups, :SubnetId, :InstanceType, :ProjectId, :Region, :DeadlineTime, :DeployMode, :TaskStatus, :MasterInfo, :DeviceType, :EngineVersion, :InstanceName, :DrInfo, :WanDomain, :WanPort, :PayType, :CreateTime, :Vip, :Vport, :CdbError, :UniqVpcId, :UniqSubnetId, :PhysicalId, :Cpu, :Qps, :ZoneName, :DeviceClass, :DeployGroupId, :ZoneId, :InstanceNodes, :TagList, :EngineType, :MaxDelayTime, :DiskType, :ExpandCpu, :ClusterInfo, :AnalysisNodeInfos, :DeviceBandwidth
|
9189
9355
|
|
9190
|
-
def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil, clusterinfo=nil)
|
9356
|
+
def initialize(wanstatus=nil, zone=nil, initflag=nil, rovipinfo=nil, memory=nil, status=nil, vpcid=nil, slaveinfo=nil, instanceid=nil, volume=nil, autorenew=nil, protectmode=nil, rogroups=nil, subnetid=nil, instancetype=nil, projectid=nil, region=nil, deadlinetime=nil, deploymode=nil, taskstatus=nil, masterinfo=nil, devicetype=nil, engineversion=nil, instancename=nil, drinfo=nil, wandomain=nil, wanport=nil, paytype=nil, createtime=nil, vip=nil, vport=nil, cdberror=nil, uniqvpcid=nil, uniqsubnetid=nil, physicalid=nil, cpu=nil, qps=nil, zonename=nil, deviceclass=nil, deploygroupid=nil, zoneid=nil, instancenodes=nil, taglist=nil, enginetype=nil, maxdelaytime=nil, disktype=nil, expandcpu=nil, clusterinfo=nil, analysisnodeinfos=nil, devicebandwidth=nil)
|
9191
9357
|
@WanStatus = wanstatus
|
9192
9358
|
@Zone = zone
|
9193
9359
|
@InitFlag = initflag
|
@@ -9236,6 +9402,8 @@ module TencentCloud
|
|
9236
9402
|
@DiskType = disktype
|
9237
9403
|
@ExpandCpu = expandcpu
|
9238
9404
|
@ClusterInfo = clusterinfo
|
9405
|
+
@AnalysisNodeInfos = analysisnodeinfos
|
9406
|
+
@DeviceBandwidth = devicebandwidth
|
9239
9407
|
end
|
9240
9408
|
|
9241
9409
|
def deserialize(params)
|
@@ -9324,6 +9492,15 @@ module TencentCloud
|
|
9324
9492
|
@ClusterInfo << clusterinfo_tmp
|
9325
9493
|
end
|
9326
9494
|
end
|
9495
|
+
unless params['AnalysisNodeInfos'].nil?
|
9496
|
+
@AnalysisNodeInfos = []
|
9497
|
+
params['AnalysisNodeInfos'].each do |i|
|
9498
|
+
analysisnodeinfo_tmp = AnalysisNodeInfo.new
|
9499
|
+
analysisnodeinfo_tmp.deserialize(i)
|
9500
|
+
@AnalysisNodeInfos << analysisnodeinfo_tmp
|
9501
|
+
end
|
9502
|
+
end
|
9503
|
+
@DeviceBandwidth = params['DeviceBandwidth']
|
9327
9504
|
end
|
9328
9505
|
end
|
9329
9506
|
|
@@ -11858,6 +12035,32 @@ module TencentCloud
|
|
11858
12035
|
end
|
11859
12036
|
end
|
11860
12037
|
|
12038
|
+
# 按周期扩容策略中的所选择的周期
|
12039
|
+
class PeriodStrategy < TencentCloud::Common::AbstractModel
|
12040
|
+
# @param TimeCycle: 扩容周期
|
12041
|
+
# @type TimeCycle: :class:`Tencentcloud::Cdb.v20170320.models.TImeCycle`
|
12042
|
+
# @param TimeInterval: 时间间隔
|
12043
|
+
# @type TimeInterval: :class:`Tencentcloud::Cdb.v20170320.models.TimeInterval`
|
12044
|
+
|
12045
|
+
attr_accessor :TimeCycle, :TimeInterval
|
12046
|
+
|
12047
|
+
def initialize(timecycle=nil, timeinterval=nil)
|
12048
|
+
@TimeCycle = timecycle
|
12049
|
+
@TimeInterval = timeinterval
|
12050
|
+
end
|
12051
|
+
|
12052
|
+
def deserialize(params)
|
12053
|
+
unless params['TimeCycle'].nil?
|
12054
|
+
@TimeCycle = TImeCycle.new
|
12055
|
+
@TimeCycle.deserialize(params['TimeCycle'])
|
12056
|
+
end
|
12057
|
+
unless params['TimeInterval'].nil?
|
12058
|
+
@TimeInterval = TimeInterval.new
|
12059
|
+
@TimeInterval.deserialize(params['TimeInterval'])
|
12060
|
+
end
|
12061
|
+
end
|
12062
|
+
end
|
12063
|
+
|
11861
12064
|
# 数据库代理地址信息
|
11862
12065
|
class ProxyAddress < TencentCloud::Common::AbstractModel
|
11863
12066
|
# @param ProxyAddressId: 代理组地址ID
|
@@ -13408,14 +13611,20 @@ module TencentCloud
|
|
13408
13611
|
# @type ExpandCpu: Integer
|
13409
13612
|
# @param AutoStrategy: 自动扩容策略。Type 为 auto 时必传。
|
13410
13613
|
# @type AutoStrategy: :class:`Tencentcloud::Cdb.v20170320.models.AutoStrategy`
|
13614
|
+
# @param TimeIntervalStrategy: 按时间段扩容策略
|
13615
|
+
# @type TimeIntervalStrategy: :class:`Tencentcloud::Cdb.v20170320.models.TimeIntervalStrategy`
|
13616
|
+
# @param PeriodStrategy: 按周期扩容策略
|
13617
|
+
# @type PeriodStrategy: :class:`Tencentcloud::Cdb.v20170320.models.PeriodStrategy`
|
13411
13618
|
|
13412
|
-
attr_accessor :InstanceId, :Type, :ExpandCpu, :AutoStrategy
|
13619
|
+
attr_accessor :InstanceId, :Type, :ExpandCpu, :AutoStrategy, :TimeIntervalStrategy, :PeriodStrategy
|
13413
13620
|
|
13414
|
-
def initialize(instanceid=nil, type=nil, expandcpu=nil, autostrategy=nil)
|
13621
|
+
def initialize(instanceid=nil, type=nil, expandcpu=nil, autostrategy=nil, timeintervalstrategy=nil, periodstrategy=nil)
|
13415
13622
|
@InstanceId = instanceid
|
13416
13623
|
@Type = type
|
13417
13624
|
@ExpandCpu = expandcpu
|
13418
13625
|
@AutoStrategy = autostrategy
|
13626
|
+
@TimeIntervalStrategy = timeintervalstrategy
|
13627
|
+
@PeriodStrategy = periodstrategy
|
13419
13628
|
end
|
13420
13629
|
|
13421
13630
|
def deserialize(params)
|
@@ -13426,6 +13635,14 @@ module TencentCloud
|
|
13426
13635
|
@AutoStrategy = AutoStrategy.new
|
13427
13636
|
@AutoStrategy.deserialize(params['AutoStrategy'])
|
13428
13637
|
end
|
13638
|
+
unless params['TimeIntervalStrategy'].nil?
|
13639
|
+
@TimeIntervalStrategy = TimeIntervalStrategy.new
|
13640
|
+
@TimeIntervalStrategy.deserialize(params['TimeIntervalStrategy'])
|
13641
|
+
end
|
13642
|
+
unless params['PeriodStrategy'].nil?
|
13643
|
+
@PeriodStrategy = PeriodStrategy.new
|
13644
|
+
@PeriodStrategy.deserialize(params['PeriodStrategy'])
|
13645
|
+
end
|
13429
13646
|
end
|
13430
13647
|
end
|
13431
13648
|
|
@@ -13821,6 +14038,46 @@ module TencentCloud
|
|
13821
14038
|
end
|
13822
14039
|
end
|
13823
14040
|
|
14041
|
+
# 扩容的周期
|
14042
|
+
class TImeCycle < TencentCloud::Common::AbstractModel
|
14043
|
+
# @param Monday: 周一的扩容时间段
|
14044
|
+
# @type Monday: Boolean
|
14045
|
+
# @param Tuesday: 周二的扩容时间段
|
14046
|
+
# @type Tuesday: Boolean
|
14047
|
+
# @param Wednesday: 周三的扩容时间段
|
14048
|
+
# @type Wednesday: Boolean
|
14049
|
+
# @param Thursday: 周四的扩容时间段
|
14050
|
+
# @type Thursday: Boolean
|
14051
|
+
# @param Friday: 周五的扩容时间段
|
14052
|
+
# @type Friday: Boolean
|
14053
|
+
# @param Saturday: 周六的扩容时间段
|
14054
|
+
# @type Saturday: Boolean
|
14055
|
+
# @param Sunday: 周日的扩容时间段
|
14056
|
+
# @type Sunday: Boolean
|
14057
|
+
|
14058
|
+
attr_accessor :Monday, :Tuesday, :Wednesday, :Thursday, :Friday, :Saturday, :Sunday
|
14059
|
+
|
14060
|
+
def initialize(monday=nil, tuesday=nil, wednesday=nil, thursday=nil, friday=nil, saturday=nil, sunday=nil)
|
14061
|
+
@Monday = monday
|
14062
|
+
@Tuesday = tuesday
|
14063
|
+
@Wednesday = wednesday
|
14064
|
+
@Thursday = thursday
|
14065
|
+
@Friday = friday
|
14066
|
+
@Saturday = saturday
|
14067
|
+
@Sunday = sunday
|
14068
|
+
end
|
14069
|
+
|
14070
|
+
def deserialize(params)
|
14071
|
+
@Monday = params['Monday']
|
14072
|
+
@Tuesday = params['Tuesday']
|
14073
|
+
@Wednesday = params['Wednesday']
|
14074
|
+
@Thursday = params['Thursday']
|
14075
|
+
@Friday = params['Friday']
|
14076
|
+
@Saturday = params['Saturday']
|
14077
|
+
@Sunday = params['Sunday']
|
14078
|
+
end
|
14079
|
+
end
|
14080
|
+
|
13824
14081
|
# 数据库表权限
|
13825
14082
|
class TablePrivilege < TencentCloud::Common::AbstractModel
|
13826
14083
|
# @param Database: 数据库名
|
@@ -14058,6 +14315,46 @@ module TencentCloud
|
|
14058
14315
|
end
|
14059
14316
|
end
|
14060
14317
|
|
14318
|
+
# 时间段
|
14319
|
+
class TimeInterval < TencentCloud::Common::AbstractModel
|
14320
|
+
# @param StartTime: 开始时间
|
14321
|
+
# @type StartTime: String
|
14322
|
+
# @param EndTime: 结束时间
|
14323
|
+
# @type EndTime: String
|
14324
|
+
|
14325
|
+
attr_accessor :StartTime, :EndTime
|
14326
|
+
|
14327
|
+
def initialize(starttime=nil, endtime=nil)
|
14328
|
+
@StartTime = starttime
|
14329
|
+
@EndTime = endtime
|
14330
|
+
end
|
14331
|
+
|
14332
|
+
def deserialize(params)
|
14333
|
+
@StartTime = params['StartTime']
|
14334
|
+
@EndTime = params['EndTime']
|
14335
|
+
end
|
14336
|
+
end
|
14337
|
+
|
14338
|
+
# 按时间段扩容策略
|
14339
|
+
class TimeIntervalStrategy < TencentCloud::Common::AbstractModel
|
14340
|
+
# @param StartTime: 开始扩容时间
|
14341
|
+
# @type StartTime: Integer
|
14342
|
+
# @param EndTime: 结束扩容时间
|
14343
|
+
# @type EndTime: Integer
|
14344
|
+
|
14345
|
+
attr_accessor :StartTime, :EndTime
|
14346
|
+
|
14347
|
+
def initialize(starttime=nil, endtime=nil)
|
14348
|
+
@StartTime = starttime
|
14349
|
+
@EndTime = endtime
|
14350
|
+
end
|
14351
|
+
|
14352
|
+
def deserialize(params)
|
14353
|
+
@StartTime = params['StartTime']
|
14354
|
+
@EndTime = params['EndTime']
|
14355
|
+
end
|
14356
|
+
end
|
14357
|
+
|
14061
14358
|
# UpgradeCDBProxyVersion请求参数结构体
|
14062
14359
|
class UpgradeCDBProxyVersionRequest < TencentCloud::Common::AbstractModel
|
14063
14360
|
# @param InstanceId: 实例ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1069
|
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-05-
|
11
|
+
date: 2025-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|