tencentcloud-sdk-dbbrain 3.0.828 → 3.0.830

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: 2ae0196de53ff5f26959a40b3344c4bafb2a135f
4
- data.tar.gz: 1aa614a25635413b8b8c8a125406b162438b1f09
3
+ metadata.gz: 6a694f9388a3e398cdcfda299be6a73b406b1a42
4
+ data.tar.gz: 3bcf8feb011ac34cd041194a5ba510a0a85eb55f
5
5
  SHA512:
6
- metadata.gz: a73131c9cd2608ebdaa9fb51a5d9ccb37b6fe8305fab9998f5a047e5b8f9f51edda6aea33b9a4379f461540fb3249dbf6940c1b25b2a1e410cfe6ec6b1ea8a74
7
- data.tar.gz: 4ef4ab0fdf642f9277f43834dffddd0152becb41c4451cf19a4b2095175944d642bc59ad1562ab2f27fdf5522581720f71fe29d59276f29da007f614e855211e
6
+ metadata.gz: 8dd3b4f87866eb9fee8303d6e516964364d1b5b1cfcaf9de263355f47dd8ac5fadb22e34fb618682d0ab774787092dfd9bb3b52f5bf0a260fcad64d63360c4d9
7
+ data.tar.gz: 6adc6aef938d5fb2521f674660054833d22dd5d7cbbb244c75ac0ea0fc05a133b3ce5756a7a58f8fcb83450af9bfb17fb27632340801a15fd018c5f8c1937ffe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.828
1
+ 3.0.830
@@ -389,6 +389,30 @@ module TencentCloud
389
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
390
  end
391
391
 
392
+ # 删除Redis实例的大key分析任务。
393
+
394
+ # @param request: Request instance for DeleteRedisBigKeyAnalysisTasks.
395
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DeleteRedisBigKeyAnalysisTasksRequest`
396
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DeleteRedisBigKeyAnalysisTasksResponse`
397
+ def DeleteRedisBigKeyAnalysisTasks(request)
398
+ body = send_request('DeleteRedisBigKeyAnalysisTasks', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DeleteRedisBigKeyAnalysisTasksResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
392
416
  # 删除安全审计日志导出任务。
393
417
 
394
418
  # @param request: Request instance for DeleteSecurityAuditLogExportTasks.
@@ -893,6 +917,30 @@ module TencentCloud
893
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
918
  end
895
919
 
920
+ # 查询redis大key分析任务列表。
921
+
922
+ # @param request: Request instance for DescribeRedisBigKeyAnalysisTasks.
923
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisBigKeyAnalysisTasksRequest`
924
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisBigKeyAnalysisTasksResponse`
925
+ def DescribeRedisBigKeyAnalysisTasks(request)
926
+ body = send_request('DescribeRedisBigKeyAnalysisTasks', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DescribeRedisBigKeyAnalysisTasksResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
896
944
  # 获取 Redis 实例所有 proxy 节点的实时会话详情列表。
897
945
 
898
946
  # @param request: Request instance for DescribeRedisProcessList.
@@ -1349,7 +1397,7 @@ module TencentCloud
1349
1397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
1398
  end
1351
1399
 
1352
- # 修改实例巡检开关。
1400
+ # 修改实例的配置信息。
1353
1401
 
1354
1402
  # @param request: Request instance for ModifyDiagDBInstanceConf.
1355
1403
  # @type request: :class:`Tencentcloud::dbbrain::V20210527::ModifyDiagDBInstanceConfRequest`
@@ -1172,6 +1172,50 @@ module TencentCloud
1172
1172
  end
1173
1173
  end
1174
1174
 
1175
+ # DeleteRedisBigKeyAnalysisTasks请求参数结构体
1176
+ class DeleteRedisBigKeyAnalysisTasksRequest < TencentCloud::Common::AbstractModel
1177
+ # @param InstanceId: 实例ID。
1178
+ # @type InstanceId: String
1179
+ # @param AsyncRequestIds: 待删除的异步任务ID列表。
1180
+ # @type AsyncRequestIds: Array
1181
+ # @param Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
1182
+ # @type Product: String
1183
+
1184
+ attr_accessor :InstanceId, :AsyncRequestIds, :Product
1185
+
1186
+ def initialize(instanceid=nil, asyncrequestids=nil, product=nil)
1187
+ @InstanceId = instanceid
1188
+ @AsyncRequestIds = asyncrequestids
1189
+ @Product = product
1190
+ end
1191
+
1192
+ def deserialize(params)
1193
+ @InstanceId = params['InstanceId']
1194
+ @AsyncRequestIds = params['AsyncRequestIds']
1195
+ @Product = params['Product']
1196
+ end
1197
+ end
1198
+
1199
+ # DeleteRedisBigKeyAnalysisTasks返回参数结构体
1200
+ class DeleteRedisBigKeyAnalysisTasksResponse < TencentCloud::Common::AbstractModel
1201
+ # @param Status: 状态值,为0时代表正常处理。
1202
+ # @type Status: Integer
1203
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1204
+ # @type RequestId: String
1205
+
1206
+ attr_accessor :Status, :RequestId
1207
+
1208
+ def initialize(status=nil, requestid=nil)
1209
+ @Status = status
1210
+ @RequestId = requestid
1211
+ end
1212
+
1213
+ def deserialize(params)
1214
+ @Status = params['Status']
1215
+ @RequestId = params['RequestId']
1216
+ end
1217
+ end
1218
+
1175
1219
  # DeleteSecurityAuditLogExportTasks请求参数结构体
1176
1220
  class DeleteSecurityAuditLogExportTasksRequest < TencentCloud::Common::AbstractModel
1177
1221
  # @param SecAuditGroupId: 安全审计组Id。
@@ -1906,7 +1950,7 @@ module TencentCloud
1906
1950
  class DescribeDiagDBInstancesRequest < TencentCloud::Common::AbstractModel
1907
1951
  # @param IsSupported: 是否是DBbrain支持的实例,固定传 true。
1908
1952
  # @type IsSupported: Boolean
1909
- # @param Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
1953
+ # @param Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
1910
1954
  # @type Product: String
1911
1955
  # @param Offset: 分页参数,偏移量。
1912
1956
  # @type Offset: Integer
@@ -2488,6 +2532,66 @@ module TencentCloud
2488
2532
  end
2489
2533
  end
2490
2534
 
2535
+ # DescribeRedisBigKeyAnalysisTasks请求参数结构体
2536
+ class DescribeRedisBigKeyAnalysisTasksRequest < TencentCloud::Common::AbstractModel
2537
+ # @param Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
2538
+ # @type Product: String
2539
+ # @param InstanceId: 实例ID。
2540
+ # @type InstanceId: String
2541
+ # @param Limit: 查询数目,默认为20,最大值为100。
2542
+ # @type Limit: Integer
2543
+ # @param Offset: 偏移量,默认为0。
2544
+ # @type Offset: Integer
2545
+
2546
+ attr_accessor :Product, :InstanceId, :Limit, :Offset
2547
+
2548
+ def initialize(product=nil, instanceid=nil, limit=nil, offset=nil)
2549
+ @Product = product
2550
+ @InstanceId = instanceid
2551
+ @Limit = limit
2552
+ @Offset = offset
2553
+ end
2554
+
2555
+ def deserialize(params)
2556
+ @Product = params['Product']
2557
+ @InstanceId = params['InstanceId']
2558
+ @Limit = params['Limit']
2559
+ @Offset = params['Offset']
2560
+ end
2561
+ end
2562
+
2563
+ # DescribeRedisBigKeyAnalysisTasks返回参数结构体
2564
+ class DescribeRedisBigKeyAnalysisTasksResponse < TencentCloud::Common::AbstractModel
2565
+ # @param TotalCount: 任务总数。
2566
+ # 注意:此字段可能返回 null,表示取不到有效值。
2567
+ # @type TotalCount: Integer
2568
+ # @param Tasks: 任务列表。
2569
+ # @type Tasks: Array
2570
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2571
+ # @type RequestId: String
2572
+
2573
+ attr_accessor :TotalCount, :Tasks, :RequestId
2574
+
2575
+ def initialize(totalcount=nil, tasks=nil, requestid=nil)
2576
+ @TotalCount = totalcount
2577
+ @Tasks = tasks
2578
+ @RequestId = requestid
2579
+ end
2580
+
2581
+ def deserialize(params)
2582
+ @TotalCount = params['TotalCount']
2583
+ unless params['Tasks'].nil?
2584
+ @Tasks = []
2585
+ params['Tasks'].each do |i|
2586
+ redisbigkeytask_tmp = RedisBigKeyTask.new
2587
+ redisbigkeytask_tmp.deserialize(i)
2588
+ @Tasks << redisbigkeytask_tmp
2589
+ end
2590
+ end
2591
+ @RequestId = params['RequestId']
2592
+ end
2593
+ end
2594
+
2491
2595
  # DescribeRedisProcessList请求参数结构体
2492
2596
  class DescribeRedisProcessListRequest < TencentCloud::Common::AbstractModel
2493
2597
  # @param InstanceId: Redis 实例ID。
@@ -3922,14 +4026,18 @@ module TencentCloud
3922
4026
  # @param ShardNum: 分片节点数量。
3923
4027
  # 注意:此字段可能返回 null,表示取不到有效值。
3924
4028
  # @type ShardNum: String
4029
+ # @param AnalysisTopKey: 是否开启大key周期性分析,仅redis产品有效。
4030
+ # 注意:此字段可能返回 null,表示取不到有效值。
4031
+ # @type AnalysisTopKey: String
3925
4032
 
3926
- attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters, :ShardNum
4033
+ attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters, :ShardNum, :AnalysisTopKey
3927
4034
 
3928
- def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil, shardnum=nil)
4035
+ def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil, shardnum=nil, analysistopkey=nil)
3929
4036
  @DailyInspection = dailyinspection
