tencentcloud-sdk-python-cynosdb 3.1.108__tar.gz → 3.1.111__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 (17) hide show
  1. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/v20190107/models.py +129 -170
  5. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud_sdk_python_cynosdb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cynosdb-3.1.111/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cynosdb-3.1.108/tencentcloud_sdk_python_cynosdb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/v20190107/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/v20190107/cynosdb_client.py +0 -0
  13. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/v20190107/cynosdb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud/cynosdb/v20190107/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud_sdk_python_cynosdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud_sdk_python_cynosdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cynosdb-3.1.108 → tencentcloud_sdk_python_cynosdb-3.1.111}/tencentcloud_sdk_python_cynosdb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.108
3
+ Version: 3.1.111
4
4
  Summary: Tencent Cloud Cynosdb 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.108
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.111
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-cynosdb',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.108,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.111,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cynosdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.108'
17
+ __version__ = '3.1.111'
@@ -10820,60 +10820,41 @@ class CreateProxyEndPointRequest(AbstractModel):
10820
10820
 
10821
10821
  def __init__(self):
10822
10822
  r"""
10823
- :param _ClusterId: 集群 ID
10823
+ :param _ClusterId: <p>集群 ID。</p>
10824
10824
  :type ClusterId: str
10825
- :param _UniqueVpcId: 私有网络 ID,默认与集群私有网络 ID 保持一致。
10825
+ :param _UniqueVpcId: <p>私有网络 ID。</p>
10826
10826
  :type UniqueVpcId: str
10827
- :param _UniqueSubnetId: 私有网络子网 ID,默认与集群子网 ID 保持一致。
10827
+ :param _UniqueSubnetId: <p>私有网络子网 ID。</p>
10828
10828
  :type UniqueSubnetId: str
10829
- :param _ConnectionPoolType: 连接池类型:SessionConnectionPool(会话级别连接池)。
10829
+ :param _ConnectionPoolType: <p>连接池类型:SessionConnectionPool(会话级别连接池)。</p>
10830
10830
  :type ConnectionPoolType: str
10831
- :param _OpenConnectionPool: 是否开启连接池。
10832
- yes:表示开启。
10833
- no:表示不开启。
10831
+ :param _OpenConnectionPool: <p>是否开启连接池。<br>yes:表示开启。<br>no:表示不开启。</p>
10834
10832
  :type OpenConnectionPool: str
10835
- :param _ConnectionPoolTimeOut: 连接池阈值:单位(秒),可选范围:0 - 300秒。
10833
+ :param _ConnectionPoolTimeOut: <p>连接池阈值:单位(秒),可选范围:0 - 300秒。</p>
10836
10834
  :type ConnectionPoolTimeOut: int
10837
- :param _SecurityGroupIds: 绑定的安全组 ID 数组。
10835
+ :param _SecurityGroupIds: <p>绑定的安全组 ID 数组。</p>
10838
10836
  :type SecurityGroupIds: list of str
10839
- :param _Description: 描述说明。
10837
+ :param _Description: <p>描述说明。</p>
10840
10838
  :type Description: str
10841
- :param _Vip: 想要绑定的 vip 信息,需与 UniqueVpcId 对应。
10839
+ :param _Vip: <p>想要绑定的 vip 信息,需与 UniqueVpcId 对应。</p>
10842
10840
  :type Vip: str
10843
- :param _WeightMode: 权重模式:
10844
- system:系统分配。
10845
- custom:自定义。
10841
+ :param _WeightMode: <p>权重模式:<br>system:系统分配。<br>custom:自定义。</p>
10846
10842
  :type WeightMode: str
10847
- :param _AutoAddRo: 是否自动添加只读实例。
10848
- yes:表示自动添加只读实例。
10849
- no:表示不自动添加只读实例。
10843
+ :param _AutoAddRo: <p>是否自动添加只读实例。<br>yes:表示自动添加只读实例。<br>no:表示不自动添加只读实例。</p>
10850
10844
  :type AutoAddRo: str
10851
- :param _FailOver: 是否开启故障转移。
10852
- yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
10853
- no:表示不开启。
10854
- 说明:
10855
- 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
10845
+ :param _FailOver: <p>是否开启故障转移。<br>yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。<br>no:表示不开启。<br>说明:<br>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
10856
10846
  :type FailOver: str
10857
- :param _ConsistencyType: 一致性类型:
10858
- eventual:最终一致性。
10859
- global:全局一致性。
10860
- session:会话一致性。
10861
- 说明:
10862
- 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
10847
+ :param _ConsistencyType: <p>一致性类型:<br>eventual:最终一致性。<br>global:全局一致性。<br>session:会话一致性。<br>说明:<br>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
10863
10848
  :type ConsistencyType: str
10864
- :param _RwType: 读写属性:
10865
- READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
10866
- READONLY:表示只读。
10849
+ :param _RwType: <p>读写属性:<br>READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。<br>READONLY:表示只读。</p>
10867
10850
  :type RwType: str
10868
- :param _ConsistencyTimeOut: 一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
10851
+ :param _ConsistencyTimeOut: <p>一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。</p>
10869
10852
  :type ConsistencyTimeOut: int
10870
- :param _TransSplit: 是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
10853
+ :param _TransSplit: <p>是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
10871
10854
  :type TransSplit: bool
10872
- :param _AccessMode: 接入模式:
10873
- nearby:就近访问。
10874
- balance:均衡分配。
10855
+ :param _AccessMode: <p>接入模式:<br>nearby:就近访问。<br>balance:均衡分配。</p>
10875
10856
  :type AccessMode: str
10876
- :param _InstanceWeights: 实例权重。
10857
+ :param _InstanceWeights: <p>实例权重。</p>
10877
10858
  :type InstanceWeights: list of ProxyInstanceWeight
10878
10859
  """
