tencentcloud-sdk-python-postgres 3.1.160__tar.gz → 3.1.163__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_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/setup.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/v20170312/models.py +247 -2
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_postgres-3.1.163/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_postgres-3.1.160/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/README.rst +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/setup.cfg +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.163
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.163
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
{tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/setup.py
RENAMED
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-postgres',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.163,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Postgres SDK for Python',
|
|
@@ -18416,12 +18416,33 @@ class ModifyDBProxyAddressRequest(AbstractModel):
|
|
|
18416
18416
|
:type Description: str
|
|
18417
18417
|
:param _ConnectionPool: <p>连接池开关</p><p>枚举值:</p><ul><li>true: 开启</li><li>false: 关闭</li></ul>
|
|
18418
18418
|
:type ConnectionPool: bool
|
|
18419
|
+
:param _WeightMode: <p>权重模式</p><p>枚举值:</p><ul><li>system: 系统自动分配权重</li><li>custom: 自定义权重,此模式下ProxyAllocation参数必传</li></ul><p>默认值:system</p>
|
|
18420
|
+
:type WeightMode: str
|
|
18421
|
+
:param _ProxyAllocation: <p>system</p><p>入参限制:路由权重列表。若 WeightMode 传的是system或不传 ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
18422
|
+
:type ProxyAllocation: list of ProxyRoute
|
|
18423
|
+
:param _RoAutoAdd: <p>新增只读实例是否自动加入当前连接地址,仅后续新建实例生效</p>
|
|
18424
|
+
:type RoAutoAdd: bool
|
|
18425
|
+
:param _LatencyRemove: <p>延迟剔除开关</p>
|
|
18426
|
+
:type LatencyRemove: bool
|
|
18427
|
+
:param _LatencyRemoveTime: <p>延迟剔除阈值,仅在延迟剔除开关打开时有效</p><p>单位:秒</p>
|
|
18428
|
+
:type LatencyRemoveTime: int
|
|
18429
|
+
:param _MinRouteNum: <p>最小保留路由数。在延迟/故障剔除时,至少保留的路由数量,防止所有节点被剔除导致服务不可用。</p>
|
|
18430
|
+
:type MinRouteNum: int
|
|
18431
|
+
:param _LoadBalancePolicy: <p>负载均衡策略</p><p>枚举值:</p><ul><li>0: 按活跃连接数(默认)</li><li>1: 按请求数</li></ul>
|
|
18432
|
+
:type LoadBalancePolicy: int
|
|
18419
18433
|
"""
|
|
18420
18434
|
self._DBInstanceId = None
|
|
18421
18435
|
self._AddressId = None
|
|
18422
18436
|
self._ProxyGroupId = None
|
|
18423
18437
|
self._Description = None
|
|
18424
18438
|
self._ConnectionPool = None
|
|
18439
|
+
self._WeightMode = None
|
|
18440
|
+
self._ProxyAllocation = None
|
|
18441
|
+
self._RoAutoAdd = None
|
|
18442
|
+
self._LatencyRemove = None
|
|
18443
|
+
self._LatencyRemoveTime = None
|
|
18444
|
+
self._MinRouteNum = None
|
|
18445
|
+
self._LoadBalancePolicy = None
|
|
18425
18446
|
|
|
18426
18447
|
@property
|
|
18427
18448
|
def DBInstanceId(self):
|
|
@@ -18478,6 +18499,83 @@ class ModifyDBProxyAddressRequest(AbstractModel):
|
|
|
18478
18499
|
def ConnectionPool(self, ConnectionPool):
|
|
18479
18500
|
self._ConnectionPool = ConnectionPool
|
|
18480
18501
|
|
|
18502
|
+
@property
|
|
18503
|
+
def WeightMode(self):
|
|
18504
|
+
r"""<p>权重模式</p><p>枚举值:</p><ul><li>system: 系统自动分配权重</li><li>custom: 自定义权重,此模式下ProxyAllocation参数必传</li></ul><p>默认值:system</p>
|
|
18505
|
+
:rtype: str
|
|
18506
|
+
"""
|
|
18507
|
+
return self._WeightMode
|
|
18508
|
+
|
|
18509
|
+
@WeightMode.setter
|
|
18510
|
+
def WeightMode(self, WeightMode):
|
|
18511
|
+
self._WeightMode = WeightMode
|
|
18512
|
+
|
|
18513
|
+
@property
|
|
18514
|
+
def ProxyAllocation(self):
|
|
18515
|
+
r"""<p>system</p><p>入参限制:路由权重列表。若 WeightMode 传的是system或不传 ,则传入的权重不生效,由系统分配默认权重。</p>
|
|
18516
|
+
:rtype: list of ProxyRoute
|
|
18517
|
+
"""
|
|
18518
|
+
return self._ProxyAllocation
|
|
18519
|
+
|
|
18520
|
+
@ProxyAllocation.setter
|
|
18521
|
+
def ProxyAllocation(self, ProxyAllocation):
|
|
18522
|
+
self._ProxyAllocation = ProxyAllocation
|
|
18523
|
+
|
|
18524
|
+
@property
|
|
18525
|
+
def RoAutoAdd(self):
|
|
18526
|
+
r"""<p>新增只读实例是否自动加入当前连接地址,仅后续新建实例生效</p>
|
|
18527
|
+
:rtype: bool
|
|
18528
|
+
"""
|
|
18529
|
+
return self._RoAutoAdd
|
|
18530
|
+
|
|
18531
|
+
@RoAutoAdd.setter
|
|
18532
|
+
def RoAutoAdd(self, RoAutoAdd):
|
|
18533
|
+
self._RoAutoAdd = RoAutoAdd
|
|
18534
|
+
|
|
18535
|
+
@property
|
|
18536
|
+
def LatencyRemove(self):
|
|
18537
|
+
r"""<p>延迟剔除开关</p>
|
|
18538
|
+
:rtype: bool
|
|
18539
|
+
"""
|
|
18540
|
+
return self._LatencyRemove
|
|
18541
|
+
|
|
18542
|
+
@LatencyRemove.setter
|
|
18543
|
+
def LatencyRemove(self, LatencyRemove):
|
|
18544
|
+
self._LatencyRemove = LatencyRemove
|
|
18545
|
+
|
|
18546
|
+
@property
|
|
18547
|
+
def LatencyRemoveTime(self):
|
|
18548
|
+
r"""<p>延迟剔除阈值,仅在延迟剔除开关打开时有效</p><p>单位:秒</p>
|
|
18549
|
+
:rtype: int
|
|
18550
|
+
"""
|
|
18551
|
+
return self._LatencyRemoveTime
|
|
18552
|
+
|
|
18553
|
+
@LatencyRemoveTime.setter
|
|
18554
|
+
def LatencyRemoveTime(self, LatencyRemoveTime):
|
|
18555
|
+
self._LatencyRemoveTime = LatencyRemoveTime
|
|
18556
|
+
|
|
18557
|
+
@property
|
|
18558
|
+
def MinRouteNum(self):
|
|
18559
|
+
r"""<p>最小保留路由数。在延迟/故障剔除时,至少保留的路由数量,防止所有节点被剔除导致服务不可用。</p>
|
|
18560
|
+
:rtype: int
|
|
18561
|
+
"""
|
|
18562
|
+
return self._MinRouteNum
|
|
18563
|
+
|
|
18564
|
+
@MinRouteNum.setter
|
|
18565
|
+
def MinRouteNum(self, MinRouteNum):
|
|
18566
|
+
self._MinRouteNum = MinRouteNum
|
|
18567
|
+
|
|
18568
|
+
@property
|
|
18569
|
+
def LoadBalancePolicy(self):
|
|
18570
|
+
r"""<p>负载均衡策略</p><p>枚举值:</p><ul><li>0: 按活跃连接数(默认)</li><li>1: 按请求数</li></ul>
|
|
18571
|
+
:rtype: int
|
|
18572
|
+
"""
|
|
18573
|
+
return self._LoadBalancePolicy
|
|
18574
|
+
|
|
18575
|
+
@LoadBalancePolicy.setter
|
|
18576
|
+
def LoadBalancePolicy(self, LoadBalancePolicy):
|
|
18577
|
+
self._LoadBalancePolicy = LoadBalancePolicy
|
|
18578
|
+
|
|
18481
18579
|
|
|
18482
18580
|
def _deserialize(self, params):
|
|
18483
18581
|
self._DBInstanceId = params.get("DBInstanceId")
|
|
@@ -18485,6 +18583,18 @@ class ModifyDBProxyAddressRequest(AbstractModel):
|
|
|
18485
18583
|
self._ProxyGroupId = params.get("ProxyGroupId")
|
|
18486
18584
|
self._Description = params.get("Description")
|
|
18487
18585
|
self._ConnectionPool = params.get("ConnectionPool")
|
|
18586
|
+
self._WeightMode = params.get("WeightMode")
|
|
18587
|
+
if params.get("ProxyAllocation") is not None:
|
|
18588
|
+
self._ProxyAllocation = []
|
|
18589
|
+
for item in params.get("ProxyAllocation"):
|
|
18590
|
+
obj = ProxyRoute()
|
|
18591
|
+
obj._deserialize(item)
|
|
18592
|
+
self._ProxyAllocation.append(obj)
|
|
18593
|
+
self._RoAutoAdd = params.get("RoAutoAdd")
|
|
18594
|
+
self._LatencyRemove = params.get("LatencyRemove")
|
|
18595
|
+
self._LatencyRemoveTime = params.get("LatencyRemoveTime")
|
|
18596
|
+
self._MinRouteNum = params.get("MinRouteNum")
|
|
18597
|
+
self._LoadBalancePolicy = params.get("LoadBalancePolicy")
|
|
18488
18598
|
memeber_set = set(params.keys())
|
|
18489
18599
|
for name, value in vars(self).items():
|
|
18490
18600
|
property_name = name[1:]
|
|
@@ -18502,11 +18612,25 @@ class ModifyDBProxyAddressResponse(AbstractModel):
|
|
|
18502
18612
|
|
|
18503
18613
|
def __init__(self):
|
|
18504
18614
|
r"""
|
|
18615
|
+
:param _TaskId: <p>异步任务 ID,用于 DescribeTasks 查询进度</p>
|
|
18616
|
+
:type TaskId: int
|
|
18505
18617
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18506
18618
|
:type RequestId: str
|
|
18507
18619
|
"""
|
|
18620
|
+
self._TaskId = None
|
|
18508
18621
|
self._RequestId = None
|
|
18509
18622
|
|
|
18623
|
+
@property
|
|
18624
|
+
def TaskId(self):
|
|
18625
|
+
r"""<p>异步任务 ID,用于 DescribeTasks 查询进度</p>
|
|
18626
|
+
:rtype: int
|
|
18627
|
+
"""
|
|
18628
|
+
return self._TaskId
|
|
18629
|
+
|
|
18630
|
+
@TaskId.setter
|
|
18631
|
+
def TaskId(self, TaskId):
|
|
18632
|
+
self._TaskId = TaskId
|
|
18633
|
+
|
|
18510
18634
|
@property
|
|
18511
18635
|
def RequestId(self):
|
|
18512
18636
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -18520,6 +18644,7 @@ class ModifyDBProxyAddressResponse(AbstractModel):
|
|
|
18520
18644
|
|
|
18521
18645
|
|
|
18522
18646
|
def _deserialize(self, params):
|
|
18647
|
+
self._TaskId = params.get("TaskId")
|
|
18523
18648
|
self._RequestId = params.get("RequestId")
|
|
18524
18649
|
|
|
18525
18650
|
|
|
@@ -20887,6 +21012,22 @@ class ProxyAddress(AbstractModel):
|
|
|
20887
21012
|
:type Routes: list of ProxyRoute
|
|
20888
21013
|
:param _ConnectionPoolLimit: <p>连接池大小</p>
|
|
20889
21014
|
:type ConnectionPoolLimit: int
|
|
21015
|
+
:param _RwSplitEnable: <p>读写分离开关。启用后 proxy 将读请求分发到只读节点,写请求仍走主节点。</p>
|
|
21016
|
+
:type RwSplitEnable: bool
|
|
21017
|
+
:param _WeightMode: <p>权重模式</p><p>枚举值:</p><ul><li>system: 系统自动分配</li><li>custom: 用户自定义权重</li></ul>
|
|
21018
|
+
:type WeightMode: str
|
|
21019
|
+
:param _RoAutoAdd: <p>新增只读是否自动加入读写分离</p>
|
|
21020
|
+
:type RoAutoAdd: bool
|
|
21021
|
+
:param _LatencyRemove: <p>延迟剔除开关</p>
|
|
21022
|
+
:type LatencyRemove: bool
|
|
21023
|
+
:param _LatencyRemoveTime: <p>延迟剔除阈值</p><p>单位:秒</p>
|
|
21024
|
+
:type LatencyRemoveTime: int
|
|
21025
|
+
:param _MinRouteNum: <p>最小保留路由数。在延迟/故障剔除时,至少保留的路由数量,防止所有节点被剔除导致服务不可用。</p>
|
|
21026
|
+
:type MinRouteNum: int
|
|
21027
|
+
:param _FailOver: <p>只读全部异常时是否回切到主</p>
|
|
21028
|
+
:type FailOver: bool
|
|
21029
|
+
:param _LoadBalancePolicy: <p>负载均衡策略</p><p>枚举值:</p><ul><li>0: 按活跃连接数(默认)</li><li>1: 按请求数</li></ul>
|
|
21030
|
+
:type LoadBalancePolicy: int
|
|
20890
21031
|
"""
|
|
20891
21032
|
self._AddressId = None
|
|
20892
21033
|
self._Vip = None
|
|
@@ -20897,6 +21038,14 @@ class ProxyAddress(AbstractModel):
|
|
|
20897
21038
|
self._ConnectionPool = None
|
|
20898
21039
|
self._Routes = None
|
|
20899
21040
|
self._ConnectionPoolLimit = None
|
|
21041
|
+
self._RwSplitEnable = None
|
|
21042
|
+
self._WeightMode = None
|
|
21043
|
+
self._RoAutoAdd = None
|
|
21044
|
+
self._LatencyRemove = None
|
|
21045
|
+
self._LatencyRemoveTime = None
|
|
21046
|
+
self._MinRouteNum = None
|
|
21047
|
+
self._FailOver = None
|
|
21048
|
+
self._LoadBalancePolicy = None
|
|
20900
21049
|
|
|
20901
21050
|
@property
|
|
20902
21051
|
def AddressId(self):
|
|
@@ -20997,6 +21146,94 @@ class ProxyAddress(AbstractModel):
|
|
|
20997
21146
|
def ConnectionPoolLimit(self, ConnectionPoolLimit):
|
|
20998
21147
|
self._ConnectionPoolLimit = ConnectionPoolLimit
|
|
20999
21148
|
|
|
21149
|
+
@property
|
|
21150
|
+
def RwSplitEnable(self):
|
|
21151
|
+
r"""<p>读写分离开关。启用后 proxy 将读请求分发到只读节点,写请求仍走主节点。</p>
|
|
21152
|
+
:rtype: bool
|
|
21153
|
+
"""
|
|
21154
|
+
return self._RwSplitEnable
|
|
21155
|
+
|
|
21156
|
+
@RwSplitEnable.setter
|
|
21157
|
+
def RwSplitEnable(self, RwSplitEnable):
|
|
21158
|
+
self._RwSplitEnable = RwSplitEnable
|
|
21159
|
+
|
|
21160
|
+
@property
|
|
21161
|
+
def WeightMode(self):
|
|
21162
|
+
r"""<p>权重模式</p><p>枚举值:</p><ul><li>system: 系统自动分配</li><li>custom: 用户自定义权重</li></ul>
|
|
21163
|
+
:rtype: str
|
|
21164
|
+
"""
|
|
21165
|
+
return self._WeightMode
|
|
21166
|
+
|
|
21167
|
+
@WeightMode.setter
|
|
21168
|
+
def WeightMode(self, WeightMode):
|
|
21169
|
+
self._WeightMode = WeightMode
|
|
21170
|
+
|
|
21171
|
+
@property
|
|
21172
|
+
def RoAutoAdd(self):
|
|
21173
|
+
r"""<p>新增只读是否自动加入读写分离</p>
|
|
21174
|
+
:rtype: bool
|
|
21175
|
+
"""
|
|
21176
|
+
return self._RoAutoAdd
|
|
21177
|
+
|
|
21178
|
+
@RoAutoAdd.setter
|
|
21179
|
+
def RoAutoAdd(self, RoAutoAdd):
|
|
21180
|
+
self._RoAutoAdd = RoAutoAdd
|
|
21181
|
+
|
|
21182
|
+
@property
|
|
21183
|
+
def LatencyRemove(self):
|
|
21184
|
+
r"""<p>延迟剔除开关</p>
|
|
21185
|
+
:rtype: bool
|
|
21186
|
+
"""
|
|
21187
|
+
return self._LatencyRemove
|
|
21188
|
+
|
|
21189
|
+
@LatencyRemove.setter
|
|
21190
|
+
def LatencyRemove(self, LatencyRemove):
|
|
21191
|
+
self._LatencyRemove = LatencyRemove
|
|
21192
|
+
|
|
21193
|
+
@property
|
|
21194
|
+
def LatencyRemoveTime(self):
|
|
21195
|
+
r"""<p>延迟剔除阈值</p><p>单位:秒</p>
|
|
21196
|
+
:rtype: int
|
|
21197
|
+
"""
|
|
21198
|
+
return self._LatencyRemoveTime
|
|
21199
|
+
|
|
21200
|
+
@LatencyRemoveTime.setter
|
|
21201
|
+
def LatencyRemoveTime(self, LatencyRemoveTime):
|
|
21202
|
+
self._LatencyRemoveTime = LatencyRemoveTime
|
|
21203
|
+
|
|
21204
|
+
@property
|
|
21205
|
+
def MinRouteNum(self):
|
|
21206
|
+
r"""<p>最小保留路由数。在延迟/故障剔除时,至少保留的路由数量,防止所有节点被剔除导致服务不可用。</p>
|
|
21207
|
+
:rtype: int
|
|
21208
|
+
"""
|
|
21209
|
+
return self._MinRouteNum
|
|
21210
|
+
|
|
21211
|
+
@MinRouteNum.setter
|
|
21212
|
+
def MinRouteNum(self, MinRouteNum):
|
|
21213
|
+
self._MinRouteNum = MinRouteNum
|
|
21214
|
+
|
|
21215
|
+
@property
|
|
21216
|
+
def FailOver(self):
|
|
21217
|
+
r"""<p>只读全部异常时是否回切到主</p>
|
|
21218
|
+
:rtype: bool
|
|
21219
|
+
"""
|
|
21220
|
+
return self._FailOver
|
|
21221
|
+
|
|
21222
|
+
@FailOver.setter
|
|
21223
|
+
def FailOver(self, FailOver):
|
|
21224
|
+
self._FailOver = FailOver
|
|
21225
|
+
|
|
21226
|
+
@property
|
|
21227
|
+
def LoadBalancePolicy(self):
|
|
21228
|
+
r"""<p>负载均衡策略</p><p>枚举值:</p><ul><li>0: 按活跃连接数(默认)</li><li>1: 按请求数</li></ul>
|
|
21229
|
+
:rtype: int
|
|
21230
|
+
"""
|
|
21231
|
+
return self._LoadBalancePolicy
|
|
21232
|
+
|
|
21233
|
+
@LoadBalancePolicy.setter
|
|
21234
|
+
def LoadBalancePolicy(self, LoadBalancePolicy):
|
|
21235
|
+
self._LoadBalancePolicy = LoadBalancePolicy
|
|
21236
|
+
|
|
21000
21237
|
|
|
21001
21238
|
def _deserialize(self, params):
|
|
21002
21239
|
self._AddressId = params.get("AddressId")
|
|
@@ -21013,6 +21250,14 @@ class ProxyAddress(AbstractModel):
|
|
|
21013
21250
|
obj._deserialize(item)
|
|
21014
21251
|
self._Routes.append(obj)
|
|
21015
21252
|
self._ConnectionPoolLimit = params.get("ConnectionPoolLimit")
|
|
21253
|
+
self._RwSplitEnable = params.get("RwSplitEnable")
|
|
21254
|
+
self._WeightMode = params.get("WeightMode")
|
|
21255
|
+
self._RoAutoAdd = params.get("RoAutoAdd")
|
|
21256
|
+
self._LatencyRemove = params.get("LatencyRemove")
|
|
21257
|
+
self._LatencyRemoveTime = params.get("LatencyRemoveTime")
|
|
21258
|
+
self._MinRouteNum = params.get("MinRouteNum")
|
|
21259
|
+
self._FailOver = params.get("FailOver")
|
|
21260
|
+
self._LoadBalancePolicy = params.get("LoadBalancePolicy")
|
|
21016
21261
|
memeber_set = set(params.keys())
|
|
21017
21262
|
for name, value in vars(self).items():
|
|
21018
21263
|
property_name = name[1:]
|
|
@@ -21394,7 +21639,7 @@ class ProxyRoute(AbstractModel):
|
|
|
21394
21639
|
:type Role: str
|
|
21395
21640
|
:param _Weight: <p>路由权重,取值范围 [0, 100]</p>
|
|
21396
21641
|
:type Weight: int
|
|
21397
|
-
:param _Status: <p>路由状态:
|
|
21642
|
+
:param _Status: <p>路由状态:online/offline</p><p>枚举值:</p><ul><li>online: 节点处于在线状态</li><li>offline: 节点处于下线状态</li></ul>
|
|
21398
21643
|
:type Status: str
|
|
21399
21644
|
"""
|
|
21400
21645
|
self._NodeId = None
|
|
@@ -21437,7 +21682,7 @@ class ProxyRoute(AbstractModel):
|
|
|
21437
21682
|
|
|
21438
21683
|
@property
|
|
21439
21684
|
def Status(self):
|
|
21440
|
-
r"""<p>路由状态:
|
|
21685
|
+
r"""<p>路由状态:online/offline</p><p>枚举值:</p><ul><li>online: 节点处于在线状态</li><li>offline: 节点处于下线状态</li></ul>
|
|
21441
21686
|
:rtype: str
|
|
21442
21687
|
"""
|
|
21443
21688
|
return self._Status
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.163
|
|
4
4
|
Summary: Tencent Cloud Postgres 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.163
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
tencentcloud_sdk_python_postgres-3.1.163/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.163
|
tencentcloud_sdk_python_postgres-3.1.160/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.160
|
{tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/README.rst
RENAMED
|
File without changes
|
{tencentcloud_sdk_python_postgres-3.1.160 → tencentcloud_sdk_python_postgres-3.1.163}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|