tencentcloud-sdk-python-waf 3.0.978__tar.gz → 3.0.979__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.978 → tencentcloud-sdk-python-waf-3.0.979}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/waf/v20180125/models.py +94 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.979/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.978/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.978 → tencentcloud-sdk-python-waf-3.0.979}/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.979"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -8963,6 +8963,100 @@ class DescribePolicyStatusResponse(AbstractModel):
|
|
|
8963
8963
|
self._RequestId = params.get("RequestId")
|
|
8964
8964
|
|
|
8965
8965
|
|
|
8966
|
+
class DescribePortsRequest(AbstractModel):
|
|
8967
|
+
"""DescribePorts请求参数结构体
|
|
8968
|
+
|
|
8969
|
+
"""
|
|
8970
|
+
|
|
8971
|
+
def __init__(self):
|
|
8972
|
+
r"""
|
|
8973
|
+
:param _Edition: 版本
|
|
8974
|
+
:type Edition: str
|
|
8975
|
+
:param _InstanceID: 实例ID
|
|
8976
|
+
:type InstanceID: str
|
|
8977
|
+
"""
|
|
8978
|
+
self._Edition = None
|
|
8979
|
+
self._InstanceID = None
|
|
8980
|
+
|
|
8981
|
+
@property
|
|
8982
|
+
def Edition(self):
|
|
8983
|
+
return self._Edition
|
|
8984
|
+
|
|
8985
|
+
@Edition.setter
|
|
8986
|
+
def Edition(self, Edition):
|
|
8987
|
+
self._Edition = Edition
|
|
8988
|
+
|
|
8989
|
+
@property
|
|
8990
|
+
def InstanceID(self):
|
|
8991
|
+
return self._InstanceID
|
|
8992
|
+
|
|
8993
|
+
@InstanceID.setter
|
|
8994
|
+
def InstanceID(self, InstanceID):
|
|
8995
|
+
self._InstanceID = InstanceID
|
|
8996
|
+
|
|
8997
|
+
|
|
8998
|
+
def _deserialize(self, params):
|
|
8999
|
+
self._Edition = params.get("Edition")
|
|
9000
|
+
self._InstanceID = params.get("InstanceID")
|
|
9001
|
+
memeber_set = set(params.keys())
|
|
9002
|
+
for name, value in vars(self).items():
|
|
9003
|
+
property_name = name[1:]
|
|
9004
|
+
if property_name in memeber_set:
|
|
9005
|
+
memeber_set.remove(property_name)
|
|
9006
|
+
if len(memeber_set) > 0:
|
|
9007
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9008
|
+
|
|
9009
|
+
|
|
9010
|
+
|
|
9011
|
+
class DescribePortsResponse(AbstractModel):
|
|
9012
|
+
"""DescribePorts返回参数结构体
|
|
9013
|
+
|
|
9014
|
+
"""
|
|
9015
|
+
|
|
9016
|
+
def __init__(self):
|
|
9017
|
+
r"""
|
|
9018
|
+
:param _HttpPorts: http端口列表
|
|
9019
|
+
:type HttpPorts: list of str
|
|
9020
|
+
:param _HttpsPorts: https端口列表
|
|
9021
|
+
:type HttpsPorts: list of str
|
|
9022
|
+
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9023
|
+
:type RequestId: str
|
|
9024
|
+
"""
|
|
9025
|
+
self._HttpPorts = None
|
|
9026
|
+
self._HttpsPorts = None
|
|
9027
|
+
self._RequestId = None
|
|
9028
|
+
|
|
9029
|
+
@property
|
|
9030
|
+
def HttpPorts(self):
|
|
9031
|
+
return self._HttpPorts
|
|
9032
|
+
|
|
9033
|
+
@HttpPorts.setter
|
|
9034
|
+
def HttpPorts(self, HttpPorts):
|
|
9035
|
+
self._HttpPorts = HttpPorts
|
|
9036
|
+
|
|
9037
|
+
@property
|
|
9038
|
+
def HttpsPorts(self):
|
|
9039
|
+
return self._HttpsPorts
|
|
9040
|
+
|
|
9041
|
+
@HttpsPorts.setter
|
|
9042
|
+
def HttpsPorts(self, HttpsPorts):
|
|
9043
|
+
self._HttpsPorts = HttpsPorts
|
|
9044
|
+
|
|
9045
|
+
@property
|
|
9046
|
+
def RequestId(self):
|
|
9047
|
+
return self._RequestId
|
|
9048
|
+
|
|
9049
|
+
@RequestId.setter
|
|
9050
|
+
def RequestId(self, RequestId):
|
|
9051
|
+
self._RequestId = RequestId
|
|
9052
|
+
|
|
9053
|
+
|
|
9054
|
+
def _deserialize(self, params):
|
|
9055
|
+
self._HttpPorts = params.get("HttpPorts")
|
|
9056
|
+
self._HttpsPorts = params.get("HttpsPorts")
|
|
9057
|
+
self._RequestId = params.get("RequestId")
|
|
9058
|
+
|
|
9059
|
+
|
|
8966
9060
|
class DescribeRuleLimitRequest(AbstractModel):
|
|
8967
9061
|
"""DescribeRuleLimit请求参数结构体
|
|
8968
9062
|
|
|
@@ -1273,6 +1273,29 @@ class WafClient(AbstractClient):
|
|
|
1273
1273
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1274
1274
|
|
|
1275
1275
|
|
|
1276
|
+
def DescribePorts(self, request):
|
|
1277
|
+
"""获取非标端口列表
|
|
1278
|
+
|
|
1279
|
+
:param request: Request instance for DescribePorts.
|
|
1280
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.DescribePortsRequest`
|
|
1281
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.DescribePortsResponse`
|
|
1282
|
+
|
|
1283
|
+
"""
|
|
1284
|
+
try:
|
|
1285
|
+
params = request._serialize()
|
|
1286
|
+
headers = request.headers
|
|
1287
|
+
body = self.call("DescribePorts", params, headers=headers)
|
|
1288
|
+
response = json.loads(body)
|
|
1289
|
+
model = models.DescribePortsResponse()
|
|
1290
|
+
model._deserialize(response["Response"])
|
|
1291
|
+
return model
|
|
1292
|
+
except Exception as e:
|
|
1293
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1294
|
+
raise
|
|
1295
|
+
else:
|
|
1296
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1297
|
+
|
|
1298
|
+
|
|
1276
1299
|
def DescribeRuleLimit(self, request):
|
|
1277
1300
|
"""获取各个模块具体的规格限制
|
|
1278
1301
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.979
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.978
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|