10879
10860
  self._ClusterId = None
@@ -10897,7 +10878,7 @@ balance:均衡分配。
10897
10878
 
10898
10879
  @property
10899
10880
  def ClusterId(self):
10900
- r"""集群 ID
10881
+ r"""<p>集群 ID。</p>
10901
10882
  :rtype: str
10902
10883
  """
10903
10884
  return self._ClusterId
@@ -10908,7 +10889,7 @@ balance:均衡分配。
10908
10889
 
10909
10890
  @property
10910
10891
  def UniqueVpcId(self):
10911
- r"""私有网络 ID,默认与集群私有网络 ID 保持一致。
10892
+ r"""<p>私有网络 ID。</p>
10912
10893
  :rtype: str
10913
10894
  """
10914
10895
  return self._UniqueVpcId
@@ -10919,7 +10900,7 @@ balance:均衡分配。
10919
10900
 
10920
10901
  @property
10921
10902
  def UniqueSubnetId(self):
10922
- r"""私有网络子网 ID,默认与集群子网 ID 保持一致。
10903
+ r"""<p>私有网络子网 ID。</p>
10923
10904
  :rtype: str
10924
10905
  """
10925
10906
  return self._UniqueSubnetId
@@ -10930,7 +10911,7 @@ balance:均衡分配。
10930
10911
 
10931
10912
  @property
10932
10913
  def ConnectionPoolType(self):
10933
- r"""连接池类型:SessionConnectionPool(会话级别连接池)。
10914
+ r"""<p>连接池类型:SessionConnectionPool(会话级别连接池)。</p>
10934
10915
  :rtype: str
10935
10916
  """
10936
10917
  return self._ConnectionPoolType
@@ -10941,9 +10922,7 @@ balance:均衡分配。
10941
10922
 
10942
10923
  @property
10943
10924
  def OpenConnectionPool(self):
10944
- r"""是否开启连接池。
10945
- yes:表示开启。
10946
- no:表示不开启。
10925
+ r"""<p>是否开启连接池。<br>yes:表示开启。<br>no:表示不开启。</p>
10947
10926
  :rtype: str
10948
10927
  """
10949
10928
  return self._OpenConnectionPool
@@ -10954,7 +10933,7 @@ no:表示不开启。
10954
10933
 
10955
10934
  @property
10956
10935
  def ConnectionPoolTimeOut(self):
10957
- r"""连接池阈值:单位(秒),可选范围:0 - 300秒。
10936
+ r"""<p>连接池阈值:单位(秒),可选范围:0 - 300秒。</p>
10958
10937
  :rtype: int
10959
10938
  """
10960
10939
  return self._ConnectionPoolTimeOut
@@ -10965,7 +10944,7 @@ no:表示不开启。
10965
10944
 
10966
10945
  @property
10967
10946
  def SecurityGroupIds(self):
10968
- r"""绑定的安全组 ID 数组。
10947
+ r"""<p>绑定的安全组 ID 数组。</p>
10969
10948
  :rtype: list of str
10970
10949
  """
10971
10950
  return self._SecurityGroupIds
@@ -10976,7 +10955,7 @@ no:表示不开启。
10976
10955
 
10977
10956
  @property
10978
10957
  def Description(self):
10979
- r"""描述说明。
10958
+ r"""<p>描述说明。</p>
10980
10959
  :rtype: str
10981
10960
  """
10982
10961
  return self._Description
@@ -10987,7 +10966,7 @@ no:表示不开启。
10987
10966
 
10988
10967
  @property
10989
10968
  def Vip(self):
10990
- r"""想要绑定的 vip 信息,需与 UniqueVpcId 对应。
10969
+ r"""<p>想要绑定的 vip 信息,需与 UniqueVpcId 对应。</p>
10991
10970
  :rtype: str
10992
10971
  """
10993
10972
  return self._Vip
@@ -10998,9 +10977,7 @@ no:表示不开启。
10998
10977
 
10999
10978
  @property
11000
10979
  def WeightMode(self):
11001
- r"""权重模式:
11002
- system:系统分配。
11003
- custom:自定义。
10980
+ r"""<p>权重模式:<br>system:系统分配。<br>custom:自定义。</p>
11004
10981
  :rtype: str
11005
10982
  """
11006
10983
  return self._WeightMode
@@ -11011,9 +10988,7 @@ custom:自定义。
11011
10988
 
11012
10989
  @property
11013
10990
  def AutoAddRo(self):
11014
- r"""是否自动添加只读实例。
11015
- yes:表示自动添加只读实例。
11016
- no:表示不自动添加只读实例。
10991
+ r"""<p>是否自动添加只读实例。<br>yes:表示自动添加只读实例。<br>no:表示不自动添加只读实例。</p>
11017
10992
  :rtype: str
