tencentcloud-sdk-redis 3.0.1131 → 3.0.1142

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ff8b382217362e38c2a3aaa498e45bd335b40ab
4
- data.tar.gz: d356df3f43ab6af39fdedd8281747ebe2b05b801
3
+ metadata.gz: 478b4dc4d4636aaccf33e091e9752621945e37ac
4
+ data.tar.gz: 594f12c1856dc81e64b670de9dc1e6062e203771
5
5
  SHA512:
6
- metadata.gz: 7b3a5586b12d0a8bdc1517d288307149bc0813e4e63948ac37f2cb30f3b09737609c8baf49986de27ba6116738d8ea25dafb0f2b9bbd716a62d75a6b87480cd8
7
- data.tar.gz: ced7065793fea27f786dc935550fc72338cbfc385f378dc546d38ccd417f0b0bfc643d6689fd0f85a2aa3851241fd050195d329437dd2b278563baa6fc93131b
6
+ metadata.gz: 6b9a1816e1e72cd1510d382ef40629297967965e2f65d7e735588fa07104eee667bb524cead70a4e80eee41cbd2cc2e99e07dff0a4000f745b1bede204dd13d4
7
+ data.tar.gz: 34aa7000070cd408b8fe3d5da60e4e0868dbaf8e4ecc2e7630777c976b9d33e4d998c8cb5ddd6263969343eab13ff227e2174ebef937957fccbc9beea5b7fafb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1131
1
+ 3.0.1142
@@ -1493,7 +1493,7 @@ module TencentCloud
1493
1493
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1494
1494
  end
1495
1495
 
1496
- # 查询实例秒级备份信息
1496
+ # 本接口(DescribeSecondLevelBackupInfo)用于查询实例秒级备份信息。
1497
1497
 
1498
1498
  # @param request: Request instance for DescribeSecondLevelBackupInfo.
1499
1499
  # @type request: :class:`Tencentcloud::redis::V20180412::DescribeSecondLevelBackupInfoRequest`
@@ -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`
@@ -153,7 +153,9 @@ module TencentCloud
153
153
  class ApplyParamsTemplateRequest < TencentCloud::Common::AbstractModel
154
154
  # @param InstanceIds: 实例 ID 列表,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
155
155
  # @type InstanceIds: Array
156
- # @param TemplateId: 应用的参数模板ID,请通过接口[DescribeParamTemplateInfo](https://cloud.tencent.com/document/product/239/58748)的返回参数 **TemplateId** 获取参数模板 ID
156
+ # @param TemplateId: 应用的参数模板ID。
157
+ # - 请通过接口 [DescribeParamTemplateInfo](https://cloud.tencent.com/document/product/239/58748) 的返回参数 **TemplateId** 获取参数模板 ID。
158
+ # - 仅当参数模板版本与目标实例的架构版本一致时,操作才能成功执行。版本不匹配将触发执行错误。
157
159
  # @type TemplateId: String
158
160
 
159
161
  attr_accessor :InstanceIds, :TemplateId
@@ -616,17 +618,21 @@ module TencentCloud
616
618
  # - 免密访问:无需配置。
617
619
  # - 密码认证:必须配置。字符个数为[8,64],至少包含小写字母、大写字母、数字和字符 ()`~!@#$%^&*-+=_|{}[]:;<>,.?/ 中的2种,不能以"/"开头。
618
620
  # @type Password: String
621
+ # @param EncryptPassword: 是否加密密码
622
+ # @type EncryptPassword: Boolean
619
623
 
620
- attr_accessor :InstanceId, :Password
624
+ attr_accessor :InstanceId, :Password, :EncryptPassword
621
625
 
622
- def initialize(instanceid=nil, password=nil)
626
+ def initialize(instanceid=nil, password=nil, encryptpassword=nil)
623
627
  @InstanceId = instanceid
624
628
  @Password = password
629
+ @EncryptPassword = encryptpassword
625
630
  end
626
631
 
627
632
  def deserialize(params)
628
633
  @InstanceId = params['InstanceId']
629
634
  @Password = params['Password']
635
+ @EncryptPassword = params['EncryptPassword']
630
636
  end
631
637
  end
632
638
 
@@ -697,10 +703,12 @@ module TencentCloud
697
703
  # @param CloneTime: 克隆指定恢复数据的时间。
698
704
  # 仅支持已开通秒级备份的实例
699
705
  # @type CloneTime: String
706
+ # @param EncryptPassword: 是否加密密码
707
+ # @type EncryptPassword: Boolean
700
708
 
