tencentcloud-sdk-redis 3.0.1160 → 3.0.1162

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180412/models.rb +90 -47
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fed9154080d718504be11ae0c4d8a488369c14b9
4
- data.tar.gz: 91fa59e4044d82c96b63b3e9b2a90fb3c7b567e8
3
+ metadata.gz: 2941de53a8b31cb09c0b10a452f8860654c76fcc
4
+ data.tar.gz: 9b7fb8d4c76d440febbde68d3056e351f4fdf697
5
5
  SHA512:
6
- metadata.gz: d6631eeaf4a67d56988d0801a0932fb7c66920e679d589ec3d0fb091d7664573d89a930a3a33a83559397982498c1ca7eba271e85c458375138d861743a5fac0
7
- data.tar.gz: 9fdddd87e4da545599e82154239dfcf9b49fd120ecc635617f52636fc5e9634df0ea4437fb08c2a6d32cc6f6434132c7dd60282e1dd18dddb1cdf16d5c5d3985
6
+ metadata.gz: f206779d4ba1d9316e4aa0ff4b5836419377fd5b05aed853554b46f31b6f46e2c163ec5debeb9e61a3249d3f2c6599e1a77cd850f0794b38e73096fe6c12f062
7
+ data.tar.gz: 47723fb105aebe826655d42984363ccf3fb31e07b2717f1204c4cd497c5276cbc0c2528c2c5ce6be85893a6860095724d630e019278e13f38010c0f84a837072
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1160
1
+ 3.0.1162
@@ -787,8 +787,8 @@ module TencentCloud
787
787
 
788
788
  attr_accessor :DealId, :InstanceIds, :DealName, :RequestId
789
789
  extend Gem::Deprecate
790
- deprecate :DealId, :none, 2025, 10
791
- deprecate :DealId=, :none, 2025, 10
790
+ deprecate :DealId, :none, 2025, 11
791
+ deprecate :DealId=, :none, 2025, 11
792
792
 
793
793
  def initialize(dealid=nil, instanceids=nil, dealname=nil, requestid=nil)
794
794
  @DealId = dealid
@@ -1127,8 +1127,8 @@ module TencentCloud
1127
1127
 
1128
1128
  attr_accessor :DealId, :InstanceIds, :DealName, :RequestId
1129
1129
  extend Gem::Deprecate
1130
- deprecate :DealId, :none, 2025, 10
1131
- deprecate :DealId=, :none, 2025, 10
1130
+ deprecate :DealId, :none, 2025, 11
1131
+ deprecate :DealId=, :none, 2025, 11
1132
1132
 
1133
1133
  def initialize(dealid=nil, instanceids=nil, dealname=nil, requestid=nil)
1134
1134
  @DealId = dealid
@@ -1685,12 +1685,12 @@ module TencentCloud
1685
1685
 
1686
1686
  attr_accessor :DownloadUrl, :InnerDownloadUrl, :Filenames, :BackupInfos, :RequestId
1687
1687
  extend Gem::Deprecate
1688
- deprecate :DownloadUrl, :none, 2025, 10
1689
- deprecate :DownloadUrl=, :none, 2025, 10
1690
- deprecate :InnerDownloadUrl, :none, 2025, 10
1691
- deprecate :InnerDownloadUrl=, :none, 2025, 10
1692
- deprecate :Filenames, :none, 2025, 10
1693
- deprecate :Filenames=, :none, 2025, 10
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
1694
1694
 
1695
1695
  def initialize(downloadurl=nil, innerdownloadurl=nil, filenames=nil, backupinfos=nil, requestid=nil)
1696
1696
  @DownloadUrl = downloadurl
@@ -2207,8 +2207,8 @@ module TencentCloud
2207
2207
 
2208
2208
  attr_accessor :DealIds, :DealName
2209
2209
  extend Gem::Deprecate
2210
- deprecate :DealIds, :none, 2025, 10
2211
- deprecate :DealIds=, :none, 2025, 10
2210
+ deprecate :DealIds, :none, 2025, 11
2211
+ deprecate :DealIds=, :none, 2025, 11
2212
2212
 
2213
2213
  def initialize(dealids=nil, dealname=nil)
2214
2214
  @DealIds = dealids
