tencentcloud-sdk-python-postgres 3.0.1181__tar.gz → 3.0.1184__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-postgres might be problematic. Click here for more details.

Files changed (16) hide show
  1. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/setup.py +1 -1
  3. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/postgres/v20170312/errorcodes.py +3 -0
  5. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/postgres/v20170312/models.py +20 -8
  6. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-postgres-3.0.1184/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-postgres-3.0.1181/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/README.rst +0 -0
  10. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/postgres/__init__.py +0 -0
  12. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  13. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-postgres-3.0.1181 → tencentcloud-sdk-python-postgres-3.0.1184}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.0.1181
3
+ Version: 3.0.1184
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
@@ -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.1181"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1184"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Postgres SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1181'
17
+ __version__ = '3.0.1184'
@@ -353,6 +353,9 @@ INVALIDPARAMETERVALUE_INVALIDACCOUNTFORMAT = 'InvalidParameterValue.InvalidAccou
353
353
  # 当前账号名称不允许是保留字符。
354
354
  INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = 'InvalidParameterValue.InvalidAccountName'
355
355
 
356
+ # 账号设置无效,请遵循账号命名规则:账号名需要1-16个字符,只能由字母、数字或下划线组成;不能为postgres;不能由数字、pg_及tencentdb_开头;所有规则均不区分大小写。
357
+ INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = 'InvalidParameterValue.InvalidAccountNameError'
358
+
356
359
  # 数据库字符集错误,当前只支持UTF8、LATIN1。
357
360
  INVALIDPARAMETERVALUE_INVALIDCHARSET = 'InvalidParameterValue.InvalidCharset'
358
361
 
@@ -27,16 +27,18 @@ class AccountInfo(AbstractModel):
27
27
  r"""
28
28
  :param _DBInstanceId: 实例ID,形如postgres-lnp6j617
29
29
  :type DBInstanceId: str
30
- :param _UserName: 帐号
30
+ :param _UserName: 账号
31
31
  :type UserName: str
32
- :param _Remark: 帐号备注
32
+ :param _Remark: 账号备注
33
33
  :type Remark: str
34
- :param _Status: 帐号状态。 1-创建中,2-正常,3-修改中,4-密码重置中,-1-删除中
34
+ :param _Status: 账号状态。 1-创建中,2-正常,3-修改中,4-密码重置中,5-锁定中,-1-删除中
35
35
  :type Status: int
36
- :param _CreateTime: 帐号创建时间
36
+ :param _CreateTime: 账号创建时间
37
37
  :type CreateTime: str
38
- :param _UpdateTime: 帐号最后一次更新时间
38
+ :param _UpdateTime: 账号最后一次更新时间
39
39
  :type UpdateTime: str
40
+ :param _UserType: 账号类型
41
+ :type UserType: str
40
42
  """
41
43
  self._DBInstanceId = None
42
44
  self._UserName = None
@@ -44,6 +46,7 @@ class AccountInfo(AbstractModel):
44
46
  self._Status = None
45
47
  self._CreateTime = None
46
48
  self._UpdateTime = None
49
+ self._UserType = None
47
50
 
48
51
  @property
49
52
  def DBInstanceId(self):
@@ -93,6 +96,14 @@ class AccountInfo(AbstractModel):
93
96
  def UpdateTime(self, UpdateTime):
94
97
  self._UpdateTime = UpdateTime
95
98
 
99
+ @property
100
+ def UserType(self):
101
+ return self._UserType
102
+
103
+ @UserType.setter
104
+ def UserType(self, UserType):
105
+ self._UserType = UserType
106
+
96
107
 
97
108
  def _deserialize(self, params):
98
109
  self._DBInstanceId = params.get("DBInstanceId")
@@ -101,6 +112,7 @@ class AccountInfo(AbstractModel):
101
112
  self._Status = params.get("Status")
102
113
  self._CreateTime = params.get("CreateTime")
103
114
  self._UpdateTime = params.get("UpdateTime")
115
+ self._UserType = params.get("UserType")
104
116
  memeber_set = set(params.keys())
105
117
  for name, value in vars(self).items():
106
118
  property_name = name[1:]
@@ -4777,11 +4789,11 @@ class DescribeAccountsRequest(AbstractModel):
4777
4789
  r"""
4778
4790
  :param _DBInstanceId: 实例ID,形如postgres-6fego161
4779
4791
  :type DBInstanceId: str
4780
- :param _Limit: 分页返回,每页最大返回数目,默认10,取值范围为1-100
4792
+ :param _Limit: 分页返回,每页最大返回数目,默认20,取值范围为1-100
4781
4793
  :type Limit: int
4782
4794
  :param _Offset: 数据偏移量,从0开始。
4783
4795
  :type Offset: int
4784
- :param _OrderBy: 返回数据按照创建时间或者用户名排序。取值只能为createTime或者name。createTime-按照创建时间排序;name-按照用户名排序
4796
+ :param _OrderBy: 返回数据按照创建时间或者用户名排序。取值支持createTimename、updateTime。createTime-按照创建时间排序;name-按照用户名排序; updateTime-按照更新时间排序。
4785
4797
  :type OrderBy: str
4786
4798
  :param _OrderByType: 返回结果是升序还是降序。取值只能为desc或者asc。desc-降序;asc-升序
4787
4799
  :type OrderByType: str
@@ -4858,7 +4870,7 @@ class DescribeAccountsResponse(AbstractModel):
4858
4870
  r"""
4859
4871
  :param _TotalCount: 本次调用接口共返回了多少条数据。
4860
4872
  :type TotalCount: int
4861
- :param _Details: 账号列表详细信息。
4873
+ :param _Details: 账号列表详细信息。当CreateTime项为0000-00-00 00:00:00时,意味着对应账号是直连数据库创建的,并非通过CreateAccount接口创建。
4862
4874
  :type Details: list of AccountInfo
4863
4875
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4864
4876
  :type RequestId: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.0.1181
3
+ Version: 3.0.1184
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1184
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1181