tencentcloud-sdk-python-postgres 3.0.1432__tar.gz → 3.0.1437__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.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/setup.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/postgres/v20170312/models.py +30 -26
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/postgres/v20170312/postgres_client.py +2 -2
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-postgres-3.0.1437/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-postgres-3.0.1432/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/README.rst +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/setup.cfg +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/postgres/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/postgres/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
{tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/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.1437,<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(),
|
|
@@ -1620,9 +1620,9 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1620
1620
|
|
|
1621
1621
|
def __init__(self):
|
|
1622
1622
|
r"""
|
|
1623
|
-
:param _DBInstanceId: 实例ID
|
|
1623
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
|
|
1624
1624
|
:type DBInstanceId: str
|
|
1625
|
-
:param _IsIpv6: 是否关闭Ipv6外网,1:是,0
|
|
1625
|
+
:param _IsIpv6: 是否关闭Ipv6外网,1:是,0:否。默认值:0。
|
|
1626
1626
|
:type IsIpv6: int
|
|
1627
1627
|
"""
|
|
1628
1628
|
self._DBInstanceId = None
|
|
@@ -1630,7 +1630,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1630
1630
|
|
|
1631
1631
|
@property
|
|
1632
1632
|
def DBInstanceId(self):
|
|
1633
|
-
"""实例ID
|
|
1633
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。形如postgres-6r233v55
|
|
1634
1634
|
:rtype: str
|
|
1635
1635
|
"""
|
|
1636
1636
|
return self._DBInstanceId
|
|
@@ -1641,7 +1641,7 @@ class CloseDBExtranetAccessRequest(AbstractModel):
|
|
|
1641
1641
|
|
|
1642
1642
|
@property
|
|
1643
1643
|
def IsIpv6(self):
|
|
1644
|
-
"""是否关闭Ipv6外网,1:是,0
|
|
1644
|
+
"""是否关闭Ipv6外网,1:是,0:否。默认值:0。
|
|
1645
1645
|
:rtype: int
|
|
1646
1646
|
"""
|
|
1647
1647
|
return self._IsIpv6
|
|
@@ -6003,7 +6003,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
6003
6003
|
|
|
6004
6004
|
def __init__(self):
|
|
6005
6005
|
r"""
|
|
6006
|
-
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3
|
|
6006
|
+
:param _DBInstanceId: 实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6007
6007
|
:type DBInstanceId: str
|
|
6008
6008
|
:param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
|
|
6009
6009
|
:type VpcId: str
|
|
@@ -6019,7 +6019,7 @@ class DeleteDBInstanceNetworkAccessRequest(AbstractModel):
|
|
|
6019
6019
|
|
|
6020
6020
|
@property
|
|
6021
6021
|
def DBInstanceId(self):
|
|
6022
|
-
"""实例ID,形如:postgres-6bwgamo3
|
|
6022
|
+
"""实例ID,形如:postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
6023
6023
|
:rtype: str
|
|
6024
6024
|
"""
|
|
6025
6025
|
return self._DBInstanceId
|
|
@@ -6270,7 +6270,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
6270
6270
|
|
|
6271
6271
|
def __init__(self):
|
|
6272
6272
|
r"""
|
|
6273
|
-
:param _ReadOnlyGroupId: RO组ID,形如:
|
|
6273
|
+
:param _ReadOnlyGroupId: RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
6274
6274
|
:type ReadOnlyGroupId: str
|
|
6275
6275
|
:param _VpcId: 私有网络统一 ID,若是基础网络则传"0"。
|
|
6276
6276
|
:type VpcId: str
|
|
@@ -6286,7 +6286,7 @@ class DeleteReadOnlyGroupNetworkAccessRequest(AbstractModel):
|
|
|
6286
6286
|
|
|
6287
6287
|
@property
|
|
6288
6288
|
def ReadOnlyGroupId(self):
|
|
6289
|
-
"""RO组ID,形如:
|
|
6289
|
+
"""RO组ID,形如:pgrogrp-4t9c6g7k。可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取
|
|
6290
6290
|
:rtype: str
|
|
6291
6291
|
"""
|
|
6292
6292
|
return self._ReadOnlyGroupId
|
|
@@ -9677,13 +9677,14 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9677
9677
|
|
|
9678
9678
|
def __init__(self):
|
|
9679
9679
|
r"""
|
|
9680
|
-
:param _DBInstanceId: 实例ID
|
|
9680
|
+
:param _DBInstanceId: 实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
|
|
9681
9681
|
:type DBInstanceId: str
|
|
9682
9682
|
:param _Filters: 按照一个或者多个过滤条件进行查询,目前支持的过滤条件有:database-name:按照数据库名称过滤,类型为string。此处使用模糊匹配搜索符合条件的数据库。
|
|
9683
9683
|
:type Filters: list of Filter
|
|
9684
9684
|
:param _Offset: 数据偏移量,从0开始。
|
|
9685
9685
|
:type Offset: int
|
|
9686
|
-
:param _Limit:
|
|
9686
|
+
:param _Limit: 单次显示数量。建议最大取值100。
|
|
9687
|
+
默认值:20
|
|
9687
9688
|
:type Limit: int
|
|
9688
9689
|
"""
|
|
9689
9690
|
self._DBInstanceId = None
|
|
@@ -9693,7 +9694,7 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9693
9694
|
|
|
9694
9695
|
@property
|
|
9695
9696
|
def DBInstanceId(self):
|
|
9696
|
-
"""实例ID
|
|
9697
|
+
"""实例ID。可通过[DescribeDBInstances](https://cloud.tencent.com/document/product/409/16773)接口获取
|
|
9697
9698
|
:rtype: str
|
|
9698
9699
|
"""
|
|
9699
9700
|
return self._DBInstanceId
|
|
@@ -9726,7 +9727,8 @@ class DescribeDatabasesRequest(AbstractModel):
|
|
|
9726
9727
|
|
|
9727
9728
|
@property
|
|
9728
9729
|
def Limit(self):
|
|
9729
|
-
"""
|
|
9730
|
+
"""单次显示数量。建议最大取值100。
|
|
9731
|
+
默认值:20
|
|
9730
9732
|
:rtype: int
|
|
9731
9733
|
"""
|
|
9732
9734
|
return self._Limit
|
|
@@ -10557,14 +10559,14 @@ class DescribeParameterTemplateAttributesRequest(AbstractModel):
|
|
|
10557
10559
|
|
|
10558
10560
|
def __init__(self):
|
|
10559
10561
|
r"""
|
|
10560
|
-
:param _TemplateId: 参数模板ID。可通过[DescribeParameterTemplates](https://
|
|
10562
|
+
:param _TemplateId: 参数模板ID。可通过[DescribeParameterTemplates](https://cloud.tencent.com/document/api/409/84067)接口获取
|
|
10561
10563
|
:type TemplateId: str
|
|
10562
10564
|
"""
|
|
10563
10565
|
self._TemplateId = None
|
|
10564
10566
|
|
|
10565
10567
|
@property
|
|
10566
10568
|
def TemplateId(self):
|
|
10567
|
-
"""参数模板ID。可通过[DescribeParameterTemplates](https://
|
|
10569
|
+
"""参数模板ID。可通过[DescribeParameterTemplates](https://cloud.tencent.com/document/api/409/84067)接口获取
|
|
10568
10570
|
:rtype: str
|
|
10569
10571
|
"""
|
|
10570
10572
|
return self._TemplateId
|
|
@@ -13213,9 +13215,10 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13213
13215
|
|
|
13214
13216
|
def __init__(self):
|
|
13215
13217
|
r"""
|
|
13216
|
-
:param _DBInstanceId: 实例ID
|
|
13218
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
|
|
13219
|
+
(此接口仅支持预付费实例的查询)
|
|
13217
13220
|
:type DBInstanceId: str
|
|
13218
|
-
:param _Period:
|
|
13221
|
+
:param _Period: 续费周期,按月计算
|
|
13219
13222
|
:type Period: int
|
|
13220
13223
|
"""
|
|
13221
13224
|
self._DBInstanceId = None
|
|
@@ -13223,7 +13226,8 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13223
13226
|
|
|
13224
13227
|
@property
|
|
13225
13228
|
def DBInstanceId(self):
|
|
13226
|
-
"""实例ID
|
|
13229
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)获取。
|
|
13230
|
+
(此接口仅支持预付费实例的查询)
|
|
13227
13231
|
:rtype: str
|
|
13228
13232
|
"""
|
|
13229
13233
|
return self._DBInstanceId
|
|
@@ -13234,7 +13238,7 @@ class InquiryPriceRenewDBInstanceRequest(AbstractModel):
|
|
|
13234
13238
|
|
|
13235
13239
|
@property
|
|
13236
13240
|
def Period(self):
|
|
13237
|
-
"""
|
|
13241
|
+
"""续费周期,按月计算
|
|
13238
13242
|
:rtype: int
|
|
13239
13243
|
"""
|
|
13240
13244
|
return self._Period
|
|
@@ -13826,9 +13830,9 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13826
13830
|
|
|
13827
13831
|
def __init__(self):
|
|
13828
13832
|
r"""
|
|
13829
|
-
:param _DBInstanceId: 实例ID。
|
|
13833
|
+
:param _DBInstanceId: 实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13830
13834
|
:type DBInstanceId: str
|
|
13831
|
-
:param _UserName:
|
|
13835
|
+
:param _UserName: 修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
13832
13836
|
:type UserName: str
|
|
13833
13837
|
:param _ModifyPrivilegeSet: 修改的权限信息,支持批量修改,一次最高修改50条。
|
|
13834
13838
|
:type ModifyPrivilegeSet: list of ModifyPrivilege
|
|
@@ -13839,7 +13843,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13839
13843
|
|
|
13840
13844
|
@property
|
|
13841
13845
|
def DBInstanceId(self):
|
|
13842
|
-
"""实例ID。
|
|
13846
|
+
"""实例ID。 可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
|
|
13843
13847
|
:rtype: str
|
|
13844
13848
|
"""
|
|
13845
13849
|
return self._DBInstanceId
|
|
@@ -13850,7 +13854,7 @@ class ModifyAccountPrivilegesRequest(AbstractModel):
|
|
|
13850
13854
|
|
|
13851
13855
|
@property
|
|
13852
13856
|
def UserName(self):
|
|
13853
|
-
"""
|
|
13857
|
+
"""修改此账号对某数据库对象的权限。可通过[DescribeAccounts](https://cloud.tencent.com/document/api/409/18109)接口获取
|
|
13854
13858
|
:rtype: str
|
|
13855
13859
|
"""
|
|
13856
13860
|
return self._UserName
|
|
@@ -15262,9 +15266,9 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15262
15266
|
安全组信息可以通过调用 [DescribeSecurityGroups](https://cloud.tencent.com/document/api/215/15808) 的返回值中的sgId字段来查询。
|
|
15263
15267
|
**注意:**该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。
|
|
15264
15268
|
:type SecurityGroupIdSet: list of str
|
|
15265
|
-
:param _DBInstanceId: 实例ID
|
|
15269
|
+
:param _DBInstanceId: 实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
15266
15270
|
:type DBInstanceId: str
|
|
15267
|
-
:param _ReadOnlyGroupId: 只读组ID
|
|
15271
|
+
:param _ReadOnlyGroupId: 只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
|
|
15268
15272
|
:type ReadOnlyGroupId: str
|
|
15269
15273
|
"""
|
|
15270
15274
|
self._SecurityGroupIdSet = None
|
|
@@ -15286,7 +15290,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15286
15290
|
|
|
15287
15291
|
@property
|
|
15288
15292
|
def DBInstanceId(self):
|
|
15289
|
-
"""实例ID
|
|
15293
|
+
"""实例ID,可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果都传,忽略ReadOnlyGroupId。
|
|
15290
15294
|
:rtype: str
|
|
15291
15295
|
"""
|
|
15292
15296
|
return self._DBInstanceId
|
|
@@ -15297,7 +15301,7 @@ class ModifyDBInstanceSecurityGroupsRequest(AbstractModel):
|
|
|
15297
15301
|
|
|
15298
15302
|
@property
|
|
15299
15303
|
def ReadOnlyGroupId(self):
|
|
15300
|
-
"""只读组ID
|
|
15304
|
+
"""只读组ID,可通过[DescribeReadOnlyGroups](https://cloud.tencent.com/document/api/409/52599)接口获取。DBInstanceId和ReadOnlyGroupId至少传一个;如果要修改只读组关联的安全组,只传ReadOnlyGroupId
|
|
15301
15305
|
:rtype: str
|
|
15302
15306
|
"""
|
|
15303
15307
|
return self._ReadOnlyGroupId
|
|
@@ -422,7 +422,7 @@ class PostgresClient(AbstractClient):
|
|
|
422
422
|
|
|
423
423
|
|
|
424
424
|
def DeleteDBInstanceNetworkAccess(self, request):
|
|
425
|
-
"""
|
|
425
|
+
"""可对实例进行网络的删除操作(实例内至少保留一个网络)。
|
|
426
426
|
|
|
427
427
|
:param request: Request instance for DeleteDBInstanceNetworkAccess.
|
|
428
428
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteDBInstanceNetworkAccessRequest`
|
|
@@ -514,7 +514,7 @@ class PostgresClient(AbstractClient):
|
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
def DeleteReadOnlyGroupNetworkAccess(self, request):
|
|
517
|
-
"""可对RO
|
|
517
|
+
"""可对RO组进行网络的删除操作(网络数量至少保留1个)。
|
|
518
518
|
|
|
519
519
|
:param request: Request instance for DeleteReadOnlyGroupNetworkAccess.
|
|
520
520
|
:type request: :class:`tencentcloud.postgres.v20170312.models.DeleteReadOnlyGroupNetworkAccessRequest`
|
tencentcloud-sdk-python-postgres-3.0.1437/tencentcloud_sdk_python_postgres.egg-info/requires.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1437
|
tencentcloud-sdk-python-postgres-3.0.1432/tencentcloud_sdk_python_postgres.egg-info/requires.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1432
|
{tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/README.rst
RENAMED
|
File without changes
|
{tencentcloud-sdk-python-postgres-3.0.1432 → tencentcloud-sdk-python-postgres-3.0.1437}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|