tencentcloud-sdk-redis 3.0.423 → 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: 6037fba561feed91ab6b337720bd1570276996d8
4
- data.tar.gz: 08dabc1fd366e522a4675e5d3a7ba53fde49ca97
3
+ metadata.gz: ac50b1ae6b020400c8114230acd88bd71f0fe0a3
4
+ data.tar.gz: 5744b68944a3a21f32003c38b7ce6b6acae7b17d
5
5
  SHA512:
6
- metadata.gz: 49b276886d9617f55bfa84115662ec0992cd084039c076013497be78d42b233005c98c46663adb470661310fef8c9b06515f61721fc9b41c868158a4b788ad47
7
- data.tar.gz: ad9a0ea1d8f47c31e2595bbde2fd30b792b0c166bf5f48a00fb050dc66c101e03f24d9819e7c4db4914ab5c16933b8f53aefcd02b37af87fc87d5355dd6fcde1
6
+ metadata.gz: 0151f3e173438357454cccdcfa76762835e2b22e3641682d20a79dd7fbb70f188b03c024257ec9d69fc6c1ff0281b370e27a50161a006719841c1ecacce2ffb9
7
+ data.tar.gz: 0eec0766e62979febd11d1e194ead87a7442139b4ee74f9fdfe44fc2b580d85f3342f681677a0e6e5261ae69fb0e92228a27325a0a8e351c9a724caefdb23f71
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.423
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.
@@ -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
@@ -5139,6 +5175,42 @@ module TencentCloud
5139
5175
  end
5140
5176
  end
5141
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
+
5142
5214
  # 安全组出站规则
5143
5215
  class Outbound < TencentCloud::Common::AbstractModel
5144
5216
  # @param Action: 策略,ACCEPT或者DROP。
@@ -6490,9 +6562,10 @@ module TencentCloud
6490
6562
 
6491
6563
  # UpgradeVersionToMultiAvailabilityZones请求参数结构体
6492
6564
  class UpgradeVersionToMultiAvailabilityZonesRequest < TencentCloud::Common::AbstractModel
6493
- # @param InstanceId: 实例ID
6565
+ # @param InstanceId: 实例ID
6494
6566
  # @type InstanceId: String
6495
- # @param UpgradeProxyAndRedisServer: 是否升级proxy和redis内核版本,升级后可支持就近接入
6567
+ # @param UpgradeProxyAndRedisServer: 升级多可用区之后是否支持就近访问功能。
6568
+ # <ul><li>true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。</li><li>false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。</li></ul>
6496
6569
  # @type UpgradeProxyAndRedisServer: Boolean
6497
6570
 
6498
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.423
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-30 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