701
- attr_accessor :InstanceId, :GoodsNum, :ZoneId, :BillingMode, :Period, :SecurityGroupIdList, :BackupId, :NoAuth, :VpcId, :SubnetId, :InstanceName, :Password, :AutoRenew, :VPort, :NodeSet, :ProjectId, :ResourceTags, :TemplateId, :AlarmPolicyList, :CloneTime
709
+ attr_accessor :InstanceId, :GoodsNum, :ZoneId, :BillingMode, :Period, :SecurityGroupIdList, :BackupId, :NoAuth, :VpcId, :SubnetId, :InstanceName, :Password, :AutoRenew, :VPort, :NodeSet, :ProjectId, :ResourceTags, :TemplateId, :AlarmPolicyList, :CloneTime, :EncryptPassword
702
710
 
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)
711
+ 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
712
  @InstanceId = instanceid
705
713
  @GoodsNum = goodsnum
706
714
  @ZoneId = zoneid
@@ -721,6 +729,7 @@ module TencentCloud
721
729
  @TemplateId = templateid
722
730
  @AlarmPolicyList = alarmpolicylist
723
731
  @CloneTime = clonetime
732
+ @EncryptPassword = encryptpassword
724
733
  end
725
734
 
726
735
  def deserialize(params)
@@ -758,6 +767,7 @@ module TencentCloud
758
767
  @TemplateId = params['TemplateId']
759
768
  @AlarmPolicyList = params['AlarmPolicyList']
760
769
  @CloneTime = params['CloneTime']
770
+ @EncryptPassword = params['EncryptPassword']
761
771
  end
762
772
  end
763
773
 
@@ -859,21 +869,24 @@ module TencentCloud
859
869
  # - replication:副本节点
860
870
  # @type ReadonlyPolicy: Array
861
871
  # @param Privilege: 账户读写权限,支持选择只读与读写权限。
862
- # - r:只读
863
- # - rw: 读写权限
872
+ # - r:只读。
873
+ # - rw: 读写。
864
874
  # @type Privilege: String
865
- # @param Remark: 子账号描述信息,长度[0,64] 字节,支持中文。
875
+ # @param Remark: 账号备注描述信息,长度为[0,64] 字节,支持中文。
866
876
  # @type Remark: String
877
+ # @param EncryptPassword: 是否加密密码
878
+ # @type EncryptPassword: Boolean
867
879
 
868
- attr_accessor :InstanceId, :AccountName, :AccountPassword, :ReadonlyPolicy, :Privilege, :Remark
880
+ attr_accessor :InstanceId, :AccountName, :AccountPassword, :ReadonlyPolicy, :Privilege, :Remark, :EncryptPassword
869
881
 
870
- def initialize(instanceid=nil, accountname=nil, accountpassword=nil, readonlypolicy=nil, privilege=nil, remark=nil)
882
+ def initialize(instanceid=nil, accountname=nil, accountpassword=nil, readonlypolicy=nil, privilege=nil, remark=nil, encryptpassword=nil)
871
883
  @InstanceId = instanceid
872
884
  @AccountName = accountname
873
885
  @AccountPassword = accountpassword
874
886
  @ReadonlyPolicy = readonlypolicy
875
887
  @Privilege = privilege
876
888
  @Remark = remark
889
+ @EncryptPassword = encryptpassword
877
890
  end
878
891
 
879
892
  def deserialize(params)
@@ -883,12 +896,13 @@ module TencentCloud
883
896
  @ReadonlyPolicy = params['ReadonlyPolicy']
884
897
  @Privilege = params['Privilege']
885
898
  @Remark = params['Remark']
899
+ @EncryptPassword = params['EncryptPassword']
886
900
  end
887
901
  end
888
902
 
889
903
  # CreateInstanceAccount返回参数结构体
890
904
  class CreateInstanceAccountResponse < TencentCloud::Common::AbstractModel
891
- # @param TaskId: 任务ID
905
+ # @param TaskId: 任务ID
892
906
  # @type TaskId: Integer
893
907
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
894
908
  # @type RequestId: String
@@ -995,10 +1009,12 @@ module TencentCloud
995
1009
  # - 请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)获取告警策略 ID。
996
1010
  # - 若不配置该参数,则绑定默认告警策略。默认告警策略具体信息,请登录[腾讯云可观测平台-告警管理-策略管理](https://console.cloud.tencent.com/monitor/alarm/policy)查看。
997
1011
  # @type AlarmPolicyList: Array
1012
+ # @param EncryptPassword: 是否加密密码
1013
+ # @type EncryptPassword: Boolean
998
1014
 
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
1015
+ 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
1016
 
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)
1017
+ 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
1018
  @TypeId = typeid
1003
1019
  @MemSize = memsize
1004
1020
  @GoodsNum = goodsnum
@@ -1025,6 +1041,7 @@ module TencentCloud
1025
1041
  @ProductVersion = productversion
1026
1042
  @RedisClusterId = redisclusterid
1027
1043
  @AlarmPolicyList = alarmpolicylist
1044
+ @EncryptPassword = encryptpassword
1028
1045
  end
1029
1046
 
1030
1047
  def deserialize(params)
@@ -1068,6 +1085,7 @@ module TencentCloud
1068
1085
  @ProductVersion = params['ProductVersion']
1069
1086
  @RedisClusterId = params['RedisClusterId']
1070
1087
  @AlarmPolicyList = params['AlarmPolicyList']
1088
+ @EncryptPassword = params['EncryptPassword']
1071
1089
  end
1072
1090
  end
1073
1091
 
@@ -1097,12 +1115,11 @@ module TencentCloud
1097
1115
 
1098
1116
  # CreateParamTemplate请求参数结构体
1099
1117
  class CreateParamTemplateRequest < TencentCloud::Common::AbstractModel
1100
- # @param Name: 参数模板名称。
1118
+ # @param Name: 参数模板名称。字符长度要求为[2,64]。
1101
1119
  # @type Name: String
1102
1120
  # @param Description: 参数模板描述。
1103
1121
  # @type Description: String
1104
1122
  # @param ProductType: 产品类型。
1105
- # - 2:Redis 2.8 内存版(标准架构)。
1106
1123
  # - 6:Redis 4.0 内存版(标准架构)。
1107
1124
  # - 7:Redis 4.0 内存版(集群架构)。
1108
1125
  # - 8:Redis 5.0 内存版(标准架构)。
@@ -1632,12 +1649,12 @@ module TencentCloud
1632
1649
 
1633
1650
  attr_accessor :DownloadUrl, :InnerDownloadUrl, :Filenames, :BackupInfos, :RequestId
1634
1651
  extend Gem::Deprecate
1635
- deprecate :DownloadUrl, :none, 2025, 8
1636
- deprecate :DownloadUrl=, :none, 2025, 8
1637
- deprecate :InnerDownloadUrl, :none, 2025, 8
1638
- deprecate :InnerDownloadUrl=, :none, 2025, 8
1639
- deprecate :Filenames, :none, 2025, 8
1640
- deprecate :Filenames=, :none, 2025, 8
1652
+ deprecate :DownloadUrl, :none, 2025, 9
1653
+ deprecate :DownloadUrl=, :none, 2025, 9
1654
+ deprecate :InnerDownloadUrl, :none, 2025, 9
1655
+ deprecate :InnerDownloadUrl=, :none, 2025, 9
1656
+ deprecate :Filenames, :none, 2025, 9
1657
+ deprecate :Filenames=, :none, 2025, 9
1641
1658
 
1642
1659
  def initialize(downloadurl=nil, innerdownloadurl=nil, filenames=nil, backupinfos=nil, requestid=nil)
1643
1660
  @DownloadUrl = downloadurl
@@ -2196,9 +2213,13 @@ module TencentCloud
2196
2213
  # @type ExecutionEndDate: String
2197
2214
  # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
2198
2215
  # @type InstanceId: String
2199
- # @param PageSize: 输出每页显示事件的数量,默认:10,最大100。
2216
+ # @param PageSize: 输出每页显示事件的数量。
2217
+ # - 默认值:10。
2218
+ # - 取值范围:[1,100]。
2200
2219
  # @type PageSize: Integer
2201
- # @param PageNo: 配置查询事件的输出页码,即支持根据PageNo(页码)与 PageSize (每页输出数量)查询某一页的事件。默认:1。
2220
+ # @param PageNo: 配置查询事件的输出页码,即支持根据PageNo(页码)与 PageSize (每页输出数量)查询某一页的事件。
2221
+ # - 默认值:1。
2222
+ # - 取值范围:大于0 的正整数。
2202
2223
  # @type PageNo: Integer
2203
2224
  # @param Status: 事件当前状态。
2204
2225
  # - Waiting:未到达执行日期或不在维护时间窗内的事件。
@@ -2273,7 +2294,7 @@ module TencentCloud
2273
2294
 
2274
2295
  # DescribeInstanceLogDelivery请求参数结构体
2275
2296
  class DescribeInstanceLogDeliveryRequest < TencentCloud::Common::AbstractModel
2276
- # @param InstanceId: 实例ID。
2297
+ # @param InstanceId: 实例ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance)在实例列表复制实例 ID
2277
2298
  # @type InstanceId: String
2278
2299
 
2279
2300
  attr_accessor :InstanceId
@@ -2793,11 +2814,11 @@ module TencentCloud
2793
2814
 
2794
2815
  # DescribeInstanceParamRecords请求参数结构体
2795
2816
  class DescribeInstanceParamRecordsRequest < TencentCloud::Common::AbstractModel
2796
- # @param InstanceId: 实例Id
2817
+ # @param InstanceId: 实例 ID 。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
2797
2818
  # @type InstanceId: String
2798
- # @param Limit: 分页大小
2819
+ # @param Limit: 分页大小。默认为100,最大值为 200。
2799
2820
  # @type Limit: Integer
2800
- # @param Offset: 偏移量,取Limit整数倍
2821
+ # @param Offset: 偏移量,取Limit整数倍,默认值为0。计算公式:offset=limit*(页码-1)。
2801
2822
  # @type Offset: Integer
2802
2823
 
2803
2824
  attr_accessor :InstanceId, :Limit, :Offset
@@ -2928,7 +2949,7 @@ module TencentCloud
2928
2949
 
2929
2950
  # DescribeInstanceSecurityGroup请求参数结构体
2930
2951
  class DescribeInstanceSecurityGroupRequest < TencentCloud::Common::AbstractModel
2931
- # @param InstanceIds: 实例 ID 列表,数组长度限制[0,100]。例如:["crs-f2ho5rsz\n"]
2952
+ # @param InstanceIds: 实例 ID 列表,数组长度限制[0,100]。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
2932
2953
  # @type InstanceIds: Array
2933
2954
 
2934
2955
  attr_accessor :InstanceIds
@@ -3983,7 +4004,7 @@ module TencentCloud
3983
4004
 
3984
4005
  # DescribeSSLStatus请求参数结构体
3985
4006
  class DescribeSSLStatusRequest < TencentCloud::Common::AbstractModel
3986
- # @param InstanceId: 实例 ID。
4007
+ # @param InstanceId: 实例 ID。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID
3987
4008
  # @type InstanceId: String
3988
4009
 
3989
4010
  attr_accessor :InstanceId
@@ -4041,9 +4062,11 @@ module TencentCloud
4041
4062
 
4042
4063
  # DescribeSecondLevelBackupInfo请求参数结构体
4043
4064
  class DescribeSecondLevelBackupInfoRequest < TencentCloud::Common::AbstractModel
4044
- # @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录Redis控制台在实例列表复制实例 ID。
4065
+ # @param InstanceId: 指定实例 ID。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
4045
4066
  # @type InstanceId: String
4046
- # @param BackupTimestamp: 秒级备份时间戳,7天内
4067
+ # @param BackupTimestamp: 秒级备份时间戳。
4068
+ # - 设置范围:支持7天内任意秒级时间点。
4069
+ # - 时间戳格式:Unix 时间戳。
4047
4070
  # @type BackupTimestamp: Integer
4048
4071
 
4049
4072
  attr_accessor :InstanceId, :BackupTimestamp
@@ -4061,14 +4084,14 @@ module TencentCloud
4061
4084
 
4062
4085
  # DescribeSecondLevelBackupInfo返回参数结构体
4063
4086
  class DescribeSecondLevelBackupInfoResponse < TencentCloud::Common::AbstractModel
4064
- # @param BackupId: 备份记录ID
4087
+ # @param BackupId: 备份记录ID
4065
4088
  # @type BackupId: String
4066
- # @param BackupTimestamp: 备份时间戳
4089
+ # @param BackupTimestamp: 备份时间戳。
4067
4090
  # @type BackupTimestamp: Integer
4068
- # @param MissingTimestamps: 备份不存在的时间戳范围
4091
+ # @param MissingTimestamps: 备份不存在的时间戳范围。
4069
4092
  # 注意:此字段可能返回 null,表示取不到有效值。
4070
4093
  # @type MissingTimestamps: Array
4071
- # @param StartTimestamp: 实例开启秒级备份的时间戳
4094
+ # @param StartTimestamp: 实例开启秒级备份的时间戳。
4072
4095
  # @type StartTimestamp: Integer
4073
4096
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4074
4097
  # @type RequestId: String
@@ -4154,8 +4177,8 @@ module TencentCloud
4154
4177
 
4155
4178
  attr_accessor :TotalCount, :InstanceSlowlogDetail, :InstanceSlowLogDetail, :RequestId
4156
4179
  extend Gem::Deprecate
4157
- deprecate :InstanceSlowlogDetail, :none, 2025, 8
4158
- deprecate :InstanceSlowlogDetail=, :none, 2025, 8
4180
+ deprecate :InstanceSlowlogDetail, :none, 2025, 9
4181
+ deprecate :InstanceSlowlogDetail=, :none, 2025, 9
4159
4182
 
4160
4183
  def initialize(totalcount=nil, instanceslowlogdetail=nil, requestid=nil)
4161
4184
  @TotalCount = totalcount
@@ -4323,10 +4346,10 @@ module TencentCloud
4323
4346
 
4324
4347
  attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus, :Result, :OperatorUin, :OperateUin
4325
4348
  extend Gem::Deprecate
4326
- deprecate :ProjectIds, :none, 2025, 8
4327
- deprecate :ProjectIds=, :none, 2025, 8
4328
- deprecate :OperatorUin, :none, 2025, 8
4329
- deprecate :OperatorUin=, :none, 2025, 8
4349
+ deprecate :ProjectIds, :none, 2025, 9
4350
+ deprecate :ProjectIds=, :none, 2025, 9
4351
+ deprecate :OperatorUin, :none, 2025, 9
4352
+ deprecate :OperatorUin=, :none, 2025, 9
4330
4353
 
4331
4354
  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
4355
  @InstanceId = instanceid
@@ -4639,8 +4662,8 @@ module TencentCloud
4639
4662
 
4640
4663
  attr_accessor :Status, :TaskId, :RequestId
4641
4664
  extend Gem::Deprecate
4642
- deprecate :Status, :none, 2025, 8
4643
- deprecate :Status=, :none, 2025, 8
4665
+ deprecate :Status, :none, 2025, 9
4666
+ deprecate :Status=, :none, 2025, 9
4644
4667
 
4645
4668
  def initialize(status=nil, taskid=nil, requestid=nil)
4646
4669
  @Status = status
@@ -5443,7 +5466,7 @@ module TencentCloud
5443
5466
  # @type InstanceName: String
5444
5467
  # @param InstanceId: 实例 ID。
5445
5468
  # @type InstanceId: String
5446
- # @param Appid: 用户APPIDAPPID是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 APPID
5469
+ # @param Appid: 用户AppIdAppId是与账号ID有唯一对应关系的应用 ID,部分腾讯云产品会使用此 AppId
5447
5470
  # @type Appid: Integer
5448
5471
  # @param ProjectId: 项目 ID。
5449
5472
  # @type ProjectId: Integer
@@ -5575,13 +5598,15 @@ module TencentCloud
5575
5598
  # @type UpgradeRedisVersion: String
5576
5599
  # @param BackupMode: 备份模式:- SecondLevelBackup 秒级备份- NormalLevelBackup 普通备份
5577
5600
  # @type BackupMode: String
5601
+ # @param DeleteProtectionSwitch: 删除保护开关,0关闭,1开启
5602
+ # @type DeleteProtectionSwitch: Integer
5578
5603
 
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
5604
+ 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
5605
  extend Gem::Deprecate
5581
- deprecate :SizeUsed, :none, 2025, 8
5582
- deprecate :SizeUsed=, :none, 2025, 8
5606
+ deprecate :SizeUsed, :none, 2025, 9
5607
+ deprecate :SizeUsed=, :none, 2025, 9
5583
5608
 
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)
5609
+ 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
5610
  @InstanceName = instancename
5586
5611
  @InstanceId = instanceid
5587
5612
  @Appid = appid
@@ -5642,6 +5667,7 @@ module TencentCloud
5642
5667
  @UpgradeProxyVersion = upgradeproxyversion
5643
5668
  @UpgradeRedisVersion = upgraderedisversion
5644
5669
  @BackupMode = backupmode
5670
+ @DeleteProtectionSwitch = deleteprotectionswitch
5645
5671
  end
5646
5672
 
5647
5673
  def deserialize(params)
@@ -5726,6 +5752,7 @@ module TencentCloud
5726
5752
  @UpgradeProxyVersion = params['UpgradeProxyVersion']
5727
5753
  @UpgradeRedisVersion = params['UpgradeRedisVersion']
5728
5754
  @BackupMode = params['BackupMode']
5755
+ @DeleteProtectionSwitch = params['DeleteProtectionSwitch']
5729
5756
  end
5730
5757
  end
5731
5758
 
@@ -6072,19 +6099,23 @@ module TencentCloud
6072
6099
  # - 不能以"/"开头。
6073
6100
  # - 至少包含小写字母a - z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
6074
6101
  # @type Password: String
6102
+ # @param EncryptPassword: 是否加密密码
6103
+ # @type EncryptPassword: Boolean
6075
6104
 
6076
- attr_accessor :InstanceId, :OldPassword, :Password
6105
+ attr_accessor :InstanceId, :OldPassword, :Password, :EncryptPassword
6077
6106
 
6078
- def initialize(instanceid=nil, oldpassword=nil, password=nil)
6107
+ def initialize(instanceid=nil, oldpassword=nil, password=nil, encryptpassword=nil)
6079
6108
  @InstanceId = instanceid
6080
6109
  @OldPassword = oldpassword
6081
6110
  @Password = password
6111
+ @EncryptPassword = encryptpassword
6082
6112
  end
6083
6113
 
6084
6114
  def deserialize(params)
6085
6115
  @InstanceId = params['InstanceId']
6086
6116
  @OldPassword = params['OldPassword']
6087
6117
  @Password = params['Password']
6118
+ @EncryptPassword = params['EncryptPassword']
6088
6119
  end
6089
6120
  end
6090
6121
 
@@ -6239,10 +6270,12 @@ module TencentCloud
6239
6270
  # @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
6240
6271
  # @type InstanceId: String
6241
6272
  # @param Bandwidth: 附加带宽,大于0,单位MB。
6273
+ # **说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
6242
6274
  # @type Bandwidth: Integer
6243
6275
  # @param ClientLimit: 单分片的总连接数。
6244
6276
  # - 未开启副本只读时,下限为10000,上限为40000。
6245
6277
  # - 开启副本只读时,下限为10000,上限为10000×(只读副本数+3)。
6278
+ # **说明**:Bandwidth 和 ClientLimit 参数不能同时为空,您必须至少选择其中一个进行配置。
6246
6279
  # @type ClientLimit: Integer
6247
6280
 
6248
6281
  attr_accessor :InstanceId, :Bandwidth, :ClientLimit
@@ -6327,29 +6360,33 @@ module TencentCloud
6327
6360
  class ModifyInstanceAccountRequest < TencentCloud::Common::AbstractModel
6328
6361
  # @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
6329
6362
  # @type InstanceId: String
6330
- # @param AccountName: 子账号名称,如果要修改主账号,填 root。
6363
+ # @param AccountName: 指定需修改的账号。
6364
+ # - root:指在创建 Redis 数据库实例时自动生成的账号。用户无法修改其读写权限,仅可修改其请求路由策略。
6365
+ # - 自定义的账号:用户在实例创建成功后手动创建的账号。用户可以随时修改其读写权限与请求路由策略。
6331
6366
  # @type AccountName: String
6332
- # @param AccountPassword: 子账号密码。
6367
+ # @param AccountPassword: 指定所修改账号访问的密码。
6333
6368
  # @type AccountPassword: String
6334
- # @param Remark: 子账号描述信息
6369
+ # @param Remark: 账号描述信息
6335
6370
  # @type Remark: String
6336
- # @param ReadonlyPolicy: 账号读写路由策略。
6337
- # - master:表示主节点。
6338
- # - replication:表示从节点。
6371
+ # @param ReadonlyPolicy: 指定所修改账号读写请求路由的策略。
6372
+ # - master:表示读写请求路由至主节点。
6373
+ # - replication:表示读写请求路由至从节点。
6339
6374
  # @type ReadonlyPolicy: Array
6340
- # @param Privilege: 子账号读写策略。
6375
+ # @param Privilege: 指定所修改账号的读写权限。
6341
6376
  # - r:只读。
6342
6377
  # - w:只写。
6343
6378
  # - rw:读写。
6344
6379
  # @type Privilege: String
6345
- # @param NoAuth: 指定是否将主账号切换为免密账号。这里只适用于主账号,子账号不可免密。
6346
- # - true:将主账号切换为免密账号。
6347
- # - false:不切换。
6380
+ # @param NoAuth: 指定是否将默认账号(root)设置为免密账号。自定义账号不支持免密访问。
6381
+ # - true:默认账号(root)设置为免密账号。
6382
+ # - false:默认账号(root)不设置为免密账号。
6348
6383
  # @type NoAuth: Boolean
6384
+ # @param EncryptPassword: 指定所修改的账号是否加密密码
6385
+ # @type EncryptPassword: Boolean
6349
6386
 
6350
- attr_accessor :InstanceId, :AccountName, :AccountPassword, :Remark, :ReadonlyPolicy, :Privilege, :NoAuth
6387
+ attr_accessor :InstanceId, :AccountName, :AccountPassword, :Remark, :ReadonlyPolicy, :Privilege, :NoAuth, :EncryptPassword
6351
6388
 
6352
- def initialize(instanceid=nil, accountname=nil, accountpassword=nil, remark=nil, readonlypolicy=nil, privilege=nil, noauth=nil)
6389
+ def initialize(instanceid=nil, accountname=nil, accountpassword=nil, remark=nil, readonlypolicy=nil, privilege=nil, noauth=nil, encryptpassword=nil)
6353
6390
  @InstanceId = instanceid
6354
6391
  @AccountName = accountname
6355
6392
  @AccountPassword = accountpassword
@@ -6357,6 +6394,7 @@ module TencentCloud
6357
6394
  @ReadonlyPolicy = readonlypolicy
6358
6395
  @Privilege = privilege
6359
6396
  @NoAuth = noauth
6397
+ @EncryptPassword = encryptpassword
6360
6398
  end
6361
6399
 
6362
6400
  def deserialize(params)
@@ -6367,12 +6405,13 @@ module TencentCloud
6367
6405
  @ReadonlyPolicy = params['ReadonlyPolicy']
6368
6406
  @Privilege = params['Privilege']
6369
6407
  @NoAuth = params['NoAuth']
6408
+ @EncryptPassword = params['EncryptPassword']
6370
6409
  end
6371
6410
  end
6372
6411
 
6373
6412
  # ModifyInstanceAccount返回参数结构体
6374
6413
  class ModifyInstanceAccountResponse < TencentCloud::Common::AbstractModel
6375
- # @param TaskId: 任务ID
6414
+ # @param TaskId: 任务ID
6376
6415
  # @type TaskId: Integer
6377
6416
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6378
6417
  # @type RequestId: String
@@ -6760,6 +6799,7 @@ module TencentCloud
6760
6799
  # - rename:表示实例重命名。
6761
6800
  # - modifyProject:修改实例所属项目。
6762
6801
  # - modifyAutoRenew:修改实例续费标记。
6802
+ # - modifyDeleteProtectionSwitch:修改实例删除保护。
6763
6803
  # @type Operation: String
6764
6804
  # @param InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
6765
6805
  # @type InstanceIds: Array
@@ -6772,6 +6812,8 @@ module TencentCloud
6772
6812
  # - 1:自动续费。
6773
6813
  # - 2:明确不自动续费。
6774
6814
  # @type AutoRenews: Array
6815
+ # @param DeleteProtectionSwitches: 删除保护开关。- 0:默认状态,指关闭。- 1:开关打开。
6816
+ # @type DeleteProtectionSwitches: Array
6775
6817
  # @param InstanceId: 目前在废弃中,存量用户还可以使用,建议新用户使用 InstanceIds。
6776
6818
  # @type InstanceId: String
6777
6819
  # @param InstanceName: 已经废弃
@@ -6779,21 +6821,22 @@ module TencentCloud
6779
6821
  # @param AutoRenew: 已经废弃。
6780
6822
  # @type AutoRenew: Integer
6781
6823
 
6782
- attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :InstanceId, :InstanceName, :AutoRenew
6824
+ attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :DeleteProtectionSwitches, :InstanceId, :InstanceName, :AutoRenew
6783
6825
  extend Gem::Deprecate
6784
- deprecate :InstanceId, :none, 2025, 8
6785
- deprecate :InstanceId=, :none, 2025, 8
6786
- deprecate :InstanceName, :none, 2025, 8
6787
- deprecate :InstanceName=, :none, 2025, 8
6788
- deprecate :AutoRenew, :none, 2025, 8
6789
- deprecate :AutoRenew=, :none, 2025, 8
6790
-
6791
- def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, instanceid=nil, instancename=nil, autorenew=nil)
6826
+ deprecate :InstanceId, :none, 2025, 9
6827
+ deprecate :InstanceId=, :none, 2025, 9
6828
+ deprecate :InstanceName, :none, 2025, 9
6829
+ deprecate :InstanceName=, :none, 2025, 9
6830
+ deprecate :AutoRenew, :none, 2025, 9
6831
+ deprecate :AutoRenew=, :none, 2025, 9
6832
+
6833
+ def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, deleteprotectionswitches=nil, instanceid=nil, instancename=nil, autorenew=nil)
6792
6834
  @Operation = operation
