tencentcloud-sdk-python-postgres 3.0.1459__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.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/setup.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/models.py +47 -30
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- {tencentcloud-sdk-python-postgres-3.0.1459 → 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.1459/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/README.rst +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/setup.cfg +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-postgres-3.0.1459 → 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(),
|
|
@@ -4308,6 +4308,8 @@ mssql_compatible引擎:
|
|
|
4308
4308
|
<li>1:是</li>
|
|
4309
4309
|
默认值:0
|
|
4310
4310
|
:type SupportIpv6: int
|
|
4311
|
+
:param _ExpandedCpu: 实例已经弹性扩容的cpu核数
|
|
4312
|
+
:type ExpandedCpu: int
|
|
4311
4313
|
"""
|
|
4312
4314
|
self._Region = None
|
|
4313
4315
|
self._Zone = None
|
|
@@ -4348,6 +4350,7 @@ mssql_compatible引擎:
|
|
|
4348
4350
|
self._DBEngineConfig = None
|
|
4349
4351
|
self._NetworkAccessList = None
|
|
4350
4352
|
self._SupportIpv6 = None
|
|
4353
|
+
self._ExpandedCpu = None
|
|
4351
4354
|
|
|
4352
4355
|
@property
|
|
4353
4356
|
def Region(self):
|
|
@@ -4808,6 +4811,17 @@ mssql_compatible引擎:
|
|
|
4808
4811
|
def SupportIpv6(self, SupportIpv6):
|
|
4809
4812
|
self._SupportIpv6 = SupportIpv6
|
|
4810
4813
|
|
|
4814
|
+
@property
|
|
4815
|
+
def ExpandedCpu(self):
|
|
4816
|
+
r"""实例已经弹性扩容的cpu核数
|
|
4817
|
+
:rtype: int
|
|
4818
|
+
"""
|
|
4819
|
+
return self._ExpandedCpu
|
|
4820
|
+
|
|
4821
|
+
@ExpandedCpu.setter
|
|
4822
|
+
def ExpandedCpu(self, ExpandedCpu):
|
|
4823
|
+
self._ExpandedCpu = ExpandedCpu
|
|
4824
|
+
|
|
4811
4825
|
|
|
4812
4826
|
def _deserialize(self, params):
|
|
4813
4827
|
self._Region = params.get("Region")
|
|
@@ -4869,6 +4883,7 @@ mssql_compatible引擎:
|
|
|
4869
4883
|
obj._deserialize(item)
|
|
4870
4884
|
self._NetworkAccessList.append(obj)
|
|
4871
4885
|
self._SupportIpv6 = params.get("SupportIpv6")
|
|
4886
|
+
self._ExpandedCpu = params.get("ExpandedCpu")
|
|
4872
4887
|
memeber_set = set(params.keys())
|
|
4873
4888
|
for name, value in vars(self).items():
|
|
4874
4889
|
property_name = name[1:]
|
|
@@ -8219,14 +8234,14 @@ class DescribeDBInstanceHAConfigRequest(AbstractModel):
|
|
|
8219
8234
|
|
|
8220
8235
|
def __init__(self):
|
|
8221
8236
|
r"""
|
|
8222
|
-
:param _DBInstanceId: 实例ID
|
|
8237
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8223
8238
|
:type DBInstanceId: str
|
|
8224
8239
|
"""
|
|
8225
8240
|
self._DBInstanceId = None
|
|
8226
8241
|
|
|
8227
8242
|
@property
|
|
8228
8243
|
def DBInstanceId(self):
|
|
8229
|
-
r"""实例ID
|
|
8244
|
+
r"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
8230
8245
|
:rtype: str
|
|
8231
8246
|
"""
|
|
8232
8247
|
return self._DBInstanceId
|
|
@@ -8256,16 +8271,16 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8256
8271
|
def __init__(self):
|
|
8257
8272
|
r"""
|
|
8258
8273
|
:param _SyncMode: 主从同步方式:
|
|
8259
|
-
<li>Semi-sync
|
|
8260
|
-
<li>Async
|
|
8274
|
+
<li>Semi-sync:半同步</li>
|
|
8275
|
+
<li>Async:异步</li>
|
|
8261
8276
|
:type SyncMode: str
|
|
8262
8277
|
:param _MaxStandbyLatency: 高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
8263
|
-
<li>单位:byte
|
|
8264
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
8278
|
+
<li>单位:byte</li>
|
|
8279
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
8265
8280
|
:type MaxStandbyLatency: int
|
|
8266
8281
|
:param _MaxStandbyLag: 高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
8267
|
-
<li>单位:s
|
|
8268
|
-
<li>参数范围:[5, 10]
|
|
8282
|
+
<li>单位:s</li>
|
|
8283
|
+
<li>参数范围:[5, 10]</li>
|
|
8269
8284
|
:type MaxStandbyLag: int
|
|
8270
8285
|
:param _MaxSyncStandbyLatency: 同步备机最大延迟数据量。备机延迟数据量小于等于该值,且该备机延迟时间小于等于MaxSyncStandbyLag时,则该备机采用同步复制;否则,采用异步复制。
|
|
8271
8286
|
该参数值针对SyncMode设置为Semi-sync的实例有效。
|
|
@@ -8292,8 +8307,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8292
8307
|
@property
|
|
8293
8308
|
def SyncMode(self):
|
|
8294
8309
|
r"""主从同步方式:
|
|
8295
|
-
<li>Semi-sync
|
|
8296
|
-
<li>Async
|
|
8310
|
+
<li>Semi-sync:半同步</li>
|
|
8311
|
+
<li>Async:异步</li>
|
|
8297
8312
|
:rtype: str
|
|
8298
8313
|
"""
|
|
8299
8314
|
return self._SyncMode
|
|
@@ -8305,8 +8320,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8305
8320
|
@property
|
|
8306
8321
|
def MaxStandbyLatency(self):
|
|
8307
8322
|
r"""高可用备机最大延迟数据量。备节点延迟数据量小于等于该值,且备节点延迟时间小于等于MaxStandbyLag时,可以切换为主节点。
|
|
8308
|
-
<li>单位:byte
|
|
8309
|
-
<li>参数范围:[1073741824, 322122547200]
|
|
8323
|
+
<li>单位:byte</li>
|
|
8324
|
+
<li>参数范围:[1073741824, 322122547200]</li>
|
|
8310
8325
|
:rtype: int
|
|
8311
8326
|
"""
|
|
8312
8327
|
return self._MaxStandbyLatency
|
|
@@ -8318,8 +8333,8 @@ class DescribeDBInstanceHAConfigResponse(AbstractModel):
|
|
|
8318
8333
|
@property
|
|
8319
8334
|
def MaxStandbyLag(self):
|
|
8320
8335
|
r"""高可用备机最大延迟时间。备节点延迟时间小于等于该值,且备节点延迟数据量小于等于MaxStandbyLatency时,可以切换为主节点。
|
|
8321
|
-
<li>单位:s
|
|
8322
|
-
<li>参数范围:[5, 10]
|
|
8336
|
+
<li>单位:s</li>
|
|
8337
|
+
<li>参数范围:[5, 10]</li>
|
|
8323
8338
|
:rtype: int
|
|
8324
8339
|
"""
|
|
8325
8340
|
return self._MaxStandbyLag
|
|
@@ -10716,14 +10731,15 @@ class DescribeReadOnlyGroupsRequest(AbstractModel):
|
|
|
10716
10731
|
:param _Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
10717
10732
|
db-master-instance-id:按照主实例过滤,类型为string。
|
|
10718
10733
|
read-only-group-id:按照只读组ID过滤,类型为string。
|
|
10734
|
+
注:该参数的过滤条件中,db-master-instance-id为必须指定项。
|
|
10719
10735
|
:type Filters: list of Filter
|
|
10720
|
-
:param _PageSize: 查询每一页的条数,默认为10
|
|
10736
|
+
:param _PageSize: 查询每一页的条数,默认为10,最大值99。
|
|
10721
10737
|
:type PageSize: int
|
|
10722
10738
|
:param _PageNumber: 查询的页码,默认为1
|
|
10723
10739
|
:type PageNumber: int
|
|
10724
|
-
:param _OrderBy: 查询排序依据,目前支持:ROGroupId,CreateTime,Name
|
|
10740
|
+
:param _OrderBy: 查询排序依据,目前支持:ROGroupId,CreateTime,Name。默认值CreateTime
|
|
10725
10741
|
:type OrderBy: str
|
|
10726
|
-
:param _OrderByType: 查询排序依据类型,目前支持:desc,asc
|
|
10742
|
+
:param _OrderByType: 查询排序依据类型,目前支持:desc,asc。默认值asc。
|
|
10727
10743
|
:type OrderByType: str
|
|
10728
10744
|
"""
|
|
10729
10745
|
self._Filters = None
|
|
@@ -10737,6 +10753,7 @@ read-only-group-id:按照只读组ID过滤,类型为string。
|
|
|
10737
10753
|
r"""按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:
|
|
10738
10754
|
db-master-instance-id:按照主实例过滤,类型为string。
|
|
10739
10755
|
read-only-group-id:按照只读组ID过滤,类型为string。
|
|
10756
|
+
注:该参数的过滤条件中,db-master-instance-id为必须指定项。
|
|
10740
10757
|
:rtype: list of Filter
|
|
10741
10758
|
"""
|
|
10742
10759
|
return self._Filters
|
|
@@ -10747,7 +10764,7 @@ read-only-group-id:按照只读组ID过滤,类型为string。
|
|
|
10747
10764
|
|
|
10748
10765
|
@property
|
|
10749
10766
|
def PageSize(self):
|
|
10750
|
-
r"""查询每一页的条数,默认为10
|
|
10767
|
+
r"""查询每一页的条数,默认为10,最大值99。
|
|
10751
10768
|
:rtype: int
|
|
10752
10769
|
"""
|
|
10753
10770
|
return self._PageSize
|
|
@@ -10769,7 +10786,7 @@ read-only-group-id:按照只读组ID过滤,类型为string。
|
|
|
10769
10786
|
|
|
10770
10787
|
@property
|
|
10771
10788
|
def OrderBy(self):
|
|
10772
|
-
r"""查询排序依据,目前支持:ROGroupId,CreateTime,Name
|
|
10789
|
+
r"""查询排序依据,目前支持:ROGroupId,CreateTime,Name。默认值CreateTime
|
|
10773
10790
|
:rtype: str
|
|
10774
10791
|
"""
|
|
10775
10792
|
return self._OrderBy
|
|
@@ -10780,7 +10797,7 @@ read-only-group-id:按照只读组ID过滤,类型为string。
|
|
|
10780
10797
|
|
|
10781
10798
|
@property
|
|
10782
10799
|
def OrderByType(self):
|
|
10783
|
-
r"""查询排序依据类型,目前支持:desc,asc
|
|
10800
|
+
r"""查询排序依据类型,目前支持:desc,asc。默认值asc。
|
|
10784
10801
|
:rtype: str
|
|
10785
10802
|
"""
|
|
10786
10803
|
return self._OrderByType
|
|
@@ -17184,13 +17201,13 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17184
17201
|
:type MasterDBInstanceId: str
|
|
17185
17202
|
:param _MinDelayEliminateReserve: 最小保留实例数
|
|
17186
17203
|
:type MinDelayEliminateReserve: int
|
|
17187
|
-
:param _MaxReplayLatency:
|
|
17204
|
+
:param _MaxReplayLatency: 延迟空间大小阈值。单位MB。
|
|
17188
17205
|
:type MaxReplayLatency: int
|
|
17189
|
-
:param _ReplayLatencyEliminate:
|
|
17206
|
+
:param _ReplayLatencyEliminate: 延迟大小开关。0 - 关闭; 1 - 开启。
|
|
17190
17207
|
:type ReplayLatencyEliminate: int
|
|
17191
|
-
:param _MaxReplayLag:
|
|
17208
|
+
:param _MaxReplayLag: 延迟时间大小阈值,单位:秒。
|
|
17192
17209
|
:type MaxReplayLag: float
|
|
17193
|
-
:param _ReplayLagEliminate:
|
|
17210
|
+
:param _ReplayLagEliminate: 延迟时间开关。0 - 关闭; 1 - 开启。
|
|
17194
17211
|
:type ReplayLagEliminate: int
|
|
17195
17212
|
:param _VpcId: 虚拟网络id
|
|
17196
17213
|
:type VpcId: str
|
|
@@ -17200,7 +17217,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17200
17217
|
:type Region: str
|
|
17201
17218
|
:param _Zone: 地区id
|
|
17202
17219
|
:type Zone: str
|
|
17203
|
-
:param _Status:
|
|
17220
|
+
:param _Status: 状态。枚举值:creating、ok、modifying、deleting、deleted
|
|
17204
17221
|
:type Status: str
|
|
17205
17222
|
:param _ReadOnlyDBInstanceList: 实例详细信息
|
|
17206
17223
|
:type ReadOnlyDBInstanceList: list of DBInstance
|
|
@@ -17288,7 +17305,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17288
17305
|
|
|
17289
17306
|
@property
|
|
17290
17307
|
def MaxReplayLatency(self):
|
|
17291
|
-
r"""
|
|
17308
|
+
r"""延迟空间大小阈值。单位MB。
|
|
17292
17309
|
:rtype: int
|
|
17293
17310
|
"""
|
|
17294
17311
|
return self._MaxReplayLatency
|
|
@@ -17299,7 +17316,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17299
17316
|
|
|
17300
17317
|
@property
|
|
17301
17318
|
def ReplayLatencyEliminate(self):
|
|
17302
|
-
r"""
|
|
17319
|
+
r"""延迟大小开关。0 - 关闭; 1 - 开启。
|
|
17303
17320
|
:rtype: int
|
|
17304
17321
|
"""
|
|
17305
17322
|
return self._ReplayLatencyEliminate
|
|
@@ -17310,7 +17327,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17310
17327
|
|
|
17311
17328
|
@property
|
|
17312
17329
|
def MaxReplayLag(self):
|
|
17313
|
-
r"""
|
|
17330
|
+
r"""延迟时间大小阈值,单位:秒。
|
|
17314
17331
|
:rtype: float
|
|
17315
17332
|
"""
|
|
17316
17333
|
return self._MaxReplayLag
|
|
@@ -17321,7 +17338,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17321
17338
|
|
|
17322
17339
|
@property
|
|
17323
17340
|
def ReplayLagEliminate(self):
|
|
17324
|
-
r"""
|
|
17341
|
+
r"""延迟时间开关。0 - 关闭; 1 - 开启。
|
|
17325
17342
|
:rtype: int
|
|
17326
17343
|
"""
|
|
17327
17344
|
return self._ReplayLagEliminate
|
|
@@ -17376,7 +17393,7 @@ class ReadOnlyGroup(AbstractModel):
|
|
|
17376
17393
|
|
|
17377
17394
|
@property
|
|
17378
17395
|
def Status(self):
|
|
17379
|
-
r"""
|
|
17396
|
+
r"""状态。枚举值:creating、ok、modifying、deleting、deleted
|
|
17380
17397
|
:rtype: str
|
|
17381
17398
|
"""
|
|
17382
17399
|
return self._Status
|
|
@@ -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.1459/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
{tencentcloud-sdk-python-postgres-3.0.1459 → tencentcloud-sdk-python-postgres-3.0.1475}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-postgres-3.0.1459 → 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
|