tencentcloud-sdk-redis 3.0.843 → 3.0.845

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: 4310f6355d52f950dca0427fe5d6307f5f7d13a8
4
- data.tar.gz: 68ed5b59e929783aaa047be12010d617cd560517
3
+ metadata.gz: 9e97fc02fe47dc3f3f0b01dd20c163022b063ec5
4
+ data.tar.gz: a615bc563f8d2cbba20629e74004d6bec42d2587
5
5
  SHA512:
6
- metadata.gz: 487c5f770d87b8af1cae0de6a5eb34fe9983140c7c2154d69ac4838aa6dfb1fc8c7fa59b5e8d5fdcbe6c4fa2cc09d9a3973ff3a00a4bd7848d21e80e7bb7d52c
7
- data.tar.gz: ea647066020ef5ad7bc522ceef58acfc33ae1b31b56a5edd1fc49b7f6f3435b8500b1287c08870c7cb1b6db8d5fe5cf707b4be57c9bf33db4c662131f27d09df
6
+ metadata.gz: 071f486de3ccb4d19b2cebca40837bd094c93a2854bbe042e6073646effef39271646c2d2de1b00a598f279eb00c6754639d46d2e75b60952a3598011386195d
7
+ data.tar.gz: 6d8a8ca0791e3b43855a00c936121d1377144726ed444feefe69acc9e2b1c3d8916f83c15597f3f8234508de61d3c2df2d1af3889fa23812b734636e49ac230b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.843
1
+ 3.0.845
@@ -629,6 +629,30 @@ module TencentCloud
629
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
630
  end
631
631
 
