tencentcloud-sdk-python-cdb 3.1.132__tar.gz → 3.1.137__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-cdb might be problematic. Click here for more details.

Files changed (17) hide show
  1. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/v20170320/models.py +99 -52
  5. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cdb-3.1.137/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cdb-3.1.132/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/v20170320/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
  13. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.137}/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.132
3
+ Version: 3.1.137
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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.137
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.132,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.137,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cdb SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.132'
17
+ __version__ = '3.1.137'
@@ -557,7 +557,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
557
557
  :type ProxyAllocation: list of ProxyAllocation
558
558
  :param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
559
559
  :type AutoLoadBalance: bool
560
- :param _AccessMode: <p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
560
+ :param _AccessMode: <p>访问模式。</p><p>枚举值:</p><ul><li>nearby 就近访问</li><li>balance 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
561
561
  :type AccessMode: str
562
562
  :param _ApNodeAsRoNode: <p>是否将libra节点当作普通RO节点</p>
563
563
  :type ApNodeAsRoNode: bool
@@ -726,7 +726,7 @@ class AdjustCdbProxyAddressRequest(AbstractModel):
726
726
 
727
727
  @property
728
728
  def AccessMode(self):
729
- r"""<p>访问模式:nearby - 就近访问,balance - 均衡分配,默认就近访问。</p>
729
+ r"""<p>访问模式。</p><p>枚举值:</p><ul><li>nearby 就近访问</li><li>balance 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
730
730
  :rtype: str
731
731
  """
732
732
  return self._AccessMode
@@ -7383,7 +7383,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
7383
7383
  :type ConnectionPoolType: str
7384
7384
  :param _AutoLoadBalance: <p>是否开启自适应负载均衡。默认关闭。</p>
7385
7385
  :type AutoLoadBalance: bool
7386
- :param _AccessMode: <p>接入模式。nearBy - 就近访问,balance - 均衡分配,默认值:nearBy。</p>
7386
+ :param _AccessMode: <p>接入模式。</p><p>枚举值:</p><ul><li>nearBy 就近访问</li><li>balance 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul><p>默认值:nearBy</p>
7387
7387
  :type AccessMode: str
7388
7388
  """
7389
7389
  self._ProxyGroupId = None
@@ -7618,7 +7618,7 @@ class CreateCdbProxyAddressRequest(AbstractModel):
7618
7618
 
7619
7619
  @property
7620
7620
  def AccessMode(self):
7621
- r"""<p>接入模式。nearBy - 就近访问,balance - 均衡分配,默认值:nearBy。</p>
7621
+ r"""<p>接入模式。</p><p>枚举值:</p><ul><li>nearBy 就近访问</li><li>balance 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul><p>默认值:nearBy</p>
7622
7622
  :rtype: str
7623
7623
  """
7624
7624
  return self._AccessMode
@@ -8669,6 +8669,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
8669
8669
  :type DiskType: str
8670
8670
  :param _ClusterType: <p>集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群</p>
8671
8671
  :type ClusterType: str
8672
+ :param _DiskEncryption: <p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 &quot;on&quot; 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
8673
+ :type DiskEncryption: str
8672
8674
  :param _DestroyProtect: <p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
8673
8675
  :type DestroyProtect: str
8674
8676
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
@@ -8715,6 +8717,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
8715
8717
  self._ClusterTopology = None
8716
8718
  self._DiskType = None
8717
8719
  self._ClusterType = None
8720
+ self._DiskEncryption = None
8718
8721
  self._DestroyProtect = None
8719
8722
  self._FourthZone = None
8720
8723
 
@@ -9169,6 +9172,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
9169
9172
  def ClusterType(self, ClusterType):
9170
9173
  self._ClusterType = ClusterType
9171
9174
 
9175
+ @property
9176
+ def DiskEncryption(self):
9177
+ r"""<p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 &quot;on&quot; 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
9178
+ :rtype: str
9179
+ """
9180
+ return self._DiskEncryption
9181
+
9182
+ @DiskEncryption.setter
9183
+ def DiskEncryption(self, DiskEncryption):
9184
+ self._DiskEncryption = DiskEncryption
9185
+
9172
9186
  @property
9173
9187
  def DestroyProtect(self):
9174
9188
  r"""<p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
