tencentcloud-sdk-redis 3.0.530 → 3.0.532

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: ee8185cccc32cb5352ec1c1c3a9f5b69c7f0fd3d
4
- data.tar.gz: 128f85acb31af5bb791a6adf4266e11e30ea0236
3
+ metadata.gz: 96e7908c846309f634f0ceac0dc56be1c9341124
4
+ data.tar.gz: 1ac5bbd7c9f5b01b9c5d610ecbabf171ee8892d0
5
5
  SHA512:
6
- metadata.gz: a2c357aed2c6b18032236059fa8ae80ef1067cf4e215d7dcd76665e75f44aa7468d09dccf8a4659e2654b0658550215e4c707c8d20584477b41ef0dc95d100d9
7
- data.tar.gz: fc62abfdeb83b67427e38dcc06ff6768c979bc587b41e9610021a214958ebd420e2803383275b1292834863c2c667e3bf647d7b6f4153e7c51e8399f9e322d31
6
+ metadata.gz: a8138830aa685c6f28ff6c44db1c15092d54ec472e676eb50e7cacd105bf04584bcb7e299da8ad5ebd4bf80f502ca5f51e00d8025093bd5b366a1959cee3477a
7
+ data.tar.gz: 591de76b2d45732a27d64c9a02eac314c5a8a98087daa3421ba56d9bbaf60509568078a05bb3431b15c623c7ecc49c772c19e98c984d40bcb4dff1a56aaf0676
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.530
1
+ 3.0.532
@@ -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.
@@ -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.530
4
+ version: 3.0.532
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-15 00:00:00.000000000 Z
11
+ date: 2023-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common