tencentcloud-sdk-mariadb 3.0.919 → 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: a9ac9cce08aa7691672b0ab9efefca86528cf211
4
- data.tar.gz: c39f74ce539aeffdcbeb6dc57dfdb34391eeab72
3
+ metadata.gz: b86b9cf8e58b3a78c91f9e93b73b464754b4cdd6
4
+ data.tar.gz: 454aba66319cd3b3ee7e8479bc55117d0886ca5a
5
5
  SHA512:
6
- metadata.gz: d721ac36bbaf53b145a5b713531e6c40977779bd0f30a071ef6a3e8c6a406b61b3b67068d88a4f315549ab70279a7a7e04a33f49dbd5f2c9f7f8955e297d2644
7
- data.tar.gz: 00c84cec5c55d0d21999099f816852e05945ec0af81c02210c152ddf465e107f1f9354b3606ce99c72bca0f4bbee06ca5a3571639a1cc7da8f1bfb6f83ff47f6
6
+ metadata.gz: 47acdbeb6a3c4c3d88b3e7eb0c147634b8c2821a7d86d5601239ea14e146d4bceecb88f871a6ae17c262c2c5eda56b645a0e2d67c01e09ab23cb98ed4954f89f
7
+ data.tar.gz: f2e9326da8a81d39d3f3f6b4e71cef78a6a9b1d9ce1a567c87c0f0b983d632c5e25f579e1974e75c2d2fb477814e2bb77276ba5a6e8a392e688fac1673560fbe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.919
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.919
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-10-08 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