@@ -3088,27 +3088,62 @@ module TencentCloud
3088
3088
 
3089
3089
  # DescribeInstanceSpecBandwidth请求参数结构体
3090
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
3091
3105
 
3106
+ attr_accessor :InstanceId, :ShardSize, :ShardNum, :ReplicateNum, :ReadOnlyWeight, :Type
3092
3107
 
3093
- 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
3094
3115
  end
3095
3116
 
3096
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']
3097
3124
  end
3098
3125
  end
3099
3126
 
3100
3127
  # DescribeInstanceSpecBandwidth返回参数结构体
3101
3128
  class DescribeInstanceSpecBandwidthResponse < TencentCloud::Common::AbstractModel
3129
+ # @param Bandwidth: 基础带宽。
3130
+ # @type Bandwidth: Integer
3131
+ # @param ClientLimit: 链接限制。
3132
+ # @type ClientLimit: Integer
3102
3133
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3103
3134
  # @type RequestId: String
3104
3135
 
3105
- attr_accessor :RequestId
3136
+ attr_accessor :Bandwidth, :ClientLimit, :RequestId
3106
3137
 
3107
- def initialize(requestid=nil)
3138
+ def initialize(bandwidth=nil, clientlimit=nil, requestid=nil)
3139
+ @Bandwidth = bandwidth
3140
+ @ClientLimit = clientlimit
3108
3141
  @RequestId = requestid
3109
3142
  end
3110
3143
 
3111
3144
  def deserialize(params)
3145
+ @Bandwidth = params['Bandwidth']
3146
+ @ClientLimit = params['ClientLimit']
3112
3147
  @RequestId = params['RequestId']
3113
3148
  end
3114
3149
  end
@@ -4220,8 +4255,8 @@ module TencentCloud
4220
4255
 
4221
4256
  attr_accessor :TotalCount, :InstanceSlowlogDetail, :InstanceSlowLogDetail, :RequestId
4222
4257
  extend Gem::Deprecate
4223
- deprecate :InstanceSlowlogDetail, :none, 2025, 10
4224
- deprecate :InstanceSlowlogDetail=, :none, 2025, 10
4258
+ deprecate :InstanceSlowlogDetail, :none, 2025, 11
4259
+ deprecate :InstanceSlowlogDetail=, :none, 2025, 11
4225
4260
 
4226
4261
  def initialize(totalcount=nil, instanceslowlogdetail=nil, requestid=nil)
4227
4262
  @TotalCount = totalcount
@@ -4389,10 +4424,10 @@ module TencentCloud
4389
4424
 
4390
4425
  attr_accessor :InstanceId, :InstanceName, :Limit, :Offset, :ProjectIds, :TaskTypes, :BeginTime, :EndTime, :TaskStatus, :Result, :OperatorUin, :OperateUin
4391
4426
  extend Gem::Deprecate
4392
- deprecate :ProjectIds, :none, 2025, 10
4393
- deprecate :ProjectIds=, :none, 2025, 10
4394
- deprecate :OperatorUin, :none, 2025, 10
4395
- deprecate :OperatorUin=, :none, 2025, 10
4427
+ deprecate :ProjectIds, :none, 2025, 11
4428
+ deprecate :ProjectIds=, :none, 2025, 11
4429
+ deprecate :OperatorUin, :none, 2025, 11
4430
+ deprecate :OperatorUin=, :none, 2025, 11
4396
4431
 
4397
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)
4398
4433
  @InstanceId = instanceid
@@ -4586,8 +4621,8 @@ module TencentCloud
4586
4621
 
4587
4622
  attr_accessor :DealId, :DealName, :RequestId
4588
4623
  extend Gem::Deprecate
4589
- deprecate :DealId, :none, 2025, 10
4590
- deprecate :DealId=, :none, 2025, 10
4624
+ deprecate :DealId, :none, 2025, 11
4625
+ deprecate :DealId=, :none, 2025, 11
4591
4626
 
4592
4627
  def initialize(dealid=nil, dealname=nil, requestid=nil)
4593
4628
  @DealId = dealid
@@ -4711,8 +4746,8 @@ module TencentCloud
4711
4746
 
4712
4747
  attr_accessor :Status, :TaskId, :RequestId
4713
4748
  extend Gem::Deprecate
