tencentcloud-sdk-redis 3.0.1142 → 3.0.1144
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 +63 -38
- 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: d4e09557ba1e121adaff34c3eba047d93fc9c495
|
4
|
+
data.tar.gz: 5a397548fbdbe9742f0ac7f21b367236432ed94e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9720f5a3bd225e1025e6cb875c4d3fbff8cf70375ba954bc5246f86770235221dcac3e2ca07b96c537989863b1ff524fff03586a2a80f9dc3aa2ab807cfeb38
|
7
|
+
data.tar.gz: d006425832552f86da39fe2bb3a69b1aad246c22d087f98e4333d985cfffab4196537582f660a7d7549140ce39db5135a9cfb00923a5f5401c1744d9db87e82b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1144
|
data/lib/v20180412/models.rb
CHANGED
@@ -69,7 +69,10 @@ module TencentCloud
|
|
69
69
|
class AddReplicationInstanceRequest < TencentCloud::Common::AbstractModel
|
70
70
|
# @param GroupId: 复制组ID。请登录[Redis控制台的全球复制](https://console.cloud.tencent.com/redis/replication)页面获取复制组 ID。
|
71
71
|
# @type GroupId: String
|
72
|
-
# @param InstanceId: 实例ID
|
72
|
+
# @param InstanceId: 实例ID。
|
73
|
+
# - 添加复制组实例有地域与可用区限制。具体信息,请参见[使用限制](https://cloud.tencent.com/document/product/239/71934)。
|
74
|
+
# - 当前仅4.0、5.0 Redis 版集群架构的实例支持加入复制组。
|
75
|
+
# - 请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制需加入复制组的实例 ID。
|
73
76
|
# @type InstanceId: String
|
74
77
|
# @param InstanceRole: 给复制组添加的实例分配角色。<ul><li>rw:可读写。</li><li>r:只读。</li></ul>
|
75
78
|
# @type InstanceRole: String
|
@@ -576,7 +579,7 @@ module TencentCloud
|
|
576
579
|
|
577
580
|
# CleanUpInstance请求参数结构体
|
578
581
|
class CleanUpInstanceRequest < TencentCloud::Common::AbstractModel
|
579
|
-
# @param InstanceId: 实例 ID,请登录[Redis
|
582
|
+
# @param InstanceId: 实例 ID,请登录 [Redis 控制台回收站](https://console.cloud.tencent.com/redis/recycle)的实例列表复制实例 ID。
|
580
583
|
# @type InstanceId: String
|
581
584
|
|
582
585
|
attr_accessor :InstanceId
|
@@ -670,7 +673,7 @@ module TencentCloud
|
|
670
673
|
# @type BillingMode: Integer
|
671
674
|
# @param Period: 购买实例时长。<ul><li>单位:月。</li><li>付费方式选择包年包月计费时,取值范围为[1,2,3,4,5,6,7,8,9,10,11,12,24,36,48,60]。</li><li>付费方式选择按量计费时,设置为1。</li></ul>
|
672
675
|
# @type Period: Integer
|
673
|
-
# @param SecurityGroupIdList: 安全组ID
|
676
|
+
# @param SecurityGroupIdList: 安全组ID。请通过 [DescribeInstanceSecurityGroup](https://cloud.tencent.com/document/product/239/34447) 接口获取实例的安全组 ID。
|
674
677
|
# @type SecurityGroupIdList: Array
|
675
678
|
# @param BackupId: 克隆实例使用的备份ID。请通过接口[DescribeInstanceBackups](https://cloud.tencent.com/document/product/239/20011)获取备份ID。
|
676
679
|
# @type BackupId: String
|
@@ -1208,18 +1211,22 @@ module TencentCloud
|
|
1208
1211
|
class CreateReplicationGroupResponse < TencentCloud::Common::AbstractModel
|
1209
1212
|
# @param TaskId: 异步流程ID。
|
1210
1213
|
# @type TaskId: Integer
|
1214
|
+
# @param GroupId: 复制组string型id
|
1215
|
+
# @type GroupId: String
|
1211
1216
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1212
1217
|
# @type RequestId: String
|
1213
1218
|
|
1214
|
-
attr_accessor :TaskId, :RequestId
|
1219
|
+
attr_accessor :TaskId, :GroupId, :RequestId
|
1215
1220
|
|
1216
|
-
def initialize(taskid=nil, requestid=nil)
|
1221
|
+
def initialize(taskid=nil, groupid=nil, requestid=nil)
|
1217
1222
|
@TaskId = taskid
|
1223
|
+
@GroupId = groupid
|
1218
1224
|
@RequestId = requestid
|
1219
1225
|
end
|
1220
1226
|
|
1221
1227
|
def deserialize(params)
|
1222
1228
|
@TaskId = params['TaskId']
|
1229
|
+
@GroupId = params['GroupId']
|
1223
1230
|
@RequestId = params['RequestId']
|
1224
1231
|
end
|
1225
1232
|
end
|
@@ -3072,12 +3079,12 @@ module TencentCloud
|
|
3072
3079
|
|
3073
3080
|
# DescribeInstanceSupportFeature请求参数结构体
|
3074
3081
|
class DescribeInstanceSupportFeatureRequest < TencentCloud::Common::AbstractModel
|
3075
|
-
# @param InstanceId: 指定实例 ID
|
3076
|
-
# 示例值:crs-asdasdas
|
3082
|
+
# @param InstanceId: 指定实例 ID。请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
3077
3083
|
# @type InstanceId: String
|
3078
|
-
# @param FeatureName:
|
3079
|
-
# - read-local-node-only
|
3080
|
-
# - multi-account
|
3084
|
+
# @param FeatureName: 支持查询的功能特性如下所示。
|
3085
|
+
# - read-local-node-only:就近接入。
|
3086
|
+
# - multi-account:多账号管理。
|
3087
|
+
# - auto-failback:故障恢复场景,主节点是否开启自动回切。
|
3081
3088
|
# @type FeatureName: String
|
3082
3089
|
|
3083
3090
|
attr_accessor :InstanceId, :FeatureName
|
@@ -3702,11 +3709,11 @@ module TencentCloud
|
|
3702
3709
|
# @type BeginTime: String
|
3703
3710
|
# @param EndTime: 慢查询的结束时间,查询时间最大跨度30天。
|
3704
3711
|
# @type EndTime: String
|
3705
|
-
# @param MinQueryTime:
|
3712
|
+
# @param MinQueryTime: 慢查询阈值。取值为大于0 的正整数。单位:毫秒。
|
3706
3713
|
# @type MinQueryTime: Integer
|
3707
|
-
# @param Limit:
|
3714
|
+
# @param Limit: 每页输出的任务列表大小。默认值为20,最小值为1,最大值为100。
|
3708
3715
|
# @type Limit: Integer
|
3709
|
-
# @param Offset:
|
3716
|
+
# @param Offset: 分页偏移量。默认为0。取值为 Limit 整数倍。计算公式:offset=limit*(页码-1)。
|
3710
3717
|
# @type Offset: Integer
|
3711
3718
|
|
3712
3719
|
attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset
|
@@ -3945,7 +3952,7 @@ module TencentCloud
|
|
3945
3952
|
|
3946
3953
|
# DescribeReplicationGroup请求参数结构体
|
3947
3954
|
class DescribeReplicationGroupRequest < TencentCloud::Common::AbstractModel
|
3948
|
-
# @param Limit:
|
3955
|
+
# @param Limit: 每页输出实例列表的大小。取值为大于0 的正整数,默认为20。
|
3949
3956
|
# @type Limit: Integer
|
3950
3957
|
# @param Offset: 分页偏移量,取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
3951
3958
|
# @type Offset: Integer
|
@@ -4130,11 +4137,11 @@ module TencentCloud
|
|
4130
4137
|
# @type BeginTime: String
|
4131
4138
|
# @param EndTime: 预查询慢日志的结束时间,查询时间最大跨度30天
|
4132
4139
|
# @type EndTime: String
|
4133
|
-
# @param MinQueryTime:
|
4140
|
+
# @param MinQueryTime: 慢查询平均执行时间阈值。取值为大于0 的正整数。单位:毫秒。
|
4134
4141
|
# @type MinQueryTime: Integer
|
4135
|
-
# @param Limit: 每个页面展示的慢查询条数,默认值为20
|
4142
|
+
# @param Limit: 每个页面展示的慢查询条数,默认值为20,最小值为1,最大值为100。
|
4136
4143
|
# @type Limit: Integer
|
4137
|
-
# @param Offset:
|
4144
|
+
# @param Offset: 慢查询条数的偏移量。默认为0。取Limit整数倍。计算公式:offset=limit*(页码-1)。
|
4138
4145
|
# @type Offset: Integer
|
4139
4146
|
# @param Role: 节点所属角色。
|
4140
4147
|
# - master:主节点。
|
@@ -4421,11 +4428,11 @@ module TencentCloud
|
|
4421
4428
|
# @type BeginTime: String
|
4422
4429
|
# @param EndTime: 结束时间:2019-09-09 12:12:41,查询时间最大跨度30天。
|
4423
4430
|
# @type EndTime: String
|
4424
|
-
# @param MinQueryTime:
|
4431
|
+
# @param MinQueryTime: 慢查询阈值,取值为大于0的正整数,单位:毫秒。
|
4425
4432
|
# @type MinQueryTime: Integer
|
4426
|
-
# @param Limit:
|
4433
|
+
# @param Limit: 页面大小。默认为20,最小为1,最大为100。
|
4427
4434
|
# @type Limit: Integer
|
4428
|
-
# @param Offset:
|
4435
|
+
# @param Offset: 分页偏移量。默认为0,取值为 Limit 整数倍,计算公式:offset=limit*(页码-1)。
|
4429
4436
|
# @type Offset: Integer
|
4430
4437
|
|
4431
4438
|
attr_accessor :InstanceId, :BeginTime, :EndTime, :MinQueryTime, :Limit, :Offset
|
@@ -4482,7 +4489,7 @@ module TencentCloud
|
|
4482
4489
|
|
4483
4490
|
# DestroyPostpaidInstance请求参数结构体
|
4484
4491
|
class DestroyPostpaidInstanceRequest < TencentCloud::Common::AbstractModel
|
4485
|
-
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
4492
|
+
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制按量计费的实例 ID。
|
4486
4493
|
# @type InstanceId: String
|
4487
4494
|
|
4488
4495
|
attr_accessor :InstanceId
|
@@ -4634,8 +4641,7 @@ module TencentCloud
|
|
4634
4641
|
# @type InstanceId: String
|
4635
4642
|
# @param ReadonlyPolicy: 只读路由策略。
|
4636
4643
|
# - master:表示只读路由至主节点。
|
4637
|
-
# - replication
|
4638
|
-
# - 默认策略:表示写主节点,读从节点。
|
4644
|
+
# - replication:表示只读路由至从节点。默认值为:replication。
|
4639
4645
|
# @type ReadonlyPolicy: Array
|
4640
4646
|
|
4641
4647
|
attr_accessor :InstanceId, :ReadonlyPolicy
|
@@ -4928,9 +4934,11 @@ module TencentCloud
|
|
4928
4934
|
|
4929
4935
|
# InquiryPriceRenewInstance请求参数结构体
|
4930
4936
|
class InquiryPriceRenewInstanceRequest < TencentCloud::Common::AbstractModel
|
4931
|
-
# @param Period:
|
4937
|
+
# @param Period: 包年包月实例的购买时长。
|
4938
|
+
# - 单位:月。
|
4939
|
+
# - 取值范围 [1,2,3,4,5,6,7,8,9,10,11,12,24,36]。
|
4932
4940
|
# @type Period: Integer
|
4933
|
-
# @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)
|
4941
|
+
# @param InstanceId: 指定实例 ID。例如:crs-xjhsdj****。请登录 [Redis 控制台](https://console.cloud.tencent.com/redis)在实例列表复制包年包月实例 ID。
|
4934
4942
|
# @type InstanceId: String
|
4935
4943
|
|
4936
4944
|
attr_accessor :Period, :InstanceId
|
@@ -4987,7 +4995,9 @@ module TencentCloud
|
|
4987
4995
|
# @type InstanceId: String
|
4988
4996
|
# @param MemSize: 分片大小,单位:MB。
|
4989
4997
|
# @type MemSize: Integer
|
4990
|
-
# @param RedisShardNum:
|
4998
|
+
# @param RedisShardNum: 分片数量。
|
4999
|
+
# - 实例为标准架构,RedisShardNum 默认为1。
|
5000
|
+
# - Redis 2.8主从版、CKV主从版和 Redis 2.8单机版不需要填写。
|
4991
5001
|
# @type RedisShardNum: Integer
|
4992
5002
|
# @param RedisReplicasNum: 副本数量,Redis2.8主从版、CKV主从版和Redis2.8单机版不需要填写。
|
4993
5003
|
# @type RedisReplicasNum: Integer
|
@@ -5413,15 +5423,21 @@ module TencentCloud
|
|
5413
5423
|
# @type CommandLine: String
|
5414
5424
|
# @param ExecuteTime: 执行时间。
|
5415
5425
|
# @type ExecuteTime: String
|
5426
|
+
# @param RecvClientEnd: 收客户端请求时长(ms)
|
5427
|
+
# @type RecvClientEnd: Integer
|
5428
|
+
# @param SendClientEnd: 发送客户端请求时长(ms)
|
5429
|
+
# @type SendClientEnd: Integer
|
5416
5430
|
|
5417
|
-
attr_accessor :Duration, :Client, :Command, :CommandLine, :ExecuteTime
|
5431
|
+
attr_accessor :Duration, :Client, :Command, :CommandLine, :ExecuteTime, :RecvClientEnd, :SendClientEnd
|
5418
5432
|
|
5419
|
-
def initialize(duration=nil, client=nil, command=nil, commandline=nil, executetime=nil)
|
5433
|
+
def initialize(duration=nil, client=nil, command=nil, commandline=nil, executetime=nil, recvclientend=nil, sendclientend=nil)
|
5420
5434
|
@Duration = duration
|
5421
5435
|
@Client = client
|
5422
5436
|
@Command = command
|
5423
5437
|
@CommandLine = commandline
|
5424
5438
|
@ExecuteTime = executetime
|
5439
|
+
@RecvClientEnd = recvclientend
|
5440
|
+
@SendClientEnd = sendclientend
|
5425
5441
|
end
|
5426
5442
|
|
5427
5443
|
def deserialize(params)
|
@@ -5430,6 +5446,8 @@ module TencentCloud
|
|
5430
5446
|
@Command = params['Command']
|
5431
5447
|
@CommandLine = params['CommandLine']
|
5432
5448
|
@ExecuteTime = params['ExecuteTime']
|
5449
|
+
@RecvClientEnd = params['RecvClientEnd']
|
5450
|
+
@SendClientEnd = params['SendClientEnd']
|
5433
5451
|
end
|
5434
5452
|
end
|
5435
5453
|
|
@@ -6803,7 +6821,7 @@ module TencentCloud
|
|
6803
6821
|
# @type Operation: String
|
6804
6822
|
# @param InstanceIds: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。每次请求的实例数量的上限为10。
|
6805
6823
|
# @type InstanceIds: Array
|
6806
|
-
# @param InstanceNames:
|
6824
|
+
# @param InstanceNames: 实例的新名称。名称只支持长度为60个字符的中文、英文、数字、下划线_、分隔符-。
|
6807
6825
|
# @type InstanceNames: Array
|
6808
6826
|
# @param ProjectId: 项目 ID,请登录[Redis控制台的项目管理](https://console.cloud.tencent.com/project)页面,在**项目名称**中复制项目 ID。
|
6809
6827
|
# @type ProjectId: Integer
|
@@ -6878,6 +6896,7 @@ module TencentCloud
|
|
6878
6896
|
# @param StartTime: 维护时间窗起始时间,如:17:00。
|
6879
6897
|
# @type StartTime: String
|
6880
6898
|
# @param EndTime: 维护时间窗结束时间,如:19:00。
|
6899
|
+
# **说明:**维护时间窗时长,当前支持:30分钟、1小时、1.5小时、2小时、3小时。
|
6881
6900
|
# @type EndTime: String
|
6882
6901
|
|
6883
6902
|
attr_accessor :InstanceId, :StartTime, :EndTime
|
@@ -7932,13 +7951,18 @@ module TencentCloud
|
|
7932
7951
|
class ResetPasswordRequest < TencentCloud::Common::AbstractModel
|
7933
7952
|
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
7934
7953
|
# @type InstanceId: String
|
7935
|
-
# @param Password:
|
7954
|
+
# @param Password: 重置的密码。若切换为免密实例时,可不配置该参数。
|
7955
|
+
# - 长度8-32位, 推荐使用12位以上的密码。
|
7956
|
+
# - 不能以"/"开头。
|
7957
|
+
# - 至少包含小写字母a- z、大写字母A - Z、数字0 - 9、特殊字符 ()~!@#$%^&*-+=_|{}[]:;<>,.?/中的两项。
|
7936
7958
|
# @type Password: String
|
7937
7959
|
# @param NoAuth: 是否切换免密实例。
|
7938
|
-
# - false
|
7939
|
-
# - true
|
7960
|
+
# - false:切换为非免密码实例。默认 false。
|
7961
|
+
# - true:切换为免密码实例。
|
7940
7962
|
# @type NoAuth: Boolean
|
7941
|
-
# @param EncryptPassword:
|
7963
|
+
# @param EncryptPassword: 是否加密密码。
|
7964
|
+
# - false:非加密密码。默认 false。
|
7965
|
+
# - true:加密密码。
|
7942
7966
|
# @type EncryptPassword: Boolean
|
7943
7967
|
|
7944
7968
|
attr_accessor :InstanceId, :Password, :NoAuth, :EncryptPassword
|
@@ -8270,7 +8294,7 @@ module TencentCloud
|
|
8270
8294
|
|
8271
8295
|
# StartupInstance请求参数结构体
|
8272
8296
|
class StartupInstanceRequest < TencentCloud::Common::AbstractModel
|
8273
|
-
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)
|
8297
|
+
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在回收站复制需解隔离的实例 ID。
|
8274
8298
|
# @type InstanceId: String
|
8275
8299
|
|
8276
8300
|
attr_accessor :InstanceId
|
@@ -8781,9 +8805,9 @@ module TencentCloud
|
|
8781
8805
|
class UpgradeProxyVersionRequest < TencentCloud::Common::AbstractModel
|
8782
8806
|
# @param InstanceId: 实例 ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
8783
8807
|
# @type InstanceId: String
|
8784
|
-
# @param CurrentProxyVersion: 当前 Proxy 版本。
|
8808
|
+
# @param CurrentProxyVersion: 当前 Proxy 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例当前 Proxy 版本。
|
8785
8809
|
# @type CurrentProxyVersion: String
|
8786
|
-
# @param UpgradeProxyVersion: 可升级的 Redis 版本。
|
8810
|
+
# @param UpgradeProxyVersion: 可升级的 Redis 版本。请通过 [DescribeInstances](https://cloud.tencent.com/document/product/239/20018) 接口获取实例可升级的 Redis 版本。
|
8787
8811
|
# @type UpgradeProxyVersion: String
|
8788
8812
|
# @param InstanceTypeUpgradeNow: 指定是否立即升级。
|
8789
8813
|
# - 1:立即升级。
|
@@ -8879,10 +8903,11 @@ module TencentCloud
|
|
8879
8903
|
|
8880
8904
|
# UpgradeVersionToMultiAvailabilityZones请求参数结构体
|
8881
8905
|
class UpgradeVersionToMultiAvailabilityZonesRequest < TencentCloud::Common::AbstractModel
|
8882
|
-
# @param InstanceId: 实例ID,请登录[Redis控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
8906
|
+
# @param InstanceId: 实例ID,请登录 [Redis 控制台](https://console.cloud.tencent.com/redis/instance/list)在实例列表复制实例 ID。
|
8883
8907
|
# @type InstanceId: String
|
8884
8908
|
# @param UpgradeProxyAndRedisServer: 升级多可用区之后是否支持就近访问功能。
|
8885
|
-
#
|
8909
|
+
# - true:支持就近访问功能。升级过程,需同时升级 Proxy 版本和 Redis 内核小版本,涉及数据搬迁,可能会长达数小时。
|
8910
|
+
# - false:无需支持就近访问功能。升级多可用区仅涉及管理元数据迁移,对服务没有影响,升级过程通常在3分钟内完成。默认为 false。
|
8886
8911
|
# @type UpgradeProxyAndRedisServer: Boolean
|
8887
8912
|
|
8888
8913
|
attr_accessor :InstanceId, :UpgradeProxyAndRedisServer
|
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.1144
|
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-09-
|
11
|
+
date: 2025-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|