tencentcloud-sdk-python 3.0.1259__py2.py3-none-any.whl → 3.0.1260__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/ca/v20230228/models.py +103 -0
- tencentcloud/cbs/v20170312/models.py +1 -1
- tencentcloud/cdb/v20170320/cdb_client.py +0 -25
- tencentcloud/cdb/v20170320/models.py +0 -111
- tencentcloud/cfs/v20190719/models.py +2 -1
- tencentcloud/csip/v20221121/csip_client.py +1 -1
- tencentcloud/csip/v20221121/models.py +5 -584
- tencentcloud/dlc/v20210125/models.py +3 -3
- tencentcloud/dnspod/v20210323/dnspod_client.py +49 -0
- tencentcloud/dnspod/v20210323/models.py +356 -0
- tencentcloud/ecm/v20190719/models.py +1 -1
- tencentcloud/es/v20180416/models.py +13 -0
- tencentcloud/ess/v20201111/ess_client.py +6 -1
- tencentcloud/ess/v20201111/models.py +8 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +5 -2
- tencentcloud/essbasic/v20210526/models.py +8 -1
- tencentcloud/hunyuan/v20230901/models.py +12 -0
- tencentcloud/ioa/v20220601/models.py +8 -125
- tencentcloud/kms/v20190118/models.py +0 -25
- tencentcloud/lke/v20231130/lke_client.py +3 -1
- tencentcloud/mongodb/v20190725/models.py +4 -4
- tencentcloud/mps/v20190612/models.py +30 -1
- tencentcloud/ms/v20180408/models.py +0 -24
- tencentcloud/oceanus/v20190422/models.py +179 -0
- tencentcloud/ocr/v20181119/models.py +165 -1
- tencentcloud/ocr/v20181119/ocr_client.py +25 -0
- tencentcloud/redis/v20180412/models.py +4 -4
- tencentcloud/scf/v20180416/models.py +1 -1
- tencentcloud/sms/v20190711/errorcodes.py +1 -1
- tencentcloud/sms/v20210111/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +1 -1
- tencentcloud/tem/v20210701/models.py +1 -1
- tencentcloud/teo/v20220901/models.py +1 -3
- tencentcloud/trtc/v20190722/models.py +0 -31
- tencentcloud/trtc/v20190722/trtc_client.py +0 -25
- tencentcloud/waf/v20180125/models.py +309 -514
- tencentcloud/waf/v20180125/waf_client.py +23 -50
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1260.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1260.dist-info}/RECORD +43 -43
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1260.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1260.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1259.dist-info → tencentcloud_sdk_python-3.0.1260.dist-info}/top_level.txt +0 -0
@@ -251,25 +251,18 @@ class AccessLogInfo(AbstractModel):
|
|
251
251
|
:param _Time: 日志时间,单位ms
|
252
252
|
:type Time: int
|
253
253
|
:param _TopicId: 日志主题ID
|
254
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
255
254
|
:type TopicId: str
|
256
255
|
:param _TopicName: 日志主题名称
|
257
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
258
256
|
:type TopicName: str
|
259
257
|
:param _Source: 日志来源IP
|
260
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
261
258
|
:type Source: str
|
262
259
|
:param _FileName: 日志文件名称
|
263
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
264
260
|
:type FileName: str
|
265
261
|
:param _PkgId: 日志上报请求包的ID
|
266
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
267
262
|
:type PkgId: str
|
268
263
|
:param _PkgLogId: 请求包内日志的ID
|
269
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
270
264
|
:type PkgLogId: str
|
271
265
|
:param _LogJson: 日志内容的Json序列化字符串
|
272
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
273
266
|
注意:此字段可能返回 null,表示取不到有效值。
|
274
267
|
:type LogJson: str
|
275
268
|
"""
|
@@ -457,15 +450,12 @@ class AccessRuleInfo(AbstractModel):
|
|
457
450
|
def __init__(self):
|
458
451
|
r"""
|
459
452
|
:param _FullText: 全文索引配置
|
460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
461
453
|
注意:此字段可能返回 null,表示取不到有效值。
|
462
454
|
:type FullText: :class:`tencentcloud.waf.v20180125.models.AccessFullTextInfo`
|
463
455
|
:param _KeyValue: 键值索引配置
|
464
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
465
456
|
注意:此字段可能返回 null,表示取不到有效值。
|
466
457
|
:type KeyValue: :class:`tencentcloud.waf.v20180125.models.AccessRuleKeyValueInfo`
|
467
458
|
:param _Tag: 元字段索引配置
|
468
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
469
459
|
注意:此字段可能返回 null,表示取不到有效值。
|
470
460
|
:type Tag: :class:`tencentcloud.waf.v20180125.models.AccessRuleTagInfo`
|
471
461
|
"""
|
@@ -3867,7 +3857,6 @@ class CCRuleItem(AbstractModel):
|
|
3867
3857
|
:param _ValidTime: 策略动作有效时间
|
3868
3858
|
:type ValidTime: int
|
3869
3859
|
:param _OptionsArr: 高级参数
|
3870
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
3871
3860
|
:type OptionsArr: str
|
3872
3861
|
:param _Length: url长度
|
3873
3862
|
:type Length: int
|
@@ -4097,12 +4086,10 @@ class CCRuleItems(AbstractModel):
|
|
4097
4086
|
:param _RuleId: 规则ID
|
4098
4087
|
:type RuleId: int
|
4099
4088
|
:param _EventId: 事件id
|
4100
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4101
4089
|
:type EventId: str
|
4102
4090
|
:param _SessionApplied: 关联的Session规则
|
4103
4091
|
:type SessionApplied: list of int
|
4104
4092
|
:param _CreateTime: 创建时间
|
4105
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4106
4093
|
:type CreateTime: int
|
4107
4094
|
"""
|
4108
4095
|
self._Name = None
|
@@ -4288,7 +4275,6 @@ class CCRuleLists(AbstractModel):
|
|
4288
4275
|
:param _TotalCount: 总数
|
4289
4276
|
:type TotalCount: int
|
4290
4277
|
:param _Res: 规则
|
4291
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4292
4278
|
:type Res: list of CCRuleItems
|
4293
4279
|
"""
|
4294
4280
|
self._TotalCount = None
|
@@ -4329,99 +4315,6 @@ class CCRuleLists(AbstractModel):
|
|
4329
4315
|
|
4330
4316
|
|
4331
4317
|
|
4332
|
-
class CacheUrlItem(AbstractModel):
|
4333
|
-
"""防篡改url元素
|
4334
|
-
|
4335
|
-
"""
|
4336
|
-
|
4337
|
-
def __init__(self):
|
4338
|
-
r"""
|
4339
|
-
:param _Id: Id
|
4340
|
-
:type Id: str
|
4341
|
-
:param _Name: 名称
|
4342
|
-
:type Name: str
|
4343
|
-
:param _Domain: 域名
|
4344
|
-
:type Domain: str
|
4345
|
-
:param _Uri: uri
|
4346
|
-
:type Uri: str
|
4347
|
-
:param _Protocol: 协议
|
4348
|
-
:type Protocol: str
|
4349
|
-
:param _Status: 状态
|
4350
|
-
:type Status: str
|
4351
|
-
"""
|
4352
|
-
self._Id = None
|
4353
|
-
self._Name = None
|
4354
|
-
self._Domain = None
|
4355
|
-
self._Uri = None
|
4356
|
-
self._Protocol = None
|
4357
|
-
self._Status = None
|
4358
|
-
|
4359
|
-
@property
|
4360
|
-
def Id(self):
|
4361
|
-
return self._Id
|
4362
|
-
|
4363
|
-
@Id.setter
|
4364
|
-
def Id(self, Id):
|
4365
|
-
self._Id = Id
|
4366
|
-
|
4367
|
-
@property
|
4368
|
-
def Name(self):
|
4369
|
-
return self._Name
|
4370
|
-
|
4371
|
-
@Name.setter
|
4372
|
-
def Name(self, Name):
|
4373
|
-
self._Name = Name
|
4374
|
-
|
4375
|
-
@property
|
4376
|
-
def Domain(self):
|
4377
|
-
return self._Domain
|
4378
|
-
|
4379
|
-
@Domain.setter
|
4380
|
-
def Domain(self, Domain):
|
4381
|
-
self._Domain = Domain
|
4382
|
-
|
4383
|
-
@property
|
4384
|
-
def Uri(self):
|
4385
|
-
return self._Uri
|
4386
|
-
|
4387
|
-
@Uri.setter
|
4388
|
-
def Uri(self, Uri):
|
4389
|
-
self._Uri = Uri
|
4390
|
-
|
4391
|
-
@property
|
4392
|
-
def Protocol(self):
|
4393
|
-
return self._Protocol
|
4394
|
-
|
4395
|
-
@Protocol.setter
|
4396
|
-
def Protocol(self, Protocol):
|
4397
|
-
self._Protocol = Protocol
|
4398
|
-
|
4399
|
-
@property
|
4400
|
-
def Status(self):
|
4401
|
-
return self._Status
|
4402
|
-
|
4403
|
-
@Status.setter
|
4404
|
-
def Status(self, Status):
|
4405
|
-
self._Status = Status
|
4406
|
-
|
4407
|
-
|
4408
|
-
def _deserialize(self, params):
|
4409
|
-
self._Id = params.get("Id")
|
4410
|
-
self._Name = params.get("Name")
|
4411
|
-
self._Domain = params.get("Domain")
|
4412
|
-
self._Uri = params.get("Uri")
|
4413
|
-
self._Protocol = params.get("Protocol")
|
4414
|
-
self._Status = params.get("Status")
|
4415
|
-
memeber_set = set(params.keys())
|
4416
|
-
for name, value in vars(self).items():
|
4417
|
-
property_name = name[1:]
|
4418
|
-
if property_name in memeber_set:
|
4419
|
-
memeber_set.remove(property_name)
|
4420
|
-
if len(memeber_set) > 0:
|
4421
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4422
|
-
|
4423
|
-
|
4424
|
-
|
4425
4318
|
class CacheUrlItems(AbstractModel):
|
4426
4319
|
"""防篡改url元素
|
4427
4320
|
|
@@ -4594,7 +4487,6 @@ class CdcRegion(AbstractModel):
|
|
4594
4487
|
:param _Region: 地域
|
4595
4488
|
:type Region: str
|
4596
4489
|
:param _Clusters: 该地域对应的集群信息
|
4597
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
4598
4490
|
:type Clusters: list of CdcCluster
|
4599
4491
|
"""
|
4600
4492
|
self._Region = None
|
@@ -6446,7 +6338,6 @@ class DeleteAttackWhiteRuleResponse(AbstractModel):
|
|
6446
6338
|
def __init__(self):
|
6447
6339
|
r"""
|
6448
6340
|
:param _FailIds: 删除失败的规则序号组
|
6449
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6450
6341
|
:type FailIds: list of int non-negative
|
6451
6342
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6452
6343
|
:type RequestId: str
|
@@ -6553,7 +6444,6 @@ class DeleteCCRuleResponse(AbstractModel):
|
|
6553
6444
|
def __init__(self):
|
6554
6445
|
r"""
|
6555
6446
|
:param _Data: 一般为null
|
6556
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6557
6447
|
:type Data: str
|
6558
6448
|
:param _RuleId: 操作的规则Id
|
6559
6449
|
:type RuleId: int
|
@@ -6845,7 +6735,6 @@ class DeleteDomainWhiteRulesResponse(AbstractModel):
|
|
6845
6735
|
def __init__(self):
|
6846
6736
|
r"""
|
6847
6737
|
:param _Data: 出参
|
6848
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
6849
6738
|
:type Data: str
|
6850
6739
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6851
6740
|
:type RequestId: str
|
@@ -7277,7 +7166,6 @@ class DeleteSessionResponse(AbstractModel):
|
|
7277
7166
|
def __init__(self):
|
7278
7167
|
r"""
|
7279
7168
|
:param _Data: 结果
|
7280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7281
7169
|
:type Data: str
|
7282
7170
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7283
7171
|
:type RequestId: str
|
@@ -7617,7 +7505,6 @@ class DescribeAccessFastAnalysisResponse(AbstractModel):
|
|
7617
7505
|
def __init__(self):
|
7618
7506
|
r"""
|
7619
7507
|
:param _FieldValueRatioInfos: 注意:此字段可能返回 null,表示取不到有效值
|
7620
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7621
7508
|
:type FieldValueRatioInfos: list of AccessFieldValueRatioInfo
|
7622
7509
|
:param _TotalCount: 日志条数
|
7623
7510
|
:type TotalCount: int
|
@@ -7757,7 +7644,6 @@ class DescribeAccessHistogramResponse(AbstractModel):
|
|
7757
7644
|
:param _TotalCount: 满足条件的日志条数
|
7758
7645
|
:type TotalCount: int
|
7759
7646
|
:param _HistogramInfos: 注意:此字段可能返回 null,表示取不到有效值
|
7760
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7761
7647
|
:type HistogramInfos: list of AccessHistogramItem
|
7762
7648
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7763
7649
|
:type RequestId: str
|
@@ -7828,7 +7714,6 @@ class DescribeAccessIndexResponse(AbstractModel):
|
|
7828
7714
|
:param _Status: 是否生效,true表示生效,false表示未生效
|
7829
7715
|
:type Status: bool
|
7830
7716
|
:param _Rule: 索引配置信息
|
7831
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
7832
7717
|
注意:此字段可能返回 null,表示取不到有效值。
|
7833
7718
|
:type Rule: :class:`tencentcloud.waf.v20180125.models.AccessRuleInfo`
|
7834
7719
|
:param _ModifyTime: 索引修改时间,初始值为索引创建时间。
|
@@ -8005,346 +7890,34 @@ class DescribeAntiFakeRulesResponse(AbstractModel):
|
|
8005
7890
|
|
8006
7891
|
@Total.setter
|
8007
7892
|
def Total(self, Total):
|
8008
|
-
self._Total = Total
|
8009
|
-
|
8010
|
-
@property
|
8011
|
-
def Data(self):
|
8012
|
-
return self._Data
|
8013
|
-
|
8014
|
-
@Data.setter
|
8015
|
-
def Data(self, Data):
|
8016
|
-
self._Data = Data
|
8017
|
-
|
8018
|
-
@property
|
8019
|
-
def RequestId(self):
|
8020
|
-
return self._RequestId
|
8021
|
-
|
8022
|
-
@RequestId.setter
|
8023
|
-
def RequestId(self, RequestId):
|
8024
|
-
self._RequestId = RequestId
|
8025
|
-
|
8026
|
-
|
8027
|
-
def _deserialize(self, params):
|
8028
|
-
self._Total = params.get("Total")
|
8029
|
-
if params.get("Data") is not None:
|
8030
|
-
self._Data = []
|
8031
|
-
for item in params.get("Data"):
|
8032
|
-
obj = CacheUrlItems()
|
8033
|
-
obj._deserialize(item)
|
8034
|
-
self._Data.append(obj)
|
8035
|
-
self._RequestId = params.get("RequestId")
|
8036
|
-
|
8037
|
-
|
8038
|
-
class DescribeAntiFakeUrlRequest(AbstractModel):
|
8039
|
-
"""DescribeAntiFakeUrl请求参数结构体
|
8040
|
-
|
8041
|
-
"""
|
8042
|
-
|
8043
|
-
def __init__(self):
|
8044
|
-
r"""
|
8045
|
-
:param _Domain: 域名
|
8046
|
-
:type Domain: str
|
8047
|
-
:param _PageInfo: 翻页参数
|
8048
|
-
:type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
|
8049
|
-
"""
|
8050
|
-
self._Domain = None
|
8051
|
-
self._PageInfo = None
|
8052
|
-
|
8053
|
-
@property
|
8054
|
-
def Domain(self):
|
8055
|
-
return self._Domain
|
8056
|
-
|
8057
|
-
@Domain.setter
|
8058
|
-
def Domain(self, Domain):
|
8059
|
-
self._Domain = Domain
|
8060
|
-
|
8061
|
-
@property
|
8062
|
-
def PageInfo(self):
|
8063
|
-
return self._PageInfo
|
8064
|
-
|
8065
|
-
@PageInfo.setter
|
8066
|
-
def PageInfo(self, PageInfo):
|
8067
|
-
self._PageInfo = PageInfo
|
8068
|
-
|
8069
|
-
|
8070
|
-
def _deserialize(self, params):
|
8071
|
-
self._Domain = params.get("Domain")
|
8072
|
-
if params.get("PageInfo") is not None:
|
8073
|
-
self._PageInfo = PageInfo()
|
8074
|
-
self._PageInfo._deserialize(params.get("PageInfo"))
|
8075
|
-
memeber_set = set(params.keys())
|
8076
|
-
for name, value in vars(self).items():
|
8077
|
-
property_name = name[1:]
|
8078
|
-
if property_name in memeber_set:
|
8079
|
-
memeber_set.remove(property_name)
|
8080
|
-
if len(memeber_set) > 0:
|
8081
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8082
|
-
|
8083
|
-
|
8084
|
-
|
8085
|
-
class DescribeAntiFakeUrlResponse(AbstractModel):
|
8086
|
-
"""DescribeAntiFakeUrl返回参数结构体
|
8087
|
-
|
8088
|
-
"""
|
8089
|
-
|
8090
|
-
def __init__(self):
|
8091
|
-
r"""
|
8092
|
-
:param _Total: 总数
|
8093
|
-
:type Total: str
|
8094
|
-
:param _List: 信息
|
8095
|
-
:type List: list of CacheUrlItem
|
8096
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8097
|
-
:type RequestId: str
|
8098
|
-
"""
|
8099
|
-
self._Total = None
|
8100
|
-
self._List = None
|
8101
|
-
self._RequestId = None
|
8102
|
-
|
8103
|
-
@property
|
8104
|
-
def Total(self):
|
8105
|
-
return self._Total
|
8106
|
-
|
8107
|
-
@Total.setter
|
8108
|
-
def Total(self, Total):
|
8109
|
-
self._Total = Total
|
8110
|
-
|
8111
|
-
@property
|
8112
|
-
def List(self):
|
8113
|
-
return self._List
|
8114
|
-
|
8115
|
-
@List.setter
|
8116
|
-
def List(self, List):
|
8117
|
-
self._List = List
|
8118
|
-
|
8119
|
-
@property
|
8120
|
-
def RequestId(self):
|
8121
|
-
return self._RequestId
|
8122
|
-
|
8123
|
-
@RequestId.setter
|
8124
|
-
def RequestId(self, RequestId):
|
8125
|
-
self._RequestId = RequestId
|
8126
|
-
|
8127
|
-
|
8128
|
-
def _deserialize(self, params):
|
8129
|
-
self._Total = params.get("Total")
|
8130
|
-
if params.get("List") is not None:
|
8131
|
-
self._List = []
|
8132
|
-
for item in params.get("List"):
|
8133
|
-
obj = CacheUrlItem()
|
8134
|
-
obj._deserialize(item)
|
8135
|
-
self._List.append(obj)
|
8136
|
-
self._RequestId = params.get("RequestId")
|
8137
|
-
|
8138
|
-
|
8139
|
-
class DescribeAntiInfoLeakRulesRequest(AbstractModel):
|
8140
|
-
"""DescribeAntiInfoLeakRules请求参数结构体
|
8141
|
-
|
8142
|
-
"""
|
8143
|
-
|
8144
|
-
def __init__(self):
|
8145
|
-
r"""
|
8146
|
-
:param _Domain: 域名
|
8147
|
-
:type Domain: str
|
8148
|
-
:param _ActionType: 动作类型
|
8149
|
-
:type ActionType: int
|
8150
|
-
:param _PageInfo: 翻页
|
8151
|
-
:type PageInfo: :class:`tencentcloud.waf.v20180125.models.PageInfo`
|
8152
|
-
"""
|
8153
|
-
self._Domain = None
|
8154
|
-
self._ActionType = None
|
8155
|
-
self._PageInfo = None
|
8156
|
-
|
8157
|
-
@property
|
8158
|
-
def Domain(self):
|
8159
|
-
return self._Domain
|
8160
|
-
|
8161
|
-
@Domain.setter
|
8162
|
-
def Domain(self, Domain):
|
8163
|
-
self._Domain = Domain
|
8164
|
-
|
8165
|
-
@property
|
8166
|
-
def ActionType(self):
|
8167
|
-
return self._ActionType
|
8168
|
-
|
8169
|
-
@ActionType.setter
|
8170
|
-
def ActionType(self, ActionType):
|
8171
|
-
self._ActionType = ActionType
|
8172
|
-
|
8173
|
-
@property
|
8174
|
-
def PageInfo(self):
|
8175
|
-
return self._PageInfo
|
8176
|
-
|
8177
|
-
@PageInfo.setter
|
8178
|
-
def PageInfo(self, PageInfo):
|
8179
|
-
self._PageInfo = PageInfo
|
8180
|
-
|
8181
|
-
|
8182
|
-
def _deserialize(self, params):
|
8183
|
-
self._Domain = params.get("Domain")
|
8184
|
-
self._ActionType = params.get("ActionType")
|
8185
|
-
if params.get("PageInfo") is not None:
|
8186
|
-
self._PageInfo = PageInfo()
|
8187
|
-
self._PageInfo._deserialize(params.get("PageInfo"))
|
8188
|
-
memeber_set = set(params.keys())
|
8189
|
-
for name, value in vars(self).items():
|
8190
|
-
property_name = name[1:]
|
8191
|
-
if property_name in memeber_set:
|
8192
|
-
memeber_set.remove(property_name)
|
8193
|
-
if len(memeber_set) > 0:
|
8194
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8195
|
-
|
8196
|
-
|
8197
|
-
|
8198
|
-
class DescribeAntiInfoLeakRulesResponse(AbstractModel):
|
8199
|
-
"""DescribeAntiInfoLeakRules返回参数结构体
|
8200
|
-
|
8201
|
-
"""
|
8202
|
-
|
8203
|
-
def __init__(self):
|
8204
|
-
r"""
|
8205
|
-
:param _TotalCount: 记录条数
|
8206
|
-
:type TotalCount: str
|
8207
|
-
:param _RuleList: 规则列表
|
8208
|
-
:type RuleList: list of DescribeAntiInfoLeakRulesRuleItem
|
8209
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8210
|
-
:type RequestId: str
|
8211
|
-
"""
|
8212
|
-
self._TotalCount = None
|
8213
|
-
self._RuleList = None
|
8214
|
-
self._RequestId = None
|
8215
|
-
|
8216
|
-
@property
|
8217
|
-
def TotalCount(self):
|
8218
|
-
return self._TotalCount
|
8219
|
-
|
8220
|
-
@TotalCount.setter
|
8221
|
-
def TotalCount(self, TotalCount):
|
8222
|
-
self._TotalCount = TotalCount
|
8223
|
-
|
8224
|
-
@property
|
8225
|
-
def RuleList(self):
|
8226
|
-
return self._RuleList
|
8227
|
-
|
8228
|
-
@RuleList.setter
|
8229
|
-
def RuleList(self, RuleList):
|
8230
|
-
self._RuleList = RuleList
|
8231
|
-
|
8232
|
-
@property
|
8233
|
-
def RequestId(self):
|
8234
|
-
return self._RequestId
|
8235
|
-
|
8236
|
-
@RequestId.setter
|
8237
|
-
def RequestId(self, RequestId):
|
8238
|
-
self._RequestId = RequestId
|
8239
|
-
|
8240
|
-
|
8241
|
-
def _deserialize(self, params):
|
8242
|
-
self._TotalCount = params.get("TotalCount")
|
8243
|
-
if params.get("RuleList") is not None:
|
8244
|
-
self._RuleList = []
|
8245
|
-
for item in params.get("RuleList"):
|
8246
|
-
obj = DescribeAntiInfoLeakRulesRuleItem()
|
8247
|
-
obj._deserialize(item)
|
8248
|
-
self._RuleList.append(obj)
|
8249
|
-
self._RequestId = params.get("RequestId")
|
8250
|
-
|
8251
|
-
|
8252
|
-
class DescribeAntiInfoLeakRulesRuleItem(AbstractModel):
|
8253
|
-
"""DescribeAntiInfoLeakRules返回的规则列表元素
|
8254
|
-
|
8255
|
-
"""
|
8256
|
-
|
8257
|
-
def __init__(self):
|
8258
|
-
r"""
|
8259
|
-
:param _RuleId: 规则ID
|
8260
|
-
:type RuleId: str
|
8261
|
-
:param _Name: 规则名称
|
8262
|
-
:type Name: str
|
8263
|
-
:param _Status: 规则状态
|
8264
|
-
:type Status: str
|
8265
|
-
:param _ActionType: 规则动作类型
|
8266
|
-
:type ActionType: str
|
8267
|
-
:param _CreateTime: 规则创建时间
|
8268
|
-
:type CreateTime: str
|
8269
|
-
:param _Strategies: 详细的规则
|
8270
|
-
:type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
|
8271
|
-
"""
|
8272
|
-
self._RuleId = None
|
8273
|
-
self._Name = None
|
8274
|
-
self._Status = None
|
8275
|
-
self._ActionType = None
|
8276
|
-
self._CreateTime = None
|
8277
|
-
self._Strategies = None
|
8278
|
-
|
8279
|
-
@property
|
8280
|
-
def RuleId(self):
|
8281
|
-
return self._RuleId
|
8282
|
-
|
8283
|
-
@RuleId.setter
|
8284
|
-
def RuleId(self, RuleId):
|
8285
|
-
self._RuleId = RuleId
|
8286
|
-
|
8287
|
-
@property
|
8288
|
-
def Name(self):
|
8289
|
-
return self._Name
|
8290
|
-
|
8291
|
-
@Name.setter
|
8292
|
-
def Name(self, Name):
|
8293
|
-
self._Name = Name
|
8294
|
-
|
8295
|
-
@property
|
8296
|
-
def Status(self):
|
8297
|
-
return self._Status
|
8298
|
-
|
8299
|
-
@Status.setter
|
8300
|
-
def Status(self, Status):
|
8301
|
-
self._Status = Status
|
8302
|
-
|
8303
|
-
@property
|
8304
|
-
def ActionType(self):
|
8305
|
-
return self._ActionType
|
8306
|
-
|
8307
|
-
@ActionType.setter
|
8308
|
-
def ActionType(self, ActionType):
|
8309
|
-
self._ActionType = ActionType
|
7893
|
+
self._Total = Total
|
8310
7894
|
|
8311
7895
|
@property
|
8312
|
-
def
|
8313
|
-
return self.
|
7896
|
+
def Data(self):
|
7897
|
+
return self._Data
|
8314
7898
|
|
8315
|
-
@
|
8316
|
-
def
|
8317
|
-
self.
|
7899
|
+
@Data.setter
|
7900
|
+
def Data(self, Data):
|
7901
|
+
self._Data = Data
|
8318
7902
|
|
8319
7903
|
@property
|
8320
|
-
def
|
8321
|
-
return self.
|
7904
|
+
def RequestId(self):
|
7905
|
+
return self._RequestId
|
8322
7906
|
|
8323
|
-
@
|
8324
|
-
def
|
8325
|
-
self.
|
7907
|
+
@RequestId.setter
|
7908
|
+
def RequestId(self, RequestId):
|
7909
|
+
self._RequestId = RequestId
|
8326
7910
|
|
8327
7911
|
|
8328
7912
|
def _deserialize(self, params):
|
8329
|
-
self.
|
8330
|
-
|
8331
|
-
|
8332
|
-
|
8333
|
-
|
8334
|
-
if params.get("Strategies") is not None:
|
8335
|
-
self._Strategies = []
|
8336
|
-
for item in params.get("Strategies"):
|
8337
|
-
obj = DescribeAntiInfoLeakRulesStrategyItem()
|
7913
|
+
self._Total = params.get("Total")
|
7914
|
+
if params.get("Data") is not None:
|
7915
|
+
self._Data = []
|
7916
|
+
for item in params.get("Data"):
|
7917
|
+
obj = CacheUrlItems()
|
8338
7918
|
obj._deserialize(item)
|
8339
|
-
self.
|
8340
|
-
|
8341
|
-
for name, value in vars(self).items():
|
8342
|
-
property_name = name[1:]
|
8343
|
-
if property_name in memeber_set:
|
8344
|
-
memeber_set.remove(property_name)
|
8345
|
-
if len(memeber_set) > 0:
|
8346
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8347
|
-
|
7919
|
+
self._Data.append(obj)
|
7920
|
+
self._RequestId = params.get("RequestId")
|
8348
7921
|
|
8349
7922
|
|
8350
7923
|
class DescribeAntiInfoLeakRulesStrategyItem(AbstractModel):
|
@@ -8563,10 +8136,8 @@ class DescribeAntiLeakageItem(AbstractModel):
|
|
8563
8136
|
:param _CreateTime: 创建时间
|
8564
8137
|
:type CreateTime: str
|
8565
8138
|
:param _Strategies: 匹配条件
|
8566
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8567
8139
|
:type Strategies: list of DescribeAntiInfoLeakRulesStrategyItem
|
8568
8140
|
:param _Uri: 匹配的URL
|
8569
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
8570
8141
|
:type Uri: str
|
8571
8142
|
:param _ModifyTime: 修改时间
|
8572
8143
|
:type ModifyTime: str
|
@@ -9205,7 +8776,6 @@ class DescribeAreaBanAreasRsp(AbstractModel):
|
|
9205
8776
|
:param _JobType: 定时任务类型
|
9206
8777
|
:type JobType: str
|
9207
8778
|
:param _JobDateTime: 定时任务详细配置
|
9208
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9209
8779
|
:type JobDateTime: :class:`tencentcloud.waf.v20180125.models.JobDateTime`
|
9210
8780
|
:param _CronType: 周期任务配置
|
9211
8781
|
:type CronType: str
|
@@ -9821,7 +9391,6 @@ class DescribeAttackWhiteRuleResponse(AbstractModel):
|
|
9821
9391
|
:param _Total: 规则总数
|
9822
9392
|
:type Total: int
|
9823
9393
|
:param _List: 规则白名单列表
|
9824
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9825
9394
|
:type List: list of UserWhiteRule
|
9826
9395
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9827
9396
|
:type RequestId: str
|
@@ -10359,7 +9928,6 @@ class DescribeCCRuleListResponse(AbstractModel):
|
|
10359
9928
|
def __init__(self):
|
10360
9929
|
r"""
|
10361
9930
|
:param _Data: 查询到的CC规则的列表
|
10362
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10363
9931
|
:type Data: :class:`tencentcloud.waf.v20180125.models.CCRuleLists`
|
10364
9932
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10365
9933
|
:type RequestId: str
|
@@ -10492,7 +10060,6 @@ class DescribeCCRuleResponse(AbstractModel):
|
|
10492
10060
|
def __init__(self):
|
10493
10061
|
r"""
|
10494
10062
|
:param _Data: 结果
|
10495
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
10496
10063
|
:type Data: :class:`tencentcloud.waf.v20180125.models.CCRuleData`
|
10497
10064
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10498
10065
|
:type RequestId: str
|
@@ -12116,7 +11683,7 @@ class DescribeFindDomainListRequest(AbstractModel):
|
|
12116
11683
|
:type Limit: int
|
12117
11684
|
:param _Key: 过滤条件
|
12118
11685
|
:type Key: str
|
12119
|
-
:param _IsWafDomain: 是否接入waf
|
11686
|
+
:param _IsWafDomain: 是否接入waf;传"1"返回接入域名的详情,传"0"返回未接入域名的详情,传""返回接入和未接入域名的详情
|
12120
11687
|
:type IsWafDomain: str
|
12121
11688
|
:param _By: 排序参数
|
12122
11689
|
:type By: str
|
@@ -14391,6 +13958,201 @@ class DescribeRuleLimitResponse(AbstractModel):
|
|
14391
13958
|
self._RequestId = params.get("RequestId")
|
14392
13959
|
|
14393
13960
|
|
13961
|
+
class DescribeScanIpRequest(AbstractModel):
|
13962
|
+
"""DescribeScanIp请求参数结构体
|
13963
|
+
|
13964
|
+
"""
|
13965
|
+
|
13966
|
+
def __init__(self):
|
13967
|
+
r"""
|
13968
|
+
:param _Ip: 要查询的ip地址
|
13969
|
+
:type Ip: str
|
13970
|
+
"""
|
13971
|
+
self._Ip = None
|
13972
|
+
|
13973
|
+
@property
|
13974
|
+
def Ip(self):
|
13975
|
+
return self._Ip
|
13976
|
+
|
13977
|
+
@Ip.setter
|
13978
|
+
def Ip(self, Ip):
|
13979
|
+
self._Ip = Ip
|
13980
|
+
|
13981
|
+
|
13982
|
+
def _deserialize(self, params):
|
13983
|
+
self._Ip = params.get("Ip")
|
13984
|
+
memeber_set = set(params.keys())
|
13985
|
+
for name, value in vars(self).items():
|
13986
|
+
property_name = name[1:]
|
13987
|
+
if property_name in memeber_set:
|
13988
|
+
memeber_set.remove(property_name)
|
13989
|
+
if len(memeber_set) > 0:
|
13990
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13991
|
+
|
13992
|
+
|
13993
|
+
|
13994
|
+
class DescribeScanIpResponse(AbstractModel):
|
13995
|
+
"""DescribeScanIp返回参数结构体
|
13996
|
+
|
13997
|
+
"""
|
13998
|
+
|
13999
|
+
def __init__(self):
|
14000
|
+
r"""
|
14001
|
+
:param _IpList: ip列表,当入参Ip为all时,返回该值
|
14002
|
+
:type IpList: list of ScanIpInfo
|
14003
|
+
:param _Bussiness: 所属业务
|
14004
|
+
:type Bussiness: str
|
14005
|
+
:param _Characteristic: 业务特征
|
14006
|
+
:type Characteristic: str
|
14007
|
+
:param _Descibe: 扫描说明
|
14008
|
+
:type Descibe: str
|
14009
|
+
:param _Referer: 官方公告
|
14010
|
+
:type Referer: str
|
14011
|
+
:param _Demo: 扫描示例
|
14012
|
+
:type Demo: str
|
14013
|
+
:param _Target: 扫描对象
|
14014
|
+
:type Target: str
|
14015
|
+
:param _Purpose: 扫描目的
|
14016
|
+
:type Purpose: str
|
14017
|
+
:param _Announcement: 产品文案
|
14018
|
+
:type Announcement: str
|
14019
|
+
:param _UpdateTime: 更新时间
|
14020
|
+
:type UpdateTime: int
|
14021
|
+
:param _IpOwner: ipowner
|
14022
|
+
:type IpOwner: str
|
14023
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14024
|
+
:type RequestId: str
|
14025
|
+
"""
|
14026
|
+
self._IpList = None
|
14027
|
+
self._Bussiness = None
|
14028
|
+
self._Characteristic = None
|
14029
|
+
self._Descibe = None
|
14030
|
+
self._Referer = None
|
14031
|
+
self._Demo = None
|
14032
|
+
self._Target = None
|
14033
|
+
self._Purpose = None
|
14034
|
+
self._Announcement = None
|
14035
|
+
self._UpdateTime = None
|
14036
|
+
self._IpOwner = None
|
14037
|
+
self._RequestId = None
|
14038
|
+
|
14039
|
+
@property
|
14040
|
+
def IpList(self):
|
14041
|
+
return self._IpList
|
14042
|
+
|
14043
|
+
@IpList.setter
|
14044
|
+
def IpList(self, IpList):
|
14045
|
+
self._IpList = IpList
|
14046
|
+
|
14047
|
+
@property
|
14048
|
+
def Bussiness(self):
|
14049
|
+
return self._Bussiness
|
14050
|
+
|
14051
|
+
@Bussiness.setter
|
14052
|
+
def Bussiness(self, Bussiness):
|
14053
|
+
self._Bussiness = Bussiness
|
14054
|
+
|
14055
|
+
@property
|
14056
|
+
def Characteristic(self):
|
14057
|
+
return self._Characteristic
|
14058
|
+
|
14059
|
+
@Characteristic.setter
|
14060
|
+
def Characteristic(self, Characteristic):
|
14061
|
+
self._Characteristic = Characteristic
|
14062
|
+
|
14063
|
+
@property
|
14064
|
+
def Descibe(self):
|
14065
|
+
return self._Descibe
|
14066
|
+
|
14067
|
+
@Descibe.setter
|
14068
|
+
def Descibe(self, Descibe):
|
14069
|
+
self._Descibe = Descibe
|
14070
|
+
|
14071
|
+
@property
|
14072
|
+
def Referer(self):
|
14073
|
+
return self._Referer
|
14074
|
+
|
14075
|
+
@Referer.setter
|
14076
|
+
def Referer(self, Referer):
|
14077
|
+
self._Referer = Referer
|
14078
|
+
|
14079
|
+
@property
|
14080
|
+
def Demo(self):
|
14081
|
+
return self._Demo
|
14082
|
+
|
14083
|
+
@Demo.setter
|
14084
|
+
def Demo(self, Demo):
|
14085
|
+
self._Demo = Demo
|
14086
|
+
|
14087
|
+
@property
|
14088
|
+
def Target(self):
|
14089
|
+
return self._Target
|
14090
|
+
|
14091
|
+
@Target.setter
|
14092
|
+
def Target(self, Target):
|
14093
|
+
self._Target = Target
|
14094
|
+
|
14095
|
+
@property
|
14096
|
+
def Purpose(self):
|
14097
|
+
return self._Purpose
|
14098
|
+
|
14099
|
+
@Purpose.setter
|
14100
|
+
def Purpose(self, Purpose):
|
14101
|
+
self._Purpose = Purpose
|
14102
|
+
|
14103
|
+
@property
|
14104
|
+
def Announcement(self):
|
14105
|
+
return self._Announcement
|
14106
|
+
|
14107
|
+
@Announcement.setter
|
14108
|
+
def Announcement(self, Announcement):
|
14109
|
+
self._Announcement = Announcement
|
14110
|
+
|
14111
|
+
@property
|
14112
|
+
def UpdateTime(self):
|
14113
|
+
return self._UpdateTime
|
14114
|
+
|
14115
|
+
@UpdateTime.setter
|
14116
|
+
def UpdateTime(self, UpdateTime):
|
14117
|
+
self._UpdateTime = UpdateTime
|
14118
|
+
|
14119
|
+
@property
|
14120
|
+
def IpOwner(self):
|
14121
|
+
return self._IpOwner
|
14122
|
+
|
14123
|
+
@IpOwner.setter
|
14124
|
+
def IpOwner(self, IpOwner):
|
14125
|
+
self._IpOwner = IpOwner
|
14126
|
+
|
14127
|
+
@property
|
14128
|
+
def RequestId(self):
|
14129
|
+
return self._RequestId
|
14130
|
+
|
14131
|
+
@RequestId.setter
|
14132
|
+
def RequestId(self, RequestId):
|
14133
|
+
self._RequestId = RequestId
|
14134
|
+
|
14135
|
+
|
14136
|
+
def _deserialize(self, params):
|
14137
|
+
if params.get("IpList") is not None:
|
14138
|
+
self._IpList = []
|
14139
|
+
for item in params.get("IpList"):
|
14140
|
+
obj = ScanIpInfo()
|
14141
|
+
obj._deserialize(item)
|
14142
|
+
self._IpList.append(obj)
|
14143
|
+
self._Bussiness = params.get("Bussiness")
|
14144
|
+
self._Characteristic = params.get("Characteristic")
|
14145
|
+
self._Descibe = params.get("Descibe")
|
14146
|
+
self._Referer = params.get("Referer")
|
14147
|
+
self._Demo = params.get("Demo")
|
14148
|
+
self._Target = params.get("Target")
|
14149
|
+
self._Purpose = params.get("Purpose")
|
14150
|
+
self._Announcement = params.get("Announcement")
|
14151
|
+
self._UpdateTime = params.get("UpdateTime")
|
14152
|
+
self._IpOwner = params.get("IpOwner")
|
14153
|
+
self._RequestId = params.get("RequestId")
|
14154
|
+
|
14155
|
+
|
14394
14156
|
class DescribeSessionRequest(AbstractModel):
|
14395
14157
|
"""DescribeSession请求参数结构体
|
14396
14158
|
|
@@ -14444,7 +14206,6 @@ class DescribeSessionResponse(AbstractModel):
|
|
14444
14206
|
def __init__(self):
|
14445
14207
|
r"""
|
14446
14208
|
:param _Data: 返回结果
|
14447
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14448
14209
|
:type Data: :class:`tencentcloud.waf.v20180125.models.SessionData`
|
14449
14210
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14450
14211
|
:type RequestId: str
|
@@ -14591,7 +14352,6 @@ class DescribeSpartaProtectionInfoResponse(AbstractModel):
|
|
14591
14352
|
:param _IsKeepAlive: 与源站是否保持长连接
|
14592
14353
|
:type IsKeepAlive: str
|
14593
14354
|
:param _Anycast: 0:BGP 1:Anycast
|
14594
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
14595
14355
|
:type Anycast: str
|
14596
14356
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14597
14357
|
:type RequestId: str
|
@@ -15606,7 +15366,6 @@ class DescribeWafAutoDenyRulesResponse(AbstractModel):
|
|
15606
15366
|
:type DefenseStatus: int
|
15607
15367
|
:param _Source: 数据来源Source字段 custom-自定义(默认)、batch-domain-批量域名
|
15608
15368
|
|
15609
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
15610
15369
|
:type Source: str
|
15611
15370
|
:param _HWState: 重保护网域名状态
|
15612
15371
|
:type HWState: int
|
@@ -20704,10 +20463,8 @@ class JobDateTime(AbstractModel):
|
|
20704
20463
|
def __init__(self):
|
20705
20464
|
r"""
|
20706
20465
|
:param _Timed: 定时执行的时间参数
|
20707
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20708
20466
|
:type Timed: list of TimedJob
|
20709
20467
|
:param _Cron: 周期执行的时间参数
|
20710
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
20711
20468
|
:type Cron: list of CronJob
|
20712
20469
|
:param _TimeTZone: 时区
|
20713
20470
|
:type TimeTZone: str
|
@@ -22689,13 +22446,10 @@ class ModifyBotStatusResponse(AbstractModel):
|
|
22689
22446
|
def __init__(self):
|
22690
22447
|
r"""
|
22691
22448
|
:param _Data: 正常情况为null
|
22692
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22693
22449
|
:type Data: str
|
22694
22450
|
:param _UnSupportedList: 未购买BOT的域名列表
|
22695
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22696
22451
|
:type UnSupportedList: list of str
|
22697
22452
|
:param _FailDomainList: 已购买但操作失败的域名列表
|
22698
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
22699
22453
|
:type FailDomainList: list of str
|
22700
22454
|
:param _Count: 成功数目
|
22701
22455
|
:type Count: int
|
@@ -26350,51 +26104,6 @@ class ModifyWebshellStatusResponse(AbstractModel):
|
|
26350
26104
|
self._RequestId = params.get("RequestId")
|
26351
26105
|
|
26352
26106
|
|
26353
|
-
class PageInfo(AbstractModel):
|
26354
|
-
"""公共翻页参数
|
26355
|
-
|
26356
|
-
"""
|
26357
|
-
|
26358
|
-
def __init__(self):
|
26359
|
-
r"""
|
26360
|
-
:param _PageNumber: 页码
|
26361
|
-
:type PageNumber: str
|
26362
|
-
:param _PageSize: 页条目数量
|
26363
|
-
:type PageSize: str
|
26364
|
-
"""
|
26365
|
-
self._PageNumber = None
|
26366
|
-
self._PageSize = None
|
26367
|
-
|
26368
|
-
@property
|
26369
|
-
def PageNumber(self):
|
26370
|
-
return self._PageNumber
|
26371
|
-
|
26372
|
-
@PageNumber.setter
|
26373
|
-
def PageNumber(self, PageNumber):
|
26374
|
-
self._PageNumber = PageNumber
|
26375
|
-
|
26376
|
-
@property
|
26377
|
-
def PageSize(self):
|
26378
|
-
return self._PageSize
|
26379
|
-
|
26380
|
-
@PageSize.setter
|
26381
|
-
def PageSize(self, PageSize):
|
26382
|
-
self._PageSize = PageSize
|
26383
|
-
|
26384
|
-
|
26385
|
-
def _deserialize(self, params):
|
26386
|
-
self._PageNumber = params.get("PageNumber")
|
26387
|
-
self._PageSize = params.get("PageSize")
|
26388
|
-
memeber_set = set(params.keys())
|
26389
|
-
for name, value in vars(self).items():
|
26390
|
-
property_name = name[1:]
|
26391
|
-
if property_name in memeber_set:
|
26392
|
-
memeber_set.remove(property_name)
|
26393
|
-
if len(memeber_set) > 0:
|
26394
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26395
|
-
|
26396
|
-
|
26397
|
-
|
26398
26107
|
class PeakPointsItem(AbstractModel):
|
26399
26108
|
"""PeakPoints数组项
|
26400
26109
|
|
@@ -27426,22 +27135,18 @@ class Rule(AbstractModel):
|
|
27426
27135
|
:param _Id: 规则id
|
27427
27136
|
:type Id: int
|
27428
27137
|
:param _Type: 规则类型
|
27429
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27430
27138
|
:type Type: str
|
27431
27139
|
:param _Level: 规则等级
|
27432
27140
|
:type Level: str
|
27433
27141
|
:param _Description: 规则描述
|
27434
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27435
27142
|
:type Description: str
|
27436
27143
|
:param _CVE: 规则防护的CVE编号
|
27437
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27438
27144
|
:type CVE: str
|
27439
27145
|
:param _Status: 规则的状态
|
27440
27146
|
:type Status: int
|
27441
27147
|
:param _ModifyTime: 规则修改的时间
|
27442
27148
|
:type ModifyTime: str
|
27443
27149
|
:param _AddTime: 门神规则新增/更新时间
|
27444
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27445
27150
|
:type AddTime: str
|
27446
27151
|
"""
|
27447
27152
|
self._Id = None
|
@@ -27642,6 +27347,101 @@ class RuleList(AbstractModel):
|
|
27642
27347
|
|
27643
27348
|
|
27644
27349
|
|
27350
|
+
class ScanIpInfo(AbstractModel):
|
27351
|
+
"""扫描ip信息
|
27352
|
+
|
27353
|
+
"""
|
27354
|
+
|
27355
|
+
def __init__(self):
|
27356
|
+
r"""
|
27357
|
+
:param _Bussiness: 所属业务
|
27358
|
+
|
27359
|
+
:type Bussiness: str
|
27360
|
+
:param _Target: 扫描对象
|
27361
|
+
:type Target: str
|
27362
|
+
:param _IpList: ip列表
|
27363
|
+
:type IpList: list of str
|
27364
|
+
:param _Descibe: 扫描说明
|
27365
|
+
:type Descibe: str
|
27366
|
+
:param _Referer: 官方公告
|
27367
|
+
|
27368
|
+
:type Referer: str
|
27369
|
+
:param _UpdateTime: 更新时间
|
27370
|
+
:type UpdateTime: int
|
27371
|
+
"""
|
27372
|
+
self._Bussiness = None
|
27373
|
+
self._Target = None
|
27374
|
+
self._IpList = None
|
27375
|
+
self._Descibe = None
|
27376
|
+
self._Referer = None
|
27377
|
+
self._UpdateTime = None
|
27378
|
+
|
27379
|
+
@property
|
27380
|
+
def Bussiness(self):
|
27381
|
+
return self._Bussiness
|
27382
|
+
|
27383
|
+
@Bussiness.setter
|
27384
|
+
def Bussiness(self, Bussiness):
|
27385
|
+
self._Bussiness = Bussiness
|
27386
|
+
|
27387
|
+
@property
|
27388
|
+
def Target(self):
|
27389
|
+
return self._Target
|
27390
|
+
|
27391
|
+
@Target.setter
|
27392
|
+
def Target(self, Target):
|
27393
|
+
self._Target = Target
|
27394
|
+
|
27395
|
+
@property
|
27396
|
+
def IpList(self):
|
27397
|
+
return self._IpList
|
27398
|
+
|
27399
|
+
@IpList.setter
|
27400
|
+
def IpList(self, IpList):
|
27401
|
+
self._IpList = IpList
|
27402
|
+
|
27403
|
+
@property
|
27404
|
+
def Descibe(self):
|
27405
|
+
return self._Descibe
|
27406
|
+
|
27407
|
+
@Descibe.setter
|
27408
|
+
def Descibe(self, Descibe):
|
27409
|
+
self._Descibe = Descibe
|
27410
|
+
|
27411
|
+
@property
|
27412
|
+
def Referer(self):
|
27413
|
+
return self._Referer
|
27414
|
+
|
27415
|
+
@Referer.setter
|
27416
|
+
def Referer(self, Referer):
|
27417
|
+
self._Referer = Referer
|
27418
|
+
|
27419
|
+
@property
|
27420
|
+
def UpdateTime(self):
|
27421
|
+
return self._UpdateTime
|
27422
|
+
|
27423
|
+
@UpdateTime.setter
|
27424
|
+
def UpdateTime(self, UpdateTime):
|
27425
|
+
self._UpdateTime = UpdateTime
|
27426
|
+
|
27427
|
+
|
27428
|
+
def _deserialize(self, params):
|
27429
|
+
self._Bussiness = params.get("Bussiness")
|
27430
|
+
self._Target = params.get("Target")
|
27431
|
+
self._IpList = params.get("IpList")
|
27432
|
+
self._Descibe = params.get("Descibe")
|
27433
|
+
self._Referer = params.get("Referer")
|
27434
|
+
self._UpdateTime = params.get("UpdateTime")
|
27435
|
+
memeber_set = set(params.keys())
|
27436
|
+
for name, value in vars(self).items():
|
27437
|
+
property_name = name[1:]
|
27438
|
+
if property_name in memeber_set:
|
27439
|
+
memeber_set.remove(property_name)
|
27440
|
+
if len(memeber_set) > 0:
|
27441
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
27442
|
+
|
27443
|
+
|
27444
|
+
|
27645
27445
|
class SearchAccessLogRequest(AbstractModel):
|
27646
27446
|
"""SearchAccessLog请求参数结构体
|
27647
27447
|
|
@@ -27773,7 +27573,6 @@ class SearchAccessLogResponse(AbstractModel):
|
|
27773
27573
|
:param _Analysis: 返回的是否为分析结果,其中,“true”表示返回分析结果,“false”表示未返回分析结果
|
27774
27574
|
:type Analysis: bool
|
27775
27575
|
:param _ColNames: 如果Analysis为True,则返回分析结果的列名,否则为空
|
27776
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27777
27576
|
注意:此字段可能返回 null,表示取不到有效值。
|
27778
27577
|
:type ColNames: list of str
|
27779
27578
|
:param _Results: 日志查询结果;当Analysis为True时,可能返回为null
|
@@ -27781,7 +27580,6 @@ class SearchAccessLogResponse(AbstractModel):
|
|
27781
27580
|
:type Results: list of AccessLogInfo
|
27782
27581
|
:param _AnalysisResults: 日志分析结果;当Analysis为False时,可能返回为null
|
27783
27582
|
注意:此字段可能返回 null,表示取不到有效值
|
27784
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
27785
27583
|
:type AnalysisResults: list of AccessLogItems
|
27786
27584
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
27787
27585
|
:type RequestId: str
|
@@ -29356,7 +29154,6 @@ class UpsertCCRuleResponse(AbstractModel):
|
|
29356
29154
|
def __init__(self):
|
29357
29155
|
r"""
|
29358
29156
|
:param _Data: 一般为null
|
29359
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29360
29157
|
:type Data: str
|
29361
29158
|
:param _RuleId: 操作的RuleId
|
29362
29159
|
:type RuleId: int
|
@@ -29690,7 +29487,6 @@ class UpsertSessionResponse(AbstractModel):
|
|
29690
29487
|
def __init__(self):
|
29691
29488
|
r"""
|
29692
29489
|
:param _Data: 结果
|
29693
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
29694
29490
|
:type Data: str
|
29695
29491
|
:param _SessionID: SessionID
|
29696
29492
|
:type SessionID: int
|
@@ -30663,7 +30459,6 @@ class WafThreatenIntelligenceDetails(AbstractModel):
|
|
30663
30459
|
def __init__(self):
|
30664
30460
|
r"""
|
30665
30461
|
:param _Tags: 封禁属性标签
|
30666
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30667
30462
|
:type Tags: list of str
|
30668
30463
|
:param _DefenseStatus: 封禁模组启用状态
|
30669
30464
|
:type DefenseStatus: int
|