3930
4037
  @OverviewDisplay = overviewdisplay
3931
4038
  @KeyDelimiters = keydelimiters
3932
4039
  @ShardNum = shardnum
4040
+ @AnalysisTopKey = analysistopkey
3933
4041
  end
3934
4042
 
3935
4043
  def deserialize(params)
@@ -3937,6 +4045,7 @@ module TencentCloud
3937
4045
  @OverviewDisplay = params['OverviewDisplay']
3938
4046
  @KeyDelimiters = params['KeyDelimiters']
3939
4047
  @ShardNum = params['ShardNum']
4048
+ @AnalysisTopKey = params['AnalysisTopKey']
3940
4049
  end
3941
4050
  end
3942
4051
 
@@ -4397,7 +4506,7 @@ module TencentCloud
4397
4506
  # @type InstanceConfs: :class:`Tencentcloud::Dbbrain.v20210527.models.InstanceConfs`
4398
4507
  # @param Regions: 生效实例地域,取值为"All",代表全地域。
4399
4508
  # @type Regions: String
4400
- # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
4509
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis
4401
4510
  # @type Product: String
4402
4511
  # @param InstanceIds: 指定更改巡检状态的实例ID。
4403
4512
  # @type InstanceIds: Array
@@ -4911,6 +5020,46 @@ module TencentCloud
4911
5020
  end
4912
5021
  end
4913
5022
 
5023
+ # Redis大Key分析任务详情。
5024
+ class RedisBigKeyTask < TencentCloud::Common::AbstractModel
5025
+ # @param AsyncRequestId: 异步任务请求 ID。
5026
+ # @type AsyncRequestId: Integer
5027
+ # @param CreateTime: 任务创建时间。
5028
+ # @type CreateTime: String
5029
+ # @param StartTime: 任务开始时间。
5030
+ # @type StartTime: String
5031
+ # @param EndTime: 任务结束时间。
5032
+ # @type EndTime: String
5033
+ # @param TaskStatus: 任务状态。
5034
+ # @type TaskStatus: String
5035
+ # @param Progress: 任务执行进度。
5036
+ # @type Progress: Integer
5037
+ # @param ShardIds: 任务包含的分片节点序号列表。
5038
+ # @type ShardIds: Array
5039
+
5040
+ attr_accessor :AsyncRequestId, :CreateTime, :StartTime, :EndTime, :TaskStatus, :Progress, :ShardIds
5041
+
5042
+ def initialize(asyncrequestid=nil, createtime=nil, starttime=nil, endtime=nil, taskstatus=nil, progress=nil, shardids=nil)
5043
+ @AsyncRequestId = asyncrequestid
5044
+ @CreateTime = createtime
5045
+ @StartTime = starttime
5046
+ @EndTime = endtime
5047
+ @TaskStatus = taskstatus
5048
+ @Progress = progress
5049
+ @ShardIds = shardids
5050
+ end
5051
+
5052
+ def deserialize(params)
5053
+ @AsyncRequestId = params['AsyncRequestId']
5054
+ @CreateTime = params['CreateTime']
5055
+ @StartTime = params['StartTime']
5056
+ @EndTime = params['EndTime']
5057
+ @TaskStatus = params['TaskStatus']
5058
+ @Progress = params['Progress']
5059
+ @ShardIds = params['ShardIds']
5060
+ end
5061
+ end
5062
+
4914
5063
  # redis key空间信息。
4915
5064
  class RedisKeySpaceData < TencentCloud::Common::AbstractModel
4916
5065
  # @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.828
4
+ version: 3.0.830
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-22 00:00:00.000000000 Z
11
+ date: 2024-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common