tencentcloud-sdk-cynosdb 3.0.1054 → 3.0.1055

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: 0ca41467b60484b6420f77ab7f5929c288f119b7
4
- data.tar.gz: 5ce13a57baf446620ee990f1228c70de2af7f135
3
+ metadata.gz: 22e9c4772f79ee0b019b72c217ce5d6f8576ead8
4
+ data.tar.gz: 7c53d74101dc177f7f375b1f2dbc1f34b473458b
5
5
  SHA512:
6
- metadata.gz: fa6d619f2fbd61d511394c11cfa50519e332d43126ae53eb651eb760a11e3f87a7e27d72138e2d665225aed9a5b0233a40fd1ac105dac26565b8f3dcda097210
7
- data.tar.gz: e7208d3352b67f22bd3bb454682dd1a9916e1e6335044f2e7b418bd6addec41eeaa0a8cb0dc7ff58de7ff54c4134016f4134d2b720e64261825835d883c76ad8
6
+ metadata.gz: ec932dda61891b5855479003d7815b22cfcf969b0410d114618d451e8a3f3e439beb8e71c55ab67bba8149f551d317bbf4d6bd3bd85ed9256b96e584ae7b7c10
7
+ data.tar.gz: 7c35db7d6c75ef53a5809bd189309cb3dbd42111e2a3285ba7c849b27f0f52227fb36df629db37436d1225d9326ddbb507bfb3baca101aa21260b131808e9a0c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1054
1
+ 3.0.1055
@@ -245,6 +245,30 @@ module TencentCloud
245
245
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
246
  end
247
247
 
248
+ # 关闭SSL加密
249
+
250
+ # @param request: Request instance for CloseSSL.
251
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::CloseSSLRequest`
252
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::CloseSSLResponse`
253
+ def CloseSSL(request)
254
+ body = send_request('CloseSSL', request.serialize)
255
+ response = JSON.parse(body)
256
+ if response['Response'].key?('Error') == false
257
+ model = CloseSSLResponse.new
258
+ model.deserialize(response['Response'])
259
+ model
260
+ else
261
+ code = response['Response']['Error']['Code']
262
+ message = response['Response']['Error']['Message']
263
+ reqid = response['Response']['RequestId']
264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
265
+ end
266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
267
+ raise e
268
+ rescue StandardError => e
269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
+ end
271
+
248
272
  # 本接口(CloseWan)用于关闭外网。
249
273
 
250
274
  # @param request: Request instance for CloseWan.
@@ -1424,6 +1424,52 @@ module TencentCloud
1424
1424
  end
1425
1425
  end
1426
1426
 
1427
+ # CloseSSL请求参数结构体
1428
+ class CloseSSLRequest < TencentCloud::Common::AbstractModel
1429
+ # @param ClusterId: 集群ID
1430
+ # @type ClusterId: String
1431
+ # @param InstanceId: 实例ID
1432
+ # @type InstanceId: String
1433
+
1434
+ attr_accessor :ClusterId, :InstanceId
1435
+
1436
+ def initialize(clusterid=nil, instanceid=nil)
1437
+ @ClusterId = clusterid
1438
+ @InstanceId = instanceid
1439
+ end
1440
+
1441
+ def deserialize(params)
1442
+ @ClusterId = params['ClusterId']
1443
+ @InstanceId = params['InstanceId']
1444
+ end
1445
+ end
1446
+
1447
+ # CloseSSL返回参数结构体
1448
+ class CloseSSLResponse < TencentCloud::Common::AbstractModel
1449
+ # @param FlowId: 流程ID
1450
+ # 注意:此字段可能返回 null,表示取不到有效值。
1451
+ # @type FlowId: Integer
1452
+ # @param TaskId: 任务id
1453
+ # 注意:此字段可能返回 null,表示取不到有效值。
1454
+ # @type TaskId: Integer
1455
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1456
+ # @type RequestId: String
1457
+
1458
+ attr_accessor :FlowId, :TaskId, :RequestId
1459
+
1460
+ def initialize(flowid=nil, taskid=nil, requestid=nil)
1461
+ @FlowId = flowid
1462
+ @TaskId = taskid
1463
+ @RequestId = requestid
1464
+ end
1465
+
1466
+ def deserialize(params)
1467
+ @FlowId = params['FlowId']
1468
+ @TaskId = params['TaskId']
1469
+ @RequestId = params['RequestId']
1470
+ end
1471
+ end
1472
+
1427
1473
  # CloseWan请求参数结构体
1428
1474
  class CloseWanRequest < TencentCloud::Common::AbstractModel
1429
1475
  # @param InstanceGrpId: 实例组id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cynosdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1054
4
+ version: 3.0.1055
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-07 00:00:00.000000000 Z
11
+ date: 2025-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common