tencentcloud-sdk-python-mariadb 3.0.1241__tar.gz → 3.0.1249__tar.gz

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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
  5. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/mariadb/v20170312/models.py +94 -0
  6. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud_sdk_python_mariadb.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-mariadb-3.0.1249/tencentcloud_sdk_python_mariadb.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-mariadb-3.0.1241/tencentcloud_sdk_python_mariadb.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/README.rst +0 -0
  10. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/mariadb/__init__.py +0 -0
  12. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/mariadb/v20170312/__init__.py +0 -0
  13. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud/mariadb/v20170312/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud_sdk_python_mariadb.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud_sdk_python_mariadb.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mariadb-3.0.1241 → tencentcloud-sdk-python-mariadb-3.0.1249}/tencentcloud_sdk_python_mariadb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mariadb
3
- Version: 3.0.1241
3
+ Version: 3.0.1249
4
4
  Summary: Tencent Cloud Mariadb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mariadb',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1241"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1249"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Mariadb SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1241'
17
+ __version__ = '3.0.1249'
@@ -627,6 +627,29 @@ class MariadbClient(AbstractClient):
627
627
  raise TencentCloudSDKException(type(e).__name__, str(e))
628
628
 
629
629
 
630
+ def DescribeDBSyncMode(self, request):
631
+ """本接口(DescribeDBSyncMode)用于查询云数据库实例的同步模式。
632
+
633
+ :param request: Request instance for DescribeDBSyncMode.
634
+ :type request: :class:`tencentcloud.mariadb.v20170312.models.DescribeDBSyncModeRequest`
635
+ :rtype: :class:`tencentcloud.mariadb.v20170312.models.DescribeDBSyncModeResponse`
636
+
637
+ """
638
+ try:
639
+ params = request._serialize()
640
+ headers = request.headers
641
+ body = self.call("DescribeDBSyncMode", params, headers=headers)
642
+ response = json.loads(body)
643
+ model = models.DescribeDBSyncModeResponse()
644
+ model._deserialize(response["Response"])
645
+ return model
646
+ except Exception as e:
647
+ if isinstance(e, TencentCloudSDKException):
648
+ raise
649
+ else:
650
+ raise TencentCloudSDKException(type(e).__name__, str(e))
651
+
652
+
630
653
  def DescribeDBTmpInstances(self, request):
631
654
  """本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例
632
655
 
@@ -6596,6 +6596,100 @@ class DescribeDBSlowLogsResponse(AbstractModel):
6596
6596
  self._RequestId = params.get("RequestId")
6597
6597
 
6598
6598
 
6599
+ class DescribeDBSyncModeRequest(AbstractModel):
6600
+ """DescribeDBSyncMode请求参数结构体
6601
+
6602
+ """
6603
+
6604
+ def __init__(self):
6605
+ r"""
6606
+ :param _InstanceId: 实例ID,形如:tdsql-ow728lmc
6607
+ :type InstanceId: str
6608
+ """
6609
+ self._InstanceId = None
6610
+
6611
+ @property
6612
+ def InstanceId(self):
6613
+ return self._InstanceId
6614
+
6615
+ @InstanceId.setter
6616
+ def InstanceId(self, InstanceId):
6617
+ self._InstanceId = InstanceId
6618
+
6619
+
6620
+ def _deserialize(self, params):
6621
+ self._InstanceId = params.get("InstanceId")
6622
+ memeber_set = set(params.keys())
6623
+ for name, value in vars(self).items():
6624
+ property_name = name[1:]
6625
+ if property_name in memeber_set:
6626
+ memeber_set.remove(property_name)
6627
+ if len(memeber_set) > 0:
6628
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
6629
+
6630
+
6631
+
6632
+ class DescribeDBSyncModeResponse(AbstractModel):
6633
+ """DescribeDBSyncMode返回参数结构体
6634
+
6635
+ """
6636
+
6637
+ def __init__(self):
6638
+ r"""
6639
+ :param _SyncMode: 同步模式:0 异步,1 强同步, 2 强同步可退化
6640
+ :type SyncMode: int
6641
+ :param _IsModifying: 是否有修改流程在执行中:1 是, 0 否。
6642
+ :type IsModifying: int
6643
+ :param _CurrentSyncMode: 当前复制方式,0 异步,1 同步
6644
+ :type CurrentSyncMode: int
6645
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6646
+ :type RequestId: str
6647
+ """
6648
+ self._SyncMode = None
6649
+ self._IsModifying = None
6650
+ self._CurrentSyncMode = None
6651
+ self._RequestId = None
6652
+
6653
+ @property
6654
+ def SyncMode(self):
6655
+ return self._SyncMode
6656
+
6657
+ @SyncMode.setter
6658
+ def SyncMode(self, SyncMode):
6659
+ self._SyncMode = SyncMode
6660
+
6661
+ @property
6662
+ def IsModifying(self):
6663
+ return self._IsModifying
6664
+
6665
+ @IsModifying.setter
6666
+ def IsModifying(self, IsModifying):
6667
+ self._IsModifying = IsModifying
6668
+
6669
+ @property
6670
+ def CurrentSyncMode(self):
6671
+ return self._CurrentSyncMode
6672
+
6673
+ @CurrentSyncMode.setter
6674
+ def CurrentSyncMode(self, CurrentSyncMode):
6675
+ self._CurrentSyncMode = CurrentSyncMode
6676
+
6677
+ @property
6678
+ def RequestId(self):
6679
+ return self._RequestId
6680
+
6681
+ @RequestId.setter
6682
+ def RequestId(self, RequestId):
6683
+ self._RequestId = RequestId
6684
+
6685
+
6686
+ def _deserialize(self, params):
6687
+ self._SyncMode = params.get("SyncMode")
6688
+ self._IsModifying = params.get("IsModifying")
6689
+ self._CurrentSyncMode = params.get("CurrentSyncMode")
6690
+ self._RequestId = params.get("RequestId")
6691
+
6692
+
6599
6693
  class DescribeDBTmpInstancesRequest(AbstractModel):
6600
6694
  """DescribeDBTmpInstances请求参数结构体
6601
6695
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mariadb
3
- Version: 3.0.1241
3
+ Version: 3.0.1249
4
4
  Summary: Tencent Cloud Mariadb SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1249
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1241