tencentcloud-sdk-python-cfw 3.1.74__tar.gz → 3.1.79__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.74 → tencentcloud_sdk_python_cfw-3.1.79}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/setup.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/cfw_client_async.py +18 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/models.py +910 -18
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_cfw-3.1.79/tencentcloud_sdk_python_cfw.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_cfw-3.1.74/tencentcloud_sdk_python_cfw.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/README.rst +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/setup.cfg +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/__init__.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud/cfw/v20190904/errorcodes.py +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/tencentcloud_sdk_python_cfw.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_cfw-3.1.74 → tencentcloud_sdk_python_cfw-3.1.79}/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.79
|
|
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.79
|
|
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.79,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Cfw SDK for Python',
|
|
@@ -1293,6 +1293,29 @@ class CfwClient(AbstractClient):
|
|
|
1293
1293
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1294
1294
|
|
|
1295
1295
|
|
|
1296
|
+
def DescribeNDRAssetIdentificationList(self, request):
|
|
1297
|
+
r"""DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
|
|
1298
|
+
|
|
1299
|
+
:param request: Request instance for DescribeNDRAssetIdentificationList.
|
|
1300
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListRequest`
|
|
1301
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.DescribeNDRAssetIdentificationListResponse`
|
|
1302
|
+
|
|
1303
|
+
"""
|
|
1304
|
+
try:
|
|
1305
|
+
params = request._serialize()
|
|
1306
|
+
headers = request.headers
|
|
1307
|
+
body = self.call("DescribeNDRAssetIdentificationList", params, headers=headers)
|
|
1308
|
+
response = json.loads(body)
|
|
1309
|
+
model = models.DescribeNDRAssetIdentificationListResponse()
|
|
1310
|
+
model._deserialize(response["Response"])
|
|
1311
|
+
return model
|
|
1312
|
+
except Exception as e:
|
|
1313
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1314
|
+
raise
|
|
1315
|
+
else:
|
|
1316
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1317
|
+
|
|
1318
|
+
|
|
1296
1319
|
def DescribeNatAcRule(self, request):
|
|
1297
1320
|
r"""查询NAT访问控制列表
|
|
1298
1321
|
|
|
@@ -1017,6 +1017,24 @@ class CfwClient(AbstractClient):
|
|
|
1017
1017
|
|
|
1018
1018
|
return await self.call_and_deserialize(**kwargs)
|
|
1019
1019
|
|
|
1020
|
+
async def DescribeNDRAssetIdentificationList(
|
|
1021
|
+
self,
|
|
1022
|
+
request: models.DescribeNDRAssetIdentificationListRequest,
|
|
1023
|
+
opts: Dict = None,
|
|
1024
|
+
) -> models.DescribeNDRAssetIdentificationListResponse:
|
|
1025
|
+
"""
|
|
1026
|
+
DescribeNDRAssetIdentificationList - 获取NDR资产识别结果列表
|
|
1027
|
+
"""
|
|
1028
|
+
|
|
1029
|
+
kwargs = {}
|
|
1030
|
+
kwargs["action"] = "DescribeNDRAssetIdentificationList"
|
|
1031
|
+
kwargs["params"] = request._serialize()
|
|
1032
|
+
kwargs["resp_cls"] = models.DescribeNDRAssetIdentificationListResponse
|
|
1033
|
+
kwargs["headers"] = request.headers
|
|
1034
|
+
kwargs["opts"] = opts or {}
|
|
1035
|
+
|
|
1036
|
+
return await self.call_and_deserialize(**kwargs)
|
|
1037
|
+
|
|
1020
1038
|
async def DescribeNatAcRule(
|
|
1021
1039
|
self,
|
|
1022
1040
|
request: models.DescribeNatAcRuleRequest,
|
|
@@ -9052,22 +9052,22 @@ class DescribeBlockIgnoreListRequest(AbstractModel):
|
|
|
9052
9052
|
:type Order: str
|
|
9053
9053
|
:param _By: 排序列:EndTime结束时间,StartTime开始时间,MatchTimes命中次数
|
|
9054
9054
|
:type By: str
|
|
9055
|
+
:param _ShowType: blocklist 封禁列表
|
|
9056
|
+
whitelist 白名单列表
|
|
9057
|
+
:type ShowType: str
|
|
9055
9058
|
:param _SearchValue: 搜索参数,json格式字符串,空则传"{}",域名:domain,危险等级:level,放通原因:ignore_reason,安全事件来源:rule_source,地理位置:address,模糊搜索:common
|
|
9056
9059
|
:type SearchValue: str
|
|
9057
9060
|
:param _RuleType: 规则类型:1封禁,2放通
|
|
9058
9061
|
:type RuleType: int
|
|
9059
|
-
:param _ShowType: blocklist 封禁列表
|
|
9060
|
-
whitelist 白名单列表
|
|
9061
|
-
:type ShowType: str
|
|
9062
9062
|
"""
|
|
9063
9063
|
self._Limit = None
|
|
9064
9064
|
self._Offset = None
|
|
9065
9065
|
self._Direction = None
|
|
9066
9066
|
self._Order = None
|
|
9067
9067
|
self._By = None
|
|
9068
|
+
self._ShowType = None
|
|
9068
9069
|
self._SearchValue = None
|
|
9069
9070
|
self._RuleType = None
|
|
9070
|
-
self._ShowType = None
|
|
9071
9071
|
|
|
9072
9072
|
@property
|
|
9073
9073
|
def Limit(self):
|
|
@@ -9124,6 +9124,18 @@ whitelist 白名单列表
|
|
|
9124
9124
|
def By(self, By):
|
|
9125
9125
|
self._By = By
|
|
9126
9126
|
|
|
9127
|
+
@property
|
|
9128
|
+
def ShowType(self):
|
|
9129
|
+
r"""blocklist 封禁列表
|
|
9130
|
+
whitelist 白名单列表
|
|
9131
|
+
:rtype: str
|
|
9132
|
+
"""
|
|
9133
|
+
return self._ShowType
|
|
9134
|
+
|
|
9135
|
+
@ShowType.setter
|
|
9136
|
+
def ShowType(self, ShowType):
|
|
9137
|
+
self._ShowType = ShowType
|
|
9138
|
+
|
|
9127
9139
|
@property
|
|
9128
9140
|
def SearchValue(self):
|
|
9129
9141
|
r"""搜索参数,json格式字符串,空则传"{}",域名:domain,危险等级:level,放通原因:ignore_reason,安全事件来源:rule_source,地理位置:address,模糊搜索:common
|
|
@@ -9146,18 +9158,6 @@ whitelist 白名单列表
|
|
|
9146
9158
|
def RuleType(self, RuleType):
|
|
9147
9159
|
self._RuleType = RuleType
|
|
9148
9160
|
|
|
9149
|
-
@property
|
|
9150
|
-
def ShowType(self):
|
|
9151
|
-
r"""blocklist 封禁列表
|
|
9152
|
-
whitelist 白名单列表
|
|
9153
|
-
:rtype: str
|
|
9154
|
-
"""
|
|
9155
|
-
return self._ShowType
|
|
9156
|
-
|
|
9157
|
-
@ShowType.setter
|
|
9158
|
-
def ShowType(self, ShowType):
|
|
9159
|
-
self._ShowType = ShowType
|
|
9160
|
-
|
|
9161
9161
|
|
|
9162
9162
|
def _deserialize(self, params):
|
|
9163
9163
|
self._Limit = params.get("Limit")
|
|
@@ -9165,9 +9165,9 @@ whitelist 白名单列表
|
|
|
9165
9165
|
self._Direction = params.get("Direction")
|
|
9166
9166
|
self._Order = params.get("Order")
|
|
9167
9167
|
self._By = params.get("By")
|
|
9168
|
+
self._ShowType = params.get("ShowType")
|
|
9168
9169
|
self._SearchValue = params.get("SearchValue")
|
|
9169
9170
|
self._RuleType = params.get("RuleType")
|
|
9170
|
-
self._ShowType = params.get("ShowType")
|
|
9171
9171
|
memeber_set = set(params.keys())
|
|
9172
9172
|
for name, value in vars(self).items():
|
|
9173
9173
|
property_name = name[1:]
|
|
@@ -12290,6 +12290,330 @@ class DescribeLogsResponse(AbstractModel):
|
|
|
12290
12290
|
self._RequestId = params.get("RequestId")
|
|
12291
12291
|
|
|
12292
12292
|
|
|
12293
|
+
class DescribeNDRAssetIdentificationListRequest(AbstractModel):
|
|
12294
|
+
r"""DescribeNDRAssetIdentificationList请求参数结构体
|
|
12295
|
+
|
|
12296
|
+
"""
|
|
12297
|
+
|
|
12298
|
+
def __init__(self):
|
|
12299
|
+
r"""
|
|
12300
|
+
:param _Limit: 每页条数
|
|
12301
|
+
:type Limit: int
|
|
12302
|
+
:param _Offset: 偏移量
|
|
12303
|
+
:type Offset: int
|
|
12304
|
+
:param _Order: 排序方式,asc正序 desc倒序
|
|
12305
|
+
:type Order: str
|
|
12306
|
+
:param _By: 排序字段
|
|
12307
|
+
:type By: str
|
|
12308
|
+
:param _Filters: 查询过滤条件,多个条件之间为AND的关系
|
|
12309
|
+
:type Filters: list of OperatorFilter
|
|
12310
|
+
"""
|
|
12311
|
+
self._Limit = None
|
|
12312
|
+
self._Offset = None
|
|
12313
|
+
self._Order = None
|
|
12314
|
+
self._By = None
|
|
12315
|
+
self._Filters = None
|
|
12316
|
+
|
|
12317
|
+
@property
|
|
12318
|
+
def Limit(self):
|
|
12319
|
+
r"""每页条数
|
|
12320
|
+
:rtype: int
|
|
12321
|
+
"""
|
|
12322
|
+
return self._Limit
|
|
12323
|
+
|
|
12324
|
+
@Limit.setter
|
|
12325
|
+
def Limit(self, Limit):
|
|
12326
|
+
self._Limit = Limit
|
|
12327
|
+
|
|
12328
|
+
@property
|
|
12329
|
+
def Offset(self):
|
|
12330
|
+
r"""偏移量
|
|
12331
|
+
:rtype: int
|
|
12332
|
+
"""
|
|
12333
|
+
return self._Offset
|
|
12334
|
+
|
|
12335
|
+
@Offset.setter
|
|
12336
|
+
def Offset(self, Offset):
|
|
12337
|
+
self._Offset = Offset
|
|
12338
|
+
|
|
12339
|
+
@property
|
|
12340
|
+
def Order(self):
|
|
12341
|
+
r"""排序方式,asc正序 desc倒序
|
|
12342
|
+
:rtype: str
|
|
12343
|
+
"""
|
|
12344
|
+
return self._Order
|
|
12345
|
+
|
|
12346
|
+
@Order.setter
|
|
12347
|
+
def Order(self, Order):
|
|
12348
|
+
self._Order = Order
|
|
12349
|
+
|
|
12350
|
+
@property
|
|
12351
|
+
def By(self):
|
|
12352
|
+
r"""排序字段
|
|
12353
|
+
:rtype: str
|
|
12354
|
+
"""
|
|
12355
|
+
return self._By
|
|
12356
|
+
|
|
12357
|
+
@By.setter
|
|
12358
|
+
def By(self, By):
|
|
12359
|
+
self._By = By
|
|
12360
|
+
|
|
12361
|
+
@property
|
|
12362
|
+
def Filters(self):
|
|
12363
|
+
r"""查询过滤条件,多个条件之间为AND的关系
|
|
12364
|
+
:rtype: list of OperatorFilter
|
|
12365
|
+
"""
|
|
12366
|
+
return self._Filters
|
|
12367
|
+
|
|
12368
|
+
@Filters.setter
|
|
12369
|
+
def Filters(self, Filters):
|
|
12370
|
+
self._Filters = Filters
|
|
12371
|
+
|
|
12372
|
+
|
|
12373
|
+
def _deserialize(self, params):
|
|
12374
|
+
self._Limit = params.get("Limit")
|
|
12375
|
+
self._Offset = params.get("Offset")
|
|
12376
|
+
self._Order = params.get("Order")
|
|
12377
|
+
self._By = params.get("By")
|
|
12378
|
+
if params.get("Filters") is not None:
|
|
12379
|
+
self._Filters = []
|
|
12380
|
+
for item in params.get("Filters"):
|
|
12381
|
+
obj = OperatorFilter()
|
|
12382
|
+
obj._deserialize(item)
|
|
12383
|
+
self._Filters.append(obj)
|
|
12384
|
+
memeber_set = set(params.keys())
|
|
12385
|
+
for name, value in vars(self).items():
|
|
12386
|
+
property_name = name[1:]
|
|
12387
|
+
if property_name in memeber_set:
|
|
12388
|
+
memeber_set.remove(property_name)
|
|
12389
|
+
if len(memeber_set) > 0:
|
|
12390
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12391
|
+
|
|
12392
|
+
|
|
12393
|
+
|
|
12394
|
+
class DescribeNDRAssetIdentificationListResponse(AbstractModel):
|
|
12395
|
+
r"""DescribeNDRAssetIdentificationList返回参数结构体
|
|
12396
|
+
|
|
12397
|
+
"""
|
|
12398
|
+
|
|
12399
|
+
def __init__(self):
|
|
12400
|
+
r"""
|
|
12401
|
+
:param _Total: 符合查询条件的总条数
|
|
12402
|
+
:type Total: int
|
|
12403
|
+
:param _Data: 查询结果列表
|
|
12404
|
+
:type Data: list of NDRAssetServiceInfo
|
|
12405
|
+
:param _AssetCategoryStats: 服务类型统计结果
|
|
12406
|
+
:type AssetCategoryStats: list of NDRAssetCategoryStats
|
|
12407
|
+
:param _RegionOptions: 地域可选项
|
|
12408
|
+
:type RegionOptions: list of FieldOption
|
|
12409
|
+
:param _IpVersionOptions: IP版本可选项
|
|
12410
|
+
:type IpVersionOptions: list of FieldOption
|
|
12411
|
+
:param _IpTypeOptions: IP类型可选项
|
|
12412
|
+
:type IpTypeOptions: list of FieldOption
|
|
12413
|
+
:param _AssetCategoryOptions: 服务类型可选项
|
|
12414
|
+
:type AssetCategoryOptions: list of FieldOption
|
|
12415
|
+
:param _IdentificationSourceOptions: 识别来源可选项
|
|
12416
|
+
:type IdentificationSourceOptions: list of FieldOption
|
|
12417
|
+
:param _ProtocolOptions: 协议可选项
|
|
12418
|
+
:type ProtocolOptions: list of FieldOption
|
|
12419
|
+
:param _InstanceTypeOptions: 实例类型可选项
|
|
12420
|
+
:type InstanceTypeOptions: list of FieldOption
|
|
12421
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12422
|
+
:type RequestId: str
|
|
12423
|
+
"""
|
|
12424
|
+
self._Total = None
|
|
12425
|
+
self._Data = None
|
|
12426
|
+
self._AssetCategoryStats = None
|
|
12427
|
+
self._RegionOptions = None
|
|
12428
|
+
self._IpVersionOptions = None
|
|
12429
|
+
self._IpTypeOptions = None
|
|
12430
|
+
self._AssetCategoryOptions = None
|
|
12431
|
+
self._IdentificationSourceOptions = None
|
|
12432
|
+
self._ProtocolOptions = None
|
|
12433
|
+
self._InstanceTypeOptions = None
|
|
12434
|
+
self._RequestId = None
|
|
12435
|
+
|
|
12436
|
+
@property
|
|
12437
|
+
def Total(self):
|
|
12438
|
+
r"""符合查询条件的总条数
|
|
12439
|
+
:rtype: int
|
|
12440
|
+
"""
|
|
12441
|
+
return self._Total
|
|
12442
|
+
|
|
12443
|
+
@Total.setter
|
|
12444
|
+
def Total(self, Total):
|
|
12445
|
+
self._Total = Total
|
|
12446
|
+
|
|
12447
|
+
@property
|
|
12448
|
+
def Data(self):
|
|
12449
|
+
r"""查询结果列表
|
|
12450
|
+
:rtype: list of NDRAssetServiceInfo
|
|
12451
|
+
"""
|
|
12452
|
+
return self._Data
|
|
12453
|
+
|
|
12454
|
+
@Data.setter
|
|
12455
|
+
def Data(self, Data):
|
|
12456
|
+
self._Data = Data
|
|
12457
|
+
|
|
12458
|
+
@property
|
|
12459
|
+
def AssetCategoryStats(self):
|
|
12460
|
+
r"""服务类型统计结果
|
|
12461
|
+
:rtype: list of NDRAssetCategoryStats
|
|
12462
|
+
"""
|
|
12463
|
+
return self._AssetCategoryStats
|
|
12464
|
+
|
|
12465
|
+
@AssetCategoryStats.setter
|
|
12466
|
+
def AssetCategoryStats(self, AssetCategoryStats):
|
|
12467
|
+
self._AssetCategoryStats = AssetCategoryStats
|
|
12468
|
+
|
|
12469
|
+
@property
|
|
12470
|
+
def RegionOptions(self):
|
|
12471
|
+
r"""地域可选项
|
|
12472
|
+
:rtype: list of FieldOption
|
|
12473
|
+
"""
|
|
12474
|
+
return self._RegionOptions
|
|
12475
|
+
|
|
12476
|
+
@RegionOptions.setter
|
|
12477
|
+
def RegionOptions(self, RegionOptions):
|
|
12478
|
+
self._RegionOptions = RegionOptions
|
|
12479
|
+
|
|
12480
|
+
@property
|
|
12481
|
+
def IpVersionOptions(self):
|
|
12482
|
+
r"""IP版本可选项
|
|
12483
|
+
:rtype: list of FieldOption
|
|
12484
|
+
"""
|
|
12485
|
+
return self._IpVersionOptions
|
|
12486
|
+
|
|
12487
|
+
@IpVersionOptions.setter
|
|
12488
|
+
def IpVersionOptions(self, IpVersionOptions):
|
|
12489
|
+
self._IpVersionOptions = IpVersionOptions
|
|
12490
|
+
|
|
12491
|
+
@property
|
|
12492
|
+
def IpTypeOptions(self):
|
|
12493
|
+
r"""IP类型可选项
|
|
12494
|
+
:rtype: list of FieldOption
|
|
12495
|
+
"""
|
|
12496
|
+
return self._IpTypeOptions
|
|
12497
|
+
|
|
12498
|
+
@IpTypeOptions.setter
|
|
12499
|
+
def IpTypeOptions(self, IpTypeOptions):
|
|
12500
|
+
self._IpTypeOptions = IpTypeOptions
|
|
12501
|
+
|
|
12502
|
+
@property
|
|
12503
|
+
def AssetCategoryOptions(self):
|
|
12504
|
+
r"""服务类型可选项
|
|
12505
|
+
:rtype: list of FieldOption
|
|
12506
|
+
"""
|
|
12507
|
+
return self._AssetCategoryOptions
|
|
12508
|
+
|
|
12509
|
+
@AssetCategoryOptions.setter
|
|
12510
|
+
def AssetCategoryOptions(self, AssetCategoryOptions):
|
|
12511
|
+
self._AssetCategoryOptions = AssetCategoryOptions
|
|
12512
|
+
|
|
12513
|
+
@property
|
|
12514
|
+
def IdentificationSourceOptions(self):
|
|
12515
|
+
r"""识别来源可选项
|
|
12516
|
+
:rtype: list of FieldOption
|
|
12517
|
+
"""
|
|
12518
|
+
return self._IdentificationSourceOptions
|
|
12519
|
+
|
|
12520
|
+
@IdentificationSourceOptions.setter
|
|
12521
|
+
def IdentificationSourceOptions(self, IdentificationSourceOptions):
|
|
12522
|
+
self._IdentificationSourceOptions = IdentificationSourceOptions
|
|
12523
|
+
|
|
12524
|
+
@property
|
|
12525
|
+
def ProtocolOptions(self):
|
|
12526
|
+
r"""协议可选项
|
|
12527
|
+
:rtype: list of FieldOption
|
|
12528
|
+
"""
|
|
12529
|
+
return self._ProtocolOptions
|
|
12530
|
+
|
|
12531
|
+
@ProtocolOptions.setter
|
|
12532
|
+
def ProtocolOptions(self, ProtocolOptions):
|
|
12533
|
+
self._ProtocolOptions = ProtocolOptions
|
|
12534
|
+
|
|
12535
|
+
@property
|
|
12536
|
+
def InstanceTypeOptions(self):
|
|
12537
|
+
r"""实例类型可选项
|
|
12538
|
+
:rtype: list of FieldOption
|
|
12539
|
+
"""
|
|
12540
|
+
return self._InstanceTypeOptions
|
|
12541
|
+
|
|
12542
|
+
@InstanceTypeOptions.setter
|
|
12543
|
+
def InstanceTypeOptions(self, InstanceTypeOptions):
|
|
12544
|
+
self._InstanceTypeOptions = InstanceTypeOptions
|
|
12545
|
+
|
|
12546
|
+
@property
|
|
12547
|
+
def RequestId(self):
|
|
12548
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12549
|
+
:rtype: str
|
|
12550
|
+
"""
|
|
12551
|
+
return self._RequestId
|
|
12552
|
+
|
|
12553
|
+
@RequestId.setter
|
|
12554
|
+
def RequestId(self, RequestId):
|
|
12555
|
+
self._RequestId = RequestId
|
|
12556
|
+
|
|
12557
|
+
|
|
12558
|
+
def _deserialize(self, params):
|
|
12559
|
+
self._Total = params.get("Total")
|
|
12560
|
+
if params.get("Data") is not None:
|
|
12561
|
+
self._Data = []
|
|
12562
|
+
for item in params.get("Data"):
|
|
12563
|
+
obj = NDRAssetServiceInfo()
|
|
12564
|
+
obj._deserialize(item)
|
|
12565
|
+
self._Data.append(obj)
|
|
12566
|
+
if params.get("AssetCategoryStats") is not None:
|
|
12567
|
+
self._AssetCategoryStats = []
|
|
12568
|
+
for item in params.get("AssetCategoryStats"):
|
|
12569
|
+
obj = NDRAssetCategoryStats()
|
|
12570
|
+
obj._deserialize(item)
|
|
12571
|
+
self._AssetCategoryStats.append(obj)
|
|
12572
|
+
if params.get("RegionOptions") is not None:
|
|
12573
|
+
self._RegionOptions = []
|
|
12574
|
+
for item in params.get("RegionOptions"):
|
|
12575
|
+
obj = FieldOption()
|
|
12576
|
+
obj._deserialize(item)
|
|
12577
|
+
self._RegionOptions.append(obj)
|
|
12578
|
+
if params.get("IpVersionOptions") is not None:
|
|
12579
|
+
self._IpVersionOptions = []
|
|
12580
|
+
for item in params.get("IpVersionOptions"):
|
|
12581
|
+
obj = FieldOption()
|
|
12582
|
+
obj._deserialize(item)
|
|
12583
|
+
self._IpVersionOptions.append(obj)
|
|
12584
|
+
if params.get("IpTypeOptions") is not None:
|
|
12585
|
+
self._IpTypeOptions = []
|
|
12586
|
+
for item in params.get("IpTypeOptions"):
|
|
12587
|
+
obj = FieldOption()
|
|
12588
|
+
obj._deserialize(item)
|
|
12589
|
+
self._IpTypeOptions.append(obj)
|
|
12590
|
+
if params.get("AssetCategoryOptions") is not None:
|
|
12591
|
+
self._AssetCategoryOptions = []
|
|
12592
|
+
for item in params.get("AssetCategoryOptions"):
|
|
12593
|
+
obj = FieldOption()
|
|
12594
|
+
obj._deserialize(item)
|
|
12595
|
+
self._AssetCategoryOptions.append(obj)
|
|
12596
|
+
if params.get("IdentificationSourceOptions") is not None:
|
|
12597
|
+
self._IdentificationSourceOptions = []
|
|
12598
|
+
for item in params.get("IdentificationSourceOptions"):
|
|
12599
|
+
obj = FieldOption()
|
|
12600
|
+
obj._deserialize(item)
|
|
12601
|
+
self._IdentificationSourceOptions.append(obj)
|
|
12602
|
+
if params.get("ProtocolOptions") is not None:
|
|
12603
|
+
self._ProtocolOptions = []
|
|
12604
|
+
for item in params.get("ProtocolOptions"):
|
|
12605
|
+
obj = FieldOption()
|
|
12606
|
+
obj._deserialize(item)
|
|
12607
|
+
self._ProtocolOptions.append(obj)
|
|
12608
|
+
if params.get("InstanceTypeOptions") is not None:
|
|
12609
|
+
self._InstanceTypeOptions = []
|
|
12610
|
+
for item in params.get("InstanceTypeOptions"):
|
|
12611
|
+
obj = FieldOption()
|
|
12612
|
+
obj._deserialize(item)
|
|
12613
|
+
self._InstanceTypeOptions.append(obj)
|
|
12614
|
+
self._RequestId = params.get("RequestId")
|
|
12615
|
+
|
|
12616
|
+
|
|
12293
12617
|
class DescribeNatAcRuleRequest(AbstractModel):
|
|
12294
12618
|
r"""DescribeNatAcRule请求参数结构体
|
|
12295
12619
|
|
|
@@ -17145,6 +17469,57 @@ class ExpandCfwVerticalResponse(AbstractModel):
|
|
|
17145
17469
|
self._RequestId = params.get("RequestId")
|
|
17146
17470
|
|
|
17147
17471
|
|
|
17472
|
+
class FieldOption(AbstractModel):
|
|
17473
|
+
r"""字段可选项枚举值
|
|
17474
|
+
|
|
17475
|
+
"""
|
|
17476
|
+
|
|
17477
|
+
def __init__(self):
|
|
17478
|
+
r"""
|
|
17479
|
+
:param _Text: 字段展示值
|
|
17480
|
+
:type Text: str
|
|
17481
|
+
:param _Value: 字段存储值
|
|
17482
|
+
:type Value: str
|
|
17483
|
+
"""
|
|
17484
|
+
self._Text = None
|
|
17485
|
+
self._Value = None
|
|
17486
|
+
|
|
17487
|
+
@property
|
|
17488
|
+
def Text(self):
|
|
17489
|
+
r"""字段展示值
|
|
17490
|
+
:rtype: str
|
|
17491
|
+
"""
|
|
17492
|
+
return self._Text
|
|
17493
|
+
|
|
17494
|
+
@Text.setter
|
|
17495
|
+
def Text(self, Text):
|
|
17496
|
+
self._Text = Text
|
|
17497
|
+
|
|
17498
|
+
@property
|
|
17499
|
+
def Value(self):
|
|
17500
|
+
r"""字段存储值
|
|
17501
|
+
:rtype: str
|
|
17502
|
+
"""
|
|
17503
|
+
return self._Value
|
|
17504
|
+
|
|
17505
|
+
@Value.setter
|
|
17506
|
+
def Value(self, Value):
|
|
17507
|
+
self._Value = Value
|
|
17508
|
+
|
|
17509
|
+
|
|
17510
|
+
def _deserialize(self, params):
|
|
17511
|
+
self._Text = params.get("Text")
|
|
17512
|
+
self._Value = params.get("Value")
|
|
17513
|
+
memeber_set = set(params.keys())
|
|
17514
|
+
for name, value in vars(self).items():
|
|
17515
|
+
property_name = name[1:]
|
|
17516
|
+
if property_name in memeber_set:
|
|
17517
|
+
memeber_set.remove(property_name)
|
|
17518
|
+
if len(memeber_set) > 0:
|
|
17519
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17520
|
+
|
|
17521
|
+
|
|
17522
|
+
|
|
17148
17523
|
class FwCidrInfo(AbstractModel):
|
|
17149
17524
|
r"""防火墙网段信息
|
|
17150
17525
|
|
|
@@ -22729,7 +23104,434 @@ class MultiTopicSearchInformation(AbstractModel):
|
|
|
22729
23104
|
|
|
22730
23105
|
|
|
22731
23106
|
|
|
22732
|
-
class
|
|
23107
|
+
class NDRAssetCategoryStats(AbstractModel):
|
|
23108
|
+
r"""NDR资产识别服务类型统计结果
|
|
23109
|
+
|
|
23110
|
+
"""
|
|
23111
|
+
|
|
23112
|
+
def __init__(self):
|
|
23113
|
+
r"""
|
|
23114
|
+
:param _Name: 服务类型
|
|
23115
|
+
:type Name: str
|
|
23116
|
+
:param _Services: 服务统计结果
|
|
23117
|
+
:type Services: list of NDRAssetServiceStats
|
|
23118
|
+
"""
|
|
23119
|
+
self._Name = None
|
|
23120
|
+
self._Services = None
|
|
23121
|
+
|
|
23122
|
+
@property
|
|
23123
|
+
def Name(self):
|
|
23124
|
+
r"""服务类型
|
|
23125
|
+
:rtype: str
|
|
23126
|
+
"""
|
|
23127
|
+
return self._Name
|
|
23128
|
+
|
|
23129
|
+
@Name.setter
|
|
23130
|
+
def Name(self, Name):
|
|
23131
|
+
self._Name = Name
|
|
23132
|
+
|
|
23133
|
+
@property
|
|
23134
|
+
def Services(self):
|
|
23135
|
+
r"""服务统计结果
|
|
23136
|
+
:rtype: list of NDRAssetServiceStats
|
|
23137
|
+
"""
|
|
23138
|
+
return self._Services
|
|
23139
|
+
|
|
23140
|
+
@Services.setter
|
|
23141
|
+
def Services(self, Services):
|
|
23142
|
+
self._Services = Services
|
|
23143
|
+
|
|
23144
|
+
|
|
23145
|
+
def _deserialize(self, params):
|
|
23146
|
+
self._Name = params.get("Name")
|
|
23147
|
+
if params.get("Services") is not None:
|
|
23148
|
+
self._Services = []
|
|
23149
|
+
for item in params.get("Services"):
|
|
23150
|
+
obj = NDRAssetServiceStats()
|
|
23151
|
+
obj._deserialize(item)
|
|
23152
|
+
self._Services.append(obj)
|
|
23153
|
+
memeber_set = set(params.keys())
|
|
23154
|
+
for name, value in vars(self).items():
|
|
23155
|
+
property_name = name[1:]
|
|
23156
|
+
if property_name in memeber_set:
|
|
23157
|
+
memeber_set.remove(property_name)
|
|
23158
|
+
if len(memeber_set) > 0:
|
|
23159
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23160
|
+
|
|
23161
|
+
|
|
23162
|
+
|
|
23163
|
+
class NDRAssetServiceInfo(AbstractModel):
|
|
23164
|
+
r"""NDR资产识别信息
|
|
23165
|
+
|
|
23166
|
+
"""
|
|
23167
|
+
|
|
23168
|
+
def __init__(self):
|
|
23169
|
+
r"""
|
|
23170
|
+
:param _AssetId: 资产ID
|
|
23171
|
+
:type AssetId: str
|
|
23172
|
+
:param _InstanceId: 实例ID
|
|
23173
|
+
:type InstanceId: str
|
|
23174
|
+
:param _InstanceName: 实例名称
|
|
23175
|
+
:type InstanceName: str
|
|
23176
|
+
:param _InstanceType: 实例类型
|
|
23177
|
+
:type InstanceType: str
|
|
23178
|
+
:param _Region: 地域
|
|
23179
|
+
:type Region: str
|
|
23180
|
+
:param _VpcId: 私有网络ID
|
|
23181
|
+
:type VpcId: str
|
|
23182
|
+
:param _VpcName: 私有网络名称
|
|
23183
|
+
:type VpcName: str
|
|
23184
|
+
:param _Ip: 服务IP
|
|
23185
|
+
:type Ip: str
|
|
23186
|
+
:param _Port: 服务端口
|
|
23187
|
+
:type Port: int
|
|
23188
|
+
:param _IpVersion: IP版本
|
|
23189
|
+
"0": IPv4
|
|
23190
|
+
"1": IPv6
|
|
23191
|
+
:type IpVersion: str
|
|
23192
|
+
:param _IpType: IP类型
|
|
23193
|
+
"0": 公网IP
|
|
23194
|
+
"1": EIP
|
|
23195
|
+
"-1": 内网IP
|
|
23196
|
+
:type IpType: str
|
|
23197
|
+
:param _AssetService: 服务名称
|
|
23198
|
+
:type AssetService: str
|
|
23199
|
+
:param _AssetVersion: 服务版本
|
|
23200
|
+
:type AssetVersion: str
|
|
23201
|
+
:param _AssetCategory: 服务类型
|
|
23202
|
+
:type AssetCategory: str
|
|
23203
|
+
:param _Protocol: 协议
|
|
23204
|
+
:type Protocol: str
|
|
23205
|
+
:param _IdentificationSource: 识别来源
|
|
23206
|
+
"0": 流量识别
|
|
23207
|
+
"1": 云资产实例
|
|
23208
|
+
:type IdentificationSource: str
|
|
23209
|
+
:param _FirstIdentificationTime: 首次识别时间
|
|
23210
|
+
:type FirstIdentificationTime: str
|
|
23211
|
+
:param _LatestIdentificationTime: 最近识别时间
|
|
23212
|
+
:type LatestIdentificationTime: str
|
|
23213
|
+
:param _ServerAddr: 服务地址
|
|
23214
|
+
:type ServerAddr: str
|
|
23215
|
+
"""
|
|
23216
|
+
self._AssetId = None
|
|
23217
|
+
self._InstanceId = None
|
|
23218
|
+
self._InstanceName = None
|
|
23219
|
+
self._InstanceType = None
|
|
23220
|
+
self._Region = None
|
|
23221
|
+
self._VpcId = None
|
|
23222
|
+
self._VpcName = None
|
|
23223
|
+
self._Ip = None
|
|
23224
|
+
self._Port = None
|
|
23225
|
+
self._IpVersion = None
|
|
23226
|
+
self._IpType = None
|
|
23227
|
+
self._AssetService = None
|
|
23228
|
+
self._AssetVersion = None
|
|
23229
|
+
self._AssetCategory = None
|
|
23230
|
+
self._Protocol = None
|
|
23231
|
+
self._IdentificationSource = None
|
|
23232
|
+
self._FirstIdentificationTime = None
|
|
23233
|
+
self._LatestIdentificationTime = None
|
|
23234
|
+
self._ServerAddr = None
|
|
23235
|
+
|
|
23236
|
+
@property
|
|
23237
|
+
def AssetId(self):
|
|
23238
|
+
r"""资产ID
|
|
23239
|
+
:rtype: str
|
|
23240
|
+
"""
|
|
23241
|
+
return self._AssetId
|
|
23242
|
+
|
|
23243
|
+
@AssetId.setter
|
|
23244
|
+
def AssetId(self, AssetId):
|
|
23245
|
+
self._AssetId = AssetId
|
|
23246
|
+
|
|
23247
|
+
@property
|
|
23248
|
+
def InstanceId(self):
|
|
23249
|
+
r"""实例ID
|
|
23250
|
+
:rtype: str
|
|
23251
|
+
"""
|
|
23252
|
+
return self._InstanceId
|
|
23253
|
+
|
|
23254
|
+
@InstanceId.setter
|
|
23255
|
+
def InstanceId(self, InstanceId):
|
|
23256
|
+
self._InstanceId = InstanceId
|
|
23257
|
+
|
|
23258
|
+
@property
|
|
23259
|
+
def InstanceName(self):
|
|
23260
|
+
r"""实例名称
|
|
23261
|
+
:rtype: str
|
|
23262
|
+
"""
|
|
23263
|
+
return self._InstanceName
|
|
23264
|
+
|
|
23265
|
+
@InstanceName.setter
|
|
23266
|
+
def InstanceName(self, InstanceName):
|
|
23267
|
+
self._InstanceName = InstanceName
|
|
23268
|
+
|
|
23269
|
+
@property
|
|
23270
|
+
def InstanceType(self):
|
|
23271
|
+
r"""实例类型
|
|
23272
|
+
:rtype: str
|
|
23273
|
+
"""
|
|
23274
|
+
return self._InstanceType
|
|
23275
|
+
|
|
23276
|
+
@InstanceType.setter
|
|
23277
|
+
def InstanceType(self, InstanceType):
|
|
23278
|
+
self._InstanceType = InstanceType
|
|
23279
|
+
|
|
23280
|
+
@property
|
|
23281
|
+
def Region(self):
|
|
23282
|
+
r"""地域
|
|
23283
|
+
:rtype: str
|
|
23284
|
+
"""
|
|
23285
|
+
return self._Region
|
|
23286
|
+
|
|
23287
|
+
@Region.setter
|
|
23288
|
+
def Region(self, Region):
|
|
23289
|
+
self._Region = Region
|
|
23290
|
+
|
|
23291
|
+
@property
|
|
23292
|
+
def VpcId(self):
|
|
23293
|
+
r"""私有网络ID
|
|
23294
|
+
:rtype: str
|
|
23295
|
+
"""
|
|
23296
|
+
return self._VpcId
|
|
23297
|
+
|
|
23298
|
+
@VpcId.setter
|
|
23299
|
+
def VpcId(self, VpcId):
|
|
23300
|
+
self._VpcId = VpcId
|
|
23301
|
+
|
|
23302
|
+
@property
|
|
23303
|
+
def VpcName(self):
|
|
23304
|
+
r"""私有网络名称
|
|
23305
|
+
:rtype: str
|
|
23306
|
+
"""
|
|
23307
|
+
return self._VpcName
|
|
23308
|
+
|
|
23309
|
+
@VpcName.setter
|
|
23310
|
+
def VpcName(self, VpcName):
|
|
23311
|
+
self._VpcName = VpcName
|
|
23312
|
+
|
|
23313
|
+
@property
|
|
23314
|
+
def Ip(self):
|
|
23315
|
+
r"""服务IP
|
|
23316
|
+
:rtype: str
|
|
23317
|
+
"""
|
|
23318
|
+
return self._Ip
|
|
23319
|
+
|
|
23320
|
+
@Ip.setter
|
|
23321
|
+
def Ip(self, Ip):
|
|
23322
|
+
self._Ip = Ip
|
|
23323
|
+
|
|
23324
|
+
@property
|
|
23325
|
+
def Port(self):
|
|
23326
|
+
r"""服务端口
|
|
23327
|
+
:rtype: int
|
|
23328
|
+
"""
|
|
23329
|
+
return self._Port
|
|
23330
|
+
|
|
23331
|
+
@Port.setter
|
|
23332
|
+
def Port(self, Port):
|
|
23333
|
+
self._Port = Port
|
|
23334
|
+
|
|
23335
|
+
@property
|
|
23336
|
+
def IpVersion(self):
|
|
23337
|
+
r"""IP版本
|
|
23338
|
+
"0": IPv4
|
|
23339
|
+
"1": IPv6
|
|
23340
|
+
:rtype: str
|
|
23341
|
+
"""
|
|
23342
|
+
return self._IpVersion
|
|
23343
|
+
|
|
23344
|
+
@IpVersion.setter
|
|
23345
|
+
def IpVersion(self, IpVersion):
|
|
23346
|
+
self._IpVersion = IpVersion
|
|
23347
|
+
|
|
23348
|
+
@property
|
|
23349
|
+
def IpType(self):
|
|
23350
|
+
r"""IP类型
|
|
23351
|
+
"0": 公网IP
|
|
23352
|
+
"1": EIP
|
|
23353
|
+
"-1": 内网IP
|
|
23354
|
+
:rtype: str
|
|
23355
|
+
"""
|
|
23356
|
+
return self._IpType
|
|
23357
|
+
|
|
23358
|
+
@IpType.setter
|
|
23359
|
+
def IpType(self, IpType):
|
|
23360
|
+
self._IpType = IpType
|
|
23361
|
+
|
|
23362
|
+
@property
|
|
23363
|
+
def AssetService(self):
|
|
23364
|
+
r"""服务名称
|
|
23365
|
+
:rtype: str
|
|
23366
|
+
"""
|
|
23367
|
+
return self._AssetService
|
|
23368
|
+
|
|
23369
|
+
@AssetService.setter
|
|
23370
|
+
def AssetService(self, AssetService):
|
|
23371
|
+
self._AssetService = AssetService
|
|
23372
|
+
|
|
23373
|
+
@property
|
|
23374
|
+
def AssetVersion(self):
|
|
23375
|
+
r"""服务版本
|
|
23376
|
+
:rtype: str
|
|
23377
|
+
"""
|
|
23378
|
+
return self._AssetVersion
|
|
23379
|
+
|
|
23380
|
+
@AssetVersion.setter
|
|
23381
|
+
def AssetVersion(self, AssetVersion):
|
|
23382
|
+
self._AssetVersion = AssetVersion
|
|
23383
|
+
|
|
23384
|
+
@property
|
|
23385
|
+
def AssetCategory(self):
|
|
23386
|
+
r"""服务类型
|
|
23387
|
+
:rtype: str
|
|
23388
|
+
"""
|
|
23389
|
+
return self._AssetCategory
|
|
23390
|
+
|
|
23391
|
+
@AssetCategory.setter
|
|
23392
|
+
def AssetCategory(self, AssetCategory):
|
|
23393
|
+
self._AssetCategory = AssetCategory
|
|
23394
|
+
|
|
23395
|
+
@property
|
|
23396
|
+
def Protocol(self):
|
|
23397
|
+
r"""协议
|
|
23398
|
+
:rtype: str
|
|
23399
|
+
"""
|
|
23400
|
+
return self._Protocol
|
|
23401
|
+
|
|
23402
|
+
@Protocol.setter
|
|
23403
|
+
def Protocol(self, Protocol):
|
|
23404
|
+
self._Protocol = Protocol
|
|
23405
|
+
|
|
23406
|
+
@property
|
|
23407
|
+
def IdentificationSource(self):
|
|
23408
|
+
r"""识别来源
|
|
23409
|
+
"0": 流量识别
|
|
23410
|
+
"1": 云资产实例
|
|
23411
|
+
:rtype: str
|
|
23412
|
+
"""
|
|
23413
|
+
return self._IdentificationSource
|
|
23414
|
+
|
|
23415
|
+
@IdentificationSource.setter
|
|
23416
|
+
def IdentificationSource(self, IdentificationSource):
|
|
23417
|
+
self._IdentificationSource = IdentificationSource
|
|
23418
|
+
|
|
23419
|
+
@property
|
|
23420
|
+
def FirstIdentificationTime(self):
|
|
23421
|
+
r"""首次识别时间
|
|
23422
|
+
:rtype: str
|
|
23423
|
+
"""
|
|
23424
|
+
return self._FirstIdentificationTime
|
|
23425
|
+
|
|
23426
|
+
@FirstIdentificationTime.setter
|
|
23427
|
+
def FirstIdentificationTime(self, FirstIdentificationTime):
|
|
23428
|
+
self._FirstIdentificationTime = FirstIdentificationTime
|
|
23429
|
+
|
|
23430
|
+
@property
|
|
23431
|
+
def LatestIdentificationTime(self):
|
|
23432
|
+
r"""最近识别时间
|
|
23433
|
+
:rtype: str
|
|
23434
|
+
"""
|
|
23435
|
+
return self._LatestIdentificationTime
|
|
23436
|
+
|
|
23437
|
+
@LatestIdentificationTime.setter
|
|
23438
|
+
def LatestIdentificationTime(self, LatestIdentificationTime):
|
|
23439
|
+
self._LatestIdentificationTime = LatestIdentificationTime
|
|
23440
|
+
|
|
23441
|
+
@property
|
|
23442
|
+
def ServerAddr(self):
|
|
23443
|
+
r"""服务地址
|
|
23444
|
+
:rtype: str
|
|
23445
|
+
"""
|
|
23446
|
+
return self._ServerAddr
|
|
23447
|
+
|
|
23448
|
+
@ServerAddr.setter
|
|
23449
|
+
def ServerAddr(self, ServerAddr):
|
|
23450
|
+
self._ServerAddr = ServerAddr
|
|
23451
|
+
|
|
23452
|
+
|
|
23453
|
+
def _deserialize(self, params):
|
|
23454
|
+
self._AssetId = params.get("AssetId")
|
|
23455
|
+
self._InstanceId = params.get("InstanceId")
|
|
23456
|
+
self._InstanceName = params.get("InstanceName")
|
|
23457
|
+
self._InstanceType = params.get("InstanceType")
|
|
23458
|
+
self._Region = params.get("Region")
|
|
23459
|
+
self._VpcId = params.get("VpcId")
|
|
23460
|
+
self._VpcName = params.get("VpcName")
|
|
23461
|
+
self._Ip = params.get("Ip")
|
|
23462
|
+
self._Port = params.get("Port")
|
|
23463
|
+
self._IpVersion = params.get("IpVersion")
|
|
23464
|
+
self._IpType = params.get("IpType")
|
|
23465
|
+
self._AssetService = params.get("AssetService")
|
|
23466
|
+
self._AssetVersion = params.get("AssetVersion")
|
|
23467
|
+
self._AssetCategory = params.get("AssetCategory")
|
|
23468
|
+
self._Protocol = params.get("Protocol")
|
|
23469
|
+
self._IdentificationSource = params.get("IdentificationSource")
|
|
23470
|
+
self._FirstIdentificationTime = params.get("FirstIdentificationTime")
|
|
23471
|
+
self._LatestIdentificationTime = params.get("LatestIdentificationTime")
|
|
23472
|
+
self._ServerAddr = params.get("ServerAddr")
|
|
23473
|
+
memeber_set = set(params.keys())
|
|
23474
|
+
for name, value in vars(self).items():
|
|
23475
|
+
property_name = name[1:]
|
|
23476
|
+
if property_name in memeber_set:
|
|
23477
|
+
memeber_set.remove(property_name)
|
|
23478
|
+
if len(memeber_set) > 0:
|
|
23479
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23480
|
+
|
|
23481
|
+
|
|
23482
|
+
|
|
23483
|
+
class NDRAssetServiceStats(AbstractModel):
|
|
23484
|
+
r"""NDR资产服务统计结果
|
|
23485
|
+
|
|
23486
|
+
"""
|
|
23487
|
+
|
|
23488
|
+
def __init__(self):
|
|
23489
|
+
r"""
|
|
23490
|
+
:param _Name: 服务名称
|
|
23491
|
+
:type Name: str
|
|
23492
|
+
:param _Count: 服务计数
|
|
23493
|
+
:type Count: int
|
|
23494
|
+
"""
|
|
23495
|
+
self._Name = None
|
|
23496
|
+
self._Count = None
|
|
23497
|
+
|
|
23498
|
+
@property
|
|
23499
|
+
def Name(self):
|
|
23500
|
+
r"""服务名称
|
|
23501
|
+
:rtype: str
|
|
23502
|
+
"""
|
|
23503
|
+
return self._Name
|
|
23504
|
+
|
|
23505
|
+
@Name.setter
|
|
23506
|
+
def Name(self, Name):
|
|
23507
|
+
self._Name = Name
|
|
23508
|
+
|
|
23509
|
+
@property
|
|
23510
|
+
def Count(self):
|
|
23511
|
+
r"""服务计数
|
|
23512
|
+
:rtype: int
|
|
23513
|
+
"""
|
|
23514
|
+
return self._Count
|
|
23515
|
+
|
|
23516
|
+
@Count.setter
|
|
23517
|
+
def Count(self, Count):
|
|
23518
|
+
self._Count = Count
|
|
23519
|
+
|
|
23520
|
+
|
|
23521
|
+
def _deserialize(self, params):
|
|
23522
|
+
self._Name = params.get("Name")
|
|
23523
|
+
self._Count = params.get("Count")
|
|
23524
|
+
memeber_set = set(params.keys())
|
|
23525
|
+
for name, value in vars(self).items():
|
|
23526
|
+
property_name = name[1:]
|
|
23527
|
+
if property_name in memeber_set:
|
|
23528
|
+
memeber_set.remove(property_name)
|
|
23529
|
+
if len(memeber_set) > 0:
|
|
23530
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23531
|
+
|
|
23532
|
+
|
|
23533
|
+
|
|
23534
|
+
class NatFwEipsInfo(AbstractModel):
|
|
22733
23535
|
r"""Nat防火墙弹性公网ip列表
|
|
22734
23536
|
|
|
22735
23537
|
"""
|
|
@@ -23927,6 +24729,96 @@ class NewModeItems(AbstractModel):
|
|
|
23927
24729
|
|
|
23928
24730
|
|
|
23929
24731
|
|
|
24732
|
+
class OperatorFilter(AbstractModel):
|
|
24733
|
+
r"""查询过滤条件
|
|
24734
|
+
|
|
24735
|
+
"""
|
|
24736
|
+
|
|
24737
|
+
def __init__(self):
|
|
24738
|
+
r"""
|
|
24739
|
+
:param _Name: 过滤字段
|
|
24740
|
+
:type Name: str
|
|
24741
|
+
:param _Values: 匹配的值
|
|
24742
|
+
:type Values: list of str
|
|
24743
|
+
:param _OperatorType: 操作类型:
|
|
24744
|
+
1:等于 field = value
|
|
24745
|
+
2:大于 field > value
|
|
24746
|
+
3:小于 field < value
|
|
24747
|
+
4:大于等于 field >= value
|
|
24748
|
+
5:小于等于 field <= value
|
|
24749
|
+
6:不等于 field <> value
|
|
24750
|
+
7:IN field IN (value1, value2...)
|
|
24751
|
+
8:NOT IN field NOT IN (value1, value2...)
|
|
24752
|
+
9:模糊匹配 field LIKE value
|
|
24753
|
+
13:非模糊匹配 field NOT LIKE value
|
|
24754
|
+
14:按位与 field & value = value
|
|
24755
|
+
15:between and field between value1 and value2
|
|
24756
|
+
:type OperatorType: int
|
|
24757
|
+
"""
|
|
24758
|
+
self._Name = None
|
|
24759
|
+
self._Values = None
|
|
24760
|
+
self._OperatorType = None
|
|
24761
|
+
|
|
24762
|
+
@property
|
|
24763
|
+
def Name(self):
|
|
24764
|
+
r"""过滤字段
|
|
24765
|
+
:rtype: str
|
|
24766
|
+
"""
|
|
24767
|
+
return self._Name
|
|
24768
|
+
|
|
24769
|
+
@Name.setter
|
|
24770
|
+
def Name(self, Name):
|
|
24771
|
+
self._Name = Name
|
|
24772
|
+
|
|
24773
|
+
@property
|
|
24774
|
+
def Values(self):
|
|
24775
|
+
r"""匹配的值
|
|
24776
|
+
:rtype: list of str
|
|
24777
|
+
"""
|
|
24778
|
+
return self._Values
|
|
24779
|
+
|
|
24780
|
+
@Values.setter
|
|
24781
|
+
def Values(self, Values):
|
|
24782
|
+
self._Values = Values
|
|
24783
|
+
|
|
24784
|
+
@property
|
|
24785
|
+
def OperatorType(self):
|
|
24786
|
+
r"""操作类型:
|
|
24787
|
+
1:等于 field = value
|
|
24788
|
+
2:大于 field > value
|
|
24789
|
+
3:小于 field < value
|
|
24790
|
+
4:大于等于 field >= value
|
|
24791
|
+
5:小于等于 field <= value
|
|
24792
|
+
6:不等于 field <> value
|
|
24793
|
+
7:IN field IN (value1, value2...)
|
|
24794
|
+
8:NOT IN field NOT IN (value1, value2...)
|
|
24795
|
+
9:模糊匹配 field LIKE value
|
|
24796
|
+
13:非模糊匹配 field NOT LIKE value
|
|
24797
|
+
14:按位与 field & value = value
|
|
24798
|
+
15:between and field between value1 and value2
|
|
24799
|
+
:rtype: int
|
|
24800
|
+
"""
|
|
24801
|
+
return self._OperatorType
|
|
24802
|
+
|
|
24803
|
+
@OperatorType.setter
|
|
24804
|
+
def OperatorType(self, OperatorType):
|
|
24805
|
+
self._OperatorType = OperatorType
|
|
24806
|
+
|
|
24807
|
+
|
|
24808
|
+
def _deserialize(self, params):
|
|
24809
|
+
self._Name = params.get("Name")
|
|
24810
|
+
self._Values = params.get("Values")
|
|
24811
|
+
self._OperatorType = params.get("OperatorType")
|
|
24812
|
+
memeber_set = set(params.keys())
|
|
24813
|
+
for name, value in vars(self).items():
|
|
24814
|
+
property_name = name[1:]
|
|
24815
|
+
if property_name in memeber_set:
|
|
24816
|
+
memeber_set.remove(property_name)
|
|
24817
|
+
if len(memeber_set) > 0:
|
|
24818
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
24819
|
+
|
|
24820
|
+
|
|
24821
|
+
|
|
23930
24822
|
class RegionCidrConfig(AbstractModel):
|
|
23931
24823
|
r"""引流地域CIDR配置
|
|
23932
24824
|
|
|
@@ -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.79
|
|
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.79
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.79
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.74
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|