tencentcloud-sdk-redis 3.0.384 → 3.0.385

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab8f64cc2aefe22e189a1efde5e451be65a8e3b3
4
- data.tar.gz: c55f1b580b5b03a48e7c9e0dbf19569b94b29a20
3
+ metadata.gz: 6275675a26d4b333506684e76522ac583049642c
4
+ data.tar.gz: 92e195dcc359ae5687db319460234973aebdee93
5
5
  SHA512:
6
- metadata.gz: aad3e1f3c1c9d88c986b60522e96c8c0f0539f2165d66b7b933bcd35fc47f374c8c164aedf7d8014fd7d89f6f23234ddadd80ff0a13b8de8161bf0251534e060
7
- data.tar.gz: 077685356df46bf21b0dfc8d20fe99e04bcd3e656c15b23412d115c78c848965519842b9a1bd849a29021084ca772e404a5089c1191ea694cb7b960c2235e560
6
+ metadata.gz: 12d49a2a7e51c944e4e426b61c3e85514ad2e877a0e3fb2d74252723530532a46de3183884937b6a2bf851900552bdc14a0d8cc851e878757bcc5eaca2a7205c
7
+ data.tar.gz: a6806e1f9db789dfcdd8c10e0f35d9b4412e01dac6d33258c4303774fbb7efbaa36d19458345ef8bc6dc68f0123ff47bad9abc3a168eed9f3b6135e7eaa81a3e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.384
1
+ 3.0.385
@@ -1901,6 +1901,30 @@ 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 SwitchProxy.
1907
+ # @type request: :class:`Tencentcloud::redis::V20180412::SwitchProxyRequest`
1908
+ # @rtype: :class:`Tencentcloud::redis::V20180412::SwitchProxyResponse`
1909
+ def SwitchProxy(request)
1910
+ body = send_request('SwitchProxy', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = SwitchProxyResponse.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
+
1904
1928
  # 升级实例
1905
1929
 
1906
1930
  # @param request: Request instance for UpgradeInstance.
@@ -6080,6 +6080,42 @@ module TencentCloud
6080
6080
  end
6081
6081
  end
6082
6082
 
6083
+ # SwitchProxy请求参数结构体
6084
+ class SwitchProxyRequest < TencentCloud::Common::AbstractModel
6085
+ # @param InstanceId: 实例ID
6086
+ # @type InstanceId: String
6087
+ # @param ProxyID: 实例ProxyID
6088
+ # @type ProxyID: String
6089
+
6090
+ attr_accessor :InstanceId, :ProxyID
6091
+
6092
+ def initialize(instanceid=nil, proxyid=nil)
6093
+ @InstanceId = instanceid
6094
+ @ProxyID = proxyid
6095
+ end
6096
+
6097
+ def deserialize(params)
6098
+ @InstanceId = params['InstanceId']
6099
+ @ProxyID = params['ProxyID']
6100
+ end
6101
+ end
6102
+
6103
+ # SwitchProxy返回参数结构体
6104
+ class SwitchProxyResponse < TencentCloud::Common::AbstractModel
6105
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6106
+ # @type RequestId: String
6107
+
6108
+ attr_accessor :RequestId
6109
+
6110
+ def initialize(requestid=nil)
6111
+ @RequestId = requestid
6112
+ end
6113
+
6114
+ def deserialize(params)
6115
+ @RequestId = params['RequestId']
6116
+ end
6117
+ end
6118
+
6083
6119
  # 任务信息详情
6084
6120
  class TaskInfoDetail < TencentCloud::Common::AbstractModel
6085
6121
  # @param TaskId: 任务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: 3.0.384
4
+ version: 3.0.385
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-08-10 00:00:00.000000000 Z
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common