4714
- deprecate :Status, :none, 2025, 10
4715
- deprecate :Status=, :none, 2025, 10
4749
+ deprecate :Status, :none, 2025, 11
4750
+ deprecate :Status=, :none, 2025, 11
4716
4751
 
4717
4752
  def initialize(status=nil, taskid=nil, requestid=nil)
4718
4753
  @Status = status
@@ -5198,10 +5233,14 @@ module TencentCloud
5198
5233
  # - 0:down。
5199
5234
  # - 1:on。
5200
5235
  # @type Connected: Integer
5236
+ # @param ZoneId: 可用区信息。
5237
+ # @type ZoneId: String
5238
+ # @param ReplicasNodeId: 节点组 ID。
5239
+ # @type ReplicasNodeId: Integer
5201
5240
 
5202
- attr_accessor :ShardName, :ShardId, :Role, :Keys, :Slots, :Storage, :StorageSlope, :Runid, :RunId, :Connected
5241
+ attr_accessor :ShardName, :ShardId, :Role, :Keys, :Slots, :Storage, :StorageSlope, :Runid, :RunId, :Connected, :ZoneId, :ReplicasNodeId
5203
5242
 
5204
- def initialize(shardname=nil, shardid=nil, role=nil, keys=nil, slots=nil, storage=nil, storageslope=nil, runid=nil, runid=nil, connected=nil)
5243
+ def initialize(shardname=nil, shardid=nil, role=nil, keys=nil, slots=nil, storage=nil, storageslope=nil, runid=nil, runid=nil, connected=nil, zoneid=nil, replicasnodeid=nil)
5205
5244
  @ShardName = shardname
5206
5245
  @ShardId = shardid
5207
5246
  @Role = role
@@ -5212,6 +5251,8 @@ module TencentCloud
5212
5251
  @Runid = runid
5213
5252
  @RunId = runid
5214
5253
  @Connected = connected
5254
+ @ZoneId = zoneid
5255
+ @ReplicasNodeId = replicasnodeid
5215
5256
  end
5216
5257
 
5217
5258
  def deserialize(params)
@@ -5225,6 +5266,8 @@ module TencentCloud
5225
5266
  @Runid = params['Runid']
5226
5267
  @RunId = params['RunId']
5227
5268
  @Connected = params['Connected']
5269
+ @ZoneId = params['ZoneId']
5270
+ @ReplicasNodeId = params['ReplicasNodeId']
5228
5271
  end
5229
5272
  end
5230
5273
 
@@ -5670,8 +5713,8 @@ module TencentCloud
5670
5713
 
5671
5714
  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
5672
5715
  extend Gem::Deprecate
5673
- deprecate :SizeUsed, :none, 2025, 10
5674
- deprecate :SizeUsed=, :none, 2025, 10
5716
+ deprecate :SizeUsed, :none, 2025, 11
5717
+ deprecate :SizeUsed=, :none, 2025, 11
5675
5718
 
5676
5719
  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)
5677
5720
  @InstanceName = instancename
@@ -6890,12 +6933,12 @@ module TencentCloud
6890
6933
 
6891
6934
  attr_accessor :Operation, :InstanceIds, :InstanceNames, :ProjectId, :AutoRenews, :DeleteProtectionSwitches, :InstanceId, :InstanceName, :AutoRenew
6892
6935
  extend Gem::Deprecate
6893
- deprecate :InstanceId, :none, 2025, 10
6894
- deprecate :InstanceId=, :none, 2025, 10
6895
- deprecate :InstanceName, :none, 2025, 10
6896
- deprecate :InstanceName=, :none, 2025, 10
6897
- deprecate :AutoRenew, :none, 2025, 10
6898
- deprecate :AutoRenew=, :none, 2025, 10
6936
+ deprecate :InstanceId, :none, 2025, 11
6937
+ deprecate :InstanceId=, :none, 2025, 11
6938
+ deprecate :InstanceName, :none, 2025, 11
6939
+ deprecate :InstanceName=, :none, 2025, 11
6940
+ deprecate :AutoRenew, :none, 2025, 11
6941
+ deprecate :AutoRenew=, :none, 2025, 11
6899
6942
 
