tencentcloud-sdk-python-postgres 3.0.1470__tar.gz → 3.0.1475__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.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/setup.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/models.py +14 -14
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-postgres-3.0.1475/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-postgres-3.0.1470/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/README.rst +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/setup.cfg +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/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.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1475,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Postgres SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -8234,14 +8234,14 @@ class DescribeDBInstanceHAConfigRequest(AbstractModel):
|
|
|
8234
8234
|
|
|
8235
8235
|
def __init__(self):
|
|
8236
8236
|
r"""
|
|
8237
|
-
:param _DBInstanceId: 实例ID
|
|
8237
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8238
8238
|
:type DBInstanceId: str
|
|
8239
8239
|
"""
|
|
8240
8240
|
self._DBInstanceId = None
|
|
8241
8241
|
|
|
8242
8242
|
@property
|
|
8243
8243
|
def DBInstanceId(self):
|
|
8244
|
-
r"""实例ID
|
|
8244
|
+
r"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8245
8245
|
:rtype: str
|
|
8246
8246
|
"""
|
|
8247
8247
|
return self._DBInstanceId
|
|
@@ -8271,16 +8271,16 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8271
8271
|
def __init__(self):
|
|
8272
8272
|
r"""
|
|
8273
8273
|
:param _SyncMode: 主从同步方式:
|
|
8274
|
-
<li>Semi-sync
|
|
8275
|
-
<li>Async
|
|
8274
|
+
<li>Semi-sync:半同步</li>
|
|
8275
|
+
<li>Async:异步</li>
|
|
8276
8276
|
:type SyncMode: str
|
|
8277
8277
|
:param _MaxStandbyLatency: 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
8278
|
-
<li>单位:byte
|
|
8279
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
8278
|
+
<li>单位:byte</li>
|
|
8279
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
8280
8280
|
:type MaxStandbyLatency: int
|
|
8281
8281
|
:param _MaxStandbyLag: 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
8282
|
-
<li>单位:s
|
|
8283
|
-
<li>参数范围:[5, 10]
|
|
8282
|
+
<li>单位:s</li>
|
|
8283
|
+
<li>参数范围:[5, 10]</li>
|
|
8284
8284
|
:type MaxStandbyLag: int
|
|
8285
8285
|
:param _MaxSyncStandbyLatency: 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。
|
|
8286
8286
|
该参数值针对SyncMode设置为Semi-sync的实例有效。
|
|
@@ -8307,8 +8307,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8307
8307
|
@property
|
|
8308
8308
|
def SyncMode(self):
|
|
8309
8309
|
r"""主从同步方式:
|
|
8310
|
-
<li>Semi-sync
|
|
8311
|
-
<li>Async
|
|
8310
|
+
<li>Semi-sync:半同步</li>
|
|
8311
|
+
<li>Async:异步</li>
|
|
8312
8312
|
:rtype: str
|
|
8313
8313
|
"""
|
|
8314
8314
|
return self._SyncMode
|
|
@@ -8320,8 +8320,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8320
8320
|
@property
|
|
8321
8321
|
def MaxStandbyLatency(self):
|
|
8322
8322
|
r"""高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
8323
|
-
<li>单位:byte
|
|
8324
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
8323
|
+
<li>单位:byte</li>
|
|
8324
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
8325
8325
|
:rtype: int
|
|
8326
8326
|
"""
|
|
8327
8327
|
return self._MaxStandbyLatency
|
|
@@ -8333,8 +8333,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8333
8333
|
@property
|
|
8334
8334
|
def MaxStandbyLag(self):
|
|
8335
8335
|
r"""高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
8336
|
-
<li>单位:s
|
|
8337
|
-
<li>参数范围:[5, 10]
|
|
8336
|
+
<li>单位:s</li>
|
|
8337
|
+
<li>参数范围:[5, 10]</li>
|
|
8338
8338
|
:rtype: int
|
|
8339
8339
|
"""
|
|
8340
8340
|
return self._MaxStandbyLag
|
|
@@ -835,8 +835,8 @@ class PostgresClient(AbstractClient):
|
|
|
835
835
|
|
|
836
836
|
def DescribeDBInstanceHAConfig(self, request):
|
|
837
837
|
r"""本接口(DescribeDBInstanceHAConfig)用于查询实例HA配置信息。其中HA配置信息包括:
|
|
838
|
-
<li
|
|
839
|
-
<li
|
|
838
|
+
<li>允许备节点切换为主节点的条件配置</li>
|
|
839
|
+
<li>半同步实例使用同步复制或异步复制的条件配置</li>
|
|
840
840
|
|
|
841
841
|
:param request: Request instance for DescribeDBInstanceHAConfig.
|
|
842
842
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBInstanceHAConfigRequest`
|
tencentcloud-sdk-python-postgres-3.0.1475/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1475
|
tencentcloud-sdk-python-postgres-3.0.1470/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1470
|
{tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-postgres-3.0.1470 → tencentcloud-sdk-python-postgres-3.0.1475}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|