tencentcloud-sdk-redis 1.0.282 → 1.0.283

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5fc24c4e95343feab997007c9939953060cc7ee1
4
- data.tar.gz: 8a803db51ac9cf83023cc56c62dac56a4bfed837
3
+ metadata.gz: 9e1f7b8b54a8a273786125dd841221290ac5b0fe
4
+ data.tar.gz: 1568e9aab1387f8fdd7d90f0101b9a04e47e9c21
5
5
  SHA512:
6
- metadata.gz: b7cebeb9051031da15020b2b08531c7ba6cb3402ac886a9dc3b08c43dac6283e7e16ca563701a78b818503d8f05cc39f79a060a8441cdfd0fadb6350e0e1e0e2
7
- data.tar.gz: 6a5553a09dda4bfec3e6478cfbfc185c300e8d2448d92b7cb144d25de1ec51bf724f7266ae11483b6f1298df0d32354f490c5e5d3bcb727cb249f87b9c2fcc34
6
+ metadata.gz: 7839518ec4020d9a9ca3e5ef327bd872cdbd921f1e661bb21c49ef7120411fd7f45d2bbb1495c77febe5dfbee66f8311c2426e3ffe03b578d3087a1186370f59
7
+ data.tar.gz: 4c0343476d67030add9132c265ac0ce0b5a0c45d567dd21c4488476adbd8b2088c21603e7c86e34aacc5c581f59a1854f3c4fdc79932314c603baa22eccb902a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.282
1
+ 1.0.283
@@ -845,7 +845,7 @@ module TencentCloud
845
845
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
846
846
  end
847
847
 
848
- # 查询Redis节点信息
848
+ # 查询Redis节点详细信息
849
849
 
850
850
  # @param request: Request instance for DescribeInstanceZoneInfo.
851
851
  # @type request: :class:`Tencentcloud::redis::V20180412::DescribeInstanceZoneInfoRequest`
@@ -917,7 +917,7 @@ module TencentCloud
917
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
918
  end
919
919
 
920
- # 查询参数模板详情
920
+ # 查询参数模板详情。
921
921
 
922
922
  # @param request: Request instance for DescribeParamTemplateInfo.
923
923
  # @type request: :class:`Tencentcloud::redis::V20180412::DescribeParamTemplateInfoRequest`
@@ -1469,7 +1469,7 @@ module TencentCloud
1469
1469
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1470
1470
  end
1471
1471
 
1472
- # 修改实例的连接配置,包括带宽和最大连接数
1472
+ # 修改实例的连接配置,包括带宽和最大连接数。
1473
1473
 
1474
1474
  # @param request: Request instance for ModifyConnectionConfig.
1475
1475
  # @type request: :class:`Tencentcloud::redis::V20180412::ModifyConnectionConfigRequest`
@@ -275,7 +275,7 @@ module TencentCloud
275
275
  class ChangeReplicaToMasterRequest < TencentCloud::Common::AbstractModel
276
276
  # @param InstanceId: 实例Id
277
277
  # @type InstanceId: String
278
- # @param GroupId: 副本Id
278
+ # @param GroupId: 副本组Id,多AZ实例必填
279
279
  # @type GroupId: Integer
280
280
 
281
281
  attr_accessor :InstanceId, :GroupId
@@ -883,15 +883,21 @@ module TencentCloud
883
883
  # @type WeekDays: Array
884
884
  # @param TimePeriod: 时间段。
885
885
  # @type TimePeriod: String
886
+ # @param BackupStorageDays: 全量备份文件保存天数
887
+ # @type BackupStorageDays: Integer
888
+ # @param BinlogStorageDays: tendis binlog备份文件保存天数
889
+ # @type BinlogStorageDays: Integer
886
890
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
887
891
  # @type RequestId: String
888
892
 
889
- attr_accessor :AutoBackupType, :WeekDays, :TimePeriod, :RequestId
893
+ attr_accessor :AutoBackupType, :WeekDays, :TimePeriod, :BackupStorageDays, :BinlogStorageDays, :RequestId
890
894
 
891
- def initialize(autobackuptype=nil, weekdays=nil, timeperiod=nil, requestid=nil)
895
+ def initialize(autobackuptype=nil, weekdays=nil, timeperiod=nil, backupstoragedays=nil, binlogstoragedays=nil, requestid=nil)
892
896
  @AutoBackupType = autobackuptype
893
897
  @WeekDays = weekdays
894
898
  @TimePeriod = timeperiod
899
+ @BackupStorageDays = backupstoragedays
900
+ @BinlogStorageDays = binlogstoragedays
895
901
  @RequestId = requestid
896
902
  end
897
903
 
@@ -899,6 +905,8 @@ module TencentCloud
899
905
  @AutoBackupType = params['AutoBackupType']
900
906
  @WeekDays = params['WeekDays']
901
907
  @TimePeriod = params['TimePeriod']
908
+ @BackupStorageDays = params['BackupStorageDays']
909
+ @BinlogStorageDays = params['BinlogStorageDays']
902
910
  @RequestId = params['RequestId']
903
911
  end
904
912
  end
@@ -966,13 +974,13 @@ module TencentCloud
966
974
 
967
975
  # DescribeCommonDBInstances请求参数结构体
968
976
  class DescribeCommonDBInstancesRequest < TencentCloud::Common::AbstractModel
969
- # @param VpcIds: 实例Vip信息列表
977
+ # @param VpcIds: vpc网络ID信息列表
970
978
  # @type VpcIds: Array
971
- # @param SubnetIds: 子网id信息列表
979
+ # @param SubnetIds: 子网ID信息列表
972
980
  # @type SubnetIds: Array
973
981
  # @param PayMode: 计费类型过滤列表;0表示包年包月,1表示按量计费
974
982
  # @type PayMode: Integer
975
- # @param InstanceIds: 实例id过滤信息列表
983
+ # @param InstanceIds: 实例ID过滤信息列表
976
984
  # @type InstanceIds: Array
977
985
  # @param InstanceNames: 实例名称过滤信息列表
978
986
  # @type InstanceNames: Array
@@ -1083,13 +1091,19 @@ module TencentCloud
1083
1091
  class DescribeDBSecurityGroupsResponse < TencentCloud::Common::AbstractModel
1084
1092
  # @param Groups: 安全组规则
1085
1093
  # @type Groups: Array
1094
+ # @param VIP: 安全组生效内网地址
1095
+ # @type VIP: String
1096
+ # @param VPort: 安全组生效内网端口
1097
+ # @type VPort: String
1086
1098
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1087
1099
  # @type RequestId: String
1088
1100
 
1089
- attr_accessor :Groups, :RequestId
1101
+ attr_accessor :Groups, :VIP, :VPort, :RequestId
1090
1102
 
1091
- def initialize(groups=nil, requestid=nil)
1103
+ def initialize(groups=nil, vip=nil, vport=nil, requestid=nil)
1092
1104
  @Groups = groups
1105
+ @VIP = vip
1106
+ @VPort = vport
1093
1107
  @RequestId = requestid
1094
1108
  end
1095
1109
 
@@ -1102,6 +1116,8 @@ module TencentCloud
1102
1116
  @Groups << securitygroup_tmp
1103
1117
  end
1104
1118
  end
1119
+ @VIP = params['VIP']
1120
+ @VPort = params['VPort']
1105
1121
  @RequestId = params['RequestId']
1106
1122
  end
1107
1123
  end
@@ -2149,7 +2165,7 @@ module TencentCloud
2149
2165
 
2150
2166
  # DescribeInstances请求参数结构体
2151
2167
  class DescribeInstancesRequest < TencentCloud::Common::AbstractModel
2152
- # @param Limit: 实例列表的大小,参数默认值20
2168
+ # @param Limit: 实例列表的大小,参数默认值20,传值则以传参为准,如果传参大于具体配置etc/conf/component.properties中的DescribeInstancesPageLimit配置项 (读不到配置默认配置项为1000),则以配置项为准
2153
2169
  # @type Limit: Integer
2154
2170
  # @param Offset: 偏移量,取Limit整数倍
2155
2171
  # @type Offset: Integer
@@ -2193,10 +2209,14 @@ module TencentCloud
2193
2209
  # @type TypeList: Array
2194
2210
  # @param MonitorVersion: 内部参数,用户可忽略
2195
2211
  # @type MonitorVersion: String
2212
+ # @param InstanceTags: 根据标签的Key和Value筛选资源,不传或者传空数组则不进行过滤
2213
+ # @type InstanceTags: Array
2214
+ # @param TagKeys: 根据标签的Key筛选资源,不传或者传空数组则不进行过滤
2215
+ # @type TagKeys: Array
2196
2216
 
2197
- attr_accessor :Limit, :Offset, :InstanceId, :OrderBy, :OrderType, :VpcIds, :SubnetIds, :ProjectIds, :SearchKey, :InstanceName, :UniqVpcIds, :UniqSubnetIds, :RegionIds, :Status, :TypeVersion, :EngineName, :AutoRenew, :BillingMode, :Type, :SearchKeys, :TypeList, :MonitorVersion
2217
+ attr_accessor :Limit, :Offset, :InstanceId, :OrderBy, :OrderType, :VpcIds, :SubnetIds, :ProjectIds, :SearchKey, :InstanceName, :UniqVpcIds, :UniqSubnetIds, :RegionIds, :Status, :TypeVersion, :EngineName, :AutoRenew, :BillingMode, :Type, :SearchKeys, :TypeList, :MonitorVersion, :InstanceTags, :TagKeys
2198
2218
 
2199
- def initialize(limit=nil, offset=nil, instanceid=nil, orderby=nil, ordertype=nil, vpcids=nil, subnetids=nil, projectids=nil, searchkey=nil, instancename=nil, uniqvpcids=nil, uniqsubnetids=nil, regionids=nil, status=nil, typeversion=nil, enginename=nil, autorenew=nil, billingmode=nil, type=nil, searchkeys=nil, typelist=nil, monitorversion=nil)
2219
+ def initialize(limit=nil, offset=nil, instanceid=nil, orderby=nil, ordertype=nil, vpcids=nil, subnetids=nil, projectids=nil, searchkey=nil, instancename=nil, uniqvpcids=nil, uniqsubnetids=nil, regionids=nil, status=nil, typeversion=nil, enginename=nil, autorenew=nil, billingmode=nil, type=nil, searchkeys=nil, typelist=nil, monitorversion=nil, instancetags=nil, tagkeys=nil)
2200
2220
  @Limit = limit
2201
2221
  @Offset = offset
2202
2222
  @InstanceId = instanceid
@@ -2219,6 +2239,8 @@ module TencentCloud
2219
2239
  @SearchKeys = searchkeys
2220
2240
  @TypeList = typelist
2221
2241
  @MonitorVersion = monitorversion
2242
+ @InstanceTags = instancetags
2243
+ @TagKeys = tagkeys
2222
2244
  end
2223
2245
 
2224
2246
  def deserialize(params)
@@ -2244,6 +2266,15 @@ module TencentCloud
2244
2266
  @SearchKeys = params['SearchKeys']
2245
2267
  @TypeList = params['TypeList']
2246
2268
  @MonitorVersion = params['MonitorVersion']
2269
+ unless params['InstanceTags'].nil?
2270
+ @InstanceTags = []
2271
+ params['InstanceTags'].each do |i|
2272
+ instancetaginfo_tmp = InstanceTagInfo.new
2273
+ instancetaginfo_tmp.deserialize(i)
2274
+ @InstanceTags << instancetaginfo_tmp
2275
+ end
2276
+ end
2277
+ @TagKeys = params['TagKeys']
2247
2278
  end
2248
2279
  end
2249
2280
 
@@ -2529,7 +2560,7 @@ module TencentCloud
2529
2560
  # @type ProjectId: Integer
2530
2561
  # @param Offset: 偏移量。
2531
2562
  # @type Offset: Integer
2532
- # @param Limit: 拉取数量限制。
2563
+ # @param Limit: 拉取数量限制,默认20
2533
2564
  # @type Limit: Integer
2534
2565
  # @param SearchKey: 搜索条件,支持安全组id或者安全组名称。
2535
2566
  # @type SearchKey: String
@@ -2835,7 +2866,7 @@ module TencentCloud
2835
2866
  # @type InstanceId: String
2836
2867
  # @param InstanceName: 实例名称
2837
2868
  # @type InstanceName: String
2838
- # @param Limit: 分页大小
2869
+ # @param Limit: 分页大小,默认20,上限不大于100
2839
2870
  # @type Limit: Integer
2840
2871
  # @param Offset: 偏移量,取Limit整数倍(自动向下取整)
2841
2872
  # @type Offset: Integer
@@ -4342,17 +4373,21 @@ module TencentCloud
4342
4373
  # @type InstanceId: String
4343
4374
  # @param Remark: 备份的备注信息
4344
4375
  # @type Remark: String
4376
+ # @param StorageDays: 保存天数。0代表指定默认保留时间
4377
+ # @type StorageDays: Integer
4345
4378
 
4346
- attr_accessor :InstanceId, :Remark
4379
+ attr_accessor :InstanceId, :Remark, :StorageDays
4347
4380
 
4348
- def initialize(instanceid=nil, remark=nil)
4381
+ def initialize(instanceid=nil, remark=nil, storagedays=nil)
4349
4382
  @InstanceId = instanceid
4350
4383
  @Remark = remark
4384
+ @StorageDays = storagedays
4351
4385
  end
4352
4386
 
4353
4387
  def deserialize(params)
4354
4388
  @InstanceId = params['InstanceId']
4355
4389
  @Remark = params['Remark']
4390
+ @StorageDays = params['StorageDays']
4356
4391
  end
4357
4392
  end
4358
4393
 
@@ -4576,7 +4611,7 @@ module TencentCloud
4576
4611
  # @type AccountPassword: String
4577
4612
  # @param Remark: 子账号描述信息
4578
4613
  # @type Remark: String
4579
- # @param ReadonlyPolicy: 子账号路由策略:填写master或者slave,表示路由主节点,从节点
4614
+ # @param ReadonlyPolicy: 路由策略:填写master或者replication,表示主节点或者从节点
4580
4615
  # @type ReadonlyPolicy: Array
4581
4616
  # @param Privilege: 子账号读写策略:填写r、w、rw,表示只读,只写,读写策略
4582
4617
  # @type Privilege: String
@@ -5118,16 +5153,28 @@ module TencentCloud
5118
5153
  # @type Remark: String
5119
5154
  # @param Locked: 备份是否被锁定,0:未被锁定;1:已被锁定
5120
5155
  # @type Locked: Integer
5156
+ # @param BackupSize: 内部字段,用户可忽略
5157
+ # 注意:此字段可能返回 null,表示取不到有效值。
5158
+ # @type BackupSize: Integer
5159
+ # @param FullBackup: 内部字段,用户可忽略
5160
+ # 注意:此字段可能返回 null,表示取不到有效值。
5161
+ # @type FullBackup: Integer
5162
+ # @param InstanceType: 内部字段,用户可忽略
5163
+ # 注意:此字段可能返回 null,表示取不到有效值。
5164
+ # @type InstanceType: Integer
5121
5165
 
5122
- attr_accessor :StartTime, :BackupId, :BackupType, :Status, :Remark, :Locked
5166
+ attr_accessor :StartTime, :BackupId, :BackupType, :Status, :Remark, :Locked, :BackupSize, :FullBackup, :InstanceType
5123
5167
 
5124
- def initialize(starttime=nil, backupid=nil, backuptype=nil, status=nil, remark=nil, locked=nil)
5168
+ def initialize(starttime=nil, backupid=nil, backuptype=nil, status=nil, remark=nil, locked=nil, backupsize=nil, fullbackup=nil, instancetype=nil)
5125
5169
  @StartTime = starttime
