tencentcloud-sdk-redis 3.0.843 → 3.0.844

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: 47c5c4598f5667e8c14fc61e5b01da3d125bb166
4
+ data.tar.gz: cbc503a9ee3bc0f279afc6b3b9be8e5a604e2801
5
5
  SHA512:
6
- metadata.gz: 487c5f770d87b8af1cae0de6a5eb34fe9983140c7c2154d69ac4838aa6dfb1fc8c7fa59b5e8d5fdcbe6c4fa2cc09d9a3973ff3a00a4bd7848d21e80e7bb7d52c
7
- data.tar.gz: ea647066020ef5ad7bc522ceef58acfc33ae1b31b56a5edd1fc49b7f6f3435b8500b1287c08870c7cb1b6db8d5fe5cf707b4be57c9bf33db4c662131f27d09df
6
+ metadata.gz: 6f10978eb591db8d1aefa4fd65a0bddf409a7aa1cd544e431df5f21a5b89cfbcb5fe87254d9a0e3ea794917617512471c5ad1b91bcef96840f2b7ede0c1af451
7
+ data.tar.gz: faa1b0b6f4875021206449134aea1929de433052b1c53c4fd57892cb1f197b8e96271b45264adefaa382af20dc59fa6d7525c349081ebc51aae242c98dba07b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.843
1
+ 3.0.844
@@ -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。
@@ -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。
@@ -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。
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.844
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common