tencentcloud-sdk-python-waf 3.0.1374__tar.gz → 3.0.1376__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.1374 → tencentcloud-sdk-python-waf-3.0.1376}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/setup.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/waf/v20180125/models.py +79 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/waf/v20180125/waf_client.py +23 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-waf-3.0.1376/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-waf-3.0.1374/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/README.rst +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/setup.cfg +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/waf/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/waf/v20180125/__init__.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-waf-3.0.1374 → tencentcloud-sdk-python-waf-3.0.1376}/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.1376"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Waf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -33729,6 +33729,85 @@ class ModifyHostStatusResponse(AbstractModel):
|
|
|
33729
33729
|
self._RequestId = params.get("RequestId")
|
|
33730
33730
|
|
|
33731
33731
|
|
|
33732
|
+
class ModifyInstanceAttackLogPostRequest(AbstractModel):
|
|
33733
|
+
"""ModifyInstanceAttackLogPost请求参数结构体
|
|
33734
|
+
|
|
33735
|
+
"""
|
|
33736
|
+
|
|
33737
|
+
def __init__(self):
|
|
33738
|
+
r"""
|
|
33739
|
+
:param _InstanceId: 实例ID
|
|
33740
|
+
:type InstanceId: str
|
|
33741
|
+
:param _AttackLogPost: 攻击日志投递开关
|
|
33742
|
+
:type AttackLogPost: int
|
|
33743
|
+
"""
|
|
33744
|
+
self._InstanceId = None
|
|
33745
|
+
self._AttackLogPost = None
|
|
33746
|
+
|
|
33747
|
+
@property
|
|
33748
|
+
def InstanceId(self):
|
|
33749
|
+
"""实例ID
|
|
33750
|
+
:rtype: str
|
|
33751
|
+
"""
|
|
33752
|
+
return self._InstanceId
|
|
33753
|
+
|
|
33754
|
+
@InstanceId.setter
|
|
33755
|
+
def InstanceId(self, InstanceId):
|
|
33756
|
+
self._InstanceId = InstanceId
|
|
33757
|
+
|
|
33758
|
+
@property
|
|
33759
|
+
def AttackLogPost(self):
|
|
33760
|
+
"""攻击日志投递开关
|
|
33761
|
+
:rtype: int
|
|
33762
|
+
"""
|
|
33763
|
+
return self._AttackLogPost
|
|
33764
|
+
|
|
33765
|
+
@AttackLogPost.setter
|
|
33766
|
+
def AttackLogPost(self, AttackLogPost):
|
|
33767
|
+
self._AttackLogPost = AttackLogPost
|
|
33768
|
+
|
|
33769
|
+
|
|
33770
|
+
def _deserialize(self, params):
|
|
33771
|
+
self._InstanceId = params.get("InstanceId")
|
|
33772
|
+
self._AttackLogPost = params.get("AttackLogPost")
|
|
33773
|
+
memeber_set = set(params.keys())
|
|
33774
|
+
for name, value in vars(self).items():
|
|
33775
|
+
property_name = name[1:]
|
|
33776
|
+
if property_name in memeber_set:
|
|
33777
|
+
memeber_set.remove(property_name)
|
|
33778
|
+
if len(memeber_set) > 0:
|
|
33779
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33780
|
+
|
|
33781
|
+
|
|
33782
|
+
|
|
33783
|
+
class ModifyInstanceAttackLogPostResponse(AbstractModel):
|
|
33784
|
+
"""ModifyInstanceAttackLogPost返回参数结构体
|
|
33785
|
+
|
|
33786
|
+
"""
|
|
33787
|
+
|
|
33788
|
+
def __init__(self):
|
|
33789
|
+
r"""
|
|
33790
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33791
|
+
:type RequestId: str
|
|
33792
|
+
"""
|
|
33793
|
+
self._RequestId = None
|
|
33794
|
+
|
|
33795
|
+
@property
|
|
33796
|
+
def RequestId(self):
|
|
33797
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33798
|
+
:rtype: str
|
|
33799
|
+
"""
|
|
33800
|
+
return self._RequestId
|
|
33801
|
+
|
|
33802
|
+
@RequestId.setter
|
|
33803
|
+
def RequestId(self, RequestId):
|
|
33804
|
+
self._RequestId = RequestId
|
|
33805
|
+
|
|
33806
|
+
|
|
33807
|
+
def _deserialize(self, params):
|
|
33808
|
+
self._RequestId = params.get("RequestId")
|
|
33809
|
+
|
|
33810
|
+
|
|
33732
33811
|
class ModifyInstanceElasticModeRequest(AbstractModel):
|
|
33733
33812
|
"""ModifyInstanceElasticMode请求参数结构体
|
|
33734
33813
|
|
|
@@ -3134,6 +3134,29 @@ class WafClient(AbstractClient):
|
|
|
3134
3134
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3135
3135
|
|
|
3136
3136
|
|
|
3137
|
+
def ModifyInstanceAttackLogPost(self, request):
|
|
3138
|
+
"""修改实例攻击日志投递开关,企业版及以上版本可以开通,否则返回错误
|
|
3139
|
+
|
|
3140
|
+
:param request: Request instance for ModifyInstanceAttackLogPost.
|
|
3141
|
+
:type request: :class:`tencentcloud.waf.v20180125.models.ModifyInstanceAttackLogPostRequest`
|
|
3142
|
+
:rtype: :class:`tencentcloud.waf.v20180125.models.ModifyInstanceAttackLogPostResponse`
|
|
3143
|
+
|
|
3144
|
+
"""
|
|
3145
|
+
try:
|
|
3146
|
+
params = request._serialize()
|
|
3147
|
+
headers = request.headers
|
|
3148
|
+
body = self.call("ModifyInstanceAttackLogPost", params, headers=headers)
|
|
3149
|
+
response = json.loads(body)
|
|
3150
|
+
model = models.ModifyInstanceAttackLogPostResponse()
|
|
3151
|
+
model._deserialize(response["Response"])
|
|
3152
|
+
return model
|
|
3153
|
+
except Exception as e:
|
|
3154
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3155
|
+
raise
|
|
3156
|
+
else:
|
|
3157
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3158
|
+
|
|
3159
|
+
|
|
3137
3160
|
def ModifyInstanceElasticMode(self, request):
|
|
3138
3161
|
"""修改实例的QPS弹性计费开关
|
|
3139
3162
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1376
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1374
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|