tencentcloud-sdk-redis 3.0.876 → 3.0.878
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180412/client.rb +48 -0
- data/lib/v20180412/models.rb +242 -2
- 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: bf2ffcc3a022cbe2078e45cccdfdab37b71ff665
|
4
|
+
data.tar.gz: d76150c66e2b7670be11b18381a290a636311be6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3c750ccab620c34a77ae26a583544c0533b42b57976ff1e1496a1485d99f3ba4a4666de4b80221a9ce1c26a99890045d1b57d01c6bd1759ea1dbb89edc2f380
|
7
|
+
data.tar.gz: 4890378b89fa0e1b8c66d261eb9f9a84953f52530860258a46c2badeeee4ab86e8a1043ae17c15c13a5f63db3fb37df79dbb5527e8f43caa31635d4f6dfdea02
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.878
|
data/lib/v20180412/client.rb
CHANGED
@@ -1349,6 +1349,54 @@ module TencentCloud
|
|
1349
1349
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1350
1350
|
end
|
1351
1351
|
|
1352
|
+
# 查询Redis独享集群概览信息
|
1353
|
+
|
1354
|
+
# @param request: Request instance for DescribeRedisClusterOverview.
|
1355
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeRedisClusterOverviewRequest`
|
1356
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::DescribeRedisClusterOverviewResponse`
|
1357
|
+
def DescribeRedisClusterOverview(request)
|
1358
|
+
body = send_request('DescribeRedisClusterOverview', request.serialize)
|
1359
|
+
response = JSON.parse(body)
|
1360
|
+
if response['Response'].key?('Error') == false
|
1361
|
+
model = DescribeRedisClusterOverviewResponse.new
|
1362
|
+
model.deserialize(response['Response'])
|
1363
|
+
model
|
1364
|
+
else
|
1365
|
+
code = response['Response']['Error']['Code']
|
1366
|
+
message = response['Response']['Error']['Message']
|
1367
|
+
reqid = response['Response']['RequestId']
|
1368
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1369
|
+
end
|
1370
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1371
|
+
raise e
|
1372
|
+
rescue StandardError => e
|
1373
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# 查询Redis独享集群列表
|
1377
|
+
|
1378
|
+
# @param request: Request instance for DescribeRedisClusters.
|
1379
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeRedisClustersRequest`
|
1380
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::DescribeRedisClustersResponse`
|
1381
|
+
def DescribeRedisClusters(request)
|
1382
|
+
body = send_request('DescribeRedisClusters', request.serialize)
|
1383
|
+
response = JSON.parse(body)
|
1384
|
+
if response['Response'].key?('Error') == false
|
1385
|
+
model = DescribeRedisClustersResponse.new
|
1386
|
+
model.deserialize(response['Response'])
|
1387
|
+
model
|
1388
|
+
else
|
1389
|
+
code = response['Response']['Error']['Code']
|
1390
|
+
message = response['Response']['Error']['Message']
|
1391
|
+
reqid = response['Response']['RequestId']
|
1392
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1393
|
+
end
|
1394
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1395
|
+
raise e
|
1396
|
+
rescue StandardError => e
|
1397
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
|
+
end
|
1399
|
+
|
1352
1400
|
# 本接口(DescribeReplicationGroup)用于查询复制组。
|
1353
1401
|
|
1354
1402
|
# @param request: Request instance for DescribeReplicationGroup.
|
data/lib/v20180412/models.rb
CHANGED
@@ -366,6 +366,88 @@ module TencentCloud
|
|
366
366
|
end
|
367
367
|
end
|
368
368
|
|
369
|
+
# redis独享集群详细信息
|
370
|
+
class CDCResource < TencentCloud::Common::AbstractModel
|
371
|
+
# @param AppId: 用户的Appid
|
372
|
+
# @type AppId: Integer
|
373
|
+
# @param RegionId: 地域id
|
374
|
+
# @type RegionId: Integer
|
375
|
+
# @param ZoneId: 可用区id
|
376
|
+
# @type ZoneId: Integer
|
377
|
+
# @param RedisClusterId: redis独享集群id
|
378
|
+
# @type RedisClusterId: String
|
379
|
+
# @param PayMode: 计费模式,1-包年包月,0-按量计费
|
380
|
+
# @type PayMode: Integer
|
381
|
+
# @param ProjectId: 项目id
|
382
|
+
# @type ProjectId: Integer
|
383
|
+
# @param AutoRenewFlag: 自动续费标识,0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费
|
384
|
+
# @type AutoRenewFlag: Integer
|
385
|
+
# @param ClusterName: 独享集群名称
|
386
|
+
# @type ClusterName: String
|
387
|
+
# @param StartTime: 实例创建时间
|
388
|
+
# @type StartTime: String
|
389
|
+
# @param EndTime: 实例到期时间
|
390
|
+
# @type EndTime: String
|
391
|
+
# @param Status: 集群状态:1-流程中,2-运行中,3-已隔离
|
392
|
+
# @type Status: Integer
|
393
|
+
# @param BaseBundles: 基础管控资源包
|
394
|
+
# @type BaseBundles: Array
|
395
|
+
# @param ResourceBundles: 资源包列表
|
396
|
+
# @type ResourceBundles: Array
|
397
|
+
# @param DedicatedClusterId: 所属本地专有集群id
|
398
|
+
# @type DedicatedClusterId: String
|
399
|
+
|
400
|
+
attr_accessor :AppId, :RegionId, :ZoneId, :RedisClusterId, :PayMode, :ProjectId, :AutoRenewFlag, :ClusterName, :StartTime, :EndTime, :Status, :BaseBundles, :ResourceBundles, :DedicatedClusterId
|
401
|
+
|
402
|
+
def initialize(appid=nil, regionid=nil, zoneid=nil, redisclusterid=nil, paymode=nil, projectid=nil, autorenewflag=nil, clustername=nil, starttime=nil, endtime=nil, status=nil, basebundles=nil, resourcebundles=nil, dedicatedclusterid=nil)
|
403
|
+
@AppId = appid
|
404
|
+
@RegionId = regionid
|
405
|
+
@ZoneId = zoneid
|
406
|
+
@RedisClusterId = redisclusterid
|
407
|
+
@PayMode = paymode
|
408
|
+
@ProjectId = projectid
|
409
|
+
@AutoRenewFlag = autorenewflag
|
410
|
+
@ClusterName = clustername
|
411
|
+
@StartTime = starttime
|
412
|
+
@EndTime = endtime
|
413
|
+
@Status = status
|
414
|
+
@BaseBundles = basebundles
|
415
|
+
@ResourceBundles = resourcebundles
|
416
|
+
@DedicatedClusterId = dedicatedclusterid
|
417
|
+
end
|
418
|
+
|
419
|
+
def deserialize(params)
|
420
|
+
@AppId = params['AppId']
|
421
|
+
@RegionId = params['RegionId']
|
422
|
+
@ZoneId = params['ZoneId']
|
423
|
+
@RedisClusterId = params['RedisClusterId']
|
424
|
+
@PayMode = params['PayMode']
|
425
|
+
@ProjectId = params['ProjectId']
|
426
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
427
|
+
@ClusterName = params['ClusterName']
|
428
|
+
@StartTime = params['StartTime']
|
429
|
+
@EndTime = params['EndTime']
|
430
|
+
@Status = params['Status']
|
431
|
+
unless params['BaseBundles'].nil?
|
432
|
+
@BaseBundles = []
|
433
|
+
params['BaseBundles'].each do |i|
|
434
|
+
resourcebundle_tmp = ResourceBundle.new
|
435
|
+
resourcebundle_tmp.deserialize(i)
|
436
|
+
@BaseBundles << resourcebundle_tmp
|
437
|
+
end
|
438
|
+
end
|
439
|
+
unless params['ResourceBundles'].nil?
|
440
|
+
@ResourceBundles = []
|
441
|
+
params['ResourceBundles'].each do |i|
|
442
|
+
resourcebundle_tmp = ResourceBundle.new
|
443
|
+
resourcebundle_tmp.deserialize(i)
|
444
|
+
@ResourceBundles << resourcebundle_tmp
|
445
|
+
end
|
446
|
+
end
|
447
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
448
|
+
end
|
449
|
+
end
|
450
|
+
|
369
451
|
# ChangeInstanceRole请求参数结构体
|
370
452
|
class ChangeInstanceRoleRequest < TencentCloud::Common::AbstractModel
|
371
453
|
# @param GroupId: 复制组ID
|
@@ -3629,6 +3711,125 @@ module TencentCloud
|
|
3629
3711
|
end
|
3630
3712
|
end
|
3631
3713
|
|
3714
|
+
# DescribeRedisClusterOverview请求参数结构体
|
3715
|
+
class DescribeRedisClusterOverviewRequest < TencentCloud::Common::AbstractModel
|
3716
|
+
# @param DedicatedClusterId: 本地专用集群id
|
3717
|
+
# @type DedicatedClusterId: String
|
3718
|
+
|
3719
|
+
attr_accessor :DedicatedClusterId
|
3720
|
+
|
3721
|
+
def initialize(dedicatedclusterid=nil)
|
3722
|
+
@DedicatedClusterId = dedicatedclusterid
|
3723
|
+
end
|
3724
|
+
|
3725
|
+
def deserialize(params)
|
3726
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
3727
|
+
end
|
3728
|
+
end
|
3729
|
+
|
3730
|
+
# DescribeRedisClusterOverview返回参数结构体
|
3731
|
+
class DescribeRedisClusterOverviewResponse < TencentCloud::Common::AbstractModel
|
3732
|
+
# @param TotalBundle: 资源包总数
|
3733
|
+
# @type TotalBundle: Integer
|
3734
|
+
# @param TotalMemory: 资源包总内存大小,单位:GB
|
3735
|
+
# @type TotalMemory: Integer
|
3736
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3737
|
+
# @type RequestId: String
|
3738
|
+
|
3739
|
+
attr_accessor :TotalBundle, :TotalMemory, :RequestId
|
3740
|
+
|
3741
|
+
def initialize(totalbundle=nil, totalmemory=nil, requestid=nil)
|
3742
|
+
@TotalBundle = totalbundle
|
3743
|
+
@TotalMemory = totalmemory
|
3744
|
+
@RequestId = requestid
|
3745
|
+
end
|
3746
|
+
|
3747
|
+
def deserialize(params)
|
3748
|
+
@TotalBundle = params['TotalBundle']
|
3749
|
+
@TotalMemory = params['TotalMemory']
|
3750
|
+
@RequestId = params['RequestId']
|
3751
|
+
end
|
3752
|
+
end
|
3753
|
+
|
3754
|
+
# DescribeRedisClusters请求参数结构体
|
3755
|
+
class DescribeRedisClustersRequest < TencentCloud::Common::AbstractModel
|
3756
|
+
# @param RedisClusterIds: Redis独享集群id
|
3757
|
+
# @type RedisClusterIds: Array
|
3758
|
+
# @param Status: 集群状态:1-流程中,2-运行中,3-已隔离
|
3759
|
+
# @type Status: Array
|
3760
|
+
# @param ProjectIds: 项目ID数组
|
3761
|
+
# @type ProjectIds: Array
|
3762
|
+
# @param AutoRenewFlag: 续费模式:0 - 默认状态(手动续费);1 - 自动续费;2 - 明确不自动续费
|
3763
|
+
# @type AutoRenewFlag: Array
|
3764
|
+
# @param ClusterName: Redis独享集群名称
|
3765
|
+
# @type ClusterName: String
|
3766
|
+
# @param SearchKey: 搜索关键词:支持集群Id、集群名称
|
3767
|
+
# @type SearchKey: String
|
3768
|
+
# @param Limit: 分页限制返回大小,不传则默认为20
|
3769
|
+
# @type Limit: Integer
|
3770
|
+
# @param Offset: 偏移量,取Limit整数倍
|
3771
|
+
# @type Offset: Integer
|
3772
|
+
# @param DedicatedClusterId: 本地专用集群id
|
3773
|
+
# @type DedicatedClusterId: String
|
3774
|
+
|
3775
|
+
attr_accessor :RedisClusterIds, :Status, :ProjectIds, :AutoRenewFlag, :ClusterName, :SearchKey, :Limit, :Offset, :DedicatedClusterId
|
3776
|
+
|
3777
|
+
def initialize(redisclusterids=nil, status=nil, projectids=nil, autorenewflag=nil, clustername=nil, searchkey=nil, limit=nil, offset=nil, dedicatedclusterid=nil)
|
3778
|
+
@RedisClusterIds = redisclusterids
|
3779
|
+
@Status = status
|
3780
|
+
@ProjectIds = projectids
|
3781
|
+
@AutoRenewFlag = autorenewflag
|
3782
|
+
@ClusterName = clustername
|
3783
|
+
@SearchKey = searchkey
|
3784
|
+
@Limit = limit
|
3785
|
+
@Offset = offset
|
3786
|
+
@DedicatedClusterId = dedicatedclusterid
|
3787
|
+
end
|
3788
|
+
|
3789
|
+
def deserialize(params)
|
3790
|
+
@RedisClusterIds = params['RedisClusterIds']
|
3791
|
+
@Status = params['Status']
|
3792
|
+
@ProjectIds = params['ProjectIds']
|
3793
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
3794
|
+
@ClusterName = params['ClusterName']
|
3795
|
+
@SearchKey = params['SearchKey']
|
3796
|
+
@Limit = params['Limit']
|
3797
|
+
@Offset = params['Offset']
|
3798
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
3799
|
+
end
|
3800
|
+
end
|
3801
|
+
|
3802
|
+
# DescribeRedisClusters返回参数结构体
|
3803
|
+
class DescribeRedisClustersResponse < TencentCloud::Common::AbstractModel
|
3804
|
+
# @param Total: 集群总数
|
3805
|
+
# @type Total: Integer
|
3806
|
+
# @param Resources: CDC集群资源列表
|
3807
|
+
# @type Resources: Array
|
3808
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3809
|
+
# @type RequestId: String
|
3810
|
+
|
3811
|
+
attr_accessor :Total, :Resources, :RequestId
|
3812
|
+
|
3813
|
+
def initialize(total=nil, resources=nil, requestid=nil)
|
3814
|
+
@Total = total
|
3815
|
+
@Resources = resources
|
3816
|
+
@RequestId = requestid
|
3817
|
+
end
|
3818
|
+
|
3819
|
+
def deserialize(params)
|
3820
|
+
@Total = params['Total']
|
3821
|
+
unless params['Resources'].nil?
|
3822
|
+
@Resources = []
|
3823
|
+
params['Resources'].each do |i|
|
3824
|
+
cdcresource_tmp = CDCResource.new
|
3825
|
+
cdcresource_tmp.deserialize(i)
|
3826
|
+
@Resources << cdcresource_tmp
|
3827
|
+
end
|
3828
|
+
end
|
3829
|
+
@RequestId = params['RequestId']
|
3830
|
+
end
|
3831
|
+
end
|
3832
|
+
|
3632
3833
|
# DescribeReplicationGroupInstance请求参数结构体
|
3633
3834
|
class DescribeReplicationGroupInstanceRequest < TencentCloud::Common::AbstractModel
|
3634
3835
|
# @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。
|
@@ -5237,6 +5438,15 @@ module TencentCloud
|
|
5237
5438
|
# @param PolarisServer: 北极星服务地址,内部使用。
|
5238
5439
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5239
5440
|
# @type PolarisServer: String
|
5441
|
+
# @param RedisClusterId: CDC Redis集群ID。
|
5442
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5443
|
+
# @type RedisClusterId: String
|
5444
|
+
# @param DedicatedClusterId: CDC 集群ID。
|
5445
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5446
|
+
# @type DedicatedClusterId: String
|
5447
|
+
# @param ProductVersion: 产品版本。<ul><li>local:本地盘。</li><li>cloud:云盘版。</li><li>cdc:CDC 集群版本。</li></ul>
|
5448
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5449
|
+
# @type ProductVersion: String
|
5240
5450
|
# @param CurrentProxyVersion: 实例当前Proxy版本。
|
5241
5451
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5242
5452
|
# @type CurrentProxyVersion: String
|
@@ -5253,9 +5463,9 @@ module TencentCloud
|
|
5253
5463
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5254
5464
|
# @type BackupMode: String
|
5255
5465
|
|
5256
|
-
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, :CurrentProxyVersion, :CurrentRedisVersion, :UpgradeProxyVersion, :UpgradeRedisVersion, :BackupMode
|
5466
|
+
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
|
5257
5467
|
|
5258
|
-
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, currentproxyversion=nil, currentredisversion=nil, upgradeproxyversion=nil, upgraderedisversion=nil, backupmode=nil)
|
5468
|
+
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)
|
5259
5469
|
@InstanceName = instancename
|
5260
5470
|
@InstanceId = instanceid
|
5261
5471
|
@Appid = appid
|
@@ -5308,6 +5518,9 @@ module TencentCloud
|
|
5308
5518
|
@Region = region
|
5309
5519
|
@WanAddress = wanaddress
|
5310
5520
|
@PolarisServer = polarisserver
|
5521
|
+
@RedisClusterId = redisclusterid
|
5522
|
+
@DedicatedClusterId = dedicatedclusterid
|
5523
|
+
@ProductVersion = productversion
|
5311
5524
|
@CurrentProxyVersion = currentproxyversion
|
5312
5525
|
@CurrentRedisVersion = currentredisversion
|
5313
5526
|
@UpgradeProxyVersion = upgradeproxyversion
|
@@ -5389,6 +5602,9 @@ module TencentCloud
|
|
5389
5602
|
@Region = params['Region']
|
5390
5603
|
@WanAddress = params['WanAddress']
|
5391
5604
|
@PolarisServer = params['PolarisServer']
|
5605
|
+
@RedisClusterId = params['RedisClusterId']
|
5606
|
+
@DedicatedClusterId = params['DedicatedClusterId']
|
5607
|
+
@ProductVersion = params['ProductVersion']
|
5392
5608
|
@CurrentProxyVersion = params['CurrentProxyVersion']
|
5393
5609
|
@CurrentRedisVersion = params['CurrentRedisVersion']
|
5394
5610
|
@UpgradeProxyVersion = params['UpgradeProxyVersion']
|
@@ -7365,6 +7581,30 @@ module TencentCloud
|
|
7365
7581
|
end
|
7366
7582
|
end
|
7367
7583
|
|
7584
|
+
# redis独享集群资源包
|
7585
|
+
class ResourceBundle < TencentCloud::Common::AbstractModel
|
7586
|
+
# @param ResourceBundleName: 资源包名称
|
7587
|
+
# @type ResourceBundleName: String
|
7588
|
+
# @param AvailableMemory: 可售卖内存,单位:GB
|
7589
|
+
# @type AvailableMemory: Integer
|
7590
|
+
# @param Count: 资源包个数
|
7591
|
+
# @type Count: Integer
|
7592
|
+
|
7593
|
+
attr_accessor :ResourceBundleName, :AvailableMemory, :Count
|
7594
|
+
|
7595
|
+
def initialize(resourcebundlename=nil, availablememory=nil, count=nil)
|
7596
|
+
@ResourceBundleName = resourcebundlename
|
7597
|
+
@AvailableMemory = availablememory
|
7598
|
+
@Count = count
|
7599
|
+
end
|
7600
|
+
|
7601
|
+
def deserialize(params)
|
7602
|
+
@ResourceBundleName = params['ResourceBundleName']
|
7603
|
+
@AvailableMemory = params['AvailableMemory']
|
7604
|
+
@Count = params['Count']
|
7605
|
+
end
|
7606
|
+
end
|
7607
|
+
|
7368
7608
|
# API购买实例绑定标签
|
7369
7609
|
class ResourceTag < TencentCloud::Common::AbstractModel
|
7370
7610
|
# @param TagKey: 标签Key。
|
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.878
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|