tencentcloud-sdk-python-postgres 3.1.154__tar.gz → 3.1.160__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.154 → tencentcloud_sdk_python_postgres-3.1.160}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/setup.py +1 -1
  3. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/v20170312/models.py +98 -8
  5. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud_sdk_python_postgres.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_postgres-3.1.160/tencentcloud_sdk_python_postgres.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_postgres-3.1.154/tencentcloud_sdk_python_postgres.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/README.rst +0 -0
  9. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/__init__.py +0 -0
  11. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/v20170312/__init__.py +0 -0
  12. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/v20170312/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/v20170312/postgres_client.py +0 -0
  14. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud/postgres/v20170312/postgres_client_async.py +0 -0
  15. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud_sdk_python_postgres.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/tencentcloud_sdk_python_postgres.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_postgres-3.1.154 → tencentcloud_sdk_python_postgres-3.1.160}/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.154
3
+ Version: 3.1.160
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.154
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
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.154,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.160,<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.154'
17
+ __version__ = '3.1.160'
@@ -7393,6 +7393,51 @@ class DeleteDatabaseRequest(AbstractModel):
7393
7393
 
7394
7394
  """
7395
7395
 
7396
+ def __init__(self):
7397
+ r"""
7398
+ :param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
7399
+ :type DBInstanceId: str
7400
+ :param _DatabaseName: <p>数据库名称</p>
7401
+ :type DatabaseName: str
7402
+ """
7403
+ self._DBInstanceId = None
7404
+ self._DatabaseName = None
7405
+
7406
+ @property
7407
+ def DBInstanceId(self):
7408
+ r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
7409
+ :rtype: str
7410
+ """
7411
+ return self._DBInstanceId
7412
+
7413
+ @DBInstanceId.setter
7414
+ def DBInstanceId(self, DBInstanceId):
7415
+ self._DBInstanceId = DBInstanceId
7416
+
7417
+ @property
7418
+ def DatabaseName(self):
7419
+ r"""<p>数据库名称</p>
7420
+ :rtype: str
7421
+ """
7422
+ return self._DatabaseName
7423
+
7424
+ @DatabaseName.setter
7425
+ def DatabaseName(self, DatabaseName):
7426
+ self._DatabaseName = DatabaseName
7427
+
7428
+
7429
+ def _deserialize(self, params):
7430
+ self._DBInstanceId = params.get("DBInstanceId")
7431
+ self._DatabaseName = params.get("DatabaseName")
7432
+ memeber_set = set(params.keys())
7433
+ for name, value in vars(self).items():
7434
+ property_name = name[1:]
7435
+ if property_name in memeber_set:
7436
+ memeber_set.remove(property_name)
7437
+ if len(memeber_set) > 0:
7438
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7439
+
7440
+
7396
7441
 
7397
7442
  class DeleteDatabaseResponse(AbstractModel):
7398
7443
  r"""DeleteDatabase返回参数结构体
@@ -10687,14 +10732,14 @@ class DescribeDBInstanceSSLConfigRequest(AbstractModel):
10687
10732
 
10688
10733
  def __init__(self):
10689
10734
  r"""
10690
- :param _DBInstanceId: 实例ID,形如postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
10735
+ :param _DBInstanceId: <p>实例ID,形如postgres-6bwgamo3。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
10691
10736
  :type DBInstanceId: str