632
+ # 查询全球复制支持地域信息
633
+
634
+ # @param request: Request instance for DescribeGlobalReplicationArea.
635
+ # @type request: :class:`Tencentcloud::redis::V20180412::DescribeGlobalReplicationAreaRequest`
636
+ # @rtype: :class:`Tencentcloud::redis::V20180412::DescribeGlobalReplicationAreaResponse`
637
+ def DescribeGlobalReplicationArea(request)
638
+ body = send_request('DescribeGlobalReplicationArea', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DescribeGlobalReplicationAreaResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
632
656
  # 本接口(DescribeInstanceAccount)用于查看实例子账号信息。
633
657
 
634
658
  # @param request: Request instance for DescribeInstanceAccount.
@@ -1061,6 +1085,30 @@ module TencentCloud
1061
1085
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1062
1086
  end
1063
1087
 
1088
+ # 本接口(DescribeInstanceSpecBandwidth)用于查询或计算带宽规格。
1089
+
1090
+ # @param request: Request instance for DescribeInstanceSpecBandwidth.
1091
+ # @type request: :class:`Tencentcloud::redis::V20180412::DescribeInstanceSpecBandwidthRequest`
1092
+ # @rtype: :class:`Tencentcloud::redis::V20180412::DescribeInstanceSpecBandwidthResponse`
1093
+ def DescribeInstanceSpecBandwidth(request)
1094
+ body = send_request('DescribeInstanceSpecBandwidth', request.serialize)
1095
+ response = JSON.parse(body)
1096
+ if response['Response'].key?('Error') == false
1097
+ model = DescribeInstanceSpecBandwidthResponse.new
1098
+ model.deserialize(response['Response'])
1099
+ model
1100
+ else
1101
+ code = response['Response']['Error']['Code']
1102
+ message = response['Response']['Error']['Message']
1103
+ reqid = response['Response']['RequestId']
1104
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1105
+ end
1106
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1107
+ raise e
1108
+ rescue StandardError => e
1109
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1110
+ end
1111
+
1064
1112
  # 本接口(DescribeInstanceSupportFeature)用于查询实例支持的功能特性。
1065
1113
 
1066
1114
  # @param request: Request instance for DescribeInstanceSupportFeature.
@@ -1325,6 +1373,30 @@ module TencentCloud
1325
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1374
  end
1327
1375
 
1376
+ # 查询复制组信息
1377
+
1378
+ # @param request: Request instance for DescribeReplicationGroupInstance.
1379
+ # @type request: :class:`Tencentcloud::redis::V20180412::DescribeReplicationGroupInstanceRequest`
1380
+ # @rtype: :class:`Tencentcloud::redis::V20180412::DescribeReplicationGroupInstanceResponse`
1381
+ def DescribeReplicationGroupInstance(request)
1382
+ body = send_request('DescribeReplicationGroupInstance', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = DescribeReplicationGroupInstanceResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1328
1400
  # 本接口(DescribeSSLStatus)用于查询实例 SSL 认证相关信息,包括开启状态、配置状态、证书地址等。
1329
1401
 
1330
1402
  # @param request: Request instance for DescribeSSLStatus.
@@ -2021,6 +2093,30 @@ module TencentCloud
2021
2093
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2022
2094
  end
2023
2095
 
2096
+ # 修改复制组信息
2097
+
2098
+ # @param request: Request instance for ModifyReplicationGroup.
2099
+ # @type request: :class:`Tencentcloud::redis::V20180412::ModifyReplicationGroupRequest`
2100
+ # @rtype: :class:`Tencentcloud::redis::V20180412::ModifyReplicationGroupResponse`
2101
+ def ModifyReplicationGroup(request)
2102
+ body = send_request('ModifyReplicationGroup', request.serialize)
2103
+ response = JSON.parse(body)
2104
+ if response['Response'].key?('Error') == false
2105
+ model = ModifyReplicationGroupResponse.new
2106
+ model.deserialize(response['Response'])
2107
+ model
2108
+ else
2109
+ code = response['Response']['Error']['Code']
2110
+ message = response['Response']['Error']['Message']
2111
+ reqid = response['Response']['RequestId']
2112
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2113
+ end
2114
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2115
+ raise e
2116
+ rescue StandardError => e
2117
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2118
+ end
2119
+
2024
2120
  # 开启SSL
2025
2121
 
2026
2122
  # @param request: Request instance for OpenSSL.
@@ -236,6 +236,28 @@ module TencentCloud
236
236
  end
237
237
  end
238
238
 
239
+ # 可使用的地域信息
240
+ class AvailableRegion < TencentCloud::Common::AbstractModel
241
+ # @param Region: 地域
242
+ # 注意:此字段可能返回 null,表示取不到有效值。
243
+ # @type Region: String
244
+ # @param AvailableZones: 可用区信息
245
+ # 注意:此字段可能返回 null,表示取不到有效值。
246
+ # @type AvailableZones: Array
247
+
248
+ attr_accessor :Region, :AvailableZones
249
+
250
+ def initialize(region=nil, availablezones=nil)
251
+ @Region = region
252
+ @AvailableZones = availablezones
253
+ end
254
+
255
+ def deserialize(params)
256
+ @Region = params['Region']
257
+ @AvailableZones = params['AvailableZones']
258
+ end
259
+ end
260
+
239
261
  # 备份文件下载信息
240
262
  class BackupDownloadInfo < TencentCloud::Common::AbstractModel
241
263
  # @param FileName: 备份文件名称。
@@ -1754,6 +1776,44 @@ module TencentCloud
1754
1776
  end
1755
1777
  end
1756
1778
 
1779
+ # DescribeGlobalReplicationArea请求参数结构体
1780
+ class DescribeGlobalReplicationAreaRequest < TencentCloud::Common::AbstractModel
1781
+
1782
+
1783
+ def initialize()
1784
+ end
1785
+
1786
+ def deserialize(params)
1787
+ end
1788
+ end
1789
+
1790
+ # DescribeGlobalReplicationArea返回参数结构体
1791
+ class DescribeGlobalReplicationAreaResponse < TencentCloud::Common::AbstractModel
1792
+ # @param AvailableRegions: 可用地域信息
1793
+ # @type AvailableRegions: Array
1794
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1795
+ # @type RequestId: String
1796
+
1797
+ attr_accessor :AvailableRegions, :RequestId
1798
+
1799
+ def initialize(availableregions=nil, requestid=nil)
1800
+ @AvailableRegions = availableregions
1801
+ @RequestId = requestid
1802
+ end
1803
+
1804
+ def deserialize(params)
1805
+ unless params['AvailableRegions'].nil?
1806
+ @AvailableRegions = []
1807
+ params['AvailableRegions'].each do |i|
1808
+ availableregion_tmp = AvailableRegion.new
1809
+ availableregion_tmp.deserialize(i)
1810
+ @AvailableRegions << availableregion_tmp
1811
+ end
1812
+ end
1813
+ @RequestId = params['RequestId']
1814
+ end
1815
+ end
1816
+
1757
1817
  # DescribeInstanceAccount请求参数结构体
1758
1818
  class DescribeInstanceAccountRequest < TencentCloud::Common::AbstractModel
1759
1819
  # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
@@ -2761,7 +2821,7 @@ module TencentCloud
2761
2821
 
2762
2822
  # DescribeInstanceSecurityGroup请求参数结构体
2763
2823
  class DescribeInstanceSecurityGroupRequest < TencentCloud::Common::AbstractModel
2764
- # @param InstanceIds: 实例 ID 列表。例如;["crs-f2ho5rsz\n"]
2824
+ # @param InstanceIds: 实例 ID 列表,数组长度限制[0,100]。例如:["crs-f2ho5rsz\n"]
2765
2825
  # @type InstanceIds: Array
2766
2826
 
2767
2827
  attr_accessor :InstanceIds
@@ -2855,6 +2915,33 @@ module TencentCloud
2855
2915
  end
2856
2916
  end
2857
2917
 
2918
+ # DescribeInstanceSpecBandwidth请求参数结构体
2919
+ class DescribeInstanceSpecBandwidthRequest < TencentCloud::Common::AbstractModel
2920
+
2921
+
2922
+ def initialize()
2923
+ end
2924
+
2925
+ def deserialize(params)
2926
+ end
2927
+ end
2928
+
2929
+ # DescribeInstanceSpecBandwidth返回参数结构体
2930
+ class DescribeInstanceSpecBandwidthResponse < TencentCloud::Common::AbstractModel
2931
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2932
+ # @type RequestId: String
2933
+
2934
+ attr_accessor :RequestId
2935
+
2936
+ def initialize(requestid=nil)
2937
+ @RequestId = requestid
2938
+ end
2939
+
2940
+ def deserialize(params)
2941
+ @RequestId = params['RequestId']
2942
+ end
2943
+ end
2944
+
2858
2945
  # DescribeInstanceSupportFeature请求参数结构体
2859
2946
  class DescribeInstanceSupportFeatureRequest < TencentCloud::Common::AbstractModel
2860
2947
  # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
@@ -3533,6 +3620,60 @@ module TencentCloud
3533
3620
  end
3534
3621
  end
3535
3622
 
3623
+ # DescribeReplicationGroupInstance请求参数结构体
3624
+ class DescribeReplicationGroupInstanceRequest < TencentCloud::Common::AbstractModel
3625
+ # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
3626
+ # @type InstanceId: String
3627
+
3628
+ attr_accessor :InstanceId
3629
+
3630
+ def initialize(instanceid=nil)
3631
+ @InstanceId = instanceid
3632
+ end
3633
+
3634
+ def deserialize(params)
3635
+ @InstanceId = params['InstanceId']
3636
+ end
3637
+ end
3638
+
3639
+ # DescribeReplicationGroupInstance返回参数结构体
3640
+ class DescribeReplicationGroupInstanceResponse < TencentCloud::Common::AbstractModel
3641
+ # @param AppId: AppID。
3642
+ # @type AppId: Integer
3643
+ # @param RegionId: 地域数字编号。
3644
+ # @type RegionId: Integer
3645
+ # @param GroupId: 复制组字符串ID。
3646
+ # @type GroupId: String
3647
+ # @param GroupName: 复制组名称。
3648
+ # @type GroupName: String
3649
+ # @param InstanceRole: 实例复制组角色。
3650
+ # - r: 备实例
3651
+ # - rw: 主实例
3652
+ # @type InstanceRole: String
3653
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3654
+ # @type RequestId: String
3655
+
3656
+ attr_accessor :AppId, :RegionId, :GroupId, :GroupName, :InstanceRole, :RequestId
3657
+
3658
+ def initialize(appid=nil, regionid=nil, groupid=nil, groupname=nil, instancerole=nil, requestid=nil)
3659
+ @AppId = appid
3660
+ @RegionId = regionid
3661
+ @GroupId = groupid
3662
+ @GroupName = groupname
3663
+ @InstanceRole = instancerole
3664
+ @RequestId = requestid
3665
+ end
3666
+
3667
+ def deserialize(params)
3668
+ @AppId = params['AppId']
3669
+ @RegionId = params['RegionId']
3670
+ @GroupId = params['GroupId']
3671
+ @GroupName = params['GroupName']
3672
+ @InstanceRole = params['InstanceRole']
3673
+ @RequestId = params['RequestId']
3674
+ end
3675
+ end
3676
+
3536
3677
  # DescribeReplicationGroup请求参数结构体
3537
3678
  class DescribeReplicationGroupRequest < TencentCloud::Common::AbstractModel
3538
3679
  # @param Limit: 每页输出实例列表的大小,参数默认值20。
@@ -3696,7 +3837,7 @@ module TencentCloud
3696
3837
  class DescribeSlowLogResponse < TencentCloud::Common::AbstractModel
3697
3838
  # @param TotalCount: 慢查询总数。
3698
3839
  # @type TotalCount: Integer
3699
- # @param InstanceSlowlogDetail: 该参数存在命名不规范问题,建议用参数InstanceSlowLogDetail取代。慢查询详情。
3840
+ # @param InstanceSlowlogDetail: 已废弃,该参数存在命名不规范问题,后续用参数InstanceSlowLogDetail取代。慢查询详情。
3700
3841
  # @type InstanceSlowlogDetail: Array
3701
3842
  # @param InstanceSlowLogDetail: 慢查询详情。
3702
3843
  # @type InstanceSlowLogDetail: Array
@@ -6294,6 +6435,46 @@ module TencentCloud
6294
6435
  end
6295
6436
  end
6296
6437
 
6438
+ # ModifyReplicationGroup请求参数结构体
6439
+ class ModifyReplicationGroupRequest < TencentCloud::Common::AbstractModel
6440
+ # @param GroupId: 复制组字符串ID
6441
+ # @type GroupId: String
6442
+ # @param GroupName: 复制组名称
6443
+ # @type GroupName: String
6444
+ # @param Remark: 备注
6445
+ # @type Remark: String
6446
+
6447
+ attr_accessor :GroupId, :GroupName, :Remark
6448
+
6449
+ def initialize(groupid=nil, groupname=nil, remark=nil)
6450
+ @GroupId = groupid
6451
+ @GroupName = groupname
6452
+ @Remark = remark
6453
+ end
6454
+
6455
+ def deserialize(params)
6456
+ @GroupId = params['GroupId']
6457
+ @GroupName = params['GroupName']
6458
+ @Remark = params['Remark']
6459
+ end
6460
+ end
6461
+
6462
+ # ModifyReplicationGroup返回参数结构体
6463
+ class ModifyReplicationGroupResponse < TencentCloud::Common::AbstractModel
6464
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6465
+ # @type RequestId: String
6466
+
6467
+ attr_accessor :RequestId
6468
+
6469
+ def initialize(requestid=nil)
6470
+ @RequestId = requestid
6471
+ end
6472
+
6473
+ def deserialize(params)
6474
+ @RequestId = params['RequestId']
6475
+ end
6476
+ end
6477
+
6297
6478
  # OpenSSL请求参数结构体
6298
6479
  class OpenSSLRequest < TencentCloud::Common::AbstractModel
6299
6480
  # @param InstanceId: 实例ID。
@@ -7684,17 +7865,21 @@ module TencentCloud
7684
7865
  # @type NodeId: String
7685
7866
  # @param NodeRole: 节点角色
7686
7867
  # @type NodeRole: String
7868
+ # @param ZoneId: 可用区 ID。
7869
+ # @type ZoneId: Integer
7687
7870
 
7688
- attr_accessor :NodeId, :NodeRole
7871
+ attr_accessor :NodeId, :NodeRole, :ZoneId
7689
7872
 
7690
- def initialize(nodeid=nil, noderole=nil)
7873
+ def initialize(nodeid=nil, noderole=nil, zoneid=nil)
7691
7874
  @NodeId = nodeid
7692
7875
  @NodeRole = noderole
7876
+ @ZoneId = zoneid
7693
7877
  end
7694
7878
 
7695
7879
  def deserialize(params)
7696
7880
  @NodeId = params['NodeId']
7697
7881
  @NodeRole = params['NodeRole']
7882
+ @ZoneId = params['ZoneId']
7698
7883
  end
7699
7884
  end
7700
7885
 
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.843
4
+ version: 3.0.845
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-06-13 00:00:00.000000000 Z
11
+ date: 2024-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-redis.rb
37
36
  - lib/v20180412/models.rb
38
37
  - lib/v20180412/client.rb
38
+ - lib/tencentcloud-sdk-redis.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: