tencentcloud-sdk-redis 1.0.321 → 1.0.322

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: 5e874c32f26596a6d9c7aceed378c8b1a9055f82
4
- data.tar.gz: e8f48c3cc9b09f6377af88a8e6ee637d19476a1e
3
+ metadata.gz: 91f6874de17a1db2f03983fd0488e8558864ac5d
4
+ data.tar.gz: f9824d1305b35e0ca16a97341706e7127927c058
5
5
  SHA512:
6
- metadata.gz: 08a78c957c882889777169ce36148b6b5312b4c02b8fcb0d8d228c2cadbc1019ea7cd9852af1243d02196e6fdfd6149d237003298c658fffa7fedc6bf58ffb0b
7
- data.tar.gz: 3f1ddb048d56ee7ea32b311a50c0a8f00b256b4d84daaab73b0a9cdd0dafbf05460242583874638b0fe9e080c000c8339137e9a1734debb347a31957424f7326
6
+ metadata.gz: 85076183fa8dfe7eb02d3d18b89aefc7f4b469da4d6b35a01d9cc4a581245dc690d92ca29e27d19fdc4292ca9faa43e25b9e5fac1bbbcc6fc1b7709d776fba90
7
+ data.tar.gz: 1b5aa796c62fbd208c82d2d1de24b3b8c184bcb74588aa42d824ec5a3070242c3a2df7d90d67bd1f49e132e0e94cf101af40f5bd3327c019e855d96a8aa00367
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.321
1
+ 1.0.322
@@ -1901,6 +1901,54 @@ module TencentCloud
1901
1901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
1902
  end
1903
1903
 