10692
10737
  """
10693
10738
  self._DBInstanceId = None
10694
10739
 
10695
10740
  @property
10696
10741
  def DBInstanceId(self):
10697
- r"""实例ID,形如postgres-6bwgamo3。可通过[DescribeDBInstances](https://cloud.tencent.com/document/api/409/16773)接口获取
10742
+ r"""<p>实例ID,形如postgres-6bwgamo3。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
10698
10743
  :rtype: str
10699
10744
  """
10700
10745
  return self._DBInstanceId
@@ -10723,23 +10768,32 @@ class DescribeDBInstanceSSLConfigResponse(AbstractModel):
10723
10768
 
10724
10769
  def __init__(self):
10725
10770
  r"""
10726
- :param _SSLEnabled: true 代表开通 ,false 代表未开通
10771
+ :param _SSLEnabled: <p>true 代表开通 ,false 代表未开通</p>
10727
10772
  :type SSLEnabled: bool
10728
- :param _CAUrl: 云端根证书下载链接
10773
+ :param _CAUrl: <p>云端根证书下载链接</p>
10729
10774
  :type CAUrl: str
10730
- :param _ConnectAddress: 服务器证书中配置的内网或外网连接地址
10775
+ :param _ConnectAddress: <p>服务器证书中配置的内网或外网连接地址</p>
10731
10776
  :type ConnectAddress: str
10777
+ :param _CACert: <p>CA证书公钥,仅云盘版</p>
10778
+ :type CACert: str
10779
+ :param _CAJKS: <p>JKS公钥,仅云盘版</p>
10780
+ :type CAJKS: str
10781
+ :param _CAP7B: <p>CAP7B公钥,仅云盘版</p>
10782
+ :type CAP7B: str
10732
10783
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10733
10784
  :type RequestId: str
10734
10785
  """
10735
10786
  self._SSLEnabled = None
10736
10787
  self._CAUrl = None
10737
10788
  self._ConnectAddress = None
10789
+ self._CACert = None
10790
+ self._CAJKS = None
10791
+ self._CAP7B = None
10738
10792
  self._RequestId = None
10739
10793
 
10740
10794
  @property
10741
10795
  def SSLEnabled(self):
10742
- r"""true 代表开通 ,false 代表未开通
10796
+ r"""<p>true 代表开通 ,false 代表未开通</p>
10743
10797
  :rtype: bool
10744
10798
  """
10745
10799
  return self._SSLEnabled
@@ -10750,7 +10804,7 @@ class DescribeDBInstanceSSLConfigResponse(AbstractModel):
10750
10804
 
10751
10805
  @property
10752
10806
  def CAUrl(self):
10753
- r"""云端根证书下载链接
10807
+ r"""<p>云端根证书下载链接</p>
10754
10808
  :rtype: str
10755
10809
  """
10756
10810
  return self._CAUrl
@@ -10761,7 +10815,7 @@ class DescribeDBInstanceSSLConfigResponse(AbstractModel):
10761
10815
 
10762
10816
  @property
10763
10817
  def ConnectAddress(self):
10764
- r"""服务器证书中配置的内网或外网连接地址
10818
+ r"""<p>服务器证书中配置的内网或外网连接地址</p>
10765
10819
  :rtype: str
10766
10820
  """
10767
10821
  return self._ConnectAddress
@@ -10770,6 +10824,39 @@ class DescribeDBInstanceSSLConfigResponse(AbstractModel):
10770
10824
  def ConnectAddress(self, ConnectAddress):
10771
10825
  self._ConnectAddress = ConnectAddress
10772
10826
 
10827
+ @property
10828
+ def CACert(self):
10829
+ r"""<p>CA证书公钥,仅云盘版</p>
10830
+ :rtype: str
10831
+ """
10832
+ return self._CACert
10833
+
10834
+ @CACert.setter
10835
+ def CACert(self, CACert):
10836
+ self._CACert = CACert
10837
+
10838
+ @property
10839
+ def CAJKS(self):
10840
+ r"""<p>JKS公钥,仅云盘版</p>
10841
+ :rtype: str
10842
+ """
10843
+ return self._CAJKS
10844
+
10845
+ @CAJKS.setter
10846
+ def CAJKS(self, CAJKS):
10847
+ self._CAJKS = CAJKS
10848
+
10849
+ @property
10850
+ def CAP7B(self):
10851
+ r"""<p>CAP7B公钥,仅云盘版</p>
10852
+ :rtype: str
10853
+ """
10854
+ return self._CAP7B
10855
+
10856
+ @CAP7B.setter
10857
+ def CAP7B(self, CAP7B):
10858
+ self._CAP7B = CAP7B
10859
+
10773
10860
  @property
10774
10861
  def RequestId(self):
10775
10862
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -10786,6 +10873,9 @@ class DescribeDBInstanceSSLConfigResponse(AbstractModel):
10786
10873
  self._SSLEnabled = params.get("SSLEnabled")
10787
10874
  self._CAUrl = params.get("CAUrl")
10788
10875
  self._ConnectAddress = params.get("ConnectAddress")
10876
+ self._CACert = params.get("CACert")
10877
+ self._CAJKS = params.get("CAJKS")
10878
+ self._CAP7B = params.get("CAP7B")
10789
10879
  self._RequestId = params.get("RequestId")
10790
10880
 
10791
10881
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-postgres
3
- Version: 3.1.154
3
+ Version: 3.1.160
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.154
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.160
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.160
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.154