6793
6835
  @InstanceIds = instanceids
6794
6836
  @InstanceNames = instancenames
6795
6837
  @ProjectId = projectid
6796
6838
  @AutoRenews = autorenews
6839
+ @DeleteProtectionSwitches = deleteprotectionswitches
6797
6840
  @InstanceId = instanceid
6798
6841
  @InstanceName = instancename
6799
6842
  @AutoRenew = autorenew
@@ -6805,6 +6848,7 @@ module TencentCloud
6805
6848
  @InstanceNames = params['InstanceNames']
6806
6849
  @ProjectId = params['ProjectId']
6807
6850
  @AutoRenews = params['AutoRenews']
6851
+ @DeleteProtectionSwitches = params['DeleteProtectionSwitches']
6808
6852
  @InstanceId = params['InstanceId']
6809
6853
  @InstanceName = params['InstanceName']
6810
6854
  @AutoRenew = params['AutoRenew']
@@ -7268,8 +7312,8 @@ module TencentCloud
7268
7312
 
7269
7313
  attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :TotalSize, :ShardSize, :ReplicaNum, :ShardNum, :PayMode, :EnableRepicaReadOnly, :EnableReplicaReadOnly
7270
7314
  extend Gem::Deprecate
7271
- deprecate :EnableRepicaReadOnly, :none, 2025, 8
7272
- deprecate :EnableRepicaReadOnly=, :none, 2025, 8
7315
+ deprecate :EnableRepicaReadOnly, :none, 2025, 9
7316
+ deprecate :EnableRepicaReadOnly=, :none, 2025, 9
7273
7317
 
7274
7318
  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
7319
  @Type = type
@@ -7894,19 +7938,23 @@ module TencentCloud
7894
7938
  # - false:切换为非免密码实例。
7895
7939
  # - true:切换为免密码实例。默认 false。
7896
7940
  # @type NoAuth: Boolean
7941
+ # @param EncryptPassword: 是否加密密码
7942
+ # @type EncryptPassword: Boolean
7897
7943
 
7898
- attr_accessor :InstanceId, :Password, :NoAuth
7944
+ attr_accessor :InstanceId, :Password, :NoAuth, :EncryptPassword
7899
7945
 
7900
- def initialize(instanceid=nil, password=nil, noauth=nil)
7946
+ def initialize(instanceid=nil, password=nil, noauth=nil, encryptpassword=nil)
7901
7947
  @InstanceId = instanceid
7902
7948
  @Password = password
7903
7949
  @NoAuth = noauth
7950
+ @EncryptPassword = encryptpassword
7904
7951
  end
7905
7952
 
7906
7953
  def deserialize(params)
7907
7954
  @InstanceId = params['InstanceId']
7908
7955
  @Password = params['Password']
7909
7956
  @NoAuth = params['NoAuth']
7957
+ @EncryptPassword = params['EncryptPassword']
7910
7958
  end
7911
7959
  end
7912
7960
 
@@ -7976,9 +8024,9 @@ module TencentCloud
7976
8024
 
7977
8025
  # RestoreInstance请求参数结构体
7978
8026
  class RestoreInstanceRequest < TencentCloud::Common::AbstractModel
7979
- # @param InstanceId: 待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。
8027
+ # @param InstanceId: 待操作的实例ID,可通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口返回值中的 InstanceId 获取。
7980
8028
  # @type InstanceId: String
7981
- # @param BackupId: 备份ID,可通过 GetRedisBackupList 接口返回值中的 backupId 获取
8029
+ # @param BackupId: 备份ID,可通过 [DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011) 接口返回的参数 RedisBackupSet 获取。
7982
8030
  # @type BackupId: String
7983
8031
  # @param Password: 实例密码,恢复实例时,需要校验实例密码(免密实例不需要传密码)
7984
8032
  # @type Password: String
@@ -8245,8 +8293,8 @@ module TencentCloud
8245
8293
 
8246
8294
  attr_accessor :TaskId, :RequestId
8247
8295
  extend Gem::Deprecate
8248
- deprecate :TaskId, :none, 2025, 8
8249
- deprecate :TaskId=, :none, 2025, 8
8296
+ deprecate :TaskId, :none, 2025, 9
8297
+ deprecate :TaskId=, :none, 2025, 9
8250
8298
 
8251
8299
  def initialize(taskid=nil, requestid=nil)
8252
8300
  @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.1131
4
+ version: 3.0.1142
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-08-27 00:00:00.000000000 Z
11
+ date: 2025-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common