tencentcloud-sdk-dbbrain 3.0.607 → 3.0.608

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 09f4625f5179bd1ab1bc8f583d91105e84096100
4
- data.tar.gz: 08073576bd9d74ef3cdb4b9d647ee483e1dd6708
3
+ metadata.gz: acddb20b2223bd0b0039d5ed160f855c7a324c3f
4
+ data.tar.gz: ffebc6ebe4712571a496dbc99bc110fe9a64215f
5
5
  SHA512:
6
- metadata.gz: c06ea98ba260f70daffd34794826414714c4aadb5ce3f06998f1dab66e3dd4c5eede41801bc547728420d43253f338d6728f4300c490d752dfd3e9305e80c1a1
7
- data.tar.gz: d6788fdaf53279514337faf6a1aa4a25fee7242bc2d406043900c8a2a8fad829d271fd5c4c4fafde897490b06fdc7d8bc545cd844254fb768138eb9f1f348fe8
6
+ metadata.gz: 966dddd78ba8166bdbd06bd27cc735def2d77267daeda26022dcf4ccacd6298db649edd931216c9164fc9b51ff33b9fced4a007abb02e4e1d4076857ac9cba91
7
+ data.tar.gz: 6b99c302e23d2f11f12fee75540d21b5f0a177b42f925587415dd9227f2989a74fda77b26ace8c7feddc5510ebd9bc5c1305de3ebbe90d33ac525f2c9c6d64b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.607
1
+ 3.0.608
@@ -221,6 +221,30 @@ module TencentCloud
221
221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
222
  end
223
223
 
224
+ # 即时创建redis实例大key分析任务,限制正在运行的即时分析任务数量默认为5。
225
+
226
+ # @param request: Request instance for CreateRedisBigKeyAnalysisTask.
227
+ # @type request: :class:`Tencentcloud::dbbrain::V20210527::CreateRedisBigKeyAnalysisTaskRequest`
228
+ # @rtype: :class:`Tencentcloud::dbbrain::V20210527::CreateRedisBigKeyAnalysisTaskResponse`
229
+ def CreateRedisBigKeyAnalysisTask(request)
230
+ body = send_request('CreateRedisBigKeyAnalysisTask', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = CreateRedisBigKeyAnalysisTaskResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
224
248
  # 该接口用于创建定期生成健康报告并邮件发送的配置,将健康报告的定期生成时间作为参数传入(周一至周日),用于设置健康报告的定期生成时间,同时保存相应的定期邮件发送的配置。
225
249
 
226
250
  # @param request: Request instance for CreateSchedulerMailProfile.
@@ -546,6 +546,55 @@ module TencentCloud
546
546
  end
547
547
  end
548
548
 
549
+ # CreateRedisBigKeyAnalysisTask请求参数结构体
550
+ class CreateRedisBigKeyAnalysisTaskRequest < TencentCloud::Common::AbstractModel
551
+ # @param InstanceId: 实例ID。
552
+ # @type InstanceId: String
553
+ # @param Product: 服务产品类型,支持值包括 "redis" - 云数据库 Redis。
554
+ # @type Product: String
555
+ # @param ShardIds: 分片节点序号列表。当列表为空时,选择所有分片节点。
556
+ # @type ShardIds: Array
557
+ # @param KeyDelimiterList: Top Key前缀的分隔符列表。
558
+ # 目前仅支持以下分割符:[",", ";", ":", "_", "-", "+", "@", "=", "|", "#", "."],当列表为空时,默认选择所有分隔符。
559
+ # @type KeyDelimiterList: Array
560
+
561
+ attr_accessor :InstanceId, :Product, :ShardIds, :KeyDelimiterList
562
+
563
+ def initialize(instanceid=nil, product=nil, shardids=nil, keydelimiterlist=nil)
564
+ @InstanceId = instanceid
565
+ @Product = product
566
+ @ShardIds = shardids
567
+ @KeyDelimiterList = keydelimiterlist
568
+ end
569
+
570
+ def deserialize(params)
571
+ @InstanceId = params['InstanceId']
572
+ @Product = params['Product']
573
+ @ShardIds = params['ShardIds']
574
+ @KeyDelimiterList = params['KeyDelimiterList']
575
+ end
576
+ end
577
+
578
+ # CreateRedisBigKeyAnalysisTask返回参数结构体
579
+ class CreateRedisBigKeyAnalysisTaskResponse < TencentCloud::Common::AbstractModel
580
+ # @param AsyncRequestId: 异步任务ID。
581
+ # @type AsyncRequestId: Integer
582
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
583
+ # @type RequestId: String
584
+
585
+ attr_accessor :AsyncRequestId, :RequestId
586
+
587
+ def initialize(asyncrequestid=nil, requestid=nil)
588
+ @AsyncRequestId = asyncrequestid
589
+ @RequestId = requestid
590
+ end
591
+
592
+ def deserialize(params)
593
+ @AsyncRequestId = params['AsyncRequestId']
594
+ @RequestId = params['RequestId']
595
+ end
596
+ end
597
+
549
598
  # CreateSchedulerMailProfile请求参数结构体
550
599
  class CreateSchedulerMailProfileRequest < TencentCloud::Common::AbstractModel
551
600
  # @param WeekConfiguration: 取值范围1-7,分别代表周一至周日。
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.607
4
+ version: 3.0.608
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-07-06 00:00:00.000000000 Z
11
+ date: 2023-07-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common