5126
5170
  @BackupId = backupid
5127
5171
  @BackupType = backuptype
5128
5172
  @Status = status
5129
5173
  @Remark = remark
5130
5174
  @Locked = locked
5175
+ @BackupSize = backupsize
5176
+ @FullBackup = fullbackup
5177
+ @InstanceType = instancetype
5131
5178
  end
5132
5179
 
5133
5180
  def deserialize(params)
@@ -5137,6 +5184,9 @@ module TencentCloud
5137
5184
  @Status = params['Status']
5138
5185
  @Remark = params['Remark']
5139
5186
  @Locked = params['Locked']
5187
+ @BackupSize = params['BackupSize']
5188
+ @FullBackup = params['FullBackup']
5189
+ @InstanceType = params['InstanceType']
5140
5190
  end
5141
5191
  end
5142
5192
 
@@ -5480,7 +5530,7 @@ module TencentCloud
5480
5530
 
5481
5531
  # RestoreInstance请求参数结构体
5482
5532
  class RestoreInstanceRequest < TencentCloud::Common::AbstractModel
5483
- # @param InstanceId: 待操作的实例ID,可通过 DescribeRedis 接口返回值中的 redisId 获取。
5533
+ # @param InstanceId: 待操作的实例ID,可通过 DescribeInstances 接口返回值中的 InstanceId 获取。
5484
5534
  # @type InstanceId: String
5485
5535
  # @param BackupId: 备份ID,可通过 GetRedisBackupList 接口返回值中的 backupId 获取
5486
5536
  # @type BackupId: String
@@ -5967,7 +6017,7 @@ module TencentCloud
5967
6017
  # @type MemSize: Integer
5968
6018
  # @param RedisShardNum: 分片数量,标准架构不需要填写。该参数不支持与RedisReplicasNum或MemSize同时输入。
5969
6019
  # @type RedisShardNum: Integer
5970
- # @param RedisReplicasNum: 副本数量,标准架构不需要填写,多AZ实例修改副本时必须要传入NodeSet。该参数不支持与RedisShardNum或MemSize同时输入。
6020
+ # @param RedisReplicasNum: 副本数量,多AZ实例修改副本时必须要传入NodeSet。该参数不支持与RedisShardNum或MemSize同时输入。
5971
6021
  # @type RedisReplicasNum: Integer
5972
6022
  # @param NodeSet: 多AZ实例增加副本时的附带信息,非多AZ实例不需要传此参数。多AZ增加副本时此参数为必传参数,传入要增加的副本的信息,包括副本的可用区和副本的类型(NodeType为1)
5973
6023
  # @type NodeSet: Array
@@ -6066,15 +6116,19 @@ module TencentCloud
6066
6116
  class UpgradeVersionToMultiAvailabilityZonesRequest < TencentCloud::Common::AbstractModel
6067
6117
  # @param InstanceId: 实例ID
6068
6118
  # @type InstanceId: String
6119
+ # @param UpgradeProxyAndRedisServer: 是否升级proxy和redis内核版本,升级后可支持就近接入
6120
+ # @type UpgradeProxyAndRedisServer: Boolean
6069
6121
 
6070
- attr_accessor :InstanceId
6122
+ attr_accessor :InstanceId, :UpgradeProxyAndRedisServer
6071
6123
 
6072
- def initialize(instanceid=nil)
6124
+ def initialize(instanceid=nil, upgradeproxyandredisserver=nil)
6073
6125
  @InstanceId = instanceid
6126
+ @UpgradeProxyAndRedisServer = upgradeproxyandredisserver
6074
6127
  end
6075
6128
 
6076
6129
  def deserialize(params)
6077
6130
  @InstanceId = params['InstanceId']
6131
+ @UpgradeProxyAndRedisServer = params['UpgradeProxyAndRedisServer']
6078
6132
  end
6079
6133
  end
6080
6134
 
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: 1.0.282
4
+ version: 1.0.283
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-23 00:00:00.000000000 Z
11
+ date: 2022-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common