tencentcloud-sdk-python-cfw 3.0.1362__tar.gz → 3.0.1363__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.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/setup.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/cfw/v20190904/models.py +115 -12
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cfw-3.0.1363/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cfw-3.0.1362/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/README.rst +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/cfw/v20190904/cfw_client.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cfw-3.0.1362 → tencentcloud-sdk-python-cfw-3.0.1363}/tencentcloud_sdk_python_cfw.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-cfw',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1363"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cfw SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1743,22 +1743,17 @@ class CfwInsStatus(AbstractModel):
|
|
|
1743
1743
|
:param _FwType: 防火墙类型,nat:nat防火墙;ew:vpc间防火墙
|
|
1744
1744
|
:type FwType: str
|
|
1745
1745
|
:param _Region: 实例所属地域
|
|
1746
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1747
1746
|
:type Region: str
|
|
1748
1747
|
:param _Status: 实例运行状态,Running:正常运行;BypassAutoFix:bypass修复;Updating:升级中;Expand:扩容中;BypassManual:手动触发bypass中;BypassAuto:自动触发bypass中
|
|
1749
1748
|
:type Status: str
|
|
1750
1749
|
:param _EventTime: 事件时间
|
|
1751
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1752
1750
|
:type EventTime: str
|
|
1753
1751
|
:param _RecoverTime: 恢复时间
|
|
1754
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1755
1752
|
:type RecoverTime: str
|
|
1756
1753
|
:param _CfwInsName: 实例名称
|
|
1757
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1758
1754
|
:type CfwInsName: str
|
|
1759
1755
|
:param _TrafficMode: Normal: 正常模式
|
|
1760
1756
|
OnlyRoute: 透明模式
|
|
1761
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1762
1757
|
:type TrafficMode: str
|
|
1763
1758
|
"""
|
|
1764
1759
|
self._CfwInsId = None
|
|
@@ -1795,7 +1790,6 @@ OnlyRoute: 透明模式
|
|
|
1795
1790
|
@property
|
|
1796
1791
|
def Region(self):
|
|
1797
1792
|
"""实例所属地域
|
|
1798
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1799
1793
|
:rtype: str
|
|
1800
1794
|
"""
|
|
1801
1795
|
return self._Region
|
|
@@ -1818,7 +1812,6 @@ OnlyRoute: 透明模式
|
|
|
1818
1812
|
@property
|
|
1819
1813
|
def EventTime(self):
|
|
1820
1814
|
"""事件时间
|
|
1821
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1822
1815
|
:rtype: str
|
|
1823
1816
|
"""
|
|
1824
1817
|
return self._EventTime
|
|
@@ -1830,7 +1823,6 @@ OnlyRoute: 透明模式
|
|
|
1830
1823
|
@property
|
|
1831
1824
|
def RecoverTime(self):
|
|
1832
1825
|
"""恢复时间
|
|
1833
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1834
1826
|
:rtype: str
|
|
1835
1827
|
"""
|
|
1836
1828
|
return self._RecoverTime
|
|
@@ -1842,7 +1834,6 @@ OnlyRoute: 透明模式
|
|
|
1842
1834
|
@property
|
|
1843
1835
|
def CfwInsName(self):
|
|
1844
1836
|
"""实例名称
|
|
1845
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1846
1837
|
:rtype: str
|
|
1847
1838
|
"""
|
|
1848
1839
|
return self._CfwInsName
|
|
@@ -1855,7 +1846,6 @@ OnlyRoute: 透明模式
|
|
|
1855
1846
|
def TrafficMode(self):
|
|
1856
1847
|
"""Normal: 正常模式
|
|
1857
1848
|
OnlyRoute: 透明模式
|
|
1858
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1859
1849
|
:rtype: str
|
|
1860
1850
|
"""
|
|
1861
1851
|
return self._TrafficMode
|
|
@@ -6418,6 +6408,10 @@ class DescAcItem(AbstractModel):
|
|
|
6418
6408
|
:type TargetName: str
|
|
6419
6409
|
:param _LastHitTime: 规则最近命中时间
|
|
6420
6410
|
:type LastHitTime: str
|
|
6411
|
+
:param _CountryKey: 地区简称
|
|
6412
|
+
:type CountryKey: str
|
|
6413
|
+
:param _CityKey: 省份、城市简称
|
|
6414
|
+
:type CityKey: str
|
|
6421
6415
|
"""
|
|
6422
6416
|
self._SourceContent = None
|
|
6423
6417
|
self._TargetContent = None
|
|
@@ -6452,6 +6446,8 @@ class DescAcItem(AbstractModel):
|
|
|
6452
6446
|
self._SourceName = None
|
|
6453
6447
|
self._TargetName = None
|
|
6454
6448
|
self._LastHitTime = None
|
|
6449
|
+
self._CountryKey = None
|
|
6450
|
+
self._CityKey = None
|
|
6455
6451
|
|
|
6456
6452
|
@property
|
|
6457
6453
|
def SourceContent(self):
|
|
@@ -6817,6 +6813,28 @@ class DescAcItem(AbstractModel):
|
|
|
6817
6813
|
def LastHitTime(self, LastHitTime):
|
|
6818
6814
|
self._LastHitTime = LastHitTime
|
|
6819
6815
|
|
|
6816
|
+
@property
|
|
6817
|
+
def CountryKey(self):
|
|
6818
|
+
"""地区简称
|
|
6819
|
+
:rtype: str
|
|
6820
|
+
"""
|
|
6821
|
+
return self._CountryKey
|
|
6822
|
+
|
|
6823
|
+
@CountryKey.setter
|
|
6824
|
+
def CountryKey(self, CountryKey):
|
|
6825
|
+
self._CountryKey = CountryKey
|
|
6826
|
+
|
|
6827
|
+
@property
|
|
6828
|
+
def CityKey(self):
|
|
6829
|
+
"""省份、城市简称
|
|
6830
|
+
:rtype: str
|
|
6831
|
+
"""
|
|
6832
|
+
return self._CityKey
|
|
6833
|
+
|
|
6834
|
+
@CityKey.setter
|
|
6835
|
+
def CityKey(self, CityKey):
|
|
6836
|
+
self._CityKey = CityKey
|
|
6837
|
+
|
|
6820
6838
|
|
|
6821
6839
|
def _deserialize(self, params):
|
|
6822
6840
|
self._SourceContent = params.get("SourceContent")
|
|
@@ -6857,6 +6875,8 @@ class DescAcItem(AbstractModel):
|
|
|
6857
6875
|
self._SourceName = params.get("SourceName")
|
|
6858
6876
|
self._TargetName = params.get("TargetName")
|
|
6859
6877
|
self._LastHitTime = params.get("LastHitTime")
|
|
6878
|
+
self._CountryKey = params.get("CountryKey")
|
|
6879
|
+
self._CityKey = params.get("CityKey")
|
|
6860
6880
|
memeber_set = set(params.keys())
|
|
6861
6881
|
for name, value in vars(self).items():
|
|
6862
6882
|
property_name = name[1:]
|
|
@@ -9805,6 +9825,8 @@ class DescribeFwEdgeIpsResponse(AbstractModel):
|
|
|
9805
9825
|
:type RegionLst: list of str
|
|
9806
9826
|
:param _InstanceTypeLst: 实例类型列表
|
|
9807
9827
|
:type InstanceTypeLst: list of str
|
|
9828
|
+
:param _SerilCount: 串行模式开关个数
|
|
9829
|
+
:type SerilCount: int
|
|
9808
9830
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9809
9831
|
:type RequestId: str
|
|
9810
9832
|
"""
|
|
@@ -9812,6 +9834,7 @@ class DescribeFwEdgeIpsResponse(AbstractModel):
|
|
|
9812
9834
|
self._Total = None
|
|
9813
9835
|
self._RegionLst = None
|
|
9814
9836
|
self._InstanceTypeLst = None
|
|
9837
|
+
self._SerilCount = None
|
|
9815
9838
|
self._RequestId = None
|
|
9816
9839
|
|
|
9817
9840
|
@property
|
|
@@ -9858,6 +9881,17 @@ class DescribeFwEdgeIpsResponse(AbstractModel):
|
|
|
9858
9881
|
def InstanceTypeLst(self, InstanceTypeLst):
|
|
9859
9882
|
self._InstanceTypeLst = InstanceTypeLst
|
|
9860
9883
|
|
|
9884
|
+
@property
|
|
9885
|
+
def SerilCount(self):
|
|
9886
|
+
"""串行模式开关个数
|
|
9887
|
+
:rtype: int
|
|
9888
|
+
"""
|
|
9889
|
+
return self._SerilCount
|
|
9890
|
+
|
|
9891
|
+
@SerilCount.setter
|
|
9892
|
+
def SerilCount(self, SerilCount):
|
|
9893
|
+
self._SerilCount = SerilCount
|
|
9894
|
+
|
|
9861
9895
|
@property
|
|
9862
9896
|
def RequestId(self):
|
|
9863
9897
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -9880,6 +9914,7 @@ class DescribeFwEdgeIpsResponse(AbstractModel):
|
|
|
9880
9914
|
self._Total = params.get("Total")
|
|
9881
9915
|
self._RegionLst = params.get("RegionLst")
|
|
9882
9916
|
self._InstanceTypeLst = params.get("InstanceTypeLst")
|
|
9917
|
+
self._SerilCount = params.get("SerilCount")
|
|
9883
9918
|
self._RequestId = params.get("RequestId")
|
|
9884
9919
|
|
|
9885
9920
|
|
|
@@ -14381,6 +14416,8 @@ ANY:表示所有
|
|
|
14381
14416
|
:type BetaList: list of EnterpriseSecurityGroupRuleBetaInfo
|
|
14382
14417
|
:param _Id: 规则id 等同RuleUuid
|
|
14383
14418
|
:type Id: int
|
|
14419
|
+
:param _DnsParseCount: 域名解析的IP统计
|
|
14420
|
+
:type DnsParseCount: :class:`tencentcloud.cfw.v20190904.models.SgDnsParseCount`
|
|
14384
14421
|
"""
|
|
14385
14422
|
self._OrderIndex = None
|
|
14386
14423
|
self._RuleUuid = None
|
|
@@ -14412,6 +14449,7 @@ ANY:表示所有
|
|
|
14412
14449
|
self._ProtocolPortName = None
|
|
14413
14450
|
self._BetaList = None
|
|
14414
14451
|
self._Id = None
|
|
14452
|
+
self._DnsParseCount = None
|
|
14415
14453
|
|
|
14416
14454
|
@property
|
|
14417
14455
|
def OrderIndex(self):
|
|
@@ -14781,6 +14819,17 @@ ANY:表示所有
|
|
|
14781
14819
|
def Id(self, Id):
|
|
14782
14820
|
self._Id = Id
|
|
14783
14821
|
|
|
14822
|
+
@property
|
|
14823
|
+
def DnsParseCount(self):
|
|
14824
|
+
"""域名解析的IP统计
|
|
14825
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.SgDnsParseCount`
|
|
14826
|
+
"""
|
|
14827
|
+
return self._DnsParseCount
|
|
14828
|
+
|
|
14829
|
+
@DnsParseCount.setter
|
|
14830
|
+
def DnsParseCount(self, DnsParseCount):
|
|
14831
|
+
self._DnsParseCount = DnsParseCount
|
|
14832
|
+
|
|
14784
14833
|
|
|
14785
14834
|
def _deserialize(self, params):
|
|
14786
14835
|
self._OrderIndex = params.get("OrderIndex")
|
|
@@ -14818,6 +14867,9 @@ ANY:表示所有
|
|
|
14818
14867
|
obj._deserialize(item)
|
|
14819
14868
|
self._BetaList.append(obj)
|
|
14820
14869
|
self._Id = params.get("Id")
|
|
14870
|
+
if params.get("DnsParseCount") is not None:
|
|
14871
|
+
self._DnsParseCount = SgDnsParseCount()
|
|
14872
|
+
self._DnsParseCount._deserialize(params.get("DnsParseCount"))
|
|
14821
14873
|
memeber_set = set(params.keys())
|
|
14822
14874
|
for name, value in vars(self).items():
|
|
14823
14875
|
property_name = name[1:]
|
|
@@ -22803,7 +22855,7 @@ region:地域(ap-gaungzhou)
|
|
|
22803
22855
|
accept:放行
|
|
22804
22856
|
drop:拒绝
|
|
22805
22857
|
:type RuleAction: str
|
|
22806
|
-
:param _Description:
|
|
22858
|
+
:param _Description: 规则描述 用于规则使用或者场景的描述,最多支持50个字符
|
|
22807
22859
|
:type Description: str
|
|
22808
22860
|
:param _OrderIndex: 规则顺序,-1表示最低,1表示最高,请勿和外层Type冲突(和外层的Type配合使用,当中间插入时,指定添加位置)
|
|
22809
22861
|
:type OrderIndex: str
|
|
@@ -22908,7 +22960,7 @@ drop:拒绝
|
|
|
22908
22960
|
|
|
22909
22961
|
@property
|
|
22910
22962
|
def Description(self):
|
|
22911
|
-
"""
|
|
22963
|
+
"""规则描述 用于规则使用或者场景的描述,最多支持50个字符
|
|
22912
22964
|
:rtype: str
|
|
22913
22965
|
"""
|
|
22914
22966
|
return self._Description
|
|
@@ -23465,6 +23517,57 @@ class SetNatFwEipResponse(AbstractModel):
|
|
|
23465
23517
|
self._RequestId = params.get("RequestId")
|
|
23466
23518
|
|
|
23467
23519
|
|
|
23520
|
+
class SgDnsParseCount(AbstractModel):
|
|
23521
|
+
"""企业安全组域名解析的IP统计
|
|
23522
|
+
|
|
23523
|
+
"""
|
|
23524
|
+
|
|
23525
|
+
def __init__(self):
|
|
23526
|
+
r"""
|
|
23527
|
+
:param _ValidCount: 有效下发的IP个数,离散数据
|
|
23528
|
+
:type ValidCount: int
|
|
23529
|
+
:param _InvalidCount: 未下发的IP个数,离散数据
|
|
23530
|
+
:type InvalidCount: int
|
|
23531
|
+
"""
|
|
23532
|
+
self._ValidCount = None
|
|
23533
|
+
self._InvalidCount = None
|
|
23534
|
+
|
|
23535
|
+
@property
|
|
23536
|
+
def ValidCount(self):
|
|
23537
|
+
"""有效下发的IP个数,离散数据
|
|
23538
|
+
:rtype: int
|
|
23539
|
+
"""
|
|
23540
|
+
return self._ValidCount
|
|
23541
|
+
|
|
23542
|
+
@ValidCount.setter
|
|
23543
|
+
def ValidCount(self, ValidCount):
|
|
23544
|
+
self._ValidCount = ValidCount
|
|
23545
|
+
|
|
23546
|
+
@property
|
|
23547
|
+
def InvalidCount(self):
|
|
23548
|
+
"""未下发的IP个数,离散数据
|
|
23549
|
+
:rtype: int
|
|
23550
|
+
"""
|
|
23551
|
+
return self._InvalidCount
|
|
23552
|
+
|
|
23553
|
+
@InvalidCount.setter
|
|
23554
|
+
def InvalidCount(self, InvalidCount):
|
|
23555
|
+
self._InvalidCount = InvalidCount
|
|
23556
|
+
|
|
23557
|
+
|
|
23558
|
+
def _deserialize(self, params):
|
|
23559
|
+
self._ValidCount = params.get("ValidCount")
|
|
23560
|
+
self._InvalidCount = params.get("InvalidCount")
|
|
23561
|
+
memeber_set = set(params.keys())
|
|
23562
|
+
for name, value in vars(self).items():
|
|
23563
|
+
property_name = name[1:]
|
|
23564
|
+
if property_name in memeber_set:
|
|
23565
|
+
memeber_set.remove(property_name)
|
|
23566
|
+
if len(memeber_set) > 0:
|
|
23567
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23568
|
+
|
|
23569
|
+
|
|
23570
|
+
|
|
23468
23571
|
class StaticInfo(AbstractModel):
|
|
23469
23572
|
"""StaticInfo 告警柱形图统计信息
|
|
23470
23573
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1363
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1362
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|