tencentcloud-sdk-mariadb 3.0.918 → 3.0.920

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: 1eebafb1b6fffced87b04130967dffa15834d43e
4
- data.tar.gz: 14d7f44cc59b6280146d856b92d14dbc7fa76f90
3
+ metadata.gz: b86b9cf8e58b3a78c91f9e93b73b464754b4cdd6
4
+ data.tar.gz: 454aba66319cd3b3ee7e8479bc55117d0886ca5a
5
5
  SHA512:
6
- metadata.gz: bd6ffa8c8389c2dd9494d464caf23a8782584fb68049e8e1fe83449fc81851e7d8d838167fd1dab861324ad5801a6d7b1158338b5ca3e40f149a237f5b3098c0
7
- data.tar.gz: 84ac2dfea6c60ad95af6fc3c4dec17ed09f24af585b6cd57c77268fa0ecfb4acdc816f9d48dff3e5c1b36156fa3ed634f2bd86266879cbc979e04ac90066afda
6
+ metadata.gz: 47acdbeb6a3c4c3d88b3e7eb0c147634b8c2821a7d86d5601239ea14e146d4bceecb88f871a6ae17c262c2c5eda56b645a0e2d67c01e09ab23cb98ed4954f89f
7
+ data.tar.gz: f2e9326da8a81d39d3f3f6b4e71cef78a6a9b1d9ce1a567c87c0f0b983d632c5e25f579e1974e75c2d2fb477814e2bb77276ba5a6e8a392e688fac1673560fbe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.918
1
+ 3.0.920
@@ -656,6 +656,30 @@ module TencentCloud
656
656
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
657
657
  end
658
658
 
659
+ # 本接口(DescribeDBSyncMode)用于查询云数据库实例的同步模式。
660
+
661
+ # @param request: Request instance for DescribeDBSyncMode.
662
+ # @type request: :class:`Tencentcloud::mariadb::V20170312::DescribeDBSyncModeRequest`
663
+ # @rtype: :class:`Tencentcloud::mariadb::V20170312::DescribeDBSyncModeResponse`
664
+ def DescribeDBSyncMode(request)
665
+ body = send_request('DescribeDBSyncMode', request.serialize)
666
+ response = JSON.parse(body)
667
+ if response['Response'].key?('Error') == false
668
+ model = DescribeDBSyncModeResponse.new
669
+ model.deserialize(response['Response'])
670
+ model
671
+ else
672
+ code = response['Response']['Error']['Code']
673
+ message = response['Response']['Error']['Message']
674
+ reqid = response['Response']['RequestId']
675
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
676
+ end
677
+ rescue TencentCloud::Common::TencentCloudSDKException => e
678
+ raise e
679
+ rescue StandardError => e
680
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
681
+ end
682
+
659
683
  # 本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例
660
684
 
661
685
  # @param request: Request instance for DescribeDBTmpInstances.
@@ -2801,6 +2801,50 @@ module TencentCloud
2801
2801
  end
2802
2802
  end
2803
2803
 
2804
+ # DescribeDBSyncMode请求参数结构体
2805
+ class DescribeDBSyncModeRequest < TencentCloud::Common::AbstractModel
2806
+ # @param InstanceId: 实例ID,形如:tdsql-ow728lmc
2807
+ # @type InstanceId: String
2808
+
2809
+ attr_accessor :InstanceId
2810
+
2811
+ def initialize(instanceid=nil)
2812
+ @InstanceId = instanceid
2813
+ end
2814
+
2815
+ def deserialize(params)
2816
+ @InstanceId = params['InstanceId']
2817
+ end
2818
+ end
2819
+
2820
+ # DescribeDBSyncMode返回参数结构体
2821
+ class DescribeDBSyncModeResponse < TencentCloud::Common::AbstractModel
2822
+ # @param SyncMode: 同步模式:0 异步,1 强同步, 2 强同步可退化
2823
+ # @type SyncMode: Integer
2824
+ # @param IsModifying: 是否有修改流程在执行中:1 是, 0 否。
2825
+ # @type IsModifying: Integer
2826
+ # @param CurrentSyncMode: 当前复制方式,0 异步,1 同步
2827
+ # @type CurrentSyncMode: Integer
2828
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2829
+ # @type RequestId: String
2830
+
2831
+ attr_accessor :SyncMode, :IsModifying, :CurrentSyncMode, :RequestId
2832
+
2833
+ def initialize(syncmode=nil, ismodifying=nil, currentsyncmode=nil, requestid=nil)
2834
+ @SyncMode = syncmode
2835
+ @IsModifying = ismodifying
2836
+ @CurrentSyncMode = currentsyncmode
2837
+ @RequestId = requestid
2838
+ end
2839
+
2840
+ def deserialize(params)
2841
+ @SyncMode = params['SyncMode']
2842
+ @IsModifying = params['IsModifying']
2843
+ @CurrentSyncMode = params['CurrentSyncMode']
2844
+ @RequestId = params['RequestId']
2845
+ end
2846
+ end
2847
+
2804
2848
  # DescribeDBTmpInstances请求参数结构体
2805
2849
  class DescribeDBTmpInstancesRequest < TencentCloud::Common::AbstractModel
2806
2850
  # @param InstanceId: 实例ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mariadb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.918
4
+ version: 3.0.920
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-09-30 00:00:00.000000000 Z
11
+ date: 2024-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common