tencentcloud-sdk-python-ssl 3.0.1308__tar.gz → 3.0.1309__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 (16) hide show
  1. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/setup.py +1 -1
  3. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/ssl/v20191205/models.py +81 -0
  5. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/ssl/v20191205/ssl_client.py +23 -0
  6. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud_sdk_python_ssl.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-ssl-3.0.1309/tencentcloud_sdk_python_ssl.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-ssl-3.0.1308/tencentcloud_sdk_python_ssl.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/README.rst +0 -0
  10. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/ssl/__init__.py +0 -0
  12. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/ssl/v20191205/__init__.py +0 -0
  13. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud/ssl/v20191205/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud_sdk_python_ssl.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud_sdk_python_ssl.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-ssl-3.0.1308 → tencentcloud-sdk-python-ssl-3.0.1309}/tencentcloud_sdk_python_ssl.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1308
3
+ Version: 3.0.1309
4
4
  Summary: Tencent Cloud Ssl 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-ssl',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1308"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1309"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Ssl 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.1308'
17
+ __version__ = '3.0.1309'
@@ -2641,6 +2641,87 @@ class CheckCertificateDomainVerificationResponse(AbstractModel):
2641
2641
  self._RequestId = params.get("RequestId")
2642
2642
 
2643
2643
 
2644
+ class CheckCertificateExistRequest(AbstractModel):
2645
+ """CheckCertificateExist请求参数结构体
2646
+
2647
+ """
2648
+
2649
+ def __init__(self):
2650
+ r"""
2651
+ :param _CertificatePublicKey: 证书公钥内容, 包含证书链
2652
+ :type CertificatePublicKey: str
2653
+ """
2654
+ self._CertificatePublicKey = None
2655
+
2656
+ @property
2657
+ def CertificatePublicKey(self):
2658
+ """证书公钥内容, 包含证书链
2659
+ :rtype: str
2660
+ """
2661
+ return self._CertificatePublicKey
2662
+
2663
+ @CertificatePublicKey.setter
2664
+ def CertificatePublicKey(self, CertificatePublicKey):
2665
+ self._CertificatePublicKey = CertificatePublicKey
2666
+
2667
+
2668
+ def _deserialize(self, params):
2669
+ self._CertificatePublicKey = params.get("CertificatePublicKey")
2670
+ memeber_set = set(params.keys())
2671
+ for name, value in vars(self).items():
2672
+ property_name = name[1:]
2673
+ if property_name in memeber_set:
2674
+ memeber_set.remove(property_name)
2675
+ if len(memeber_set) > 0:
2676
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2677
+
2678
+
2679
+
2680
+ class CheckCertificateExistResponse(AbstractModel):
2681
+ """CheckCertificateExist返回参数结构体
2682
+
2683
+ """
2684
+
2685
+ def __init__(self):
2686
+ r"""
2687
+ :param _RepeatCertId: 重复的证书ID
2688
+ 注意:此字段可能返回 null,表示取不到有效值。
2689
+ :type RepeatCertId: str
2690
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2691
+ :type RequestId: str
2692
+ """
2693
+ self._RepeatCertId = None
2694
+ self._RequestId = None
2695
+
2696
+ @property
2697
+ def RepeatCertId(self):
2698
+ """重复的证书ID
2699
+ 注意:此字段可能返回 null,表示取不到有效值。
2700
+ :rtype: str
2701
+ """
2702
+ return self._RepeatCertId
2703
+
2704
+ @RepeatCertId.setter
2705
+ def RepeatCertId(self, RepeatCertId):
2706
+ self._RepeatCertId = RepeatCertId
2707
+
2708
+ @property
2709
+ def RequestId(self):
2710
+ """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2711
+ :rtype: str
2712
+ """
2713
+ return self._RequestId
2714
+
2715
+ @RequestId.setter
2716
+ def RequestId(self, RequestId):
2717
+ self._RequestId = RequestId
2718
+
2719
+
2720
+ def _deserialize(self, params):
2721
+ self._RepeatCertId = params.get("RepeatCertId")
2722
+ self._RequestId = params.get("RequestId")
2723
+
2724
+
2644
2725
  class ClbInstanceDetail(AbstractModel):
2645
2726
  """clb实例详情
2646
2727
 
@@ -141,6 +141,29 @@ class SslClient(AbstractClient):
141
141
  raise TencentCloudSDKException(type(e).__name__, str(e))
142
142
 
143
143
 
144
+ def CheckCertificateExist(self, request):
145
+ """根据证书内容检测当前账号下是否存在一致的证书, 存在则返回证书ID, 不存在则返回空
146
+
147
+ :param request: Request instance for CheckCertificateExist.
148
+ :type request: :class:`tencentcloud.ssl.v20191205.models.CheckCertificateExistRequest`
149
+ :rtype: :class:`tencentcloud.ssl.v20191205.models.CheckCertificateExistResponse`
150
+
151
+ """
152
+ try:
153
+ params = request._serialize()
154
+ headers = request.headers
155
+ body = self.call("CheckCertificateExist", params, headers=headers)
156
+ response = json.loads(body)
157
+ model = models.CheckCertificateExistResponse()
158
+ model._deserialize(response["Response"])
159
+ return model
160
+ except Exception as e:
161
+ if isinstance(e, TencentCloudSDKException):
162
+ raise
163
+ else:
164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
165
+
166
+
144
167
  def CommitCertificateInformation(self, request):
145
168
  """提交证书订单到CA机构。
146
169
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-ssl
3
- Version: 3.0.1308
3
+ Version: 3.0.1309
4
4
  Summary: Tencent Cloud Ssl 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.1309
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1308