tencentcloud-sdk-dbbrain 3.0.1024 → 3.0.1026

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd156f433dcf61cca82ee29a050d3acb43ca6fb9
4
- data.tar.gz: 34e8ea7cc69beaa14d264db94146f36969340878
3
+ metadata.gz: 7f190bf55ef4f51e4f7a68a42cb3b1776d85c6c4
4
+ data.tar.gz: 6d21550a88add142b6848c8b3bdceb2fbe585bab
5
5
  SHA512:
6
- metadata.gz: 47091455f5ff2b0b9d78a0ec4ebd202200e69dc039dc5c1a6d2e274c7cc32b1aee558a67ae7c9ce2c97fada71696ea03e6b2256ebde215c2341565ce42a538ec
7
- data.tar.gz: 8d3c8453ea9fe3f4fd11a8e9dc984c197b59d10983128fbe344db5fd096ae0a6b7ff858dd996ec4fb2f3580fbcf8c13881b48bc97ca62f96121e90e32d2b90e0
6
+ metadata.gz: 33846b682fb8ce2837abd5fd5157c06ee10bbd79cf1ec294b4fe55a5b891cdd1acf68b0b8398e0cf9ef20ffdb40f129b8161fb3227986092cb2809a5512ff701
7
+ data.tar.gz: 33e0a2838a59185f190da8be7cb087d05cba1c7c8cf7838f7bea086f23edd7ddac4630a72f39cdf223cff37e9ac87ce88239dd9c020ba1093ac3deb98b4adf4f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1024
1
+ 3.0.1026
@@ -848,7 +848,7 @@ module TencentCloud
848
848
  # @type InstanceId: String
849
849
  # @param Time: 获取健康得分的时间。
850
850
  # @type Time: String
851
- # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
851
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
852
852
  # @type Product: String
853
853
 
854
854
  attr_accessor :InstanceId, :Time, :Product
@@ -924,10 +924,8 @@ module TencentCloud
924
924
  # DescribeMailProfile返回参数结构体
925
925
  class DescribeMailProfileResponse < TencentCloud::Common::AbstractModel
926
926
  # @param ProfileList: 邮件配置详情。
927
- # 注意:此字段可能返回 null,表示取不到有效值。
928
927
  # @type ProfileList: Array
929
928
  # @param TotalCount: 邮件模板总数。
930
- # 注意:此字段可能返回 null,表示取不到有效值。
931
929
  # @type TotalCount: Integer
932
930
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
933
931
  # @type RequestId: String
@@ -797,6 +797,30 @@ module TencentCloud
797
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
798
  end
799
799
 
