tencentcloud-sdk-python-cwp 3.0.1113__tar.gz → 3.0.1115__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-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/setup.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/cwp/v20180228/models.py +75 -2
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-cwp-3.0.1115/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-cwp-3.0.1113/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/README.rst +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/setup.cfg +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/cwp/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/cwp/v20180228/__init__.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/cwp/v20180228/cwp_client.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-cwp-3.0.1113 → tencentcloud-sdk-python-cwp-3.0.1115}/tencentcloud_sdk_python_cwp.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-cwp',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1115"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Cwp SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2889,6 +2889,9 @@ class AssetMachineBaseInfo(AbstractModel):
|
|
|
2889
2889
|
:param _MachineExtraInfo: 附加信息
|
|
2890
2890
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2891
2891
|
:type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
|
|
2892
|
+
:param _CpuLoadNum: cpu负载读数(仅linux系统有效)
|
|
2893
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2894
|
+
:type CpuLoadNum: str
|
|
2892
2895
|
"""
|
|
2893
2896
|
self._Quuid = None
|
|
2894
2897
|
self._Uuid = None
|
|
@@ -2910,6 +2913,7 @@ class AssetMachineBaseInfo(AbstractModel):
|
|
|
2910
2913
|
self._IsNew = None
|
|
2911
2914
|
self._FirstTime = None
|
|
2912
2915
|
self._MachineExtraInfo = None
|
|
2916
|
+
self._CpuLoadNum = None
|
|
2913
2917
|
|
|
2914
2918
|
@property
|
|
2915
2919
|
def Quuid(self):
|
|
@@ -3071,6 +3075,14 @@ class AssetMachineBaseInfo(AbstractModel):
|
|
|
3071
3075
|
def MachineExtraInfo(self, MachineExtraInfo):
|
|
3072
3076
|
self._MachineExtraInfo = MachineExtraInfo
|
|
3073
3077
|
|
|
3078
|
+
@property
|
|
3079
|
+
def CpuLoadNum(self):
|
|
3080
|
+
return self._CpuLoadNum
|
|
3081
|
+
|
|
3082
|
+
@CpuLoadNum.setter
|
|
3083
|
+
def CpuLoadNum(self, CpuLoadNum):
|
|
3084
|
+
self._CpuLoadNum = CpuLoadNum
|
|
3085
|
+
|
|
3074
3086
|
|
|
3075
3087
|
def _deserialize(self, params):
|
|
3076
3088
|
self._Quuid = params.get("Quuid")
|
|
@@ -3100,6 +3112,7 @@ class AssetMachineBaseInfo(AbstractModel):
|
|
|
3100
3112
|
if params.get("MachineExtraInfo") is not None:
|
|
3101
3113
|
self._MachineExtraInfo = MachineExtraInfo()
|
|
3102
3114
|
self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
|
|
3115
|
+
self._CpuLoadNum = params.get("CpuLoadNum")
|
|
3103
3116
|
memeber_set = set(params.keys())
|
|
3104
3117
|
for name, value in vars(self).items():
|
|
3105
3118
|
property_name = name[1:]
|
|
@@ -12352,7 +12365,17 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12352
12365
|
:param _CreateTime: 创建时间
|
|
12353
12366
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12354
12367
|
:type CreateTime: str
|
|
12355
|
-
:param _BanStatus:
|
|
12368
|
+
:param _BanStatus: 0 -不阻断(客户端版本不支持)
|
|
12369
|
+
1 -已阻断
|
|
12370
|
+
2 -阻断失败(程序异常)
|
|
12371
|
+
3 -不阻断(内网不阻断)
|
|
12372
|
+
4 -可用区不支持阻断
|
|
12373
|
+
10-阻断中
|
|
12374
|
+
81-不阻断(未开启阻断)
|
|
12375
|
+
82-不阻断(非专业版)
|
|
12376
|
+
83-不阻断(已加白名单)
|
|
12377
|
+
86-不阻断(系统白名单)
|
|
12378
|
+
87-不阻断(客户端离线)
|
|
12356
12379
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12357
12380
|
:type BanStatus: int
|
|
12358
12381
|
:param _EventType: 事件类型:200-暴力破解事件,300-暴力破解成功事件(页面展示),400-暴力破解不存在的帐号事件
|
|
@@ -12394,6 +12417,12 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12394
12417
|
:param _DataFrom: 事件来源:0--阻断规则,1--威胁情报
|
|
12395
12418
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12396
12419
|
:type DataFrom: int
|
|
12420
|
+
:param _AttackStatusDesc: 破解状态说明
|
|
12421
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12422
|
+
:type AttackStatusDesc: str
|
|
12423
|
+
:param _BanExpiredTime: 阻断过期时间(仅阻断中事件有效)
|
|
12424
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
12425
|
+
:type BanExpiredTime: str
|
|
12397
12426
|
"""
|
|
12398
12427
|
self._Id = None
|
|
12399
12428
|
self._Uuid = None
|
|
@@ -12420,6 +12449,8 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12420
12449
|
self._Location = None
|
|
12421
12450
|
self._RiskLevel = None
|
|
12422
12451
|
self._DataFrom = None
|
|
12452
|
+
self._AttackStatusDesc = None
|
|
12453
|
+
self._BanExpiredTime = None
|
|
12423
12454
|
|
|
12424
12455
|
@property
|
|
12425
12456
|
def Id(self):
|
|
@@ -12621,6 +12652,22 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12621
12652
|
def DataFrom(self, DataFrom):
|
|
12622
12653
|
self._DataFrom = DataFrom
|
|
12623
12654
|
|
|
12655
|
+
@property
|
|
12656
|
+
def AttackStatusDesc(self):
|
|
12657
|
+
return self._AttackStatusDesc
|
|
12658
|
+
|
|
12659
|
+
@AttackStatusDesc.setter
|
|
12660
|
+
def AttackStatusDesc(self, AttackStatusDesc):
|
|
12661
|
+
self._AttackStatusDesc = AttackStatusDesc
|
|
12662
|
+
|
|
12663
|
+
@property
|
|
12664
|
+
def BanExpiredTime(self):
|
|
12665
|
+
return self._BanExpiredTime
|
|
12666
|
+
|
|
12667
|
+
@BanExpiredTime.setter
|
|
12668
|
+
def BanExpiredTime(self, BanExpiredTime):
|
|
12669
|
+
self._BanExpiredTime = BanExpiredTime
|
|
12670
|
+
|
|
12624
12671
|
|
|
12625
12672
|
def _deserialize(self, params):
|
|
12626
12673
|
self._Id = params.get("Id")
|
|
@@ -12650,6 +12697,8 @@ class BruteAttackInfo(AbstractModel):
|
|
|
12650
12697
|
self._Location = params.get("Location")
|
|
12651
12698
|
self._RiskLevel = params.get("RiskLevel")
|
|
12652
12699
|
self._DataFrom = params.get("DataFrom")
|
|
12700
|
+
self._AttackStatusDesc = params.get("AttackStatusDesc")
|
|
12701
|
+
self._BanExpiredTime = params.get("BanExpiredTime")
|
|
12653
12702
|
memeber_set = set(params.keys())
|
|
12654
12703
|
for name, value in vars(self).items():
|
|
12655
12704
|
property_name = name[1:]
|
|
@@ -26937,11 +26986,14 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26937
26986
|
:type Status: int
|
|
26938
26987
|
:param _ShowTips: 是否弹窗提示信息 false: 关闭,true: 开启
|
|
26939
26988
|
:type ShowTips: bool
|
|
26989
|
+
:param _OpenSmartMode: 是否开启智能过白模式
|
|
26990
|
+
:type OpenSmartMode: bool
|
|
26940
26991
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
26941
26992
|
:type RequestId: str
|
|
26942
26993
|
"""
|
|
26943
26994
|
self._Status = None
|
|
26944
26995
|
self._ShowTips = None
|
|
26996
|
+
self._OpenSmartMode = None
|
|
26945
26997
|
self._RequestId = None
|
|
26946
26998
|
|
|
26947
26999
|
@property
|
|
@@ -26960,6 +27012,14 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26960
27012
|
def ShowTips(self, ShowTips):
|
|
26961
27013
|
self._ShowTips = ShowTips
|
|
26962
27014
|
|
|
27015
|
+
@property
|
|
27016
|
+
def OpenSmartMode(self):
|
|
27017
|
+
return self._OpenSmartMode
|
|
27018
|
+
|
|
27019
|
+
@OpenSmartMode.setter
|
|
27020
|
+
def OpenSmartMode(self, OpenSmartMode):
|
|
27021
|
+
self._OpenSmartMode = OpenSmartMode
|
|
27022
|
+
|
|
26963
27023
|
@property
|
|
26964
27024
|
def RequestId(self):
|
|
26965
27025
|
return self._RequestId
|
|
@@ -26972,6 +27032,7 @@ class DescribeBanStatusResponse(AbstractModel):
|
|
|
26972
27032
|
def _deserialize(self, params):
|
|
26973
27033
|
self._Status = params.get("Status")
|
|
26974
27034
|
self._ShowTips = params.get("ShowTips")
|
|
27035
|
+
self._OpenSmartMode = params.get("OpenSmartMode")
|
|
26975
27036
|
self._RequestId = params.get("RequestId")
|
|
26976
27037
|
|
|
26977
27038
|
|
|
@@ -68618,10 +68679,13 @@ class ModifyBanStatusRequest(AbstractModel):
|
|
|
68618
68679
|
|
|
68619
68680
|
def __init__(self):
|
|
68620
68681
|
r"""
|
|
68621
|
-
:param _Status:
|
|
68682
|
+
:param _Status: 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)
|
|
68622
68683
|
:type Status: int
|
|
68684
|
+
:param _OpenSmartMode: 是否开启智能过白模式
|
|
68685
|
+
:type OpenSmartMode: bool
|
|
68623
68686
|
"""
|
|
68624
68687
|
self._Status = None
|
|
68688
|
+
self._OpenSmartMode = None
|
|
68625
68689
|
|
|
68626
68690
|
@property
|
|
68627
68691
|
def Status(self):
|
|
@@ -68631,9 +68695,18 @@ class ModifyBanStatusRequest(AbstractModel):
|
|
|
68631
68695
|
def Status(self, Status):
|
|
68632
68696
|
self._Status = Status
|
|
68633
68697
|
|
|
68698
|
+
@property
|
|
68699
|
+
def OpenSmartMode(self):
|
|
68700
|
+
return self._OpenSmartMode
|
|
68701
|
+
|
|
68702
|
+
@OpenSmartMode.setter
|
|
68703
|
+
def OpenSmartMode(self, OpenSmartMode):
|
|
68704
|
+
self._OpenSmartMode = OpenSmartMode
|
|
68705
|
+
|
|
68634
68706
|
|
|
68635
68707
|
def _deserialize(self, params):
|
|
68636
68708
|
self._Status = params.get("Status")
|
|
68709
|
+
self._OpenSmartMode = params.get("OpenSmartMode")
|
|
68637
68710
|
memeber_set = set(params.keys())
|
|
68638
68711
|
for name, value in vars(self).items():
|
|
68639
68712
|
property_name = name[1:]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1115
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1113
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|