tencentcloud-sdk-python-waf 3.0.992__tar.gz → 3.0.993__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-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/waf/v20180125/models.py +155 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.993/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.992/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.992 → tencentcloud-sdk-python-waf-3.0.993}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.993"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -6556,6 +6556,161 @@ class DescribeCCRuleResponse(AbstractModel):
|
|
|
6556
6556
|
self._RequestId = params.get("RequestId")
|
|
6557
6557
|
|
|
6558
6558
|
|
|
6559
|
+
class DescribeCertificateVerifyResultRequest(AbstractModel):
|
|
6560
|
+
"""DescribeCertificateVerifyResult请求参数结构体
|
|
6561
|
+
|
|
6562
|
+
"""
|
|
6563
|
+
|
|
6564
|
+
def __init__(self):
|
|
6565
|
+
r"""
|
|
6566
|
+
:param _Domain: 域名
|
|
6567
|
+
:type Domain: str
|
|
6568
|
+
:param _CertType: 证书类型
|
|
6569
|
+
:type CertType: int
|
|
6570
|
+
:param _Certificate: 证书公钥
|
|
6571
|
+
:type Certificate: str
|
|
6572
|
+
:param _CertID: 证书ID
|
|
6573
|
+
:type CertID: str
|
|
6574
|
+
:param _PrivateKey: 私钥信息
|
|
6575
|
+
:type PrivateKey: str
|
|
6576
|
+
"""
|
|
6577
|
+
self._Domain = None
|
|
6578
|
+
self._CertType = None
|
|
6579
|
+
self._Certificate = None
|
|
6580
|
+
self._CertID = None
|
|
6581
|
+
self._PrivateKey = None
|
|
6582
|
+
|
|
6583
|
+
@property
|
|
6584
|
+
def Domain(self):
|
|
6585
|
+
return self._Domain
|
|
6586
|
+
|
|
6587
|
+
@Domain.setter
|
|
6588
|
+
def Domain(self, Domain):
|
|
6589
|
+
self._Domain = Domain
|
|
6590
|
+
|
|
6591
|
+
@property
|
|
6592
|
+
def CertType(self):
|
|
6593
|
+
return self._CertType
|
|
6594
|
+
|
|
6595
|
+
@CertType.setter
|
|
6596
|
+
def CertType(self, CertType):
|
|
6597
|
+
self._CertType = CertType
|
|
6598
|
+
|
|
6599
|
+
@property
|
|
6600
|
+
def Certificate(self):
|
|
6601
|
+
return self._Certificate
|
|
6602
|
+
|
|
6603
|
+
@Certificate.setter
|
|
6604
|
+
def Certificate(self, Certificate):
|
|
6605
|
+
self._Certificate = Certificate
|
|
6606
|
+
|
|
6607
|
+
@property
|
|
6608
|
+
def CertID(self):
|
|
6609
|
+
return self._CertID
|
|
6610
|
+
|
|
6611
|
+
@CertID.setter
|
|
6612
|
+
def CertID(self, CertID):
|
|
6613
|
+
self._CertID = CertID
|
|
6614
|
+
|
|
6615
|
+
@property
|
|
6616
|
+
def PrivateKey(self):
|
|
6617
|
+
return self._PrivateKey
|
|
6618
|
+
|
|
6619
|
+
@PrivateKey.setter
|
|
6620
|
+
def PrivateKey(self, PrivateKey):
|
|
6621
|
+
self._PrivateKey = PrivateKey
|
|
6622
|
+
|
|
6623
|
+
|
|
6624
|
+
def _deserialize(self, params):
|
|
6625
|
+
self._Domain = params.get("Domain")
|
|
6626
|
+
self._CertType = params.get("CertType")
|
|
6627
|
+
self._Certificate = params.get("Certificate")
|
|
6628
|
+
self._CertID = params.get("CertID")
|
|
6629
|
+
self._PrivateKey = params.get("PrivateKey")
|
|
6630
|
+
memeber_set = set(params.keys())
|
|
6631
|
+
for name, value in vars(self).items():
|
|
6632
|
+
property_name = name[1:]
|
|
6633
|
+
if property_name in memeber_set:
|
|
6634
|
+
memeber_set.remove(property_name)
|
|
6635
|
+
if len(memeber_set) > 0:
|
|
6636
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6637
|
+
|
|
6638
|
+
|
|
6639
|
+
|
|
6640
|
+
class DescribeCertificateVerifyResultResponse(AbstractModel):
|
|
6641
|
+
"""DescribeCertificateVerifyResult返回参数结构体
|
|
6642
|
+
|
|
6643
|
+
"""
|
|
6644
|
+
|
|
6645
|
+
def __init__(self):
|
|
6646
|
+
r"""
|
|
6647
|
+
:param _Status: 状态码
|
|
6648
|
+
:type Status: int
|
|
6649
|
+
:param _Detail: 错误详情
|
|
6650
|
+
:type Detail: list of str
|
|
6651
|
+
:param _NotAfter: 过期时间
|
|
6652
|
+
:type NotAfter: str
|
|
6653
|
+
:param _Changed: 证书是否改变:1有改变,0没有改变
|
|
6654
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
6655
|
+
:type Changed: int
|
|
6656
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6657
|
+
:type RequestId: str
|
|
6658
|
+
"""
|
|
6659
|
+
self._Status = None
|
|
6660
|
+
self._Detail = None
|
|
6661
|
+
self._NotAfter = None
|
|
6662
|
+
self._Changed = None
|
|
6663
|
+
self._RequestId = None
|
|
6664
|
+
|
|
6665
|
+
@property
|
|
6666
|
+
def Status(self):
|
|
6667
|
+
return self._Status
|
|
6668
|
+
|
|
6669
|
+
@Status.setter
|
|
6670
|
+
def Status(self, Status):
|
|
6671
|
+
self._Status = Status
|
|
6672
|
+
|
|
6673
|
+
@property
|
|
6674
|
+
def Detail(self):
|
|
6675
|
+
return self._Detail
|
|
6676
|
+
|
|
6677
|
+
@Detail.setter
|
|
6678
|
+
def Detail(self, Detail):
|
|
6679
|
+
self._Detail = Detail
|
|
6680
|
+
|
|
6681
|
+
@property
|
|
6682
|
+
def NotAfter(self):
|
|
6683
|
+
return self._NotAfter
|
|
6684
|
+
|
|
6685
|
+
@NotAfter.setter
|
|
6686
|
+
def NotAfter(self, NotAfter):
|
|
6687
|
+
self._NotAfter = NotAfter
|
|
6688
|
+
|
|
6689
|
+
@property
|
|
6690
|
+
def Changed(self):
|
|
6691
|
+
return self._Changed
|
|
6692
|
+
|
|
6693
|
+
@Changed.setter
|
|
6694
|
+
def Changed(self, Changed):
|
|
6695
|
+
self._Changed = Changed
|
|
6696
|
+
|
|
6697
|
+
@property
|
|
6698
|
+
def RequestId(self):
|
|
6699
|
+
return self._RequestId
|
|
6700
|
+
|
|
6701
|
+
@RequestId.setter
|
|
6702
|
+
def RequestId(self, RequestId):
|
|
6703
|
+
self._RequestId = RequestId
|
|
6704
|
+
|
|
6705
|
+
|
|
6706
|
+
def _deserialize(self, params):
|
|
6707
|
+
self._Status = params.get("Status")
|
|
6708
|
+
self._Detail = params.get("Detail")
|
|
6709
|
+
self._NotAfter = params.get("NotAfter")
|
|
6710
|
+
self._Changed = params.get("Changed")
|
|
6711
|
+
self._RequestId = params.get("RequestId")
|
|
6712
|
+
|
|
6713
|
+
|
|
6559
6714
|
class DescribeCiphersDetailRequest(AbstractModel):
|
|
6560
6715
|
"""DescribeCiphersDetail请求参数结构体
|
|
6561
6716
|
|
|
@@ -813,6 +813,29 @@ class WafClient(AbstractClient):
|
|
|
813
813
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
814
814
|
|
|
815
815
|
|
|
816
|
+
def DescribeCertificateVerifyResult(self, request):
|
|
817
|
+
"""获取证书的检查结果
|
|
818
|
+
|
|
819
|
+
:param request: Request instance for DescribeCertificateVerifyResult.
|
|
820
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeCertificateVerifyResultRequest`
|
|
821
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribeCertificateVerifyResultResponse`
|
|
822
|
+
|
|
823
|
+
"""
|
|
824
|
+
try:
|
|
825
|
+
params = request._serialize()
|
|
826
|
+
headers = request.headers
|
|
827
|
+
body = self.call("DescribeCertificateVerifyResult", params, headers=headers)
|
|
828
|
+
response = json.loads(body)
|
|
829
|
+
model = models.DescribeCertificateVerifyResultResponse()
|
|
830
|
+
model._deserialize(response["Response"])
|
|
831
|
+
return model
|
|
832
|
+
except Exception as e:
|
|
833
|
+
if isinstance(e, TencentCloudSDKException):
|
|
834
|
+
raise
|
|
835
|
+
else:
|
|
836
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
837
|
+
|
|
838
|
+
|
|
816
839
|
def DescribeCiphersDetail(self, request):
|
|
817
840
|
"""Saas型WAF接入查询加密套件信息
|
|
818
841
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.993
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.992
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|