tencentcloud-sdk-redis 3.0.422 → 3.0.424

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: d92387e1073cadcae224ae2fae8af3289038d10b
4
- data.tar.gz: ffb5dd1872a4917d25747384437b1b1fa84cd6d1
3
+ metadata.gz: ac50b1ae6b020400c8114230acd88bd71f0fe0a3
4
+ data.tar.gz: 5744b68944a3a21f32003c38b7ce6b6acae7b17d
5
5
  SHA512:
6
- metadata.gz: 43ec3674fdb0b3d00a88369d7dcdfd21a800999dbc50c51d6bb0f94082ece6ecc52f9871652d8d0fa75c65b5de64d4b7a24623554ecc670d0d89366894a6f680
7
- data.tar.gz: 0549beeaf3e936d8dde226bfea05c1b50dd5fb6162823686a63b0dc8737c3f68369a2d2500ac8cada35ff0b8f55d3dd0906af817cd8406562ad126e2ae099141
6
+ metadata.gz: 0151f3e173438357454cccdcfa76762835e2b22e3641682d20a79dd7fbb70f188b03c024257ec9d69fc6c1ff0281b370e27a50161a006719841c1ecacce2ffb9
7
+ data.tar.gz: 0eec0766e62979febd11d1e194ead87a7442139b4ee74f9fdfe44fc2b580d85f3342f681677a0e6e5261ae69fb0e92228a27325a0a8e351c9a724caefdb23f71
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.422
1
+ 3.0.424
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 关闭SSL
249
+
250
+ # @param request: Request instance for CloseSSL.
251
+ # @type request: :class:`Tencentcloud::redis::V20180412::CloseSSLRequest`
252
+ # @rtype: :class:`Tencentcloud::redis::V20180412::CloseSSLResponse`
253
+ def CloseSSL(request)
254
+ body = send_request('CloseSSL', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CloseSSLResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 创建实例子账号
249
273
 
250
274
  # @param request: Request instance for CreateInstanceAccount.
@@ -1157,7 +1181,7 @@ module TencentCloud
1157
1181
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1158
1182
  end
1159
1183
 
1160
- # 查询实例慢查询记录
1184
+ # 本接口(DescribeSlowLog)查询实例慢查询记录。
1161
1185
 
1162
1186
  # @param request: Request instance for DescribeSlowLog.
1163
1187
  # @type request: :class:`Tencentcloud::redis::V20180412::DescribeSlowLogRequest`
@@ -1757,6 +1781,30 @@ module TencentCloud
1757
1781
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1758
1782
  end
1759
1783
 
1784
+ # 开启SSL
1785
+
1786
+ # @param request: Request instance for OpenSSL.
1787
+ # @type request: :class:`Tencentcloud::redis::V20180412::OpenSSLRequest`
1788
+ # @rtype: :class:`Tencentcloud::redis::V20180412::OpenSSLResponse`
1789
+ def OpenSSL(request)
1790
+ body = send_request('OpenSSL', request.serialize)
1791
+ response = JSON.parse(body)
1792
+ if response['Response'].key?('Error') == false
1793
+ model = OpenSSLResponse.new
1794
+ model.deserialize(response['Response'])
1795
+ model
1796
+ else
1797
+ code = response['Response']['Error']['Code']
1798
+ message = response['Response']['Error']['Message']
1799
+ reqid = response['Response']['RequestId']
1800
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1801
+ end
1802
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1803
+ raise e
1804
+ rescue StandardError => e
1805
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1806
+ end
1807
+
1760
1808
  # 关闭外网
1761
1809
 
1762
1810
  # @param request: Request instance for ReleaseWanAddress.
@@ -61,11 +61,11 @@ module TencentCloud
61
61
 
62
62
  # AddReplicationInstance请求参数结构体
63
63
  class AddReplicationInstanceRequest < TencentCloud::Common::AbstractModel
64
- # @param GroupId: 复制组ID
64
+ # @param GroupId: 复制组ID
65
65
  # @type GroupId: String
66
- # @param InstanceId: 实例ID
66
+ # @param InstanceId: 实例ID
67
67
  # @type InstanceId: String
68
- # @param InstanceRole: 实例角色,rw可读写,r只读
68
+ # @param InstanceRole: 给复制组添加的实例分配角色。<ul><li>rw:可读写。</li><li>r:只读。</li></ul>
69
69
  # @type InstanceRole: String
70
70
 
71
71
  attr_accessor :GroupId, :InstanceId, :InstanceRole
@@ -85,7 +85,7 @@ module TencentCloud
85
85
 
86
86
  # AddReplicationInstance返回参数结构体
87
87
  class AddReplicationInstanceResponse < TencentCloud::Common::AbstractModel
88
- # @param TaskId: 异步流程ID
88
+ # @param TaskId: 异步流程ID
89
89
  # @type TaskId: Integer
90
90
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
91
91
  # @type RequestId: String
@@ -511,6 +511,42 @@ module TencentCloud
511
511
  end
512
512
  end
513
513
 
514
+ # CloseSSL请求参数结构体
515
+ class CloseSSLRequest < TencentCloud::Common::AbstractModel
516
+ # @param InstanceId: 实例ID。
517
+ # @type InstanceId: String
518
+
519
+ attr_accessor :InstanceId
520
+
521
+ def initialize(instanceid=nil)
522
+ @InstanceId = instanceid
523
+ end
524
+
525
+ def deserialize(params)
526
+ @InstanceId = params['InstanceId']
527
+ end
528
+ end
529
+
530
+ # CloseSSL返回参数结构体
531
+ class CloseSSLResponse < TencentCloud::Common::AbstractModel
532
+ # @param TaskId: 任务ID。
533
+ # @type TaskId: Integer
534
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
535
+ # @type RequestId: String
536
+
537
+ attr_accessor :TaskId, :RequestId
538
+
539
+ def initialize(taskid=nil, requestid=nil)
540
+ @TaskId = taskid
541
+ @RequestId = requestid
542
+ end
543
+
544
+ def deserialize(params)
545
+ @TaskId = params['TaskId']
546
+ @RequestId = params['RequestId']
547
+ end
548
+ end
549
+
514
550
  # 命令耗时
515
551
  class CommandTake < TencentCloud::Common::AbstractModel
516
552
  # @param Cmd: 命令
@@ -807,11 +843,11 @@ module TencentCloud
807
843
 
808
844
  # CreateReplicationGroup请求参数结构体
809
845
  class CreateReplicationGroupRequest < TencentCloud::Common::AbstractModel
810
- # @param InstanceId: 实例ID
846
+ # @param InstanceId: 指定复制组中的主实例ID
811
847
  # @type InstanceId: String
812
- # @param GroupName: 复制组名称
848
+ # @param GroupName: 复制组名称。
813
849
  # @type GroupName: String
814
- # @param Remark: 备注信息
850
+ # @param Remark: 备注信息。
815
851
  # @type Remark: String
816
852
 
817
853
  attr_accessor :InstanceId, :GroupName, :Remark
@@ -831,7 +867,7 @@ module TencentCloud
831
867
 
832
868
  # CreateReplicationGroup返回参数结构体
833
869
  class CreateReplicationGroupResponse < TencentCloud::Common::AbstractModel
834
- # @param TaskId: 异步流程ID
870
+ # @param TaskId: 异步流程ID
835
871
  # @type TaskId: Integer
836
872
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
837
873
  # @type RequestId: String
@@ -2887,28 +2923,31 @@ module TencentCloud
2887
2923
 
2888
2924
  # DescribeSlowLog请求参数结构体
2889
2925
  class DescribeSlowLogRequest < TencentCloud::Common::AbstractModel
2890
- # @param InstanceId: 实例Id
2926
+ # @param InstanceId: 实例Id
2891
2927
  # @type InstanceId: String
2892
- # @param BeginTime: 开始时间
2928
+ # @param BeginTime: 开始时间。
2893
2929
  # @type BeginTime: String
2894
- # @param EndTime: 结束时间
2930
+ # @param EndTime: 结束时间。
2895
2931
  # @type EndTime: String
2896
- # @param MinQueryTime: 慢查询阈值(单位:微秒)
2932
+ # @param MinQueryTime: 慢查询平均执行时间阈值(单位:微秒)。
2897
2933
  # @type MinQueryTime: Integer
2898
- # @param Limit: 页面大小
2934
+ # @param Limit: 每个页面展示的慢查询条数,默认值为20。
2899
2935
  # @type Limit: Integer
2900
- # @param Offset: 偏移量,取Limit整数倍
2936
+ # @param Offset: 慢查询条数的偏移量,取Limit整数倍。
2901
2937
  # @type Offset: Integer
2938
+ # @param Role: 节点所属角色。<ul><li>master:主节点。</li><li>slave:从节点。</li></ul>
2939
+ # @type Role: String
2902
2940
 
2903
- attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset
2941
+ attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset, :Role
2904
2942
 
2905
- def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil)
2943
+ def initialize(instanceid=nil, begintime=nil, endtime=nil, minquerytime=nil, limit=nil, offset=nil, role=nil)
2906
2944
  @InstanceId = instanceid
