tencentcloud-sdk-python-cfw 3.1.137__tar.gz → 3.1.138__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-cfw might be problematic. Click here for more details.
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/v20190904/models.py +294 -24
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.138/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.137/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.137 → tencentcloud_sdk_python_cfw-3.1.138}/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.138
|
|
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.138
|
|
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.138,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -739,6 +739,29 @@ class CfwClient(AbstractClient):
|
|
|
739
739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
740
|
|
|
741
741
|
|
|
742
|
+
def DescribeAclRegInfo(self, request):
|
|
743
|
+
r"""查询ACL规则支持配置的地区
|
|
744
|
+
|
|
745
|
+
:param request: Request instance for DescribeAclRegInfo.
|
|
746
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeAclRegInfoRequest`
|
|
747
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeAclRegInfoResponse`
|
|
748
|
+
|
|
749
|
+
"""
|
|
750
|
+
try:
|
|
751
|
+
params = request._serialize()
|
|
752
|
+
headers = request.headers
|
|
753
|
+
body = self.call("DescribeAclRegInfo", params, headers=headers)
|
|
754
|
+
response = json.loads(body)
|
|
755
|
+
model = models.DescribeAclRegInfoResponse()
|
|
756
|
+
model._deserialize(response["Response"])
|
|
757
|
+
return model
|
|
758
|
+
except Exception as e:
|
|
759
|
+
if isinstance(e, TencentCloudSDKException):
|
|
760
|
+
raise
|
|
761
|
+
else:
|
|
762
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
763
|
+
|
|
764
|
+
|
|
742
765
|
def DescribeAclRule(self, request):
|
|
743
766
|
r"""查询互联网边界访问控制列表
|
|
744
767
|
|
|
@@ -583,6 +583,24 @@ class CfwClient(AbstractClient):
|
|
|
583
583
|
|
|
584
584
|
return await self.call_and_deserialize(**kwargs)
|
|
585
585
|
|
|
586
|
+
async def DescribeAclRegInfo(
|
|
587
|
+
self,
|
|
588
|
+
request: models.DescribeAclRegInfoRequest,
|
|
589
|
+
opts: Dict = None,
|
|
590
|
+
) -> models.DescribeAclRegInfoResponse:
|
|
591
|
+
"""
|
|
592
|
+
查询ACL规则支持配置的地区
|
|
593
|
+
"""
|
|
594
|
+
|
|
595
|
+
kwargs = {}
|
|
596
|
+
kwargs["action"] = "DescribeAclRegInfo"
|
|
597
|
+
kwargs["params"] = request._serialize()
|
|
598
|
+
kwargs["resp_cls"] = models.DescribeAclRegInfoResponse
|
|
599
|
+
kwargs["headers"] = request.headers
|
|
600
|
+
kwargs["opts"] = opts or {}
|
|
601
|
+
|
|
602
|
+
return await self.call_and_deserialize(**kwargs)
|
|
603
|
+
|
|
586
604
|
async def DescribeAclRule(
|
|
587
605
|
self,
|
|
588
606
|
request: models.DescribeAclRuleRequest,
|
|
@@ -499,6 +499,192 @@ class AccessInstanceInfo(AbstractModel):
|
|
|
499
499
|
|
|
500
500
|
|
|
501
501
|
|
|
502
|
+
class AclRegInfo(AbstractModel):
|
|
503
|
+
r"""ACL 地理位置支持地域数据
|
|
504
|
+
|
|
505
|
+
"""
|
|
506
|
+
|
|
507
|
+
def __init__(self):
|
|
508
|
+
r"""
|
|
509
|
+
:param _RegionCode: 地域KEY
|
|
510
|
+
:type RegionCode: str
|
|
511
|
+
:param _RegionName: 地域名称
|
|
512
|
+
:type RegionName: str
|
|
513
|
+
:param _Parent: 上级地域信息
|
|
514
|
+
:type Parent: str
|
|
515
|
+
:param _ZhKey: 中文拼音首字母
|
|
516
|
+
:type ZhKey: str
|
|
517
|
+
:param _EnKey: 英文首字母
|
|
518
|
+
:type EnKey: str
|
|
519
|
+
:param _Area: 是否为地区
|
|
520
|
+
:type Area: int
|
|
521
|
+
:param _IsCity: 是否为省份、城市
|
|
522
|
+
:type IsCity: int
|
|
523
|
+
:param _Num: 序号
|
|
524
|
+
:type Num: int
|
|
525
|
+
:param _ForBypass: 是否支持旁路
|
|
526
|
+
:type ForBypass: int
|
|
527
|
+
:param _ForSerial: 是否支持串行
|
|
528
|
+
:type ForSerial: int
|
|
529
|
+
:param _ForNat: 是否支持NAT
|
|
530
|
+
:type ForNat: int
|
|
531
|
+
"""
|
|
532
|
+
self._RegionCode = None
|
|
533
|
+
self._RegionName = None
|
|
534
|
+
self._Parent = None
|
|
535
|
+
self._ZhKey = None
|
|
536
|
+
self._EnKey = None
|
|
537
|
+
self._Area = None
|
|
538
|
+
self._IsCity = None
|
|
539
|
+
self._Num = None
|
|
540
|
+
self._ForBypass = None
|
|
541
|
+
self._ForSerial = None
|
|
542
|
+
self._ForNat = None
|
|
543
|
+
|
|
544
|
+
@property
|
|
545
|
+
def RegionCode(self):
|
|
546
|
+
r"""地域KEY
|
|
547
|
+
:rtype: str
|
|
548
|
+
"""
|
|
549
|
+
return self._RegionCode
|
|
550
|
+
|
|
551
|
+
@RegionCode.setter
|
|
552
|
+
def RegionCode(self, RegionCode):
|
|
553
|
+
self._RegionCode = RegionCode
|
|
554
|
+
|
|
555
|
+
@property
|
|
556
|
+
def RegionName(self):
|
|
557
|
+
r"""地域名称
|
|
558
|
+
:rtype: str
|
|
559
|
+
"""
|
|
560
|
+
return self._RegionName
|
|
561
|
+
|
|
562
|
+
@RegionName.setter
|
|
563
|
+
def RegionName(self, RegionName):
|
|
564
|
+
self._RegionName = RegionName
|
|
565
|
+
|
|
566
|
+
@property
|
|
567
|
+
def Parent(self):
|
|
568
|
+
r"""上级地域信息
|
|
569
|
+
:rtype: str
|
|
570
|
+
"""
|
|
571
|
+
return self._Parent
|
|
572
|
+
|
|
573
|
+
@Parent.setter
|
|
574
|
+
def Parent(self, Parent):
|
|
575
|
+
self._Parent = Parent
|
|
576
|
+
|
|
577
|
+
@property
|
|
578
|
+
def ZhKey(self):
|
|
579
|
+
r"""中文拼音首字母
|
|
580
|
+
:rtype: str
|
|
581
|
+
"""
|
|
582
|
+
return self._ZhKey
|
|
583
|
+
|
|
584
|
+
@ZhKey.setter
|
|
585
|
+
def ZhKey(self, ZhKey):
|
|
586
|
+
self._ZhKey = ZhKey
|
|
587
|
+
|
|
588
|
+
@property
|
|
589
|
+
def EnKey(self):
|
|
590
|
+
r"""英文首字母
|
|
591
|
+
:rtype: str
|
|
592
|
+
"""
|
|
593
|
+
return self._EnKey
|
|
594
|
+
|
|
595
|
+
@EnKey.setter
|
|
596
|
+
def EnKey(self, EnKey):
|
|
597
|
+
self._EnKey = EnKey
|
|
598
|
+
|
|
599
|
+
@property
|
|
600
|
+
def Area(self):
|
|
601
|
+
r"""是否为地区
|
|
602
|
+
:rtype: int
|
|
603
|
+
"""
|
|
604
|
+
return self._Area
|
|
605
|
+
|
|
606
|
+
@Area.setter
|
|
607
|
+
def Area(self, Area):
|
|
608
|
+
self._Area = Area
|
|
609
|
+
|
|
610
|
+
@property
|
|
611
|
+
def IsCity(self):
|
|
612
|
+
r"""是否为省份、城市
|
|
613
|
+
:rtype: int
|
|
614
|
+
"""
|
|
615
|
+
return self._IsCity
|
|
616
|
+
|
|
617
|
+
@IsCity.setter
|
|
618
|
+
def IsCity(self, IsCity):
|
|
619
|
+
self._IsCity = IsCity
|
|
620
|
+
|
|
621
|
+
@property
|
|
622
|
+
def Num(self):
|
|
623
|
+
r"""序号
|
|
624
|
+
:rtype: int
|
|
625
|
+
"""
|
|
626
|
+
return self._Num
|
|
627
|
+
|
|
628
|
+
@Num.setter
|
|
629
|
+
def Num(self, Num):
|
|
630
|
+
self._Num = Num
|
|
631
|
+
|
|
632
|
+
@property
|
|
633
|
+
def ForBypass(self):
|
|
634
|
+
r"""是否支持旁路
|
|
635
|
+
:rtype: int
|
|
636
|
+
"""
|
|
637
|
+
return self._ForBypass
|
|
638
|
+
|
|
639
|
+
@ForBypass.setter
|
|
640
|
+
def ForBypass(self, ForBypass):
|
|
641
|
+
self._ForBypass = ForBypass
|
|
642
|
+
|
|
643
|
+
@property
|
|
644
|
+
def ForSerial(self):
|
|
645
|
+
r"""是否支持串行
|
|
646
|
+
:rtype: int
|
|
647
|
+
"""
|
|
648
|
+
return self._ForSerial
|
|
649
|
+
|
|
650
|
+
@ForSerial.setter
|
|
651
|
+
def ForSerial(self, ForSerial):
|
|
652
|
+
self._ForSerial = ForSerial
|
|
653
|
+
|
|
654
|
+
@property
|
|
655
|
+
def ForNat(self):
|
|
656
|
+
r"""是否支持NAT
|
|
657
|
+
:rtype: int
|
|
658
|
+
"""
|
|
659
|
+
return self._ForNat
|
|
660
|
+
|
|
661
|
+
@ForNat.setter
|
|
662
|
+
def ForNat(self, ForNat):
|
|
663
|
+
self._ForNat = ForNat
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
def _deserialize(self, params):
|
|
667
|
+
self._RegionCode = params.get("RegionCode")
|
|
668
|
+
self._RegionName = params.get("RegionName")
|
|
669
|
+
self._Parent = params.get("Parent")
|
|
670
|
+
self._ZhKey = params.get("ZhKey")
|
|
671
|
+
self._EnKey = params.get("EnKey")
|
|
672
|
+
self._Area = params.get("Area")
|
|
673
|
+
self._IsCity = params.get("IsCity")
|
|
674
|
+
self._Num = params.get("Num")
|
|
675
|
+
self._ForBypass = params.get("ForBypass")
|
|
676
|
+
self._ForSerial = params.get("ForSerial")
|
|
677
|
+
self._ForNat = params.get("ForNat")
|
|
678
|
+
memeber_set = set(params.keys())
|
|
679
|
+
for name, value in vars(self).items():
|
|
680
|
+
property_name = name[1:]
|
|
681
|
+
if property_name in memeber_set:
|
|
682
|
+
memeber_set.remove(property_name)
|
|
683
|
+
if len(memeber_set) > 0:
|
|
684
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
502
688
|
class AddAclRuleRequest(AbstractModel):
|
|
503
689
|
r"""AddAclRule请求参数结构体
|
|
504
690
|
|
|
@@ -5242,23 +5428,23 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5242
5428
|
|
|
5243
5429
|
def __init__(self):
|
|
5244
5430
|
r"""
|
|
5245
|
-
:param _Name:
|
|
5431
|
+
:param _Name: <p>防火墙实例名称</p>
|
|
5246
5432
|
:type Name: str
|
|
5247
|
-
:param _Width:
|
|
5433
|
+
:param _Width: <p>带宽</p>
|
|
5248
5434
|
:type Width: int
|
|
5249
|
-
:param _Mode:
|
|
5435
|
+
:param _Mode: <p>模式 1:接入模式;0:新增模式</p>
|
|
5250
5436
|
:type Mode: int
|
|
5251
|
-
:param _NewModeItems:
|
|
5437
|
+
:param _NewModeItems: <p>新增模式传递参数,其中NewModeItems和NatgwList至少传递一种。</p>
|
|
5252
5438
|
:type NewModeItems: :class:`tencentcloud.cfw.v20190904.models.NewModeItems`
|
|
5253
|
-
:param _NatGwList:
|
|
5439
|
+
:param _NatGwList: <p>接入模式接入的nat网关列表,其中NewModeItems和NatgwList至少传递一种。</p>
|
|
5254
5440
|
:type NatGwList: list of str
|
|
5255
|
-
:param _Zone:
|
|
5441
|
+
:param _Zone: <p>主可用区,为空则选择默认可用区</p>
|
|
5256
5442
|
:type Zone: str
|
|
5257
|
-
:param _ZoneBak:
|
|
5443
|
+
:param _ZoneBak: <p>备可用区,为空则选择默认可用区</p>
|
|
5258
5444
|
:type ZoneBak: str
|
|
5259
|
-
:param _CrossAZone:
|
|
5445
|
+
:param _CrossAZone: <p>异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备</p>
|
|
5260
5446
|
:type CrossAZone: int
|
|
5261
|
-
:param _FwCidrInfo:
|
|
5447
|
+
:param _FwCidrInfo: <p>指定防火墙使用网段信息</p>
|
|
5262
5448
|
:type FwCidrInfo: :class:`tencentcloud.cfw.v20190904.models.FwCidrInfo`
|
|
5263
5449
|
"""
|
|
5264
5450
|
self._Name = None
|
|
@@ -5273,7 +5459,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5273
5459
|
|
|
5274
5460
|
@property
|
|
5275
5461
|
def Name(self):
|
|
5276
|
-
r"""
|
|
5462
|
+
r"""<p>防火墙实例名称</p>
|
|
5277
5463
|
:rtype: str
|
|
5278
5464
|
"""
|
|
5279
5465
|
return self._Name
|
|
@@ -5284,7 +5470,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5284
5470
|
|
|
5285
5471
|
@property
|
|
5286
5472
|
def Width(self):
|
|
5287
|
-
r"""
|
|
5473
|
+
r"""<p>带宽</p>
|
|
5288
5474
|
:rtype: int
|
|
5289
5475
|
"""
|
|
5290
5476
|
return self._Width
|
|
@@ -5295,7 +5481,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5295
5481
|
|
|
5296
5482
|
@property
|
|
5297
5483
|
def Mode(self):
|
|
5298
|
-
r"""
|
|
5484
|
+
r"""<p>模式 1:接入模式;0:新增模式</p>
|
|
5299
5485
|
:rtype: int
|
|
5300
5486
|
"""
|
|
5301
5487
|
return self._Mode
|
|
@@ -5306,7 +5492,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5306
5492
|
|
|
5307
5493
|
@property
|
|
5308
5494
|
def NewModeItems(self):
|
|
5309
|
-
r"""
|
|
5495
|
+
r"""<p>新增模式传递参数,其中NewModeItems和NatgwList至少传递一种。</p>
|
|
5310
5496
|
:rtype: :class:`tencentcloud.cfw.v20190904.models.NewModeItems`
|
|
5311
5497
|
"""
|
|
5312
5498
|
return self._NewModeItems
|
|
@@ -5317,7 +5503,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5317
5503
|
|
|
5318
5504
|
@property
|
|
5319
5505
|
def NatGwList(self):
|
|
5320
|
-
r"""
|
|
5506
|
+
r"""<p>接入模式接入的nat网关列表,其中NewModeItems和NatgwList至少传递一种。</p>
|
|
5321
5507
|
:rtype: list of str
|
|
5322
5508
|
"""
|
|
5323
5509
|
return self._NatGwList
|
|
@@ -5328,7 +5514,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5328
5514
|
|
|
5329
5515
|
@property
|
|
5330
5516
|
def Zone(self):
|
|
5331
|
-
r"""
|
|
5517
|
+
r"""<p>主可用区,为空则选择默认可用区</p>
|
|
5332
5518
|
:rtype: str
|
|
5333
5519
|
"""
|
|
5334
5520
|
return self._Zone
|
|
@@ -5339,7 +5525,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5339
5525
|
|
|
5340
5526
|
@property
|
|
5341
5527
|
def ZoneBak(self):
|
|
5342
|
-
r"""
|
|
5528
|
+
r"""<p>备可用区,为空则选择默认可用区</p>
|
|
5343
5529
|
:rtype: str
|
|
5344
5530
|
"""
|
|
5345
5531
|
return self._ZoneBak
|
|
@@ -5350,7 +5536,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5350
5536
|
|
|
5351
5537
|
@property
|
|
5352
5538
|
def CrossAZone(self):
|
|
5353
|
-
r"""
|
|
5539
|
+
r"""<p>异地灾备 1:使用异地灾备;0:不使用异地灾备;为空则默认不使用异地灾备</p>
|
|
5354
5540
|
:rtype: int
|
|
5355
5541
|
"""
|
|
5356
5542
|
return self._CrossAZone
|
|
@@ -5361,7 +5547,7 @@ class CreateNatFwInstanceRequest(AbstractModel):
|
|
|
5361
5547
|
|
|
5362
5548
|
@property
|
|
5363
5549
|
def FwCidrInfo(self):
|
|
5364
|
-
r"""
|
|
5550
|
+
r"""<p>指定防火墙使用网段信息</p>
|
|
5365
5551
|
:rtype: :class:`tencentcloud.cfw.v20190904.models.FwCidrInfo`
|
|
5366
5552
|
"""
|
|
5367
5553
|
return self._FwCidrInfo
|
|
@@ -5402,7 +5588,7 @@ class CreateNatFwInstanceResponse(AbstractModel):
|
|
|
5402
5588
|
|
|
5403
5589
|
def __init__(self):
|
|
5404
5590
|
r"""
|
|
5405
|
-
:param _CfwInsId:
|
|
5591
|
+
:param _CfwInsId: <p>防火墙实例id</p>
|
|
5406
5592
|
:type CfwInsId: str
|
|
5407
5593
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5408
5594
|
:type RequestId: str
|
|
@@ -5412,7 +5598,7 @@ class CreateNatFwInstanceResponse(AbstractModel):
|
|
|
5412
5598
|
|
|
5413
5599
|
@property
|
|
5414
5600
|
def CfwInsId(self):
|
|
5415
|
-
r"""
|
|
5601
|
+
r"""<p>防火墙实例id</p>
|
|
5416
5602
|
:rtype: str
|
|
5417
5603
|
"""
|
|
5418
5604
|
return self._CfwInsId
|
|
@@ -8825,6 +9011,90 @@ class DescribeAcListsResponse(AbstractModel):
|
|
|
8825
9011
|
self._RequestId = params.get("RequestId")
|
|
8826
9012
|
|
|
8827
9013
|
|
|
9014
|
+
class DescribeAclRegInfoRequest(AbstractModel):
|
|
9015
|
+
r"""DescribeAclRegInfo请求参数结构体
|
|
9016
|
+
|
|
9017
|
+
"""
|
|
9018
|
+
|
|
9019
|
+
def __init__(self):
|
|
9020
|
+
r"""
|
|
9021
|
+
:param _FwType: 防火墙类型 SERIAL:串行、NAT:NAT防火墙,BYPASS:旁路防火墙
|
|
9022
|
+
:type FwType: list of str
|
|
9023
|
+
"""
|
|
9024
|
+
self._FwType = None
|
|
9025
|
+
|
|
9026
|
+
@property
|
|
9027
|
+
def FwType(self):
|
|
9028
|
+
r"""防火墙类型 SERIAL:串行、NAT:NAT防火墙,BYPASS:旁路防火墙
|
|
9029
|
+
:rtype: list of str
|
|
9030
|
+
"""
|
|
9031
|
+
return self._FwType
|
|
9032
|
+
|
|
9033
|
+
@FwType.setter
|
|
9034
|
+
def FwType(self, FwType):
|
|
9035
|
+
self._FwType = FwType
|
|
9036
|
+
|
|
9037
|
+
|
|
9038
|
+
def _deserialize(self, params):
|
|
9039
|
+
self._FwType = params.get("FwType")
|
|
9040
|
+
memeber_set = set(params.keys())
|
|
9041
|
+
for name, value in vars(self).items():
|
|
9042
|
+
property_name = name[1:]
|
|
9043
|
+
if property_name in memeber_set:
|
|
9044
|
+
memeber_set.remove(property_name)
|
|
9045
|
+
if len(memeber_set) > 0:
|
|
9046
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9047
|
+
|
|
9048
|
+
|
|
9049
|
+
|
|
9050
|
+
class DescribeAclRegInfoResponse(AbstractModel):
|
|
9051
|
+
r"""DescribeAclRegInfo返回参数结构体
|
|
9052
|
+
|
|
9053
|
+
"""
|
|
9054
|
+
|
|
9055
|
+
def __init__(self):
|
|
9056
|
+
r"""
|
|
9057
|
+
:param _Data: 规则支持的地域列表
|
|
9058
|
+
:type Data: list of AclRegInfo
|
|
9059
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9060
|
+
:type RequestId: str
|
|
9061
|
+
"""
|
|
9062
|
+
self._Data = None
|
|
9063
|
+
self._RequestId = None
|
|
9064
|
+
|
|
9065
|
+
@property
|
|
9066
|
+
def Data(self):
|
|
9067
|
+
r"""规则支持的地域列表
|
|
9068
|
+
:rtype: list of AclRegInfo
|
|
9069
|
+
"""
|
|
9070
|
+
return self._Data
|
|
9071
|
+
|
|
9072
|
+
@Data.setter
|
|
9073
|
+
def Data(self, Data):
|
|
9074
|
+
self._Data = Data
|
|
9075
|
+
|
|
9076
|
+
@property
|
|
9077
|
+
def RequestId(self):
|
|
9078
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9079
|
+
:rtype: str
|
|
9080
|
+
"""
|
|
9081
|
+
return self._RequestId
|
|
9082
|
+
|
|
9083
|
+
@RequestId.setter
|
|
9084
|
+
def RequestId(self, RequestId):
|
|
9085
|
+
self._RequestId = RequestId
|
|
9086
|
+
|
|
9087
|
+
|
|
9088
|
+
def _deserialize(self, params):
|
|
9089
|
+
if params.get("Data") is not None:
|
|
9090
|
+
self._Data = []
|
|
9091
|
+
for item in params.get("Data"):
|
|
9092
|
+
obj = AclRegInfo()
|
|
9093
|
+
obj._deserialize(item)
|
|
9094
|
+
self._Data.append(obj)
|
|
9095
|
+
self._RequestId = params.get("RequestId")
|
|
9096
|
+
|
|
9097
|
+
|
|
8828
9098
|
class DescribeAclRuleRequest(AbstractModel):
|
|
8829
9099
|
r"""DescribeAclRule请求参数结构体
|
|
8830
9100
|
|
|
@@ -26772,14 +27042,14 @@ class ModifyRunSyncAssetRequest(AbstractModel):
|
|
|
26772
27042
|
|
|
26773
27043
|
def __init__(self):
|
|
26774
27044
|
r"""
|
|
26775
|
-
:param _Type: 0: 互联网防火墙开关,1:vpc
|
|
27045
|
+
:param _Type: <p>0: 互联网防火墙开关,1:vpc 防火墙开关</p>
|
|
26776
27046
|
:type Type: int
|
|
26777
27047
|
"""
|
|
26778
27048
|
self._Type = None
|
|
26779
27049
|
|
|
26780
27050
|
@property
|
|
26781
27051
|
def Type(self):
|
|
26782
|
-
r"""0: 互联网防火墙开关,1:vpc
|
|
27052
|
+
r"""<p>0: 互联网防火墙开关,1:vpc 防火墙开关</p>
|
|
26783
27053
|
:rtype: int
|
|
26784
27054
|
"""
|
|
26785
27055
|
return self._Type
|
|
@@ -26808,7 +27078,7 @@ class ModifyRunSyncAssetResponse(AbstractModel):
|
|
|
26808
27078
|
|
|
26809
27079
|
def __init__(self):
|
|
26810
27080
|
r"""
|
|
26811
|
-
:param _Status: 0:同步成功,1:资产更新中,2
|
|
27081
|
+
:param _Status: <p>0:同步成功,1:资产更新中,2:后台同步调用失败</p>
|
|
26812
27082
|
:type Status: int
|
|
26813
27083
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26814
27084
|
:type RequestId: str
|
|
@@ -26818,7 +27088,7 @@ class ModifyRunSyncAssetResponse(AbstractModel):
|
|
|
26818
27088
|
|
|
26819
27089
|
@property
|
|
26820
27090
|
def Status(self):
|
|
26821
|
-
r"""0:同步成功,1:资产更新中,2
|
|
27091
|
+
r"""<p>0:同步成功,1:资产更新中,2:后台同步调用失败</p>
|
|
26822
27092
|
:rtype: int
|
|
26823
27093
|
"""
|
|
26824
27094
|
return self._Status
|
|
@@ -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.138
|
|
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.138
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.138
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.137
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|