tencentcloud-sdk-dbbrain 3.0.828 → 3.0.829

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: 6a494b49c488eb368bd8f18c258f133f0a5ea358
4
+ data.tar.gz: c0145410671903f068014c047d0be6717f27ccce
5
5
  SHA512:
6
- metadata.gz: a73131c9cd2608ebdaa9fb51a5d9ccb37b6fe8305fab9998f5a047e5b8f9f51edda6aea33b9a4379f461540fb3249dbf6940c1b25b2a1e410cfe6ec6b1ea8a74
7
- data.tar.gz: 4ef4ab0fdf642f9277f43834dffddd0152becb41c4451cf19a4b2095175944d642bc59ad1562ab2f27fdf5522581720f71fe29d59276f29da007f614e855211e
6
+ metadata.gz: 962eccb7b2a4e06aa181891531394a4c54450146e67bbdad7ebc346f25df67683a55b156690cdfdee5900822b5f0ebf90b98987cfd59443e15c47066c8087ae3
7
+ data.tar.gz: a044ad925d64d92607641cac24a875c331942b5d91c31fee63211c96020ab4a607fb638101985d4d928f44240f0c8cfc7728cbffc3f153f446d6490e87e8dbc0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.828
1
+ 3.0.829
@@ -893,6 +893,30 @@ module TencentCloud
893
893
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
894
894
  end
895
895
 
896
+ # 查询redis大key分析任务列表。
897
+
898
+ # @param request: Request instance for DescribeRedisBigKeyAnalysisTasks.
899
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisBigKeyAnalysisTasksRequest`
900
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::DescribeRedisBigKeyAnalysisTasksResponse`
901
+ def DescribeRedisBigKeyAnalysisTasks(request)
902
+ body = send_request('DescribeRedisBigKeyAnalysisTasks', request.serialize)
903
+ response = JSON.parse(body)
904
+ if response['Response'].key?('Error') == false
905
+ model = DescribeRedisBigKeyAnalysisTasksResponse.new
906
+ model.deserialize(response['Response'])
907
+ model
908
+ else
909
+ code = response['Response']['Error']['Code']
910
+ message = response['Response']['Error']['Message']
911
+ reqid = response['Response']['RequestId']
912
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
913
+ end
914
+ rescue TencentCloud::Common::TencentCloudSDKException => e
915
+ raise e
916
+ rescue StandardError => e
917
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
+ end
919
+
896
920
  # 获取 Redis 实例所有 proxy 节点的实时会话详情列表。
897
921
 
898
922
  # @param request: Request instance for DescribeRedisProcessList.
@@ -1349,7 +1373,7 @@ module TencentCloud
1349
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
1374
  end
1351
1375
 
1352
- # 修改实例巡检开关。
1376
+ # 修改实例的配置信息。
1353
1377
 
1354
1378
  # @param request: Request instance for ModifyDiagDBInstanceConf.
1355
1379
  # @type request: :class:`Tencentcloud::dbbrain::V20210527::ModifyDiagDBInstanceConfRequest`
@@ -1906,7 +1906,7 @@ module TencentCloud
1906
1906
  class DescribeDiagDBInstancesRequest < TencentCloud::Common::AbstractModel
1907
1907
  # @param IsSupported: 是否是DBbrain支持的实例,固定传 true。
1908
1908
  # @type IsSupported: Boolean
1909
- # @param Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,默认为"mysql"。
1909
+ # @param Product: 服务产品类型,支持值包括:"mysql" - 云数据库 MySQL,"cynosdb" - 云数据库 TDSQL-C for MySQL,"dbbrain-mysql" - 自建 MySQL,"redis" - 云数据库 Redis,默认为"mysql"。
1910
1910
  # @type Product: String
1911
1911
  # @param Offset: 分页参数,偏移量。
1912
1912
  # @type Offset: Integer
@@ -2488,6 +2488,66 @@ module TencentCloud
2488
2488
  end
2489
2489
  end
2490
2490
 
2491
+ # DescribeRedisBigKeyAnalysisTasks请求参数结构体
2492
+ class DescribeRedisBigKeyAnalysisTasksRequest < TencentCloud::Common::AbstractModel
2493
+ # @param Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
2494
+ # @type Product: String
2495
+ # @param InstanceId: 实例ID。
2496
+ # @type InstanceId: String
2497
+ # @param Limit: 查询数目,默认为20,最大值为100。
2498
+ # @type Limit: Integer
2499
+ # @param Offset: 偏移量,默认为0。
2500
+ # @type Offset: Integer
2501
+
2502
+ attr_accessor :Product, :InstanceId, :Limit, :Offset
2503
+
2504
+ def initialize(product=nil, instanceid=nil, limit=nil, offset=nil)
2505
+ @Product = product
2506
+ @InstanceId = instanceid
2507
+ @Limit = limit
2508
+ @Offset = offset
2509
+ end
2510
+
2511
+ def deserialize(params)
2512
+ @Product = params['Product']
2513
+ @InstanceId = params['InstanceId']
2514
+ @Limit = params['Limit']
2515
+ @Offset = params['Offset']
2516
+ end
2517
+ end
2518
+
2519
+ # DescribeRedisBigKeyAnalysisTasks返回参数结构体
2520
+ class DescribeRedisBigKeyAnalysisTasksResponse < TencentCloud::Common::AbstractModel
2521
+ # @param TotalCount: 任务总数。
2522
+ # 注意:此字段可能返回 null,表示取不到有效值。
2523
+ # @type TotalCount: Integer
2524
+ # @param Tasks: 任务列表。
2525
+ # @type Tasks: Array
2526
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2527
+ # @type RequestId: String
2528
+
2529
+ attr_accessor :TotalCount, :Tasks, :RequestId
2530
+
2531
+ def initialize(totalcount=nil, tasks=nil, requestid=nil)
2532
+ @TotalCount = totalcount
2533
+ @Tasks = tasks
2534
+ @RequestId = requestid
2535
+ end
2536
+
2537
+ def deserialize(params)
2538
+ @TotalCount = params['TotalCount']
2539
+ unless params['Tasks'].nil?
2540
+ @Tasks = []
2541
+ params['Tasks'].each do |i|
2542
+ redisbigkeytask_tmp = RedisBigKeyTask.new
2543
+ redisbigkeytask_tmp.deserialize(i)
2544
+ @Tasks << redisbigkeytask_tmp
2545
+ end
2546
+ end
2547
+ @RequestId = params['RequestId']
2548
+ end
2549
+ end
2550
+
2491
2551
  # DescribeRedisProcessList请求参数结构体
