tencentcloud-sdk-python-cdb 3.1.44__tar.gz → 3.1.54__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.44 → tencentcloud_sdk_python_cdb-3.1.54}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/v20170320/models.py +47 -34
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.54/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.44/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.44 → tencentcloud_sdk_python_cdb-3.1.54}/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.54
|
|
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.54
|
|
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.54,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -12134,6 +12134,8 @@ class DescribeAccountsRequest(AbstractModel):
|
|
|
12134
12134
|
:type SortBy: str
|
|
12135
12135
|
:param _OrderBy: 待排序的时间字段,可选:CreateTime(账号创建时间)、ModifyTime(账号更新时间)、ModifyPasswordTime(密码修改时间)
|
|
12136
12136
|
:type OrderBy: str
|
|
12137
|
+
:param _HostRegexp: 匹配账号主机地址(Host)的正则表达式,规则同 MySQL 官网
|
|
12138
|
+
:type HostRegexp: str
|
|
12137
12139
|
"""
|
|
12138
12140
|
self._InstanceId = None
|
|
12139
12141
|
self._Offset = None
|
|
@@ -12141,6 +12143,7 @@ class DescribeAccountsRequest(AbstractModel):
|
|
|
12141
12143
|
self._AccountRegexp = None
|
|
12142
12144
|
self._SortBy = None
|
|
12143
12145
|
self._OrderBy = None
|
|
12146
|
+
self._HostRegexp = None
|
|
12144
12147
|
|
|
12145
12148
|
@property
|
|
12146
12149
|
def InstanceId(self):
|
|
@@ -12208,6 +12211,17 @@ class DescribeAccountsRequest(AbstractModel):
|
|
|
12208
12211
|
def OrderBy(self, OrderBy):
|
|
12209
12212
|
self._OrderBy = OrderBy
|
|
12210
12213
|
|
|
12214
|
+
@property
|
|
12215
|
+
def HostRegexp(self):
|
|
12216
|
+
r"""匹配账号主机地址(Host)的正则表达式,规则同 MySQL 官网
|
|
12217
|
+
:rtype: str
|
|
12218
|
+
"""
|
|
12219
|
+
return self._HostRegexp
|
|
12220
|
+
|
|
12221
|
+
@HostRegexp.setter
|
|
12222
|
+
def HostRegexp(self, HostRegexp):
|
|
12223
|
+
self._HostRegexp = HostRegexp
|
|
12224
|
+
|
|
12211
12225
|
|
|
12212
12226
|
def _deserialize(self, params):
|
|
12213
12227
|
self._InstanceId = params.get("InstanceId")
|
|
@@ -12216,6 +12230,7 @@ class DescribeAccountsRequest(AbstractModel):
|
|
|
12216
12230
|
self._AccountRegexp = params.get("AccountRegexp")
|
|
12217
12231
|
self._SortBy = params.get("SortBy")
|
|
12218
12232
|
self._OrderBy = params.get("OrderBy")
|
|
12233
|
+
self._HostRegexp = params.get("HostRegexp")
|
|
12219
12234
|
memeber_set = set(params.keys())
|
|
12220
12235
|
for name, value in vars(self).items():
|
|
12221
12236
|
property_name = name[1:]
|
|
@@ -34672,38 +34687,37 @@ class RoGroup(AbstractModel):
|
|
|
34672
34687
|
|
|
34673
34688
|
def __init__(self):
|
|
34674
34689
|
r"""
|
|
34675
|
-
:param _RoGroupMode:
|
|
34690
|
+
:param _RoGroupMode: <p>只读组模式,可选值为:alone-系统自动分配只读组;allinone-新建只读组;join-使用现有只读组。</p>
|
|
34676
34691
|
:type RoGroupMode: str
|
|
34677
|
-
:param _RoGroupId:
|
|
34678
|
-
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
|
|
34692
|
+
:param _RoGroupId: <p>只读组 ID。<br>说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。</p>
|
|
34679
34693
|
:type RoGroupId: str
|
|
34680
|
-
:param _RoGroupName:
|
|
34694
|
+
:param _RoGroupName: <p>只读组名称。</p>
|
|
34681
34695
|
:type RoGroupName: str
|
|
34682
|
-
:param _RoOfflineDelay:
|
|
34696
|
+
:param _RoOfflineDelay: <p>是否启用延迟超限剔除功能,启用该功能后,只读实例与主实例的延迟超过延迟阈值,只读实例将被隔离。可选值:1-启用;0-不启用。</p>
|
|
34683
34697
|
:type RoOfflineDelay: int
|
|
34684
|
-
:param _RoMaxDelayTime:
|
|
34698
|
+
:param _RoMaxDelayTime: <p>延迟阈值。单位:秒。值范围:1-10000,整数。</p>
|
|
34685
34699
|
:type RoMaxDelayTime: int
|
|
34686
|
-
:param _MinRoInGroup:
|
|
34700
|
+
:param _MinRoInGroup: <p>最少实例保留个数,若购买只读实例数量小于设置数量将不做剔除。</p>
|
|
34687
34701
|
:type MinRoInGroup: int
|
|
34688
|
-
:param _WeightMode:
|
|
34702
|
+
:param _WeightMode: <p>读写权重分配模式,可选值:system-系统自动分配;custom-自定义。</p>
|
|
34689
34703
|
:type WeightMode: str
|
|
34690
|
-
:param _Weight:
|
|
34704
|
+
:param _Weight: <p>该字段已经废弃,无意义。查看只读实例的权重,请查看 RoInstances 字段里的 Weight 值。</p>
|
|
34691
34705
|
:type Weight: int
|
|
34692
|
-
:param _RoInstances:
|
|
34706
|
+
:param _RoInstances: <p>只读组中的只读实例详情。</p>
|
|
34693
34707
|
:type RoInstances: list of RoInstanceInfo
|
|
34694
|
-
:param _Vip:
|
|
34708
|
+
:param _Vip: <p>只读组的内网 IP。</p>
|
|
34695
34709
|
:type Vip: str
|
|
34696
|
-
:param _Vport:
|
|
34710
|
+
:param _Vport: <p>只读组的内网端口号。</p>
|
|
34697
34711
|
:type Vport: int
|
|
34698
|
-
:param _UniqVpcId:
|
|
34712
|
+
:param _UniqVpcId: <p>私有网络 ID。</p>
|
|
34699
34713
|
:type UniqVpcId: str
|
|
34700
|
-
:param _UniqSubnetId:
|
|
34714
|
+
:param _UniqSubnetId: <p>子网 ID。</p>
|
|
34701
34715
|
:type UniqSubnetId: str
|
|
34702
|
-
:param _RoGroupRegion:
|
|
34716
|
+
:param _RoGroupRegion: <p>只读组所在的地域。</p>
|
|
34703
34717
|
:type RoGroupRegion: str
|
|
34704
|
-
:param _RoGroupZone:
|
|
34718
|
+
:param _RoGroupZone: <p>只读组所在的可用区。</p>
|
|
34705
34719
|
:type RoGroupZone: str
|
|
34706
|
-
:param _DelayReplicationTime:
|
|
34720
|
+
:param _DelayReplicationTime: <p>延迟复制时间。单位:秒。值范围:1-259200,整数。</p>
|
|
34707
34721
|
:type DelayReplicationTime: int
|
|
34708
34722
|
"""
|
|
34709
34723
|
self._RoGroupMode = None
|
|
@@ -34725,7 +34739,7 @@ class RoGroup(AbstractModel):
|
|
|
34725
34739
|
|
|
34726
34740
|
@property
|
|
34727
34741
|
def RoGroupMode(self):
|
|
34728
|
-
r"""
|
|
34742
|
+
r"""<p>只读组模式,可选值为:alone-系统自动分配只读组;allinone-新建只读组;join-使用现有只读组。</p>
|
|
34729
34743
|
:rtype: str
|
|
34730
34744
|
"""
|
|
34731
34745
|
return self._RoGroupMode
|
|
@@ -34736,8 +34750,7 @@ class RoGroup(AbstractModel):
|
|
|
34736
34750
|
|
|
34737
34751
|
@property
|
|
34738
34752
|
def RoGroupId(self):
|
|
34739
|
-
r"""
|
|
34740
|
-
说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。
|
|
34753
|
+
r"""<p>只读组 ID。<br>说明:若此数据结构在购买实例操作中被使用,则当只读组模式选择 join 时,此项为必填。</p>
|
|
34741
34754
|
:rtype: str
|
|
34742
34755
|
"""
|
|
34743
34756
|
return self._RoGroupId
|
|
@@ -34748,7 +34761,7 @@ class RoGroup(AbstractModel):
|
|
|
34748
34761
|
|
|
34749
34762
|
@property
|
|
34750
34763
|
def RoGroupName(self):
|
|
34751
|
-
r"""
|
|
34764
|
+
r"""<p>只读组名称。</p>
|
|
34752
34765
|
:rtype: str
|
|
34753
34766
|
"""
|
|
34754
34767
|
return self._RoGroupName
|
|
@@ -34759,7 +34772,7 @@ class RoGroup(AbstractModel):
|
|
|
34759
34772
|
|
|
34760
34773
|
@property
|
|
34761
34774
|
def RoOfflineDelay(self):
|
|
34762
|
-
r"""
|
|
34775
|
+
r"""<p>是否启用延迟超限剔除功能,启用该功能后,只读实例与主实例的延迟超过延迟阈值,只读实例将被隔离。可选值:1-启用;0-不启用。</p>
|
|
34763
34776
|
:rtype: int
|
|
34764
34777
|
"""
|
|
34765
34778
|
return self._RoOfflineDelay
|
|
@@ -34770,7 +34783,7 @@ class RoGroup(AbstractModel):
|
|
|
34770
34783
|
|
|
34771
34784
|
@property
|
|
34772
34785
|
def RoMaxDelayTime(self):
|
|
34773
|
-
r"""
|
|
34786
|
+
r"""<p>延迟阈值。单位:秒。值范围:1-10000,整数。</p>
|
|
34774
34787
|
:rtype: int
|
|
34775
34788
|
"""
|
|
34776
34789
|
return self._RoMaxDelayTime
|
|
@@ -34781,7 +34794,7 @@ class RoGroup(AbstractModel):
|
|
|
34781
34794
|
|
|
34782
34795
|
@property
|
|
34783
34796
|
def MinRoInGroup(self):
|
|
34784
|
-
r"""
|
|
34797
|
+
r"""<p>最少实例保留个数,若购买只读实例数量小于设置数量将不做剔除。</p>
|
|
34785
34798
|
:rtype: int
|
|
34786
34799
|
"""
|
|
34787
34800
|
return self._MinRoInGroup
|
|
@@ -34792,7 +34805,7 @@ class RoGroup(AbstractModel):
|
|
|
34792
34805
|
|
|
34793
34806
|
@property
|
|
34794
34807
|
def WeightMode(self):
|
|
34795
|
-
r"""
|
|
34808
|
+
r"""<p>读写权重分配模式,可选值:system-系统自动分配;custom-自定义。</p>
|
|
34796
34809
|
:rtype: str
|
|
34797
34810
|
"""
|
|
34798
34811
|
return self._WeightMode
|
|
@@ -34803,7 +34816,7 @@ class RoGroup(AbstractModel):
|
|
|
34803
34816
|
|
|
34804
34817
|
@property
|
|
34805
34818
|
def Weight(self):
|
|
34806
|
-
r"""
|
|
34819
|
+
r"""<p>该字段已经废弃,无意义。查看只读实例的权重,请查看 RoInstances 字段里的 Weight 值。</p>
|
|
34807
34820
|
:rtype: int
|
|
34808
34821
|
"""
|
|
34809
34822
|
return self._Weight
|
|
@@ -34814,7 +34827,7 @@ class RoGroup(AbstractModel):
|
|
|
34814
34827
|
|
|
34815
34828
|
@property
|
|
34816
34829
|
def RoInstances(self):
|
|
34817
|
-
r"""
|
|
34830
|
+
r"""<p>只读组中的只读实例详情。</p>
|
|
34818
34831
|
:rtype: list of RoInstanceInfo
|
|
34819
34832
|
"""
|
|
34820
34833
|
return self._RoInstances
|
|
@@ -34825,7 +34838,7 @@ class RoGroup(AbstractModel):
|
|
|
34825
34838
|
|
|
34826
34839
|
@property
|
|
34827
34840
|
def Vip(self):
|
|
34828
|
-
r"""
|
|
34841
|
+
r"""<p>只读组的内网 IP。</p>
|
|
34829
34842
|
:rtype: str
|
|
34830
34843
|
"""
|
|
34831
34844
|
return self._Vip
|
|
@@ -34836,7 +34849,7 @@ class RoGroup(AbstractModel):
|
|
|
34836
34849
|
|
|
34837
34850
|
@property
|
|
34838
34851
|
def Vport(self):
|
|
34839
|
-
r"""
|
|
34852
|
+
r"""<p>只读组的内网端口号。</p>
|
|
34840
34853
|
:rtype: int
|
|
34841
34854
|
"""
|
|
34842
34855
|
return self._Vport
|
|
@@ -34847,7 +34860,7 @@ class RoGroup(AbstractModel):
|
|
|
34847
34860
|
|
|
34848
34861
|
@property
|
|
34849
34862
|
def UniqVpcId(self):
|
|
34850
|
-
r"""
|
|
34863
|
+
r"""<p>私有网络 ID。</p>
|
|
34851
34864
|
:rtype: str
|
|
34852
34865
|
"""
|
|
34853
34866
|
return self._UniqVpcId
|
|
@@ -34858,7 +34871,7 @@ class RoGroup(AbstractModel):
|
|
|
34858
34871
|
|
|
34859
34872
|
@property
|
|
34860
34873
|
def UniqSubnetId(self):
|
|
34861
|
-
r"""
|
|
34874
|
+
r"""<p>子网 ID。</p>
|
|
34862
34875
|
:rtype: str
|
|
34863
34876
|
"""
|
|
34864
34877
|
return self._UniqSubnetId
|
|
@@ -34869,7 +34882,7 @@ class RoGroup(AbstractModel):
|
|
|
34869
34882
|
|
|
34870
34883
|
@property
|
|
34871
34884
|
def RoGroupRegion(self):
|
|
34872
|
-
r"""
|
|
34885
|
+
r"""<p>只读组所在的地域。</p>
|
|
34873
34886
|
:rtype: str
|
|
34874
34887
|
"""
|
|
34875
34888
|
return self._RoGroupRegion
|
|
@@ -34880,7 +34893,7 @@ class RoGroup(AbstractModel):
|
|
|
34880
34893
|
|
|
34881
34894
|
@property
|
|
34882
34895
|
def RoGroupZone(self):
|
|
34883
|
-
r"""
|
|
34896
|
+
r"""<p>只读组所在的可用区。</p>
|
|
34884
34897
|
:rtype: str
|
|
34885
34898
|
"""
|
|
34886
34899
|
return self._RoGroupZone
|
|
@@ -34891,7 +34904,7 @@ class RoGroup(AbstractModel):
|
|
|
34891
34904
|
|
|
34892
34905
|
@property
|
|
34893
34906
|
def DelayReplicationTime(self):
|
|
34894
|
-
r"""
|
|
34907
|
+
r"""<p>延迟复制时间。单位:秒。值范围:1-259200,整数。</p>
|
|
34895
34908
|
:rtype: int
|
|
34896
34909
|
"""
|
|
34897
34910
|
return self._DelayReplicationTime
|
|
@@ -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.54
|
|
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.54
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.54
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.44
|
|
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
|