tencentcloud-sdk-redis 3.0.842 → 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: f45eca4ffb61d8fd75f6f5329e4adb2f1a654dfd
4
- data.tar.gz: 4a96b916f83b5d65f4d5e7659383ebb5f2c5841b
3
+ metadata.gz: 47c5c4598f5667e8c14fc61e5b01da3d125bb166
4
+ data.tar.gz: cbc503a9ee3bc0f279afc6b3b9be8e5a604e2801
5
5
  SHA512:
6
- metadata.gz: ccb366ea1e8d5491f3bca7f7a7d00ed648038bc4d7ed426ac624a0487275c255521c55da2d82b89e3e58b9ae16d49dc55fa1ed92b420c7290f5fc350f24b1a94
7
- data.tar.gz: d621e693b18a76f306314811154a574bb9059d30d85d7b33ee8e4c6e938d4f16c7e0f1f60be089f1c9b2aaaa19ab272e255486416d4a2b362999357f640a2ff5
6
+ metadata.gz: 6f10978eb591db8d1aefa4fd65a0bddf409a7aa1cd544e431df5f21a5b89cfbcb5fe87254d9a0e3ea794917617512471c5ad1b91bcef96840f2b7ede0c1af451
7
+ data.tar.gz: faa1b0b6f4875021206449134aea1929de433052b1c53c4fd57892cb1f197b8e96271b45264adefaa382af20dc59fa6d7525c349081ebc51aae242c98dba07b5
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.842
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.
@@ -821,7 +845,7 @@ module TencentCloud
821
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
846
  end
823
847
 
824
- # 查询实例热Key
848
+ # 本接口(DescribeInstanceMonitorHotKey)用于查询实例热Key
825
849
 
826
850
  # @param request: Request instance for DescribeInstanceMonitorHotKey.
827
851
  # @type request: :class:`Tencentcloud::redis::V20180412::DescribeInstanceMonitorHotKeyRequest`
@@ -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: 备份文件名称。
@@ -724,9 +746,9 @@ module TencentCloud
724
746
 
725
747
  # 命令耗时
726
748
  class CommandTake < TencentCloud::Common::AbstractModel
727
- # @param Cmd: 命令
749
+ # @param Cmd: 命令名。
728
750
  # @type Cmd: String
729
- # @param Took: 耗时
751
+ # @param Took: 耗时时长。
730
752
  # @type Took: Integer
731
753
 
732
754
  attr_accessor :Cmd, :Took
@@ -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。
@@ -2291,9 +2351,13 @@ module TencentCloud
2291
2351
 
2292
2352
  # DescribeInstanceMonitorHotKey请求参数结构体
2293
2353
  class DescribeInstanceMonitorHotKeyRequest < TencentCloud::Common::AbstractModel
2294
- # @param InstanceId: 实例Id
2354
+ # @param InstanceId: 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
2295
2355
  # @type InstanceId: String
2296
- # @param SpanType: 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
2356
+ # @param SpanType: 查询时间范围。
2357
+ # - 1:实时。
2358
+ # - 2:近30分钟。
2359
+ # - 3:近6小时。
2360
+ # - 4:近24小时。
2297
2361
  # @type SpanType: Integer
2298
2362
 
2299
2363
  attr_accessor :InstanceId, :SpanType
@@ -2311,7 +2375,7 @@ module TencentCloud
2311
2375
 
2312
2376
  # DescribeInstanceMonitorHotKey返回参数结构体
2313
2377
  class DescribeInstanceMonitorHotKeyResponse < TencentCloud::Common::AbstractModel
2314
- # @param Data: 热Key详细信息
2378
+ # @param Data: 热 Key 详细信息。
2315
2379
  # @type Data: Array
2316
2380
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2317
2381
  # @type RequestId: String
@@ -2381,11 +2445,15 @@ module TencentCloud
2381
2445
 
2382
2446
  # DescribeInstanceMonitorTookDist请求参数结构体
2383
2447
  class DescribeInstanceMonitorTookDistRequest < TencentCloud::Common::AbstractModel
2384
- # @param InstanceId: 实例Id
2448
+ # @param InstanceId: 实例 ID。
2385
2449
  # @type InstanceId: String
2386
- # @param Date: 时间;例如:"20190219"
2450
+ # @param Date: 查询时间日期。
2387
2451
  # @type Date: String
2388
- # @param SpanType: 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
2452
+ # @param SpanType: 时间范围。
2453
+ # - 1:实时。
2454
+ # - 2:近30分钟。
2455
+ # - 3:近6小时。
2456
+ # - 4:近24小时。
2389
2457
  # @type SpanType: Integer
2390
2458
 
2391
2459
  attr_accessor :InstanceId, :Date, :SpanType
@@ -2405,7 +2473,7 @@ module TencentCloud
2405
2473
 
2406
2474
  # DescribeInstanceMonitorTookDist返回参数结构体
2407
2475
  class DescribeInstanceMonitorTookDistResponse < TencentCloud::Common::AbstractModel
2408
- # @param Data: 时延分布信息
2476
+ # @param Data: 时延分布信息。
2409
2477
  # @type Data: Array
2410
2478
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2411
2479
  # @type RequestId: String
@@ -2479,9 +2547,13 @@ module TencentCloud
2479
2547
 
2480
2548
  # DescribeInstanceMonitorTopNCmdTook请求参数结构体
2481
2549
  class DescribeInstanceMonitorTopNCmdTookRequest < TencentCloud::Common::AbstractModel
2482
- # @param InstanceId: 实例ID
2550
+ # @param InstanceId: 实例 ID
2483
2551
  # @type InstanceId: String
2484
- # @param SpanType: 时间范围:1——实时,2——近30分钟,3——近6小时,4——近24小时
2552
+ # @param SpanType: 查询时间范围。
2553
+ # - 1:实时。
2554
+ # - 2:近30分钟。
2555
+ # - 3:近6小时。
2556
+ # - 4:近24小时。
2485
2557
  # @type SpanType: Integer
2486
2558
 
2487
2559
  attr_accessor :InstanceId, :SpanType
@@ -2843,6 +2915,33 @@ module TencentCloud
2843
2915
  end
2844
2916
  end
2845
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
+
2846
2945
  # DescribeInstanceSupportFeature请求参数结构体
2847
2946
  class DescribeInstanceSupportFeatureRequest < TencentCloud::Common::AbstractModel
2848
2947
  # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
@@ -3521,6 +3620,60 @@ module TencentCloud
3521
3620
  end
3522
3621
  end
3523
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
+
3524
3677
  # DescribeReplicationGroup请求参数结构体
3525
3678
  class DescribeReplicationGroupRequest < TencentCloud::Common::AbstractModel
3526
3679
  # @param Limit: 每页输出实例列表的大小,参数默认值20。
@@ -6282,6 +6435,46 @@ module TencentCloud
6282
6435
  end
6283
6436
  end
6284
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
+
6285
6478
  # OpenSSL请求参数结构体
6286
6479
  class OpenSSLRequest < TencentCloud::Common::AbstractModel
6287
6480
  # @param InstanceId: 实例ID。
@@ -7350,9 +7543,9 @@ module TencentCloud
7350
7543
 
7351
7544
  # 访问命令
7352
7545
  class SourceCommand < TencentCloud::Common::AbstractModel
7353
- # @param Cmd: 命令
7546
+ # @param Cmd: 命令名称。
7354
7547
  # @type Cmd: String
7355
- # @param Count: 执行次数
7548
+ # @param Count: 执行次数。
7356
7549
  # @type Count: Integer
7357
7550
 
7358
7551
  attr_accessor :Cmd, :Count
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.842
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-12 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