tencentcloud-sdk-python-postgres 3.1.87__tar.gz → 3.1.112__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/setup.py +1 -1
  3. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/v20170312/models.py +61 -41
  5. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_postgres-3.1.112/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_postgres-3.1.87/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/README.rst +0 -0
  9. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/__init__.py +0 -0
  11. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
  15. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_postgres-3.1.87 → tencentcloud_sdk_python_postgres-3.1.112}/tencentcloud_sdk_python_postgres.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.87
3
+ Version: 3.1.112
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.87
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.87,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.112,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Postgres SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.87'
17
+ __version__ = '3.1.112'
@@ -3538,8 +3538,6 @@ class CreateInstancesRequest(AbstractModel):
3538
3538
 
3539
3539
  def __init__(self):
3540
3540
  r"""
3541
- :param _Zone: <p>实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
3542
- :type Zone: str
3543
3541
  :param _SpecCode: <p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
3544
3542
  :type SpecCode: str
3545
3543
  :param _Storage: <p>实例磁盘容量大小,单位:GB。该参数的设置步长为10。</p>
@@ -3554,6 +3552,8 @@ class CreateInstancesRequest(AbstractModel):
3554
3552
  :type AdminName: str
3555
3553
  :param _AdminPassword: <p>实例根账号用户名对应的密码,长度8 ~ 32位,推荐使用12位以上的密码;不能以&quot; / &quot;开头;<br>必须包含以下四项,字符种类:</p><li>小写字母: [a ~ z]</li><li>大写字母:[A ~ Z]</li><li>数字:0 - 9</li><li>特殊字符:()`~!@#$%^&amp;*-+=_|{}[]:;'&lt;&gt;,.?/</li>
3556
3554
  :type AdminPassword: str
3555
+ :param _Zone: <p>实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
3556
+ :type Zone: str
3557
3557
  :param _DBMajorVersion: <p>PostgreSQL大版本号(该参数当前必传),版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。目前支持10,11,12,13,14,15这几个大版本,详情见<a href="https://cloud.tencent.com/document/product/409/67018">内核版本概述</a>。<br>输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。</p>
3558
3558
  :type DBMajorVersion: str
3559
3559
  :param _DBVersion: <p>PostgreSQL社区大版本+小版本号。<br>一般场景不推荐传入该参数。如需指定,只能传当前大版本号下最新小版本号。</p>
@@ -3605,7 +3605,6 @@ class CreateInstancesRequest(AbstractModel):
3605
3605
  :param _StorageType: <p>实例存储类型,可选值:PHYSICAL_LOCAL_SSD:物理机本地ssd硬盘 CLOUD_PREMIUM:高性能云硬盘 CLOUD_SSD:ssd云硬盘 CLOUD_HSSD:增强型ssd云硬盘</p>
3606
3606
  :type StorageType: str
3607
3607
  """
3608
- self._Zone = None
3609
3608
  self._SpecCode = None
3610
3609
  self._Storage = None
3611
3610
  self._InstanceCount = None
@@ -3613,6 +3612,7 @@ class CreateInstancesRequest(AbstractModel):
3613
3612
  self._Charset = None
3614
3613
  self._AdminName = None
3615
3614
  self._AdminPassword = None
3615
+ self._Zone = None
3616
3616
  self._DBMajorVersion = None
3617
3617
  self._DBVersion = None
3618
3618
  self._DBKernelVersion = None
@@ -3639,17 +3639,6 @@ class CreateInstancesRequest(AbstractModel):
3639
3639
  self._DeletionProtection = None
3640
3640
  self._StorageType = None
3641
3641
 
3642
- @property
3643
- def Zone(self):
3644
- r"""<p>实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
3645
- :rtype: str
3646
- """
3647
- return self._Zone
3648
-
3649
- @Zone.setter
3650
- def Zone(self, Zone):
3651
- self._Zone = Zone
3652
-
3653
3642
  @property
3654
3643
  def SpecCode(self):
3655
3644
  r"""<p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
@@ -3727,6 +3716,17 @@ class CreateInstancesRequest(AbstractModel):
3727
3716
  def AdminPassword(self, AdminPassword):
3728
3717
  self._AdminPassword = AdminPassword
3729
3718
 
3719
+ @property
3720
+ def Zone(self):
3721
+ r"""<p>实例所属主可用区, 如:ap-guangzhou-3;若需要支持多可用区,在DBNodeSet.N字段中进行添加主可用区和备可用区信息;<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
3722
+ :rtype: str
3723
+ """
3724
+ return self._Zone
3725
+
3726
+ @Zone.setter
3727
+ def Zone(self, Zone):
3728
+ self._Zone = Zone
3729
+
3730
3730
  @property
3731
3731
  def DBMajorVersion(self):
3732
3732
  r"""<p>PostgreSQL大版本号(该参数当前必传),版本信息可从<a href="https://cloud.tencent.com/document/api/409/89018">DescribeDBVersions</a>获取。目前支持10,11,12,13,14,15这几个大版本,详情见<a href="https://cloud.tencent.com/document/product/409/67018">内核版本概述</a>。<br>输入该参数时,会基于此大版本号创建对应的最新小版本的最新内核版本号实例。</p>