1904
+ # 实例proxy版本升级
1905
+
1906
+ # @param request: Request instance for UpgradeProxyVersion.
1907
+ # @type request: :class:`Tencentcloud::redis::V20180412::UpgradeProxyVersionRequest`
1908
+ # @rtype: :class:`Tencentcloud::redis::V20180412::UpgradeProxyVersionResponse`
1909
+ def UpgradeProxyVersion(request)
1910
+ body = send_request('UpgradeProxyVersion', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = UpgradeProxyVersionResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1928
+ # 实例小版本升级
1929
+
1930
+ # @param request: Request instance for UpgradeSmallVersion.
1931
+ # @type request: :class:`Tencentcloud::redis::V20180412::UpgradeSmallVersionRequest`
1932
+ # @rtype: :class:`Tencentcloud::redis::V20180412::UpgradeSmallVersionResponse`
1933
+ def UpgradeSmallVersion(request)
1934
+ body = send_request('UpgradeSmallVersion', request.serialize)
1935
+ response = JSON.parse(body)
1936
+ if response['Response'].key?('Error') == false
1937
+ model = UpgradeSmallVersionResponse.new
1938
+ model.deserialize(response['Response'])
1939
+ model
1940
+ else
1941
+ code = response['Response']['Error']['Code']
1942
+ message = response['Response']['Error']['Message']
1943
+ reqid = response['Response']['RequestId']
1944
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1945
+ end
1946
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1947
+ raise e
1948
+ rescue StandardError => e
1949
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1950
+ end
1951
+
1904
1952
  # 升级实例支持多AZ
1905
1953
 
1906
1954
  # @param request: Request instance for UpgradeVersionToMultiAvailabilityZones.
@@ -6236,6 +6236,102 @@ module TencentCloud
6236
6236
  end
6237
6237
  end
6238
6238
 
6239
+ # UpgradeProxyVersion请求参数结构体
6240
+ class UpgradeProxyVersionRequest < TencentCloud::Common::AbstractModel
6241
+ # @param InstanceId: 实例ID
6242
+ # @type InstanceId: String
6243
+ # @param CurrentProxyVersion: 当前proxy版本
6244
+ # @type CurrentProxyVersion: String
6245
+ # @param UpgradeProxyVersion: 可升级的redis版本
6246
+ # @type UpgradeProxyVersion: String
6247
+ # @param InstanceTypeUpgradeNow: 1-立即升级 0-维护时间窗口升级
6248
+ # @type InstanceTypeUpgradeNow: Integer
6249
+
6250
+ attr_accessor :InstanceId, :CurrentProxyVersion, :UpgradeProxyVersion, :InstanceTypeUpgradeNow
6251
+
6252
+ def initialize(instanceid=nil, currentproxyversion=nil, upgradeproxyversion=nil, instancetypeupgradenow=nil)
6253
+ @InstanceId = instanceid
6254
+ @CurrentProxyVersion = currentproxyversion
6255
+ @UpgradeProxyVersion = upgradeproxyversion
6256
+ @InstanceTypeUpgradeNow = instancetypeupgradenow
6257
+ end
6258
+
6259
+ def deserialize(params)
6260
+ @InstanceId = params['InstanceId']
6261
+ @CurrentProxyVersion = params['CurrentProxyVersion']
6262
+ @UpgradeProxyVersion = params['UpgradeProxyVersion']
6263
+ @InstanceTypeUpgradeNow = params['InstanceTypeUpgradeNow']
6264
+ end
6265
+ end
6266
+
6267
+ # UpgradeProxyVersion返回参数结构体
6268
+ class UpgradeProxyVersionResponse < TencentCloud::Common::AbstractModel
6269
+ # @param FlowId: 异步流程ID
6270
+ # @type FlowId: Integer
6271
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6272
+ # @type RequestId: String
6273
+
6274
+ attr_accessor :FlowId, :RequestId
6275
+
6276
+ def initialize(flowid=nil, requestid=nil)
6277
+ @FlowId = flowid
6278
+ @RequestId = requestid
6279
+ end
6280
+
6281
+ def deserialize(params)
6282
+ @FlowId = params['FlowId']
6283
+ @RequestId = params['RequestId']
6284
+ end
6285
+ end
6286
+
6287
+ # UpgradeSmallVersion请求参数结构体
6288
+ class UpgradeSmallVersionRequest < TencentCloud::Common::AbstractModel
6289
+ # @param InstanceId: 实例ID
6290
+ # @type InstanceId: String
6291
+ # @param CurrentRedisVersion: 当前redis版本
6292
+ # @type CurrentRedisVersion: String
6293
+ # @param UpgradeRedisVersion: 可升级的redis版本
6294
+ # @type UpgradeRedisVersion: String
6295
+ # @param InstanceTypeUpgradeNow: 1-立即升级 0-维护时间窗口升级
6296
+ # @type InstanceTypeUpgradeNow: Integer
6297
+
6298
+ attr_accessor :InstanceId, :CurrentRedisVersion, :UpgradeRedisVersion, :InstanceTypeUpgradeNow
6299
+
6300
+ def initialize(instanceid=nil, currentredisversion=nil, upgraderedisversion=nil, instancetypeupgradenow=nil)
6301
+ @InstanceId = instanceid
6302
+ @CurrentRedisVersion = currentredisversion
6303
+ @UpgradeRedisVersion = upgraderedisversion
6304
+ @InstanceTypeUpgradeNow = instancetypeupgradenow
6305
+ end
6306
+
6307
+ def deserialize(params)
6308
+ @InstanceId = params['InstanceId']
6309
+ @CurrentRedisVersion = params['CurrentRedisVersion']
6310
+ @UpgradeRedisVersion = params['UpgradeRedisVersion']
6311
+ @InstanceTypeUpgradeNow = params['InstanceTypeUpgradeNow']
6312
+ end
6313
+ end
6314
+
6315
+ # UpgradeSmallVersion返回参数结构体
6316
+ class UpgradeSmallVersionResponse < TencentCloud::Common::AbstractModel
6317
+ # @param FlowId: 异步流程ID
6318
+ # @type FlowId: Integer
6319
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6320
+ # @type RequestId: String
6321
+
6322
+ attr_accessor :FlowId, :RequestId
6323
+
6324
+ def initialize(flowid=nil, requestid=nil)
6325
+ @FlowId = flowid
6326
+ @RequestId = requestid
6327
+ end
6328
+
6329
+ def deserialize(params)
6330
+ @FlowId = params['FlowId']
6331
+ @RequestId = params['RequestId']
6332
+ end
6333
+ end
6334
+
6239
6335
  # UpgradeVersionToMultiAvailabilityZones请求参数结构体
6240
6336
  class UpgradeVersionToMultiAvailabilityZonesRequest < TencentCloud::Common::AbstractModel
6241
6337
  # @param InstanceId: 实例ID
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.321
4
+ version: 1.0.322
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-05-27 00:00:00.000000000 Z
11
+ date: 2022-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common