tencentcloud-sdk-python-waf 3.0.1109__tar.gz → 3.0.1111__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-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/setup.py +1 -1
  3. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/waf/v20180125/models.py +0 -232
  5. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/waf/v20180125/waf_client.py +0 -25
  6. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-waf-3.0.1111/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-waf-3.0.1109/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/README.rst +0 -0
  10. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/waf/__init__.py +0 -0
  12. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/waf/v20180125/__init__.py +0 -0
  13. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-waf-3.0.1109 → tencentcloud-sdk-python-waf-3.0.1111}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.0.1109
3
+ Version: 3.0.1111
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
@@ -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.1109"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1111"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Waf 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.1109'
17
+ __version__ = '3.0.1111'
@@ -3777,146 +3777,6 @@ class ClbDomainsInfo(AbstractModel):
3777
3777
 
3778
3778
 
3779
3779
 
3780
- class ClbHostResult(AbstractModel):
3781
- """CLB查询对应绑定的WAF状态的结果参数
3782
-
3783
- """
3784
-
3785
- def __init__(self):
3786
- r"""
3787
- :param _LoadBalancer: WAF绑定的监听器实例
3788
- :type LoadBalancer: :class:`tencentcloud.waf.v20180125.models.LoadBalancer`
3789
- :param _Domain: WAF绑定的域名
3790
- :type Domain: str
3791
- :param _DomainId: WAF绑定的实例ID
3792
- :type DomainId: str
3793
- :param _Status: 是否有绑定WAF,1:绑定了WAF,0:没有绑定WAF
3794
- :type Status: int
3795
- :param _FlowMode: 绑定了WAF的情况下,WAF流量模式,1:清洗模式,0:镜像模式(默认)
3796
- :type FlowMode: int
3797
- """
3798
- self._LoadBalancer = None
3799
- self._Domain = None
3800
- self._DomainId = None
3801
- self._Status = None
3802
- self._FlowMode = None
3803
-
3804
- @property
3805
- def LoadBalancer(self):
3806
- return self._LoadBalancer
3807
-
3808
- @LoadBalancer.setter
3809
- def LoadBalancer(self, LoadBalancer):
3810
- self._LoadBalancer = LoadBalancer
3811
-
3812
- @property
3813
- def Domain(self):
3814
- return self._Domain
3815
-
3816
- @Domain.setter
3817
- def Domain(self, Domain):
3818
- self._Domain = Domain
3819
-
3820
- @property
3821
- def DomainId(self):
3822
- return self._DomainId
3823
-
3824
- @DomainId.setter
3825
- def DomainId(self, DomainId):
3826
- self._DomainId = DomainId
3827
-
3828
- @property
3829
- def Status(self):
3830
- return self._Status
3831
-
3832
- @Status.setter
3833
- def Status(self, Status):
3834
- self._Status = Status
3835
-
3836
- @property
3837
- def FlowMode(self):
3838
- return self._FlowMode
3839
-
3840
- @FlowMode.setter
3841
- def FlowMode(self, FlowMode):
3842
- self._FlowMode = FlowMode
3843
-
3844
-
3845
- def _deserialize(self, params):
3846
- if params.get("LoadBalancer") is not None:
3847
- self._LoadBalancer = LoadBalancer()
3848
- self._LoadBalancer._deserialize(params.get("LoadBalancer"))
3849
- self._Domain = params.get("Domain")
3850
- self._DomainId = params.get("DomainId")
3851
- self._Status = params.get("Status")
3852
- self._FlowMode = params.get("FlowMode")
3853
- memeber_set = set(params.keys())
3854
- for name, value in vars(self).items():
3855
- property_name = name[1:]
3856
- if property_name in memeber_set:
3857
- memeber_set.remove(property_name)
3858
- if len(memeber_set) > 0:
3859
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3860
-
3861
-
3862
-
3863
- class ClbHostsParams(AbstractModel):
3864
- """CLB回调WAF接口(获取、删除)的参数
3865
-
3866
- """
3867
-
3868
- def __init__(self):
3869
- r"""
3870
- :param _LoadBalancerId: 负载均衡实例ID,如果不传次参数则默认认为操作的是整个AppId的监听器,如果此参数不为空则认为操作的是对应负载均衡实例。
3871
- :type LoadBalancerId: str
3872
- :param _ListenerId: 负载均衡监听器ID,,如果不传次参数则默认认为操作的是整个负载均衡实例,如果此参数不为空则认为操作的是对应负载均衡监听器。
3873
- :type ListenerId: str
3874
- :param _DomainId: WAF实例ID,,如果不传次参数则默认认为操作的是整个负载均衡监听器实例,如果此参数不为空则认为操作的是对应负载均衡监听器的某一个具体的域名。
3875
- :type DomainId: str
3876
- """
3877
- self._LoadBalancerId = None
3878
- self._ListenerId = None
3879
- self._DomainId = None
3880
-
3881
- @property
3882
- def LoadBalancerId(self):
3883
- return self._LoadBalancerId
3884
-
3885
- @LoadBalancerId.setter
3886
- def LoadBalancerId(self, LoadBalancerId):
3887
- self._LoadBalancerId = LoadBalancerId
3888
-
3889
- @property
3890
- def ListenerId(self):
3891
- return self._ListenerId
3892
-
3893
- @ListenerId.setter
3894
- def ListenerId(self, ListenerId):
3895
- self._ListenerId = ListenerId
3896
-
3897
- @property
3898
- def DomainId(self):
3899
- return self._DomainId
3900
-
3901
- @DomainId.setter
3902
- def DomainId(self, DomainId):
3903
- self._DomainId = DomainId
3904
-
3905
-
3906
- def _deserialize(self, params):
3907
- self._LoadBalancerId = params.get("LoadBalancerId")
3908
- self._ListenerId = params.get("ListenerId")
3909
- self._DomainId = params.get("DomainId")
3910
- memeber_set = set(params.keys())
3911
- for name, value in vars(self).items():
3912
- property_name = name[1:]
3913
- if property_name in memeber_set:
3914
- memeber_set.remove(property_name)
3915
- if len(memeber_set) > 0:
3916
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3917
-
3918
-
3919
-
3920
3780
  class ClbObject(AbstractModel):
