tencentcloud-sdk-redis 3.0.1153 → 3.0.1161
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/models.rb +168 -55
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a103d9781e445d1839c6aafe855adebbf51ff89e
|
|
4
|
+
data.tar.gz: 2add830ddb55bbdbfbf8b6316db20badb3c46e74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0261db130e97e82ab4919f168c3af5e29eef9e84651b86c2051f42f53cead8aac66ece3c72c4d4f4f9ba30c1cd4669460b92ca86a056357e20d9a7334a8035e0
|
|
7
|
+
data.tar.gz: e4ce4224659d1ee40465d494651d6c0d012701ed98375c0f842e1b8eb43bef3d0c2b431a9da901aaaa785c6c3f6eddb932435103bed26d3630671f890be7db0d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1161
|
data/lib/v20180412/models.rb
CHANGED
|
@@ -776,24 +776,31 @@ module TencentCloud
|
|
|
776
776
|
|
|
777
777
|
# CloneInstances返回参数结构体
|
|
778
778
|
class CloneInstancesResponse < TencentCloud::Common::AbstractModel
|
|
779
|
-
# @param DealId:
|
|
779
|
+
# @param DealId: 交易的ID。
|
|
780
780
|
# @type DealId: String
|
|
781
781
|
# @param InstanceIds: 克隆实例的 ID。
|
|
782
782
|
# @type InstanceIds: Array
|
|
783
|
+
# @param DealName: 订单号。
|
|
784
|
+
# @type DealName: String
|
|
783
785
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
784
786
|
# @type RequestId: String
|
|
785
787
|
|
|
786
|
-
attr_accessor :DealId, :InstanceIds, :RequestId
|
|
788
|
+
attr_accessor :DealId, :InstanceIds, :DealName, :RequestId
|
|
789
|
+
extend Gem::Deprecate
|
|
790
|
+
deprecate :DealId, :none, 2025, 11
|
|
791
|
+
deprecate :DealId=, :none, 2025, 11
|
|
787
792
|
|
|
788
|
-
def initialize(dealid=nil, instanceids=nil, requestid=nil)
|
|
793
|
+
def initialize(dealid=nil, instanceids=nil, dealname=nil, requestid=nil)
|
|
789
794
|
@DealId = dealid
|
|
790
795
|
@InstanceIds = instanceids
|
|
796
|
+
@DealName = dealname
|
|
791
797
|
@RequestId = requestid
|
|
792
798
|
end
|
|
793
799
|
|
|
794
800
|
def deserialize(params)
|
|
795
801
|
@DealId = params['DealId']
|
|
796
802
|
@InstanceIds = params['InstanceIds']
|
|
803
|
+
@DealName = params['DealName']
|
|
797
804
|
@RequestId = params['RequestId']
|
|
798
805
|
end
|
|
799
806
|
end
|
|
@@ -926,7 +933,19 @@ module TencentCloud
|
|
|
926
933
|
# CreateInstances请求参数结构体
|
|
927
934
|
class CreateInstancesRequest < TencentCloud::Common::AbstractModel
|
|
928
935
|
# @param TypeId: 实例类型。
|
|
929
|
-
#
|
|
936
|
+
# - 2:Redis 2.8 内存版(标准架构)。
|
|
937
|
+
# - 3:CKV 3.2 内存版(标准架构)。
|
|
938
|
+
# - 4:CKV 3.2 内存版(集群架构)。
|
|
939
|
+
# - 6:Redis 4.0 内存版(标准架构)。
|
|
940
|
+
# - 7:Redis 4.0 内存版(集群架构)。
|
|
941
|
+
# - 8:Redis 5.0 内存版(标准架构)。
|
|
942
|
+
# - 9:Redis 5.0 内存版(集群架构)。
|
|
943
|
+
# - 15:Redis 6.2 内存版(标准架构)。
|
|
944
|
+
# - 16:Redis 6.2 内存版(集群架构)。
|
|
945
|
+
# - 17:Redis 7.0 内存版(标准架构)。
|
|
946
|
+
# - 18:Redis 7.0 内存版(集群架构)。
|
|
947
|
+
# - 200:Memcached 1.6 内存版(集群架构)。
|
|
948
|
+
# **说明**:CKV 版本当前有存量用户使用,暂时保留。
|
|
930
949
|
# @type TypeId: Integer
|
|
931
950
|
# @param MemSize: 内存容量,单位为MB, 数值需为1024的整数倍。具体规格,请通过 [DescribeProductInfo](https://cloud.tencent.com/document/api/239/30600) 接口查询全地域的售卖规格。
|
|
932
951
|
# - **TypeId**为标准架构时,**MemSize**是实例总内存容量;
|
|
@@ -971,7 +990,7 @@ module TencentCloud
|
|
|
971
990
|
# - 集群版实例,分片数量范围为:[1、3、5、8、12、16、24、32、40、48、64、80、96、128]。
|
|
972
991
|
# @type RedisShardNum: Integer
|
|
973
992
|
# @param RedisReplicasNum: 实例副本数量。
|
|
974
|
-
# - Redis 内存版 4.0、5.0、6.2 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
993
|
+
# - Redis 内存版 4.0、5.0、6.2、7.0 标准架构和集群架构支持副本数量范围为[1,5]。
|
|
975
994
|
# - Redis 2.8标准版、CKV标准版只支持1副本。
|
|
976
995
|
# @type RedisReplicasNum: Integer
|
|
977
996
|
# @param ReplicasReadonly: 标识实例是否需支持副本只读。
|
|
@@ -1005,7 +1024,10 @@ module TencentCloud
|
|
|
1005
1024
|
# - cdc:独享集群。
|
|
1006
1025
|
# - cloud:云原生,当前已暂停售卖。
|
|
1007
1026
|
# @type ProductVersion: String
|
|
1008
|
-
# @param RedisClusterId: 独享集群 ID
|
|
1027
|
+
# @param RedisClusterId: 独享集群 ID。
|
|
1028
|
+
|
|
1029
|
+
# - 当 **ProductVersion** 设置为 **cdc** 时,该参数必须设置。
|
|
1030
|
+
# - 请通过接口[ DescribeRedisClusters](https://cloud.tencent.com/document/product/239/109628) 获取集群 ID。
|
|
1009
1031
|
# @type RedisClusterId: String
|
|
1010
1032
|
# @param AlarmPolicyList: 告警策略 ID 数组。
|
|
1011
1033
|
|
|
@@ -1098,20 +1120,27 @@ module TencentCloud
|
|
|
1098
1120
|
# @type DealId: String
|
|
1099
1121
|
# @param InstanceIds: 实例ID。
|
|
1100
1122
|
# @type InstanceIds: Array
|
|
1123
|
+
# @param DealName: 订单号。
|
|
1124
|
+
# @type DealName: String
|
|
1101
1125
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1102
1126
|
# @type RequestId: String
|
|
1103
1127
|
|
|
1104
|
-
attr_accessor :DealId, :InstanceIds, :RequestId
|
|
1128
|
+
attr_accessor :DealId, :InstanceIds, :DealName, :RequestId
|
|
1129
|
+
extend Gem::Deprecate
|
|
1130
|
+
deprecate :DealId, :none, 2025, 11
|
|
1131
|
+
deprecate :DealId=, :none, 2025, 11
|
|
1105
1132
|
|
|
1106
|
-
def initialize(dealid=nil, instanceids=nil, requestid=nil)
|
|
1133
|
+
def initialize(dealid=nil, instanceids=nil, dealname=nil, requestid=nil)
|
|
1107
1134
|
@DealId = dealid
|
|
1108
1135
|
@InstanceIds = instanceids
|
|
1136
|
+
@DealName = dealname
|
|
1109
1137
|
@RequestId = requestid
|
|
1110
1138
|
end
|
|
1111
1139
|
|
|
1112
1140
|
def deserialize(params)
|
|
1113
1141
|
@DealId = params['DealId']
|
|
1114
1142
|
@InstanceIds = params['InstanceIds']
|
|
1143
|
+
@DealName = params['DealName']
|
|
1115
1144
|
@RequestId = params['RequestId']
|
|
1116
1145
|
end
|
|
1117
1146
|
end
|
|
@@ -1656,12 +1685,12 @@ module TencentCloud
|
|
|
1656
1685
|
|
|
1657
1686
|
attr_accessor :DownloadUrl, :InnerDownloadUrl, :Filenames, :BackupInfos, :RequestId
|
|
1658
1687
|
extend Gem::Deprecate
|
|
1659
|
-
deprecate :DownloadUrl, :none, 2025,
|
|
1660
|
-
deprecate :DownloadUrl=, :none, 2025,
|
|
1661
|
-
deprecate :InnerDownloadUrl, :none, 2025,
|
|
1662
|
-
deprecate :InnerDownloadUrl=, :none, 2025,
|
|
1663
|
-
deprecate :Filenames, :none, 2025,
|
|
1664
|
-
deprecate :Filenames=, :none, 2025,
|
|
1688
|
+
deprecate :DownloadUrl, :none, 2025, 11
|
|
1689
|
+
deprecate :DownloadUrl=, :none, 2025, 11
|
|
1690
|
+
deprecate :InnerDownloadUrl, :none, 2025, 11
|
|
1691
|
+
deprecate :InnerDownloadUrl=, :none, 2025, 11
|
|
1692
|
+
deprecate :Filenames, :none, 2025, 11
|
|
1693
|
+
deprecate :Filenames=, :none, 2025, 11
|
|
1665
1694
|
|
|
1666
1695
|
def initialize(downloadurl=nil, innerdownloadurl=nil, filenames=nil, backupinfos=nil, requestid=nil)
|
|
1667
1696
|
@DownloadUrl = downloadurl
|
|
@@ -2171,17 +2200,24 @@ module TencentCloud
|
|
|
2171
2200
|
|
|
2172
2201
|
# DescribeInstanceDealDetail请求参数结构体
|
|
2173
2202
|
class DescribeInstanceDealDetailRequest < TencentCloud::Common::AbstractModel
|
|
2174
|
-
# @param DealIds:
|
|
2203
|
+
# @param DealIds: 订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealId。数组最大长度限制为10
|
|
2175
2204
|
# @type DealIds: Array
|
|
2205
|
+
# @param DealName: 订单号,即 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的输出参数DealName。数组最大长度限制为10
|
|
2206
|
+
# @type DealName: String
|
|
2176
2207
|
|
|
2177
|
-
attr_accessor :DealIds
|
|
2208
|
+
attr_accessor :DealIds, :DealName
|
|
2209
|
+
extend Gem::Deprecate
|
|
2210
|
+
deprecate :DealIds, :none, 2025, 11
|
|
2211
|
+
deprecate :DealIds=, :none, 2025, 11
|
|
2178
2212
|
|
|
2179
|
-
def initialize(dealids=nil)
|
|
2213
|
+
def initialize(dealids=nil, dealname=nil)
|
|
2180
2214
|
@DealIds = dealids
|
|
2215
|
+
@DealName = dealname
|
|
2181
2216
|
end
|
|
2182
2217
|
|
|
2183
2218
|
def deserialize(params)
|
|
2184
2219
|
@DealIds = params['DealIds']
|
|
2220
|
+
@DealName = params['DealName']
|
|
2185
2221
|
end
|
|
2186
2222
|
end
|
|
2187
2223
|
|
|
@@ -3052,27 +3088,62 @@ module TencentCloud
|
|
|
3052
3088
|
|
|
3053
3089
|
# DescribeInstanceSpecBandwidth请求参数结构体
|
|
3054
3090
|
class DescribeInstanceSpecBandwidthRequest < TencentCloud::Common::AbstractModel
|
|
3091
|
+
# @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。填写实例id或者规格,两者必选其一。
|
|
3092
|
+
# @type InstanceId: String
|
|
3093
|
+
# @param ShardSize: 分片大小,单位:MB
|
|
3094
|
+
# @type ShardSize: Integer
|
|
3095
|
+
# @param ShardNum: 分片数量。
|
|
3096
|
+
# @type ShardNum: Integer
|
|
3097
|
+
# @param ReplicateNum: 复制组数量。
|
|
3098
|
+
# @type ReplicateNum: Integer
|
|
3099
|
+
# @param ReadOnlyWeight: 只读权重。
|
|
3100
|
+
# - 100:开启从只读。
|
|
3101
|
+
# - 0:关闭从只读。
|
|
3102
|
+
# @type ReadOnlyWeight: Integer
|
|
3103
|
+
# @param Type: 实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的Type。
|
|
3104
|
+
# @type Type: Integer
|
|
3055
3105
|
|
|
3106
|
+
attr_accessor :InstanceId, :ShardSize, :ShardNum, :ReplicateNum, :ReadOnlyWeight, :Type
|
|
3056
3107
|
|
|
3057
|
-
def initialize()
|
|
3108
|
+
def initialize(instanceid=nil, shardsize=nil, shardnum=nil, replicatenum=nil, readonlyweight=nil, type=nil)
|
|
3109
|
+
@InstanceId = instanceid
|
|
3110
|
+
@ShardSize = shardsize
|
|
3111
|
+
@ShardNum = shardnum
|
|
3112
|
+
@ReplicateNum = replicatenum
|
|
3113
|
+
@ReadOnlyWeight = readonlyweight
|
|
3114
|
+
@Type = type
|
|
3058
3115
|
end
|
|
3059
3116
|
|
|
3060
3117
|
def deserialize(params)
|
|
3118
|
+
@InstanceId = params['InstanceId']
|
|
3119
|
+
@ShardSize = params['ShardSize']
|
|
3120
|
+
@ShardNum = params['ShardNum']
|
|
3121
|
+
@ReplicateNum = params['ReplicateNum']
|
|
3122
|
+
@ReadOnlyWeight = params['ReadOnlyWeight']
|
|
3123
|
+
@Type = params['Type']
|
|
3061
3124
|
end
|
|
3062
3125
|
end
|
|
3063
3126
|
|
|
3064
3127
|
# DescribeInstanceSpecBandwidth返回参数结构体
|
|
3065
3128
|
class DescribeInstanceSpecBandwidthResponse < TencentCloud::Common::AbstractModel
|
|
3129
|
+
# @param Bandwidth: 基础带宽。
|
|
3130
|
+
# @type Bandwidth: Integer
|
|
3131
|
+
# @param ClientLimit: 链接限制。
|
|
3132
|
+
# @type ClientLimit: Integer
|
|
3066
3133
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3067
3134
|
# @type RequestId: String
|
|
3068
3135
|
|
|
3069
|
-
attr_accessor :RequestId
|
|
3136
|
+
attr_accessor :Bandwidth, :ClientLimit, :RequestId
|
|
3070
3137
|
|
|
3071
|
-
def initialize(requestid=nil)
|
|
3138
|
+
def initialize(bandwidth=nil, clientlimit=nil, requestid=nil)
|
|
3139
|
+
@Bandwidth = bandwidth
|
|
3140
|
+
@ClientLimit = clientlimit
|
|
3072
3141
|
@RequestId = requestid
|
|
3073
3142
|
end
|
|
3074
3143
|
|
|
3075
3144
|
def deserialize(params)
|
|
3145
|
+
@Bandwidth = params['Bandwidth']
|
|
3146
|
+
@ClientLimit = params['ClientLimit']
|
|
3076
3147
|
@RequestId = params['RequestId']
|
|
3077
3148
|
end
|
|
3078
3149
|
end
|
|
@@ -4184,8 +4255,8 @@ module TencentCloud
|
|
|
4184
4255
|
|
|
4185
4256
|
attr_accessor :TotalCount, :InstanceSlowlogDetail, :InstanceSlowLogDetail, :RequestId
|
|
4186
4257
|
extend Gem::Deprecate
|
|
4187
|
-
deprecate :InstanceSlowlogDetail, :none, 2025,
|
|
4188
|
-
deprecate :InstanceSlowlogDetail=, :none, 2025,
|
|
4258
|
+
deprecate :InstanceSlowlogDetail, :none, 2025, 11
|
|
4259
|
+
deprecate :InstanceSlowlogDetail=, :none, 2025, 11
|
|
4189
4260
|
|
|
4190
4261
|
def initialize(totalcount=nil, instanceslowlogdetail=nil, requestid=nil)
|
|
4191
4262
|
@TotalCount = totalcount
|
|
@@ -4353,10 +4424,10 @@ module TencentCloud
|
|
|
4353
4424
|
|
|
4354
4425
|
attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus, :Result, :OperatorUin, :OperateUin
|
|
4355
4426
|
extend Gem::Deprecate
|
|
4356
|
-
deprecate :ProjectIds, :none, 2025,
|
|
4357
|
-
deprecate :ProjectIds=, :none, 2025,
|
|
4358
|
-
deprecate :OperatorUin, :none, 2025,
|
|
4359
|
-
deprecate :OperatorUin=, :none, 2025,
|
|
4427
|
+
deprecate :ProjectIds, :none, 2025, 11
|
|
4428
|
+
deprecate :ProjectIds=, :none, 2025, 11
|
|
4429
|
+
deprecate :OperatorUin, :none, 2025, 11
|
|
4430
|
+
deprecate :OperatorUin=, :none, 2025, 11
|
|
4360
4431
|
|
|
4361
4432
|
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)
|
|
4362
4433
|
@InstanceId = instanceid
|
|
@@ -4543,18 +4614,25 @@ module TencentCloud
|
|
|
4543
4614
|
class DestroyPrepaidInstanceResponse < TencentCloud::Common::AbstractModel
|
|
4544
4615
|
# @param DealId: 订单Id
|
|
4545
4616
|
# @type DealId: String
|
|
4617
|
+
# @param DealName: 订单号。
|
|
4618
|
+
# @type DealName: String
|
|
4546
4619
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4547
4620
|
# @type RequestId: String
|
|
4548
4621
|
|
|
4549
|
-
attr_accessor :DealId, :RequestId
|
|
4622
|
+
attr_accessor :DealId, :DealName, :RequestId
|
|
4623
|
+
extend Gem::Deprecate
|
|
4624
|
+
deprecate :DealId, :none, 2025, 11
|
|
4625
|
+
deprecate :DealId=, :none, 2025, 11
|
|
4550
4626
|
|
|
4551
|
-
def initialize(dealid=nil, requestid=nil)
|
|
4627
|
+
def initialize(dealid=nil, dealname=nil, requestid=nil)
|
|
4552
4628
|
@DealId = dealid
|
|
4629
|
+
@DealName = dealname
|
|
4553
4630
|
@RequestId = requestid
|
|
4554
4631
|
end
|
|
4555
4632
|
|
|
4556
4633
|
def deserialize(params)
|
|
4557
4634
|
@DealId = params['DealId']
|
|
4635
|
+
@DealName = params['DealName']
|
|
4558
4636
|
@RequestId = params['RequestId']
|
|
4559
4637
|
end
|
|
4560
4638
|
end
|
|
@@ -4668,8 +4746,8 @@ module TencentCloud
|
|
|
4668
4746
|
|
|
4669
4747
|
attr_accessor :Status, :TaskId, :RequestId
|
|
4670
4748
|
extend Gem::Deprecate
|
|
4671
|
-
deprecate :Status, :none, 2025,
|
|
4672
|
-
deprecate :Status=, :none, 2025,
|
|
4749
|
+
deprecate :Status, :none, 2025, 11
|
|
4750
|
+
deprecate :Status=, :none, 2025, 11
|
|
4673
4751
|
|
|
4674
4752
|
def initialize(status=nil, taskid=nil, requestid=nil)
|
|
4675
4753
|
@Status = status
|
|
@@ -5627,8 +5705,8 @@ module TencentCloud
|
|
|
5627
5705
|
|
|
5628
5706
|
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
|
|
5629
5707
|
extend Gem::Deprecate
|
|
5630
|
-
deprecate :SizeUsed, :none, 2025,
|
|
5631
|
-
deprecate :SizeUsed=, :none, 2025,
|
|
5708
|
+
deprecate :SizeUsed, :none, 2025, 11
|
|
5709
|
+
deprecate :SizeUsed=, :none, 2025, 11
|
|
5632
5710
|
|
|
5633
5711
|
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)
|
|
5634
5712
|
@InstanceName = instancename
|
|
@@ -6173,7 +6251,7 @@ module TencentCloud
|
|
|
6173
6251
|
# @type TimePeriod: String
|
|
6174
6252
|
# @param AutoBackupType: 自动备份类型。目前仅能配置为:1 ,指定时备份。
|
|
6175
6253
|
# @type AutoBackupType: Integer
|
|
6176
|
-
# @param BackupStorageDays:
|
|
6254
|
+
# @param BackupStorageDays: 全量备份文件保存天数。 仅支持设置为 7,单位:天。如需更长天数,请[提交工单](https://console.cloud.tencent.com/workorder/category)申请。
|
|
6177
6255
|
# @type BackupStorageDays: Integer
|
|
6178
6256
|
|
|
6179
6257
|
attr_accessor :InstanceId, :WeekDays, :TimePeriod, :AutoBackupType, :BackupStorageDays
|
|
@@ -6847,12 +6925,12 @@ module TencentCloud
|
|
|
6847
6925
|
|
|
6848
6926
|
attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :DeleteProtectionSwitches, :InstanceId, :InstanceName, :AutoRenew
|
|
6849
6927
|
extend Gem::Deprecate
|
|
6850
|
-
deprecate :InstanceId, :none, 2025,
|
|
6851
|
-
deprecate :InstanceId=, :none, 2025,
|
|
6852
|
-
deprecate :InstanceName, :none, 2025,
|
|
6853
|
-
deprecate :InstanceName=, :none, 2025,
|
|
6854
|
-
deprecate :AutoRenew, :none, 2025,
|
|
6855
|
-
deprecate :AutoRenew=, :none, 2025,
|
|
6928
|
+
deprecate :InstanceId, :none, 2025, 11
|
|
6929
|
+
deprecate :InstanceId=, :none, 2025, 11
|
|
6930
|
+
deprecate :InstanceName, :none, 2025, 11
|
|
6931
|
+
deprecate :InstanceName=, :none, 2025, 11
|
|
6932
|
+
deprecate :AutoRenew, :none, 2025, 11
|
|
6933
|
+
deprecate :AutoRenew=, :none, 2025, 11
|
|
6856
6934
|
|
|
6857
6935
|
def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, deleteprotectionswitches=nil, instanceid=nil, instancename=nil, autorenew=nil)
|
|
6858
6936
|
@Operation = operation
|
|
@@ -7337,8 +7415,8 @@ module TencentCloud
|
|
|
7337
7415
|
|
|
7338
7416
|
attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :TotalSize, :ShardSize, :ReplicaNum, :ShardNum, :PayMode, :EnableRepicaReadOnly, :EnableReplicaReadOnly
|
|
7339
7417
|
extend Gem::Deprecate
|
|
7340
|
-
deprecate :EnableRepicaReadOnly, :none, 2025,
|
|
7341
|
-
deprecate :EnableRepicaReadOnly=, :none, 2025,
|
|
7418
|
+
deprecate :EnableRepicaReadOnly, :none, 2025, 11
|
|
7419
|
+
deprecate :EnableRepicaReadOnly=, :none, 2025, 11
|
|
7342
7420
|
|
|
7343
7421
|
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)
|
|
7344
7422
|
@Type = type
|
|
@@ -7872,11 +7950,15 @@ module TencentCloud
|
|
|
7872
7950
|
|
|
7873
7951
|
# RenewInstance请求参数结构体
|
|
7874
7952
|
class RenewInstanceRequest < TencentCloud::Common::AbstractModel
|
|
7875
|
-
# @param Period:
|
|
7953
|
+
# @param Period: 购买时长。
|
|
7954
|
+
# - 单位:月。
|
|
7955
|
+
# - 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
|
7876
7956
|
# @type Period: Integer
|
|
7877
|
-
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7957
|
+
# @param InstanceId: 实例 ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
7878
7958
|
# @type InstanceId: String
|
|
7879
|
-
# @param ModifyPayMode:
|
|
7959
|
+
# @param ModifyPayMode: 标识是否修改计费模式。
|
|
7960
|
+
# - 当前实例计费模式为按量计费方式,预转换为包年包月而续费,请指定该参数为 <b>prepaid</b>。
|
|
7961
|
+
# - 当前实例计费模式为包年包月方式,可不设置该参数。
|
|
7880
7962
|
# @type ModifyPayMode: String
|
|
7881
7963
|
|
|
7882
7964
|
attr_accessor :Period, :InstanceId, :ModifyPayMode
|
|
@@ -7898,18 +7980,25 @@ module TencentCloud
|
|
|
7898
7980
|
class RenewInstanceResponse < TencentCloud::Common::AbstractModel
|
|
7899
7981
|
# @param DealId: 交易ID。
|
|
7900
7982
|
# @type DealId: String
|
|
7983
|
+
# @param DealName: 订单号。
|
|
7984
|
+
# @type DealName: String
|
|
7901
7985
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7902
7986
|
# @type RequestId: String
|
|
7903
7987
|
|
|
7904
|
-
attr_accessor :DealId, :RequestId
|
|
7988
|
+
attr_accessor :DealId, :DealName, :RequestId
|
|
7989
|
+
extend Gem::Deprecate
|
|
7990
|
+
deprecate :DealId, :none, 2025, 11
|
|
7991
|
+
deprecate :DealId=, :none, 2025, 11
|
|
7905
7992
|
|
|
7906
|
-
def initialize(dealid=nil, requestid=nil)
|
|
7993
|
+
def initialize(dealid=nil, dealname=nil, requestid=nil)
|
|
7907
7994
|
@DealId = dealid
|
|
7995
|
+
@DealName = dealname
|
|
7908
7996
|
@RequestId = requestid
|
|
7909
7997
|
end
|
|
7910
7998
|
|
|
7911
7999
|
def deserialize(params)
|
|
7912
8000
|
@DealId = params['DealId']
|
|
8001
|
+
@DealName = params['DealName']
|
|
7913
8002
|
@RequestId = params['RequestId']
|
|
7914
8003
|
end
|
|
7915
8004
|
end
|
|
@@ -8323,8 +8412,8 @@ module TencentCloud
|
|
|
8323
8412
|
|
|
8324
8413
|
attr_accessor :TaskId, :RequestId
|
|
8325
8414
|
extend Gem::Deprecate
|
|
8326
|
-
deprecate :TaskId, :none, 2025,
|
|
8327
|
-
deprecate :TaskId=, :none, 2025,
|
|
8415
|
+
deprecate :TaskId, :none, 2025, 11
|
|
8416
|
+
deprecate :TaskId=, :none, 2025, 11
|
|
8328
8417
|
|
|
8329
8418
|
def initialize(taskid=nil, requestid=nil)
|
|
8330
8419
|
@TaskId = taskid
|
|
@@ -8660,6 +8749,9 @@ module TencentCloud
|
|
|
8660
8749
|
# @type InstanceIds: Array
|
|
8661
8750
|
|
|
8662
8751
|
attr_accessor :DealId, :DealName, :ZoneId, :GoodsNum, :Creater, :CreatTime, :OverdueTime, :EndTime, :Status, :Description, :Price, :InstanceIds
|
|
8752
|
+
extend Gem::Deprecate
|
|
8753
|
+
deprecate :DealId, :none, 2025, 11
|
|
8754
|
+
deprecate :DealId=, :none, 2025, 11
|
|
8663
8755
|
|
|
8664
8756
|
def initialize(dealid=nil, dealname=nil, zoneid=nil, goodsnum=nil, creater=nil, creattime=nil, overduetime=nil, endtime=nil, status=nil, description=nil, price=nil, instanceids=nil)
|
|
8665
8757
|
@DealId = dealid
|
|
@@ -8696,11 +8788,18 @@ module TencentCloud
|
|
|
8696
8788
|
class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
|
|
8697
8789
|
# @param InstanceId: 待变更实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
|
8698
8790
|
# @type InstanceId: String
|
|
8699
|
-
# @param MemSize:
|
|
8791
|
+
# @param MemSize: 指实例每个分片内存变更后的大小。
|
|
8792
|
+
# - 单位 MB。
|
|
8793
|
+
# - 每次只能修改参数MemSize、RedisShardNum和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
8794
|
+
# - 缩容时,缩容后的规格务必要大于等于使用容量的1.3倍,否则将执行失败。
|
|
8700
8795
|
# @type MemSize: Integer
|
|
8701
|
-
# @param RedisShardNum:
|
|
8796
|
+
# @param RedisShardNum: 指实例变更后的分片数量。
|
|
8797
|
+
# - 标准架构不需要配置该参数,集群架构为必填参数。
|
|
8798
|
+
# - 集群架构,每次只能修改参数RedisShardNum、MemSize和RedisReplicasNum其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
8702
8799
|
# @type RedisShardNum: Integer
|
|
8703
|
-
# @param RedisReplicasNum:
|
|
8800
|
+
# @param RedisReplicasNum: 指实例变更后的副本数量。
|
|
8801
|
+
# - 每次只能修改参数 RedisReplicasNum、MemSize 和 RedisShardNum 其中的一个,不能同时修改。且修改其中一个参数时,其他两个参数需输入实例原有的配置规格。
|
|
8802
|
+
# - 多AZ实例修改副本时必须要传入 NodeSet。
|
|
8704
8803
|
# @type RedisReplicasNum: Integer
|
|
8705
8804
|
# @param NodeSet: 多AZ实例,增加副本时的节点信息,包括副本的 ID 编号及可用区信息。非多AZ实例不需要配置该参数。
|
|
8706
8805
|
# @type NodeSet: Array
|
|
@@ -8741,18 +8840,25 @@ module TencentCloud
|
|
|
8741
8840
|
class UpgradeInstanceResponse < TencentCloud::Common::AbstractModel
|
|
8742
8841
|
# @param DealId: 订单ID。
|
|
8743
8842
|
# @type DealId: String
|
|
8843
|
+
# @param DealName: 订单号。
|
|
8844
|
+
# @type DealName: String
|
|
8744
8845
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8745
8846
|
# @type RequestId: String
|
|
8746
8847
|
|
|
8747
|
-
attr_accessor :DealId, :RequestId
|
|
8848
|
+
attr_accessor :DealId, :DealName, :RequestId
|
|
8849
|
+
extend Gem::Deprecate
|
|
8850
|
+
deprecate :DealId, :none, 2025, 11
|
|
8851
|
+
deprecate :DealId=, :none, 2025, 11
|
|
8748
8852
|
|
|
8749
|
-
def initialize(dealid=nil, requestid=nil)
|
|
8853
|
+
def initialize(dealid=nil, dealname=nil, requestid=nil)
|
|
8750
8854
|
@DealId = dealid
|
|
8855
|
+
@DealName = dealname
|
|
8751
8856
|
@RequestId = requestid
|
|
8752
8857
|
end
|
|
8753
8858
|
|
|
8754
8859
|
def deserialize(params)
|
|
8755
8860
|
@DealId = params['DealId']
|
|
8861
|
+
@DealName = params['DealName']
|
|
8756
8862
|
@RequestId = params['RequestId']
|
|
8757
8863
|
end
|
|
8758
8864
|
end
|
|
@@ -8791,18 +8897,25 @@ module TencentCloud
|
|
|
8791
8897
|
class UpgradeInstanceVersionResponse < TencentCloud::Common::AbstractModel
|
|
8792
8898
|
# @param DealId: 订单ID
|
|
8793
8899
|
# @type DealId: String
|
|
8900
|
+
# @param DealName: 订单号。
|
|
8901
|
+
# @type DealName: String
|
|
8794
8902
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8795
8903
|
# @type RequestId: String
|
|
8796
8904
|
|
|
8797
|
-
attr_accessor :DealId, :RequestId
|
|
8905
|
+
attr_accessor :DealId, :DealName, :RequestId
|
|
8906
|
+
extend Gem::Deprecate
|
|
8907
|
+
deprecate :DealId, :none, 2025, 11
|
|
8908
|
+
deprecate :DealId=, :none, 2025, 11
|
|
8798
8909
|
|
|
8799
|
-
def initialize(dealid=nil, requestid=nil)
|
|
8910
|
+
def initialize(dealid=nil, dealname=nil, requestid=nil)
|
|
8800
8911
|
@DealId = dealid
|
|
8912
|
+
@DealName = dealname
|
|
8801
8913
|
@RequestId = requestid
|
|
8802
8914
|
end
|
|
8803
8915
|
|
|
8804
8916
|
def deserialize(params)
|
|
8805
8917
|
@DealId = params['DealId']
|
|
8918
|
+
@DealName = params['DealName']
|
|
8806
8919
|
@RequestId = params['RequestId']
|
|
8807
8920
|
end
|
|
8808
8921
|
end
|
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.1161
|
|
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-11-04 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
|
-
- lib/v20180412/models.rb
|
|
38
36
|
- lib/v20180412/client.rb
|
|
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:
|