11018
10993
  """
11019
10994
  return self._AutoAddRo
@@ -11024,11 +10999,7 @@ no:表示不自动添加只读实例。
11024
10999
 
11025
11000
  @property
11026
11001
  def FailOver(self):
11027
- r"""是否开启故障转移。
11028
- yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。
11029
- no:表示不开启。
11030
- 说明:
11031
- 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
11002
+ r"""<p>是否开启故障转移。<br>yes:表示开启,开启后,当数据库代理出现故障时,连接地址将会路由到主实例。<br>no:表示不开启。<br>说明:<br>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
11032
11003
  :rtype: str
11033
11004
  """
11034
11005
  return self._FailOver
@@ -11039,12 +11010,7 @@ no:表示不开启。
11039
11010
 
11040
11011
  @property
11041
11012
  def ConsistencyType(self):
11042
- r"""一致性类型:
11043
- eventual:最终一致性。
11044
- global:全局一致性。
11045
- session:会话一致性。
11046
- 说明:
11047
- 仅当 RwType 参数值为 READWRITE 时,才支持设置此项。
11013
+ r"""<p>一致性类型:<br>eventual:最终一致性。<br>global:全局一致性。<br>session:会话一致性。<br>说明:<br>仅当 RwType 参数值为 READWRITE 时,才支持设置此项。</p>
11048
11014
  :rtype: str
11049
11015
  """
11050
11016
  return self._ConsistencyType
@@ -11055,9 +11021,7 @@ session:会话一致性。
11055
11021
 
11056
11022
  @property
11057
11023
  def RwType(self):
11058
- r"""读写属性:
11059
- READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。
11060
- READONLY:表示只读。
11024
+ r"""<p>读写属性:<br>READWRITE:表示读写分离。当此参数值为 READWRITE 时,才支持设置 FailOver、ConsistencyType 参数。<br>READONLY:表示只读。</p>
11061
11025
  :rtype: str
11062
11026
  """
11063
11027
  return self._RwType
@@ -11068,7 +11032,7 @@ READONLY:表示只读。
11068
11032
 
11069
11033
  @property
11070
11034
  def ConsistencyTimeOut(self):
11071
- r"""一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。
11035
+ r"""<p>一致性超时时间。取值范围:0 ~ 1000000(微秒)。设置为0时,表示若只读实例出现延迟导致一致性策略不满足时,请求将一直等待。</p>
11072
11036
  :rtype: int
11073
11037
  """
11074
11038
  return self._ConsistencyTimeOut
@@ -11079,7 +11043,7 @@ READONLY:表示只读。
11079
11043
 
11080
11044
  @property
11081
11045
  def TransSplit(self):
11082
- r"""是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。
11046
+ r"""<p>是否开启事务拆分。开启后,在一个事务中拆分读和写到不同的实例上去执行。</p>
11083
11047
  :rtype: bool
11084
11048
  """
11085
11049
  return self._TransSplit
@@ -11090,9 +11054,7 @@ READONLY:表示只读。
11090
11054
 
11091
11055
  @property
11092
11056
  def AccessMode(self):
11093
- r"""接入模式:
11094
- nearby:就近访问。
11095
- balance:均衡分配。
11057
+ r"""<p>接入模式:<br>nearby:就近访问。<br>balance:均衡分配。</p>
11096
11058
  :rtype: str
11097
11059
  """
11098
11060
  return self._AccessMode
@@ -11103,7 +11065,7 @@ balance:均衡分配。
11103
11065
 
11104
11066
  @property
11105
11067
  def InstanceWeights(self):
11106
- r"""实例权重。
11068
+ r"""<p>实例权重。</p>
11107
11069
  :rtype: list of ProxyInstanceWeight
11108
11070
  """
11109
11071
  return self._InstanceWeights
@@ -11154,11 +11116,11 @@ class CreateProxyEndPointResponse(AbstractModel):
11154
11116
 
11155
11117
  def __init__(self):
11156
11118
  r"""
11157
- :param _FlowId: 异步流程 ID
11119
+ :param _FlowId: <p>异步流程 ID。</p>
11158
11120
  :type FlowId: int
11159
- :param _TaskId: 异步任务 ID
11121
+ :param _TaskId: <p>异步任务 ID。</p>
11160
11122
  :type TaskId: int
11161
- :param _ProxyGroupId: 数据库代理组 ID
11123
+ :param _ProxyGroupId: <p>数据库代理组 ID。</p>
11162
11124
  :type ProxyGroupId: str
11163
11125
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11164
11126
  :type RequestId: str
@@ -11170,7 +11132,7 @@ class CreateProxyEndPointResponse(AbstractModel):
11170
11132
 
11171
11133
  @property
11172
11134
  def FlowId(self):
11173
- r"""异步流程 ID
11135
+ r"""<p>异步流程 ID。</p>
11174
11136
  :rtype: int
11175
11137
  """
11176
11138
  return self._FlowId
@@ -11181,7 +11143,7 @@ class CreateProxyEndPointResponse(AbstractModel):
11181
11143
 
11182
11144
  @property
11183
11145
  def TaskId(self):
11184
- r"""异步任务 ID
11146
+ r"""<p>异步任务 ID。</p>
11185
11147
  :rtype: int
11186
11148
  """
11187
11149
  return self._TaskId
@@ -11192,7 +11154,7 @@ class CreateProxyEndPointResponse(AbstractModel):
11192
11154
 
11193
11155
  @property
11194
11156
  def ProxyGroupId(self):
11195
- r"""数据库代理组 ID
11157
+ r"""<p>数据库代理组 ID。</p>
11196
11158
  :rtype: str
11197
11159
  """
11198
11160
  return self._ProxyGroupId
@@ -43791,48 +43753,39 @@ class ModifyProxyRwSplitRequest(AbstractModel):
43791
43753
 
43792
43754
  def __init__(self):
43793
43755
  r"""
43794
- :param _ClusterId: 集群ID,例如cynosdbmysql-asd123
43756
+ :param _ClusterId: <p>集群ID,例如cynosdbmysql-asd123</p>
43795
43757
  :type ClusterId: str
43796
- :param _ProxyGroupId: 数据库代理组ID,例如cynosdbmysql-proxy-qwe123
43758
+ :param _ProxyGroupId: <p>数据库代理组ID,例如cynosdbmysql-proxy-qwe123</p>
43797
43759
  :type ProxyGroupId: str
43798
- :param _ConsistencyType: 一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性
43760
+ :param _ConsistencyType: <p>一致性类型;“eventual&quot;-最终一致性, &quot;session&quot;-会话一致性, &quot;global&quot;-全局一致性</p>
43799
43761
  :type ConsistencyType: str
43800
- :param _ConsistencyTimeOut: 一致性超时时间。
43801
- 取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。
43762
+ :param _ConsistencyTimeOut: <p>一致性超时时间。<br>取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。</p>
43802
43763
  :type ConsistencyTimeOut: str
43803
- :param _WeightMode: 读写权重分配模式;系统自动分配:"system", 自定义:"custom"
43764
+ :param _WeightMode: <p>读写权重分配模式;系统自动分配:&quot;system&quot;, 自定义:&quot;custom&quot;</p>
43804
43765
  :type WeightMode: str
43805
- :param _InstanceWeights: 实例只读权重。
43806
-
43766
+ :param _InstanceWeights: <p>实例只读权重。</p>
43807
43767
  :type InstanceWeights: list of ProxyInstanceWeight
43808
- :param _FailOver: 是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no"
43768
+ :param _FailOver: <p>是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:&quot;yes&quot; , &quot;no&quot;</p>
43809
43769
  :type FailOver: str
43810
- :param _AutoAddRo: 是否自动添加只读实例,取值:"yes" , "no"
43770
+ :param _AutoAddRo: <p>是否自动添加只读实例,取值:&quot;yes&quot; , &quot;no&quot;</p>
43811
43771
  :type AutoAddRo: str
43812
- :param _OpenRw: 是否打开读写分离。
43813
- 该参数已废弃,请通过RwType设置读写属性。
43772
+ :param _OpenRw: <p>是否打开读写分离。<br>该参数已废弃,请通过RwType设置读写属性。</p>
43814
43773
  :type OpenRw: str
43815
- :param _RwType: 读写类型:
43816
- READWRITE,READONLY
43774
+ :param _RwType: <p>读写类型:<br>READWRITE,READONLY</p>
43817
43775
  :type RwType: str
43818
- :param _TransSplit: 事务拆分。
43819
- 在一个事务中拆分读和写到不同的实例上去执行。
43776
+ :param _TransSplit: <p>事务拆分。<br>在一个事务中拆分读和写到不同的实例上去执行。</p>
43820
43777
  :type TransSplit: bool
43821
- :param _AccessMode: 连接模式:
43822
- nearby,balance
43778
+ :param _AccessMode: <p>连接模式:<br>nearby,balance</p>
43823
43779
  :type AccessMode: str
43824
- :param _OpenConnectionPool: 是否打开连接池:
43825
- yes,no
43780
+ :param _OpenConnectionPool: <p>是否打开连接池:<br>yes,no</p>
43826
43781
  :type OpenConnectionPool: str
43827
- :param _ConnectionPoolType: 连接池类型:
43828
- SessionConnectionPool
43782
+ :param _ConnectionPoolType: <p>连接池类型:<br>SessionConnectionPool</p>
43829
43783
  :type ConnectionPoolType: str
43830
- :param _ConnectionPoolTimeOut: 连接池时间。
43831
- 可选范围:0~300(秒)
43784
+ :param _ConnectionPoolTimeOut: <p>连接池时间。<br>可选范围:0~300(秒)</p>
43832
43785
  :type ConnectionPoolTimeOut: int
43833
- :param _ApNodeAsRoNode: 是否将libra节点当作普通RO节点
43786
+ :param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
43834
43787
  :type ApNodeAsRoNode: bool
43835
- :param _ApQueryToOtherNode: libra节点故障,是否转发给其他节点
43788
+ :param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
43836
43789
  :type ApQueryToOtherNode: bool
43837
43790
  """
43838
43791
  self._ClusterId = None
@@ -43855,7 +43808,7 @@ SessionConnectionPool
43855
43808
 
43856
43809
  @property
43857
43810
  def ClusterId(self):
