tencentcloud-sdk-python-cfw 3.1.201__tar.gz → 3.1.216__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.201 → tencentcloud_sdk_python_cfw-3.1.216}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/v20190904/models.py +96 -74
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.216/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.201/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/v20190904/cfw_client.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/v20190904/cfw_client_async.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.201 → tencentcloud_sdk_python_cfw-3.1.216}/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.216
|
|
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.216
|
|
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.216,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -806,19 +806,19 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
806
806
|
|
|
807
807
|
def __init__(self):
|
|
808
808
|
r"""
|
|
809
|
-
:param _Data:
|
|
809
|
+
:param _Data: <p>创建规则数据</p>
|
|
810
810
|
:type Data: list of SecurityGroupRule
|
|
811
811
|
:param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
|
|
812
812
|
:type CfwAiAgentOperationSource: str
|
|
813
|
-
:param _ClientToken:
|
|
813
|
+
:param _ClientToken: <p>保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。</p>
|
|
814
814
|
:type ClientToken: str
|
|
815
|
-
:param _From:
|
|
815
|
+
:param _From: <p>来源 默认空 覆盖导入是 batch_import_cover</p>
|
|
816
816
|
:type From: str
|
|
817
|
-
:param _IsDelay:
|
|
817
|
+
:param _IsDelay: <p>(IsDelay为老版参数,新版无需输入)是否延迟下发,1则延迟下发,否则立即下发</p>
|
|
818
818
|
:type IsDelay: int
|
|
819
|
-
:param _IsUseId:
|
|
819
|
+
:param _IsUseId: <p>是否复用rule id,1为是,默认不需要</p>
|
|
820
820
|
:type IsUseId: int
|
|
821
|
-
:param _Type:
|
|
821
|
+
:param _Type: <p>添加类型,0:添加到最后,1:添加到最前;2:中间插入;默认0添加到最后</p>
|
|
822
822
|
:type Type: int
|
|
823
823
|
"""
|
|
824
824
|
self._Data = None
|
|
@@ -831,7 +831,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
831
831
|
|
|
832
832
|
@property
|
|
833
833
|
def Data(self):
|
|
834
|
-
r"""
|
|
834
|
+
r"""<p>创建规则数据</p>
|
|
835
835
|
:rtype: list of SecurityGroupRule
|
|
836
836
|
"""
|
|
837
837
|
return self._Data
|
|
@@ -853,7 +853,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
853
853
|
|
|
854
854
|
@property
|
|
855
855
|
def ClientToken(self):
|
|
856
|
-
r"""
|
|
856
|
+
r"""<p>保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。</p>
|
|
857
857
|
:rtype: str
|
|
858
858
|
"""
|
|
859
859
|
return self._ClientToken
|
|
@@ -864,7 +864,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
864
864
|
|
|
865
865
|
@property
|
|
866
866
|
def From(self):
|
|
867
|
-
r"""
|
|
867
|
+
r"""<p>来源 默认空 覆盖导入是 batch_import_cover</p>
|
|
868
868
|
:rtype: str
|
|
869
869
|
"""
|
|
870
870
|
return self._From
|
|
@@ -875,7 +875,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
875
875
|
|
|
876
876
|
@property
|
|
877
877
|
def IsDelay(self):
|
|
878
|
-
r"""
|
|
878
|
+
r"""<p>(IsDelay为老版参数,新版无需输入)是否延迟下发,1则延迟下发,否则立即下发</p>
|
|
879
879
|
:rtype: int
|
|
880
880
|
"""
|
|
881
881
|
return self._IsDelay
|
|
@@ -886,7 +886,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
886
886
|
|
|
887
887
|
@property
|
|
888
888
|
def IsUseId(self):
|
|
889
|
-
r"""
|
|
889
|
+
r"""<p>是否复用rule id,1为是,默认不需要</p>
|
|
890
890
|
:rtype: int
|
|
891
891
|
"""
|
|
892
892
|
return self._IsUseId
|
|
@@ -897,7 +897,7 @@ class AddEnterpriseSecurityGroupRulesRequest(AbstractModel):
|
|
|
897
897
|
|
|
898
898
|
@property
|
|
899
899
|
def Type(self):
|
|
900
|
-
r"""
|
|
900
|
+
r"""<p>添加类型,0:添加到最后,1:添加到最前;2:中间插入;默认0添加到最后</p>
|
|
901
901
|
:rtype: int
|
|
902
902
|
"""
|
|
903
903
|
return self._Type
|
|
@@ -937,9 +937,9 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
|
|
|
937
937
|
|
|
938
938
|
def __init__(self):
|
|
939
939
|
r"""
|
|
940
|
-
:param _Rules:
|
|
940
|
+
:param _Rules: <p>添加成功的规则详情</p>
|
|
941
941
|
:type Rules: list of SecurityGroupSimplifyRule
|
|
942
|
-
:param _Status:
|
|
942
|
+
:param _Status: <p>状态值,0:添加成功,非0:添加失败</p>
|
|
943
943
|
:type Status: int
|
|
944
944
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
945
945
|
:type RequestId: str
|
|
@@ -950,7 +950,7 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
|
|
|
950
950
|
|
|
951
951
|
@property
|
|
952
952
|
def Rules(self):
|
|
953
|
-
r"""
|
|
953
|
+
r"""<p>添加成功的规则详情</p>
|
|
954
954
|
:rtype: list of SecurityGroupSimplifyRule
|
|
955
955
|
"""
|
|
956
956
|
return self._Rules
|
|
@@ -961,7 +961,7 @@ class AddEnterpriseSecurityGroupRulesResponse(AbstractModel):
|
|
|
961
961
|
|
|
962
962
|
@property
|
|
963
963
|
def Status(self):
|
|
964
|
-
r"""
|
|
964
|
+
r"""<p>状态值,0:添加成功,非0:添加失败</p>
|
|
965
965
|
:rtype: int
|
|
966
966
|
"""
|
|
967
967
|
return self._Status
|
|
@@ -5129,36 +5129,38 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5129
5129
|
|
|
5130
5130
|
def __init__(self):
|
|
5131
5131
|
r"""
|
|
5132
|
-
:param _AlertDirection: <p
|
|
5132
|
+
:param _AlertDirection: <p>当前日志方向: 0 出向 1 入向</p>
|
|
5133
5133
|
:type AlertDirection: int
|
|
5134
|
-
:param _HandleDirection: <p
|
|
5134
|
+
:param _HandleDirection: <p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
|
|
5135
5135
|
:type HandleDirection: str
|
|
5136
|
-
:param _HandleTime: <p
|
|
5136
|
+
:param _HandleTime: <p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
|
|
5137
5137
|
:type HandleTime: int
|
|
5138
|
-
:param _HandleType: <p
|
|
5138
|
+
:param _HandleType: <p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
|
|
5139
5139
|
:type HandleType: int
|
|
5140
|
-
:param _AssetIdList: <p
|
|
5140
|
+
:param _AssetIdList: <p>隔离资产列表</p>
|
|
5141
5141
|
:type AssetIdList: list of str
|
|
5142
|
-
:param _BlockDomain: <p
|
|
5142
|
+
:param _BlockDomain: <p>封禁域名-保留字段</p>
|
|
5143
5143
|
:type BlockDomain: str
|
|
5144
5144
|
:param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
|
|
5145
5145
|
:type CfwAiAgentOperationSource: str
|
|
5146
|
-
:param _HandleComment: <p
|
|
5146
|
+
:param _HandleComment: <p>处置描述</p>
|
|
5147
5147
|
:type HandleComment: str
|
|
5148
|
-
:param _HandleEventIdList: <p
|
|
5148
|
+
:param _HandleEventIdList: <p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5149
5149
|
:type HandleEventIdList: list of str
|
|
5150
|
-
:param _HandleIdList: <p
|
|
5150
|
+
:param _HandleIdList: <p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5151
5151
|
:type HandleIdList: list of str
|
|
5152
|
-
:param _HandleIpList: <p
|
|
5152
|
+
:param _HandleIpList: <p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
|
|
5153
5153
|
:type HandleIpList: list of str
|
|
5154
|
-
:param _IgnoreReason: <p
|
|
5154
|
+
:param _IgnoreReason: <p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
|
|
5155
5155
|
:type IgnoreReason: int
|
|
5156
|
-
:param _IsolateType: <p
|
|
5156
|
+
:param _IsolateType: <p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
|
|
5157
5157
|
:type IsolateType: list of int
|
|
5158
|
-
:param _TargetEventIdList: <p
|
|
5158
|
+
:param _TargetEventIdList: <p>处置HandleIpList,属于的告警事件ID</p>
|
|
5159
5159
|
:type TargetEventIdList: list of str
|
|
5160
|
-
:param _WhiteIpList: <p
|
|
5160
|
+
:param _WhiteIpList: <p>加白IP列表 隔离时放通的ip列表</p>
|
|
5161
5161
|
:type WhiteIpList: list of str
|
|
5162
|
+
:param _ExcludeIdList: <p>排除列表</p>
|
|
5163
|
+
:type ExcludeIdList: list of str
|
|
5162
5164
|
"""
|
|
5163
5165
|
self._AlertDirection = None
|
|
5164
5166
|
self._HandleDirection = None
|
|
@@ -5175,10 +5177,11 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5175
5177
|
self._IsolateType = None
|
|
5176
5178
|
self._TargetEventIdList = None
|
|
5177
5179
|
self._WhiteIpList = None
|
|
5180
|
+
self._ExcludeIdList = None
|
|
5178
5181
|
|
|
5179
5182
|
@property
|
|
5180
5183
|
def AlertDirection(self):
|
|
5181
|
-
r"""<p
|
|
5184
|
+
r"""<p>当前日志方向: 0 出向 1 入向</p>
|
|
5182
5185
|
:rtype: int
|
|
5183
5186
|
"""
|
|
5184
5187
|
return self._AlertDirection
|
|
@@ -5189,7 +5192,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5189
5192
|
|
|
5190
5193
|
@property
|
|
5191
5194
|
def HandleDirection(self):
|
|
5192
|
-
r"""<p
|
|
5195
|
+
r"""<p>处置方向: 0出向 1入向 0,1出入向 3内网</p>
|
|
5193
5196
|
:rtype: str
|
|
5194
5197
|
"""
|
|
5195
5198
|
return self._HandleDirection
|
|
@@ -5200,7 +5203,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5200
5203
|
|
|
5201
5204
|
@property
|
|
5202
5205
|
def HandleTime(self):
|
|
5203
|
-
r"""<p
|
|
5206
|
+
r"""<p>处置时间<br>1 1天<br>7 7天<br>-2 永久</p>
|
|
5204
5207
|
:rtype: int
|
|
5205
5208
|
"""
|
|
5206
5209
|
return self._HandleTime
|
|
@@ -5211,7 +5214,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5211
5214
|
|
|
5212
5215
|
@property
|
|
5213
5216
|
def HandleType(self):
|
|
5214
|
-
r"""<p
|
|
5217
|
+
r"""<p>处置类型<br>当HandleIdList 不为空时:1封禁 2放通<br>当HandleIpList 不为空时:3放通 4封禁</p>
|
|
5215
5218
|
:rtype: int
|
|
5216
5219
|
"""
|
|
5217
5220
|
return self._HandleType
|
|
@@ -5222,7 +5225,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5222
5225
|
|
|
5223
5226
|
@property
|
|
5224
5227
|
def AssetIdList(self):
|
|
5225
|
-
r"""<p
|
|
5228
|
+
r"""<p>隔离资产列表</p>
|
|
5226
5229
|
:rtype: list of str
|
|
5227
5230
|
"""
|
|
5228
5231
|
return self._AssetIdList
|
|
@@ -5233,7 +5236,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5233
5236
|
|
|
5234
5237
|
@property
|
|
5235
5238
|
def BlockDomain(self):
|
|
5236
|
-
r"""<p
|
|
5239
|
+
r"""<p>封禁域名-保留字段</p>
|
|
5237
5240
|
:rtype: str
|
|
5238
5241
|
"""
|
|
5239
5242
|
return self._BlockDomain
|
|
@@ -5255,7 +5258,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5255
5258
|
|
|
5256
5259
|
@property
|
|
5257
5260
|
def HandleComment(self):
|
|
5258
|
-
r"""<p
|
|
5261
|
+
r"""<p>处置描述</p>
|
|
5259
5262
|
:rtype: str
|
|
5260
5263
|
"""
|
|
5261
5264
|
return self._HandleComment
|
|
@@ -5266,7 +5269,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5266
5269
|
|
|
5267
5270
|
@property
|
|
5268
5271
|
def HandleEventIdList(self):
|
|
5269
|
-
r"""<p
|
|
5272
|
+
r"""<p>处置对象,事件ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5270
5273
|
:rtype: list of str
|
|
5271
5274
|
"""
|
|
5272
5275
|
return self._HandleEventIdList
|
|
@@ -5277,7 +5280,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5277
5280
|
|
|
5278
5281
|
@property
|
|
5279
5282
|
def HandleIdList(self):
|
|
5280
|
-
r"""<p
|
|
5283
|
+
r"""<p>处置对象,ID列表, IdLists,IpList,EventIdList三选一</p>
|
|
5281
5284
|
:rtype: list of str
|
|
5282
5285
|
"""
|
|
5283
5286
|
return self._HandleIdList
|
|
@@ -5288,7 +5291,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5288
5291
|
|
|
5289
5292
|
@property
|
|
5290
5293
|
def HandleIpList(self):
|
|
5291
|
-
r"""<p
|
|
5294
|
+
r"""<p>处置对象,IP列表, IdLists,IpList,EventIdList三选一</p>
|
|
5292
5295
|
:rtype: list of str
|
|
5293
5296
|
"""
|
|
5294
5297
|
return self._HandleIpList
|
|
@@ -5299,7 +5302,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5299
5302
|
|
|
5300
5303
|
@property
|
|
5301
5304
|
def IgnoreReason(self):
|
|
5302
|
-
r"""<p
|
|
5305
|
+
r"""<p>放通原因:<br>0默认 1重复 2误报 3紧急放通</p>
|
|
5303
5306
|
:rtype: int
|
|
5304
5307
|
"""
|
|
5305
5308
|
return self._IgnoreReason
|
|
@@ -5310,7 +5313,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5310
5313
|
|
|
5311
5314
|
@property
|
|
5312
5315
|
def IsolateType(self):
|
|
5313
|
-
r"""<p
|
|
5316
|
+
r"""<p>隔离类型 1 互联网入站 2 互联网出站 4 内网访问</p>
|
|
5314
5317
|
:rtype: list of int
|
|
5315
5318
|
"""
|
|
5316
5319
|
return self._IsolateType
|
|
@@ -5321,7 +5324,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5321
5324
|
|
|
5322
5325
|
@property
|
|
5323
5326
|
def TargetEventIdList(self):
|
|
5324
|
-
r"""<p
|
|
5327
|
+
r"""<p>处置HandleIpList,属于的告警事件ID</p>
|
|
5325
5328
|
:rtype: list of str
|
|
5326
5329
|
"""
|
|
5327
5330
|
return self._TargetEventIdList
|
|
@@ -5332,7 +5335,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5332
5335
|
|
|
5333
5336
|
@property
|
|
5334
5337
|
def WhiteIpList(self):
|
|
5335
|
-
r"""<p
|
|
5338
|
+
r"""<p>加白IP列表 隔离时放通的ip列表</p>
|
|
5336
5339
|
:rtype: list of str
|
|
5337
5340
|
"""
|
|
5338
5341
|
return self._WhiteIpList
|
|
@@ -5341,6 +5344,17 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5341
5344
|
def WhiteIpList(self, WhiteIpList):
|
|
5342
5345
|
self._WhiteIpList = WhiteIpList
|
|
5343
5346
|
|
|
5347
|
+
@property
|
|
5348
|
+
def ExcludeIdList(self):
|
|
5349
|
+
r"""<p>排除列表</p>
|
|
5350
|
+
:rtype: list of str
|
|
5351
|
+
"""
|
|
5352
|
+
return self._ExcludeIdList
|
|
5353
|
+
|
|
5354
|
+
@ExcludeIdList.setter
|
|
5355
|
+
def ExcludeIdList(self, ExcludeIdList):
|
|
5356
|
+
self._ExcludeIdList = ExcludeIdList
|
|
5357
|
+
|
|
5344
5358
|
|
|
5345
5359
|
def _deserialize(self, params):
|
|
5346
5360
|
self._AlertDirection = params.get("AlertDirection")
|
|
@@ -5358,6 +5372,7 @@ class CreateAlertCenterRuleAsyncRequest(AbstractModel):
|
|
|
5358
5372
|
self._IsolateType = params.get("IsolateType")
|
|
5359
5373
|
self._TargetEventIdList = params.get("TargetEventIdList")
|
|
5360
5374
|
self._WhiteIpList = params.get("WhiteIpList")
|
|
5375
|
+
self._ExcludeIdList = params.get("ExcludeIdList")
|
|
5361
5376
|
memeber_set = set(params.keys())
|
|
5362
5377
|
for name, value in vars(self).items():
|
|
5363
5378
|
property_name = name[1:]
|
|
@@ -5375,11 +5390,11 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5375
5390
|
|
|
5376
5391
|
def __init__(self):
|
|
5377
5392
|
r"""
|
|
5378
|
-
:param _ReturnCode:
|
|
5393
|
+
:param _ReturnCode: <p>返回状态码:<br>0 成功<br>非0 失败</p>
|
|
5379
5394
|
:type ReturnCode: int
|
|
5380
|
-
:param _ReturnMsg:
|
|
5395
|
+
:param _ReturnMsg: <p>返回信息:<br>success 成功<br>其他</p>
|
|
5381
5396
|
:type ReturnMsg: str
|
|
5382
|
-
:param _Status:
|
|
5397
|
+
:param _Status: <p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
|
|
5383
5398
|
:type Status: int
|
|
5384
5399
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5385
5400
|
:type RequestId: str
|
|
@@ -5391,7 +5406,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5391
5406
|
|
|
5392
5407
|
@property
|
|
5393
5408
|
def ReturnCode(self):
|
|
5394
|
-
r"""
|
|
5409
|
+
r"""<p>返回状态码:<br>0 成功<br>非0 失败</p>
|
|
5395
5410
|
:rtype: int
|
|
5396
5411
|
"""
|
|
5397
5412
|
return self._ReturnCode
|
|
@@ -5402,7 +5417,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5402
5417
|
|
|
5403
5418
|
@property
|
|
5404
5419
|
def ReturnMsg(self):
|
|
5405
|
-
r"""
|
|
5420
|
+
r"""<p>返回信息:<br>success 成功<br>其他</p>
|
|
5406
5421
|
:rtype: str
|
|
5407
5422
|
"""
|
|
5408
5423
|
return self._ReturnMsg
|
|
@@ -5413,7 +5428,7 @@ class CreateAlertCenterRuleAsyncResponse(AbstractModel):
|
|
|
5413
5428
|
|
|
5414
5429
|
@property
|
|
5415
5430
|
def Status(self):
|
|
5416
|
-
r"""
|
|
5431
|
+
r"""<p>处置状态码:0 处置成功 1处置中 -1 通用错误,不用处理-3 表示重复,需重新刷新列表其他</p>
|
|
5417
5432
|
:rtype: int
|
|
5418
5433
|
"""
|
|
5419
5434
|
return self._Status
|
|
@@ -30323,22 +30338,17 @@ class ModifyEnterpriseSecurityDispatchStatusRequest(AbstractModel):
|
|
|
30323
30338
|
|
|
30324
30339
|
def __init__(self):
|
|
30325
30340
|
r"""
|
|
30326
|
-
:param _Status: 0
|
|
30327
|
-
|
|
30328
|
-
1:关闭立即下发开关;
|
|
30329
|
-
|
|
30330
|
-
2:关闭立即下发开关情况下,触发开始下发
|
|
30341
|
+
:param _Status: <p>0:打开立即下发开关;</p><p>1:关闭立即下发开关;</p><p>2:关闭立即下发开关情况下,触发开始下发</p>
|
|
30331
30342
|
:type Status: int
|
|
30343
|
+
:param _BindFallbackOnce: <p>开启自动下发时,注明本次修改是否为空绑资产绑定兜底安全组</p>
|
|
30344
|
+
:type BindFallbackOnce: int
|
|
30332
30345
|
"""
|
|
30333
30346
|
self._Status = None
|
|
30347
|
+
self._BindFallbackOnce = None
|
|
30334
30348
|
|
|
30335
30349
|
@property
|
|
30336
30350
|
def Status(self):
|
|
30337
|
-
r"""0
|
|
30338
|
-
|
|
30339
|
-
1:关闭立即下发开关;
|
|
30340
|
-
|
|
30341
|
-
2:关闭立即下发开关情况下,触发开始下发
|
|
30351
|
+
r"""<p>0:打开立即下发开关;</p><p>1:关闭立即下发开关;</p><p>2:关闭立即下发开关情况下,触发开始下发</p>
|
|
30342
30352
|
:rtype: int
|
|
30343
30353
|
"""
|
|
30344
30354
|
return self._Status
|
|
@@ -30347,9 +30357,21 @@ class ModifyEnterpriseSecurityDispatchStatusRequest(AbstractModel):
|
|
|
30347
30357
|
def Status(self, Status):
|
|
30348
30358
|
self._Status = Status
|
|
30349
30359
|
|
|
30360
|
+
@property
|
|
30361
|
+
def BindFallbackOnce(self):
|
|
30362
|
+
r"""<p>开启自动下发时,注明本次修改是否为空绑资产绑定兜底安全组</p>
|
|
30363
|
+
:rtype: int
|
|
30364
|
+
"""
|
|
30365
|
+
return self._BindFallbackOnce
|
|
30366
|
+
|
|
30367
|
+
@BindFallbackOnce.setter
|
|
30368
|
+
def BindFallbackOnce(self, BindFallbackOnce):
|
|
30369
|
+
self._BindFallbackOnce = BindFallbackOnce
|
|
30370
|
+
|
|
30350
30371
|
|
|
30351
30372
|
def _deserialize(self, params):
|
|
30352
30373
|
self._Status = params.get("Status")
|
|
30374
|
+
self._BindFallbackOnce = params.get("BindFallbackOnce")
|
|
30353
30375
|
memeber_set = set(params.keys())
|
|
30354
30376
|
for name, value in vars(self).items():
|
|
30355
30377
|
property_name = name[1:]
|
|
@@ -30367,7 +30389,7 @@ class ModifyEnterpriseSecurityDispatchStatusResponse(AbstractModel):
|
|
|
30367
30389
|
|
|
30368
30390
|
def __init__(self):
|
|
30369
30391
|
r"""
|
|
30370
|
-
:param _Status: 0: 修改成功, 其他:
|
|
30392
|
+
:param _Status: <p>0: 修改成功, 其他: 修改失败</p>
|
|
30371
30393
|
:type Status: int
|
|
30372
30394
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30373
30395
|
:type RequestId: str
|
|
@@ -30377,7 +30399,7 @@ class ModifyEnterpriseSecurityDispatchStatusResponse(AbstractModel):
|
|
|
30377
30399
|
|
|
30378
30400
|
@property
|
|
30379
30401
|
def Status(self):
|
|
30380
|
-
r"""0: 修改成功, 其他:
|
|
30402
|
+
r"""<p>0: 修改成功, 其他: 修改失败</p>
|
|
30381
30403
|
:rtype: int
|
|
30382
30404
|
"""
|
|
30383
30405
|
return self._Status
|
|
@@ -30410,15 +30432,15 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
|
30410
30432
|
|
|
30411
30433
|
def __init__(self):
|
|
30412
30434
|
r"""
|
|
30413
|
-
:param _ModifyType:
|
|
30435
|
+
:param _ModifyType: <p>修改类型,0:修改规则内容;1:修改单条规则开关状态;2:修改所有规则开关状态</p>
|
|
30414
30436
|
:type ModifyType: int
|
|
30415
|
-
:param _RuleUuid:
|
|
30437
|
+
:param _RuleUuid: <p>规则的uuid,可通过查询规则列表获取</p>
|
|
30416
30438
|
:type RuleUuid: int
|
|
30417
30439
|
:param _CfwAiAgentOperationSource: <p>AI操作来源</p><p>枚举值:</p><ul><li>console: 控制台来源值</li><li>wechat: 微信</li></ul>。
|
|
30418
30440
|
:type CfwAiAgentOperationSource: str
|
|
30419
|
-
:param _Data:
|
|
30441
|
+
:param _Data: <p>编辑后的企业安全组规则数据;修改规则状态不用填该字段</p>
|
|
30420
30442
|
:type Data: :class:`tencentcloud.cfw.v20190904.models.SecurityGroupRule`
|
|
30421
|
-
:param _Enable:
|
|
30443
|
+
:param _Enable: <p>0是关闭,1是开启</p>
|
|
30422
30444
|
:type Enable: int
|
|
30423
30445
|
"""
|
|
30424
30446
|
self._ModifyType = None
|
|
@@ -30429,7 +30451,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
|
30429
30451
|
|
|
30430
30452
|
@property
|
|
30431
30453
|
def ModifyType(self):
|
|
30432
|
-
r"""
|
|
30454
|
+
r"""<p>修改类型,0:修改规则内容;1:修改单条规则开关状态;2:修改所有规则开关状态</p>
|
|
30433
30455
|
:rtype: int
|
|
30434
30456
|
"""
|
|
30435
30457
|
return self._ModifyType
|
|
@@ -30440,7 +30462,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
|
30440
30462
|
|
|
30441
30463
|
@property
|
|
30442
30464
|
def RuleUuid(self):
|
|
30443
|
-
r"""
|
|
30465
|
+
r"""<p>规则的uuid,可通过查询规则列表获取</p>
|
|
30444
30466
|
:rtype: int
|
|
30445
30467
|
"""
|
|
30446
30468
|
return self._RuleUuid
|
|
@@ -30462,7 +30484,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
|
30462
30484
|
|
|
30463
30485
|
@property
|
|
30464
30486
|
def Data(self):
|
|
30465
|
-
r"""
|
|
30487
|
+
r"""<p>编辑后的企业安全组规则数据;修改规则状态不用填该字段</p>
|
|
30466
30488
|
:rtype: :class:`tencentcloud.cfw.v20190904.models.SecurityGroupRule`
|
|
30467
30489
|
"""
|
|
30468
30490
|
return self._Data
|
|
@@ -30473,7 +30495,7 @@ class ModifyEnterpriseSecurityGroupRuleRequest(AbstractModel):
|
|
|
30473
30495
|
|
|
30474
30496
|
@property
|
|
30475
30497
|
def Enable(self):
|
|
30476
|
-
r"""
|
|
30498
|
+
r"""<p>0是关闭,1是开启</p>
|
|
30477
30499
|
:rtype: int
|
|
30478
30500
|
"""
|
|
30479
30501
|
return self._Enable
|
|
@@ -30508,9 +30530,9 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
|
|
|
30508
30530
|
|
|
30509
30531
|
def __init__(self):
|
|
30510
30532
|
r"""
|
|
30511
|
-
:param _NewRuleUuid:
|
|
30533
|
+
:param _NewRuleUuid: <p>编辑后新生成规则的Id</p>
|
|
30512
30534
|
:type NewRuleUuid: int
|
|
30513
|
-
:param _Status:
|
|
30535
|
+
:param _Status: <p>状态值,0:编辑成功,非0:编辑失败</p>
|
|
30514
30536
|
:type Status: int
|
|
30515
30537
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
30516
30538
|
:type RequestId: str
|
|
@@ -30521,7 +30543,7 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
|
|
|
30521
30543
|
|
|
30522
30544
|
@property
|
|
30523
30545
|
def NewRuleUuid(self):
|
|
30524
|
-
r"""
|
|
30546
|
+
r"""<p>编辑后新生成规则的Id</p>
|
|
30525
30547
|
:rtype: int
|
|
30526
30548
|
"""
|
|
30527
30549
|
return self._NewRuleUuid
|
|
@@ -30532,7 +30554,7 @@ class ModifyEnterpriseSecurityGroupRuleResponse(AbstractModel):
|
|
|
30532
30554
|
|
|
30533
30555
|
@property
|
|
30534
30556
|
def Status(self):
|
|
30535
|
-
r"""
|
|
30557
|
+
r"""<p>状态值,0:编辑成功,非0:编辑失败</p>
|
|
30536
30558
|
:rtype: int
|
|
30537
30559
|
"""
|
|
30538
30560
|
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.216
|
|
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.216
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.216
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.201
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|