2492
2552
  class DescribeRedisProcessListRequest < TencentCloud::Common::AbstractModel
2493
2553
  # @param InstanceId: Redis 实例ID。
@@ -3922,14 +3982,18 @@ module TencentCloud
3922
3982
  # @param ShardNum: 分片节点数量。
3923
3983
  # 注意:此字段可能返回 null,表示取不到有效值。
3924
3984
  # @type ShardNum: String
3985
+ # @param AnalysisTopKey: 是否开启大key周期性分析,仅redis产品有效。
3986
+ # 注意:此字段可能返回 null,表示取不到有效值。
3987
+ # @type AnalysisTopKey: String
3925
3988
 
3926
- attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters, :ShardNum
3989
+ attr_accessor :DailyInspection, :OverviewDisplay, :KeyDelimiters, :ShardNum, :AnalysisTopKey
3927
3990
 
3928
- def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil, shardnum=nil)
3991
+ def initialize(dailyinspection=nil, overviewdisplay=nil, keydelimiters=nil, shardnum=nil, analysistopkey=nil)
3929
3992
  @DailyInspection = dailyinspection
3930
3993
  @OverviewDisplay = overviewdisplay
3931
3994
  @KeyDelimiters = keydelimiters
3932
3995
  @ShardNum = shardnum
3996
+ @AnalysisTopKey = analysistopkey
3933
3997
  end
3934
3998
 
3935
3999
  def deserialize(params)
@@ -3937,6 +4001,7 @@ module TencentCloud
3937
4001
  @OverviewDisplay = params['OverviewDisplay']
3938
4002
  @KeyDelimiters = params['KeyDelimiters']
3939
4003
  @ShardNum = params['ShardNum']
4004
+ @AnalysisTopKey = params['AnalysisTopKey']
3940
4005
  end
3941
4006
  end
3942
4007
 
@@ -4397,7 +4462,7 @@ module TencentCloud
4397
4462
  # @type InstanceConfs: :class:`Tencentcloud::Dbbrain.v20210527.models.InstanceConfs`
4398
4463
  # @param Regions: 生效实例地域,取值为"All",代表全地域。
4399
4464
  # @type Regions: String
4400
- # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL。
4465
+ # @param Product: 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,"redis" - 云数据库 Redis
4401
4466
  # @type Product: String
4402
4467
  # @param InstanceIds: 指定更改巡检状态的实例ID。
4403
4468
  # @type InstanceIds: Array
@@ -4911,6 +4976,46 @@ module TencentCloud
4911
4976
  end
4912
4977
  end
4913
4978
 
4979
+ # Redis大Key分析任务详情。
4980
+ class RedisBigKeyTask < TencentCloud::Common::AbstractModel
4981
+ # @param AsyncRequestId: 异步任务请求 ID。
4982
+ # @type AsyncRequestId: Integer
4983
+ # @param CreateTime: 任务创建时间。
4984
+ # @type CreateTime: String
4985
+ # @param StartTime: 任务开始时间。
4986
+ # @type StartTime: String
4987
+ # @param EndTime: 任务结束时间。
4988
+ # @type EndTime: String
4989
+ # @param TaskStatus: 任务状态。
4990
+ # @type TaskStatus: String
4991
+ # @param Progress: 任务执行进度。
4992
+ # @type Progress: Integer
4993
+ # @param ShardIds: 任务包含的分片节点序号列表。
4994
+ # @type ShardIds: Array
4995
+
4996
+ attr_accessor :AsyncRequestId, :CreateTime, :StartTime, :EndTime, :TaskStatus, :Progress, :ShardIds
4997
+
4998
+ def initialize(asyncrequestid=nil, createtime=nil, starttime=nil, endtime=nil, taskstatus=nil, progress=nil, shardids=nil)
4999
+ @AsyncRequestId = asyncrequestid
5000
+ @CreateTime = createtime
5001
+ @StartTime = starttime
5002
+ @EndTime = endtime
5003
+ @TaskStatus = taskstatus
5004
+ @Progress = progress
5005
+ @ShardIds = shardids
5006
+ end
5007
+
5008
+ def deserialize(params)
5009
+ @AsyncRequestId = params['AsyncRequestId']
5010
+ @CreateTime = params['CreateTime']
5011
+ @StartTime = params['StartTime']
5012
+ @EndTime = params['EndTime']
5013
+ @TaskStatus = params['TaskStatus']
5014
+ @Progress = params['Progress']
5015
+ @ShardIds = params['ShardIds']
5016
+ end
5017
+ end
5018
+
4914
5019
  # redis key空间信息。
4915
5020
  class RedisKeySpaceData < TencentCloud::Common::AbstractModel
4916
5021
  # @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.829
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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common