2907
2945
  @BeginTime = begintime
2908
2946
  @EndTime = endtime
2909
2947
  @MinQueryTime = minquerytime
2910
2948
  @Limit = limit
2911
2949
  @Offset = offset
2950
+ @Role = role
2912
2951
  end
2913
2952
 
2914
2953
  def deserialize(params)
@@ -2918,14 +2957,15 @@ module TencentCloud
2918
2957
  @MinQueryTime = params['MinQueryTime']
2919
2958
  @Limit = params['Limit']
2920
2959
  @Offset = params['Offset']
2960
+ @Role = params['Role']
2921
2961
  end
2922
2962
  end
2923
2963
 
2924
2964
  # DescribeSlowLog返回参数结构体
2925
2965
  class DescribeSlowLogResponse < TencentCloud::Common::AbstractModel
2926
- # @param TotalCount: 慢查询总数
2966
+ # @param TotalCount: 慢查询总数。
2927
2967
  # @type TotalCount: Integer
2928
- # @param InstanceSlowlogDetail: 慢查询详情
2968
+ # @param InstanceSlowlogDetail: 慢查询详情。
2929
2969
  # @type InstanceSlowlogDetail: Array
2930
2970
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2931
2971
  # @type RequestId: String
@@ -5135,6 +5175,42 @@ module TencentCloud
5135
5175
  end
