tencentcloud-sdk-python-cfw 3.1.15__tar.gz → 3.1.21__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_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/v20190904/cfw_client.py +0 -25
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/v20190904/cfw_client_async.py +0 -20
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/v20190904/models.py +0 -124
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.21/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.15/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.15 → tencentcloud_sdk_python_cfw-3.1.21}/tencentcloud_sdk_python_cfw.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.21
|
|
4
4
|
Summary: Tencent Cloud Cfw 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.21
|
|
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-cfw',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.21,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -463,31 +463,6 @@ class CfwClient(AbstractClient):
|
|
|
463
463
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
464
464
|
|
|
465
465
|
|
|
466
|
-
def DeleteAllAccessControlRule(self, request):
|
|
467
|
-
r"""业务废弃
|
|
468
|
-
|
|
469
|
-
全部删除规则
|
|
470
|
-
|
|
471
|
-
:param request: Request instance for DeleteAllAccessControlRule.
|
|
472
|
-
:type request: :class:`tencentcloud.cfw.v20190904.models.DeleteAllAccessControlRuleRequest`
|
|
473
|
-
:rtype: :class:`tencentcloud.cfw.v20190904.models.DeleteAllAccessControlRuleResponse`
|
|
474
|
-
|
|
475
|
-
"""
|
|
476
|
-
try:
|
|
477
|
-
params = request._serialize()
|
|
478
|
-
headers = request.headers
|
|
479
|
-
body = self.call("DeleteAllAccessControlRule", params, headers=headers)
|
|
480
|
-
response = json.loads(body)
|
|
481
|
-
model = models.DeleteAllAccessControlRuleResponse()
|
|
482
|
-
model._deserialize(response["Response"])
|
|
483
|
-
return model
|
|
484
|
-
except Exception as e:
|
|
485
|
-
if isinstance(e, TencentCloudSDKException):
|
|
486
|
-
raise
|
|
487
|
-
else:
|
|
488
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
489
|
-
|
|
490
|
-
|
|
491
466
|
def DeleteBlockIgnoreRuleList(self, request):
|
|
492
467
|
r"""批量删除入侵防御封禁列表、放通列表规则
|
|
493
468
|
|
|
@@ -367,26 +367,6 @@ class CfwClient(AbstractClient):
|
|
|
367
367
|
|
|
368
368
|
return await self.call_and_deserialize(**kwargs)
|
|
369
369
|
|
|
370
|
-
async def DeleteAllAccessControlRule(
|
|
371
|
-
self,
|
|
372
|
-
request: models.DeleteAllAccessControlRuleRequest,
|
|
373
|
-
opts: Dict = None,
|
|
374
|
-
) -> models.DeleteAllAccessControlRuleResponse:
|
|
375
|
-
"""
|
|
376
|
-
业务废弃
|
|
377
|
-
|
|
378
|
-
全部删除规则
|
|
379
|
-
"""
|
|
380
|
-
|
|
381
|
-
kwargs = {}
|
|
382
|
-
kwargs["action"] = "DeleteAllAccessControlRule"
|
|
383
|
-
kwargs["params"] = request._serialize()
|
|
384
|
-
kwargs["resp_cls"] = models.DeleteAllAccessControlRuleResponse
|
|
385
|
-
kwargs["headers"] = request.headers
|
|
386
|
-
kwargs["opts"] = opts or {}
|
|
387
|
-
|
|
388
|
-
return await self.call_and_deserialize(**kwargs)
|
|
389
|
-
|
|
390
370
|
async def DeleteBlockIgnoreRuleList(
|
|
391
371
|
self,
|
|
392
372
|
request: models.DeleteBlockIgnoreRuleListRequest,
|
|
@@ -5441,130 +5441,6 @@ class DeleteAddressTemplateResponse(AbstractModel):
|
|
|
5441
5441
|
self._RequestId = params.get("RequestId")
|
|
5442
5442
|
|
|
5443
5443
|
|
|
5444
|
-
class DeleteAllAccessControlRuleRequest(AbstractModel):
|
|
5445
|
-
r"""DeleteAllAccessControlRule请求参数结构体
|
|
5446
|
-
|
|
5447
|
-
"""
|
|
5448
|
-
|
|
5449
|
-
def __init__(self):
|
|
5450
|
-
r"""
|
|
5451
|
-
:param _Direction: 方向,0:出站,1:入站 默认值是 0
|
|
5452
|
-
:type Direction: int
|
|
5453
|
-
:param _EdgeId: VPC间防火墙开关ID 全部删除 EdgeId和Area只填写一个,不填写则不删除vpc间防火墙开关 ,默认值为‘’
|
|
5454
|
-
:type EdgeId: str
|
|
5455
|
-
:param _Area: nat地域 全部删除 EdgeId和Area只填写一个,不填写则不删除nat防火墙开关 默认值为‘’
|
|
5456
|
-
:type Area: str
|
|
5457
|
-
"""
|
|
5458
|
-
self._Direction = None
|
|
5459
|
-
self._EdgeId = None
|
|
5460
|
-
self._Area = None
|
|
5461
|
-
|
|
5462
|
-
@property
|
|
5463
|
-
def Direction(self):
|
|
5464
|
-
r"""方向,0:出站,1:入站 默认值是 0
|
|
5465
|
-
:rtype: int
|
|
5466
|
-
"""
|
|
5467
|
-
return self._Direction
|
|
5468
|
-
|
|
5469
|
-
@Direction.setter
|
|
5470
|
-
def Direction(self, Direction):
|
|
5471
|
-
self._Direction = Direction
|
|
5472
|
-
|
|
5473
|
-
@property
|
|
5474
|
-
def EdgeId(self):
|
|
5475
|
-
r"""VPC间防火墙开关ID 全部删除 EdgeId和Area只填写一个,不填写则不删除vpc间防火墙开关 ,默认值为‘’
|
|
5476
|
-
:rtype: str
|
|
5477
|
-
"""
|
|
5478
|
-
return self._EdgeId
|
|
5479
|
-
|
|
5480
|
-
@EdgeId.setter
|
|
5481
|
-
def EdgeId(self, EdgeId):
|
|
5482
|
-
self._EdgeId = EdgeId
|
|
5483
|
-
|
|
5484
|
-
@property
|
|
5485
|
-
def Area(self):
|
|
5486
|
-
r"""nat地域 全部删除 EdgeId和Area只填写一个,不填写则不删除nat防火墙开关 默认值为‘’
|
|
5487
|
-
:rtype: str
|
|
5488
|
-
"""
|
|
5489
|
-
return self._Area
|
|
5490
|
-
|
|
5491
|
-
@Area.setter
|
|
5492
|
-
def Area(self, Area):
|
|
5493
|
-
self._Area = Area
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
def _deserialize(self, params):
|
|
5497
|
-
self._Direction = params.get("Direction")
|
|
5498
|
-
self._EdgeId = params.get("EdgeId")
|
|
5499
|
-
self._Area = params.get("Area")
|
|
5500
|
-
memeber_set = set(params.keys())
|
|
5501
|
-
for name, value in vars(self).items():
|
|
5502
|
-
property_name = name[1:]
|
|
5503
|
-
if property_name in memeber_set:
|
|
5504
|
-
memeber_set.remove(property_name)
|
|
5505
|
-
if len(memeber_set) > 0:
|
|
5506
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
class DeleteAllAccessControlRuleResponse(AbstractModel):
|
|
5511
|
-
r"""DeleteAllAccessControlRule返回参数结构体
|
|
5512
|
-
|
|
5513
|
-
"""
|
|
5514
|
-
|
|
5515
|
-
def __init__(self):
|
|
5516
|
-
r"""
|
|
5517
|
-
:param _Status: 状态值 0: 修改成功, 非0: 修改失败
|
|
5518
|
-
:type Status: int
|
|
5519
|
-
:param _Info: 删除了几条访问控制规则
|
|
5520
|
-
:type Info: int
|
|
5521
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5522
|
-
:type RequestId: str
|
|
5523
|
-
"""
|
|
5524
|
-
self._Status = None
|
|
5525
|
-
self._Info = None
|
|
5526
|
-
self._RequestId = None
|
|
5527
|
-
|
|
5528
|
-
@property
|
|
5529
|
-
def Status(self):
|
|
5530
|
-
r"""状态值 0: 修改成功, 非0: 修改失败
|
|
5531
|
-
:rtype: int
|
|
5532
|
-
"""
|
|
5533
|
-
return self._Status
|
|
5534
|
-
|
|
5535
|
-
@Status.setter
|
|
5536
|
-
def Status(self, Status):
|
|
5537
|
-
self._Status = Status
|
|
5538
|
-
|
|
5539
|
-
@property
|
|
5540
|
-
def Info(self):
|
|
5541
|
-
r"""删除了几条访问控制规则
|
|
5542
|
-
:rtype: int
|
|
5543
|
-
"""
|
|
5544
|
-
return self._Info
|
|
5545
|
-
|
|
5546
|
-
@Info.setter
|
|
5547
|
-
def Info(self, Info):
|
|
5548
|
-
self._Info = Info
|
|
5549
|
-
|
|
5550
|
-
@property
|
|
5551
|
-
def RequestId(self):
|
|
5552
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5553
|
-
:rtype: str
|
|
5554
|
-
"""
|
|
5555
|
-
return self._RequestId
|
|
5556
|
-
|
|
5557
|
-
@RequestId.setter
|
|
5558
|
-
def RequestId(self, RequestId):
|
|
5559
|
-
self._RequestId = RequestId
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
def _deserialize(self, params):
|
|
5563
|
-
self._Status = params.get("Status")
|
|
5564
|
-
self._Info = params.get("Info")
|
|
5565
|
-
self._RequestId = params.get("RequestId")
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
5444
|
class DeleteBlockIgnoreRuleListRequest(AbstractModel):
|
|
5569
5445
|
r"""DeleteBlockIgnoreRuleList请求参数结构体
|
|
5570
5446
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-cfw
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.21
|
|
4
4
|
Summary: Tencent Cloud Cfw 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.21
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.21
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.15
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|