tencentcloud-sdk-dbbrain 3.0.589 → 3.0.590
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20191016/models.rb +74 -6
- data/lib/v20210527/models.rb +66 -9
- 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: 7e624515a31082b0759f25fdc410a52d67780349
|
4
|
+
data.tar.gz: 295a2e4769b354d093776cbfe5d21ebb2d38167f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4eb156e15e108c36e65d31339a99b0351ab2499a2941f2a78417997bc950d8048fe7fa48557848caa632eb8aff02e13ed7de074241034f87ba8a5fdaa85f6aa
|
7
|
+
data.tar.gz: 4025026732f5830fc1549422ca33608465c10cb5da5e896f6569b813373c6ef1c6cd173044e6f96534b2a9f20132f8fff64c16bf0a67e6b88946ecc18a4be455
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.590
|
data/lib/v20191016/models.rb
CHANGED
@@ -1251,14 +1251,20 @@ module TencentCloud
|
|
1251
1251
|
# @type TotalCount: Integer
|
1252
1252
|
# @param Items: 各来源地址的慢日志占比详情列表。
|
1253
1253
|
# @type Items: Array
|
1254
|
+
# @param UserNameItems: 各来源用户名的慢日志占比详情列表。
|
1255
|
+
# @type UserNameItems: Array
|
1256
|
+
# @param UserTotalCount: 来源用户数目。
|
1257
|
+
# @type UserTotalCount: Integer
|
1254
1258
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1255
1259
|
# @type RequestId: String
|
1256
1260
|
|
1257
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
1261
|
+
attr_accessor :TotalCount, :Items, :UserNameItems, :UserTotalCount, :RequestId
|
1258
1262
|
|
1259
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
1263
|
+
def initialize(totalcount=nil, items=nil, usernameitems=nil, usertotalcount=nil, requestid=nil)
|
1260
1264
|
@TotalCount = totalcount
|
1261
1265
|
@Items = items
|
1266
|
+
@UserNameItems = usernameitems
|
1267
|
+
@UserTotalCount = usertotalcount
|
1262
1268
|
@RequestId = requestid
|
1263
1269
|
end
|
1264
1270
|
|
@@ -1272,6 +1278,15 @@ module TencentCloud
|
|
1272
1278
|
@Items << slowloghost_tmp
|
1273
1279
|
end
|
1274
1280
|
end
|
1281
|
+
unless params['UserNameItems'].nil?
|
1282
|
+
@UserNameItems = []
|
1283
|
+
params['UserNameItems'].each do |i|
|
1284
|
+
slowloguser_tmp = SlowLogUser.new
|
1285
|
+
slowloguser_tmp.deserialize(i)
|
1286
|
+
@UserNameItems << slowloguser_tmp
|
1287
|
+
end
|
1288
|
+
end
|
1289
|
+
@UserTotalCount = params['UserTotalCount']
|
1275
1290
|
@RequestId = params['RequestId']
|
1276
1291
|
end
|
1277
1292
|
end
|
@@ -1878,17 +1893,22 @@ module TencentCloud
|
|
1878
1893
|
# @type DailyInspection: String
|
1879
1894
|
# @param OverviewDisplay: 实例概览开关,Yes/No。
|
1880
1895
|
# @type OverviewDisplay: String
|
1896
|
+
# @param KeyDelimiters: redis大key分析的自定义分割符,仅redis使用
|
1897
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1898
|
+
# @type KeyDelimiters: Array
|
1881
1899
|
|
1882
|
-
attr_accessor :DailyInspection, :OverviewDisplay
|
1900
|
+
attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters
|
1883
1901
|
|
1884
|
-
def initialize(dailyinspection=nil, overviewdisplay=nil)
|
1902
|
+
def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil)
|
1885
1903
|
@DailyInspection = dailyinspection
|
1886
1904
|
@OverviewDisplay = overviewdisplay
|
1905
|
+
@KeyDelimiters = keydelimiters
|
1887
1906
|
end
|
1888
1907
|
|
1889
1908
|
def deserialize(params)
|
1890
1909
|
@DailyInspection = params['DailyInspection']
|
1891
1910
|
@OverviewDisplay = params['OverviewDisplay']
|
1911
|
+
@KeyDelimiters = params['KeyDelimiters']
|
1892
1912
|
end
|
1893
1913
|
end
|
1894
1914
|
|
@@ -1950,10 +1970,24 @@ module TencentCloud
|
|
1950
1970
|
# @type AuditPolicyStatus: String
|
1951
1971
|
# @param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
|
1952
1972
|
# @type AuditRunningStatus: String
|
1973
|
+
# @param InternalVip: 内网vip。
|
1974
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1975
|
+
# @type InternalVip: String
|
1976
|
+
# @param InternalVport: 内网port。
|
1977
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1978
|
+
# @type InternalVport: Integer
|
1979
|
+
# @param CreateTime: 创建时间。
|
1980
|
+
# @type CreateTime: String
|
1981
|
+
# @param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
1982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1983
|
+
# @type ClusterId: String
|
1984
|
+
# @param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
1985
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1986
|
+
# @type ClusterName: String
|
1953
1987
|
|
1954
|
-
attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus
|
1988
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus, :InternalVip, :InternalVport, :CreateTime, :ClusterId, :ClusterName
|
1955
1989
|
|
1956
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil)
|
1990
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil, clusterid=nil, clustername=nil)
|
1957
1991
|
@InstanceId = instanceid
|
1958
1992
|
@InstanceName = instancename
|
1959
1993
|
@Region = region
|
@@ -1982,6 +2016,11 @@ module TencentCloud
|
|
1982
2016
|
@SecAuditStatus = secauditstatus
|
1983
2017
|
@AuditPolicyStatus = auditpolicystatus
|
1984
2018
|
@AuditRunningStatus = auditrunningstatus
|
2019
|
+
@InternalVip = internalvip
|
2020
|
+
@InternalVport = internalvport
|
2021
|
+
@CreateTime = createtime
|
2022
|
+
@ClusterId = clusterid
|
2023
|
+
@ClusterName = clustername
|
1985
2024
|
end
|
1986
2025
|
|
1987
2026
|
def deserialize(params)
|
@@ -2016,6 +2055,11 @@ module TencentCloud
|
|
2016
2055
|
@SecAuditStatus = params['SecAuditStatus']
|
2017
2056
|
@AuditPolicyStatus = params['AuditPolicyStatus']
|
2018
2057
|
@AuditRunningStatus = params['AuditRunningStatus']
|
2058
|
+
@InternalVip = params['InternalVip']
|
2059
|
+
@InternalVport = params['InternalVport']
|
2060
|
+
@CreateTime = params['CreateTime']
|
2061
|
+
@ClusterId = params['ClusterId']
|
2062
|
+
@ClusterName = params['ClusterName']
|
2019
2063
|
end
|
2020
2064
|
end
|
2021
2065
|
|
@@ -2602,6 +2646,30 @@ module TencentCloud
|
|
2602
2646
|
end
|
2603
2647
|
end
|
2604
2648
|
|
2649
|
+
# 慢日志来源用户详情。
|
2650
|
+
class SlowLogUser < TencentCloud::Common::AbstractModel
|
2651
|
+
# @param UserName: 来源用户名。
|
2652
|
+
# @type UserName: String
|
2653
|
+
# @param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
|
2654
|
+
# @type Ratio: Float
|
2655
|
+
# @param Count: 该来源用户名的慢日志数目。
|
2656
|
+
# @type Count: Integer
|
2657
|
+
|
2658
|
+
attr_accessor :UserName, :Ratio, :Count
|
2659
|
+
|
2660
|
+
def initialize(username=nil, ratio=nil, count=nil)
|
2661
|
+
@UserName = username
|
2662
|
+
@Ratio = ratio
|
2663
|
+
@Count = count
|
2664
|
+
end
|
2665
|
+
|
2666
|
+
def deserialize(params)
|
2667
|
+
@UserName = params['UserName']
|
2668
|
+
@Ratio = params['Ratio']
|
2669
|
+
@Count = params['Count']
|
2670
|
+
end
|
2671
|
+
end
|
2672
|
+
|
2605
2673
|
# 库表空间统计数据。
|
2606
2674
|
class TableSpaceData < TencentCloud::Common::AbstractModel
|
2607
2675
|
# @param TableName: 表名。
|
data/lib/v20210527/models.rb
CHANGED
@@ -2278,14 +2278,20 @@ module TencentCloud
|
|
2278
2278
|
# @type TotalCount: Integer
|
2279
2279
|
# @param Items: 各来源地址的慢日志占比详情列表。
|
2280
2280
|
# @type Items: Array
|
2281
|
+
# @param UserNameItems: 各来源用户名的慢日志占比详情列表。
|
2282
|
+
# @type UserNameItems: Array
|
2283
|
+
# @param UserTotalCount: 来源用户数目。
|
2284
|
+
# @type UserTotalCount: Integer
|
2281
2285
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2282
2286
|
# @type RequestId: String
|
2283
2287
|
|
2284
|
-
attr_accessor :TotalCount, :Items, :RequestId
|
2288
|
+
attr_accessor :TotalCount, :Items, :UserNameItems, :UserTotalCount, :RequestId
|
2285
2289
|
|
2286
|
-
def initialize(totalcount=nil, items=nil, requestid=nil)
|
2290
|
+
def initialize(totalcount=nil, items=nil, usernameitems=nil, usertotalcount=nil, requestid=nil)
|
2287
2291
|
@TotalCount = totalcount
|
2288
2292
|
@Items = items
|
2293
|
+
@UserNameItems = usernameitems
|
2294
|
+
@UserTotalCount = usertotalcount
|
2289
2295
|
@RequestId = requestid
|
2290
2296
|
end
|
2291
2297
|
|
@@ -2299,6 +2305,15 @@ module TencentCloud
|
|
2299
2305
|
@Items << slowloghost_tmp
|
2300
2306
|
end
|
2301
2307
|
end
|
2308
|
+
unless params['UserNameItems'].nil?
|
2309
|
+
@UserNameItems = []
|
2310
|
+
params['UserNameItems'].each do |i|
|
2311
|
+
slowloguser_tmp = SlowLogUser.new
|
2312
|
+
slowloguser_tmp.deserialize(i)
|
2313
|
+
@UserNameItems << slowloguser_tmp
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
@UserTotalCount = params['UserTotalCount']
|
2302
2317
|
@RequestId = params['RequestId']
|
2303
2318
|
end
|
2304
2319
|
end
|
@@ -3206,18 +3221,24 @@ module TencentCloud
|
|
3206
3221
|
# @type AuditPolicyStatus: String
|
3207
3222
|
# @param AuditRunningStatus: 实例审计日志运行状态:normal: 运行中; paused: 欠费暂停。
|
3208
3223
|
# @type AuditRunningStatus: String
|
3209
|
-
# @param InternalVip: 内网vip
|
3224
|
+
# @param InternalVip: 内网vip。
|
3210
3225
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3211
3226
|
# @type InternalVip: String
|
3212
|
-
# @param InternalVport: 内网port
|
3227
|
+
# @param InternalVport: 内网port。
|
3213
3228
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3214
3229
|
# @type InternalVport: Integer
|
3215
|
-
# @param CreateTime:
|
3230
|
+
# @param CreateTime: 创建时间。
|
3216
3231
|
# @type CreateTime: String
|
3232
|
+
# @param ClusterId: 所属集群ID(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
3233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3234
|
+
# @type ClusterId: String
|
3235
|
+
# @param ClusterName: 所属集群名称(仅对集群数据库产品该字段非空,如TDSQL-C)。
|
3236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3237
|
+
# @type ClusterName: String
|
3217
3238
|
|
3218
|
-
attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus, :InternalVip, :InternalVport, :CreateTime
|
3239
|
+
attr_accessor :InstanceId, :InstanceName, :Region, :HealthScore, :Product, :EventCount, :InstanceType, :Cpu, :Memory, :Volume, :EngineVersion, :Vip, :Vport, :Source, :GroupId, :GroupName, :Status, :UniqSubnetId, :DeployMode, :InitFlag, :TaskStatus, :UniqVpcId, :InstanceConf, :DeadlineTime, :IsSupported, :SecAuditStatus, :AuditPolicyStatus, :AuditRunningStatus, :InternalVip, :InternalVport, :CreateTime, :ClusterId, :ClusterName
|
3219
3240
|
|
3220
|
-
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil)
|
3241
|
+
def initialize(instanceid=nil, instancename=nil, region=nil, healthscore=nil, product=nil, eventcount=nil, instancetype=nil, cpu=nil, memory=nil, volume=nil, engineversion=nil, vip=nil, vport=nil, source=nil, groupid=nil, groupname=nil, status=nil, uniqsubnetid=nil, deploymode=nil, initflag=nil, taskstatus=nil, uniqvpcid=nil, instanceconf=nil, deadlinetime=nil, issupported=nil, secauditstatus=nil, auditpolicystatus=nil, auditrunningstatus=nil, internalvip=nil, internalvport=nil, createtime=nil, clusterid=nil, clustername=nil)
|
3221
3242
|
@InstanceId = instanceid
|
3222
3243
|
@InstanceName = instancename
|
3223
3244
|
@Region = region
|
@@ -3249,6 +3270,8 @@ module TencentCloud
|
|
3249
3270
|
@InternalVip = internalvip
|
3250
3271
|
@InternalVport = internalvport
|
3251
3272
|
@CreateTime = createtime
|
3273
|
+
@ClusterId = clusterid
|
3274
|
+
@ClusterName = clustername
|
3252
3275
|
end
|
3253
3276
|
|
3254
3277
|
def deserialize(params)
|
@@ -3286,6 +3309,8 @@ module TencentCloud
|
|
3286
3309
|
@InternalVip = params['InternalVip']
|
3287
3310
|
@InternalVport = params['InternalVport']
|
3288
3311
|
@CreateTime = params['CreateTime']
|
3312
|
+
@ClusterId = params['ClusterId']
|
3313
|
+
@ClusterName = params['ClusterName']
|
3289
3314
|
end
|
3290
3315
|
end
|
3291
3316
|
|
@@ -3726,10 +3751,14 @@ module TencentCloud
|
|
3726
3751
|
# @type ItemCount: Integer
|
3727
3752
|
# @param MaxElementSize: 最大元素长度。
|
3728
3753
|
# @type MaxElementSize: Integer
|
3754
|
+
# @param AveElementSize: 平均元素长度。
|
3755
|
+
# @type AveElementSize: Integer
|
3756
|
+
# @param ShardId: 所属分片序号。
|
3757
|
+
# @type ShardId: String
|
3729
3758
|
|
3730
|
-
attr_accessor :Key, :Type, :Encoding, :ExpireTime, :Length, :ItemCount, :MaxElementSize
|
3759
|
+
attr_accessor :Key, :Type, :Encoding, :ExpireTime, :Length, :ItemCount, :MaxElementSize, :AveElementSize, :ShardId
|
3731
3760
|
|
3732
|
-
def initialize(key=nil, type=nil, encoding=nil, expiretime=nil, length=nil, itemcount=nil, maxelementsize=nil)
|
3761
|
+
def initialize(key=nil, type=nil, encoding=nil, expiretime=nil, length=nil, itemcount=nil, maxelementsize=nil, aveelementsize=nil, shardid=nil)
|
3733
3762
|
@Key = key
|
3734
3763
|
@Type = type
|
3735
3764
|
@Encoding = encoding
|
@@ -3737,6 +3766,8 @@ module TencentCloud
|
|
3737
3766
|
@Length = length
|
3738
3767
|
@ItemCount = itemcount
|
3739
3768
|
@MaxElementSize = maxelementsize
|
3769
|
+
@AveElementSize = aveelementsize
|
3770
|
+
@ShardId = shardid
|
3740
3771
|
end
|
3741
3772
|
|
3742
3773
|
def deserialize(params)
|
@@ -3747,6 +3778,8 @@ module TencentCloud
|
|
3747
3778
|
@Length = params['Length']
|
3748
3779
|
@ItemCount = params['ItemCount']
|
3749
3780
|
@MaxElementSize = params['MaxElementSize']
|
3781
|
+
@AveElementSize = params['AveElementSize']
|
3782
|
+
@ShardId = params['ShardId']
|
3750
3783
|
end
|
3751
3784
|
end
|
3752
3785
|
|
@@ -4265,6 +4298,30 @@ module TencentCloud
|
|
4265
4298
|
end
|
4266
4299
|
end
|
4267
4300
|
|
4301
|
+
# 慢日志来源用户详情。
|
4302
|
+
class SlowLogUser < TencentCloud::Common::AbstractModel
|
4303
|
+
# @param UserName: 来源用户名。
|
4304
|
+
# @type UserName: String
|
4305
|
+
# @param Ratio: 该来源用户名的慢日志数目占总数目的比例,单位%。
|
4306
|
+
# @type Ratio: Float
|
4307
|
+
# @param Count: 该来源用户名的慢日志数目。
|
4308
|
+
# @type Count: Integer
|
4309
|
+
|
4310
|
+
attr_accessor :UserName, :Ratio, :Count
|
4311
|
+
|
4312
|
+
def initialize(username=nil, ratio=nil, count=nil)
|
4313
|
+
@UserName = username
|
4314
|
+
@Ratio = ratio
|
4315
|
+
@Count = count
|
4316
|
+
end
|
4317
|
+
|
4318
|
+
def deserialize(params)
|
4319
|
+
@UserName = params['UserName']
|
4320
|
+
@Ratio = params['Ratio']
|
4321
|
+
@Count = params['Count']
|
4322
|
+
end
|
4323
|
+
end
|
4324
|
+
|
4268
4325
|
# 表结构。
|
4269
4326
|
class Table < TencentCloud::Common::AbstractModel
|
4270
4327
|
# @param TableSchema: 库名。
|
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.590
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|