@@ -9248,6 +9262,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
9248
9262
  self._ClusterTopology._deserialize(params.get("ClusterTopology"))
9249
9263
  self._DiskType = params.get("DiskType")
9250
9264
  self._ClusterType = params.get("ClusterType")
9265
+ self._DiskEncryption = params.get("DiskEncryption")
9251
9266
  self._DestroyProtect = params.get("DestroyProtect")
9252
9267
  self._FourthZone = params.get("FourthZone")
9253
9268
  memeber_set = set(params.keys())
@@ -9407,6 +9422,8 @@ class CreateDBInstanceRequest(AbstractModel):
9407
9422
  :type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
9408
9423
  :param _DiskType: <p>磁盘类型,单节点(云盘版)或者云盘版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘,CLOUD_PREMIUM 表示高性能云硬盘。<br>说明:单节点(云盘版)、云盘版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 <a href="https://cloud.tencent.com/document/product/236/8458">地域和可用区</a>。</p>
9409
9424
  :type DiskType: str
9425
+ :param _DiskEncryption: <p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 &quot;on&quot; 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
9426
+ :type DiskEncryption: str
9410
9427
  :param _DestroyProtect: <p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
9411
9428
  :type DestroyProtect: str
9412
9429
  :param _FourthZone: <p>备库 3 的可用区信息,默认为空,购买四节点主实例时可指定该参数。</p>
@@ -9453,6 +9470,7 @@ class CreateDBInstanceRequest(AbstractModel):
9453
9470
  self._DataProtectVolume = None
9454
9471
  self._ClusterTopology = None
9455
9472
  self._DiskType = None
9473
+ self._DiskEncryption = None
9456
9474
  self._DestroyProtect = None
9457
9475
  self._FourthZone = None
9458
9476
 
@@ -9907,6 +9925,17 @@ class CreateDBInstanceRequest(AbstractModel):
9907
9925
  def DiskType(self, DiskType):
9908
9926
  self._DiskType = DiskType
9909
9927
 
9928
+ @property
9929
+ def DiskEncryption(self):
9930
+ r"""<p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 &quot;on&quot; 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
9931
+ :rtype: str
9932
+ """
9933
+ return self._DiskEncryption
9934
+
9935
+ @DiskEncryption.setter
9936
+ def DiskEncryption(self, DiskEncryption):
9937
+ self._DiskEncryption = DiskEncryption
9938
+
9910
9939
  @property
9911
9940
  def DestroyProtect(self):
9912
9941
  r"""<p>开启或关闭实例销毁保护。on-开启,off-关闭</p>
@@ -9986,6 +10015,7 @@ class CreateDBInstanceRequest(AbstractModel):
9986
10015
  self._ClusterTopology = ClusterTopology()
9987
10016
  self._ClusterTopology._deserialize(params.get("ClusterTopology"))
9988
10017
  self._DiskType = params.get("DiskType")
10018
+ self._DiskEncryption = params.get("DiskEncryption")
9989
10019
  self._DestroyProtect = params.get("DestroyProtect")
9990
10020
  self._FourthZone = params.get("FourthZone")
9991
10021
  memeber_set = set(params.keys())
@@ -12428,14 +12458,14 @@ class DescribeAsyncRequestInfoRequest(AbstractModel):
12428
12458
 
12429
12459
  def __init__(self):
12430
12460
  r"""
12431
- :param _AsyncRequestId: 异步任务的请求 ID
12461
+ :param _AsyncRequestId: <p>异步任务的请求 ID。</p>
12432
12462
  :type AsyncRequestId: str
12433
12463
  """
12434
12464
  self._AsyncRequestId = None
12435
12465
 
12436
12466
  @property
12437
12467
  def AsyncRequestId(self):
12438
- r"""异步任务的请求 ID
12468
+ r"""<p>异步任务的请求 ID。</p>
12439
12469
  :rtype: str
12440
12470
  """
12441
12471
  return self._AsyncRequestId
@@ -12464,9 +12494,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
12464
12494
 
12465
12495
  def __init__(self):