43858
- r"""集群ID,例如cynosdbmysql-asd123
43811
+ r"""<p>集群ID,例如cynosdbmysql-asd123</p>
43859
43812
  :rtype: str
43860
43813
  """
43861
43814
  return self._ClusterId
@@ -43866,7 +43819,7 @@ SessionConnectionPool
43866
43819
 
43867
43820
  @property
43868
43821
  def ProxyGroupId(self):
43869
- r"""数据库代理组ID,例如cynosdbmysql-proxy-qwe123
43822
+ r"""<p>数据库代理组ID,例如cynosdbmysql-proxy-qwe123</p>
43870
43823
  :rtype: str
43871
43824
  """
43872
43825
  return self._ProxyGroupId
@@ -43877,7 +43830,7 @@ SessionConnectionPool
43877
43830
 
43878
43831
  @property
43879
43832
  def ConsistencyType(self):
43880
- r"""一致性类型;“eventual"-最终一致性, "session"-会话一致性, "global"-全局一致性
43833
+ r"""<p>一致性类型;“eventual&quot;-最终一致性, &quot;session&quot;-会话一致性, &quot;global&quot;-全局一致性</p>
43881
43834
  :rtype: str
43882
43835
  """
43883
43836
  return self._ConsistencyType
@@ -43888,8 +43841,7 @@ SessionConnectionPool
43888
43841
 
43889
43842
  @property
43890
43843
  def ConsistencyTimeOut(self):
43891
- r"""一致性超时时间。
43892
- 取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。
43844
+ r"""<p>一致性超时时间。<br>取值范围:0~1000000(微秒),设置0则表示若只读实例出现延迟, 导致一致性策略不满足, 请求将一直等待。</p>
43893
43845
  :rtype: str
43894
43846
  """
43895
43847
  return self._ConsistencyTimeOut
@@ -43900,7 +43852,7 @@ SessionConnectionPool
43900
43852
 
43901
43853
  @property
43902
43854
  def WeightMode(self):
43903
- r"""读写权重分配模式;系统自动分配:"system", 自定义:"custom"
43855
+ r"""<p>读写权重分配模式;系统自动分配:&quot;system&quot;, 自定义:&quot;custom&quot;</p>
43904
43856
  :rtype: str
43905
43857
  """
43906
43858
  return self._WeightMode
@@ -43911,8 +43863,7 @@ SessionConnectionPool
43911
43863
 
43912
43864
  @property
43913
43865
  def InstanceWeights(self):
43914
- r"""实例只读权重。
43915
-
43866
+ r"""<p>实例只读权重。</p>
43916
43867
  :rtype: list of ProxyInstanceWeight
43917
43868
  """
43918
43869
  return self._InstanceWeights
@@ -43923,7 +43874,7 @@ SessionConnectionPool
43923
43874
 
43924
43875
  @property
43925
43876
  def FailOver(self):
43926
- r"""是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:"yes" , "no"
43877
+ r"""<p>是否开启故障转移,代理出现故障后,连接地址将路由到主实例,取值:&quot;yes&quot; , &quot;no&quot;</p>
43927
43878
  :rtype: str
43928
43879
  """
43929
43880
  return self._FailOver
@@ -43934,7 +43885,7 @@ SessionConnectionPool
43934
43885
 
43935
43886
  @property
43936
43887
  def AutoAddRo(self):
43937
- r"""是否自动添加只读实例,取值:"yes" , "no"
43888
+ r"""<p>是否自动添加只读实例,取值:&quot;yes&quot; , &quot;no&quot;</p>
43938
43889
  :rtype: str
43939
43890
  """
43940
43891
  return self._AutoAddRo
@@ -43945,8 +43896,7 @@ SessionConnectionPool
43945
43896
 
43946
43897
  @property
43947
43898
  def OpenRw(self):
43948
- r"""是否打开读写分离。
43949
- 该参数已废弃,请通过RwType设置读写属性。
43899
+ r"""<p>是否打开读写分离。<br>该参数已废弃,请通过RwType设置读写属性。</p>
43950
43900
  :rtype: str
43951
43901
  """
43952
43902
  return self._OpenRw
@@ -43957,8 +43907,7 @@ SessionConnectionPool
43957
43907
 
43958
43908
  @property
43959
43909
  def RwType(self):
43960
- r"""读写类型:
43961
- READWRITE,READONLY
43910
+ r"""<p>读写类型:<br>READWRITE,READONLY</p>
43962
43911
  :rtype: str
43963
43912
  """
43964
43913
  return self._RwType
@@ -43969,8 +43918,7 @@ READWRITE,READONLY
43969
43918
 
43970
43919
  @property
43971
43920
  def TransSplit(self):
43972
- r"""事务拆分。
43973
- 在一个事务中拆分读和写到不同的实例上去执行。
43921
+ r"""<p>事务拆分。<br>在一个事务中拆分读和写到不同的实例上去执行。</p>
43974
43922
  :rtype: bool
43975
43923
  """
43976
43924
  return self._TransSplit
@@ -43981,8 +43929,7 @@ READWRITE,READONLY
43981
43929
 
43982
43930
  @property
43983
43931
  def AccessMode(self):
43984
- r"""连接模式:
43985
- nearby,balance
43932
+ r"""<p>连接模式:<br>nearby,balance</p>
43986
43933
  :rtype: str
43987
43934
  """
43988
43935
  return self._AccessMode
@@ -43993,8 +43940,7 @@ nearby,balance
43993
43940
 
43994
43941
  @property
43995
43942
  def OpenConnectionPool(self):
43996
- r"""是否打开连接池:
43997
- yes,no
43943
+ r"""<p>是否打开连接池:<br>yes,no</p>
43998
43944
  :rtype: str
43999
43945
  """
44000
43946
  return self._OpenConnectionPool
@@ -44005,8 +43951,7 @@ yes,no
44005
43951
 
44006
43952
  @property
44007
43953
  def ConnectionPoolType(self):
44008
- r"""连接池类型:
44009
- SessionConnectionPool
43954
+ r"""<p>连接池类型:<br>SessionConnectionPool</p>
44010
43955
  :rtype: str
44011
43956
  """
44012
43957
  return self._ConnectionPoolType
@@ -44017,8 +43962,7 @@ SessionConnectionPool
44017
43962
 
44018
43963
  @property
44019
43964
  def ConnectionPoolTimeOut(self):
44020
- r"""连接池时间。
44021
- 可选范围:0~300(秒)
43965
+ r"""<p>连接池时间。<br>可选范围:0~300(秒)</p>
44022
43966
  :rtype: int
44023
43967
  """
44024
43968
  return self._ConnectionPoolTimeOut
@@ -44029,7 +43973,7 @@ SessionConnectionPool
44029
43973
 
44030
43974
  @property
44031
43975
  def ApNodeAsRoNode(self):
44032
- r"""是否将libra节点当作普通RO节点
43976
+ r"""<p>是否将libra节点当作普通RO节点</p>
44033
43977
  :rtype: bool
44034
43978
  """
44035
43979
  return self._ApNodeAsRoNode
@@ -44040,7 +43984,7 @@ SessionConnectionPool
44040
43984
 
44041
43985
  @property
44042
43986
  def ApQueryToOtherNode(self):
44043
- r"""libra节点故障,是否转发给其他节点
43987
+ r"""<p>libra节点故障,是否转发给其他节点</p>
44044
43988
  :rtype: bool
44045
43989
  """
44046
43990
  return self._ApQueryToOtherNode
@@ -44090,9 +44034,9 @@ class ModifyProxyRwSplitResponse(AbstractModel):
44090
44034
 
44091
44035
  def __init__(self):
44092
44036
  r"""
44093
- :param _FlowId: 异步FlowId
44037
+ :param _FlowId: <p>异步FlowId</p>
44094
44038
  :type FlowId: int
44095
- :param _TaskId: 异步任务ID
44039
+ :param _TaskId: <p>异步任务ID</p>
44096
44040
  :type TaskId: int
44097
44041
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
44098
44042
  :type RequestId: str
@@ -44103,7 +44047,7 @@ class ModifyProxyRwSplitResponse(AbstractModel):
44103
44047
 
44104
44048
  @property
44105
44049
  def FlowId(self):
44106
- r"""异步FlowId
44050
+ r"""<p>异步FlowId</p>
44107
44051
  :rtype: int
44108
44052
  """
44109
44053
  return self._FlowId
@@ -44114,7 +44058,7 @@ class ModifyProxyRwSplitResponse(AbstractModel):
44114
44058
 
44115
44059
  @property
44116
44060
  def TaskId(self):
44117
- r"""异步任务ID
44061
+ r"""<p>异步任务ID</p>
44118
44062
  :rtype: int
44119
44063
  """
44120
44064
  return self._TaskId
@@ -49557,29 +49501,29 @@ class ProxyGroupRwInfo(AbstractModel):
49557
49501
 
49558
49502
  def __init__(self):
49559
49503
  r"""
49560
- :param _ConsistencyType: 一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性
49504
+ :param _ConsistencyType: <p>一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性</p>
49561
49505
  :type ConsistencyType: str
49562
- :param _ConsistencyTimeOut: 一致性超时时间
49506
+ :param _ConsistencyTimeOut: <p>一致性超时时间</p>
49563
49507
  :type ConsistencyTimeOut: int
49564
- :param _WeightMode: 权重模式 system-系统分配,custom-自定义
49508
+ :param _WeightMode: <p>权重模式 system-系统分配,custom-自定义</p>
49565
49509
  :type WeightMode: str
49566
- :param _FailOver: 是否开启故障转移
49510
+ :param _FailOver: <p>是否开启故障转移</p>
49567
49511
  :type FailOver: str
49568
- :param _AutoAddRo: 是否自动添加只读实例,yes-是,no-不自动添加
49512
+ :param _AutoAddRo: <p>是否自动添加只读实例,yes-是,no-不自动添加</p>
49569
49513
  :type AutoAddRo: str
49570
- :param _InstanceWeights: 实例权重数组
49514
+ :param _InstanceWeights: <p>实例权重数组</p>
49571
49515
  :type InstanceWeights: list of ProxyInstanceWeight
49572
- :param _OpenRw: 是否开通读写节点,yse-是,no-否
49516
+ :param _OpenRw: <p>是否开通读写节点,yse-是,no-否</p>
49573
49517
  :type OpenRw: str
49574
- :param _RwType: 读写属性,可选值:READWRITE,READONLY
49518
+ :param _RwType: <p>读写属性,可选值:READWRITE,READONLY</p>
49575
49519
  :type RwType: str
49576
- :param _TransSplit: 事务拆分
49520
+ :param _TransSplit: <p>事务拆分</p>
49577
49521
  :type TransSplit: bool
49578
- :param _AccessMode: 连接模式,可选值:balance,nearby
49522
+ :param _AccessMode: <p>连接模式,可选值:balance,nearby</p>
49579
49523
  :type AccessMode: str
49580
- :param _ApNodeAsRoNode: 是否将libra节点当作普通RO节点
49524
+ :param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
49581
49525
  :type ApNodeAsRoNode: bool
49582
- :param _ApQueryToOtherNode: libra节点故障,是否转发给其他节点
49526
+ :param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
49583
49527
  :type ApQueryToOtherNode: bool
49584
49528
  """
49585
49529
  self._ConsistencyType = None
@@ -49597,7 +49541,7 @@ class ProxyGroupRwInfo(AbstractModel):
49597
49541
 
49598
49542
  @property
49599
49543
  def ConsistencyType(self):
49600
- r"""一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性
49544
+ r"""<p>一致性类型 eventual-最终一致性,global-全局一致性,session-会话一致性</p>
49601
49545
  :rtype: str
49602
49546
  """
49603
49547
  return self._ConsistencyType
@@ -49608,7 +49552,7 @@ class ProxyGroupRwInfo(AbstractModel):
49608
49552
 
49609
49553
  @property
49610
49554
  def ConsistencyTimeOut(self):
49611
- r"""一致性超时时间
49555
+ r"""<p>一致性超时时间</p>
49612
49556
  :rtype: int
49613
49557
  """
49614
49558
  return self._ConsistencyTimeOut
@@ -49619,7 +49563,7 @@ class ProxyGroupRwInfo(AbstractModel):
49619
49563
 
49620
49564
  @property
49621
49565
  def WeightMode(self):
49622
- r"""权重模式 system-系统分配,custom-自定义
49566
+ r"""<p>权重模式 system-系统分配,custom-自定义</p>
49623
49567
  :rtype: str
49624
49568
  """
49625
49569
  return self._WeightMode
@@ -49630,7 +49574,7 @@ class ProxyGroupRwInfo(AbstractModel):
49630
49574
 
49631
49575
  @property
49632
49576
  def FailOver(self):
49633
- r"""是否开启故障转移
49577
+ r"""<p>是否开启故障转移</p>
49634
49578
  :rtype: str
49635
49579
  """
49636
49580
  return self._FailOver
@@ -49641,7 +49585,7 @@ class ProxyGroupRwInfo(AbstractModel):
49641
49585
 
49642
49586
  @property
49643
49587
  def AutoAddRo(self):
49644
- r"""是否自动添加只读实例,yes-是,no-不自动添加
49588
+ r"""<p>是否自动添加只读实例,yes-是,no-不自动添加</p>
49645
49589
  :rtype: str
49646
49590
  """
49647
49591
  return self._AutoAddRo
@@ -49652,7 +49596,7 @@ class ProxyGroupRwInfo(AbstractModel):
49652
49596
 
49653
49597
  @property
49654
49598
  def InstanceWeights(self):
49655
- r"""实例权重数组
49599
+ r"""<p>实例权重数组</p>
49656
49600
  :rtype: list of ProxyInstanceWeight
49657
49601
  """
49658
49602
  return self._InstanceWeights
@@ -49663,7 +49607,7 @@ class ProxyGroupRwInfo(AbstractModel):
49663
49607
 
49664
49608
  @property
49665
49609
  def OpenRw(self):
49666
- r"""是否开通读写节点,yse-是,no-否
49610
+ r"""<p>是否开通读写节点,yse-是,no-否</p>
49667
49611
  :rtype: str
49668
49612
  """
49669
49613
  return self._OpenRw
@@ -49674,7 +49618,7 @@ class ProxyGroupRwInfo(AbstractModel):
49674
49618
 
49675
49619
  @property
49676
49620
  def RwType(self):
49677
- r"""读写属性,可选值:READWRITE,READONLY
49621
+ r"""<p>读写属性,可选值:READWRITE,READONLY</p>
49678
49622
  :rtype: str
49679
49623
  """
49680
49624
  return self._RwType
@@ -49685,7 +49629,7 @@ class ProxyGroupRwInfo(AbstractModel):
49685
49629
 
49686
49630
  @property
49687
49631
  def TransSplit(self):
49688
- r"""事务拆分
49632
+ r"""<p>事务拆分</p>
49689
49633
  :rtype: bool
49690
49634
  """
49691
49635
  return self._TransSplit
@@ -49696,7 +49640,7 @@ class ProxyGroupRwInfo(AbstractModel):
49696
49640
 
49697
49641
  @property
49698
49642
  def AccessMode(self):
49699
- r"""连接模式,可选值:balance,nearby
49643
+ r"""<p>连接模式,可选值:balance,nearby</p>
49700
49644
  :rtype: str
49701
49645
  """
49702
49646
  return self._AccessMode
@@ -49707,7 +49651,7 @@ class ProxyGroupRwInfo(AbstractModel):
49707
49651
 
49708
49652
  @property
49709
49653
  def ApNodeAsRoNode(self):
49710
- r"""是否将libra节点当作普通RO节点
49654
+ r"""<p>是否将libra节点当作普通RO节点</p>
49711
49655
  :rtype: bool
49712
49656
  """
49713
49657
  return self._ApNodeAsRoNode
@@ -49718,7 +49662,7 @@ class ProxyGroupRwInfo(AbstractModel):
49718
49662
 
49719
49663
  @property
49720
49664
  def ApQueryToOtherNode(self):
49721
- r"""libra节点故障,是否转发给其他节点
49665
+ r"""<p>libra节点故障,是否转发给其他节点</p>
49722
49666
  :rtype: bool
49723
49667
  """
49724
49668
  return self._ApQueryToOtherNode
@@ -56966,13 +56910,13 @@ class SwitchClusterZoneRequest(AbstractModel):
56966
56910
 
56967
56911
  def __init__(self):
56968
56912
  r"""
56969
- :param _ClusterId: 集群Id
56913
+ :param _ClusterId: <p>集群Id</p>
56970
56914
  :type ClusterId: str
56971
- :param _OldZone: 当前可用区
56915
+ :param _OldZone: <p>当前可用区</p>
56972
56916
  :type OldZone: str
56973
- :param _NewZone: 要切换到的可用区
56917
+ :param _NewZone: <p>要切换到的可用区</p>
56974
56918
  :type NewZone: str
56975
- :param _IsInMaintainPeriod: 维护期间执行-yes,立即执行-no
56919
+ :param _IsInMaintainPeriod: <p>维护期间执行-yes,立即执行-no</p>
56976
56920
  :type IsInMaintainPeriod: str
56977
56921
  """
56978
56922
  self._ClusterId = None
@@ -56982,7 +56926,7 @@ class SwitchClusterZoneRequest(AbstractModel):
56982
56926
 
56983
56927
  @property
56984
56928
  def ClusterId(self):
56985
- r"""集群Id
56929
+ r"""<p>集群Id</p>
56986
56930
  :rtype: str
56987
56931
  """
56988
56932
  return self._ClusterId
@@ -56993,7 +56937,7 @@ class SwitchClusterZoneRequest(AbstractModel):
56993
56937
 
56994
56938
  @property
56995
56939
  def OldZone(self):
56996
- r"""当前可用区
56940
+ r"""<p>当前可用区</p>
56997
56941
  :rtype: str
56998
56942
  """
56999
56943
  return self._OldZone
@@ -57004,7 +56948,7 @@ class SwitchClusterZoneRequest(AbstractModel):
57004
56948
 
57005
56949
  @property
57006
56950
  def NewZone(self):
57007
- r"""要切换到的可用区
56951
+ r"""<p>要切换到的可用区</p>
57008
56952
  :rtype: str
57009
56953
  """
57010
56954
  return self._NewZone
@@ -57015,7 +56959,7 @@ class SwitchClusterZoneRequest(AbstractModel):
57015
56959
 
57016
56960
  @property
57017
56961
  def IsInMaintainPeriod(self):
57018
- r"""维护期间执行-yes,立即执行-no
56962
+ r"""<p>维护期间执行-yes,立即执行-no</p>
57019
56963
  :rtype: str
57020
56964
  """
57021
56965
  return self._IsInMaintainPeriod
@@ -57047,17 +56991,31 @@ class SwitchClusterZoneResponse(AbstractModel):
57047
56991
 
57048
56992
  def __init__(self):
57049
56993
  r"""
57050
- :param _FlowId: 异步FlowId
56994
+ :param _TaskId: <p>任务id</p>
56995
+ :type TaskId: int
56996
+ :param _FlowId: <p>异步FlowId</p>
57051
56997
  :type FlowId: int
57052
56998
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
57053
56999
  :type RequestId: str
57054
57000
  """
57001
+ self._TaskId = None
57055
57002
  self._FlowId = None
57056
57003
  self._RequestId = None
57057
57004
 
57005
+ @property
57006
+ def TaskId(self):
57007
+ r"""<p>任务id</p>
57008
+ :rtype: int
57009
+ """
57010
+ return self._TaskId
57011
+
57012
+ @TaskId.setter
57013
+ def TaskId(self, TaskId):
57014
+ self._TaskId = TaskId
57015
+
57058
57016
  @property
57059
57017
  def FlowId(self):
57060
- r"""异步FlowId
57018
+ r"""<p>异步FlowId</p>
57061
57019
  :rtype: int
57062
57020
  """
57063
57021
  return self._FlowId
@@ -57079,6 +57037,7 @@ class SwitchClusterZoneResponse(AbstractModel):
57079
57037
 
57080
57038
 
57081
57039
  def _deserialize(self, params):
57040
+ self._TaskId = params.get("TaskId")
57082
57041
  self._FlowId = params.get("FlowId")
57083
57042
  self._RequestId = params.get("RequestId")
57084
57043
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cynosdb
3
- Version: 3.1.108
3
+ Version: 3.1.111
4
4
  Summary: Tencent Cloud Cynosdb 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.108
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.111
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.111
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.108