tencentcloud-sdk-redis 3.0.530 → 3.0.531
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 +24 -0
- data/lib/v20180412/models.rb +52 -0
- 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: 37165461a897a0213cdce14434872f58eba0b191
|
4
|
+
data.tar.gz: 5d8524564b7338aefc2fd7b2aa60bc3b42a60a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0781b3aa6397c94df48ecac688c1a97b6b29d1e44e52cb3ad63c707c1dee8243d9f9020862d544cbb1694d30100b81026aa1cd5cefbacad0157ed996f4242a08
|
7
|
+
data.tar.gz: f3b6637e51d9a9de31914e0530e1b9665b7535fdd447eca73dd816e4086a201cf82170a42e4cbe977e881a554f47ba6bf73c0fa858f5849551c53a9788f83aca
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.531
|
data/lib/v20180412/client.rb
CHANGED
@@ -1205,6 +1205,30 @@ module TencentCloud
|
|
1205
1205
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1206
1206
|
end
|
1207
1207
|
|
1208
|
+
# 查询SSL状态
|
1209
|
+
|
1210
|
+
# @param request: Request instance for DescribeSSLStatus.
|
1211
|
+
# @type request: :class:`Tencentcloud::redis::V20180412::DescribeSSLStatusRequest`
|
1212
|
+
# @rtype: :class:`Tencentcloud::redis::V20180412::DescribeSSLStatusResponse`
|
1213
|
+
def DescribeSSLStatus(request)
|
1214
|
+
body = send_request('DescribeSSLStatus', request.serialize)
|
1215
|
+
response = JSON.parse(body)
|
1216
|
+
if response['Response'].key?('Error') == false
|
1217
|
+
model = DescribeSSLStatusResponse.new
|
1218
|
+
model.deserialize(response['Response'])
|
1219
|
+
model
|
1220
|
+
else
|
1221
|
+
code = response['Response']['Error']['Code']
|
1222
|
+
message = response['Response']['Error']['Message']
|
1223
|
+
reqid = response['Response']['RequestId']
|
1224
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1225
|
+
end
|
1226
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1227
|
+
raise e
|
1228
|
+
rescue StandardError => e
|
1229
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1230
|
+
end
|
1231
|
+
|
1208
1232
|
# 本接口(DescribeSlowLog)查询实例慢查询记录。
|
1209
1233
|
|
1210
1234
|
# @param request: Request instance for DescribeSlowLog.
|
data/lib/v20180412/models.rb
CHANGED
@@ -3050,6 +3050,58 @@ module TencentCloud
|
|
3050
3050
|
end
|
3051
3051
|
end
|
3052
3052
|
|
3053
|
+
# DescribeSSLStatus请求参数结构体
|
3054
|
+
class DescribeSSLStatusRequest < TencentCloud::Common::AbstractModel
|
3055
|
+
# @param InstanceId: 实例ID
|
3056
|
+
# @type InstanceId: String
|
3057
|
+
|
3058
|
+
attr_accessor :InstanceId
|
3059
|
+
|
3060
|
+
def initialize(instanceid=nil)
|
3061
|
+
@InstanceId = instanceid
|
3062
|
+
end
|
3063
|
+
|
3064
|
+
def deserialize(params)
|
3065
|
+
@InstanceId = params['InstanceId']
|
3066
|
+
end
|
3067
|
+
end
|
3068
|
+
|
3069
|
+
# DescribeSSLStatus返回参数结构体
|
3070
|
+
class DescribeSSLStatusResponse < TencentCloud::Common::AbstractModel
|
3071
|
+
# @param CertDownloadUrl: 证书下载地址
|
3072
|
+
# @type CertDownloadUrl: String
|
3073
|
+
# @param UrlExpiredTime: 证书下载链接到期时间
|
3074
|
+
# @type UrlExpiredTime: String
|
3075
|
+
# @param SSLConfig: 实例SSL配置状态, true:开启 false:关闭
|
3076
|
+
# @type SSLConfig: Boolean
|
3077
|
+
# @param FeatureSupport: 实例SSL特性支持, true:支持 false:不支持(小版本升级后才能支持SSL特性)
|
3078
|
+
# @type FeatureSupport: Boolean
|
3079
|
+
# @param Status: SSL配置状态,1: 配置中 2:配置成功
|
3080
|
+
# @type Status: Integer
|
3081
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3082
|
+
# @type RequestId: String
|
3083
|
+
|
3084
|
+
attr_accessor :CertDownloadUrl, :UrlExpiredTime, :SSLConfig, :FeatureSupport, :Status, :RequestId
|
3085
|
+
|
3086
|
+
def initialize(certdownloadurl=nil, urlexpiredtime=nil, sslconfig=nil, featuresupport=nil, status=nil, requestid=nil)
|
3087
|
+
@CertDownloadUrl = certdownloadurl
|
3088
|
+
@UrlExpiredTime = urlexpiredtime
|
3089
|
+
@SSLConfig = sslconfig
|
3090
|
+
@FeatureSupport = featuresupport
|
3091
|
+
@Status = status
|
3092
|
+
@RequestId = requestid
|
3093
|
+
end
|
3094
|
+
|
3095
|
+
def deserialize(params)
|
3096
|
+
@CertDownloadUrl = params['CertDownloadUrl']
|
3097
|
+
@UrlExpiredTime = params['UrlExpiredTime']
|
3098
|
+
@SSLConfig = params['SSLConfig']
|
3099
|
+
@FeatureSupport = params['FeatureSupport']
|
3100
|
+
@Status = params['Status']
|
3101
|
+
@RequestId = params['RequestId']
|
3102
|
+
end
|
3103
|
+
end
|
3104
|
+
|
3053
3105
|
# DescribeSlowLog请求参数结构体
|
3054
3106
|
class DescribeSlowLogRequest < TencentCloud::Common::AbstractModel
|
3055
3107
|
# @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: 3.0.
|
4
|
+
version: 3.0.531
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|