3921
3781
  """Clb类型防护对象
3922
3782
 
@@ -13395,98 +13255,6 @@ class DescribeWafAutoDenyStatusResponse(AbstractModel):
13395
13255
  self._RequestId = params.get("RequestId")
13396
13256
 
13397
13257
 
13398
- class DescribeWafInfoRequest(AbstractModel):
13399
- """DescribeWafInfo请求参数结构体
13400
-
13401
- """
13402
-
13403
- def __init__(self):
13404
- r"""
13405
- :param _Params: CLB回调WAF接口(获取、删除)的参数
13406
- :type Params: list of ClbHostsParams
13407
- """
13408
- self._Params = None
13409
-
13410
- @property
13411
- def Params(self):
13412
- return self._Params
13413
-
13414
- @Params.setter
13415
- def Params(self, Params):
13416
- self._Params = Params
13417
-
13418
-
13419
- def _deserialize(self, params):
13420
- if params.get("Params") is not None:
13421
- self._Params = []
13422
- for item in params.get("Params"):
13423
- obj = ClbHostsParams()
13424
- obj._deserialize(item)
13425
- self._Params.append(obj)
13426
- memeber_set = set(params.keys())
13427
- for name, value in vars(self).items():
13428
- property_name = name[1:]
13429
- if property_name in memeber_set:
13430
- memeber_set.remove(property_name)
13431
- if len(memeber_set) > 0:
13432
- warnings.warn("%s fileds are useless." % ",".join(memeber_set))
13433
-
13434
-
13435
-
13436
- class DescribeWafInfoResponse(AbstractModel):
13437
- """DescribeWafInfo返回参数结构体
13438
-
13439
- """
13440
-
13441
- def __init__(self):
13442
- r"""
13443
- :param _Total: 返回的WAF信息数组的长度,为0则表示没有查询到对应的信息
13444
- :type Total: int
13445
- :param _HostList: 对应的WAF信息的数组。
13446
- :type HostList: list of ClbHostResult
13447
- :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
13448
- :type RequestId: str
13449
- """
13450
- self._Total = None
13451
- self._HostList = None
13452
- self._RequestId = None
13453
-
13454
- @property
13455
- def Total(self):
13456
- return self._Total
13457
-
13458
- @Total.setter
13459
- def Total(self, Total):
13460
- self._Total = Total
13461
-
13462
- @property
13463
- def HostList(self):
13464
- return self._HostList
13465
-
13466
- @HostList.setter
13467
- def HostList(self, HostList):
13468
- self._HostList = HostList
13469
-
13470
- @property
13471
- def RequestId(self):
13472
- return self._RequestId
13473
-
13474
- @RequestId.setter
13475
- def RequestId(self, RequestId):
13476
- self._RequestId = RequestId
13477
-
13478
-
13479
- def _deserialize(self, params):
13480
- self._Total = params.get("Total")
13481
- if params.get("HostList") is not None:
13482
- self._HostList = []
13483
- for item in params.get("HostList"):
13484
- obj = ClbHostResult()
13485
- obj._deserialize(item)
13486
- self._HostList.append(obj)
13487
- self._RequestId = params.get("RequestId")
13488
-
13489
-
13490
13258
  class DescribeWafThreatenIntelligenceRequest(AbstractModel):
13491
13259
  """DescribeWafThreatenIntelligence请求参数结构体
13492
13260
 
@@ -1849,31 +1849,6 @@ class WafClient(AbstractClient):
1849
1849
  raise TencentCloudSDKException(type(e).__name__, str(e))
1850
1850
 
1851
1851
 
1852
- def DescribeWafInfo(self, request):
1853
- """获取负载均衡绑定的WAF信息,可以根据租户负载均衡实例ID、负载均衡监听器ID、负载均衡的域名信息来查询对应绑定的 Waf的状态信息。
1854
- 查询的范围:负载均衡实例ID、负载均衡实例ID+监听器ID、负载均衡实例ID+监听器ID+域名。
1855
- 可能的错误码:ResourceNotFound(没有找到对应的资源)、UnsupportedRegion(目前clb-waf只支持北京、广州、上海、成都、重庆、香港地域)。
1856
-
1857
- :param request: Request instance for DescribeWafInfo.
1858
- :type request: :class:`tencentcloud.waf.v20180125.models.DescribeWafInfoRequest`
1859
- :rtype: :class:`tencentcloud.waf.v20180125.models.DescribeWafInfoResponse`
1860
-
1861
- """
1862
- try:
1863
- params = request._serialize()
1864
- headers = request.headers
1865
- body = self.call("DescribeWafInfo", params, headers=headers)
1866
- response = json.loads(body)
1867
- model = models.DescribeWafInfoResponse()
1868
- model._deserialize(response["Response"])
1869
- return model
1870
- except Exception as e:
1871
- if isinstance(e, TencentCloudSDKException):
1872
- raise
1873
- else:
1874
- raise TencentCloudSDKException(type(e).__name__, str(e))
1875
-
1876
-
1877
1852
  def DescribeWafThreatenIntelligence(self, request):
1878
1853
  """描述WAF威胁情报封禁模块配置详情
1879
1854
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.0.1109
3
+ Version: 3.0.1111
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
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1111
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1109