tencentcloud-sdk-redis 3.0.1131 → 3.0.1138
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 +1 -1
- data/lib/v20180412/models.rb +110 -70
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 289c81b5bc919ee4d2bee984f42a5cf81e872348
|
4
|
+
data.tar.gz: 6e0dad410e00e58ac90d04cb8489772632017cc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 434c5a94cd143006ab71b0e49d11ec846e32cff9bc4326dc2a1cd846b5206d7a621a8c22f078dfb766cfc60a6ade476361a14a0c9e594d6b15a5e0b7bd52c214
|
7
|
+
data.tar.gz: 87c1b8a3f29692de6adcc0e40b84d5e373e93aad419f9dd80cf1a480c317df6c958b625444c0cc8c19c471c13e4352e8092f5f03234d14c34c3fbcc7807f9abc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1138
|
data/lib/v20180412/client.rb
CHANGED
@@ -1999,7 +1999,7 @@ module TencentCloud
|
|
1999
1999
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2000
2000
|
end
|
2001
2001
|
|
2002
|
-
# 本接口(ModifyInstanceAccount
|
2002
|
+
# 本接口(ModifyInstanceAccount)用于修改实例账号。
|
2003
2003
|
|
2004
2004
|
# @param request: Request instance for ModifyInstanceAccount.
|
2005
2005
|
# @type request: :class:`Tencentcloud::redis::V20180412::ModifyInstanceAccountRequest`
|
data/lib/v20180412/models.rb
CHANGED
@@ -616,17 +616,21 @@ module TencentCloud
|
|
616
616
|
# - 免密访问:无需配置。
|
617
617
|
# - 密码认证:必须配置。字符个数为[8,64],至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
|
618
618
|
# @type Password: String
|
619
|
+
# @param EncryptPassword: 是否加密密码
|
620
|
+
# @type EncryptPassword: Boolean
|
619
621
|
|
620
|
-
attr_accessor :InstanceId, :Password
|
622
|
+
attr_accessor :InstanceId, :Password, :EncryptPassword
|
621
623
|
|
622
|
-
def initialize(instanceid=nil, password=nil)
|
624
|
+
def initialize(instanceid=nil, password=nil, encryptpassword=nil)
|
623
625
|
@InstanceId = instanceid
|
624
626
|
@Password = password
|
627
|
+
@EncryptPassword = encryptpassword
|
625
628
|
end
|
626
629
|
|
627
630
|
def deserialize(params)
|
628
631
|
@InstanceId = params['InstanceId']
|
629
632
|
@Password = params['Password']
|
633
|
+
@EncryptPassword = params['EncryptPassword']
|
630
634
|
end
|
631
635
|
end
|
632
636
|
|
@@ -697,10 +701,12 @@ module TencentCloud
|
|
697
701
|
# @param CloneTime: 克隆指定恢复数据的时间。
|
698
702
|
# 仅支持已开通秒级备份的实例
|
699
703
|
# @type CloneTime: String
|
704
|
+
# @param EncryptPassword: 是否加密密码
|
705
|
+
# @type EncryptPassword: Boolean
|
700
706
|
|
701
|
-
attr_accessor :InstanceId, :GoodsNum, :ZoneId, :BillingMode, :Period, :SecurityGroupIdList, :BackupId, :NoAuth, :VpcId, :SubnetId, :InstanceName, :Password, :AutoRenew, :VPort, :NodeSet, :ProjectId, :ResourceTags, :TemplateId, :AlarmPolicyList, :CloneTime
|
707
|
+
attr_accessor :InstanceId, :GoodsNum, :ZoneId, :BillingMode, :Period, :SecurityGroupIdList, :BackupId, :NoAuth, :VpcId, :SubnetId, :InstanceName, :Password, :AutoRenew, :VPort, :NodeSet, :ProjectId, :ResourceTags, :TemplateId, :AlarmPolicyList, :CloneTime, :EncryptPassword
|
702
708
|
|
703
|
-
def initialize(instanceid=nil, goodsnum=nil, zoneid=nil, billingmode=nil, period=nil, securitygroupidlist=nil, backupid=nil, noauth=nil, vpcid=nil, subnetid=nil, instancename=nil, password=nil, autorenew=nil, vport=nil, nodeset=nil, projectid=nil, resourcetags=nil, templateid=nil, alarmpolicylist=nil, clonetime=nil)
|
709
|
+
def initialize(instanceid=nil, goodsnum=nil, zoneid=nil, billingmode=nil, period=nil, securitygroupidlist=nil, backupid=nil, noauth=nil, vpcid=nil, subnetid=nil, instancename=nil, password=nil, autorenew=nil, vport=nil, nodeset=nil, projectid=nil, resourcetags=nil, templateid=nil, alarmpolicylist=nil, clonetime=nil, encryptpassword=nil)
|
704
710
|
@InstanceId = instanceid
|
705
711
|
@GoodsNum = goodsnum
|
706
712
|
@ZoneId = zoneid
|
@@ -721,6 +727,7 @@ module TencentCloud
|
|
721
727
|
@TemplateId = templateid
|
722
728
|
@AlarmPolicyList = alarmpolicylist
|
723
729
|
@CloneTime = clonetime
|
730
|
+
@EncryptPassword = encryptpassword
|
724
731
|
end
|
725
732
|
|
726
733
|
def deserialize(params)
|
@@ -758,6 +765,7 @@ module TencentCloud
|
|
758
765
|
@TemplateId = params['TemplateId']
|
759
766
|
@AlarmPolicyList = params['AlarmPolicyList']
|
760
767
|
@CloneTime = params['CloneTime']
|
768
|
+
@EncryptPassword = params['EncryptPassword']
|
761
769
|
end
|
762
770
|
end
|
763
771
|
|
@@ -859,21 +867,24 @@ module TencentCloud
|
|
859
867
|
# - replication:副本节点
|
860
868
|
# @type ReadonlyPolicy: Array
|
861
869
|
# @param Privilege: 账户读写权限,支持选择只读与读写权限。
|
862
|
-
# - r
|
863
|
-
# - rw:
|
870
|
+
# - r:只读。
|
871
|
+
# - rw: 读写。
|
864
872
|
# @type Privilege: String
|
865
|
-
# @param Remark:
|
873
|
+
# @param Remark: 账号备注描述信息,长度为[0,64] 字节,支持中文。
|
866
874
|
# @type Remark: String
|
875
|
+
# @param EncryptPassword: 是否加密密码
|
876
|
+
# @type EncryptPassword: Boolean
|
867
877
|
|
868
|
-
attr_accessor :InstanceId, :AccountName, :AccountPassword, :ReadonlyPolicy, :Privilege, :Remark
|
878
|
+
attr_accessor :InstanceId, :AccountName, :AccountPassword, :ReadonlyPolicy, :Privilege, :Remark, :EncryptPassword
|
869
879
|
|
870
|
-
def initialize(instanceid=nil, accountname=nil, accountpassword=nil, readonlypolicy=nil, privilege=nil, remark=nil)
|
880
|
+
def initialize(instanceid=nil, accountname=nil, accountpassword=nil, readonlypolicy=nil, privilege=nil, remark=nil, encryptpassword=nil)
|
871
881
|
@InstanceId = instanceid
|
872
882
|
@AccountName = accountname
|
873
883
|
@AccountPassword = accountpassword
|
874
884
|
@ReadonlyPolicy = readonlypolicy
|
875
885
|
@Privilege = privilege
|
876
886
|
@Remark = remark
|
887
|
+
@EncryptPassword = encryptpassword
|
877
888
|
end
|
878
889
|
|
879
890
|
def deserialize(params)
|
@@ -883,12 +894,13 @@ module TencentCloud
|
|
883
894
|
@ReadonlyPolicy = params['ReadonlyPolicy']
|
884
895
|
@Privilege = params['Privilege']
|
885
896
|
@Remark = params['Remark']
|
897
|
+
@EncryptPassword = params['EncryptPassword']
|
886
898
|
end
|
887
899
|
end
|
888
900
|
|
889
901
|
# CreateInstanceAccount返回参数结构体
|
890
902
|
class CreateInstanceAccountResponse < TencentCloud::Common::AbstractModel
|
891
|
-
# @param TaskId: 任务ID
|
903
|
+
# @param TaskId: 任务ID。
|
892
904
|
# @type TaskId: Integer
|
893
905
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
894
906
|
# @type RequestId: String
|
@@ -995,10 +1007,12 @@ module TencentCloud
|
|
995
1007
|
# - 请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)获取告警策略 ID。
|
996
1008
|
# - 若不配置该参数,则绑定默认告警策略。默认告警策略具体信息,请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)查看。
|
997
1009
|
# @type AlarmPolicyList: Array
|
1010
|
+
# @param EncryptPassword: 是否加密密码
|
1011
|
+
# @type EncryptPassword: Boolean
|
998
1012
|
|
999
|
-
attr_accessor :TypeId, :MemSize, :GoodsNum, :Period, :BillingMode, :ZoneId, :Password, :VpcId, :SubnetId, :ProjectId, :AutoRenew, :SecurityGroupIdList, :VPort, :RedisShardNum, :RedisReplicasNum, :ReplicasReadonly, :InstanceName, :NoAuth, :NodeSet, :ResourceTags, :ZoneName, :TemplateId, :DryRun, :ProductVersion, :RedisClusterId, :AlarmPolicyList
|
1013
|
+
attr_accessor :TypeId, :MemSize, :GoodsNum, :Period, :BillingMode, :ZoneId, :Password, :VpcId, :SubnetId, :ProjectId, :AutoRenew, :SecurityGroupIdList, :VPort, :RedisShardNum, :RedisReplicasNum, :ReplicasReadonly, :InstanceName, :NoAuth, :NodeSet, :ResourceTags, :ZoneName, :TemplateId, :DryRun, :ProductVersion, :RedisClusterId, :AlarmPolicyList, :EncryptPassword
|
1000
1014
|
|
1001
|
-
def initialize(typeid=nil, memsize=nil, goodsnum=nil, period=nil, billingmode=nil, zoneid=nil, password=nil, vpcid=nil, subnetid=nil, projectid=nil, autorenew=nil, securitygroupidlist=nil, vport=nil, redisshardnum=nil, redisreplicasnum=nil, replicasreadonly=nil, instancename=nil, noauth=nil, nodeset=nil, resourcetags=nil, zonename=nil, templateid=nil, dryrun=nil, productversion=nil, redisclusterid=nil, alarmpolicylist=nil)
|
1015
|
+
def initialize(typeid=nil, memsize=nil, goodsnum=nil, period=nil, billingmode=nil, zoneid=nil, password=nil, vpcid=nil, subnetid=nil, projectid=nil, autorenew=nil, securitygroupidlist=nil, vport=nil, redisshardnum=nil, redisreplicasnum=nil, replicasreadonly=nil, instancename=nil, noauth=nil, nodeset=nil, resourcetags=nil, zonename=nil, templateid=nil, dryrun=nil, productversion=nil, redisclusterid=nil, alarmpolicylist=nil, encryptpassword=nil)
|
1002
1016
|
@TypeId = typeid
|
1003
1017
|
@MemSize = memsize
|
1004
1018
|
@GoodsNum = goodsnum
|
@@ -1025,6 +1039,7 @@ module TencentCloud
|
|
1025
1039
|
@ProductVersion = productversion
|
1026
1040
|
@RedisClusterId = redisclusterid
|
1027
1041
|
@AlarmPolicyList = alarmpolicylist
|
1042
|
+
@EncryptPassword = encryptpassword
|
1028
1043
|
end
|
1029
1044
|
|
1030
1045
|
def deserialize(params)
|
@@ -1068,6 +1083,7 @@ module TencentCloud
|
|
1068
1083
|
@ProductVersion = params['ProductVersion']
|
1069
1084
|
@RedisClusterId = params['RedisClusterId']
|
1070
1085
|
@AlarmPolicyList = params['AlarmPolicyList']
|
1086
|
+
@EncryptPassword = params['EncryptPassword']
|
1071
1087
|
end
|
1072
1088
|
end
|
1073
1089
|
|
@@ -1097,12 +1113,11 @@ module TencentCloud
|
|
1097
1113
|
|
1098
1114
|
# CreateParamTemplate请求参数结构体
|
1099
1115
|
class CreateParamTemplateRequest < TencentCloud::Common::AbstractModel
|
1100
|
-
# @param Name:
|
1116
|
+
# @param Name: 参数模板名称。字符长度要求为[2,64]。
|
1101
1117
|
# @type Name: String
|
1102
1118
|
# @param Description: 参数模板描述。
|
1103
1119
|
# @type Description: String
|
1104
1120
|
# @param ProductType: 产品类型。
|
1105
|
-
# - 2:Redis 2.8 内存版(标准架构)。
|
1106
1121
|
# - 6:Redis 4.0 内存版(标准架构)。
|
1107
1122
|
# - 7:Redis 4.0 内存版(集群架构)。
|
1108
1123
|
# - 8:Redis 5.0 内存版(标准架构)。
|
@@ -1632,12 +1647,12 @@ module TencentCloud
|
|
1632
1647
|
|
1633
1648
|
attr_accessor :DownloadUrl, :InnerDownloadUrl, :Filenames, :BackupInfos, :RequestId
|
1634
1649
|
extend Gem::Deprecate
|
1635
|
-
deprecate :DownloadUrl, :none, 2025,
|
1636
|
-
deprecate :DownloadUrl=, :none, 2025,
|
1637
|
-
deprecate :InnerDownloadUrl, :none, 2025,
|
1638
|
-
deprecate :InnerDownloadUrl=, :none, 2025,
|
1639
|
-
deprecate :Filenames, :none, 2025,
|
1640
|
-
deprecate :Filenames=, :none, 2025,
|
1650
|
+
deprecate :DownloadUrl, :none, 2025, 9
|
1651
|
+
deprecate :DownloadUrl=, :none, 2025, 9
|
1652
|
+
deprecate :InnerDownloadUrl, :none, 2025, 9
|
1653
|
+
deprecate :InnerDownloadUrl=, :none, 2025, 9
|
1654
|
+
deprecate :Filenames, :none, 2025, 9
|
1655
|
+
deprecate :Filenames=, :none, 2025, 9
|
1641
1656
|
|
1642
1657
|
def initialize(downloadurl=nil, innerdownloadurl=nil, filenames=nil, backupinfos=nil, requestid=nil)
|
1643
1658
|
@DownloadUrl = downloadurl
|
@@ -2273,7 +2288,7 @@ module TencentCloud
|
|
2273
2288
|
|
2274
2289
|
# DescribeInstanceLogDelivery请求参数结构体
|
2275
2290
|
class DescribeInstanceLogDeliveryRequest < TencentCloud::Common::AbstractModel
|
2276
|
-
# @param InstanceId: 实例ID。
|
2291
|
+
# @param InstanceId: 实例ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance)在实例列表复制实例 ID。
|
2277
2292
|
# @type InstanceId: String
|
2278
2293
|
|
2279
2294
|
attr_accessor :InstanceId
|
@@ -2793,11 +2808,11 @@ module TencentCloud
|
|
2793
2808
|
|
2794
2809
|
# DescribeInstanceParamRecords请求参数结构体
|
2795
2810
|
class DescribeInstanceParamRecordsRequest < TencentCloud::Common::AbstractModel
|
2796
|
-
# @param InstanceId: 实例
|
2811
|
+
# @param InstanceId: 实例 ID 。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
2797
2812
|
# @type InstanceId: String
|
2798
|
-
# @param Limit:
|
2813
|
+
# @param Limit: 分页大小。默认为100,最大值为 200。
|
2799
2814
|
# @type Limit: Integer
|
2800
|
-
# @param Offset: 偏移量,取Limit
|
2815
|
+
# @param Offset: 偏移量,取Limit整数倍,默认值为0。计算公式:offset=limit*(页码-1)。
|
2801
2816
|
# @type Offset: Integer
|
2802
2817
|
|
2803
2818
|
attr_accessor :InstanceId, :Limit, :Offset
|
@@ -2928,7 +2943,7 @@ module TencentCloud
|
|
2928
2943
|
|
2929
2944
|
# DescribeInstanceSecurityGroup请求参数结构体
|
2930
2945
|
class DescribeInstanceSecurityGroupRequest < TencentCloud::Common::AbstractModel
|
2931
|
-
# @param InstanceIds: 实例 ID 列表,数组长度限制[0,100]
|
2946
|
+
# @param InstanceIds: 实例 ID 列表,数组长度限制[0,100]。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
2932
2947
|
# @type InstanceIds: Array
|
2933
2948
|
|
2934
2949
|
attr_accessor :InstanceIds
|
@@ -4154,8 +4169,8 @@ module TencentCloud
|
|
4154
4169
|
|
4155
4170
|
attr_accessor :TotalCount, :InstanceSlowlogDetail, :InstanceSlowLogDetail, :RequestId
|
4156
4171
|
extend Gem::Deprecate
|
4157
|
-
deprecate :InstanceSlowlogDetail, :none, 2025,
|
4158
|
-
deprecate :InstanceSlowlogDetail=, :none, 2025,
|
4172
|
+
deprecate :InstanceSlowlogDetail, :none, 2025, 9
|
4173
|
+
deprecate :InstanceSlowlogDetail=, :none, 2025, 9
|
4159
4174
|
|
4160
4175
|
def initialize(totalcount=nil, instanceslowlogdetail=nil, requestid=nil)
|
4161
4176
|
@TotalCount = totalcount
|
@@ -4323,10 +4338,10 @@ module TencentCloud
|
|
4323
4338
|
|
4324
4339
|
attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus, :Result, :OperatorUin, :OperateUin
|
4325
4340
|
extend Gem::Deprecate
|
4326
|
-
deprecate :ProjectIds, :none, 2025,
|
4327
|
-
deprecate :ProjectIds=, :none, 2025,
|
4328
|
-
deprecate :OperatorUin, :none, 2025,
|
4329
|
-
deprecate :OperatorUin=, :none, 2025,
|
4341
|
+
deprecate :ProjectIds, :none, 2025, 9
|
4342
|
+
deprecate :ProjectIds=, :none, 2025, 9
|
4343
|
+
deprecate :OperatorUin, :none, 2025, 9
|
4344
|
+
deprecate :OperatorUin=, :none, 2025, 9
|
4330
4345
|
|
4331
4346
|
def initialize(instanceid=nil, instancename=nil, limit=nil, offset=nil, projectids=nil, tasktypes=nil, begintime=nil, endtime=nil, taskstatus=nil, result=nil, operatoruin=nil, operateuin=nil)
|
4332
4347
|
@InstanceId = instanceid
|
@@ -4639,8 +4654,8 @@ module TencentCloud
|
|
4639
4654
|
|
4640
4655
|
attr_accessor :Status, :TaskId, :RequestId
|
4641
4656
|
extend Gem::Deprecate
|
4642
|
-
deprecate :Status, :none, 2025,
|
4643
|
-
deprecate :Status=, :none, 2025,
|
4657
|
+
deprecate :Status, :none, 2025, 9
|
4658
|
+
deprecate :Status=, :none, 2025, 9
|
4644
4659
|
|
4645
4660
|
def initialize(status=nil, taskid=nil, requestid=nil)
|
4646
4661
|
@Status = status
|
@@ -5443,7 +5458,7 @@ module TencentCloud
|
|
5443
5458
|
# @type InstanceName: String
|
5444
5459
|
# @param InstanceId: 实例 ID。
|
5445
5460
|
# @type InstanceId: String
|
5446
|
-
# @param Appid: 用户
|
5461
|
+
# @param Appid: 用户AppId。AppId是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 AppId。
|
5447
5462
|
# @type Appid: Integer
|
5448
5463
|
# @param ProjectId: 项目 ID。
|
5449
5464
|
# @type ProjectId: Integer
|
@@ -5575,13 +5590,15 @@ module TencentCloud
|
|
5575
5590
|
# @type UpgradeRedisVersion: String
|
5576
5591
|
# @param BackupMode: 备份模式:- SecondLevelBackup 秒级备份- NormalLevelBackup 普通备份
|
5577
5592
|
# @type BackupMode: String
|
5593
|
+
# @param DeleteProtectionSwitch: 删除保护开关,0关闭,1开启
|
5594
|
+
# @type DeleteProtectionSwitch: Integer
|
5578
5595
|
|
5579
|
-
attr_accessor :InstanceName, :InstanceId, :Appid, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :WanIp, :Port, :Createtime, :Size, :SizeUsed, :Type, :AutoRenewFlag, :DeadlineTime, :Engine, :ProductType, :UniqVpcId, :UniqSubnetId, :BillingMode, :InstanceTitle, :OfflineTime, :SubStatus, :Tags, :InstanceNode, :RedisShardSize, :RedisShardNum, :RedisReplicasNum, :PriceId, :CloseTime, :SlaveReadWeight, :InstanceTags, :ProjectName, :NoAuth, :ClientLimit, :DtsStatus, :NetLimit, :PasswordFree, :Vip6, :IPv6, :ReadOnly, :RemainBandwidthDuration, :DiskSize, :MonitorVersion, :ClientLimitMin, :ClientLimitMax, :NodeSet, :Region, :WanAddress, :PolarisServer, :RedisClusterId, :DedicatedClusterId, :ProductVersion, :CurrentProxyVersion, :CurrentRedisVersion, :UpgradeProxyVersion, :UpgradeRedisVersion, :BackupMode
|
5596
|
+
attr_accessor :InstanceName, :InstanceId, :Appid, :ProjectId, :RegionId, :ZoneId, :VpcId, :SubnetId, :Status, :WanIp, :Port, :Createtime, :Size, :SizeUsed, :Type, :AutoRenewFlag, :DeadlineTime, :Engine, :ProductType, :UniqVpcId, :UniqSubnetId, :BillingMode, :InstanceTitle, :OfflineTime, :SubStatus, :Tags, :InstanceNode, :RedisShardSize, :RedisShardNum, :RedisReplicasNum, :PriceId, :CloseTime, :SlaveReadWeight, :InstanceTags, :ProjectName, :NoAuth, :ClientLimit, :DtsStatus, :NetLimit, :PasswordFree, :Vip6, :IPv6, :ReadOnly, :RemainBandwidthDuration, :DiskSize, :MonitorVersion, :ClientLimitMin, :ClientLimitMax, :NodeSet, :Region, :WanAddress, :PolarisServer, :RedisClusterId, :DedicatedClusterId, :ProductVersion, :CurrentProxyVersion, :CurrentRedisVersion, :UpgradeProxyVersion, :UpgradeRedisVersion, :BackupMode, :DeleteProtectionSwitch
|
5580
5597
|
extend Gem::Deprecate
|
5581
|
-
deprecate :SizeUsed, :none, 2025,
|
5582
|
-
deprecate :SizeUsed=, :none, 2025,
|
5598
|
+
deprecate :SizeUsed, :none, 2025, 9
|
5599
|
+
deprecate :SizeUsed=, :none, 2025, 9
|
5583
5600
|
|
5584
|
-
def initialize(instancename=nil, instanceid=nil, appid=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, wanip=nil, port=nil, createtime=nil, size=nil, sizeused=nil, type=nil, autorenewflag=nil, deadlinetime=nil, engine=nil, producttype=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, instancetitle=nil, offlinetime=nil, substatus=nil, tags=nil, instancenode=nil, redisshardsize=nil, redisshardnum=nil, redisreplicasnum=nil, priceid=nil, closetime=nil, slavereadweight=nil, instancetags=nil, projectname=nil, noauth=nil, clientlimit=nil, dtsstatus=nil, netlimit=nil, passwordfree=nil, vip6=nil, ipv6=nil, readonly=nil, remainbandwidthduration=nil, disksize=nil, monitorversion=nil, clientlimitmin=nil, clientlimitmax=nil, nodeset=nil, region=nil, wanaddress=nil, polarisserver=nil, redisclusterid=nil, dedicatedclusterid=nil, productversion=nil, currentproxyversion=nil, currentredisversion=nil, upgradeproxyversion=nil, upgraderedisversion=nil, backupmode=nil)
|
5601
|
+
def initialize(instancename=nil, instanceid=nil, appid=nil, projectid=nil, regionid=nil, zoneid=nil, vpcid=nil, subnetid=nil, status=nil, wanip=nil, port=nil, createtime=nil, size=nil, sizeused=nil, type=nil, autorenewflag=nil, deadlinetime=nil, engine=nil, producttype=nil, uniqvpcid=nil, uniqsubnetid=nil, billingmode=nil, instancetitle=nil, offlinetime=nil, substatus=nil, tags=nil, instancenode=nil, redisshardsize=nil, redisshardnum=nil, redisreplicasnum=nil, priceid=nil, closetime=nil, slavereadweight=nil, instancetags=nil, projectname=nil, noauth=nil, clientlimit=nil, dtsstatus=nil, netlimit=nil, passwordfree=nil, vip6=nil, ipv6=nil, readonly=nil, remainbandwidthduration=nil, disksize=nil, monitorversion=nil, clientlimitmin=nil, clientlimitmax=nil, nodeset=nil, region=nil, wanaddress=nil, polarisserver=nil, redisclusterid=nil, dedicatedclusterid=nil, productversion=nil, currentproxyversion=nil, currentredisversion=nil, upgradeproxyversion=nil, upgraderedisversion=nil, backupmode=nil, deleteprotectionswitch=nil)
|
5585
5602
|
@InstanceName = instancename
|
5586
5603
|
@InstanceId = instanceid
|
5587
5604
|
@Appid = appid
|
@@ -5642,6 +5659,7 @@ module TencentCloud
|
|
5642
5659
|
@UpgradeProxyVersion = upgradeproxyversion
|
5643
5660
|
@UpgradeRedisVersion = upgraderedisversion
|
5644
5661
|
@BackupMode = backupmode
|
5662
|
+
@DeleteProtectionSwitch = deleteprotectionswitch
|
5645
5663
|
end
|
5646
5664
|
|
5647
5665
|
def deserialize(params)
|
@@ -5726,6 +5744,7 @@ module TencentCloud
|
|
5726
5744
|
@UpgradeProxyVersion = params['UpgradeProxyVersion']
|
5727
5745
|
@UpgradeRedisVersion = params['UpgradeRedisVersion']
|
5728
5746
|
@BackupMode = params['BackupMode']
|
5747
|
+
@DeleteProtectionSwitch = params['DeleteProtectionSwitch']
|
5729
5748
|
end
|
5730
5749
|
end
|
5731
5750
|
|
@@ -6072,19 +6091,23 @@ module TencentCloud
|
|
6072
6091
|
# - 不能以"/"开头。
|
6073
6092
|
# - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
6074
6093
|
# @type Password: String
|
6094
|
+
# @param EncryptPassword: 是否加密密码
|
6095
|
+
# @type EncryptPassword: Boolean
|
6075
6096
|
|
6076
|
-
attr_accessor :InstanceId, :OldPassword, :Password
|
6097
|
+
attr_accessor :InstanceId, :OldPassword, :Password, :EncryptPassword
|
6077
6098
|
|
6078
|
-
def initialize(instanceid=nil, oldpassword=nil, password=nil)
|
6099
|
+
def initialize(instanceid=nil, oldpassword=nil, password=nil, encryptpassword=nil)
|
6079
6100
|
@InstanceId = instanceid
|
6080
6101
|
@OldPassword = oldpassword
|
6081
6102
|
@Password = password
|
6103
|
+
@EncryptPassword = encryptpassword
|
6082
6104
|
end
|
6083
6105
|
|
6084
6106
|
def deserialize(params)
|
6085
6107
|
@InstanceId = params['InstanceId']
|
6086
6108
|
@OldPassword = params['OldPassword']
|
6087
6109
|
@Password = params['Password']
|
6110
|
+
@EncryptPassword = params['EncryptPassword']
|
6088
6111
|
end
|
6089
6112
|
end
|
6090
6113
|
|
@@ -6239,10 +6262,12 @@ module TencentCloud
|
|
6239
6262
|
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
6240
6263
|
# @type InstanceId: String
|
6241
6264
|
# @param Bandwidth: 附加带宽,大于0,单位MB。
|
6265
|
+
# **说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
6242
6266
|
# @type Bandwidth: Integer
|
6243
6267
|
# @param ClientLimit: 单分片的总连接数。
|
6244
6268
|
# - 未开启副本只读时,下限为10000,上限为40000。
|
6245
6269
|
# - 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)。
|
6270
|
+
# **说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
|
6246
6271
|
# @type ClientLimit: Integer
|
6247
6272
|
|
6248
6273
|
attr_accessor :InstanceId, :Bandwidth, :ClientLimit
|
@@ -6327,29 +6352,33 @@ module TencentCloud
|
|
6327
6352
|
class ModifyInstanceAccountRequest < TencentCloud::Common::AbstractModel
|
6328
6353
|
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
6329
6354
|
# @type InstanceId: String
|
6330
|
-
# @param AccountName:
|
6355
|
+
# @param AccountName: 指定需修改的账号。
|
6356
|
+
# - root:指在创建 Redis 数据库实例时自动生成的账号。用户无法修改其读写权限,仅可修改其请求路由策略。
|
6357
|
+
# - 自定义的账号:用户在实例创建成功后手动创建的账号。用户可以随时修改其读写权限与请求路由策略。
|
6331
6358
|
# @type AccountName: String
|
6332
|
-
# @param AccountPassword:
|
6359
|
+
# @param AccountPassword: 指定所修改账号访问的密码。
|
6333
6360
|
# @type AccountPassword: String
|
6334
|
-
# @param Remark:
|
6361
|
+
# @param Remark: 账号描述信息
|
6335
6362
|
# @type Remark: String
|
6336
|
-
# @param ReadonlyPolicy:
|
6337
|
-
# - master
|
6338
|
-
# - replication
|
6363
|
+
# @param ReadonlyPolicy: 指定所修改账号读写请求路由的策略。
|
6364
|
+
# - master:表示读写请求路由至主节点。
|
6365
|
+
# - replication:表示读写请求路由至从节点。
|
6339
6366
|
# @type ReadonlyPolicy: Array
|
6340
|
-
# @param Privilege:
|
6367
|
+
# @param Privilege: 指定所修改账号的读写权限。
|
6341
6368
|
# - r:只读。
|
6342
6369
|
# - w:只写。
|
6343
6370
|
# - rw:读写。
|
6344
6371
|
# @type Privilege: String
|
6345
|
-
# @param NoAuth:
|
6346
|
-
# - true
|
6347
|
-
# - false
|
6372
|
+
# @param NoAuth: 指定是否将默认账号(root)设置为免密账号。自定义账号不支持免密访问。
|
6373
|
+
# - true:默认账号(root)设置为免密账号。
|
6374
|
+
# - false:默认账号(root)不设置为免密账号。
|
6348
6375
|
# @type NoAuth: Boolean
|
6376
|
+
# @param EncryptPassword: 指定所修改的账号是否加密密码
|
6377
|
+
# @type EncryptPassword: Boolean
|
6349
6378
|
|
6350
|
-
attr_accessor :InstanceId, :AccountName, :AccountPassword, :Remark, :ReadonlyPolicy, :Privilege, :NoAuth
|
6379
|
+
attr_accessor :InstanceId, :AccountName, :AccountPassword, :Remark, :ReadonlyPolicy, :Privilege, :NoAuth, :EncryptPassword
|
6351
6380
|
|
6352
|
-
def initialize(instanceid=nil, accountname=nil, accountpassword=nil, remark=nil, readonlypolicy=nil, privilege=nil, noauth=nil)
|
6381
|
+
def initialize(instanceid=nil, accountname=nil, accountpassword=nil, remark=nil, readonlypolicy=nil, privilege=nil, noauth=nil, encryptpassword=nil)
|
6353
6382
|
@InstanceId = instanceid
|
6354
6383
|
@AccountName = accountname
|
6355
6384
|
@AccountPassword = accountpassword
|
@@ -6357,6 +6386,7 @@ module TencentCloud
|
|
6357
6386
|
@ReadonlyPolicy = readonlypolicy
|
6358
6387
|
@Privilege = privilege
|
6359
6388
|
@NoAuth = noauth
|
6389
|
+
@EncryptPassword = encryptpassword
|
6360
6390
|
end
|
6361
6391
|
|
6362
6392
|
def deserialize(params)
|
@@ -6367,12 +6397,13 @@ module TencentCloud
|
|
6367
6397
|
@ReadonlyPolicy = params['ReadonlyPolicy']
|
6368
6398
|
@Privilege = params['Privilege']
|
6369
6399
|
@NoAuth = params['NoAuth']
|
6400
|
+
@EncryptPassword = params['EncryptPassword']
|
6370
6401
|
end
|
6371
6402
|
end
|
6372
6403
|
|
6373
6404
|
# ModifyInstanceAccount返回参数结构体
|
6374
6405
|
class ModifyInstanceAccountResponse < TencentCloud::Common::AbstractModel
|
6375
|
-
# @param TaskId: 任务ID
|
6406
|
+
# @param TaskId: 任务ID。
|
6376
6407
|
# @type TaskId: Integer
|
6377
6408
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6378
6409
|
# @type RequestId: String
|
@@ -6760,6 +6791,7 @@ module TencentCloud
|
|
6760
6791
|
# - rename:表示实例重命名。
|
6761
6792
|
# - modifyProject:修改实例所属项目。
|
6762
6793
|
# - modifyAutoRenew:修改实例续费标记。
|
6794
|
+
# - modifyDeleteProtectionSwitch:修改实例删除保护。
|
6763
6795
|
# @type Operation: String
|
6764
6796
|
# @param InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
|
6765
6797
|
# @type InstanceIds: Array
|
@@ -6772,6 +6804,8 @@ module TencentCloud
|
|
6772
6804
|
# - 1:自动续费。
|
6773
6805
|
# - 2:明确不自动续费。
|
6774
6806
|
# @type AutoRenews: Array
|
6807
|
+
# @param DeleteProtectionSwitches: 删除保护开关。- 0:默认状态,指关闭。- 1:开关打开。
|
6808
|
+
# @type DeleteProtectionSwitches: Array
|
6775
6809
|
# @param InstanceId: 目前在废弃中,存量用户还可以使用,建议新用户使用 InstanceIds。
|
6776
6810
|
# @type InstanceId: String
|
6777
6811
|
# @param InstanceName: 已经废弃
|
@@ -6779,21 +6813,22 @@ module TencentCloud
|
|
6779
6813
|
# @param AutoRenew: 已经废弃。
|
6780
6814
|
# @type AutoRenew: Integer
|
6781
6815
|
|
6782
|
-
attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :InstanceId, :InstanceName, :AutoRenew
|
6816
|
+
attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :DeleteProtectionSwitches, :InstanceId, :InstanceName, :AutoRenew
|
6783
6817
|
extend Gem::Deprecate
|
6784
|
-
deprecate :InstanceId, :none, 2025,
|
6785
|
-
deprecate :InstanceId=, :none, 2025,
|
6786
|
-
deprecate :InstanceName, :none, 2025,
|
6787
|
-
deprecate :InstanceName=, :none, 2025,
|
6788
|
-
deprecate :AutoRenew, :none, 2025,
|
6789
|
-
deprecate :AutoRenew=, :none, 2025,
|
6790
|
-
|
6791
|
-
def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, instanceid=nil, instancename=nil, autorenew=nil)
|
6818
|
+
deprecate :InstanceId, :none, 2025, 9
|
6819
|
+
deprecate :InstanceId=, :none, 2025, 9
|
6820
|
+
deprecate :InstanceName, :none, 2025, 9
|
6821
|
+
deprecate :InstanceName=, :none, 2025, 9
|
6822
|
+
deprecate :AutoRenew, :none, 2025, 9
|
6823
|
+
deprecate :AutoRenew=, :none, 2025, 9
|
6824
|
+
|
6825
|
+
def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, deleteprotectionswitches=nil, instanceid=nil, instancename=nil, autorenew=nil)
|
6792
6826
|
@Operation = operation
|
6793
6827
|
@InstanceIds = instanceids
|
6794
6828
|
@InstanceNames = instancenames
|
6795
6829
|
@ProjectId = projectid
|
6796
6830
|
@AutoRenews = autorenews
|
6831
|
+
@DeleteProtectionSwitches = deleteprotectionswitches
|
6797
6832
|
@InstanceId = instanceid
|
6798
6833
|
@InstanceName = instancename
|
6799
6834
|
@AutoRenew = autorenew
|
@@ -6805,6 +6840,7 @@ module TencentCloud
|
|
6805
6840
|
@InstanceNames = params['InstanceNames']
|
6806
6841
|
@ProjectId = params['ProjectId']
|
6807
6842
|
@AutoRenews = params['AutoRenews']
|
6843
|
+
@DeleteProtectionSwitches = params['DeleteProtectionSwitches']
|
6808
6844
|
@InstanceId = params['InstanceId']
|
6809
6845
|
@InstanceName = params['InstanceName']
|
6810
6846
|
@AutoRenew = params['AutoRenew']
|
@@ -7268,8 +7304,8 @@ module TencentCloud
|
|
7268
7304
|
|
7269
7305
|
attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :TotalSize, :ShardSize, :ReplicaNum, :ShardNum, :PayMode, :EnableRepicaReadOnly, :EnableReplicaReadOnly
|
7270
7306
|
extend Gem::Deprecate
|
7271
|
-
deprecate :EnableRepicaReadOnly, :none, 2025,
|
7272
|
-
deprecate :EnableRepicaReadOnly=, :none, 2025,
|
7307
|
+
deprecate :EnableRepicaReadOnly, :none, 2025, 9
|
7308
|
+
deprecate :EnableRepicaReadOnly=, :none, 2025, 9
|
7273
7309
|
|
7274
7310
|
def initialize(type=nil, typename=nil, minbuynum=nil, maxbuynum=nil, saleout=nil, engine=nil, version=nil, totalsize=nil, shardsize=nil, replicanum=nil, shardnum=nil, paymode=nil, enablerepicareadonly=nil, enablereplicareadonly=nil)
|
7275
7311
|
@Type = type
|
@@ -7894,19 +7930,23 @@ module TencentCloud
|
|
7894
7930
|
# - false:切换为非免密码实例。
|
7895
7931
|
# - true:切换为免密码实例。默认 false。
|
7896
7932
|
# @type NoAuth: Boolean
|
7933
|
+
# @param EncryptPassword: 是否加密密码
|
7934
|
+
# @type EncryptPassword: Boolean
|
7897
7935
|
|
7898
|
-
attr_accessor :InstanceId, :Password, :NoAuth
|
7936
|
+
attr_accessor :InstanceId, :Password, :NoAuth, :EncryptPassword
|
7899
7937
|
|
7900
|
-
def initialize(instanceid=nil, password=nil, noauth=nil)
|
7938
|
+
def initialize(instanceid=nil, password=nil, noauth=nil, encryptpassword=nil)
|
7901
7939
|
@InstanceId = instanceid
|
7902
7940
|
@Password = password
|
7903
7941
|
@NoAuth = noauth
|
7942
|
+
@EncryptPassword = encryptpassword
|
7904
7943
|
end
|
7905
7944
|
|
7906
7945
|
def deserialize(params)
|
7907
7946
|
@InstanceId = params['InstanceId']
|
7908
7947
|
@Password = params['Password']
|
7909
7948
|
@NoAuth = params['NoAuth']
|
7949
|
+
@EncryptPassword = params['EncryptPassword']
|
7910
7950
|
end
|
7911
7951
|
end
|
7912
7952
|
|
@@ -7976,9 +8016,9 @@ module TencentCloud
|
|
7976
8016
|
|
7977
8017
|
# RestoreInstance请求参数结构体
|
7978
8018
|
class RestoreInstanceRequest < TencentCloud::Common::AbstractModel
|
7979
|
-
# @param InstanceId: 待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。
|
8019
|
+
# @param InstanceId: 待操作的实例ID,可通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口返回值中的 InstanceId 获取。
|
7980
8020
|
# @type InstanceId: String
|
7981
|
-
# @param BackupId: 备份ID,可通过
|
8021
|
+
# @param BackupId: 备份ID,可通过 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 接口返回的参数 RedisBackupSet 获取。
|
7982
8022
|
# @type BackupId: String
|
7983
8023
|
# @param Password: 实例密码,恢复实例时,需要校验实例密码(免密实例不需要传密码)
|
7984
8024
|
# @type Password: String
|
@@ -8245,8 +8285,8 @@ module TencentCloud
|
|
8245
8285
|
|
8246
8286
|
attr_accessor :TaskId, :RequestId
|
8247
8287
|
extend Gem::Deprecate
|
8248
|
-
deprecate :TaskId, :none, 2025,
|
8249
|
-
deprecate :TaskId=, :none, 2025,
|
8288
|
+
deprecate :TaskId, :none, 2025, 9
|
8289
|
+
deprecate :TaskId=, :none, 2025, 9
|
8250
8290
|
|
8251
8291
|
def initialize(taskid=nil, requestid=nil)
|
8252
8292
|
@TaskId = taskid
|
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.1138
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|