800
+ # 根据实例ID获取指定时间段的性能趋势。
801
+
802
+ # @param request: Request instance for DescribeDBPerfTimeSeries.
803
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeDBPerfTimeSeriesRequest`
804
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeDBPerfTimeSeriesResponse`
805
+ def DescribeDBPerfTimeSeries(request)
806
+ body = send_request('DescribeDBPerfTimeSeries', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeDBPerfTimeSeriesResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
800
824
  # 获取指定时间段内的实例空间使用概览,包括磁盘增长量(MB)、磁盘剩余(MB)、磁盘总量(MB)及预计可用天数。
801
825
 
802
826
  # @param request: Request instance for DescribeDBSpaceStatus.
@@ -1061,6 +1085,78 @@ module TencentCloud
1061
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1086
  end
1063
1087
 
1088
+ # 延迟分析-命令字分析-查询命令延迟趋势
1089
+
1090
+ # @param request: Request instance for DescribeRedisCmdPerfTimeSeries.
1091
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCmdPerfTimeSeriesRequest`
1092
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCmdPerfTimeSeriesResponse`
1093
+ def DescribeRedisCmdPerfTimeSeries(request)
1094
+ body = send_request('DescribeRedisCmdPerfTimeSeries', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeRedisCmdPerfTimeSeriesResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1112
+ # 延迟分析-查询命令延迟分布
1113
+
1114
+ # @param request: Request instance for DescribeRedisCommandCostStatistics.
1115
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCommandCostStatisticsRequest`
1116
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCommandCostStatisticsResponse`
1117
+ def DescribeRedisCommandCostStatistics(request)
1118
+ body = send_request('DescribeRedisCommandCostStatistics', request.serialize)
1119
+ response = JSON.parse(body)
1120
+ if response['Response'].key?('Error') == false
1121
+ model = DescribeRedisCommandCostStatisticsResponse.new
1122
+ model.deserialize(response['Response'])
1123
+ model
1124
+ else
1125
+ code = response['Response']['Error']['Code']
1126
+ message = response['Response']['Error']['Message']
1127
+ reqid = response['Response']['RequestId']
1128
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1129
+ end
1130
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1131
+ raise e
1132
+ rescue StandardError => e
1133
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1134
+ end
1135
+
1136
+ # 延迟分析-查询实例访问命令统计
1137
+
1138
+ # @param request: Request instance for DescribeRedisCommandOverview.
1139
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCommandOverviewRequest`
1140
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisCommandOverviewResponse`
1141
+ def DescribeRedisCommandOverview(request)
1142
+ body = send_request('DescribeRedisCommandOverview', request.serialize)
1143
+ response = JSON.parse(body)
1144
+ if response['Response'].key?('Error') == false
1145
+ model = DescribeRedisCommandOverviewResponse.new
1146
+ model.deserialize(response['Response'])
1147
+ model
1148
+ else
1149
+ code = response['Response']['Error']['Code']
1150
+ message = response['Response']['Error']['Message']
1151
+ reqid = response['Response']['RequestId']
1152
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1153
+ end
1154
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1155
+ raise e
1156
+ rescue StandardError => e
1157
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
+ end
1159
+
1064
1160
  # 获取 Redis 实例所有 proxy 节点的实时会话详情列表。
1065
1161
 
1066
1162
  # @param request: Request instance for DescribeRedisProcessList.
@@ -717,6 +717,57 @@ module TencentCloud
717
717
  end
718
718
  end
719
719
 
720
+ # redis延迟分布区间详情
721
+ class CmdCostGroup < TencentCloud::Common::AbstractModel
722
+ # @param Percent: 该延迟区间内命令数占总命令数百分比
723
+ # @type Percent: Float
724
+ # @param CostUpperLimit: 延迟区间上界,单位ms
725
+ # @type CostUpperLimit: String
726
+ # @param CostLowerLimit: 延迟区间下界,单位ms
727
+ # @type CostLowerLimit: String
728
+ # @param Count: 该延迟区间内命令次数
729
+ # @type Count: Integer
730
+
731
+ attr_accessor :Percent, :CostUpperLimit, :CostLowerLimit, :Count
732
+
733
+ def initialize(percent=nil, costupperlimit=nil, costlowerlimit=nil, count=nil)
734
+ @Percent = percent
735
+ @CostUpperLimit = costupperlimit
736
+ @CostLowerLimit = costlowerlimit
737
+ @Count = count
738
+ end
739
+
740
+ def deserialize(params)
741
+ @Percent = params['Percent']
742
+ @CostUpperLimit = params['CostUpperLimit']
743
+ @CostLowerLimit = params['CostLowerLimit']
744
+ @Count = params['Count']
745
+ end
746
+ end
747
+
748
+ # redis命令延迟趋势
749
+ class CmdPerfInfo < TencentCloud::Common::AbstractModel
750
+ # @param Command: redis命令
751
+ # @type Command: String
752
+ # @param SeriesData: 监控数据
753
+ # @type SeriesData: :class:`Tencentcloud::Dbbrain.v20210527.models.MonitorMetricSeriesData`
754
+
755
+ attr_accessor :Command, :SeriesData
756
+
757
+ def initialize(command=nil, seriesdata=nil)
758
+ @Command = command
759
+ @SeriesData = seriesdata
760
+ end
761
+
762
+ def deserialize(params)
763
+ @Command = params['Command']
764
+ unless params['SeriesData'].nil?
765
+ @SeriesData = MonitorMetricSeriesData.new
766
+ @SeriesData.deserialize(params['SeriesData'])
767
+ end
768
+ end
769
+ end
770
+
720
771
  # 联系人contact描述。
721
772
  class ContactItem < TencentCloud::Common::AbstractModel
722
773
  # @param Id: 联系人id。
@@ -1041,17 +1092,21 @@ module TencentCloud
1041
1092
  # @type InstanceId: String
1042
1093
  # @param Product: 服务产品类型,支持值包括: "redis" - 云数据库 Redis。
1043
1094
  # @type Product: String
1095
+ # @param InstanceProxyId: 实列代理ID。
1096
+ # @type InstanceProxyId: String
1044
1097
 
1045
- attr_accessor :InstanceId, :Product
1098
+ attr_accessor :InstanceId, :Product, :InstanceProxyId
1046
1099
 
1047
- def initialize(instanceid=nil, product=nil)
1100
+ def initialize(instanceid=nil, product=nil, instanceproxyid=nil)
1048
1101
  @InstanceId = instanceid
1049
1102
  @Product = product
1103
+ @InstanceProxyId = instanceproxyid
1050
1104
  end
1051
1105
 
1052
1106
  def deserialize(params)
1053
1107
  @InstanceId = params['InstanceId']
1054
1108
  @Product = params['Product']
1109
+ @InstanceProxyId = params['InstanceProxyId']
1055
1110
  end
1056
1111
  end
1057
1112
 
@@ -1818,10 +1873,8 @@ module TencentCloud
1818
1873
  # DescribeAuditLogFiles返回参数结构体
1819
1874
  class DescribeAuditLogFilesResponse < TencentCloud::Common::AbstractModel
1820
1875
  # @param TotalCount: 符合条件的审计日志文件个数。
1821
- # 注意:此字段可能返回 null,表示取不到有效值。
1822
1876
  # @type TotalCount: Integer
1823
1877
  # @param Items: 审计日志文件详情。
1824
- # 注意:此字段可能返回 null,表示取不到有效值。
1825
1878
  # @type Items: Array
1826
1879
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1827
1880
  # @type RequestId: String
@@ -2259,6 +2312,81 @@ module TencentCloud
2259
2312
  end
2260
2313
  end
2261
2314
 
2315
+ # DescribeDBPerfTimeSeries请求参数结构体
2316
+ class DescribeDBPerfTimeSeriesRequest < TencentCloud::Common::AbstractModel
2317
+ # @param InstanceId: 需要获取性能趋势的实例ID。
2318
+ # @type InstanceId: String
2319
+ # @param StartTime: 开始时间。
2320
+ # @type StartTime: String
2321
+ # @param EndTime: 结束时间。
2322
+ # @type EndTime: String
2323
+ # @param Metric: 指标名称,多个指标之间用逗号分隔。
2324
+ # @type Metric: String
2325
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,"mongodb" - 云数据库 MongoDB
2326
+ # @type Product: String
2327
+ # @param ClusterId: 需要获取性能趋势的集群ID。
2328
+ # @type ClusterId: String
2329
+ # @param Period: 性能数据统计粒度。
2330
+ # @type Period: Integer
2331
+ # @param InstanceNodeId: 实列节点ID。
2332
+ # @type InstanceNodeId: String
2333
+ # @param InstanceProxyId: 实列代理ID。
2334
+ # @type InstanceProxyId: String
2335
+ # @param ProxyId: 代理节点ID。
2336
+ # @type ProxyId: String
2337
+
2338
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Metric, :Product, :ClusterId, :Period, :InstanceNodeId, :InstanceProxyId, :ProxyId
2339
+
2340
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, metric=nil, product=nil, clusterid=nil, period=nil, instancenodeid=nil, instanceproxyid=nil, proxyid=nil)
2341
+ @InstanceId = instanceid
2342
+ @StartTime = starttime
2343
+ @EndTime = endtime
2344
+ @Metric = metric
2345
+ @Product = product
2346
+ @ClusterId = clusterid
2347
+ @Period = period
2348
+ @InstanceNodeId = instancenodeid
2349
+ @InstanceProxyId = instanceproxyid
2350
+ @ProxyId = proxyid
2351
+ end
2352
+
2353
+ def deserialize(params)
2354
+ @InstanceId = params['InstanceId']
2355
+ @StartTime = params['StartTime']
2356
+ @EndTime = params['EndTime']
2357
+ @Metric = params['Metric']
2358
+ @Product = params['Product']
2359
+ @ClusterId = params['ClusterId']
2360
+ @Period = params['Period']
2361
+ @InstanceNodeId = params['InstanceNodeId']
2362
+ @InstanceProxyId = params['InstanceProxyId']
2363
+ @ProxyId = params['ProxyId']
2364
+ end
2365
+ end
2366
+
2367
+ # DescribeDBPerfTimeSeries返回参数结构体
2368
+ class DescribeDBPerfTimeSeriesResponse < TencentCloud::Common::AbstractModel
2369
+ # @param Data: 实列性能数据。
2370
+ # @type Data: :class:`Tencentcloud::Dbbrain.v20210527.models.MonitorMetricSeriesData`
2371
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2372
+ # @type RequestId: String
2373
+
2374
+ attr_accessor :Data, :RequestId
2375
+
2376
+ def initialize(data=nil, requestid=nil)
2377
+ @Data = data
2378
+ @RequestId = requestid
2379
+ end
2380
+
2381
+ def deserialize(params)
2382
+ unless params['Data'].nil?
2383
+ @Data = MonitorMetricSeriesData.new
2384
+ @Data.deserialize(params['Data'])
2385
+ end
2386
+ @RequestId = params['RequestId']
2387
+ end
2388
+ end
2389
+
2262
2390
  # DescribeDBSpaceStatus请求参数结构体
2263
2391
  class DescribeDBSpaceStatusRequest < TencentCloud::Common::AbstractModel
2264
2392
  # @param InstanceId: 实例 ID 。
@@ -2396,7 +2524,7 @@ module TencentCloud
2396
2524
  # @type InstanceId: String
2397
2525
  # @param Time: 获取健康得分的时间,时间格式如:2019-09-10 12:13:14。
2398
2526
  # @type Time: String
2399
- # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,默认为"mysql"。
2527
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 TDSQL-C for MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
2400
2528
  # @type Product: String
2401
2529
 
2402
2530
  attr_accessor :InstanceId, :Time, :Product
@@ -2594,10 +2722,8 @@ module TencentCloud
2594
2722
  # DescribeMailProfile返回参数结构体
2595
2723
  class DescribeMailProfileResponse < TencentCloud::Common::AbstractModel
2596
2724
  # @param ProfileList: 邮件配置详情。
2597
- # 注意:此字段可能返回 null,表示取不到有效值。
2598
2725
  # @type ProfileList: Array
2599
2726
  # @param TotalCount: 邮件配置总数。
2600
- # 注意:此字段可能返回 null,表示取不到有效值。
2601
2727
  # @type TotalCount: Integer
2602
2728
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2603
2729
  # @type RequestId: String
@@ -2981,6 +3107,183 @@ module TencentCloud
2981
3107
  end
2982
3108
  end
2983
3109
 
3110
+ # DescribeRedisCmdPerfTimeSeries请求参数结构体
3111
+ class DescribeRedisCmdPerfTimeSeriesRequest < TencentCloud::Common::AbstractModel
3112
+ # @param InstanceId: 实例 ID
3113
+ # @type InstanceId: String
3114
+ # @param Product: 服务产品类型,仅仅支持值 "redis" - 云数据库 Redis。
3115
+ # @type Product: String
3116
+ # @param StartTime: 开始时间,如“2025-03-17T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。
3117
+ # @type StartTime: String
3118
+ # @param EndTime: 结束时间,如“2025-03-17T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。
3119
+ # @type EndTime: String
3120
+ # @param CommandList: 需要分析的redis命令
3121
+ # @type CommandList: Array
3122
+ # @param Metric: 监控指标,以逗号分隔
3123
+ # @type Metric: String
3124
+ # @param Period: 监控指标时间粒度,单位秒,若不提供则根据开始时间和结束时间取默认值
3125
+ # @type Period: Integer
3126
+
3127
+ attr_accessor :InstanceId, :Product, :StartTime, :EndTime, :CommandList, :Metric, :Period
3128
+
3129
+ def initialize(instanceid=nil, product=nil, starttime=nil, endtime=nil, commandlist=nil, metric=nil, period=nil)
3130
+ @InstanceId = instanceid
3131
+ @Product = product
3132
+ @StartTime = starttime
3133
+ @EndTime = endtime
3134
+ @CommandList = commandlist
3135
+ @Metric = metric
3136
+ @Period = period
3137
+ end
3138
+
3139
+ def deserialize(params)
3140
+ @InstanceId = params['InstanceId']
3141
+ @Product = params['Product']
3142
+ @StartTime = params['StartTime']
3143
+ @EndTime = params['EndTime']
3144
+ @CommandList = params['CommandList']
3145
+ @Metric = params['Metric']
3146
+ @Period = params['Period']
3147
+ end
3148
+ end
3149
+
3150
+ # DescribeRedisCmdPerfTimeSeries返回参数结构体
3151
+ class DescribeRedisCmdPerfTimeSeriesResponse < TencentCloud::Common::AbstractModel
3152
+ # @param CmdPerfList: redis命令延迟趋势
3153
+ # @type CmdPerfList: Array
3154
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3155
+ # @type RequestId: String
3156
+
3157
+ attr_accessor :CmdPerfList, :RequestId
3158
+
3159
+ def initialize(cmdperflist=nil, requestid=nil)
3160
+ @CmdPerfList = cmdperflist
3161
+ @RequestId = requestid
3162
+ end
3163
+
3164
+ def deserialize(params)
3165
+ unless params['CmdPerfList'].nil?
3166
+ @CmdPerfList = []
3167
+ params['CmdPerfList'].each do |i|
3168
+ cmdperfinfo_tmp = CmdPerfInfo.new
3169
+ cmdperfinfo_tmp.deserialize(i)
3170
+ @CmdPerfList << cmdperfinfo_tmp
3171
+ end
3172
+ end
3173
+ @RequestId = params['RequestId']
3174
+ end
3175
+ end
3176
+
3177
+ # DescribeRedisCommandCostStatistics请求参数结构体
3178
+ class DescribeRedisCommandCostStatisticsRequest < TencentCloud::Common::AbstractModel
3179
+ # @param InstanceId: 实例 ID
3180
+ # @type InstanceId: String
3181
+ # @param StartTime: 开始时间,如“2025-03-17T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。
3182
+ # @type StartTime: String
3183
+ # @param EndTime: 结束时间,如“2025-03-17T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。
3184
+ # @type EndTime: String
3185
+ # @param Product: 服务产品类型,仅仅支持值 "redis" - 云数据库 Redis。
3186
+ # @type Product: String
3187
+
3188
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Product
3189
+
3190
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
3191
+ @InstanceId = instanceid
3192
+ @StartTime = starttime
3193
+ @EndTime = endtime
3194
+ @Product = product
3195
+ end
3196
+
3197
+ def deserialize(params)
3198
+ @InstanceId = params['InstanceId']
3199
+ @StartTime = params['StartTime']
3200
+ @EndTime = params['EndTime']
3201
+ @Product = params['Product']
3202
+ end
3203
+ end
3204
+
3205
+ # DescribeRedisCommandCostStatistics返回参数结构体
3206
+ class DescribeRedisCommandCostStatisticsResponse < TencentCloud::Common::AbstractModel
3207
+ # @param CmdCostGroups: redis延迟分布区间
3208
+ # @type CmdCostGroups: Array
3209
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3210
+ # @type RequestId: String
3211
+
3212
+ attr_accessor :CmdCostGroups, :RequestId
3213
+
3214
+ def initialize(cmdcostgroups=nil, requestid=nil)
3215
+ @CmdCostGroups = cmdcostgroups
3216
+ @RequestId = requestid
3217
+ end
3218
+
3219
+ def deserialize(params)
3220
+ unless params['CmdCostGroups'].nil?
3221
+ @CmdCostGroups = []
3222
+ params['CmdCostGroups'].each do |i|
3223
+ cmdcostgroup_tmp = CmdCostGroup.new
3224
+ cmdcostgroup_tmp.deserialize(i)
3225
+ @CmdCostGroups << cmdcostgroup_tmp
3226
+ end
3227
+ end
3228
+ @RequestId = params['RequestId']
3229
+ end
3230
+ end
3231
+
3232
+ # DescribeRedisCommandOverview请求参数结构体
3233
+ class DescribeRedisCommandOverviewRequest < TencentCloud::Common::AbstractModel
3234
+ # @param InstanceId: 实例 ID
3235
+ # @type InstanceId: String
3236
+ # @param StartTime: 开始时间,如“2025-03-17T00:00:00+00:00”。0天 < 当前服务器时间 - 开始时间 <= 10天。
3237
+ # @type StartTime: String
3238
+ # @param EndTime: 结束时间,如“2025-03-17T01:00:00+00:00”,0天 < 结束时间 - 开始时间 <= 10天。
3239
+ # @type EndTime: String
3240
+ # @param Product: 服务产品类型,仅仅支持值 "redis" - 云数据库 Redis。
3241
+ # @type Product: String
3242
+
3243
+ attr_accessor :InstanceId, :StartTime, :EndTime, :Product
3244
+
3245
+ def initialize(instanceid=nil, starttime=nil, endtime=nil, product=nil)
3246
+ @InstanceId = instanceid
3247
+ @StartTime = starttime
3248
+ @EndTime = endtime
3249
+ @Product = product
3250
+ end
3251
+
3252
+ def deserialize(params)
3253
+ @InstanceId = params['InstanceId']
3254
+ @StartTime = params['StartTime']
3255
+ @EndTime = params['EndTime']
3256
+ @Product = params['Product']
3257
+ end
3258
+ end
3259
+
3260
+ # DescribeRedisCommandOverview返回参数结构体
3261
+ class DescribeRedisCommandOverviewResponse < TencentCloud::Common::AbstractModel
3262
+ # @param CmdList: redis访问命令统计
3263
+ # @type CmdList: Array
3264
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3265
+ # @type RequestId: String
3266
+
3267
+ attr_accessor :CmdList, :RequestId
3268
+
3269
+ def initialize(cmdlist=nil, requestid=nil)
3270
+ @CmdList = cmdlist
3271
+ @RequestId = requestid
3272
+ end
3273
+
3274
+ def deserialize(params)
3275
+ unless params['CmdList'].nil?
3276
+ @CmdList = []
3277
+ params['CmdList'].each do |i|
3278
+ rediscmdinfo_tmp = RedisCmdInfo.new
3279
+ rediscmdinfo_tmp.deserialize(i)
3280
+ @CmdList << rediscmdinfo_tmp
3281
+ end
3282
+ end
3283
+ @RequestId = params['RequestId']
3284
+ end
3285
+ end
3286
+
2984
3287
  # DescribeRedisProcessList请求参数结构体
2985
3288
  class DescribeRedisProcessListRequest < TencentCloud::Common::AbstractModel
2986
3289
  # @param InstanceId: Redis 实例ID。
@@ -5282,7 +5585,6 @@ module TencentCloud
5282
5585
  # @param Unit: 指标单位。
5283
5586
  # @type Unit: String
5284
5587
  # @param Values: 指标值。
5285
- # 注意:此字段可能返回 null,表示取不到有效值。
5286
5588
  # @type Values: Array
5287
5589
 
5288
5590
  attr_accessor :Metric, :Unit, :Values
@@ -5626,6 +5928,26 @@ module TencentCloud
5626
5928
  end
5627
5929
  end
5628
5930
 
5931
+ # redis访问命令详情
5932
+ class RedisCmdInfo < TencentCloud::Common::AbstractModel
5933
+ # @param Cmd: redis命令
5934
+ # @type Cmd: String
5935
+ # @param Count: 命令次数
5936
+ # @type Count: Integer
5937
+
5938
+ attr_accessor :Cmd, :Count
5939
+
5940
+ def initialize(cmd=nil, count=nil)
5941
+ @Cmd = cmd
5942
+ @Count = count
5943
+ end
5944
+
5945
+ def deserialize(params)
5946
+ @Cmd = params['Cmd']
5947
+ @Count = params['Count']
5948
+ end
5949
+ end
5950
+
5629
5951
  # redis key空间信息。
5630
5952
  class RedisKeySpaceData < TencentCloud::Common::AbstractModel
5631
5953
  # @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.1024
4
+ version: 3.0.1026
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-03-20 00:00:00.000000000 Z
11
+ date: 2025-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common