12466
12496
  r"""
12467
- :param _Status: 任务执行结果。可能的取值:INITIAL - 初始化,RUNNING - 运行中,SUCCESS - 执行成功,FAILED - 执行失败,KILLED - 已终止,REMOVED - 已删除,PAUSED - 终止中。
12497
+ :param _Status: <p>任务执行结果。</p><p>枚举值:</p><ul><li>INITIAL 初始化。</li><li>RUNNING 运行中。</li><li>SUCCESS 执行成功。</li><li>FAILED 执行失败。</li><li>KILLED 已终止。</li><li>REMOVED 已删除。</li><li>PAUSED 终止中。</li><li>UNDEFINED: 任务已创建但未开始执行,在 WaitSwitch = true 场景下,表示任务正在等待维护时间窗到来。</li></ul>
12468
12498
  :type Status: str
12469
- :param _Info: 任务执行信息描述。
12499
+ :param _Info: <p>任务执行信息描述。</p>
12470
12500
  :type Info: str
12471
12501
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12472
12502
  :type RequestId: str
@@ -12477,7 +12507,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
12477
12507
 
12478
12508
  @property
12479
12509
  def Status(self):
12480
- r"""任务执行结果。可能的取值:INITIAL - 初始化,RUNNING - 运行中,SUCCESS - 执行成功,FAILED - 执行失败,KILLED - 已终止,REMOVED - 已删除,PAUSED - 终止中。
12510
+ r"""<p>任务执行结果。</p><p>枚举值:</p><ul><li>INITIAL 初始化。</li><li>RUNNING 运行中。</li><li>SUCCESS 执行成功。</li><li>FAILED 执行失败。</li><li>KILLED 已终止。</li><li>REMOVED 已删除。</li><li>PAUSED 终止中。</li><li>UNDEFINED: 任务已创建但未开始执行,在 WaitSwitch = true 场景下,表示任务正在等待维护时间窗到来。</li></ul>
12481
12511
  :rtype: str
12482
12512
  """
12483
12513
  return self._Status
@@ -12488,7 +12518,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
12488
12518
 
12489
12519
  @property
12490
12520
  def Info(self):
12491
- r"""任务执行信息描述。
12521
+ r"""<p>任务执行信息描述。</p>
12492
12522
  :rtype: str
12493
12523
  """
12494
12524
  return self._Info
@@ -33057,47 +33087,48 @@ class ProxyAddress(AbstractModel):
33057
33087
 
33058
33088
  def __init__(self):
33059
33089
  r"""
33060
- :param _ProxyAddressId: 代理组地址ID
33090
+ :param _ProxyAddressId: <p>代理组地址ID</p>
33061
33091
  :type ProxyAddressId: str
33062
- :param _UniqVpcId: 私有网络ID
33092
+ :param _UniqVpcId: <p>私有网络ID</p>
33063
33093
  :type UniqVpcId: str
33064
- :param _UniqSubnetId: 私有子网ID
33094
+ :param _UniqSubnetId: <p>私有子网ID</p>
33065
33095
  :type UniqSubnetId: str
33066
- :param _Vip: IP地址
33096
+ :param _Vip: <p>IP地址</p>
33067
33097
  :type Vip: str
33068
- :param _VPort: 端口
33098
+ :param _VPort: <p>端口</p>
33069
33099
  :type VPort: int
33070
- :param _WeightMode: 权重分配模式;
33071
- 系统自动分配:"system", 自定义:"custom"
33100
+ :param _WeightMode: <p>权重分配模式;<br>系统自动分配:&quot;system&quot;, 自定义:&quot;custom&quot;</p>
33072
33101
  :type WeightMode: str
33073
- :param _IsKickOut: 是否开启延迟剔除,取值:"true" | "false"
33102
+ :param _IsKickOut: <p>是否开启延迟剔除,取值:&quot;true&quot; | &quot;false&quot;</p>
33074
33103
  :type IsKickOut: bool
33075
- :param _MinCount: 最小保留数量,最小取值:0
33104
+ :param _MinCount: <p>最小保留数量,最小取值:0</p>
33076
33105
  :type MinCount: int
33077
- :param _MaxDelay: 延迟剔除阈值,最小取值:0
33106
+ :param _MaxDelay: <p>延迟剔除阈值,最小取值:0</p>
33078
33107
  :type MaxDelay: int
33079
- :param _AutoAddRo: 是否自动添加RO,取值:"true" | "false"
33108
+ :param _AutoAddRo: <p>是否自动添加RO,取值:&quot;true&quot; | &quot;false&quot;</p>
33080
33109
  :type AutoAddRo: bool
33081
- :param _ReadOnly: 是否是只读,取值:"true" | "false"
33110
+ :param _ReadOnly: <p>是否是只读,取值:&quot;true&quot; | &quot;false&quot;</p>
33082
33111
  :type ReadOnly: bool
33083
- :param _TransSplit: 是否开启事务分离
33112
+ :param _TransSplit: <p>是否开启事务分离</p>
33084
33113
  :type TransSplit: bool
33085
- :param _FailOver: 是否开启故障转移
33114
+ :param _FailOver: <p>是否开启故障转移</p>
33086
33115
  :type FailOver: bool
33087
- :param _ConnectionPool: 是否开启连接池
33116
+ :param _ConnectionPool: <p>是否开启连接池</p>
33088
33117
  :type ConnectionPool: bool
33089
- :param _Desc: 描述
33118
+ :param _Desc: <p>描述</p>
33090
33119
  :type Desc: str
33091
- :param _ProxyAllocation: 实例读权重分配
33120
+ :param _ProxyAllocation: <p>实例读权重分配</p>
33092
33121
  :type ProxyAllocation: list of ProxyAllocation
33093
- :param _AccessMode: 接入模式
33122
+ :param _AccessMode: <p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
33094
33123
  :type AccessMode: str
33095
- :param _AutoLoadBalance: 是否开启自动负载均衡
33124
+ :param _AutoLoadBalance: <p>是否开启自动负载均衡</p>
33096
33125
  :type AutoLoadBalance: bool
33097
- :param _ApNodeAsRoNode: 是否把libra当作ro节点
33126
+ :param _ApNodeAsRoNode: <p>是否把libra当作ro节点</p>
33098
33127
  :type ApNodeAsRoNode: bool
33099
- :param _ApQueryToOtherNode: libra节点故障,是否转发给其他节点
33128
+ :param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
33100
33129
  :type ApQueryToOtherNode: bool
33130
+ :param _Region: <p>地址所在地域名</p>
33131
+ :type Region: str
33101
33132
  """
33102
33133
  self._ProxyAddressId = None
33103
33134
  self._UniqVpcId = None
@@ -33119,10 +33150,11 @@ class ProxyAddress(AbstractModel):
33119
33150
  self._AutoLoadBalance = None
33120
33151
  self._ApNodeAsRoNode = None
33121
33152
  self._ApQueryToOtherNode = None
33153
+ self._Region = None
33122
33154
 
33123
33155
  @property
33124
33156
  def ProxyAddressId(self):
33125
- r"""代理组地址ID
33157
+ r"""<p>代理组地址ID</p>
33126
33158
  :rtype: str
33127
33159
  """
33128
33160
  return self._ProxyAddressId
@@ -33133,7 +33165,7 @@ class ProxyAddress(AbstractModel):
33133
33165
 
33134
33166
  @property
33135
33167
  def UniqVpcId(self):
33136
- r"""私有网络ID
33168
+ r"""<p>私有网络ID</p>
33137
33169
  :rtype: str
33138
33170
  """
33139
33171
  return self._UniqVpcId
@@ -33144,7 +33176,7 @@ class ProxyAddress(AbstractModel):
33144
33176
 
33145
33177
  @property
33146
33178
  def UniqSubnetId(self):
33147
- r"""私有子网ID
33179
+ r"""<p>私有子网ID</p>
33148
33180
  :rtype: str
33149
33181
  """
33150
33182
  return self._UniqSubnetId
@@ -33155,7 +33187,7 @@ class ProxyAddress(AbstractModel):
33155
33187
 
33156
33188
  @property
33157
33189
  def Vip(self):
33158
- r"""IP地址
33190
+ r"""<p>IP地址</p>
33159
33191
  :rtype: str
33160
33192
  """
33161
33193
  return self._Vip
@@ -33166,7 +33198,7 @@ class ProxyAddress(AbstractModel):
33166
33198
 
33167
33199
  @property
33168
33200
  def VPort(self):
33169
- r"""端口
33201
+ r"""<p>端口</p>
33170
33202
  :rtype: int
33171
33203
  """
33172
33204
  return self._VPort
@@ -33177,8 +33209,7 @@ class ProxyAddress(AbstractModel):
33177
33209
 
33178
33210
  @property
33179
33211
  def WeightMode(self):
33180
- r"""权重分配模式;
33181
- 系统自动分配:"system", 自定义:"custom"
33212
+ r"""<p>权重分配模式;<br>系统自动分配:&quot;system&quot;, 自定义:&quot;custom&quot;</p>
33182
33213
  :rtype: str
33183
33214
  """
33184
33215
  return self._WeightMode
@@ -33189,7 +33220,7 @@ class ProxyAddress(AbstractModel):
33189
33220
 
33190
33221
  @property
33191
33222
  def IsKickOut(self):
33192
- r"""是否开启延迟剔除,取值:"true" | "false"
33223
+ r"""<p>是否开启延迟剔除,取值:&quot;true&quot; | &quot;false&quot;</p>
33193
33224
  :rtype: bool
33194
33225
  """
33195
33226
  return self._IsKickOut
@@ -33200,7 +33231,7 @@ class ProxyAddress(AbstractModel):
33200
33231
 
33201
33232
  @property
33202
33233
  def MinCount(self):
33203
- r"""最小保留数量,最小取值:0
33234
+ r"""<p>最小保留数量,最小取值:0</p>
33204
33235
  :rtype: int
33205
33236
  """
33206
33237
  return self._MinCount
@@ -33211,7 +33242,7 @@ class ProxyAddress(AbstractModel):
33211
33242
 
33212
33243
  @property
33213
33244
  def MaxDelay(self):
33214
- r"""延迟剔除阈值,最小取值:0
33245
+ r"""<p>延迟剔除阈值,最小取值:0</p>
33215
33246
  :rtype: int
33216
33247
  """
33217
33248
  return self._MaxDelay
@@ -33222,7 +33253,7 @@ class ProxyAddress(AbstractModel):
33222
33253
 
33223
33254
  @property
33224
33255
  def AutoAddRo(self):
33225
- r"""是否自动添加RO,取值:"true" | "false"
33256
+ r"""<p>是否自动添加RO,取值:&quot;true&quot; | &quot;false&quot;</p>
33226
33257
  :rtype: bool
33227
33258
  """
33228
33259
  return self._AutoAddRo
@@ -33233,7 +33264,7 @@ class ProxyAddress(AbstractModel):
33233
33264
 
33234
33265
  @property
33235
33266
  def ReadOnly(self):
33236
- r"""是否是只读,取值:"true" | "false"
33267
+ r"""<p>是否是只读,取值:&quot;true&quot; | &quot;false&quot;</p>
33237
33268
  :rtype: bool
33238
33269
  """
33239
33270
  return self._ReadOnly
@@ -33244,7 +33275,7 @@ class ProxyAddress(AbstractModel):
33244
33275
 
33245
33276
  @property
33246
33277
  def TransSplit(self):
33247
- r"""是否开启事务分离
33278
+ r"""<p>是否开启事务分离</p>
33248
33279
  :rtype: bool
33249
33280
  """
33250
33281
  return self._TransSplit
@@ -33255,7 +33286,7 @@ class ProxyAddress(AbstractModel):
33255
33286
 
33256
33287
  @property
33257
33288
  def FailOver(self):
33258
- r"""是否开启故障转移
33289
+ r"""<p>是否开启故障转移</p>
33259
33290
  :rtype: bool
33260
33291
  """
33261
33292
  return self._FailOver
@@ -33266,7 +33297,7 @@ class ProxyAddress(AbstractModel):
33266
33297
 
33267
33298
  @property
33268
33299
  def ConnectionPool(self):
33269
- r"""是否开启连接池
33300
+ r"""<p>是否开启连接池</p>
33270
33301
  :rtype: bool
33271
33302
  """
33272
33303
  return self._ConnectionPool
@@ -33277,7 +33308,7 @@ class ProxyAddress(AbstractModel):
33277
33308
 
33278
33309
  @property
33279
33310
  def Desc(self):
33280
- r"""描述
33311
+ r"""<p>描述</p>
33281
33312
  :rtype: str
33282
33313
  """
33283
33314
  return self._Desc
@@ -33288,7 +33319,7 @@ class ProxyAddress(AbstractModel):
33288
33319
 
33289
33320
  @property
33290
33321
  def ProxyAllocation(self):
33291
- r"""实例读权重分配
33322
+ r"""<p>实例读权重分配</p>
33292
33323
  :rtype: list of ProxyAllocation
33293
33324
  """
33294
33325
  return self._ProxyAllocation
@@ -33299,7 +33330,7 @@ class ProxyAddress(AbstractModel):
33299
33330
 
33300
33331
  @property
33301
33332
  def AccessMode(self):
33302
- r"""接入模式
33333
+ r"""<p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
33303
33334
  :rtype: str
33304
33335
  """
33305
33336
  return self._AccessMode
@@ -33310,7 +33341,7 @@ class ProxyAddress(AbstractModel):
33310
33341
 
33311
33342
  @property
33312
33343
  def AutoLoadBalance(self):
33313
- r"""是否开启自动负载均衡
33344
+ r"""<p>是否开启自动负载均衡</p>
33314
33345
  :rtype: bool
33315
33346
  """
33316
33347
  return self._AutoLoadBalance
@@ -33321,7 +33352,7 @@ class ProxyAddress(AbstractModel):
33321
33352
 
33322
33353
  @property
33323
33354
  def ApNodeAsRoNode(self):
33324
- r"""是否把libra当作ro节点
33355
+ r"""<p>是否把libra当作ro节点</p>
33325
33356
  :rtype: bool
33326
33357
  """
33327
33358
  return self._ApNodeAsRoNode
@@ -33332,7 +33363,7 @@ class ProxyAddress(AbstractModel):
33332
33363
 
33333
33364
  @property
33334
33365
  def ApQueryToOtherNode(self):
33335
- r"""libra节点故障,是否转发给其他节点
33366
+ r"""<p>libra节点故障,是否转发给其他节点</p>
33336
33367
  :rtype: bool
33337
33368
  """
33338
33369
  return self._ApQueryToOtherNode
@@ -33341,6 +33372,17 @@ class ProxyAddress(AbstractModel):
33341
33372
  def ApQueryToOtherNode(self, ApQueryToOtherNode):
33342
33373
  self._ApQueryToOtherNode = ApQueryToOtherNode
33343
33374
 
33375
+ @property
33376
+ def Region(self):
33377
+ r"""<p>地址所在地域名</p>
33378
+ :rtype: str
33379
+ """
33380
+ return self._Region
33381
+
33382
+ @Region.setter
33383
+ def Region(self, Region):
33384
+ self._Region = Region
33385
+
33344
33386
 
33345
33387
  def _deserialize(self, params):
33346
33388
  self._ProxyAddressId = params.get("ProxyAddressId")
@@ -33368,6 +33410,7 @@ class ProxyAddress(AbstractModel):
33368
33410
  self._AutoLoadBalance = params.get("AutoLoadBalance")
33369
33411
  self._ApNodeAsRoNode = params.get("ApNodeAsRoNode")
33370
33412
  self._ApQueryToOtherNode = params.get("ApQueryToOtherNode")
33413
+ self._Region = params.get("Region")
33371
33414
  memeber_set = set(params.keys())
33372
33415
  for name, value in vars(self).items():
33373
33416
  property_name = name[1:]
@@ -38118,6 +38161,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
38118
38161
 
38119
38162
  @property
38120
38163
  def ForceSwitch(self):
38164
+ warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
38165
+
38121
38166
  r"""是否强制切换。默认为 False。注意,若设置强制切换为 True,实例存在丢失数据的风险,请谨慎使用。
38122
38167
  :rtype: bool
38123
38168
  """
@@ -38125,6 +38170,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
38125
38170
 
38126
38171
  @ForceSwitch.setter
38127
38172
  def ForceSwitch(self, ForceSwitch):
38173
+ warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
38174
+
38128
38175
  self._ForceSwitch = ForceSwitch
38129
38176
 
38130
38177
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cdb
3
- Version: 3.1.132
3
+ Version: 3.1.137
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.132
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.137
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.137
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.132