tencentcloud-sdk-python-cdb 3.1.132__tar.gz → 3.1.133__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.
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/setup.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/models.py +69 -52
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cdb-3.1.133/tencentcloud_sdk_python_cdb.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cdb-3.1.132/tencentcloud_sdk_python_cdb.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/README.rst +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/__init__.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/cdb_client.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/cdb_client_async.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud/cdb/v20170320/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/tencentcloud_sdk_python_cdb.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cdb-3.1.132 → tencentcloud_sdk_python_cdb-3.1.133}/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.133
|
|
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.133
|
|
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.133,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cdb SDK for Python',
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
@@ -12428,14 +12428,14 @@ class DescribeAsyncRequestInfoRequest(AbstractModel):
|
|
|
12428
12428
|
|
|
12429
12429
|
def __init__(self):
|
|
12430
12430
|
r"""
|
|
12431
|
-
:param _AsyncRequestId:
|
|
12431
|
+
:param _AsyncRequestId: <p>异步任务的请求 ID。</p>
|
|
12432
12432
|
:type AsyncRequestId: str
|
|
12433
12433
|
"""
|
|
12434
12434
|
self._AsyncRequestId = None
|
|
12435
12435
|
|
|
12436
12436
|
@property
|
|
12437
12437
|
def AsyncRequestId(self):
|
|
12438
|
-
r"""
|
|
12438
|
+
r"""<p>异步任务的请求 ID。</p>
|
|
12439
12439
|
:rtype: str
|
|
12440
12440
|
"""
|
|
12441
12441
|
return self._AsyncRequestId
|
|
@@ -12464,9 +12464,9 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12464
12464
|
|
|
12465
12465
|
def __init__(self):
|
|
12466
12466
|
r"""
|
|
12467
|
-
:param _Status:
|
|
12467
|
+
: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
12468
|
:type Status: str
|
|
12469
|
-
:param _Info:
|
|
12469
|
+
:param _Info: <p>任务执行信息描述。</p>
|
|
12470
12470
|
:type Info: str
|
|
12471
12471
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12472
12472
|
:type RequestId: str
|
|
@@ -12477,7 +12477,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12477
12477
|
|
|
12478
12478
|
@property
|
|
12479
12479
|
def Status(self):
|
|
12480
|
-
r"""
|
|
12480
|
+
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
12481
|
:rtype: str
|
|
12482
12482
|
"""
|
|
12483
12483
|
return self._Status
|
|
@@ -12488,7 +12488,7 @@ class DescribeAsyncRequestInfoResponse(AbstractModel):
|
|
|
12488
12488
|
|
|
12489
12489
|
@property
|
|
12490
12490
|
def Info(self):
|
|
12491
|
-
r"""
|
|
12491
|
+
r"""<p>任务执行信息描述。</p>
|
|
12492
12492
|
:rtype: str
|
|
12493
12493
|
"""
|
|
12494
12494
|
return self._Info
|
|
@@ -33057,47 +33057,48 @@ class ProxyAddress(AbstractModel):
|
|
|
33057
33057
|
|
|
33058
33058
|
def __init__(self):
|
|
33059
33059
|
r"""
|
|
33060
|
-
:param _ProxyAddressId:
|
|
33060
|
+
:param _ProxyAddressId: <p>代理组地址ID</p>
|
|
33061
33061
|
:type ProxyAddressId: str
|
|
33062
|
-
:param _UniqVpcId:
|
|
33062
|
+
:param _UniqVpcId: <p>私有网络ID</p>
|
|
33063
33063
|
:type UniqVpcId: str
|
|
33064
|
-
:param _UniqSubnetId:
|
|
33064
|
+
:param _UniqSubnetId: <p>私有子网ID</p>
|
|
33065
33065
|
:type UniqSubnetId: str
|
|
33066
|
-
:param _Vip: IP
|
|
33066
|
+
:param _Vip: <p>IP地址</p>
|
|
33067
33067
|
:type Vip: str
|
|
33068
|
-
:param _VPort:
|
|
33068
|
+
:param _VPort: <p>端口</p>
|
|
33069
33069
|
:type VPort: int
|
|
33070
|
-
:param _WeightMode:
|
|
33071
|
-
系统自动分配:"system", 自定义:"custom"
|
|
33070
|
+
:param _WeightMode: <p>权重分配模式;<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
33072
33071
|
:type WeightMode: str
|
|
33073
|
-
:param _IsKickOut:
|
|
33072
|
+
:param _IsKickOut: <p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
33074
33073
|
:type IsKickOut: bool
|
|
33075
|
-
:param _MinCount:
|
|
33074
|
+
:param _MinCount: <p>最小保留数量,最小取值:0</p>
|
|
33076
33075
|
:type MinCount: int
|
|
33077
|
-
:param _MaxDelay:
|
|
33076
|
+
:param _MaxDelay: <p>延迟剔除阈值,最小取值:0</p>
|
|
33078
33077
|
:type MaxDelay: int
|
|
33079
|
-
:param _AutoAddRo:
|
|
33078
|
+
:param _AutoAddRo: <p>是否自动添加RO,取值:"true" | "false"</p>
|
|
33080
33079
|
:type AutoAddRo: bool
|
|
33081
|
-
:param _ReadOnly:
|
|
33080
|
+
:param _ReadOnly: <p>是否是只读,取值:"true" | "false"</p>
|
|
33082
33081
|
:type ReadOnly: bool
|
|
33083
|
-
:param _TransSplit:
|
|
33082
|
+
:param _TransSplit: <p>是否开启事务分离</p>
|
|
33084
33083
|
:type TransSplit: bool
|
|
33085
|
-
:param _FailOver:
|
|
33084
|
+
:param _FailOver: <p>是否开启故障转移</p>
|
|
33086
33085
|
:type FailOver: bool
|
|
33087
|
-
:param _ConnectionPool:
|
|
33086
|
+
:param _ConnectionPool: <p>是否开启连接池</p>
|
|
33088
33087
|
:type ConnectionPool: bool
|
|
33089
|
-
:param _Desc:
|
|
33088
|
+
:param _Desc: <p>描述</p>
|
|
33090
33089
|
:type Desc: str
|
|
33091
|
-
:param _ProxyAllocation:
|
|
33090
|
+
:param _ProxyAllocation: <p>实例读权重分配</p>
|
|
33092
33091
|
:type ProxyAllocation: list of ProxyAllocation
|
|
33093
|
-
:param _AccessMode:
|
|
33092
|
+
:param _AccessMode: <p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
33094
33093
|
:type AccessMode: str
|
|
33095
|
-
:param _AutoLoadBalance:
|
|
33094
|
+
:param _AutoLoadBalance: <p>是否开启自动负载均衡</p>
|
|
33096
33095
|
:type AutoLoadBalance: bool
|
|
33097
|
-
:param _ApNodeAsRoNode:
|
|
33096
|
+
:param _ApNodeAsRoNode: <p>是否把libra当作ro节点</p>
|
|
33098
33097
|
:type ApNodeAsRoNode: bool
|
|
33099
|
-
:param _ApQueryToOtherNode: libra
|
|
33098
|
+
:param _ApQueryToOtherNode: <p>libra节点故障,是否转发给其他节点</p>
|
|
33100
33099
|
:type ApQueryToOtherNode: bool
|
|
33100
|
+
:param _Region: <p>地址所在地域名</p>
|
|
33101
|
+
:type Region: str
|
|
33101
33102
|
"""
|
|
33102
33103
|
self._ProxyAddressId = None
|
|
33103
33104
|
self._UniqVpcId = None
|
|
@@ -33119,10 +33120,11 @@ class ProxyAddress(AbstractModel):
|
|
|
33119
33120
|
self._AutoLoadBalance = None
|
|
33120
33121
|
self._ApNodeAsRoNode = None
|
|
33121
33122
|
self._ApQueryToOtherNode = None
|
|
33123
|
+
self._Region = None
|
|
33122
33124
|
|
|
33123
33125
|
@property
|
|
33124
33126
|
def ProxyAddressId(self):
|
|
33125
|
-
r"""
|
|
33127
|
+
r"""<p>代理组地址ID</p>
|
|
33126
33128
|
:rtype: str
|
|
33127
33129
|
"""
|
|
33128
33130
|
return self._ProxyAddressId
|
|
@@ -33133,7 +33135,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33133
33135
|
|
|
33134
33136
|
@property
|
|
33135
33137
|
def UniqVpcId(self):
|
|
33136
|
-
r"""
|
|
33138
|
+
r"""<p>私有网络ID</p>
|
|
33137
33139
|
:rtype: str
|
|
33138
33140
|
"""
|
|
33139
33141
|
return self._UniqVpcId
|
|
@@ -33144,7 +33146,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33144
33146
|
|
|
33145
33147
|
@property
|
|
33146
33148
|
def UniqSubnetId(self):
|
|
33147
|
-
r"""
|
|
33149
|
+
r"""<p>私有子网ID</p>
|
|
33148
33150
|
:rtype: str
|
|
33149
33151
|
"""
|
|
33150
33152
|
return self._UniqSubnetId
|
|
@@ -33155,7 +33157,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33155
33157
|
|
|
33156
33158
|
@property
|
|
33157
33159
|
def Vip(self):
|
|
33158
|
-
r"""IP
|
|
33160
|
+
r"""<p>IP地址</p>
|
|
33159
33161
|
:rtype: str
|
|
33160
33162
|
"""
|
|
33161
33163
|
return self._Vip
|
|
@@ -33166,7 +33168,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33166
33168
|
|
|
33167
33169
|
@property
|
|
33168
33170
|
def VPort(self):
|
|
33169
|
-
r"""
|
|
33171
|
+
r"""<p>端口</p>
|
|
33170
33172
|
:rtype: int
|
|
33171
33173
|
"""
|
|
33172
33174
|
return self._VPort
|
|
@@ -33177,8 +33179,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33177
33179
|
|
|
33178
33180
|
@property
|
|
33179
33181
|
def WeightMode(self):
|
|
33180
|
-
r"""
|
|
33181
|
-
系统自动分配:"system", 自定义:"custom"
|
|
33182
|
+
r"""<p>权重分配模式;<br>系统自动分配:"system", 自定义:"custom"</p>
|
|
33182
33183
|
:rtype: str
|
|
33183
33184
|
"""
|
|
33184
33185
|
return self._WeightMode
|
|
@@ -33189,7 +33190,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33189
33190
|
|
|
33190
33191
|
@property
|
|
33191
33192
|
def IsKickOut(self):
|
|
33192
|
-
r"""
|
|
33193
|
+
r"""<p>是否开启延迟剔除,取值:"true" | "false"</p>
|
|
33193
33194
|
:rtype: bool
|
|
33194
33195
|
"""
|
|
33195
33196
|
return self._IsKickOut
|
|
@@ -33200,7 +33201,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33200
33201
|
|
|
33201
33202
|
@property
|
|
33202
33203
|
def MinCount(self):
|
|
33203
|
-
r"""
|
|
33204
|
+
r"""<p>最小保留数量,最小取值:0</p>
|
|
33204
33205
|
:rtype: int
|
|
33205
33206
|
"""
|
|
33206
33207
|
return self._MinCount
|
|
@@ -33211,7 +33212,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33211
33212
|
|
|
33212
33213
|
@property
|
|
33213
33214
|
def MaxDelay(self):
|
|
33214
|
-
r"""
|
|
33215
|
+
r"""<p>延迟剔除阈值,最小取值:0</p>
|
|
33215
33216
|
:rtype: int
|
|
33216
33217
|
"""
|
|
33217
33218
|
return self._MaxDelay
|
|
@@ -33222,7 +33223,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33222
33223
|
|
|
33223
33224
|
@property
|
|
33224
33225
|
def AutoAddRo(self):
|
|
33225
|
-
r"""
|
|
33226
|
+
r"""<p>是否自动添加RO,取值:"true" | "false"</p>
|
|
33226
33227
|
:rtype: bool
|
|
33227
33228
|
"""
|
|
33228
33229
|
return self._AutoAddRo
|
|
@@ -33233,7 +33234,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33233
33234
|
|
|
33234
33235
|
@property
|
|
33235
33236
|
def ReadOnly(self):
|
|
33236
|
-
r"""
|
|
33237
|
+
r"""<p>是否是只读,取值:"true" | "false"</p>
|
|
33237
33238
|
:rtype: bool
|
|
33238
33239
|
"""
|
|
33239
33240
|
return self._ReadOnly
|
|
@@ -33244,7 +33245,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33244
33245
|
|
|
33245
33246
|
@property
|
|
33246
33247
|
def TransSplit(self):
|
|
33247
|
-
r"""
|
|
33248
|
+
r"""<p>是否开启事务分离</p>
|
|
33248
33249
|
:rtype: bool
|
|
33249
33250
|
"""
|
|
33250
33251
|
return self._TransSplit
|
|
@@ -33255,7 +33256,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33255
33256
|
|
|
33256
33257
|
@property
|
|
33257
33258
|
def FailOver(self):
|
|
33258
|
-
r"""
|
|
33259
|
+
r"""<p>是否开启故障转移</p>
|
|
33259
33260
|
:rtype: bool
|
|
33260
33261
|
"""
|
|
33261
33262
|
return self._FailOver
|
|
@@ -33266,7 +33267,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33266
33267
|
|
|
33267
33268
|
@property
|
|
33268
33269
|
def ConnectionPool(self):
|
|
33269
|
-
r"""
|
|
33270
|
+
r"""<p>是否开启连接池</p>
|
|
33270
33271
|
:rtype: bool
|
|
33271
33272
|
"""
|
|
33272
33273
|
return self._ConnectionPool
|
|
@@ -33277,7 +33278,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33277
33278
|
|
|
33278
33279
|
@property
|
|
33279
33280
|
def Desc(self):
|
|
33280
|
-
r"""
|
|
33281
|
+
r"""<p>描述</p>
|
|
33281
33282
|
:rtype: str
|
|
33282
33283
|
"""
|
|
33283
33284
|
return self._Desc
|
|
@@ -33288,7 +33289,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33288
33289
|
|
|
33289
33290
|
@property
|
|
33290
33291
|
def ProxyAllocation(self):
|
|
33291
|
-
r"""
|
|
33292
|
+
r"""<p>实例读权重分配</p>
|
|
33292
33293
|
:rtype: list of ProxyAllocation
|
|
33293
33294
|
"""
|
|
33294
33295
|
return self._ProxyAllocation
|
|
@@ -33299,7 +33300,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33299
33300
|
|
|
33300
33301
|
@property
|
|
33301
33302
|
def AccessMode(self):
|
|
33302
|
-
r"""
|
|
33303
|
+
r"""<p>接入模式</p><p>枚举值:</p><ul><li>nearby: 就近访问</li><li>balance: 均衡分配</li><li>direct_nearby: 纯网络转发就近访问</li><li>direct_balance: 纯网络转发均衡分配</li></ul>
|
|
33303
33304
|
:rtype: str
|
|
33304
33305
|
"""
|
|
33305
33306
|
return self._AccessMode
|
|
@@ -33310,7 +33311,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33310
33311
|
|
|
33311
33312
|
@property
|
|
33312
33313
|
def AutoLoadBalance(self):
|
|
33313
|
-
r"""
|
|
33314
|
+
r"""<p>是否开启自动负载均衡</p>
|
|
33314
33315
|
:rtype: bool
|
|
33315
33316
|
"""
|
|
33316
33317
|
return self._AutoLoadBalance
|
|
@@ -33321,7 +33322,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33321
33322
|
|
|
33322
33323
|
@property
|
|
33323
33324
|
def ApNodeAsRoNode(self):
|
|
33324
|
-
r"""
|
|
33325
|
+
r"""<p>是否把libra当作ro节点</p>
|
|
33325
33326
|
:rtype: bool
|
|
33326
33327
|
"""
|
|
33327
33328
|
return self._ApNodeAsRoNode
|
|
@@ -33332,7 +33333,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33332
33333
|
|
|
33333
33334
|
@property
|
|
33334
33335
|
def ApQueryToOtherNode(self):
|
|
33335
|
-
r"""libra
|
|
33336
|
+
r"""<p>libra节点故障,是否转发给其他节点</p>
|
|
33336
33337
|
:rtype: bool
|
|
33337
33338
|
"""
|
|
33338
33339
|
return self._ApQueryToOtherNode
|
|
@@ -33341,6 +33342,17 @@ class ProxyAddress(AbstractModel):
|
|
|
33341
33342
|
def ApQueryToOtherNode(self, ApQueryToOtherNode):
|
|
33342
33343
|
self._ApQueryToOtherNode = ApQueryToOtherNode
|
|
33343
33344
|
|
|
33345
|
+
@property
|
|
33346
|
+
def Region(self):
|
|
33347
|
+
r"""<p>地址所在地域名</p>
|
|
33348
|
+
:rtype: str
|
|
33349
|
+
"""
|
|
33350
|
+
return self._Region
|
|
33351
|
+
|
|
33352
|
+
@Region.setter
|
|
33353
|
+
def Region(self, Region):
|
|
33354
|
+
self._Region = Region
|
|
33355
|
+
|
|
33344
33356
|
|
|
33345
33357
|
def _deserialize(self, params):
|
|
33346
33358
|
self._ProxyAddressId = params.get("ProxyAddressId")
|
|
@@ -33368,6 +33380,7 @@ class ProxyAddress(AbstractModel):
|
|
|
33368
33380
|
self._AutoLoadBalance = params.get("AutoLoadBalance")
|
|
33369
33381
|
self._ApNodeAsRoNode = params.get("ApNodeAsRoNode")
|
|
33370
33382
|
self._ApQueryToOtherNode = params.get("ApQueryToOtherNode")
|
|
33383
|
+
self._Region = params.get("Region")
|
|
33371
33384
|
memeber_set = set(params.keys())
|
|
33372
33385
|
for name, value in vars(self).items():
|
|
33373
33386
|
property_name = name[1:]
|
|
@@ -38118,6 +38131,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38118
38131
|
|
|
38119
38132
|
@property
|
|
38120
38133
|
def ForceSwitch(self):
|
|
38134
|
+
warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
|
|
38135
|
+
|
|
38121
38136
|
r"""是否强制切换。默认为 False。注意,若设置强制切换为 True,实例存在丢失数据的风险,请谨慎使用。
|
|
38122
38137
|
:rtype: bool
|
|
38123
38138
|
"""
|
|
@@ -38125,6 +38140,8 @@ class SwitchDBInstanceMasterSlaveRequest(AbstractModel):
|
|
|
38125
38140
|
|
|
38126
38141
|
@ForceSwitch.setter
|
|
38127
38142
|
def ForceSwitch(self, ForceSwitch):
|
|
38143
|
+
warnings.warn("parameter `ForceSwitch` is deprecated", DeprecationWarning)
|
|
38144
|
+
|
|
38128
38145
|
self._ForceSwitch = ForceSwitch
|
|
38129
38146
|
|
|
38130
38147
|
@property
|
|
@@ -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.133
|
|
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.133
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.133
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.132
|
|
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
|