tencentcloud-sdk-redis 3.0.548 → 3.0.550
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180412/client.rb +50 -2
- data/lib/v20180412/models.rb +208 -60
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50df8e0af3330f760e54060f90d9c37a9f1bfa56
|
4
|
+
data.tar.gz: 7d560f5a1bdadc1c957d5a675499e61fb28cf709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7328098a6562b7b1b340f02d7229a3d58e2d53bc409e9260f6e262262b7f89eb1ec78bae746c81ce975c260b7263f86429ffb0b60267043d23bdafa24913abf0
|
7
|
+
data.tar.gz: 7991c9dea5539c71c1c9dd752e0ea2e145d0436902661120b496535f284a162d83e19e254d3c7c62c7613afebcdeda3f6854c486fb69eef7f6f9c7ee20c1afdc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.550
|
data/lib/v20180412/client.rb
CHANGED
@@ -245,7 +245,7 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
-
# 本接口(CloneInstances
|
248
|
+
# 本接口(CloneInstances)用于基于当前实例的备份文件克隆一个完整的新实例。
|
249
249
|
|
250
250
|
# @param request: Request instance for CloneInstances.
|
251
251
|
# @type request: :class:`Tencentcloud::redis::V20180412::CloneInstancesRequest`
|
@@ -533,6 +533,30 @@ module TencentCloud
|
|
533
533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
534
|
end
|
535
535
|
|
536
|
+
# 本接口(DescribeBandwidthRange)用于查询实例带宽信息。
|
537
|
+
|
538
|
+
# @param request: Request instance for DescribeBandwidthRange.
|
539
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeBandwidthRangeRequest`
|
540
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::DescribeBandwidthRangeResponse`
|
541
|
+
def DescribeBandwidthRange(request)
|
542
|
+
body = send_request('DescribeBandwidthRange', request.serialize)
|
543
|
+
response = JSON.parse(body)
|
544
|
+
if response['Response'].key?('Error') == false
|
545
|
+
model = DescribeBandwidthRangeResponse.new
|
546
|
+
model.deserialize(response['Response'])
|
547
|
+
model
|
548
|
+
else
|
549
|
+
code = response['Response']['Error']['Code']
|
550
|
+
message = response['Response']['Error']['Message']
|
551
|
+
reqid = response['Response']['RequestId']
|
552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
553
|
+
end
|
554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
555
|
+
raise e
|
556
|
+
rescue StandardError => e
|
557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
558
|
+
end
|
559
|
+
|
536
560
|
# 查询Redis实例列表信息。该接口已废弃。
|
537
561
|
|
538
562
|
# @param request: Request instance for DescribeCommonDBInstances.
|
@@ -1061,7 +1085,7 @@ module TencentCloud
|
|
1061
1085
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
1086
|
end
|
1063
1087
|
|
1064
|
-
#
|
1088
|
+
# 本接口(DescribeParamTemplateInfo)用于查询参数模板详情。
|
1065
1089
|
|
1066
1090
|
# @param request: Request instance for DescribeParamTemplateInfo.
|
1067
1091
|
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeParamTemplateInfoRequest`
|
@@ -1925,6 +1949,30 @@ module TencentCloud
|
|
1925
1949
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1926
1950
|
end
|
1927
1951
|
|
1952
|
+
# 移除复制组成员
|
1953
|
+
|
1954
|
+
# @param request: Request instance for RemoveReplicationInstance.
|
1955
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::RemoveReplicationInstanceRequest`
|
1956
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::RemoveReplicationInstanceResponse`
|
1957
|
+
def RemoveReplicationInstance(request)
|
1958
|
+
body = send_request('RemoveReplicationInstance', request.serialize)
|
1959
|
+
response = JSON.parse(body)
|
1960
|
+
if response['Response'].key?('Error') == false
|
1961
|
+
model = RemoveReplicationInstanceResponse.new
|
1962
|
+
model.deserialize(response['Response'])
|
1963
|
+
model
|
1964
|
+
else
|
1965
|
+
code = response['Response']['Error']['Code']
|
1966
|
+
message = response['Response']['Error']['Message']
|
1967
|
+
reqid = response['Response']['RequestId']
|
1968
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1969
|
+
end
|
1970
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1971
|
+
raise e
|
1972
|
+
rescue StandardError => e
|
1973
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1974
|
+
end
|
1975
|
+
|
1928
1976
|
# 本接口(RenewInstance)可用于为实例续费。
|
1929
1977
|
|
1930
1978
|
# @param request: Request instance for RenewInstance.
|
data/lib/v20180412/models.rb
CHANGED
@@ -251,11 +251,11 @@ module TencentCloud
|
|
251
251
|
end
|
252
252
|
end
|
253
253
|
|
254
|
-
#
|
254
|
+
# 已配置的备份文件下载地址对应的 VPC 信息。
|
255
255
|
class BackupLimitVpcItem < TencentCloud::Common::AbstractModel
|
256
|
-
# @param Region:
|
256
|
+
# @param Region: 备份文件的下载地址对应VPC 所属的地域。
|
257
257
|
# @type Region: String
|
258
|
-
# @param VpcList:
|
258
|
+
# @param VpcList: 备份文件下载地址的 VPC 列表。
|
259
259
|
# @type VpcList: Array
|
260
260
|
|
261
261
|
attr_accessor :Region, :VpcList
|
@@ -533,9 +533,11 @@ module TencentCloud
|
|
533
533
|
|
534
534
|
# CloneInstances请求参数结构体
|
535
535
|
class CloneInstancesRequest < TencentCloud::Common::AbstractModel
|
536
|
-
# @param InstanceId:
|
536
|
+
# @param InstanceId: 指定待克隆的源实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
537
537
|
# @type InstanceId: String
|
538
|
-
# @param GoodsNum:
|
538
|
+
# @param GoodsNum: 单次克隆实例的数量。
|
539
|
+
# - 包年包月每次购买最大数量为100。
|
540
|
+
# - 按量计费每次购买最大数量为30。
|
539
541
|
# @type GoodsNum: Integer
|
540
542
|
# @param ZoneId: 克隆实例所属的可用区ID。当前所支持的可用区 ID,请参见[地域和可用区](https://cloud.tencent.com/document/product/239/4106) 。
|
541
543
|
# @type ZoneId: Integer
|
@@ -549,27 +551,29 @@ module TencentCloud
|
|
549
551
|
# @type BackupId: String
|
550
552
|
# @param NoAuth: 配置克隆实例是否支持免密访问。开启 SSL 与外网均不支持免密访问。<ul><li>true:免密实例,</li><li>false:非免密实例。默认为非免密实例。</li></ul>
|
551
553
|
# @type NoAuth: Boolean
|
552
|
-
# @param VpcId:
|
554
|
+
# @param VpcId: 配置克隆实例的私有网络ID。如果未配置该参数,默认选择基础网络。
|
553
555
|
# @type VpcId: String
|
554
|
-
# @param SubnetId:
|
556
|
+
# @param SubnetId: 配置克隆实例所属私有网络的子网。基础网络时该参数无需配置。
|
555
557
|
# @type SubnetId: String
|
556
558
|
# @param InstanceName: 克隆实例的名称。<br>仅支持长度小于60的中文、英文或者数字,短划线"-"、下划线"_"。</br>
|
557
559
|
# @type InstanceName: String
|
558
560
|
# @param Password: 克隆实例的访问密码。<ul><li>当输入参数<b>NoAuth</b>为<b>true</b>时,可不设置该参数。</li><li>当实例为Redis2.8、4.0和5.0时,其密码格式为:8-30个字符,至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头;</li><li>当实例为CKV 3.2时,其密码格式为:8-30个字符,必须包含字母和数字,且不包含其他字符。</li></ul>
|
559
561
|
# @type Password: String
|
560
|
-
# @param AutoRenew: 自动续费标识。<ul><li>0
|
562
|
+
# @param AutoRenew: 自动续费标识。<ul><li>0:默认状态,手动续费。</li><li>1:自动续费。</li><li>2:不自动续费,到期自动隔离。</li></ul>
|
561
563
|
# @type AutoRenew: Integer
|
562
564
|
# @param VPort: 用户自定义的端口,默认为6379,取值范围[1024,65535]。
|
563
565
|
# @type VPort: Integer
|
564
566
|
# @param NodeSet: 实例的节点信息。<ul><li>目前支持配置节点的类型(主节点或者副本节点),及其节点的可用区信息。具体信息,请参见[RedisNodeInfo](https://cloud.tencent.com/document/product/239/20022#RedisNodeInfo)。</li><li>单可用区部署可不配置该参数。</li></ul>
|
565
567
|
# @type NodeSet: Array
|
566
|
-
# @param ProjectId: 项目 ID
|
568
|
+
# @param ProjectId: 项目 ID。登录[Redis 控制台](https://console.cloud.tencent.com/redis#/),可在右上角的<b>账号中心</b> > <b>项目管理</b>中查找项目ID。
|
567
569
|
# @type ProjectId: Integer
|
568
570
|
# @param ResourceTags: 克隆实例需绑定的标签。
|
569
571
|
# @type ResourceTags: Array
|
570
|
-
# @param TemplateId:
|
572
|
+
# @param TemplateId: 指定克隆实例相关的参数模板 ID。
|
573
|
+
# - 若不配置该参数,则系统会依据所选择的兼容版本及架构,自动适配对应的默认模板。
|
574
|
+
# - 请通过[DescribeParamTemplates](https://cloud.tencent.com/document/product/239/58750)接口,查询实例的参数模板列表,获取模板 ID 编号。
|
571
575
|
# @type TemplateId: String
|
572
|
-
# @param AlarmPolicyList: 指定克隆实例的告警策略 ID
|
576
|
+
# @param AlarmPolicyList: 指定克隆实例的告警策略 ID。请登录[腾讯云可观测平台控制台](https://console.cloud.tencent.com/monitor/alarm2/policy),在 <b>告警管理</b> > <b>策略管理</b>页面获取策略 ID 信息。
|
573
577
|
# @type AlarmPolicyList: Array
|
574
578
|
|
575
579
|
attr_accessor :InstanceId, :GoodsNum, :ZoneId, :BillingMode, :Period, :SecurityGroupIdList, :BackupId, :NoAuth, :VpcId, :SubnetId, :InstanceName, :Password, :AutoRenew, :VPort, :NodeSet, :ProjectId, :ResourceTags, :TemplateId, :AlarmPolicyList
|
@@ -1385,6 +1389,54 @@ module TencentCloud
|
|
1385
1389
|
end
|
1386
1390
|
end
|
1387
1391
|
|
1392
|
+
# DescribeBandwidthRange请求参数结构体
|
1393
|
+
class DescribeBandwidthRangeRequest < TencentCloud::Common::AbstractModel
|
1394
|
+
# @param InstanceId: 实例 ID。
|
1395
|
+
# @type InstanceId: String
|
1396
|
+
|
1397
|
+
attr_accessor :InstanceId
|
1398
|
+
|
1399
|
+
def initialize(instanceid=nil)
|
1400
|
+
@InstanceId = instanceid
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
def deserialize(params)
|
1404
|
+
@InstanceId = params['InstanceId']
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
# DescribeBandwidthRange返回参数结构体
|
1409
|
+
class DescribeBandwidthRangeResponse < TencentCloud::Common::AbstractModel
|
1410
|
+
# @param BaseBandwidth: 标准带宽。指购买实例时,系统为每个节点分配的带宽。
|
1411
|
+
# @type BaseBandwidth: Integer
|
1412
|
+
# @param AddBandwidth: 指实例的附加带宽。标准带宽不满足需求的情况下,用户可自行增加的带宽。<ul><li>开启副本只读时,实例总带宽 = 附加带宽 * 分片数 + 标准带宽 * 分片数 * Max ([只读副本数量, 1]),标准架构的分片数 = 1。</li><li>没有开启副本只读时,实例总带宽 = 附加带宽 * 分片数 + 标准带宽 * 分片数,标准架构的分片数 = 1。</li></ul>
|
1413
|
+
# @type AddBandwidth: Integer
|
1414
|
+
# @param MinAddBandwidth: 附加带宽设置下限。
|
1415
|
+
# @type MinAddBandwidth: Integer
|
1416
|
+
# @param MaxAddBandwidth: 附加带宽设置上限。
|
1417
|
+
# @type MaxAddBandwidth: Integer
|
1418
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1419
|
+
# @type RequestId: String
|
1420
|
+
|
1421
|
+
attr_accessor :BaseBandwidth, :AddBandwidth, :MinAddBandwidth, :MaxAddBandwidth, :RequestId
|
1422
|
+
|
1423
|
+
def initialize(basebandwidth=nil, addbandwidth=nil, minaddbandwidth=nil, maxaddbandwidth=nil, requestid=nil)
|
1424
|
+
@BaseBandwidth = basebandwidth
|
1425
|
+
@AddBandwidth = addbandwidth
|
1426
|
+
@MinAddBandwidth = minaddbandwidth
|
1427
|
+
@MaxAddBandwidth = maxaddbandwidth
|
1428
|
+
@RequestId = requestid
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
def deserialize(params)
|
1432
|
+
@BaseBandwidth = params['BaseBandwidth']
|
1433
|
+
@AddBandwidth = params['AddBandwidth']
|
1434
|
+
@MinAddBandwidth = params['MinAddBandwidth']
|
1435
|
+
@MaxAddBandwidth = params['MaxAddBandwidth']
|
1436
|
+
@RequestId = params['RequestId']
|
1437
|
+
end
|
1438
|
+
end
|
1439
|
+
|
1388
1440
|
# DescribeCommonDBInstances请求参数结构体
|
1389
1441
|
class DescribeCommonDBInstancesRequest < TencentCloud::Common::AbstractModel
|
1390
1442
|
# @param VpcIds: vpc网络ID信息列表
|
@@ -2786,7 +2838,7 @@ module TencentCloud
|
|
2786
2838
|
|
2787
2839
|
# DescribeParamTemplateInfo请求参数结构体
|
2788
2840
|
class DescribeParamTemplateInfoRequest < TencentCloud::Common::AbstractModel
|
2789
|
-
# @param TemplateId:
|
2841
|
+
# @param TemplateId: 指定查询的参数模板 ID。请通过接口[DescribeParamTemplates](https://cloud.tencent.com/document/product/239/58750)获取参数模板列表信息。
|
2790
2842
|
# @type TemplateId: String
|
2791
2843
|
|
2792
2844
|
attr_accessor :TemplateId
|
@@ -2802,17 +2854,27 @@ module TencentCloud
|
|
2802
2854
|
|
2803
2855
|
# DescribeParamTemplateInfo返回参数结构体
|
2804
2856
|
class DescribeParamTemplateInfoResponse < TencentCloud::Common::AbstractModel
|
2805
|
-
# @param TotalCount:
|
2857
|
+
# @param TotalCount: 参数模板的参数数量。
|
2806
2858
|
# @type TotalCount: Integer
|
2807
2859
|
# @param TemplateId: 参数模板 ID。
|
2808
2860
|
# @type TemplateId: String
|
2809
2861
|
# @param Name: 参数模板名称。
|
2810
2862
|
# @type Name: String
|
2811
|
-
# @param ProductType:
|
2863
|
+
# @param ProductType: 产品类型。
|
2864
|
+
# - 2:Redis 2.8内存版(标准架构)。
|
2865
|
+
# - 3:CKV 3.2内存版(标准架构)。
|
2866
|
+
# - 4:CKV 3.2内存版(集群架构)。
|
2867
|
+
# - 5:Redis 2.8内存版(单机)。
|
2868
|
+
# - 6:Redis 4.0内存版(标准架构)。
|
2869
|
+
# - 7:Redis 4.0内存版(集群架构)。
|
2870
|
+
# - 8:Redis 5.0内存版(标准架构)。
|
2871
|
+
# - 9:Redis 5.0内存版(集群架构)。
|
2872
|
+
# - 15:Redis 6.2内存版(标准架构)。
|
2873
|
+
# - 16:Redis 6.2内存版(集群架构)。
|
2812
2874
|
# @type ProductType: Integer
|
2813
|
-
# @param Description:
|
2875
|
+
# @param Description: 参数模板描述。
|
2814
2876
|
# @type Description: String
|
2815
|
-
# @param Items:
|
2877
|
+
# @param Items: 参数详情。包含:参数的名称,当前运行值,默认值,最大值、最小值、枚举值等信息。
|
2816
2878
|
# @type Items: Array
|
2817
2879
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2818
2880
|
# @type RequestId: String
|
@@ -3712,7 +3774,7 @@ module TencentCloud
|
|
3712
3774
|
|
3713
3775
|
# 复制组信息
|
3714
3776
|
class Groups < TencentCloud::Common::AbstractModel
|
3715
|
-
# @param AppId: 用户
|
3777
|
+
# @param AppId: 用户 APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
3716
3778
|
# @type AppId: Integer
|
3717
3779
|
# @param RegionId: 地域ID 。
|
3718
3780
|
# - 1:广州
|
@@ -3734,7 +3796,7 @@ module TencentCloud
|
|
3734
3796
|
# - 24:俄罗斯
|
3735
3797
|
# - 25:日本
|
3736
3798
|
# @type RegionId: Integer
|
3737
|
-
# @param GroupId: 复制组 ID
|
3799
|
+
# @param GroupId: 复制组 ID。格式如:crs-rpl-deind****。
|
3738
3800
|
# @type GroupId: String
|
3739
3801
|
# @param GroupName: 复制组名称。
|
3740
3802
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -4325,15 +4387,18 @@ module TencentCloud
|
|
4325
4387
|
|
4326
4388
|
# 实例参数修改历史
|
4327
4389
|
class InstanceParamHistory < TencentCloud::Common::AbstractModel
|
4328
|
-
# @param ParamName:
|
4390
|
+
# @param ParamName: 参数名称。
|
4329
4391
|
# @type ParamName: String
|
4330
|
-
# @param PreValue:
|
4392
|
+
# @param PreValue: 参数修改之前的值。
|
4331
4393
|
# @type PreValue: String
|
4332
|
-
# @param NewValue:
|
4394
|
+
# @param NewValue: 参数修改之后的值。
|
4333
4395
|
# @type NewValue: String
|
4334
|
-
# @param Status:
|
4396
|
+
# @param Status: 参数配置状态。
|
4397
|
+
# - 1:参数配置修改中。
|
4398
|
+
# - 2:参数配置修改成功。
|
4399
|
+
# - 3:参数配置修改失败。
|
4335
4400
|
# @type Status: Integer
|
4336
|
-
# @param ModifyTime:
|
4401
|
+
# @param ModifyTime: 修改时间。
|
4337
4402
|
# @type ModifyTime: String
|
4338
4403
|
|
4339
4404
|
attr_accessor :ParamName, :PreValue, :NewValue, :Status, :ModifyTime
|
@@ -4357,13 +4422,13 @@ module TencentCloud
|
|
4357
4422
|
|
4358
4423
|
# 代理慢查询详情
|
4359
4424
|
class InstanceProxySlowlogDetail < TencentCloud::Common::AbstractModel
|
4360
|
-
# @param Duration:
|
4425
|
+
# @param Duration: 慢查询耗时时长。单位:毫秒。
|
4361
4426
|
# @type Duration: Integer
|
4362
4427
|
# @param Client: 客户端地址。
|
4363
4428
|
# @type Client: String
|
4364
|
-
# @param Command:
|
4429
|
+
# @param Command: 慢查询的命令。
|
4365
4430
|
# @type Command: String
|
4366
|
-
# @param CommandLine:
|
4431
|
+
# @param CommandLine: 慢查询详细命令行信息。
|
4367
4432
|
# @type CommandLine: String
|
4368
4433
|
# @param ExecuteTime: 执行时间。
|
4369
4434
|
# @type ExecuteTime: String
|
@@ -4442,9 +4507,19 @@ module TencentCloud
|
|
4442
4507
|
# @type Createtime: String
|
4443
4508
|
# @param Size: 实例容量大小,单位:MB。
|
4444
4509
|
# @type Size: Float
|
4445
|
-
# @param SizeUsed:
|
4510
|
+
# @param SizeUsed: 该字段已废弃。请使用腾讯云可观测平台API 接口 [GetMonitorData](https://cloud.tencent.com/document/product/248/31014) 获取实例已使用的内存容量。
|
4446
4511
|
# @type SizeUsed: Float
|
4447
|
-
# @param Type:
|
4512
|
+
# @param Type: 实例类型。
|
4513
|
+
# - 2:Redis 2.8内存版(标准架构)。
|
4514
|
+
# - 3:CKV 3.2内存版(标准架构)。
|
4515
|
+
# - 4:CKV 3.2内存版(集群架构)。
|
4516
|
+
# - 5:Redis 2.8内存版(单机)。
|
4517
|
+
# - 6:Redis 4.0内存版(标准架构)。
|
4518
|
+
# - 7:Redis 4.0内存版(集群架构)。
|
4519
|
+
# - 8:Redis 5.0内存版(标准架构)。
|
4520
|
+
# - 9:Redis 5.0内存版(集群架构)。
|
4521
|
+
# - 15:Redis 6.2内存版(标准架构)。
|
4522
|
+
# - 16:Redis 6.2内存版(集群架构)。
|
4448
4523
|
# @type Type: Integer
|
4449
4524
|
# @param AutoRenewFlag: 实例是否设置自动续费标识。<ul><li>1:设置自动续费。</li><li>0:未设置自动续费。</li></ul>
|
4450
4525
|
# @type AutoRenewFlag: Integer
|
@@ -4791,7 +4866,7 @@ module TencentCloud
|
|
4791
4866
|
|
4792
4867
|
# 复制组实例
|
4793
4868
|
class Instances < TencentCloud::Common::AbstractModel
|
4794
|
-
# @param AppId: 用户
|
4869
|
+
# @param AppId: 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
4795
4870
|
# @type AppId: Integer
|
4796
4871
|
# @param InstanceId: 实例 ID。
|
4797
4872
|
# @type InstanceId: String
|
@@ -4827,7 +4902,17 @@ module TencentCloud
|
|
4827
4902
|
# @type Status: Integer
|
4828
4903
|
# @param GrocerySysId: 仓库ID。
|
4829
4904
|
# @type GrocerySysId: Integer
|
4830
|
-
# @param ProductType:
|
4905
|
+
# @param ProductType: 实例类型。
|
4906
|
+
# - 2:Redis 2.8内存版(标准架构)。
|
4907
|
+
# - 3:CKV 3.2内存版(标准架构)。
|
4908
|
+
# - 4:CKV 3.2内存版(集群架构)。
|
4909
|
+
# - 5:Redis 2.8内存版(单机)。
|
4910
|
+
# - 6:Redis 4.0内存版(标准架构)。
|
4911
|
+
# - 7:Redis 4.0内存版(集群架构)。
|
4912
|
+
# - 8:Redis 5.0内存版(标准架构)。
|
4913
|
+
# - 9:Redis 5.0内存版(集群架构)。
|
4914
|
+
# - 15:Redis 6.2内存版(标准架构)。
|
4915
|
+
# - 16:Redis 6.2内存版(集群架构)。
|
4831
4916
|
# @type ProductType: Integer
|
4832
4917
|
# @param CreateTime: 实例加入复制组的时间。
|
4833
4918
|
# @type CreateTime: String
|
@@ -4979,7 +5064,7 @@ module TencentCloud
|
|
4979
5064
|
|
4980
5065
|
# ModfiyInstancePassword请求参数结构体
|
4981
5066
|
class ModfiyInstancePasswordRequest < TencentCloud::Common::AbstractModel
|
4982
|
-
# @param InstanceId:
|
5067
|
+
# @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
4983
5068
|
# @type InstanceId: String
|
4984
5069
|
# @param OldPassword: 实例旧密码。
|
4985
5070
|
# @type OldPassword: String
|
@@ -5704,13 +5789,21 @@ module TencentCloud
|
|
5704
5789
|
|
5705
5790
|
# 参数模板信息
|
5706
5791
|
class ParamTemplateInfo < TencentCloud::Common::AbstractModel
|
5707
|
-
# @param TemplateId: 参数模板ID
|
5792
|
+
# @param TemplateId: 参数模板 ID。
|
5708
5793
|
# @type TemplateId: String
|
5709
|
-
# @param Name:
|
5794
|
+
# @param Name: 参数模板名称。
|
5710
5795
|
# @type Name: String
|
5711
|
-
# @param Description:
|
5796
|
+
# @param Description: 参数模板描述。
|
5712
5797
|
# @type Description: String
|
5713
|
-
# @param ProductType:
|
5798
|
+
# @param ProductType: 实例类型。
|
5799
|
+
# - 2:Redis 2.8内存版(标准架构)。
|
5800
|
+
# - 3:CKV 3.2内存版(标准架构)。
|
5801
|
+
# - 4:CKV 3.2内存版(集群架构)。
|
5802
|
+
# - 5:Redis 2.8内存版(单机)。
|
5803
|
+
# - 6:Redis 4.0内存版(标准架构)。
|
5804
|
+
# - 7:Redis 4.0内存版(集群架构)。
|
5805
|
+
# - 8:Redis 5.0内存版(标准架构)。
|
5806
|
+
# - 9:Redis 5.0内存版(集群架构)。
|
5714
5807
|
# @type ProductType: Integer
|
5715
5808
|
|
5716
5809
|
attr_accessor :TemplateId, :Name, :Description, :ProductType
|
@@ -5732,25 +5825,27 @@ module TencentCloud
|
|
5732
5825
|
|
5733
5826
|
# Redis参数模板参数详情
|
5734
5827
|
class ParameterDetail < TencentCloud::Common::AbstractModel
|
5735
|
-
# @param Name:
|
5828
|
+
# @param Name: 参数名称。
|
5736
5829
|
# @type Name: String
|
5737
|
-
# @param ParamType:
|
5830
|
+
# @param ParamType: 参数类型。
|
5738
5831
|
# @type ParamType: String
|
5739
|
-
# @param Default:
|
5832
|
+
# @param Default: 参数默认值。
|
5740
5833
|
# @type Default: String
|
5741
|
-
# @param Description:
|
5834
|
+
# @param Description: 参数描述。
|
5742
5835
|
# @type Description: String
|
5743
|
-
# @param CurrentValue:
|
5836
|
+
# @param CurrentValue: 参数当前值。
|
5744
5837
|
# @type CurrentValue: String
|
5745
|
-
# @param NeedReboot:
|
5838
|
+
# @param NeedReboot: 修改参数后,是否需要重启数据库以使参数生效。
|
5839
|
+
# - 0:不需要重启。
|
5840
|
+
# - 1:需要重启。
|
5746
5841
|
# @type NeedReboot: Integer
|
5747
|
-
# @param Max:
|
5842
|
+
# @param Max: 参数允许的最大值。
|
5748
5843
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5749
5844
|
# @type Max: String
|
5750
|
-
# @param Min:
|
5845
|
+
# @param Min: 参数允许的最小值。
|
5751
5846
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5752
5847
|
# @type Min: String
|
5753
|
-
# @param EnumValue:
|
5848
|
+
# @param EnumValue: 参数可选枚举值。如果为非枚举参数,则为空。
|
5754
5849
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5755
5850
|
# @type EnumValue: Array
|
5756
5851
|
|
@@ -5956,33 +6051,42 @@ module TencentCloud
|
|
5956
6051
|
|
5957
6052
|
# 单个实例信息
|
5958
6053
|
class RedisCommonInstanceList < TencentCloud::Common::AbstractModel
|
5959
|
-
# @param InstanceName:
|
6054
|
+
# @param InstanceName: 实例名称。
|
5960
6055
|
# @type InstanceName: String
|
5961
|
-
# @param InstanceId: 实例
|
6056
|
+
# @param InstanceId: 实例 ID。
|
5962
6057
|
# @type InstanceId: String
|
5963
|
-
# @param AppId: 用户
|
6058
|
+
# @param AppId: 用户APPID。APPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID。
|
5964
6059
|
# @type AppId: Integer
|
5965
|
-
# @param ProjectId: 实例所属项目
|
6060
|
+
# @param ProjectId: 实例所属项目 ID。
|
5966
6061
|
# @type ProjectId: Integer
|
5967
|
-
# @param Region:
|
6062
|
+
# @param Region: 实例接入区域。
|
5968
6063
|
# @type Region: String
|
5969
|
-
# @param Zone:
|
6064
|
+
# @param Zone: 实例接入可用区。
|
5970
6065
|
# @type Zone: String
|
5971
|
-
# @param VpcId:
|
6066
|
+
# @param VpcId: 实例私有网络 ID。
|
5972
6067
|
# @type VpcId: String
|
5973
|
-
# @param SubnetId:
|
6068
|
+
# @param SubnetId: 私有网络所属子网 ID。
|
5974
6069
|
# @type SubnetId: String
|
5975
|
-
# @param Status:
|
6070
|
+
# @param Status: 实例状态信息。
|
6071
|
+
# - 1-流程中。
|
6072
|
+
# - 2-运行中。
|
6073
|
+
# - -2-实例已隔离。
|
6074
|
+
# - -3-实例待回收。
|
6075
|
+
# - -4-实例已删除。
|
5976
6076
|
# @type Status: String
|
5977
|
-
# @param Vips:
|
6077
|
+
# @param Vips: 实例私有网络 IP 地址。
|
5978
6078
|
# @type Vips: Array
|
5979
|
-
# @param Vport:
|
6079
|
+
# @param Vport: 实例网络端口。
|
5980
6080
|
# @type Vport: Integer
|
5981
|
-
# @param Createtime:
|
6081
|
+
# @param Createtime: 实例创建时间。
|
5982
6082
|
# @type Createtime: String
|
5983
|
-
# @param PayMode:
|
6083
|
+
# @param PayMode: 计费类型。
|
6084
|
+
# - 0:按量计费。
|
6085
|
+
# - 1:包年包月。
|
5984
6086
|
# @type PayMode: Integer
|
5985
|
-
# @param NetType:
|
6087
|
+
# @param NetType: 网络类型。
|
6088
|
+
# - 0:基础网络。
|
6089
|
+
# - 1:VPC 网络。
|
5986
6090
|
# @type NetType: Integer
|
5987
6091
|
|
5988
6092
|
attr_accessor :InstanceName, :InstanceId, :AppId, :ProjectId, :Region, :Zone, :VpcId, :SubnetId, :Status, :Vips, :Vport, :Createtime, :PayMode, :NetType
|
@@ -6189,6 +6293,50 @@ module TencentCloud
|
|
6189
6293
|
end
|
6190
6294
|
end
|
6191
6295
|
|
6296
|
+
# RemoveReplicationInstance请求参数结构体
|
6297
|
+
class RemoveReplicationInstanceRequest < TencentCloud::Common::AbstractModel
|
6298
|
+
# @param GroupId: 复制组ID
|
6299
|
+
# @type GroupId: String
|
6300
|
+
# @param InstanceId: 实例ID
|
6301
|
+
# @type InstanceId: String
|
6302
|
+
# @param SyncType: 数据同步类型,true:需要数据强同步,false:不需要强同步,仅限删除主实例
|
6303
|
+
# @type SyncType: Boolean
|
6304
|
+
|
6305
|
+
attr_accessor :GroupId, :InstanceId, :SyncType
|
6306
|
+
|
6307
|
+
def initialize(groupid=nil, instanceid=nil, synctype=nil)
|
6308
|
+
@GroupId = groupid
|
6309
|
+
@InstanceId = instanceid
|
6310
|
+
@SyncType = synctype
|
6311
|
+
end
|
6312
|
+
|
6313
|
+
def deserialize(params)
|
6314
|
+
@GroupId = params['GroupId']
|
6315
|
+
@InstanceId = params['InstanceId']
|
6316
|
+
@SyncType = params['SyncType']
|
6317
|
+
end
|
6318
|
+
end
|
6319
|
+
|
6320
|
+
# RemoveReplicationInstance返回参数结构体
|
6321
|
+
class RemoveReplicationInstanceResponse < TencentCloud::Common::AbstractModel
|
6322
|
+
# @param TaskId: 异步任务ID
|
6323
|
+
# @type TaskId: Integer
|
6324
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6325
|
+
# @type RequestId: String
|
6326
|
+
|
6327
|
+
attr_accessor :TaskId, :RequestId
|
6328
|
+
|
6329
|
+
def initialize(taskid=nil, requestid=nil)
|
6330
|
+
@TaskId = taskid
|
6331
|
+
@RequestId = requestid
|
6332
|
+
end
|
6333
|
+
|
6334
|
+
def deserialize(params)
|
6335
|
+
@TaskId = params['TaskId']
|
6336
|
+
@RequestId = params['RequestId']
|
6337
|
+
end
|
6338
|
+
end
|
6339
|
+
|
6192
6340
|
# RenewInstance请求参数结构体
|
6193
6341
|
class RenewInstanceRequest < TencentCloud::Common::AbstractModel
|
6194
6342
|
# @param Period: 购买时长,单位:月。
|
@@ -6318,9 +6466,9 @@ module TencentCloud
|
|
6318
6466
|
|
6319
6467
|
# API购买实例绑定标签
|
6320
6468
|
class ResourceTag < TencentCloud::Common::AbstractModel
|
6321
|
-
# @param TagKey: 标签
|
6469
|
+
# @param TagKey: 标签Key。
|
6322
6470
|
# @type TagKey: String
|
6323
|
-
# @param TagValue: 标签
|
6471
|
+
# @param TagValue: 标签 Key 对应的 Value。
|
6324
6472
|
# @type TagValue: String
|
6325
6473
|
|
6326
6474
|
attr_accessor :TagKey, :TagValue
|
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.
|
4
|
+
version: 3.0.550
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-13 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/client.rb
|
38
37
|
- lib/v20180412/models.rb
|
38
|
+
- lib/tencentcloud-sdk-redis.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|