6900
6943
  def initialize(operation=nil, instanceids=nil, instancenames=nil, projectid=nil, autorenews=nil, deleteprotectionswitches=nil, instanceid=nil, instancename=nil, autorenew=nil)
6901
6944
  @Operation = operation
@@ -7380,8 +7423,8 @@ module TencentCloud
7380
7423
 
7381
7424
  attr_accessor :Type, :TypeName, :MinBuyNum, :MaxBuyNum, :Saleout, :Engine, :Version, :TotalSize, :ShardSize, :ReplicaNum, :ShardNum, :PayMode, :EnableRepicaReadOnly, :EnableReplicaReadOnly
7382
7425
  extend Gem::Deprecate
7383
- deprecate :EnableRepicaReadOnly, :none, 2025, 10
7384
- deprecate :EnableRepicaReadOnly=, :none, 2025, 10
7426
+ deprecate :EnableRepicaReadOnly, :none, 2025, 11
7427
+ deprecate :EnableRepicaReadOnly=, :none, 2025, 11
7385
7428
 
7386
7429
  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)
7387
7430
  @Type = type
@@ -7952,8 +7995,8 @@ module TencentCloud
7952
7995
 
7953
7996
  attr_accessor :DealId, :DealName, :RequestId
7954
7997
  extend Gem::Deprecate
7955
- deprecate :DealId, :none, 2025, 10
7956
- deprecate :DealId=, :none, 2025, 10
7998
+ deprecate :DealId, :none, 2025, 11
7999
+ deprecate :DealId=, :none, 2025, 11
7957
8000
 
7958
8001
  def initialize(dealid=nil, dealname=nil, requestid=nil)
7959
8002
  @DealId = dealid
@@ -8377,8 +8420,8 @@ module TencentCloud
8377
8420
 
8378
8421
  attr_accessor :TaskId, :RequestId
8379
8422
  extend Gem::Deprecate
8380
- deprecate :TaskId, :none, 2025, 10
8381
- deprecate :TaskId=, :none, 2025, 10
8423
+ deprecate :TaskId, :none, 2025, 11
8424
+ deprecate :TaskId=, :none, 2025, 11
8382
8425
 
8383
8426
  def initialize(taskid=nil, requestid=nil)
8384
8427
  @TaskId = taskid
@@ -8715,8 +8758,8 @@ module TencentCloud
8715
8758
 
8716
8759
  attr_accessor :DealId, :DealName, :ZoneId, :GoodsNum, :Creater, :CreatTime, :OverdueTime, :EndTime, :Status, :Description, :Price, :InstanceIds
8717
8760
  extend Gem::Deprecate
8718
- deprecate :DealId, :none, 2025, 10
8719
- deprecate :DealId=, :none, 2025, 10
8761
+ deprecate :DealId, :none, 2025, 11
8762
+ deprecate :DealId=, :none, 2025, 11
8720
8763
 
8721
8764
  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)
8722
8765
  @DealId = dealid
@@ -8812,8 +8855,8 @@ module TencentCloud
8812
8855
 
8813
8856
  attr_accessor :DealId, :DealName, :RequestId
8814
8857
  extend Gem::Deprecate
8815
- deprecate :DealId, :none, 2025, 10
8816
- deprecate :DealId=, :none, 2025, 10
8858
+ deprecate :DealId, :none, 2025, 11
8859
+ deprecate :DealId=, :none, 2025, 11
8817
8860
 
8818
8861
  def initialize(dealid=nil, dealname=nil, requestid=nil)
8819
8862
  @DealId = dealid
@@ -8869,8 +8912,8 @@ module TencentCloud
8869
8912
 
8870
8913
  attr_accessor :DealId, :DealName, :RequestId
8871
8914
  extend Gem::Deprecate
8872
- deprecate :DealId, :none, 2025, 10
8873
- deprecate :DealId=, :none, 2025, 10
8915
+ deprecate :DealId, :none, 2025, 11
8916
+ deprecate :DealId=, :none, 2025, 11
8874
8917
 
8875
8918
  def initialize(dealid=nil, dealname=nil, requestid=nil)
8876
8919
  @DealId = dealid
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.1160
4
+ version: 3.0.1162
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-10-28 00:00:00.000000000 Z
11
+ date: 2025-11-05 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: