tencentcloud-sdk-cynosdb 3.0.818 → 3.0.819

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: 1bde609212434b38636d4ed7fe8df95292c6abeb
4
- data.tar.gz: ec1a0c85b3f2e29926e898873316e8fff58f2190
3
+ metadata.gz: ee3735eb7d6623b5bf9cc54bcbad41ae13f62e4c
4
+ data.tar.gz: a4e18895a06c32b6cfcdc95dd63d18d43b19a74d
5
5
  SHA512:
6
- metadata.gz: 7afa9a34d6de0ca5b206de0abcb353ea8c4f1d597398d2ca963cb50fc50fe38944093cd23c985b07551a9b2f92327301335e6353c7a6f4d960f46b5a2355dfed
7
- data.tar.gz: 6754f9ade7d8704b31a3e76a6a58d63d99e1b4c469a6e490e02fc7c4e81626fc67928cd5ae41c92d4eebb1836c6a28662239f771e2aec6178b955c89d82eef2a
6
+ metadata.gz: c54bd19ca2807bb18c1245fff1483b5a5b4b070e4dc82445924603eb829541704b4a11d4708577ad23a4dbec9ca5fabcb382c488afe66dd9f9a5654a8eab64ab
7
+ data.tar.gz: 9609364e9afd8efc45e4d68b80c8f2b3246ee0da6c252a036626c308553a090e5d85287f9db74bc676cd7eac583972a1d28ee5d4d8dcb7d1400cb51d084b5bfd
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.818
1
+ 3.0.819
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 创建日志投递
369
+
370
+ # @param request: Request instance for CreateCLSDelivery.
371
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::CreateCLSDeliveryRequest`
372
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::CreateCLSDeliveryResponse`
373
+ def CreateCLSDelivery(request)
374
+ body = send_request('CreateCLSDelivery', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = CreateCLSDeliveryResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 创建数据库
369
393
 
370
394
  # @param request: Request instance for CreateClusterDatabase.
@@ -605,6 +629,30 @@ module TencentCloud
605
629
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
606
630
  end
607
631
 
632
+ # 删除日志投递
633
+
634
+ # @param request: Request instance for DeleteCLSDelivery.
635
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DeleteCLSDeliveryRequest`
636
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DeleteCLSDeliveryResponse`
637
+ def DeleteCLSDelivery(request)
638
+ body = send_request('DeleteCLSDelivery', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = DeleteCLSDeliveryResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
608
656
  # 删除数据库
609
657
 
610
658
  # @param request: Request instance for DeleteClusterDatabase.
@@ -1277,6 +1325,30 @@ module TencentCloud
1277
1325
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1278
1326
  end
1279
1327
 
1328
+ # 查询实例日志投递信息
1329
+
1330
+ # @param request: Request instance for DescribeInstanceCLSLogDelivery.
1331
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceCLSLogDeliveryRequest`
1332
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceCLSLogDeliveryResponse`
1333
+ def DescribeInstanceCLSLogDelivery(request)
1334
+ body = send_request('DescribeInstanceCLSLogDelivery', request.serialize)
1335
+ response = JSON.parse(body)
1336
+ if response['Response'].key?('Error') == false
1337
+ model = DescribeInstanceCLSLogDeliveryResponse.new
1338
+ model.deserialize(response['Response'])
1339
+ model
1340
+ else
1341
+ code = response['Response']['Error']['Code']
1342
+ message = response['Response']['Error']['Message']
1343
+ reqid = response['Response']['RequestId']
1344
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1345
+ end
1346
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1347
+ raise e
1348
+ rescue StandardError => e
1349
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
+ end
1351
+
1280
1352
  # 本接口(DescribeInstanceDetail)用于查询实例详情。
1281
1353
 
1282
1354
  # @param request: Request instance for DescribeInstanceDetail.
@@ -3101,6 +3173,54 @@ module TencentCloud
3101
3173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3102
3174
  end
3103
3175
 
3176
+ # 开启日志投递
3177
+
3178
+ # @param request: Request instance for StartCLSDelivery.
3179
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::StartCLSDeliveryRequest`
3180
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::StartCLSDeliveryResponse`
3181
+ def StartCLSDelivery(request)
3182
+ body = send_request('StartCLSDelivery', request.serialize)
3183
+ response = JSON.parse(body)
3184
+ if response['Response'].key?('Error') == false
3185
+ model = StartCLSDeliveryResponse.new
3186
+ model.deserialize(response['Response'])
3187
+ model
3188
+ else
3189
+ code = response['Response']['Error']['Code']
3190
+ message = response['Response']['Error']['Message']
3191
+ reqid = response['Response']['RequestId']
3192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3193
+ end
3194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3195
+ raise e
3196
+ rescue StandardError => e
3197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3198
+ end
3199
+
3200
+ # 停止日志投递
3201
+
3202
+ # @param request: Request instance for StopCLSDelivery.
3203
+ # @type request: :class:`Tencentcloud::cynosdb::V20190107::StopCLSDeliveryRequest`
3204
+ # @rtype: :class:`Tencentcloud::cynosdb::V20190107::StopCLSDeliveryResponse`
3205
+ def StopCLSDelivery(request)
3206
+ body = send_request('StopCLSDelivery', request.serialize)
3207
+ response = JSON.parse(body)
3208
+ if response['Response'].key?('Error') == false
3209
+ model = StopCLSDeliveryResponse.new
3210
+ model.deserialize(response['Response'])
3211
+ model
3212
+ else
3213
+ code = response['Response']['Error']['Code']
3214
+ message = response['Response']['Error']['Message']
3215
+ reqid = response['Response']['RequestId']
3216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3217
+ end
3218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3219
+ raise e
3220
+ rescue StandardError => e
3221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3222
+ end
3223
+
3104
3224
  # 更换集群vpc
3105
3225
 
3106
3226
  # @param request: Request instance for SwitchClusterVpc.
@@ -1798,6 +1798,33 @@ module TencentCloud
1798
1798
  end
1799
1799
  end
1800
1800
 
1801
+ # CreateCLSDelivery请求参数结构体
1802
+ class CreateCLSDeliveryRequest < TencentCloud::Common::AbstractModel
1803
+
1804
+
1805
+ def initialize()
1806
+ end
1807
+
1808
+ def deserialize(params)
1809
+ end
1810
+ end
1811
+
1812
+ # CreateCLSDelivery返回参数结构体
1813
+ class CreateCLSDeliveryResponse < TencentCloud::Common::AbstractModel
1814
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1815
+ # @type RequestId: String
1816
+
1817
+ attr_accessor :RequestId
1818
+
1819
+ def initialize(requestid=nil)
1820
+ @RequestId = requestid
1821
+ end
1822
+
1823
+ def deserialize(params)
1824
+ @RequestId = params['RequestId']
1825
+ end
1826
+ end
1827
+
1801
1828
  # CreateClusterDatabase请求参数结构体
1802
1829
  class CreateClusterDatabaseRequest < TencentCloud::Common::AbstractModel
1803
1830
  # @param ClusterId: 集群ID
@@ -4014,6 +4041,33 @@ module TencentCloud
4014
4041
  end
4015
4042
  end
4016
4043
 
4044
+ # DeleteCLSDelivery请求参数结构体
4045
+ class DeleteCLSDeliveryRequest < TencentCloud::Common::AbstractModel
4046
+
4047
+
4048
+ def initialize()
4049
+ end
4050
+
4051
+ def deserialize(params)
4052
+ end
4053
+ end
4054
+
4055
+ # DeleteCLSDelivery返回参数结构体
4056
+ class DeleteCLSDeliveryResponse < TencentCloud::Common::AbstractModel
4057
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4058
+ # @type RequestId: String
4059
+
4060
+ attr_accessor :RequestId
4061
+
4062
+ def initialize(requestid=nil)
4063
+ @RequestId = requestid
4064
+ end
4065
+
4066
+ def deserialize(params)
4067
+ @RequestId = params['RequestId']
4068
+ end
4069
+ end
4070
+
4017
4071
  # DeleteClusterDatabase请求参数结构体
4018
4072
  class DeleteClusterDatabaseRequest < TencentCloud::Common::AbstractModel
4019
4073
  # @param ClusterId: 集群ID
@@ -5654,6 +5708,33 @@ module TencentCloud
5654
5708
  end
5655
5709
  end
5656
5710
 
5711
+ # DescribeInstanceCLSLogDelivery请求参数结构体
5712
+ class DescribeInstanceCLSLogDeliveryRequest < TencentCloud::Common::AbstractModel
5713
+
5714
+
5715
+ def initialize()
5716
+ end
5717
+
5718
+ def deserialize(params)
5719
+ end
5720
+ end
5721
+
5722
+ # DescribeInstanceCLSLogDelivery返回参数结构体
5723
+ class DescribeInstanceCLSLogDeliveryResponse < TencentCloud::Common::AbstractModel
5724
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5725
+ # @type RequestId: String
5726
+
5727
+ attr_accessor :RequestId
5728
+
5729
+ def initialize(requestid=nil)
5730
+ @RequestId = requestid
5731
+ end
5732
+
5733
+ def deserialize(params)
5734
+ @RequestId = params['RequestId']
5735
+ end
5736
+ end
5737
+
5657
5738
  # DescribeInstanceDetail请求参数结构体
5658
5739
  class DescribeInstanceDetailRequest < TencentCloud::Common::AbstractModel
5659
5740
  # @param InstanceId: 实例ID
@@ -12329,6 +12410,60 @@ module TencentCloud
12329
12410
  end
12330
12411
  end
12331
12412
 
12413
+ # StartCLSDelivery请求参数结构体
12414
+ class StartCLSDeliveryRequest < TencentCloud::Common::AbstractModel
12415
+
12416
+
12417
+ def initialize()
12418
+ end
12419
+
12420
+ def deserialize(params)
12421
+ end
12422
+ end
12423
+
12424
+ # StartCLSDelivery返回参数结构体
12425
+ class StartCLSDeliveryResponse < TencentCloud::Common::AbstractModel
12426
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12427
+ # @type RequestId: String
12428
+
12429
+ attr_accessor :RequestId
12430
+
12431
+ def initialize(requestid=nil)
12432
+ @RequestId = requestid
12433
+ end
12434
+
12435
+ def deserialize(params)
12436
+ @RequestId = params['RequestId']
12437
+ end
12438
+ end
12439
+
12440
+ # StopCLSDelivery请求参数结构体
12441
+ class StopCLSDeliveryRequest < TencentCloud::Common::AbstractModel
12442
+
12443
+
12444
+ def initialize()
12445
+ end
12446
+
12447
+ def deserialize(params)
12448
+ end
12449
+ end
12450
+
12451
+ # StopCLSDelivery返回参数结构体
12452
+ class StopCLSDeliveryResponse < TencentCloud::Common::AbstractModel
12453
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12454
+ # @type RequestId: String
12455
+
12456
+ attr_accessor :RequestId
12457
+
12458
+ def initialize(requestid=nil)
12459
+ @RequestId = requestid
12460
+ end
12461
+
12462
+ def deserialize(params)
12463
+ @RequestId = params['RequestId']
12464
+ end
12465
+ end
12466
+
12332
12467
  # 转换集群log bin开关
12333
12468
  class SwitchClusterLogBin < TencentCloud::Common::AbstractModel
12334
12469
  # @param Status: 状态
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.818
4
+ version: 3.0.819
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-09 00:00:00.000000000 Z
11
+ date: 2024-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common