tencentcloud-sdk-dbbrain 3.0.1030 → 3.0.1031
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/tencentcloud-sdk-dbbrain.rb +3 -3
- data/lib/v20191016/models.rb +76 -9
- data/lib/v20210527/models.rb +76 -9
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6765bdad9d0f8fa9a0d54f1d06b618f39c353b21
|
4
|
+
data.tar.gz: 2f2c7fb759e500b80844090bc5934e2d663450a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32533a44a2ec8f285c7480d3764b1820d1823755efb740ca0527ee0055912ded086836697dc74d9a555fcc70e197b32e008472161e5863b81981352209327d50
|
7
|
+
data.tar.gz: 39bc78c4314f7eec23cb1ef7ecfd16aa36b455fb8d4433aab4c49eba67cac192ce1d437e81f9aa28feb9787013b671f0b3a137d94cf8abb6bc575774cd43d746
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1031
|
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
require 'tencentcloud-sdk-common'
|
4
4
|
|
5
|
-
require_relative 'v20210527/client'
|
6
|
-
require_relative 'v20210527/models'
|
7
|
-
|
8
5
|
require_relative 'v20191016/client'
|
9
6
|
require_relative 'v20191016/models'
|
10
7
|
|
8
|
+
require_relative 'v20210527/client'
|
9
|
+
require_relative 'v20210527/models'
|
10
|
+
|
11
11
|
module TencentCloud
|
12
12
|
module Dbbrain
|
13
13
|
end
|
data/lib/v20191016/models.rb
CHANGED
@@ -99,7 +99,7 @@ module TencentCloud
|
|
99
99
|
# @type ContactPerson: Array
|
100
100
|
# @param ContactGroup: 接收邮件的联系组ID数组。
|
101
101
|
# @type ContactGroup: Array
|
102
|
-
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
102
|
+
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认值为"mysql"。
|
103
103
|
# @type Product: String
|
104
104
|
|
105
105
|
attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
|
@@ -151,7 +151,7 @@ module TencentCloud
|
|
151
151
|
# @type InstanceId: String
|
152
152
|
# @param AsyncRequestId: 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
153
153
|
# @type AsyncRequestId: Integer
|
154
|
-
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
154
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
155
155
|
# @type Product: String
|
156
156
|
|
157
157
|
attr_accessor :InstanceId, :AsyncRequestId, :Product
|
@@ -499,7 +499,7 @@ module TencentCloud
|
|
499
499
|
# @type InstanceId: String
|
500
500
|
# @param EventId: 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
501
501
|
# @type EventId: Integer
|
502
|
-
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
502
|
+
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
503
503
|
# @type Product: String
|
504
504
|
|
505
505
|
attr_accessor :InstanceId, :EventId, :Product
|
@@ -640,7 +640,7 @@ module TencentCloud
|
|
640
640
|
# @type EndTime: String
|
641
641
|
# @param InstanceIds: 实例ID数组,用于筛选指定实例的任务列表。
|
642
642
|
# @type InstanceIds: Array
|
643
|
-
# @param Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" -
|
643
|
+
# @param Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 计划任务;"MANUAL" - 手动触发。
|
644
644
|
# @type Sources: Array
|
645
645
|
# @param HealthLevels: 报告的健康等级,支持的取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK" - 危险;"HIGH_RISK" - 高危。
|
646
646
|
# @type HealthLevels: String
|
@@ -650,7 +650,7 @@ module TencentCloud
|
|
650
650
|
# @type Offset: Integer
|
651
651
|
# @param Limit: 返回数量,默认20。
|
652
652
|
# @type Limit: Integer
|
653
|
-
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
653
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL;"redis" - 云数据库 Redis,默认为"mysql"。
|
654
654
|
# @type Product: String
|
655
655
|
|
656
656
|
attr_accessor :StartTime, :EndTime, :InstanceIds, :Sources, :HealthLevels, :TaskStatuses, :Offset, :Limit, :Product
|
@@ -1816,14 +1816,17 @@ module TencentCloud
|
|
1816
1816
|
# @type ScoreLost: Integer
|
1817
1817
|
# @param ScoreDetails: 扣分详情。
|
1818
1818
|
# @type ScoreDetails: Array
|
1819
|
+
# @param HealthLevelVersion: 健康等级版本,默认为V1
|
1820
|
+
# @type HealthLevelVersion: String
|
1819
1821
|
|
1820
|
-
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails
|
1822
|
+
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails, :HealthLevelVersion
|
1821
1823
|
|
1822
|
-
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil)
|
1824
|
+
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil, healthlevelversion=nil)
|
1823
1825
|
@HealthScore = healthscore
|
1824
1826
|
@HealthLevel = healthlevel
|
1825
1827
|
@ScoreLost = scorelost
|
1826
1828
|
@ScoreDetails = scoredetails
|
1829
|
+
@HealthLevelVersion = healthlevelversion
|
1827
1830
|
end
|
1828
1831
|
|
1829
1832
|
def deserialize(params)
|
@@ -1838,6 +1841,7 @@ module TencentCloud
|
|
1838
1841
|
@ScoreDetails << scoredetail_tmp
|
1839
1842
|
end
|
1840
1843
|
end
|
1844
|
+
@HealthLevelVersion = params['HealthLevelVersion']
|
1841
1845
|
end
|
1842
1846
|
end
|
1843
1847
|
|
@@ -1855,16 +1859,43 @@ module TencentCloud
|
|
1855
1859
|
# @type Product: String
|
1856
1860
|
# @param EngineVersion: 实例引擎版本。
|
1857
1861
|
# @type EngineVersion: String
|
1862
|
+
# @param Cpu: CPU数量,对于Redis为0。
|
1863
|
+
# @type Cpu: Integer
|
1864
|
+
# @param DeployMode: 实例部署模式。
|
1865
|
+
# @type DeployMode: String
|
1866
|
+
# @param InstanceConf: 实例内存配置。
|
1867
|
+
# @type InstanceConf: :class:`Tencentcloud::Dbbrain.v20191016.models.RedisInstanceConf`
|
1868
|
+
# @param IsSupported: DBbrain是否支持该实例。
|
1869
|
+
# @type IsSupported: Boolean
|
1870
|
+
# @param Memory: 实例内存,单位MB。
|
1871
|
+
# @type Memory: Integer
|
1872
|
+
# @param Region: 实例地域。
|
1873
|
+
# @type Region: String
|
1874
|
+
# @param UniqSubnetId: 实例子网统一ID,对于redis为空字符串。
|
1875
|
+
# @type UniqSubnetId: String
|
1876
|
+
# @param UniqVpcId: 实例私有网络统一ID,对于redis为空字符串。
|
1877
|
+
# @type UniqVpcId: String
|
1878
|
+
# @param Volume: 实例磁盘容量,对于Redis为0。
|
1879
|
+
# @type Volume: Integer
|
1858
1880
|
|
1859
|
-
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion
|
1881
|
+
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion, :Cpu, :DeployMode, :InstanceConf, :IsSupported, :Memory, :Region, :UniqSubnetId, :UniqVpcId, :Volume
|
1860
1882
|
|
1861
|
-
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil)
|
1883
|
+
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil, cpu=nil, deploymode=nil, instanceconf=nil, issupported=nil, memory=nil, region=nil, uniqsubnetid=nil, uniqvpcid=nil, volume=nil)
|
1862
1884
|
@InstanceId = instanceid
|
1863
1885
|
@InstanceName = instancename
|
1864
1886
|
@Vip = vip
|
1865
1887
|
@Vport = vport
|
1866
1888
|
@Product = product
|
1867
1889
|
@EngineVersion = engineversion
|
1890
|
+
@Cpu = cpu
|
1891
|
+
@DeployMode = deploymode
|
1892
|
+
@InstanceConf = instanceconf
|
1893
|
+
@IsSupported = issupported
|
1894
|
+
@Memory = memory
|
1895
|
+
@Region = region
|
1896
|
+
@UniqSubnetId = uniqsubnetid
|
1897
|
+
@UniqVpcId = uniqvpcid
|
1898
|
+
@Volume = volume
|
1868
1899
|
end
|
1869
1900
|
|
1870
1901
|
def deserialize(params)
|
@@ -1874,6 +1905,18 @@ module TencentCloud
|
|
1874
1905
|
@Vport = params['Vport']
|
1875
1906
|
@Product = params['Product']
|
1876
1907
|
@EngineVersion = params['EngineVersion']
|
1908
|
+
@Cpu = params['Cpu']
|
1909
|
+
@DeployMode = params['DeployMode']
|
1910
|
+
unless params['InstanceConf'].nil?
|
1911
|
+
@InstanceConf = RedisInstanceConf.new
|
1912
|
+
@InstanceConf.deserialize(params['InstanceConf'])
|
1913
|
+
end
|
1914
|
+
@IsSupported = params['IsSupported']
|
1915
|
+
@Memory = params['Memory']
|
1916
|
+
@Region = params['Region']
|
1917
|
+
@UniqSubnetId = params['UniqSubnetId']
|
1918
|
+
@UniqVpcId = params['UniqVpcId']
|
1919
|
+
@Volume = params['Volume']
|
1877
1920
|
end
|
1878
1921
|
end
|
1879
1922
|
|
@@ -2283,6 +2326,30 @@ module TencentCloud
|
|
2283
2326
|
end
|
2284
2327
|
end
|
2285
2328
|
|
2329
|
+
# Redis实例内存配置参数
|
2330
|
+
class RedisInstanceConf < TencentCloud::Common::AbstractModel
|
2331
|
+
# @param ReplicasNum: 副本数量
|
2332
|
+
# @type ReplicasNum: String
|
2333
|
+
# @param ShardNum: 分片数量
|
2334
|
+
# @type ShardNum: String
|
2335
|
+
# @param ShardSize: 分片内存大小,单位MB
|
2336
|
+
# @type ShardSize: String
|
2337
|
+
|
2338
|
+
attr_accessor :ReplicasNum, :ShardNum, :ShardSize
|
2339
|
+
|
2340
|
+
def initialize(replicasnum=nil, shardnum=nil, shardsize=nil)
|
2341
|
+
@ReplicasNum = replicasnum
|
2342
|
+
@ShardNum = shardnum
|
2343
|
+
@ShardSize = shardsize
|
2344
|
+
end
|
2345
|
+
|
2346
|
+
def deserialize(params)
|
2347
|
+
@ReplicasNum = params['ReplicasNum']
|
2348
|
+
@ShardNum = params['ShardNum']
|
2349
|
+
@ShardSize = params['ShardSize']
|
2350
|
+
end
|
2351
|
+
end
|
2352
|
+
|
2286
2353
|
# SchemaItem数组
|
2287
2354
|
class SchemaItem < TencentCloud::Common::AbstractModel
|
2288
2355
|
# @param Schema: 数据库名称
|
data/lib/v20210527/models.rb
CHANGED
@@ -865,7 +865,7 @@ module TencentCloud
|
|
865
865
|
# @type ContactPerson: Array
|
866
866
|
# @param ContactGroup: 接收邮件的联系组ID数组。
|
867
867
|
# @type ContactGroup: Array
|
868
|
-
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认值为"mysql"。
|
868
|
+
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认值为"mysql"。
|
869
869
|
# @type Product: String
|
870
870
|
|
871
871
|
attr_accessor :InstanceId, :StartTime, :EndTime, :SendMailFlag, :ContactPerson, :ContactGroup, :Product
|
@@ -917,7 +917,7 @@ module TencentCloud
|
|
917
917
|
# @type InstanceId: String
|
918
918
|
# @param AsyncRequestId: 健康报告相应的任务ID,可通过DescribeDBDiagReportTasks查询。
|
919
919
|
# @type AsyncRequestId: Integer
|
920
|
-
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
920
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
921
921
|
# @type Product: String
|
922
922
|
|
923
923
|
attr_accessor :InstanceId, :AsyncRequestId, :Product
|
@@ -2029,7 +2029,7 @@ module TencentCloud
|
|
2029
2029
|
# @type InstanceId: String
|
2030
2030
|
# @param EventId: 事件 ID 。通过“获取实例诊断历史DescribeDBDiagHistory”获取。
|
2031
2031
|
# @type EventId: Integer
|
2032
|
-
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
|
2032
|
+
# @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
2033
2033
|
# @type Product: String
|
2034
2034
|
|
2035
2035
|
attr_accessor :InstanceId, :EventId, :Product
|
@@ -2241,7 +2241,7 @@ module TencentCloud
|
|
2241
2241
|
# @type EndTime: String
|
2242
2242
|
# @param InstanceIds: 实例ID数组,用于筛选指定实例的任务列表。
|
2243
2243
|
# @type InstanceIds: Array
|
2244
|
-
# @param Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" -
|
2244
|
+
# @param Sources: 任务的触发来源,支持的取值包括:"DAILY_INSPECTION" - 实例巡检;"SCHEDULED" - 计划任务;"MANUAL" - 手动触发。
|
2245
2245
|
# @type Sources: Array
|
2246
2246
|
# @param HealthLevels: 报告的健康等级,支持的取值包括:"HEALTH" - 健康;"SUB_HEALTH" - 亚健康;"RISK" - 危险;"HIGH_RISK" - 高危。
|
2247
2247
|
# @type HealthLevels: String
|
@@ -2251,7 +2251,7 @@ module TencentCloud
|
|
2251
2251
|
# @type Offset: Integer
|
2252
2252
|
# @param Limit: 返回数量,默认20,最大值为100。
|
2253
2253
|
# @type Limit: Integer
|
2254
|
-
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
|
2254
|
+
# @param Product: 服务产品类型,支持值:"mysql" - 云数据库 MySQL;"cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
|
2255
2255
|
# @type Product: String
|
2256
2256
|
|
2257
2257
|
attr_accessor :StartTime, :EndTime, :InstanceIds, :Sources, :HealthLevels, :TaskStatuses, :Offset, :Limit, :Product
|
@@ -4697,14 +4697,17 @@ module TencentCloud
|
|
4697
4697
|
# @type ScoreLost: Integer
|
4698
4698
|
# @param ScoreDetails: 扣分详情。
|
4699
4699
|
# @type ScoreDetails: Array
|
4700
|
+
# @param HealthLevelVersion: 健康等级版本,默认为"V1"
|
4701
|
+
# @type HealthLevelVersion: String
|
4700
4702
|
|
4701
|
-
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails
|
4703
|
+
attr_accessor :HealthScore, :HealthLevel, :ScoreLost, :ScoreDetails, :HealthLevelVersion
|
4702
4704
|
|
4703
|
-
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil)
|
4705
|
+
def initialize(healthscore=nil, healthlevel=nil, scorelost=nil, scoredetails=nil, healthlevelversion=nil)
|
4704
4706
|
@HealthScore = healthscore
|
4705
4707
|
@HealthLevel = healthlevel
|
4706
4708
|
@ScoreLost = scorelost
|
4707
4709
|
@ScoreDetails = scoredetails
|
4710
|
+
@HealthLevelVersion = healthlevelversion
|
4708
4711
|
end
|
4709
4712
|
|
4710
4713
|
def deserialize(params)
|
@@ -4719,6 +4722,7 @@ module TencentCloud
|
|
4719
4722
|
@ScoreDetails << scoredetail_tmp
|
4720
4723
|
end
|
4721
4724
|
end
|
4725
|
+
@HealthLevelVersion = params['HealthLevelVersion']
|
4722
4726
|
end
|
4723
4727
|
end
|
4724
4728
|
|
@@ -4808,16 +4812,43 @@ module TencentCloud
|
|
4808
4812
|
# @type Product: String
|
4809
4813
|
# @param EngineVersion: 实例引擎版本。
|
4810
4814
|
# @type EngineVersion: String
|
4815
|
+
# @param Cpu: CPU数量,对于Redis为0。
|
4816
|
+
# @type Cpu: Integer
|
4817
|
+
# @param DeployMode: 实例部署模式。
|
4818
|
+
# @type DeployMode: String
|
4819
|
+
# @param InstanceConf: 实例内存配置。
|
4820
|
+
# @type InstanceConf: :class:`Tencentcloud::Dbbrain.v20210527.models.RedisInstanceConf`
|
4821
|
+
# @param IsSupported: DBbrain是否支持该实例。
|
4822
|
+
# @type IsSupported: Boolean
|
4823
|
+
# @param Memory: 实例内存,单位MB。
|
4824
|
+
# @type Memory: Integer
|
4825
|
+
# @param Region: 实例地域。
|
4826
|
+
# @type Region: String
|
4827
|
+
# @param UniqSubnetId: 实例子网统一ID,对于redis为空字符串。
|
4828
|
+
# @type UniqSubnetId: String
|
4829
|
+
# @param UniqVpcId: 实例私有网络统一ID,对于redis为空字符串。
|
4830
|
+
# @type UniqVpcId: String
|
4831
|
+
# @param Volume: 实例磁盘容量,对于Redis为0。
|
4832
|
+
# @type Volume: Integer
|
4811
4833
|
|
4812
|
-
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion
|
4834
|
+
attr_accessor :InstanceId, :InstanceName, :Vip, :Vport, :Product, :EngineVersion, :Cpu, :DeployMode, :InstanceConf, :IsSupported, :Memory, :Region, :UniqSubnetId, :UniqVpcId, :Volume
|
4813
4835
|
|
4814
|
-
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil)
|
4836
|
+
def initialize(instanceid=nil, instancename=nil, vip=nil, vport=nil, product=nil, engineversion=nil, cpu=nil, deploymode=nil, instanceconf=nil, issupported=nil, memory=nil, region=nil, uniqsubnetid=nil, uniqvpcid=nil, volume=nil)
|
4815
4837
|
@InstanceId = instanceid
|
4816
4838
|
@InstanceName = instancename
|
4817
4839
|
@Vip = vip
|
4818
4840
|
@Vport = vport
|
4819
4841
|
@Product = product
|
4820
4842
|
@EngineVersion = engineversion
|
4843
|
+
@Cpu = cpu
|
4844
|
+
@DeployMode = deploymode
|
4845
|
+
@InstanceConf = instanceconf
|
4846
|
+
@IsSupported = issupported
|
4847
|
+
@Memory = memory
|
4848
|
+
@Region = region
|
4849
|
+
@UniqSubnetId = uniqsubnetid
|
4850
|
+
@UniqVpcId = uniqvpcid
|
4851
|
+
@Volume = volume
|
4821
4852
|
end
|
4822
4853
|
|
4823
4854
|
def deserialize(params)
|
@@ -4827,6 +4858,18 @@ module TencentCloud
|
|
4827
4858
|
@Vport = params['Vport']
|
4828
4859
|
@Product = params['Product']
|
4829
4860
|
@EngineVersion = params['EngineVersion']
|
4861
|
+
@Cpu = params['Cpu']
|
4862
|
+
@DeployMode = params['DeployMode']
|
4863
|
+
unless params['InstanceConf'].nil?
|
4864
|
+
@InstanceConf = RedisInstanceConf.new
|
4865
|
+
@InstanceConf.deserialize(params['InstanceConf'])
|
4866
|
+
end
|
4867
|
+
@IsSupported = params['IsSupported']
|
4868
|
+
@Memory = params['Memory']
|
4869
|
+
@Region = params['Region']
|
4870
|
+
@UniqSubnetId = params['UniqSubnetId']
|
4871
|
+
@UniqVpcId = params['UniqVpcId']
|
4872
|
+
@Volume = params['Volume']
|
4830
4873
|
end
|
4831
4874
|
end
|
4832
4875
|
|
@@ -5944,6 +5987,30 @@ module TencentCloud
|
|
5944
5987
|
end
|
5945
5988
|
end
|
5946
5989
|
|
5990
|
+
# Redis实例内存配置参数
|
5991
|
+
class RedisInstanceConf < TencentCloud::Common::AbstractModel
|
5992
|
+
# @param ReplicasNum: 副本数量
|
5993
|
+
# @type ReplicasNum: String
|
5994
|
+
# @param ShardNum: 分片数量
|
5995
|
+
# @type ShardNum: String
|
5996
|
+
# @param ShardSize: 分片内存大小,单位MB
|
5997
|
+
# @type ShardSize: String
|
5998
|
+
|
5999
|
+
attr_accessor :ReplicasNum, :ShardNum, :ShardSize
|
6000
|
+
|
6001
|
+
def initialize(replicasnum=nil, shardnum=nil, shardsize=nil)
|
6002
|
+
@ReplicasNum = replicasnum
|
6003
|
+
@ShardNum = shardnum
|
6004
|
+
@ShardSize = shardsize
|
6005
|
+
end
|
6006
|
+
|
6007
|
+
def deserialize(params)
|
6008
|
+
@ReplicasNum = params['ReplicasNum']
|
6009
|
+
@ShardNum = params['ShardNum']
|
6010
|
+
@ShardSize = params['ShardSize']
|
6011
|
+
end
|
6012
|
+
end
|
6013
|
+
|
5947
6014
|
# redis key空间信息。
|
5948
6015
|
class RedisKeySpaceData < TencentCloud::Common::AbstractModel
|
5949
6016
|
# @param Key: key名。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-dbbrain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1031
|
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-
|
11
|
+
date: 2025-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/
|
36
|
+
- lib/v20210527/client.rb
|
37
|
+
- lib/v20210527/models.rb
|
37
38
|
- lib/v20191016/client.rb
|
39
|
+
- lib/v20191016/models.rb
|
38
40
|
- lib/tencentcloud-sdk-dbbrain.rb
|
39
|
-
- lib/v20210527/models.rb
|
40
|
-
- lib/v20210527/client.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|