@@ -4004,7 +4004,6 @@ class CreateInstancesRequest(AbstractModel):
4004
4004
 
4005
4005
 
4006
4006
  def _deserialize(self, params):
4007
- self._Zone = params.get("Zone")
4008
4007
  self._SpecCode = params.get("SpecCode")
4009
4008
  self._Storage = params.get("Storage")
4010
4009
  self._InstanceCount = params.get("InstanceCount")
@@ -4012,6 +4011,7 @@ class CreateInstancesRequest(AbstractModel):
4012
4011
  self._Charset = params.get("Charset")
4013
4012
  self._AdminName = params.get("AdminName")
4014
4013
  self._AdminPassword = params.get("AdminPassword")
4014
+ self._Zone = params.get("Zone")
4015
4015
  self._DBMajorVersion = params.get("DBMajorVersion")
4016
4016
  self._DBVersion = params.get("DBVersion")
4017
4017
  self._DBKernelVersion = params.get("DBKernelVersion")
@@ -13517,6 +13517,36 @@ class DescribeZonesRequest(AbstractModel):
13517
13517
 
13518
13518
  """
13519
13519
 
13520
+ def __init__(self):
13521
+ r"""
13522
+ :param _StorageType: <p>实例存储类型,根据磁盘类型返回支持的可用区</p><p>枚举值:</p><ul><li>PHYSICAL_LOCAL_SSD: 物理机本地ssd硬盘</li><li>CLOUD_PREMIUM: 高性能云硬盘</li><li>CLOUD_SSD: ssd云硬盘</li><li>CLOUD_HSSD: 增强型ssd云硬盘</li></ul><p>默认值:PHYSICAL_LOCAL_SSD</p>
13523
+ :type StorageType: str
13524
+ """
13525
+ self._StorageType = None
13526
+
13527
+ @property
13528
+ def StorageType(self):
13529
+ r"""<p>实例存储类型,根据磁盘类型返回支持的可用区</p><p>枚举值:</p><ul><li>PHYSICAL_LOCAL_SSD: 物理机本地ssd硬盘</li><li>CLOUD_PREMIUM: 高性能云硬盘</li><li>CLOUD_SSD: ssd云硬盘</li><li>CLOUD_HSSD: 增强型ssd云硬盘</li></ul><p>默认值:PHYSICAL_LOCAL_SSD</p>
13530
+ :rtype: str
13531
+ """
13532
+ return self._StorageType
13533
+
13534
+ @StorageType.setter
13535
+ def StorageType(self, StorageType):
13536
+ self._StorageType = StorageType
13537
+
13538
+
13539
+ def _deserialize(self, params):
13540
+ self._StorageType = params.get("StorageType")
13541
+ memeber_set = set(params.keys())
13542
+ for name, value in vars(self).items():
13543
+ property_name = name[1:]
13544
+ if property_name in memeber_set:
13545
+ memeber_set.remove(property_name)
13546
+ if len(memeber_set) > 0:
13547
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13548
+
13549
+
13520
13550
 
13521
13551
  class DescribeZonesResponse(AbstractModel):
13522
13552
  r"""DescribeZones返回参数结构体
@@ -13525,9 +13555,9 @@ class DescribeZonesResponse(AbstractModel):
13525
13555
 
13526
13556
  def __init__(self):
13527
13557
  r"""
13528
- :param _TotalCount: 返回的结果数量。
13558
+ :param _TotalCount: <p>返回的结果数量。</p>
13529
13559
  :type TotalCount: int
13530
- :param _ZoneSet: 可用区信息集合。
13560
+ :param _ZoneSet: <p>可用区信息集合。</p>
13531
13561
  :type ZoneSet: list of ZoneInfo
13532
13562
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13533
13563
  :type RequestId: str
@@ -13538,7 +13568,7 @@ class DescribeZonesResponse(AbstractModel):
13538
13568
 
13539
13569
  @property
13540
13570
  def TotalCount(self):
13541
- r"""返回的结果数量。
13571
+ r"""<p>返回的结果数量。</p>
13542
13572
  :rtype: int
13543
13573
  """
13544
13574
  return self._TotalCount
@@ -13549,7 +13579,7 @@ class DescribeZonesResponse(AbstractModel):
13549
13579
 
13550
13580
  @property
13551
13581
  def ZoneSet(self):
13552
- r"""可用区信息集合。
13582
+ r"""<p>可用区信息集合。</p>
13553
13583
  :rtype: list of ZoneInfo
13554
13584
  """
13555
13585
  return self._ZoneSet
@@ -13588,14 +13618,14 @@ class DestroyDBInstanceRequest(AbstractModel):
13588
13618
 
13589
13619
  def __init__(self):
13590
13620
  r"""