5136
5176
  end
5137
5177
 
5178
+ # OpenSSL请求参数结构体
5179
+ class OpenSSLRequest < TencentCloud::Common::AbstractModel
5180
+ # @param InstanceId: 实例ID。
5181
+ # @type InstanceId: String
5182
+
5183
+ attr_accessor :InstanceId
5184
+
5185
+ def initialize(instanceid=nil)
5186
+ @InstanceId = instanceid
5187
+ end
5188
+
5189
+ def deserialize(params)
5190
+ @InstanceId = params['InstanceId']
5191
+ end
5192
+ end
5193
+
5194
+ # OpenSSL返回参数结构体
5195
+ class OpenSSLResponse < TencentCloud::Common::AbstractModel
5196
+ # @param TaskId: 任务ID。
5197
+ # @type TaskId: Integer
5198
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5199
+ # @type RequestId: String
5200
+
5201
+ attr_accessor :TaskId, :RequestId
5202
+
5203
+ def initialize(taskid=nil, requestid=nil)
5204
+ @TaskId = taskid
5205
+ @RequestId = requestid
5206
+ end
5207
+
5208
+ def deserialize(params)
5209
+ @TaskId = params['TaskId']
5210
+ @RequestId = params['RequestId']
5211
+ end
5212
+ end
5213
+
5138
5214
  # 安全组出站规则
5139
5215
  class Outbound < TencentCloud::Common::AbstractModel
5140
5216
  # @param Action: 策略,ACCEPT或者DROP。
@@ -6486,9 +6562,10 @@ module TencentCloud
6486
6562
 
6487
6563
  # UpgradeVersionToMultiAvailabilityZones请求参数结构体
6488
6564
  class UpgradeVersionToMultiAvailabilityZonesRequest < TencentCloud::Common::AbstractModel
6489
- # @param InstanceId: 实例ID
6565
+ # @param InstanceId: 实例ID
6490
6566
  # @type InstanceId: String
6491
- # @param UpgradeProxyAndRedisServer: 是否升级proxy和redis内核版本,升级后可支持就近接入
6567
+ # @param UpgradeProxyAndRedisServer: 升级多可用区之后是否支持就近访问功能。
6568
+ # <ul><li>true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。</li><li>false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。</li></ul>
6492
6569
  # @type UpgradeProxyAndRedisServer: Boolean
6493
6570
 
6494
6571
  attr_accessor :InstanceId, :UpgradeProxyAndRedisServer
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.422
4
+ version: 3.0.424
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common