tencentcloud-sdk-python-postgres 3.0.1379__tar.gz → 3.0.1381__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.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/setup.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/postgres/v20170312/models.py +0 -79
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/postgres/v20170312/postgres_client.py +12 -29
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-postgres-3.0.1381/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-postgres-3.0.1379/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/README.rst +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/setup.cfg +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/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.1381"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Postgres SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -17580,85 +17580,6 @@ class OpenDBExtranetAccessResponse(AbstractModel):
|
|
|
17580
17580
|
self._RequestId = params.get("RequestId")
|
|
17581
17581
|
|
|
17582
17582
|
|
|
17583
|
-
class OpenServerlessDBExtranetAccessRequest(AbstractModel):
|
|
17584
|
-
"""OpenServerlessDBExtranetAccess请求参数结构体
|
|
17585
|
-
|
|
17586
|
-
"""
|
|
17587
|
-
|
|
17588
|
-
def __init__(self):
|
|
17589
|
-
r"""
|
|
17590
|
-
:param _DBInstanceId: 实例的唯一标识符
|
|
17591
|
-
:type DBInstanceId: str
|
|
17592
|
-
:param _DBInstanceName: 实例名称
|
|
17593
|
-
:type DBInstanceName: str
|
|
17594
|
-
"""
|
|
17595
|
-
self._DBInstanceId = None
|
|
17596
|
-
self._DBInstanceName = None
|
|
17597
|
-
|
|
17598
|
-
@property
|
|
17599
|
-
def DBInstanceId(self):
|
|
17600
|
-
"""实例的唯一标识符
|
|
17601
|
-
:rtype: str
|
|
17602
|
-
"""
|
|
17603
|
-
return self._DBInstanceId
|
|
17604
|
-
|
|
17605
|
-
@DBInstanceId.setter
|
|
17606
|
-
def DBInstanceId(self, DBInstanceId):
|
|
17607
|
-
self._DBInstanceId = DBInstanceId
|
|
17608
|
-
|
|
17609
|
-
@property
|
|
17610
|
-
def DBInstanceName(self):
|
|
17611
|
-
"""实例名称
|
|
17612
|
-
:rtype: str
|
|
17613
|
-
"""
|
|
17614
|
-
return self._DBInstanceName
|
|
17615
|
-
|
|
17616
|
-
@DBInstanceName.setter
|
|
17617
|
-
def DBInstanceName(self, DBInstanceName):
|
|
17618
|
-
self._DBInstanceName = DBInstanceName
|
|
17619
|
-
|
|
17620
|
-
|
|
17621
|
-
def _deserialize(self, params):
|
|
17622
|
-
self._DBInstanceId = params.get("DBInstanceId")
|
|
17623
|
-
self._DBInstanceName = params.get("DBInstanceName")
|
|
17624
|
-
memeber_set = set(params.keys())
|
|
17625
|
-
for name, value in vars(self).items():
|
|
17626
|
-
property_name = name[1:]
|
|
17627
|
-
if property_name in memeber_set:
|
|
17628
|
-
memeber_set.remove(property_name)
|
|
17629
|
-
if len(memeber_set) > 0:
|
|
17630
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17631
|
-
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
class OpenServerlessDBExtranetAccessResponse(AbstractModel):
|
|
17635
|
-
"""OpenServerlessDBExtranetAccess返回参数结构体
|
|
17636
|
-
|
|
17637
|
-
"""
|
|
17638
|
-
|
|
17639
|
-
def __init__(self):
|
|
17640
|
-
r"""
|
|
17641
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17642
|
-
:type RequestId: str
|
|
17643
|
-
"""
|
|
17644
|
-
self._RequestId = None
|
|
17645
|
-
|
|
17646
|
-
@property
|
|
17647
|
-
def RequestId(self):
|
|
17648
|
-
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17649
|
-
:rtype: str
|
|
17650
|
-
"""
|
|
17651
|
-
return self._RequestId
|
|
17652
|
-
|
|
17653
|
-
@RequestId.setter
|
|
17654
|
-
def RequestId(self, RequestId):
|
|
17655
|
-
self._RequestId = RequestId
|
|
17656
|
-
|
|
17657
|
-
|
|
17658
|
-
def _deserialize(self, params):
|
|
17659
|
-
self._RequestId = params.get("RequestId")
|
|
17660
|
-
|
|
17661
|
-
|
|
17662
17583
|
class ParamEntry(AbstractModel):
|
|
17663
17584
|
"""批量修改参数
|
|
17664
17585
|
|
|
@@ -213,7 +213,9 @@ class PostgresClient(AbstractClient):
|
|
|
213
213
|
|
|
214
214
|
|
|
215
215
|
def CreateDBInstances(self, request):
|
|
216
|
-
"""
|
|
216
|
+
"""早期接口,不规范,已提供新接口 CreateInstances 替换
|
|
217
|
+
|
|
218
|
+
本接口(CreateDBInstances)用于创建一个或者多个PostgreSQL实例,仅发货实例不会进行初始化。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
|
|
217
219
|
|
|
218
220
|
:param request: Request instance for CreateDBInstances.
|
|
219
221
|
:type request: :class:`tencentcloud.postgres.v20170312.models.CreateDBInstancesRequest`
|
|
@@ -1049,7 +1051,9 @@ class PostgresClient(AbstractClient):
|
|
|
1049
1051
|
|
|
1050
1052
|
|
|
1051
1053
|
def DescribeDBSlowlogs(self, request):
|
|
1052
|
-
"""
|
|
1054
|
+
"""早期接口不规范,已提供新接口 DescribeSlowQueryList 替换
|
|
1055
|
+
|
|
1056
|
+
本接口(DescribeDBSlowlogs)用于获取慢查询日志。本接口已于2021.09.01日废弃,后续此接口将不再返回任何数据,推荐使用接口[DescribeSlowQueryList](https://cloud.tencent.com/document/api/409/60540)替代。
|
|
1053
1057
|
|
|
1054
1058
|
:param request: Request instance for DescribeDBSlowlogs.
|
|
1055
1059
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DescribeDBSlowlogsRequest`
|
|
@@ -1604,7 +1608,9 @@ class PostgresClient(AbstractClient):
|
|
|
1604
1608
|
|
|
1605
1609
|
|
|
1606
1610
|
def InitDBInstances(self, request):
|
|
1607
|
-
"""
|
|
1611
|
+
"""早期接口,不规范,已提供新接口 CreateInstances 替换
|
|
1612
|
+
|
|
1613
|
+
本接口(InitDBInstances)用于初始化云数据库PostgreSQL实例。本接口已废弃,推荐使用接口[CreateInstances](https://cloud.tencent.com/document/api/409/56107)替代。
|
|
1608
1614
|
|
|
1609
1615
|
:param request: Request instance for InitDBInstances.
|
|
1610
1616
|
:type request: :class:`tencentcloud.postgres.v20170312.models.InitDBInstancesRequest`
|
|
@@ -2249,31 +2255,6 @@ class PostgresClient(AbstractClient):
|
|
|
2249
2255
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2250
2256
|
|
|
2251
2257
|
|
|
2252
|
-
def OpenServerlessDBExtranetAccess(self, request):
|
|
2253
|
-
"""该产品形态需要下线,已完成客户实例全部下线、后端服务下线等
|
|
2254
|
-
|
|
2255
|
-
【接口下线中,请勿使用】本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。
|
|
2256
|
-
|
|
2257
|
-
:param request: Request instance for OpenServerlessDBExtranetAccess.
|
|
2258
|
-
:type request: :class:`tencentcloud.postgres.v20170312.models.OpenServerlessDBExtranetAccessRequest`
|
|
2259
|
-
:rtype: :class:`tencentcloud.postgres.v20170312.models.OpenServerlessDBExtranetAccessResponse`
|
|
2260
|
-
|
|
2261
|
-
"""
|
|
2262
|
-
try:
|
|
2263
|
-
params = request._serialize()
|
|
2264
|
-
headers = request.headers
|
|
2265
|
-
body = self.call("OpenServerlessDBExtranetAccess", params, headers=headers)
|
|
2266
|
-
response = json.loads(body)
|
|
2267
|
-
model = models.OpenServerlessDBExtranetAccessResponse()
|
|
2268
|
-
model._deserialize(response["Response"])
|
|
2269
|
-
return model
|
|
2270
|
-
except Exception as e:
|
|
2271
|
-
if isinstance(e, TencentCloudSDKException):
|
|
2272
|
-
raise
|
|
2273
|
-
else:
|
|
2274
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
2258
|
def RebalanceReadOnlyGroup(self, request):
|
|
2278
2259
|
"""本接口(RebalanceReadOnlyGroup)用于重新均衡 RO 组内实例的负载。注意,RO 组内 RO 实例会有一次数据库连接瞬断,请确保应用程序能重连数据库,谨慎操作。
|
|
2279
2260
|
|
|
@@ -2485,7 +2466,9 @@ class PostgresClient(AbstractClient):
|
|
|
2485
2466
|
|
|
2486
2467
|
|
|
2487
2468
|
def UpgradeDBInstance(self, request):
|
|
2488
|
-
"""
|
|
2469
|
+
"""早期接口,不规范,已提供新接口 ModifyDBInstanceSpec 替换
|
|
2470
|
+
|
|
2471
|
+
本接口(UpgradeDBInstance)用于升级实例配置。本接口已废弃,推荐使用接口[ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/409/63689)替代。
|
|
2489
2472
|
|
|
2490
2473
|
:param request: Request instance for UpgradeDBInstance.
|
|
2491
2474
|
:type request: :class:`tencentcloud.postgres.v20170312.models.UpgradeDBInstanceRequest`
|
tencentcloud-sdk-python-postgres-3.0.1381/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1381
|
tencentcloud-sdk-python-postgres-3.0.1379/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1379
|
{tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-postgres-3.0.1379 → tencentcloud-sdk-python-postgres-3.0.1381}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|