tencentcloud-sdk-python-cdb 3.1.93__tar.gz → 3.1.99__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.
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/v20170320/models.py +38 -44
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.99/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.93/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.93 → tencentcloud_sdk_python_cdb-3.1.99}/tencentcloud_sdk_python_cdb.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.99
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.99
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-cdb',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.99,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -537,41 +537,38 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
537
537
|
|
|
538
538
|
def __init__(self):
|
|
539
539
|
r"""
|
|
540
|
-
:param _ProxyGroupId:
|
|
540
|
+
:param _ProxyGroupId: <p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
541
541
|
:type ProxyGroupId: str
|
|
542
|
-
:param _WeightMode:
|
|
543
|
-
系统自动分配:"system", 自定义:"custom"
|
|
542
|
+
:param _WeightMode: <p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
544
543
|
:type WeightMode: str
|
|
545
|
-
:param _IsKickOut:
|
|
544
|
+
:param _IsKickOut: <p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
546
545
|
:type IsKickOut: bool
|
|
547
|
-
:param _MinCount:
|
|
548
|
-
说明:当 IsKickOut 为 true 时才有效。
|
|
546
|
+
:param _MinCount: <p>最小保留数量,最小取值:0。<br>说明:当 IsKickOut 为 true 时才有效。</p>
|
|
549
547
|
:type MinCount: int
|
|
550
|
-
:param _MaxDelay:
|
|
548
|
+
:param _MaxDelay: <p>延迟剔除阈值,最小取值:1,取值范围:[1,10000],整数。</p>
|
|
551
549
|
:type MaxDelay: int
|
|
552
|
-
:param _FailOver:
|
|
550
|
+
:param _FailOver: <p>是否开启故障转移,取值:"true" | "false"</p>
|
|
553
551
|
:type FailOver: bool
|
|
554
|
-
:param _AutoAddRo:
|
|
552
|
+
:param _AutoAddRo: <p>是否自动添加RO,取值:"true" | "false"</p>
|
|
555
553
|
:type AutoAddRo: bool
|
|
556
|
-
:param _ReadOnly:
|
|
554
|
+
:param _ReadOnly: <p>是否是只读,取值:"true" | "false"</p>
|
|
557
555
|
:type ReadOnly: bool
|
|
558
|
-
:param _ProxyAddressId:
|
|
556
|
+
:param _ProxyAddressId: <p>代理组地址 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
559
557
|
:type ProxyAddressId: str
|
|
560
|
-
:param _TransSplit:
|
|
558
|
+
:param _TransSplit: <p>是否开启事务分离,取值:"true" | "false",默认值 false。</p>
|
|
561
559
|
:type TransSplit: bool
|
|
562
|
-
:param _ConnectionPool:
|
|
563
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
560
|
+
:param _ConnectionPool: <p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
564
561
|
:type ConnectionPool: bool
|
|
565
|
-
:param _ProxyAllocation:
|
|
562
|
+
:param _ProxyAllocation: <p>读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
566
563
|
:type ProxyAllocation: list of ProxyAllocation
|
|
567
|
-
:param _AutoLoadBalance:
|
|
564
|
+
:param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
|
|
568
565
|
:type AutoLoadBalance: bool
|
|
569
|
-
:param _AccessMode:
|
|
566
|
+
:param _AccessMode: <p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
|
|
570
567
|
:type AccessMode: str
|
|
571
|
-
:param _ApNodeAsRoNode:
|
|
572
|
-
:type ApNodeAsRoNode:
|
|
573
|
-
:param _ApQueryToOtherNode: libra
|
|
574
|
-
:type ApQueryToOtherNode:
|
|
568
|
+
:param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
|
|
569
|
+
:type ApNodeAsRoNode: bool
|
|
570
|
+
:param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
|
|
571
|
+
:type ApQueryToOtherNode: bool
|
|
575
572
|
"""
|
|
576
573
|
self._ProxyGroupId = None
|
|
577
574
|
self._WeightMode = None
|
|
@@ -592,7 +589,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
592
589
|
|
|
593
590
|
@property
|
|
594
591
|
def ProxyGroupId(self):
|
|
595
|
-
r"""
|
|
592
|
+
r"""<p>代理组 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
596
593
|
:rtype: str
|
|
597
594
|
"""
|
|
598
595
|
return self._ProxyGroupId
|
|
@@ -603,8 +600,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
603
600
|
|
|
604
601
|
@property
|
|
605
602
|
def WeightMode(self):
|
|
606
|
-
r"""
|
|
607
|
-
系统自动分配:"system", 自定义:"custom"
|
|
603
|
+
r"""<p>权重分配模式,<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
608
604
|
:rtype: str
|
|
609
605
|
"""
|
|
610
606
|
return self._WeightMode
|
|
@@ -615,7 +611,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
615
611
|
|
|
616
612
|
@property
|
|
617
613
|
def IsKickOut(self):
|
|
618
|
-
r"""
|
|
614
|
+
r"""<p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
619
615
|
:rtype: bool
|
|
620
616
|
"""
|
|
621
617
|
return self._IsKickOut
|
|
@@ -626,8 +622,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
626
622
|
|
|
627
623
|
@property
|
|
628
624
|
def MinCount(self):
|
|
629
|
-
r"""
|
|
630
|
-
说明:当 IsKickOut 为 true 时才有效。
|
|
625
|
+
r"""<p>最小保留数量,最小取值:0。<br>说明:当 IsKickOut 为 true 时才有效。</p>
|
|
631
626
|
:rtype: int
|
|
632
627
|
"""
|
|
633
628
|
return self._MinCount
|
|
@@ -638,7 +633,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
638
633
|
|
|
639
634
|
@property
|
|
640
635
|
def MaxDelay(self):
|
|
641
|
-
r"""
|
|
636
|
+
r"""<p>延迟剔除阈值,最小取值:1,取值范围:[1,10000],整数。</p>
|
|
642
637
|
:rtype: int
|
|
643
638
|
"""
|
|
644
639
|
return self._MaxDelay
|
|
@@ -649,7 +644,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
649
644
|
|
|
650
645
|
@property
|
|
651
646
|
def FailOver(self):
|
|
652
|
-
r"""
|
|
647
|
+
r"""<p>是否开启故障转移,取值:"true" | "false"</p>
|
|
653
648
|
:rtype: bool
|
|
654
649
|
"""
|
|
655
650
|
return self._FailOver
|
|
@@ -660,7 +655,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
660
655
|
|
|
661
656
|
@property
|
|
662
657
|
def AutoAddRo(self):
|
|
663
|
-
r"""
|
|
658
|
+
r"""<p>是否自动添加RO,取值:"true" | "false"</p>
|
|
664
659
|
:rtype: bool
|
|
665
660
|
"""
|
|
666
661
|
return self._AutoAddRo
|
|
@@ -671,7 +666,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
671
666
|
|
|
672
667
|
@property
|
|
673
668
|
def ReadOnly(self):
|
|
674
|
-
r"""
|
|
669
|
+
r"""<p>是否是只读,取值:"true" | "false"</p>
|
|
675
670
|
:rtype: bool
|
|
676
671
|
"""
|
|
677
672
|
return self._ReadOnly
|
|
@@ -682,7 +677,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
682
677
|
|
|
683
678
|
@property
|
|
684
679
|
def ProxyAddressId(self):
|
|
685
|
-
r"""
|
|
680
|
+
r"""<p>代理组地址 ID。可通过 <a href="https://cloud.tencent.com/document/api/236/90585">DescribeCdbProxyInfo</a> 接口获取。</p>
|
|
686
681
|
:rtype: str
|
|
687
682
|
"""
|
|
688
683
|
return self._ProxyAddressId
|
|
@@ -693,7 +688,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
693
688
|
|
|
694
689
|
@property
|
|
695
690
|
def TransSplit(self):
|
|
696
|
-
r"""
|
|
691
|
+
r"""<p>是否开启事务分离,取值:"true" | "false",默认值 false。</p>
|
|
697
692
|
:rtype: bool
|
|
698
693
|
"""
|
|
699
694
|
return self._TransSplit
|
|
@@ -704,8 +699,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
704
699
|
|
|
705
700
|
@property
|
|
706
701
|
def ConnectionPool(self):
|
|
707
|
-
r"""
|
|
708
|
-
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
|
702
|
+
r"""<p>是否开启连接池。默认关闭。<br>注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。</p>
|
|
709
703
|
:rtype: bool
|
|
710
704
|
"""
|
|
711
705
|
return self._ConnectionPool
|
|
@@ -716,7 +710,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
716
710
|
|
|
717
711
|
@property
|
|
718
712
|
def ProxyAllocation(self):
|
|
719
|
-
r"""
|
|
713
|
+
r"""<p>读写权重分配。如果 WeightMode 传的是 system ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
720
714
|
:rtype: list of ProxyAllocation
|
|
721
715
|
"""
|
|
722
716
|
return self._ProxyAllocation
|
|
@@ -727,7 +721,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
727
721
|
|
|
728
722
|
@property
|
|
729
723
|
def AutoLoadBalance(self):
|
|
730
|
-
r"""
|
|
724
|
+
r"""<p>是否开启自适应负载均衡。默认关闭。</p>
|
|
731
725
|
:rtype: bool
|
|
732
726
|
"""
|
|
733
727
|
return self._AutoLoadBalance
|
|
@@ -738,7 +732,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
738
732
|
|
|
739
733
|
@property
|
|
740
734
|
def AccessMode(self):
|
|
741
|
-
r"""
|
|
735
|
+
r"""<p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
|
|
742
736
|
:rtype: str
|
|
743
737
|
"""
|
|
744
738
|
return self._AccessMode
|
|
@@ -749,8 +743,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
749
743
|
|
|
750
744
|
@property
|
|
751
745
|
def ApNodeAsRoNode(self):
|
|
752
|
-
r"""
|
|
753
|
-
:rtype:
|
|
746
|
+
r"""<p>是否将libra节点当作普通RO节点</p>
|
|
747
|
+
:rtype: bool
|
|
754
748
|
"""
|
|
755
749
|
return self._ApNodeAsRoNode
|
|
756
750
|
|
|
@@ -760,8 +754,8 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
|
|
|
760
754
|
|
|
761
755
|
@property
|
|
762
756
|
def ApQueryToOtherNode(self):
|
|
763
|
-
r"""libra
|
|
764
|
-
:rtype:
|
|
757
|
+
r"""<p>libra节点故障,是否转发给其他节点</p>
|
|
758
|
+
:rtype: bool
|
|
765
759
|
"""
|
|
766
760
|
return self._ApQueryToOtherNode
|
|
767
761
|
|
|
@@ -809,7 +803,7 @@ class AdjustCdbProxyAddressResponse(AbstractModel):
|
|
|
809
803
|
|
|
810
804
|
def __init__(self):
|
|
811
805
|
r"""
|
|
812
|
-
:param _AsyncRequestId:
|
|
806
|
+
:param _AsyncRequestId: <p>异步任务ID</p>
|
|
813
807
|
:type AsyncRequestId: str
|
|
814
808
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
815
809
|
:type RequestId: str
|
|
@@ -819,7 +813,7 @@ class AdjustCdbProxyAddressResponse(AbstractModel):
|
|
|
819
813
|
|
|
820
814
|
@property
|
|
821
815
|
def AsyncRequestId(self):
|
|
822
|
-
r"""
|
|
816
|
+
r"""<p>异步任务ID</p>
|
|
823
817
|
:rtype: str
|
|
824
818
|
"""
|
|
825
819
|
return self._AsyncRequestId
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cdb
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.99
|
|
4
4
|
Summary: Tencent Cloud Cdb SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.99
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.99
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.93
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|