tencentcloud-sdk-python-waf 3.1.103__tar.gz → 3.1.104__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.1.103 → tencentcloud_sdk_python_waf-3.1.104}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/setup.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/v20180125/models.py +53 -38
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/v20180125/waf_client.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/v20180125/waf_client_async.py +1 -1
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_waf-3.1.104/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_waf-3.1.103/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/README.rst +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/setup.cfg +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_waf-3.1.103 → tencentcloud_sdk_python_waf-3.1.104}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.104
|
|
4
4
|
Summary: Tencent Cloud Waf 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
|
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-waf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.104,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Waf SDK for Python',
|
|
@@ -25589,40 +25589,42 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25589
25589
|
|
|
25590
25590
|
def __init__(self):
|
|
25591
25591
|
r"""
|
|
25592
|
-
:param _Domain:
|
|
25592
|
+
:param _Domain: <p>域名,当操作对象为全局规则时,Domain参数应填写为"global"</p>
|
|
25593
25593
|
:type Domain: str
|
|
25594
|
-
:param _Count:
|
|
25594
|
+
:param _Count: <p>计数标识</p>
|
|
25595
25595
|
:type Count: int
|
|
25596
|
-
:param _ActionType:
|
|
25596
|
+
:param _ActionType: <p>动作,40表示查询白名单,42表示查询黑名单</p>
|
|
25597
25597
|
:type ActionType: int
|
|
25598
|
-
:param _VtsMin:
|
|
25598
|
+
:param _VtsMin: <p>最小有效时间的时间戳</p>
|
|
25599
25599
|
:type VtsMin: int
|
|
25600
|
-
:param _VtsMax:
|
|
25600
|
+
:param _VtsMax: <p>最大有效时间的时间戳</p>
|
|
25601
25601
|
:type VtsMax: int
|
|
25602
|
-
:param _CtsMin:
|
|
25602
|
+
:param _CtsMin: <p>最小创建时间的时间戳</p>
|
|
25603
25603
|
:type CtsMin: int
|
|
25604
|
-
:param _CtsMax:
|
|
25604
|
+
:param _CtsMax: <p>最大创建时间的时间戳</p>
|
|
25605
25605
|
:type CtsMax: int
|
|
25606
|
-
:param _OffSet:
|
|
25606
|
+
:param _OffSet: <p>分页偏移量,取Limit整数倍。最小值为0,最大值= Total/Limit向上取整</p>
|
|
25607
25607
|
:type OffSet: int
|
|
25608
|
-
:param _Limit:
|
|
25608
|
+
:param _Limit: <p>每页返回的数量,默认为20</p>
|
|
25609
25609
|
:type Limit: int
|
|
25610
|
-
:param _Source:
|
|
25610
|
+
:param _Source: <p>用于按数据来源过滤黑白名单记录,非必填(默认为空字符串,表示不过滤/查询全部)。 "" (空字符串) ,不按来源过滤,返回所有记录(默认值) custom(自定义),用户在控制台手动添加的黑白名单规则 cc(CC 防护 ),由 CC 防护模块自动添加的 IP 黑白名单 bot(Bot 防护),由 Bot 防护模块自动添加的 IP 黑白名单 batch(批量域名防护),批量域名维度添加的黑白名单规则 batch-group(防护对象组),防护对象组维度添加的黑白名单规则</p>
|
|
25611
25611
|
:type Source: str
|
|
25612
|
-
:param _Sort:
|
|
25612
|
+
:param _Sort: <p>排序参数</p>
|
|
25613
25613
|
:type Sort: str
|
|
25614
|
-
:param _Ip: IP
|
|
25614
|
+
:param _Ip: <p>IP</p>
|
|
25615
25615
|
:type Ip: str
|
|
25616
|
-
:param _ValidStatus:
|
|
25616
|
+
:param _ValidStatus: <p>生效状态,1表示生效中,2表示过期,0表示全部</p>
|
|
25617
25617
|
:type ValidStatus: int
|
|
25618
|
-
:param _ValidTimeStampMin:
|
|
25618
|
+
:param _ValidTimeStampMin: <p>最小有效时间的时间戳</p>
|
|
25619
25619
|
:type ValidTimeStampMin: str
|
|
25620
|
-
:param _ValidTimeStampMax:
|
|
25620
|
+
:param _ValidTimeStampMax: <p>最大有效时间的时间戳</p>
|
|
25621
25621
|
:type ValidTimeStampMax: str
|
|
25622
|
-
:param _RuleId:
|
|
25622
|
+
:param _RuleId: <p>规则ID</p>
|
|
25623
25623
|
:type RuleId: int
|
|
25624
|
-
:param _TimerType: 0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4
|
|
25624
|
+
:param _TimerType: <p>0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4表示月粒度生效</p>
|
|
25625
25625
|
:type TimerType: int
|
|
25626
|
+
:param _IpList: <p>查询的ip列表</p>
|
|
25627
|
+
:type IpList: list of str
|
|
25626
25628
|
"""
|
|
25627
25629
|
self._Domain = None
|
|
25628
25630
|
self._Count = None
|
|
@@ -25641,10 +25643,11 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25641
25643
|
self._ValidTimeStampMax = None
|
|
25642
25644
|
self._RuleId = None
|
|
25643
25645
|
self._TimerType = None
|
|
25646
|
+
self._IpList = None
|
|
25644
25647
|
|
|
25645
25648
|
@property
|
|
25646
25649
|
def Domain(self):
|
|
25647
|
-
r"""
|
|
25650
|
+
r"""<p>域名,当操作对象为全局规则时,Domain参数应填写为"global"</p>
|
|
25648
25651
|
:rtype: str
|
|
25649
25652
|
"""
|
|
25650
25653
|
return self._Domain
|
|
@@ -25655,7 +25658,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25655
25658
|
|
|
25656
25659
|
@property
|
|
25657
25660
|
def Count(self):
|
|
25658
|
-
r"""
|
|
25661
|
+
r"""<p>计数标识</p>
|
|
25659
25662
|
:rtype: int
|
|
25660
25663
|
"""
|
|
25661
25664
|
return self._Count
|
|
@@ -25666,7 +25669,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25666
25669
|
|
|
25667
25670
|
@property
|
|
25668
25671
|
def ActionType(self):
|
|
25669
|
-
r"""
|
|
25672
|
+
r"""<p>动作,40表示查询白名单,42表示查询黑名单</p>
|
|
25670
25673
|
:rtype: int
|
|
25671
25674
|
"""
|
|
25672
25675
|
return self._ActionType
|
|
@@ -25679,7 +25682,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25679
25682
|
def VtsMin(self):
|
|
25680
25683
|
warnings.warn("parameter `VtsMin` is deprecated", DeprecationWarning)
|
|
25681
25684
|
|
|
25682
|
-
r"""
|
|
25685
|
+
r"""<p>最小有效时间的时间戳</p>
|
|
25683
25686
|
:rtype: int
|
|
25684
25687
|
"""
|
|
25685
25688
|
return self._VtsMin
|
|
@@ -25694,7 +25697,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25694
25697
|
def VtsMax(self):
|
|
25695
25698
|
warnings.warn("parameter `VtsMax` is deprecated", DeprecationWarning)
|
|
25696
25699
|
|
|
25697
|
-
r"""
|
|
25700
|
+
r"""<p>最大有效时间的时间戳</p>
|
|
25698
25701
|
:rtype: int
|
|
25699
25702
|
"""
|
|
25700
25703
|
return self._VtsMax
|
|
@@ -25707,7 +25710,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25707
25710
|
|
|
25708
25711
|
@property
|
|
25709
25712
|
def CtsMin(self):
|
|
25710
|
-
r"""
|
|
25713
|
+
r"""<p>最小创建时间的时间戳</p>
|
|
25711
25714
|
:rtype: int
|
|
25712
25715
|
"""
|
|
25713
25716
|
return self._CtsMin
|
|
@@ -25718,7 +25721,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25718
25721
|
|
|
25719
25722
|
@property
|
|
25720
25723
|
def CtsMax(self):
|
|
25721
|
-
r"""
|
|
25724
|
+
r"""<p>最大创建时间的时间戳</p>
|
|
25722
25725
|
:rtype: int
|
|
25723
25726
|
"""
|
|
25724
25727
|
return self._CtsMax
|
|
@@ -25729,7 +25732,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25729
25732
|
|
|
25730
25733
|
@property
|
|
25731
25734
|
def OffSet(self):
|
|
25732
|
-
r"""
|
|
25735
|
+
r"""<p>分页偏移量,取Limit整数倍。最小值为0,最大值= Total/Limit向上取整</p>
|
|
25733
25736
|
:rtype: int
|
|
25734
25737
|
"""
|
|
25735
25738
|
return self._OffSet
|
|
@@ -25740,7 +25743,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25740
25743
|
|
|
25741
25744
|
@property
|
|
25742
25745
|
def Limit(self):
|
|
25743
|
-
r"""
|
|
25746
|
+
r"""<p>每页返回的数量,默认为20</p>
|
|
25744
25747
|
:rtype: int
|
|
25745
25748
|
"""
|
|
25746
25749
|
return self._Limit
|
|
@@ -25751,7 +25754,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25751
25754
|
|
|
25752
25755
|
@property
|
|
25753
25756
|
def Source(self):
|
|
25754
|
-
r"""
|
|
25757
|
+
r"""<p>用于按数据来源过滤黑白名单记录,非必填(默认为空字符串,表示不过滤/查询全部)。 "" (空字符串) ,不按来源过滤,返回所有记录(默认值) custom(自定义),用户在控制台手动添加的黑白名单规则 cc(CC 防护 ),由 CC 防护模块自动添加的 IP 黑白名单 bot(Bot 防护),由 Bot 防护模块自动添加的 IP 黑白名单 batch(批量域名防护),批量域名维度添加的黑白名单规则 batch-group(防护对象组),防护对象组维度添加的黑白名单规则</p>
|
|
25755
25758
|
:rtype: str
|
|
25756
25759
|
"""
|
|
25757
25760
|
return self._Source
|
|
@@ -25762,7 +25765,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25762
25765
|
|
|
25763
25766
|
@property
|
|
25764
25767
|
def Sort(self):
|
|
25765
|
-
r"""
|
|
25768
|
+
r"""<p>排序参数</p>
|
|
25766
25769
|
:rtype: str
|
|
25767
25770
|
"""
|
|
25768
25771
|
return self._Sort
|
|
@@ -25773,7 +25776,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25773
25776
|
|
|
25774
25777
|
@property
|
|
25775
25778
|
def Ip(self):
|
|
25776
|
-
r"""IP
|
|
25779
|
+
r"""<p>IP</p>
|
|
25777
25780
|
:rtype: str
|
|
25778
25781
|
"""
|
|
25779
25782
|
return self._Ip
|
|
@@ -25784,7 +25787,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25784
25787
|
|
|
25785
25788
|
@property
|
|
25786
25789
|
def ValidStatus(self):
|
|
25787
|
-
r"""
|
|
25790
|
+
r"""<p>生效状态,1表示生效中,2表示过期,0表示全部</p>
|
|
25788
25791
|
:rtype: int
|
|
25789
25792
|
"""
|
|
25790
25793
|
return self._ValidStatus
|
|
@@ -25795,7 +25798,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25795
25798
|
|
|
25796
25799
|
@property
|
|
25797
25800
|
def ValidTimeStampMin(self):
|
|
25798
|
-
r"""
|
|
25801
|
+
r"""<p>最小有效时间的时间戳</p>
|
|
25799
25802
|
:rtype: str
|
|
25800
25803
|
"""
|
|
25801
25804
|
return self._ValidTimeStampMin
|
|
@@ -25806,7 +25809,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25806
25809
|
|
|
25807
25810
|
@property
|
|
25808
25811
|
def ValidTimeStampMax(self):
|
|
25809
|
-
r"""
|
|
25812
|
+
r"""<p>最大有效时间的时间戳</p>
|
|
25810
25813
|
:rtype: str
|
|
25811
25814
|
"""
|
|
25812
25815
|
return self._ValidTimeStampMax
|
|
@@ -25817,7 +25820,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25817
25820
|
|
|
25818
25821
|
@property
|
|
25819
25822
|
def RuleId(self):
|
|
25820
|
-
r"""
|
|
25823
|
+
r"""<p>规则ID</p>
|
|
25821
25824
|
:rtype: int
|
|
25822
25825
|
"""
|
|
25823
25826
|
return self._RuleId
|
|
@@ -25828,7 +25831,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25828
25831
|
|
|
25829
25832
|
@property
|
|
25830
25833
|
def TimerType(self):
|
|
25831
|
-
r"""0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4
|
|
25834
|
+
r"""<p>0表示全部,1表示永久生效,2表示定时生效,3表示周粒度生效,4表示月粒度生效</p>
|
|
25832
25835
|
:rtype: int
|
|
25833
25836
|
"""
|
|
25834
25837
|
return self._TimerType
|
|
@@ -25837,6 +25840,17 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25837
25840
|
def TimerType(self, TimerType):
|
|
25838
25841
|
self._TimerType = TimerType
|
|
25839
25842
|
|
|
25843
|
+
@property
|
|
25844
|
+
def IpList(self):
|
|
25845
|
+
r"""<p>查询的ip列表</p>
|
|
25846
|
+
:rtype: list of str
|
|
25847
|
+
"""
|
|
25848
|
+
return self._IpList
|
|
25849
|
+
|
|
25850
|
+
@IpList.setter
|
|
25851
|
+
def IpList(self, IpList):
|
|
25852
|
+
self._IpList = IpList
|
|
25853
|
+
|
|
25840
25854
|
|
|
25841
25855
|
def _deserialize(self, params):
|
|
25842
25856
|
self._Domain = params.get("Domain")
|
|
@@ -25856,6 +25870,7 @@ class DescribeIpAccessControlRequest(AbstractModel):
|
|
|
25856
25870
|
self._ValidTimeStampMax = params.get("ValidTimeStampMax")
|
|
25857
25871
|
self._RuleId = params.get("RuleId")
|
|
25858
25872
|
self._TimerType = params.get("TimerType")
|
|
25873
|
+
self._IpList = params.get("IpList")
|
|
25859
25874
|
memeber_set = set(params.keys())
|
|
25860
25875
|
for name, value in vars(self).items():
|
|
25861
25876
|
property_name = name[1:]
|
|
@@ -25873,9 +25888,9 @@ class DescribeIpAccessControlResponse(AbstractModel):
|
|
|
25873
25888
|
|
|
25874
25889
|
def __init__(self):
|
|
25875
25890
|
r"""
|
|
25876
|
-
:param _Data:
|
|
25891
|
+
:param _Data: <p>输出</p>
|
|
25877
25892
|
:type Data: :class:`tencentcloud.waf.v20180125.models.IpAccessControlData`
|
|
25878
|
-
:param _UsedTotal:
|
|
25893
|
+
:param _UsedTotal: <p>已经使用的IP黑白名单的IP总数</p>
|
|
25879
25894
|
:type UsedTotal: int
|
|
25880
25895
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
25881
25896
|
:type RequestId: str
|
|
@@ -25886,7 +25901,7 @@ class DescribeIpAccessControlResponse(AbstractModel):
|
|
|
25886
25901
|
|
|
25887
25902
|
@property
|
|
25888
25903
|
def Data(self):
|
|
25889
|
-
r"""
|
|
25904
|
+
r"""<p>输出</p>
|
|
25890
25905
|
:rtype: :class:`tencentcloud.waf.v20180125.models.IpAccessControlData`
|
|
25891
25906
|
"""
|
|
25892
25907
|
return self._Data
|
|
@@ -25897,7 +25912,7 @@ class DescribeIpAccessControlResponse(AbstractModel):
|
|
|
25897
25912
|
|
|
25898
25913
|
@property
|
|
25899
25914
|
def UsedTotal(self):
|
|
25900
|
-
r"""
|
|
25915
|
+
r"""<p>已经使用的IP黑白名单的IP总数</p>
|
|
25901
25916
|
:rtype: int
|
|
25902
25917
|
"""
|
|
25903
25918
|
return self._UsedTotal
|
|
@@ -2304,7 +2304,7 @@ class WafClient(AbstractClient):
|
|
|
2304
2304
|
|
|
2305
2305
|
|
|
2306
2306
|
def DescribeObjects(self, request):
|
|
2307
|
-
r"""
|
|
2307
|
+
r"""查看CLB/TSE防护对象列表
|
|
2308
2308
|
|
|
2309
2309
|
:param request: Request instance for DescribeObjects.
|
|
2310
2310
|
:type request: :class:`tencentcloud.waf.v20180125.models.DescribeObjectsRequest`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-waf
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.104
|
|
4
4
|
Summary: Tencent Cloud Waf 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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.104
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.103
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|