tencentcloud-sdk-python-cfw 3.1.152__py2.py3-none-any.whl → 3.1.166__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/cfw/v20190904/models.py +335 -78
- {tencentcloud_sdk_python_cfw-3.1.152.dist-info → tencentcloud_sdk_python_cfw-3.1.166.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_cfw-3.1.152.dist-info → tencentcloud_sdk_python_cfw-3.1.166.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_cfw-3.1.152.dist-info → tencentcloud_sdk_python_cfw-3.1.166.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_cfw-3.1.152.dist-info → tencentcloud_sdk_python_cfw-3.1.166.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -10298,22 +10298,24 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10298
10298
|
|
|
10299
10299
|
def __init__(self):
|
|
10300
10300
|
r"""
|
|
10301
|
-
:param _Offset:
|
|
10301
|
+
:param _Offset: <p>偏移量,分页用</p>
|
|
10302
10302
|
:type Offset: int
|
|
10303
|
-
:param _Limit:
|
|
10303
|
+
:param _Limit: <p>条数,分页用</p>
|
|
10304
10304
|
:type Limit: int
|
|
10305
|
-
:param _By:
|
|
10305
|
+
:param _By: <p>排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数</p>
|
|
10306
10306
|
:type By: str
|
|
10307
|
-
:param _Order:
|
|
10307
|
+
:param _Order: <p>排序,取值 :asc正序,desc逆序</p>
|
|
10308
10308
|
:type Order: str
|
|
10309
|
-
:param _SearchValue:
|
|
10309
|
+
:param _SearchValue: <p>搜索值</p>
|
|
10310
10310
|
:type SearchValue: str
|
|
10311
|
-
:param _Uuid:
|
|
10311
|
+
:param _Uuid: <p>检索地址模板唯一id</p>
|
|
10312
10312
|
:type Uuid: str
|
|
10313
|
-
:param _TemplateType:
|
|
10313
|
+
:param _TemplateType: <p>模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板</p>
|
|
10314
10314
|
:type TemplateType: str
|
|
10315
|
-
:param _TemplateId:
|
|
10315
|
+
:param _TemplateId: <p>模板Id</p>
|
|
10316
10316
|
:type TemplateId: str
|
|
10317
|
+
:param _SourceType: <p>模板来源</p>
|
|
10318
|
+
:type SourceType: str
|
|
10317
10319
|
"""
|
|
10318
10320
|
self._Offset = None
|
|
10319
10321
|
self._Limit = None
|
|
@@ -10323,10 +10325,11 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10323
10325
|
self._Uuid = None
|
|
10324
10326
|
self._TemplateType = None
|
|
10325
10327
|
self._TemplateId = None
|
|
10328
|
+
self._SourceType = None
|
|
10326
10329
|
|
|
10327
10330
|
@property
|
|
10328
10331
|
def Offset(self):
|
|
10329
|
-
r"""
|
|
10332
|
+
r"""<p>偏移量,分页用</p>
|
|
10330
10333
|
:rtype: int
|
|
10331
10334
|
"""
|
|
10332
10335
|
return self._Offset
|
|
@@ -10337,7 +10340,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10337
10340
|
|
|
10338
10341
|
@property
|
|
10339
10342
|
def Limit(self):
|
|
10340
|
-
r"""
|
|
10343
|
+
r"""<p>条数,分页用</p>
|
|
10341
10344
|
:rtype: int
|
|
10342
10345
|
"""
|
|
10343
10346
|
return self._Limit
|
|
@@ -10348,7 +10351,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10348
10351
|
|
|
10349
10352
|
@property
|
|
10350
10353
|
def By(self):
|
|
10351
|
-
r"""
|
|
10354
|
+
r"""<p>排序字段,取值:UpdateTime最近更新时间,RulesNum关联规则数</p>
|
|
10352
10355
|
:rtype: str
|
|
10353
10356
|
"""
|
|
10354
10357
|
return self._By
|
|
@@ -10359,7 +10362,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10359
10362
|
|
|
10360
10363
|
@property
|
|
10361
10364
|
def Order(self):
|
|
10362
|
-
r"""
|
|
10365
|
+
r"""<p>排序,取值 :asc正序,desc逆序</p>
|
|
10363
10366
|
:rtype: str
|
|
10364
10367
|
"""
|
|
10365
10368
|
return self._Order
|
|
@@ -10370,7 +10373,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10370
10373
|
|
|
10371
10374
|
@property
|
|
10372
10375
|
def SearchValue(self):
|
|
10373
|
-
r"""
|
|
10376
|
+
r"""<p>搜索值</p>
|
|
10374
10377
|
:rtype: str
|
|
10375
10378
|
"""
|
|
10376
10379
|
return self._SearchValue
|
|
@@ -10381,7 +10384,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10381
10384
|
|
|
10382
10385
|
@property
|
|
10383
10386
|
def Uuid(self):
|
|
10384
|
-
r"""
|
|
10387
|
+
r"""<p>检索地址模板唯一id</p>
|
|
10385
10388
|
:rtype: str
|
|
10386
10389
|
"""
|
|
10387
10390
|
return self._Uuid
|
|
@@ -10392,7 +10395,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10392
10395
|
|
|
10393
10396
|
@property
|
|
10394
10397
|
def TemplateType(self):
|
|
10395
|
-
r"""
|
|
10398
|
+
r"""<p>模板类型,取值:1:ip模板,5:域名模板,6:协议端口模板</p>
|
|
10396
10399
|
:rtype: str
|
|
10397
10400
|
"""
|
|
10398
10401
|
return self._TemplateType
|
|
@@ -10403,7 +10406,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10403
10406
|
|
|
10404
10407
|
@property
|
|
10405
10408
|
def TemplateId(self):
|
|
10406
|
-
r"""
|
|
10409
|
+
r"""<p>模板Id</p>
|
|
10407
10410
|
:rtype: str
|
|
10408
10411
|
"""
|
|
10409
10412
|
return self._TemplateId
|
|
@@ -10412,6 +10415,17 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10412
10415
|
def TemplateId(self, TemplateId):
|
|
10413
10416
|
self._TemplateId = TemplateId
|
|
10414
10417
|
|
|
10418
|
+
@property
|
|
10419
|
+
def SourceType(self):
|
|
10420
|
+
r"""<p>模板来源</p>
|
|
10421
|
+
:rtype: str
|
|
10422
|
+
"""
|
|
10423
|
+
return self._SourceType
|
|
10424
|
+
|
|
10425
|
+
@SourceType.setter
|
|
10426
|
+
def SourceType(self, SourceType):
|
|
10427
|
+
self._SourceType = SourceType
|
|
10428
|
+
|
|
10415
10429
|
|
|
10416
10430
|
def _deserialize(self, params):
|
|
10417
10431
|
self._Offset = params.get("Offset")
|
|
@@ -10422,6 +10436,7 @@ class DescribeAddressTemplateListRequest(AbstractModel):
|
|
|
10422
10436
|
self._Uuid = params.get("Uuid")
|
|
10423
10437
|
self._TemplateType = params.get("TemplateType")
|
|
10424
10438
|
self._TemplateId = params.get("TemplateId")
|
|
10439
|
+
self._SourceType = params.get("SourceType")
|
|
10425
10440
|
memeber_set = set(params.keys())
|
|
10426
10441
|
for name, value in vars(self).items():
|
|
10427
10442
|
property_name = name[1:]
|
|
@@ -10439,22 +10454,24 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10439
10454
|
|
|
10440
10455
|
def __init__(self):
|
|
10441
10456
|
r"""
|
|
10442
|
-
:param _Total:
|
|
10457
|
+
:param _Total: <p>模板总数</p>
|
|
10443
10458
|
:type Total: int
|
|
10444
|
-
:param _Data:
|
|
10459
|
+
:param _Data: <p>模板列表数据</p>
|
|
10445
10460
|
:type Data: list of TemplateListInfo
|
|
10446
|
-
:param _NameList:
|
|
10461
|
+
:param _NameList: <p>模板名称列表</p>
|
|
10447
10462
|
:type NameList: list of str
|
|
10448
|
-
:param _IpTemplateCount: Ip
|
|
10463
|
+
:param _IpTemplateCount: <p>Ip地址模板数量</p>
|
|
10449
10464
|
:type IpTemplateCount: int
|
|
10450
|
-
:param _DomainTemplateCount:
|
|
10465
|
+
:param _DomainTemplateCount: <p>域名地址模板数量</p>
|
|
10451
10466
|
:type DomainTemplateCount: int
|
|
10452
|
-
:param _PortTemplateCount:
|
|
10467
|
+
:param _PortTemplateCount: <p>协议端口模板数量</p>
|
|
10453
10468
|
:type PortTemplateCount: int
|
|
10454
|
-
:param _UsedTemplateCount:
|
|
10469
|
+
:param _UsedTemplateCount: <p>已使用的地址模板数</p>
|
|
10455
10470
|
:type UsedTemplateCount: int
|
|
10456
|
-
:param _TemplateQuotaCount:
|
|
10471
|
+
:param _TemplateQuotaCount: <p>地址模板配额数量</p>
|
|
10457
10472
|
:type TemplateQuotaCount: int
|
|
10473
|
+
:param _TkeTemplateCount: <p>容器服务地址模板数量</p>
|
|
10474
|
+
:type TkeTemplateCount: int
|
|
10458
10475
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10459
10476
|
:type RequestId: str
|
|
10460
10477
|
"""
|
|
@@ -10466,11 +10483,12 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10466
10483
|
self._PortTemplateCount = None
|
|
10467
10484
|
self._UsedTemplateCount = None
|
|
10468
10485
|
self._TemplateQuotaCount = None
|
|
10486
|
+
self._TkeTemplateCount = None
|
|
10469
10487
|
self._RequestId = None
|
|
10470
10488
|
|
|
10471
10489
|
@property
|
|
10472
10490
|
def Total(self):
|
|
10473
|
-
r"""
|
|
10491
|
+
r"""<p>模板总数</p>
|
|
10474
10492
|
:rtype: int
|
|
10475
10493
|
"""
|
|
10476
10494
|
return self._Total
|
|
@@ -10481,7 +10499,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10481
10499
|
|
|
10482
10500
|
@property
|
|
10483
10501
|
def Data(self):
|
|
10484
|
-
r"""
|
|
10502
|
+
r"""<p>模板列表数据</p>
|
|
10485
10503
|
:rtype: list of TemplateListInfo
|
|
10486
10504
|
"""
|
|
10487
10505
|
return self._Data
|
|
@@ -10492,7 +10510,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10492
10510
|
|
|
10493
10511
|
@property
|
|
10494
10512
|
def NameList(self):
|
|
10495
|
-
r"""
|
|
10513
|
+
r"""<p>模板名称列表</p>
|
|
10496
10514
|
:rtype: list of str
|
|
10497
10515
|
"""
|
|
10498
10516
|
return self._NameList
|
|
@@ -10503,7 +10521,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10503
10521
|
|
|
10504
10522
|
@property
|
|
10505
10523
|
def IpTemplateCount(self):
|
|
10506
|
-
r"""Ip
|
|
10524
|
+
r"""<p>Ip地址模板数量</p>
|
|
10507
10525
|
:rtype: int
|
|
10508
10526
|
"""
|
|
10509
10527
|
return self._IpTemplateCount
|
|
@@ -10514,7 +10532,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10514
10532
|
|
|
10515
10533
|
@property
|
|
10516
10534
|
def DomainTemplateCount(self):
|
|
10517
|
-
r"""
|
|
10535
|
+
r"""<p>域名地址模板数量</p>
|
|
10518
10536
|
:rtype: int
|
|
10519
10537
|
"""
|
|
10520
10538
|
return self._DomainTemplateCount
|
|
@@ -10525,7 +10543,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10525
10543
|
|
|
10526
10544
|
@property
|
|
10527
10545
|
def PortTemplateCount(self):
|
|
10528
|
-
r"""
|
|
10546
|
+
r"""<p>协议端口模板数量</p>
|
|
10529
10547
|
:rtype: int
|
|
10530
10548
|
"""
|
|
10531
10549
|
return self._PortTemplateCount
|
|
@@ -10536,7 +10554,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10536
10554
|
|
|
10537
10555
|
@property
|
|
10538
10556
|
def UsedTemplateCount(self):
|
|
10539
|
-
r"""
|
|
10557
|
+
r"""<p>已使用的地址模板数</p>
|
|
10540
10558
|
:rtype: int
|
|
10541
10559
|
"""
|
|
10542
10560
|
return self._UsedTemplateCount
|
|
@@ -10547,7 +10565,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10547
10565
|
|
|
10548
10566
|
@property
|
|
10549
10567
|
def TemplateQuotaCount(self):
|
|
10550
|
-
r"""
|
|
10568
|
+
r"""<p>地址模板配额数量</p>
|
|
10551
10569
|
:rtype: int
|
|
10552
10570
|
"""
|
|
10553
10571
|
return self._TemplateQuotaCount
|
|
@@ -10556,6 +10574,17 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10556
10574
|
def TemplateQuotaCount(self, TemplateQuotaCount):
|
|
10557
10575
|
self._TemplateQuotaCount = TemplateQuotaCount
|
|
10558
10576
|
|
|
10577
|
+
@property
|
|
10578
|
+
def TkeTemplateCount(self):
|
|
10579
|
+
r"""<p>容器服务地址模板数量</p>
|
|
10580
|
+
:rtype: int
|
|
10581
|
+
"""
|
|
10582
|
+
return self._TkeTemplateCount
|
|
10583
|
+
|
|
10584
|
+
@TkeTemplateCount.setter
|
|
10585
|
+
def TkeTemplateCount(self, TkeTemplateCount):
|
|
10586
|
+
self._TkeTemplateCount = TkeTemplateCount
|
|
10587
|
+
|
|
10559
10588
|
@property
|
|
10560
10589
|
def RequestId(self):
|
|
10561
10590
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -10582,6 +10611,7 @@ class DescribeAddressTemplateListResponse(AbstractModel):
|
|
|
10582
10611
|
self._PortTemplateCount = params.get("PortTemplateCount")
|
|
10583
10612
|
self._UsedTemplateCount = params.get("UsedTemplateCount")
|
|
10584
10613
|
self._TemplateQuotaCount = params.get("TemplateQuotaCount")
|
|
10614
|
+
self._TkeTemplateCount = params.get("TkeTemplateCount")
|
|
10585
10615
|
self._RequestId = params.get("RequestId")
|
|
10586
10616
|
|
|
10587
10617
|
|
|
@@ -16345,17 +16375,17 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16345
16375
|
|
|
16346
16376
|
def __init__(self):
|
|
16347
16377
|
r"""
|
|
16348
|
-
:param _Limit:
|
|
16378
|
+
:param _Limit: <p>每页条数</p>
|
|
16349
16379
|
:type Limit: int
|
|
16350
|
-
:param _Offset:
|
|
16380
|
+
:param _Offset: <p>偏移值</p>
|
|
16351
16381
|
:type Offset: int
|
|
16352
|
-
:param _Index:
|
|
16382
|
+
:param _Index: <p>需要查询的索引,特定场景使用,可不填</p>
|
|
16353
16383
|
:type Index: str
|
|
16354
|
-
:param _Filters:
|
|
16384
|
+
:param _Filters: <p>过滤条件组合</p>
|
|
16355
16385
|
:type Filters: list of CommonFilter
|
|
16356
|
-
:param _Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By
|
|
16386
|
+
:param _Order: <p>desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值</p>
|
|
16357
16387
|
:type Order: str
|
|
16358
|
-
:param _By:
|
|
16388
|
+
:param _By: <p>排序所用到的字段</p>
|
|
16359
16389
|
:type By: str
|
|
16360
16390
|
"""
|
|
16361
16391
|
self._Limit = None
|
|
@@ -16367,7 +16397,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16367
16397
|
|
|
16368
16398
|
@property
|
|
16369
16399
|
def Limit(self):
|
|
16370
|
-
r"""
|
|
16400
|
+
r"""<p>每页条数</p>
|
|
16371
16401
|
:rtype: int
|
|
16372
16402
|
"""
|
|
16373
16403
|
return self._Limit
|
|
@@ -16378,7 +16408,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16378
16408
|
|
|
16379
16409
|
@property
|
|
16380
16410
|
def Offset(self):
|
|
16381
|
-
r"""
|
|
16411
|
+
r"""<p>偏移值</p>
|
|
16382
16412
|
:rtype: int
|
|
16383
16413
|
"""
|
|
16384
16414
|
return self._Offset
|
|
@@ -16389,7 +16419,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16389
16419
|
|
|
16390
16420
|
@property
|
|
16391
16421
|
def Index(self):
|
|
16392
|
-
r"""
|
|
16422
|
+
r"""<p>需要查询的索引,特定场景使用,可不填</p>
|
|
16393
16423
|
:rtype: str
|
|
16394
16424
|
"""
|
|
16395
16425
|
return self._Index
|
|
@@ -16400,7 +16430,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16400
16430
|
|
|
16401
16431
|
@property
|
|
16402
16432
|
def Filters(self):
|
|
16403
|
-
r"""
|
|
16433
|
+
r"""<p>过滤条件组合</p>
|
|
16404
16434
|
:rtype: list of CommonFilter
|
|
16405
16435
|
"""
|
|
16406
16436
|
return self._Filters
|
|
@@ -16411,7 +16441,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16411
16441
|
|
|
16412
16442
|
@property
|
|
16413
16443
|
def Order(self):
|
|
16414
|
-
r"""desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By
|
|
16444
|
+
r"""<p>desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值</p>
|
|
16415
16445
|
:rtype: str
|
|
16416
16446
|
"""
|
|
16417
16447
|
return self._Order
|
|
@@ -16422,7 +16452,7 @@ class DescribeIpsRuleListNewRequest(AbstractModel):
|
|
|
16422
16452
|
|
|
16423
16453
|
@property
|
|
16424
16454
|
def By(self):
|
|
16425
|
-
r"""
|
|
16455
|
+
r"""<p>排序所用到的字段</p>
|
|
16426
16456
|
:rtype: str
|
|
16427
16457
|
"""
|
|
16428
16458
|
return self._By
|
|
@@ -16461,15 +16491,15 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16461
16491
|
|
|
16462
16492
|
def __init__(self):
|
|
16463
16493
|
r"""
|
|
16464
|
-
:param _Total:
|
|
16494
|
+
:param _Total: <p>总条数</p>
|
|
16465
16495
|
:type Total: int
|
|
16466
|
-
:param _Data:
|
|
16496
|
+
:param _Data: <p>规则详情</p>
|
|
16467
16497
|
:type Data: list of IpsRuleDetailNew
|
|
16468
|
-
:param _ReturnCode:
|
|
16498
|
+
:param _ReturnCode: <p>返回状态码 0 成功 非0不成功</p>
|
|
16469
16499
|
:type ReturnCode: int
|
|
16470
|
-
:param _ReturnMsg:
|
|
16500
|
+
:param _ReturnMsg: <p>返回信息 success 成功 其他 不成功</p>
|
|
16471
16501
|
:type ReturnMsg: str
|
|
16472
|
-
:param _Category:
|
|
16502
|
+
:param _Category: <p>字段类型</p>
|
|
16473
16503
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16474
16504
|
:type Category: list of str
|
|
16475
16505
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -16484,7 +16514,7 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16484
16514
|
|
|
16485
16515
|
@property
|
|
16486
16516
|
def Total(self):
|
|
16487
|
-
r"""
|
|
16517
|
+
r"""<p>总条数</p>
|
|
16488
16518
|
:rtype: int
|
|
16489
16519
|
"""
|
|
16490
16520
|
return self._Total
|
|
@@ -16495,7 +16525,7 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16495
16525
|
|
|
16496
16526
|
@property
|
|
16497
16527
|
def Data(self):
|
|
16498
|
-
r"""
|
|
16528
|
+
r"""<p>规则详情</p>
|
|
16499
16529
|
:rtype: list of IpsRuleDetailNew
|
|
16500
16530
|
"""
|
|
16501
16531
|
return self._Data
|
|
@@ -16506,7 +16536,7 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16506
16536
|
|
|
16507
16537
|
@property
|
|
16508
16538
|
def ReturnCode(self):
|
|
16509
|
-
r"""
|
|
16539
|
+
r"""<p>返回状态码 0 成功 非0不成功</p>
|
|
16510
16540
|
:rtype: int
|
|
16511
16541
|
"""
|
|
16512
16542
|
return self._ReturnCode
|
|
@@ -16517,7 +16547,7 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16517
16547
|
|
|
16518
16548
|
@property
|
|
16519
16549
|
def ReturnMsg(self):
|
|
16520
|
-
r"""
|
|
16550
|
+
r"""<p>返回信息 success 成功 其他 不成功</p>
|
|
16521
16551
|
:rtype: str
|
|
16522
16552
|
"""
|
|
16523
16553
|
return self._ReturnMsg
|
|
@@ -16528,7 +16558,7 @@ class DescribeIpsRuleListNewResponse(AbstractModel):
|
|
|
16528
16558
|
|
|
16529
16559
|
@property
|
|
16530
16560
|
def Category(self):
|
|
16531
|
-
r"""
|
|
16561
|
+
r"""<p>字段类型</p>
|
|
16532
16562
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
16533
16563
|
:rtype: list of str
|
|
16534
16564
|
"""
|
|
@@ -25869,6 +25899,233 @@ class IpsRuleDetailNew(AbstractModel):
|
|
|
25869
25899
|
|
|
25870
25900
|
"""
|
|
25871
25901
|
|
|
25902
|
+
def __init__(self):
|
|
25903
|
+
r"""
|
|
25904
|
+
:param _RuleID: <p>规则ID</p>
|
|
25905
|
+
:type RuleID: str
|
|
25906
|
+
:param _EventName: <p>规则名称</p>
|
|
25907
|
+
:type EventName: str
|
|
25908
|
+
:param _EventNameDesc: <p>规则描述</p>
|
|
25909
|
+
:type EventNameDesc: str
|
|
25910
|
+
:param _Category: <p>规则类型</p>
|
|
25911
|
+
:type Category: str
|
|
25912
|
+
:param _Confidence: <p>置信度</p>
|
|
25913
|
+
:type Confidence: str
|
|
25914
|
+
:param _Id: <p>自增id</p>
|
|
25915
|
+
:type Id: int
|
|
25916
|
+
:param _VulTarget: <p>漏洞对象</p>
|
|
25917
|
+
:type VulTarget: str
|
|
25918
|
+
:param _Cve: <p>漏洞编号</p>
|
|
25919
|
+
:type Cve: str
|
|
25920
|
+
:param _Status: <p>状态 0 关闭 1打开</p>
|
|
25921
|
+
:type Status: int
|
|
25922
|
+
:param _Action: <p>0观察, 1阻断</p>
|
|
25923
|
+
:type Action: int
|
|
25924
|
+
:param _DefaultAction: <p>默认策略</p>
|
|
25925
|
+
:type DefaultAction: int
|
|
25926
|
+
:param _RuleType: <p>基础防御/虚拟补丁</p>
|
|
25927
|
+
:type RuleType: int
|
|
25928
|
+
:param _Level: <p>危险等级</p>
|
|
25929
|
+
:type Level: str
|
|
25930
|
+
:param _FwType: <p>FwType字段 1 border 2 nat 4 vpc</p>
|
|
25931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25932
|
+
:type FwType: int
|
|
25933
|
+
"""
|
|
25934
|
+
self._RuleID = None
|
|
25935
|
+
self._EventName = None
|
|
25936
|
+
self._EventNameDesc = None
|
|
25937
|
+
self._Category = None
|
|
25938
|
+
self._Confidence = None
|
|
25939
|
+
self._Id = None
|
|
25940
|
+
self._VulTarget = None
|
|
25941
|
+
self._Cve = None
|
|
25942
|
+
self._Status = None
|
|
25943
|
+
self._Action = None
|
|
25944
|
+
self._DefaultAction = None
|
|
25945
|
+
self._RuleType = None
|
|
25946
|
+
self._Level = None
|
|
25947
|
+
self._FwType = None
|
|
25948
|
+
|
|
25949
|
+
@property
|
|
25950
|
+
def RuleID(self):
|
|
25951
|
+
r"""<p>规则ID</p>
|
|
25952
|
+
:rtype: str
|
|
25953
|
+
"""
|
|
25954
|
+
return self._RuleID
|
|
25955
|
+
|
|
25956
|
+
@RuleID.setter
|
|
25957
|
+
def RuleID(self, RuleID):
|
|
25958
|
+
self._RuleID = RuleID
|
|
25959
|
+
|
|
25960
|
+
@property
|
|
25961
|
+
def EventName(self):
|
|
25962
|
+
r"""<p>规则名称</p>
|
|
25963
|
+
:rtype: str
|
|
25964
|
+
"""
|
|
25965
|
+
return self._EventName
|
|
25966
|
+
|
|
25967
|
+
@EventName.setter
|
|
25968
|
+
def EventName(self, EventName):
|
|
25969
|
+
self._EventName = EventName
|
|
25970
|
+
|
|
25971
|
+
@property
|
|
25972
|
+
def EventNameDesc(self):
|
|
25973
|
+
r"""<p>规则描述</p>
|
|
25974
|
+
:rtype: str
|
|
25975
|
+
"""
|
|
25976
|
+
return self._EventNameDesc
|
|
25977
|
+
|
|
25978
|
+
@EventNameDesc.setter
|
|
25979
|
+
def EventNameDesc(self, EventNameDesc):
|
|
25980
|
+
self._EventNameDesc = EventNameDesc
|
|
25981
|
+
|
|
25982
|
+
@property
|
|
25983
|
+
def Category(self):
|
|
25984
|
+
r"""<p>规则类型</p>
|
|
25985
|
+
:rtype: str
|
|
25986
|
+
"""
|
|
25987
|
+
return self._Category
|
|
25988
|
+
|
|
25989
|
+
@Category.setter
|
|
25990
|
+
def Category(self, Category):
|
|
25991
|
+
self._Category = Category
|
|
25992
|
+
|
|
25993
|
+
@property
|
|
25994
|
+
def Confidence(self):
|
|
25995
|
+
r"""<p>置信度</p>
|
|
25996
|
+
:rtype: str
|
|
25997
|
+
"""
|
|
25998
|
+
return self._Confidence
|
|
25999
|
+
|
|
26000
|
+
@Confidence.setter
|
|
26001
|
+
def Confidence(self, Confidence):
|
|
26002
|
+
self._Confidence = Confidence
|
|
26003
|
+
|
|
26004
|
+
@property
|
|
26005
|
+
def Id(self):
|
|
26006
|
+
r"""<p>自增id</p>
|
|
26007
|
+
:rtype: int
|
|
26008
|
+
"""
|
|
26009
|
+
return self._Id
|
|
26010
|
+
|
|
26011
|
+
@Id.setter
|
|
26012
|
+
def Id(self, Id):
|
|
26013
|
+
self._Id = Id
|
|
26014
|
+
|
|
26015
|
+
@property
|
|
26016
|
+
def VulTarget(self):
|
|
26017
|
+
r"""<p>漏洞对象</p>
|
|
26018
|
+
:rtype: str
|
|
26019
|
+
"""
|
|
26020
|
+
return self._VulTarget
|
|
26021
|
+
|
|
26022
|
+
@VulTarget.setter
|
|
26023
|
+
def VulTarget(self, VulTarget):
|
|
26024
|
+
self._VulTarget = VulTarget
|
|
26025
|
+
|
|
26026
|
+
@property
|
|
26027
|
+
def Cve(self):
|
|
26028
|
+
r"""<p>漏洞编号</p>
|
|
26029
|
+
:rtype: str
|
|
26030
|
+
"""
|
|
26031
|
+
return self._Cve
|
|
26032
|
+
|
|
26033
|
+
@Cve.setter
|
|
26034
|
+
def Cve(self, Cve):
|
|
26035
|
+
self._Cve = Cve
|
|
26036
|
+
|
|
26037
|
+
@property
|
|
26038
|
+
def Status(self):
|
|
26039
|
+
r"""<p>状态 0 关闭 1打开</p>
|
|
26040
|
+
:rtype: int
|
|
26041
|
+
"""
|
|
26042
|
+
return self._Status
|
|
26043
|
+
|
|
26044
|
+
@Status.setter
|
|
26045
|
+
def Status(self, Status):
|
|
26046
|
+
self._Status = Status
|
|
26047
|
+
|
|
26048
|
+
@property
|
|
26049
|
+
def Action(self):
|
|
26050
|
+
r"""<p>0观察, 1阻断</p>
|
|
26051
|
+
:rtype: int
|
|
26052
|
+
"""
|
|
26053
|
+
return self._Action
|
|
26054
|
+
|
|
26055
|
+
@Action.setter
|
|
26056
|
+
def Action(self, Action):
|
|
26057
|
+
self._Action = Action
|
|
26058
|
+
|
|
26059
|
+
@property
|
|
26060
|
+
def DefaultAction(self):
|
|
26061
|
+
r"""<p>默认策略</p>
|
|
26062
|
+
:rtype: int
|
|
26063
|
+
"""
|
|
26064
|
+
return self._DefaultAction
|
|
26065
|
+
|
|
26066
|
+
@DefaultAction.setter
|
|
26067
|
+
def DefaultAction(self, DefaultAction):
|
|
26068
|
+
self._DefaultAction = DefaultAction
|
|
26069
|
+
|
|
26070
|
+
@property
|
|
26071
|
+
def RuleType(self):
|
|
26072
|
+
r"""<p>基础防御/虚拟补丁</p>
|
|
26073
|
+
:rtype: int
|
|
26074
|
+
"""
|
|
26075
|
+
return self._RuleType
|
|
26076
|
+
|
|
26077
|
+
@RuleType.setter
|
|
26078
|
+
def RuleType(self, RuleType):
|
|
26079
|
+
self._RuleType = RuleType
|
|
26080
|
+
|
|
26081
|
+
@property
|
|
26082
|
+
def Level(self):
|
|
26083
|
+
r"""<p>危险等级</p>
|
|
26084
|
+
:rtype: str
|
|
26085
|
+
"""
|
|
26086
|
+
return self._Level
|
|
26087
|
+
|
|
26088
|
+
@Level.setter
|
|
26089
|
+
def Level(self, Level):
|
|
26090
|
+
self._Level = Level
|
|
26091
|
+
|
|
26092
|
+
@property
|
|
26093
|
+
def FwType(self):
|
|
26094
|
+
r"""<p>FwType字段 1 border 2 nat 4 vpc</p>
|
|
26095
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
26096
|
+
:rtype: int
|
|
26097
|
+
"""
|
|
26098
|
+
return self._FwType
|
|
26099
|
+
|
|
26100
|
+
@FwType.setter
|
|
26101
|
+
def FwType(self, FwType):
|
|
26102
|
+
self._FwType = FwType
|
|
26103
|
+
|
|
26104
|
+
|
|
26105
|
+
def _deserialize(self, params):
|
|
26106
|
+
self._RuleID = params.get("RuleID")
|
|
26107
|
+
self._EventName = params.get("EventName")
|
|
26108
|
+
self._EventNameDesc = params.get("EventNameDesc")
|
|
26109
|
+
self._Category = params.get("Category")
|
|
26110
|
+
self._Confidence = params.get("Confidence")
|
|
26111
|
+
self._Id = params.get("Id")
|
|
26112
|
+
self._VulTarget = params.get("VulTarget")
|
|
26113
|
+
self._Cve = params.get("Cve")
|
|
26114
|
+
self._Status = params.get("Status")
|
|
26115
|
+
self._Action = params.get("Action")
|
|
26116
|
+
self._DefaultAction = params.get("DefaultAction")
|
|
26117
|
+
self._RuleType = params.get("RuleType")
|
|
26118
|
+
self._Level = params.get("Level")
|
|
26119
|
+
self._FwType = params.get("FwType")
|
|
26120
|
+
memeber_set = set(params.keys())
|
|
26121
|
+
for name, value in vars(self).items():
|
|
26122
|
+
property_name = name[1:]
|
|
26123
|
+
if property_name in memeber_set:
|
|
26124
|
+
memeber_set.remove(property_name)
|
|
26125
|
+
if len(memeber_set) > 0:
|
|
26126
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
26127
|
+
|
|
26128
|
+
|
|
25872
26129
|
|
|
25873
26130
|
class LogInfo(AbstractModel):
|
|
25874
26131
|
r"""日志结果信息
|
|
@@ -38274,29 +38531,29 @@ class TemplateListInfo(AbstractModel):
|
|
|
38274
38531
|
|
|
38275
38532
|
def __init__(self):
|
|
38276
38533
|
r"""
|
|
38277
|
-
:param _Uuid:
|
|
38534
|
+
:param _Uuid: <p>模板ID</p>
|
|
38278
38535
|
:type Uuid: str
|
|
38279
|
-
:param _Name:
|
|
38536
|
+
:param _Name: <p>模板名称</p>
|
|
38280
38537
|
:type Name: str
|
|
38281
|
-
:param _Detail:
|
|
38538
|
+
:param _Detail: <p>描述</p>
|
|
38282
38539
|
:type Detail: str
|
|
38283
|
-
:param _IpString: IP
|
|
38540
|
+
:param _IpString: <p>IP模板</p>
|
|
38284
38541
|
:type IpString: str
|
|
38285
|
-
:param _InsertTime:
|
|
38542
|
+
:param _InsertTime: <p>插入时间</p>
|
|
38286
38543
|
:type InsertTime: str
|
|
38287
|
-
:param _UpdateTime:
|
|
38544
|
+
:param _UpdateTime: <p>修改时间</p>
|
|
38288
38545
|
:type UpdateTime: str
|
|
38289
|
-
:param _Type:
|
|
38546
|
+
:param _Type: <p>模板类型</p>
|
|
38290
38547
|
:type Type: int
|
|
38291
|
-
:param _RulesNum:
|
|
38548
|
+
:param _RulesNum: <p>关联规则条数</p>
|
|
38292
38549
|
:type RulesNum: int
|
|
38293
|
-
:param _TemplateId:
|
|
38550
|
+
:param _TemplateId: <p>模板Id</p>
|
|
38294
38551
|
:type TemplateId: str
|
|
38295
|
-
:param _ProtocolType:
|
|
38552
|
+
:param _ProtocolType: <p>协议端口模板,协议类型,4:4层协议,7:7层协议</p>
|
|
38296
38553
|
:type ProtocolType: str
|
|
38297
|
-
:param _IPNum:
|
|
38554
|
+
:param _IPNum: <p>模板包含地址数量</p>
|
|
38298
38555
|
:type IPNum: int
|
|
38299
|
-
:param _IpVersion: IP版本,0,IPv4;1,IPv6
|
|
38556
|
+
:param _IpVersion: <p>IP版本,0,IPv4;1,IPv6</p>
|
|
38300
38557
|
:type IpVersion: int
|
|
38301
38558
|
"""
|
|
38302
38559
|
self._Uuid = None
|
|
@@ -38314,7 +38571,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38314
38571
|
|
|
38315
38572
|
@property
|
|
38316
38573
|
def Uuid(self):
|
|
38317
|
-
r"""
|
|
38574
|
+
r"""<p>模板ID</p>
|
|
38318
38575
|
:rtype: str
|
|
38319
38576
|
"""
|
|
38320
38577
|
return self._Uuid
|
|
@@ -38325,7 +38582,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38325
38582
|
|
|
38326
38583
|
@property
|
|
38327
38584
|
def Name(self):
|
|
38328
|
-
r"""
|
|
38585
|
+
r"""<p>模板名称</p>
|
|
38329
38586
|
:rtype: str
|
|
38330
38587
|
"""
|
|
38331
38588
|
return self._Name
|
|
@@ -38336,7 +38593,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38336
38593
|
|
|
38337
38594
|
@property
|
|
38338
38595
|
def Detail(self):
|
|
38339
|
-
r"""
|
|
38596
|
+
r"""<p>描述</p>
|
|
38340
38597
|
:rtype: str
|
|
38341
38598
|
"""
|
|
38342
38599
|
return self._Detail
|
|
@@ -38347,7 +38604,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38347
38604
|
|
|
38348
38605
|
@property
|
|
38349
38606
|
def IpString(self):
|
|
38350
|
-
r"""IP
|
|
38607
|
+
r"""<p>IP模板</p>
|
|
38351
38608
|
:rtype: str
|
|
38352
38609
|
"""
|
|
38353
38610
|
return self._IpString
|
|
@@ -38358,7 +38615,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38358
38615
|
|
|
38359
38616
|
@property
|
|
38360
38617
|
def InsertTime(self):
|
|
38361
|
-
r"""
|
|
38618
|
+
r"""<p>插入时间</p>
|
|
38362
38619
|
:rtype: str
|
|
38363
38620
|
"""
|
|
38364
38621
|
return self._InsertTime
|
|
@@ -38369,7 +38626,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38369
38626
|
|
|
38370
38627
|
@property
|
|
38371
38628
|
def UpdateTime(self):
|
|
38372
|
-
r"""
|
|
38629
|
+
r"""<p>修改时间</p>
|
|
38373
38630
|
:rtype: str
|
|
38374
38631
|
"""
|
|
38375
38632
|
return self._UpdateTime
|
|
@@ -38380,7 +38637,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38380
38637
|
|
|
38381
38638
|
@property
|
|
38382
38639
|
def Type(self):
|
|
38383
|
-
r"""
|
|
38640
|
+
r"""<p>模板类型</p>
|
|
38384
38641
|
:rtype: int
|
|
38385
38642
|
"""
|
|
38386
38643
|
return self._Type
|
|
@@ -38391,7 +38648,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38391
38648
|
|
|
38392
38649
|
@property
|
|
38393
38650
|
def RulesNum(self):
|
|
38394
|
-
r"""
|
|
38651
|
+
r"""<p>关联规则条数</p>
|
|
38395
38652
|
:rtype: int
|
|
38396
38653
|
"""
|
|
38397
38654
|
return self._RulesNum
|
|
@@ -38402,7 +38659,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38402
38659
|
|
|
38403
38660
|
@property
|
|
38404
38661
|
def TemplateId(self):
|
|
38405
|
-
r"""
|
|
38662
|
+
r"""<p>模板Id</p>
|
|
38406
38663
|
:rtype: str
|
|
38407
38664
|
"""
|
|
38408
38665
|
return self._TemplateId
|
|
@@ -38413,7 +38670,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38413
38670
|
|
|
38414
38671
|
@property
|
|
38415
38672
|
def ProtocolType(self):
|
|
38416
|
-
r"""
|
|
38673
|
+
r"""<p>协议端口模板,协议类型,4:4层协议,7:7层协议</p>
|
|
38417
38674
|
:rtype: str
|
|
38418
38675
|
"""
|
|
38419
38676
|
return self._ProtocolType
|
|
@@ -38424,7 +38681,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38424
38681
|
|
|
38425
38682
|
@property
|
|
38426
38683
|
def IPNum(self):
|
|
38427
|
-
r"""
|
|
38684
|
+
r"""<p>模板包含地址数量</p>
|
|
38428
38685
|
:rtype: int
|
|
38429
38686
|
"""
|
|
38430
38687
|
return self._IPNum
|
|
@@ -38435,7 +38692,7 @@ class TemplateListInfo(AbstractModel):
|
|
|
38435
38692
|
|
|
38436
38693
|
@property
|
|
38437
38694
|
def IpVersion(self):
|
|
38438
|
-
r"""IP版本,0,IPv4;1,IPv6
|
|
38695
|
+
r"""<p>IP版本,0,IPv4;1,IPv6</p>
|
|
38439
38696
|
:rtype: int
|
|
38440
38697
|
"""
|
|
38441
38698
|
return self._IpVersion
|
|
@@ -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.166
|
|
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.166
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=yhpZww772TBu5Yq4CtKLQ0oSRJtTQXXtyIoWDqLX-L4,630
|
|
2
2
|
tencentcloud/cfw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/cfw/v20190904/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/cfw/v20190904/cfw_client.py,sha256=frJym9E-Bl2WS8k3MTHpLBwJDROPPMjmsbTgRihsxZU,156127
|
|
5
5
|
tencentcloud/cfw/v20190904/cfw_client_async.py,sha256=rb59UbnCqhuV51yhJFuU1FguHIbP1zxZnWhW6cvwdGM,106264
|
|
6
6
|
tencentcloud/cfw/v20190904/errorcodes.py,sha256=stHSiv13FWhtpW2Kc-M8RMKWIgd6cLODnrtucdRYUl0,5035
|
|
7
|
-
tencentcloud/cfw/v20190904/models.py,sha256=
|
|
8
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
9
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
10
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
11
|
-
tencentcloud_sdk_python_cfw-3.1.
|
|
7
|
+
tencentcloud/cfw/v20190904/models.py,sha256=TZcFaYc-gDZUSCE_er4G6CFJS28d39Rxht7SWxT-PRg,1321496
|
|
8
|
+
tencentcloud_sdk_python_cfw-3.1.166.dist-info/METADATA,sha256=4U5uvuYmP_kGCjc2AxTdwhtx96_FinJdfUsidMaWdpI,1497
|
|
9
|
+
tencentcloud_sdk_python_cfw-3.1.166.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_cfw-3.1.166.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_cfw-3.1.166.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|