13591
- :param _DBInstanceId: 待下线实例ID
13621
+ :param _DBInstanceId: <p>待下线实例ID</p>
13592
13622
  :type DBInstanceId: str
13593
13623
  """
13594
13624
  self._DBInstanceId = None
13595
13625
 
13596
13626
  @property
13597
13627
  def DBInstanceId(self):
13598
- r"""待下线实例ID
13628
+ r"""<p>待下线实例ID</p>
13599
13629
  :rtype: str
13600
13630
  """
13601
13631
  return self._DBInstanceId
@@ -13723,18 +13753,13 @@ class DisIsolateDBInstancesRequest(AbstractModel):
13723
13753
 
13724
13754
  def __init__(self):
13725
13755
  r"""
13726
- :param _DBInstanceIdSet: 实例ID列表。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时解隔离多个实例。
13756
+ :param _DBInstanceIdSet: <p>实例ID列表。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。支持同时解隔离多个实例。</p>
13727
13757
  :type DBInstanceIdSet: list of str
13728
- :param _Period: 购买时长,单位:月。
13729
- <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
13730
- <li>后付费:该参数不生效</li>
13758
+ :param _Period: <p>购买时长,单位:月。</p><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:该参数不生效</li>
13731
13759
  :type Period: int
13732
- :param _AutoVoucher: 是否使用代金券:
13733
- <li>true:使用</li>
13734
- <li>false:不使用</li>
13735
- 默认值:false
13760
+ :param _AutoVoucher: <p>是否使用代金券:</p><li>true:使用</li><li>false:不使用</li>默认值:false
13736
13761
  :type AutoVoucher: bool
13737
- :param _VoucherIds: 代金券id列表。
13762
+ :param _VoucherIds: <p>代金券id列表。</p>
13738
13763
  :type VoucherIds: list of str
13739
13764
  """
13740
13765
  self._DBInstanceIdSet = None
@@ -13744,7 +13769,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
13744
13769
 
13745
13770
  @property
13746
13771
  def DBInstanceIdSet(self):
13747
- r"""实例ID列表。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。支持同时解隔离多个实例。
13772
+ r"""<p>实例ID列表。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。支持同时解隔离多个实例。</p>
13748
13773
  :rtype: list of str
13749
13774
  """
13750
13775
  return self._DBInstanceIdSet
@@ -13755,9 +13780,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
13755
13780
 
13756
13781
  @property
13757
13782
  def Period(self):
13758
- r"""购买时长,单位:月。
13759
- <li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li>
13760
- <li>后付费:该参数不生效</li>
13783
+ r"""<p>购买时长,单位:月。</p><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:该参数不生效</li>
13761
13784
  :rtype: int
13762
13785
  """
13763
13786
  return self._Period
@@ -13768,10 +13791,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
13768
13791
 
13769
13792
  @property
13770
13793
  def AutoVoucher(self):
13771
- r"""是否使用代金券:
13772
- <li>true:使用</li>
13773
- <li>false:不使用</li>
13774
- 默认值:false
13794
+ r"""<p>是否使用代金券:</p><li>true:使用</li><li>false:不使用</li>默认值:false
13775
13795
  :rtype: bool
13776
13796
  """
13777
13797
  return self._AutoVoucher
@@ -13782,7 +13802,7 @@ class DisIsolateDBInstancesRequest(AbstractModel):
13782
13802
 
13783
13803
  @property
13784
13804
  def VoucherIds(self):
13785
- r"""代金券id列表。
13805
+ r"""<p>代金券id列表。</p>
13786
13806
  :rtype: list of str
13787
13807
  """
13788
13808
  return self._VoucherIds
@@ -15029,14 +15049,14 @@ class IsolateDBInstancesRequest(AbstractModel):
15029
15049
 
15030
15050
  def __init__(self):
15031
15051
  r"""
15032
- :param _DBInstanceIdSet: 实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。注意:不推荐同时隔离多个实例。建议每次操作仅传入单个实例ID
15052
+ :param _DBInstanceIdSet: <p>实例ID集合。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。注意:不推荐同时隔离多个实例。建议每次操作仅传入单个实例ID。</p>
15033
15053
  :type DBInstanceIdSet: list of str
15034
15054
  """
15035
15055
  self._DBInstanceIdSet = None
15036
15056
 
15037
15057
  @property
15038
15058
  def DBInstanceIdSet(self):
15039
- r"""实例ID集合。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取。注意:不推荐同时隔离多个实例。建议每次操作仅传入单个实例ID
15059
+ r"""<p>实例ID集合。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取。注意:不推荐同时隔离多个实例。建议每次操作仅传入单个实例ID。</p>
15040
15060
  :rtype: list of str
15041
15061
  """
15042
15062
  return self._DBInstanceIdSet
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.87
3
+ Version: 3.1.112
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.87
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.112
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.112
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.87