tencentcloud-sdk-teo 1.0.331 → 1.0.334

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.
@@ -381,6 +381,147 @@ module TencentCloud
381
381
  end
382
382
  end
383
383
 
384
+ # Bot攻击日志
385
+ class BotLog < TencentCloud::Common::AbstractModel
386
+ # @param AttackTime: 攻击时间
387
+ # 注意:此字段可能返回 null,表示取不到有效值。
388
+ # @type AttackTime: Integer
389
+ # @param AttackIp: 攻击ip
390
+ # 注意:此字段可能返回 null,表示取不到有效值。
391
+ # @type AttackIp: String
392
+ # @param Domain: 域名
393
+ # 注意:此字段可能返回 null,表示取不到有效值。
394
+ # @type Domain: String
395
+ # @param RequestUri: 请求uri
396
+ # 注意:此字段可能返回 null,表示取不到有效值。
397
+ # @type RequestUri: String
398
+ # @param AttackType: 攻击类型
399
+ # 注意:此字段可能返回 null,表示取不到有效值。
400
+ # @type AttackType: String
401
+ # @param RequestMethod: 请求方法
402
+ # 注意:此字段可能返回 null,表示取不到有效值。
403
+ # @type RequestMethod: String
404
+ # @param AttackContent: 攻击内容
405
+ # 注意:此字段可能返回 null,表示取不到有效值。
406
+ # @type AttackContent: String
407
+ # @param RiskLevel: 风险等级
408
+ # 注意:此字段可能返回 null,表示取不到有效值。
409
+ # @type RiskLevel: String
410
+ # @param RuleId: 规则编号
411
+ # 注意:此字段可能返回 null,表示取不到有效值。
412
+ # @type RuleId: Integer
413
+ # @param SipCountryCode: IP所在国家
414
+ # 注意:此字段可能返回 null,表示取不到有效值。
415
+ # @type SipCountryCode: String
416
+ # @param EventId: 事件id
417
+ # 注意:此字段可能返回 null,表示取不到有效值。
418
+ # @type EventId: String
419
+ # @param DisposalMethod: 处置方式
420
+ # 注意:此字段可能返回 null,表示取不到有效值。
421
+ # @type DisposalMethod: String
422
+ # @param HttpLog: http_log
423
+ # 注意:此字段可能返回 null,表示取不到有效值。
424
+ # @type HttpLog: String
425
+ # @param Ua: user agent
426
+ # 注意:此字段可能返回 null,表示取不到有效值。
427
+ # @type Ua: String
428
+ # @param DetectionMethod: 检出方法
429
+ # 注意:此字段可能返回 null,表示取不到有效值。
430
+ # @type DetectionMethod: String
431
+ # @param Confidence: 置信度
432
+ # 注意:此字段可能返回 null,表示取不到有效值。
433
+ # @type Confidence: String
434
+ # @param Maliciousness: 恶意度
435
+ # 注意:此字段可能返回 null,表示取不到有效值。
436
+ # @type Maliciousness: String
437
+
438
+ attr_accessor :AttackTime, :AttackIp, :Domain, :RequestUri, :AttackType, :RequestMethod, :AttackContent, :RiskLevel, :RuleId, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :Ua, :DetectionMethod, :Confidence, :Maliciousness
439
+
440
+ def initialize(attacktime=nil, attackip=nil, domain=nil, requesturi=nil, attacktype=nil, requestmethod=nil, attackcontent=nil, risklevel=nil, ruleid=nil, sipcountrycode=nil, eventid=nil, disposalmethod=nil, httplog=nil, ua=nil, detectionmethod=nil, confidence=nil, maliciousness=nil)
441
+ @AttackTime = attacktime
442
+ @AttackIp = attackip
443
+ @Domain = domain
444
+ @RequestUri = requesturi
445
+ @AttackType = attacktype
446
+ @RequestMethod = requestmethod
447
+ @AttackContent = attackcontent
448
+ @RiskLevel = risklevel
449
+ @RuleId = ruleid
450
+ @SipCountryCode = sipcountrycode
451
+ @EventId = eventid
452
+ @DisposalMethod = disposalmethod
453
+ @HttpLog = httplog
454
+ @Ua = ua
455
+ @DetectionMethod = detectionmethod
456
+ @Confidence = confidence
457
+ @Maliciousness = maliciousness
458
+ end
459
+
460
+ def deserialize(params)
461
+ @AttackTime = params['AttackTime']
462
+ @AttackIp = params['AttackIp']
463
+ @Domain = params['Domain']
464
+ @RequestUri = params['RequestUri']
465
+ @AttackType = params['AttackType']
466
+ @RequestMethod = params['RequestMethod']
467
+ @AttackContent = params['AttackContent']
468
+ @RiskLevel = params['RiskLevel']
469
+ @RuleId = params['RuleId']
470
+ @SipCountryCode = params['SipCountryCode']
471
+ @EventId = params['EventId']
472
+ @DisposalMethod = params['DisposalMethod']
473
+ @HttpLog = params['HttpLog']
474
+ @Ua = params['Ua']
475
+ @DetectionMethod = params['DetectionMethod']
476
+ @Confidence = params['Confidence']
477
+ @Maliciousness = params['Maliciousness']
478
+ end
479
+ end
480
+
481
+ # 限速拦截日志
482
+ class BotLogData < TencentCloud::Common::AbstractModel
483
+ # @param List: Bot攻击日志数据集合
484
+ # 注意:此字段可能返回 null,表示取不到有效值。
485
+ # @type List: Array
486
+ # @param PageNo: 当前页
487
+ # 注意:此字段可能返回 null,表示取不到有效值。
488
+ # @type PageNo: Integer
489
+ # @param PageSize: 每页展示条数
490
+ # 注意:此字段可能返回 null,表示取不到有效值。
491
+ # @type PageSize: Integer
492
+ # @param Pages: 总页数
493
+ # 注意:此字段可能返回 null,表示取不到有效值。
494
+ # @type Pages: Integer
495
+ # @param TotalSize: 总条数
496
+ # 注意:此字段可能返回 null,表示取不到有效值。
497
+ # @type TotalSize: Integer
498
+
499
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
500
+
501
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
502
+ @List = list
503
+ @PageNo = pageno
504
+ @PageSize = pagesize
505
+ @Pages = pages
506
+ @TotalSize = totalsize
507
+ end
508
+
509
+ def deserialize(params)
510
+ unless params['List'].nil?
511
+ @List = []
512
+ params['List'].each do |i|
513
+ botlog_tmp = BotLog.new
514
+ botlog_tmp.deserialize(i)
515
+ @List << botlog_tmp
516
+ end
517
+ end
518
+ @PageNo = params['PageNo']
519
+ @PageSize = params['PageSize']
520
+ @Pages = params['Pages']
521
+ @TotalSize = params['TotalSize']
522
+ end
523
+ end
524
+
384
525
  # Bot 规则
385
526
  class BotManagedRule < TencentCloud::Common::AbstractModel
386
527
  # @param ManagedIds: 想开启的规则id
@@ -506,15 +647,19 @@ module TencentCloud
506
647
  # @param DropManagedIds: 拦截的规则ID
507
648
  # 注意:此字段可能返回 null,表示取不到有效值。
508
649
  # @type DropManagedIds: Array
650
+ # @param Switch: 本功能的开关
651
+ # 注意:此字段可能返回 null,表示取不到有效值。
652
+ # @type Switch: String
509
653
 
510
- attr_accessor :RuleID, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds
654
+ attr_accessor :RuleID, :AlgManagedIds, :CapManagedIds, :MonManagedIds, :DropManagedIds, :Switch
511
655
 
512
- def initialize(ruleid=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil)
656
+ def initialize(ruleid=nil, algmanagedids=nil, capmanagedids=nil, monmanagedids=nil, dropmanagedids=nil, switch=nil)
513
657
  @RuleID = ruleid
514
658
  @AlgManagedIds = algmanagedids
515
659
  @CapManagedIds = capmanagedids
516
660
  @MonManagedIds = monmanagedids
517
661
  @DropManagedIds = dropmanagedids
662
+ @Switch = switch
518
663
  end
519
664
 
520
665
  def deserialize(params)
@@ -523,6 +668,188 @@ module TencentCloud
523
668
  @CapManagedIds = params['CapManagedIds']
524
669
  @MonManagedIds = params['MonManagedIds']
525
670
  @DropManagedIds = params['DropManagedIds']
671
+ @Switch = params['Switch']
672
+ end
673
+ end
674
+
675
+ # CC拦截事件
676
+ class CCInterceptEvent < TencentCloud::Common::AbstractModel
677
+ # @param ClientIp: 客户端ip
678
+ # 注意:此字段可能返回 null,表示取不到有效值。
679
+ # @type ClientIp: String
680
+ # @param InterceptNum: 拦截次数/min
681
+ # 注意:此字段可能返回 null,表示取不到有效值。
682
+ # @type InterceptNum: Integer
683
+ # @param InterceptTime: 速拦截时间,分钟时间/min,单位为s
684
+ # @type InterceptTime: Integer
685
+
686
+ attr_accessor :ClientIp, :InterceptNum, :InterceptTime
687
+
688
+ def initialize(clientip=nil, interceptnum=nil, intercepttime=nil)
689
+ @ClientIp = clientip
690
+ @InterceptNum = interceptnum
691
+ @InterceptTime = intercepttime
692
+ end
693
+
694
+ def deserialize(params)
695
+ @ClientIp = params['ClientIp']
696
+ @InterceptNum = params['InterceptNum']
697
+ @InterceptTime = params['InterceptTime']
698
+ end
699
+ end
700
+
701
+ # CC拦截事件数据
702
+ class CCInterceptEventData < TencentCloud::Common::AbstractModel
703
+ # @param List: 攻击事件数据集合
704
+ # 注意:此字段可能返回 null,表示取不到有效值。
705
+ # @type List: Array
706
+ # @param PageNo: 当前页
707
+ # 注意:此字段可能返回 null,表示取不到有效值。
708
+ # @type PageNo: Integer
709
+ # @param PageSize: 每页展示条数
710
+ # 注意:此字段可能返回 null,表示取不到有效值。
711
+ # @type PageSize: Integer
712
+ # @param Pages: 总页数
713
+ # 注意:此字段可能返回 null,表示取不到有效值。
714
+ # @type Pages: Integer
715
+ # @param TotalSize: 总条数
716
+ # 注意:此字段可能返回 null,表示取不到有效值。
717
+ # @type TotalSize: Integer
718
+
719
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
720
+
721
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
722
+ @List = list
723
+ @PageNo = pageno
724
+ @PageSize = pagesize
725
+ @Pages = pages
726
+ @TotalSize = totalsize
727
+ end
728
+
729
+ def deserialize(params)
730
+ unless params['List'].nil?
731
+ @List = []
732
+ params['List'].each do |i|
733
+ ccinterceptevent_tmp = CCInterceptEvent.new
734
+ ccinterceptevent_tmp.deserialize(i)
735
+ @List << ccinterceptevent_tmp
736
+ end
737
+ end
738
+ @PageNo = params['PageNo']
739
+ @PageSize = params['PageSize']
740
+ @Pages = params['Pages']
741
+ @TotalSize = params['TotalSize']
742
+ end
743
+ end
744
+
745
+ # 限速拦截日志
746
+ class CCLog < TencentCloud::Common::AbstractModel
747
+ # @param AttackTime: 攻击时间
748
+ # 注意:此字段可能返回 null,表示取不到有效值。
749
+ # @type AttackTime: Integer
750
+ # @param AttackSip: 攻击源ip
751
+ # 注意:此字段可能返回 null,表示取不到有效值。
752
+ # @type AttackSip: String
753
+ # @param AttackDomain: 攻击域名
754
+ # 注意:此字段可能返回 null,表示取不到有效值。
755
+ # @type AttackDomain: String
756
+ # @param RequestUri: 请求uri
757
+ # 注意:此字段可能返回 null,表示取不到有效值。
758
+ # @type RequestUri: String
759
+ # @param HitCount: 命中次数
760
+ # 注意:此字段可能返回 null,表示取不到有效值。
761
+ # @type HitCount: Integer
762
+ # @param SipCountryCode: IP所在国家
763
+ # 注意:此字段可能返回 null,表示取不到有效值。
764
+ # @type SipCountryCode: String
765
+ # @param EventId: 事件id
766
+ # 注意:此字段可能返回 null,表示取不到有效值。
767
+ # @type EventId: String
768
+ # @param DisposalMethod: 处置方式
769
+ # 注意:此字段可能返回 null,表示取不到有效值。
770
+ # @type DisposalMethod: String
771
+ # @param HttpLog: http_log
772
+ # 注意:此字段可能返回 null,表示取不到有效值。
773
+ # @type HttpLog: String
774
+ # @param RuleId: 规则编号
775
+ # 注意:此字段可能返回 null,表示取不到有效值。
776
+ # @type RuleId: Integer
777
+ # @param RiskLevel: 风险等级
778
+ # 注意:此字段可能返回 null,表示取不到有效值。
779
+ # @type RiskLevel: String
780
+
781
+ attr_accessor :AttackTime, :AttackSip, :AttackDomain, :RequestUri, :HitCount, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :RuleId, :RiskLevel
782
+
783
+ def initialize(attacktime=nil, attacksip=nil, attackdomain=nil, requesturi=nil, hitcount=nil, sipcountrycode=nil, eventid=nil, disposalmethod=nil, httplog=nil, ruleid=nil, risklevel=nil)
784
+ @AttackTime = attacktime
785
+ @AttackSip = attacksip
786
+ @AttackDomain = attackdomain
787
+ @RequestUri = requesturi
788
+ @HitCount = hitcount
789
+ @SipCountryCode = sipcountrycode
790
+ @EventId = eventid
791
+ @DisposalMethod = disposalmethod
792
+ @HttpLog = httplog
793
+ @RuleId = ruleid
794
+ @RiskLevel = risklevel
795
+ end
796
+
797
+ def deserialize(params)
798
+ @AttackTime = params['AttackTime']
799
+ @AttackSip = params['AttackSip']
800
+ @AttackDomain = params['AttackDomain']
801
+ @RequestUri = params['RequestUri']
802
+ @HitCount = params['HitCount']
803
+ @SipCountryCode = params['SipCountryCode']
804
+ @EventId = params['EventId']
805
+ @DisposalMethod = params['DisposalMethod']
806
+ @HttpLog = params['HttpLog']
807
+ @RuleId = params['RuleId']
808
+ @RiskLevel = params['RiskLevel']
809
+ end
810
+ end
811
+
812
+ # 限速拦截日志
813
+ class CCLogData < TencentCloud::Common::AbstractModel
814
+ # @param List: CC拦截日志数据集合
815
+ # 注意:此字段可能返回 null,表示取不到有效值。
816
+ # @type List: Array
817
+ # @param PageNo: 当前页
818
+ # 注意:此字段可能返回 null,表示取不到有效值。
819
+ # @type PageNo: Integer
820
+ # @param PageSize: 每页展示条数
821
+ # 注意:此字段可能返回 null,表示取不到有效值。
822
+ # @type PageSize: Integer
823
+ # @param Pages: 总页数
824
+ # 注意:此字段可能返回 null,表示取不到有效值。
825
+ # @type Pages: Integer
826
+ # @param TotalSize: 总条数
827
+ # 注意:此字段可能返回 null,表示取不到有效值。
828
+ # @type TotalSize: Integer
829
+
830
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
831
+
832
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
833
+ @List = list
834
+ @PageNo = pageno
835
+ @PageSize = pagesize
836
+ @Pages = pages
837
+ @TotalSize = totalsize
838
+ end
839
+
840
+ def deserialize(params)
841
+ unless params['List'].nil?
842
+ @List = []
843
+ params['List'].each do |i|
844
+ cclog_tmp = CCLog.new
845
+ cclog_tmp.deserialize(i)
846
+ @List << cclog_tmp
847
+ end
848
+ end
849
+ @PageNo = params['PageNo']
850
+ @PageSize = params['PageSize']
851
+ @Pages = params['Pages']
852
+ @TotalSize = params['TotalSize']
526
853
  end
527
854
  end
528
855
 
@@ -1879,88 +2206,377 @@ module TencentCloud
1879
2206
  end
1880
2207
  end
1881
2208
 
1882
- # 统计曲线数据项
1883
- class DataItem < TencentCloud::Common::AbstractModel
1884
- # @param Time: 时间
1885
- # @type Time: String
1886
- # @param Value: 数值
2209
+ # DDos攻击事件对象
2210
+ class DDosAttackEvent < TencentCloud::Common::AbstractModel
2211
+ # @param PolicyId: ddos 策略组id
1887
2212
  # 注意:此字段可能返回 null,表示取不到有效值。
1888
- # @type Value: Integer
2213
+ # @type PolicyId: Integer
2214
+ # @param AttackType: 攻击类型(对应交互事件名称)
2215
+ # 注意:此字段可能返回 null,表示取不到有效值。
2216
+ # @type AttackType: String
2217
+ # @param AttackStatus: 攻击状态
2218
+ # 注意:此字段可能返回 null,表示取不到有效值。
2219
+ # @type AttackStatus: Integer
2220
+ # @param AttackMaxBandWidth: 攻击最大带宽
2221
+ # 注意:此字段可能返回 null,表示取不到有效值。
2222
+ # @type AttackMaxBandWidth: Integer
2223
+ # @param AttackPacketMaxRate: 攻击包速率峰值
2224
+ # 注意:此字段可能返回 null,表示取不到有效值。
2225
+ # @type AttackPacketMaxRate: Integer
2226
+ # @param AttackStartTime: 攻击开始时间 单位为s
2227
+ # 注意:此字段可能返回 null,表示取不到有效值。
2228
+ # @type AttackStartTime: Integer
2229
+ # @param AttackEndTime: 攻击结束时间 单位为s
2230
+ # 注意:此字段可能返回 null,表示取不到有效值。
2231
+ # @type AttackEndTime: Integer
2232
+ # @param EventId: 事件ID
2233
+ # 注意:此字段可能返回 null,表示取不到有效值。
2234
+ # @type EventId: String
2235
+ # @param ZoneId: 站点id
2236
+ # 注意:此字段可能返回 null,表示取不到有效值。
2237
+ # @type ZoneId: String
1889
2238
 
1890
- attr_accessor :Time, :Value
2239
+ attr_accessor :PolicyId, :AttackType, :AttackStatus, :AttackMaxBandWidth, :AttackPacketMaxRate, :AttackStartTime, :AttackEndTime, :EventId, :ZoneId
1891
2240
 
1892
- def initialize(time=nil, value=nil)
1893
- @Time = time
1894
- @Value = value
2241
+ def initialize(policyid=nil, attacktype=nil, attackstatus=nil, attackmaxbandwidth=nil, attackpacketmaxrate=nil, attackstarttime=nil, attackendtime=nil, eventid=nil, zoneid=nil)
2242
+ @PolicyId = policyid
2243
+ @AttackType = attacktype
2244
+ @AttackStatus = attackstatus
2245
+ @AttackMaxBandWidth = attackmaxbandwidth
2246
+ @AttackPacketMaxRate = attackpacketmaxrate
2247
+ @AttackStartTime = attackstarttime
2248
+ @AttackEndTime = attackendtime
2249
+ @EventId = eventid
2250
+ @ZoneId = zoneid
1895
2251
  end
1896
2252
 
1897
2253
  def deserialize(params)
1898
- @Time = params['Time']
1899
- @Value = params['Value']
2254
+ @PolicyId = params['PolicyId']
2255
+ @AttackType = params['AttackType']
2256
+ @AttackStatus = params['AttackStatus']
2257
+ @AttackMaxBandWidth = params['AttackMaxBandWidth']
2258
+ @AttackPacketMaxRate = params['AttackPacketMaxRate']
2259
+ @AttackStartTime = params['AttackStartTime']
2260
+ @AttackEndTime = params['AttackEndTime']
2261
+ @EventId = params['EventId']
2262
+ @ZoneId = params['ZoneId']
1900
2263
  end
1901
2264
  end
1902
2265
 
1903
- # ddos端口过滤
1904
- class DdosAcls < TencentCloud::Common::AbstractModel
1905
- # @param Switch: 开关 off清空规则标识
1906
- # @type Switch: String
1907
- # @param Acl: 端口过了详细参数
1908
- # @type Acl: Array
2266
+ # DDos攻击事件数据
2267
+ class DDosAttackEventData < TencentCloud::Common::AbstractModel
2268
+ # @param List: 攻击事件数据集合
2269
+ # 注意:此字段可能返回 null,表示取不到有效值。
2270
+ # @type List: Array
2271
+ # @param PageNo: 当前页
2272
+ # 注意:此字段可能返回 null,表示取不到有效值。
2273
+ # @type PageNo: Integer
2274
+ # @param PageSize: 每页展示条数
2275
+ # 注意:此字段可能返回 null,表示取不到有效值。
2276
+ # @type PageSize: Integer
2277
+ # @param Pages: 总页数
2278
+ # 注意:此字段可能返回 null,表示取不到有效值。
2279
+ # @type Pages: Integer
2280
+ # @param TotalSize: 总条数
2281
+ # 注意:此字段可能返回 null,表示取不到有效值。
2282
+ # @type TotalSize: Integer
1909
2283
 
1910
- attr_accessor :Switch, :Acl
2284
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
1911
2285
 
1912
- def initialize(switch=nil, acl=nil)
1913
- @Switch = switch
1914
- @Acl = acl
2286
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
2287
+ @List = list
2288
+ @PageNo = pageno
2289
+ @PageSize = pagesize
2290
+ @Pages = pages
2291
+ @TotalSize = totalsize
1915
2292
  end
1916
2293
 
1917
2294
  def deserialize(params)
1918
- @Switch = params['Switch']
1919
- unless params['Acl'].nil?
1920
- @Acl = []
1921
- params['Acl'].each do |i|
1922
- ddosacl_tmp = DDoSAcl.new
1923
- ddosacl_tmp.deserialize(i)
1924
- @Acl << ddosacl_tmp
2295
+ unless params['List'].nil?
2296
+ @List = []
2297
+ params['List'].each do |i|
2298
+ ddosattackevent_tmp = DDosAttackEvent.new
2299
+ ddosattackevent_tmp.deserialize(i)
2300
+ @List << ddosattackevent_tmp
1925
2301
  end
1926
2302
  end
2303
+ @PageNo = params['PageNo']
2304
+ @PageSize = params['PageSize']
2305
+ @Pages = params['Pages']
2306
+ @TotalSize = params['TotalSize']
1927
2307
  end
1928
2308
  end
1929
2309
 
1930
- # ddos黑白名单
1931
- class DdosAllowBlock < TencentCloud::Common::AbstractModel
1932
- # @param Switch: 开关标识防护是否清空
1933
- # @type Switch: String
1934
- # @param UserAllowBlockIp: 黑白名单数组
1935
- # @type UserAllowBlockIp: Array
2310
+ # ddos 攻击事件的详情
2311
+ class DDosAttackEventDetailData < TencentCloud::Common::AbstractModel
2312
+ # @param AttackStatus: 攻击状态
2313
+ # @type AttackStatus: Integer
2314
+ # @param AttackType: 攻击类型
2315
+ # @type AttackType: String
2316
+ # @param EndTime: 结束时间
2317
+ # @type EndTime: Integer
2318
+ # @param StartTime: 开始时间
2319
+ # @type StartTime: Integer
2320
+ # @param MaxBandWidth: 最大带宽
2321
+ # @type MaxBandWidth: Integer
2322
+ # @param PacketMaxRate: 最大包速率
2323
+ # @type PacketMaxRate: Integer
2324
+ # @param EventId: 事件Id
2325
+ # @type EventId: String
2326
+ # @param PolicyId: ddos 策略组id
2327
+ # @type PolicyId: Integer
1936
2328
 
1937
- attr_accessor :Switch, :UserAllowBlockIp
2329
+ attr_accessor :AttackStatus, :AttackType, :EndTime, :StartTime, :MaxBandWidth, :PacketMaxRate, :EventId, :PolicyId
1938
2330
 
1939
- def initialize(switch=nil, userallowblockip=nil)
1940
- @Switch = switch
1941
- @UserAllowBlockIp = userallowblockip
2331
+ def initialize(attackstatus=nil, attacktype=nil, endtime=nil, starttime=nil, maxbandwidth=nil, packetmaxrate=nil, eventid=nil, policyid=nil)
2332
+ @AttackStatus = attackstatus
2333
+ @AttackType = attacktype
2334
+ @EndTime = endtime
2335
+ @StartTime = starttime
2336
+ @MaxBandWidth = maxbandwidth
2337
+ @PacketMaxRate = packetmaxrate
2338
+ @EventId = eventid
2339
+ @PolicyId = policyid
1942
2340
  end
1943
2341
 
1944
2342
  def deserialize(params)
1945
- @Switch = params['Switch']
1946
- unless params['UserAllowBlockIp'].nil?
1947
- @UserAllowBlockIp = []
1948
- params['UserAllowBlockIp'].each do |i|
1949
- ddosuserallowblockip_tmp = DDoSUserAllowBlockIP.new
1950
- ddosuserallowblockip_tmp.deserialize(i)
1951
- @UserAllowBlockIp << ddosuserallowblockip_tmp
1952
- end
1953
- end
2343
+ @AttackStatus = params['AttackStatus']
2344
+ @AttackType = params['AttackType']
2345
+ @EndTime = params['EndTime']
2346
+ @StartTime = params['StartTime']
2347
+ @MaxBandWidth = params['MaxBandWidth']
2348
+ @PacketMaxRate = params['PacketMaxRate']
2349
+ @EventId = params['EventId']
2350
+ @PolicyId = params['PolicyId']
1954
2351
  end
1955
2352
  end
1956
2353
 
1957
- # ddos特征过滤
1958
- class DdosPacketFilter < TencentCloud::Common::AbstractModel
1959
- # @param Switch: 特征过滤清空标识,off清空处理
1960
- # @type Switch: String
1961
- # @param PacketFilter: 特征过滤数组
1962
- # @type PacketFilter: Array
1963
-
2354
+ # DDos攻击事件对象
2355
+ class DDosAttackSourceEvent < TencentCloud::Common::AbstractModel
2356
+ # @param AttackSourceIp: 攻击源ip
2357
+ # 注意:此字段可能返回 null,表示取不到有效值。
2358
+ # @type AttackSourceIp: String
2359
+ # @param AttackRegion: 地区(国家)
2360
+ # 注意:此字段可能返回 null,表示取不到有效值。
2361
+ # @type AttackRegion: String
2362
+ # @param AttackFlow: 累计攻击流量
2363
+ # 注意:此字段可能返回 null,表示取不到有效值。
2364
+ # @type AttackFlow: Integer
2365
+ # @param AttackPacketNum: 累计攻击包量
2366
+ # 注意:此字段可能返回 null,表示取不到有效值。
2367
+ # @type AttackPacketNum: Integer
2368
+
2369
+ attr_accessor :AttackSourceIp, :AttackRegion, :AttackFlow, :AttackPacketNum
2370
+
2371
+ def initialize(attacksourceip=nil, attackregion=nil, attackflow=nil, attackpacketnum=nil)
2372
+ @AttackSourceIp = attacksourceip
2373
+ @AttackRegion = attackregion
2374
+ @AttackFlow = attackflow
2375
+ @AttackPacketNum = attackpacketnum
2376
+ end
2377
+
2378
+ def deserialize(params)
2379
+ @AttackSourceIp = params['AttackSourceIp']
2380
+ @AttackRegion = params['AttackRegion']
2381
+ @AttackFlow = params['AttackFlow']
2382
+ @AttackPacketNum = params['AttackPacketNum']
2383
+ end
2384
+ end
2385
+
2386
+ # DDos攻击源数据
2387
+ class DDosAttackSourceEventData < TencentCloud::Common::AbstractModel
2388
+ # @param List: DDos攻击源数据集合
2389
+ # 注意:此字段可能返回 null,表示取不到有效值。
2390
+ # @type List: Array
2391
+ # @param PageNo: 当前页
2392
+ # 注意:此字段可能返回 null,表示取不到有效值。
2393
+ # @type PageNo: Integer
2394
+ # @param PageSize: 每页展示条数
2395
+ # 注意:此字段可能返回 null,表示取不到有效值。
2396
+ # @type PageSize: Integer
2397
+ # @param Pages: 总页数
2398
+ # 注意:此字段可能返回 null,表示取不到有效值。
2399
+ # @type Pages: Integer
2400
+ # @param TotalSize: 总条数
2401
+ # 注意:此字段可能返回 null,表示取不到有效值。
2402
+ # @type TotalSize: Integer
2403
+
2404
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
2405
+
2406
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
2407
+ @List = list
2408
+ @PageNo = pageno
2409
+ @PageSize = pagesize
2410
+ @Pages = pages
2411
+ @TotalSize = totalsize
2412
+ end
2413
+
2414
+ def deserialize(params)
2415
+ unless params['List'].nil?
2416
+ @List = []
2417
+ params['List'].each do |i|
2418
+ ddosattacksourceevent_tmp = DDosAttackSourceEvent.new
2419
+ ddosattacksourceevent_tmp.deserialize(i)
2420
+ @List << ddosattacksourceevent_tmp
2421
+ end
2422
+ end
2423
+ @PageNo = params['PageNo']
2424
+ @PageSize = params['PageSize']
2425
+ @Pages = params['Pages']
2426
+ @TotalSize = params['TotalSize']
2427
+ end
2428
+ end
2429
+
2430
+ # DDos主攻击事件
2431
+ class DDosMajorAttackEvent < TencentCloud::Common::AbstractModel
2432
+ # @param PolicyId: ddos 策略组id
2433
+ # @type PolicyId: Integer
2434
+ # @param AttackMaxBandWidth: 攻击最大带宽
2435
+ # @type AttackMaxBandWidth: Integer
2436
+ # @param AttackTime: 攻击时间 单位为s
2437
+ # @type AttackTime: Integer
2438
+
2439
+ attr_accessor :PolicyId, :AttackMaxBandWidth, :AttackTime
2440
+
2441
+ def initialize(policyid=nil, attackmaxbandwidth=nil, attacktime=nil)
2442
+ @PolicyId = policyid
2443
+ @AttackMaxBandWidth = attackmaxbandwidth
2444
+ @AttackTime = attacktime
2445
+ end
2446
+
2447
+ def deserialize(params)
2448
+ @PolicyId = params['PolicyId']
2449
+ @AttackMaxBandWidth = params['AttackMaxBandWidth']
2450
+ @AttackTime = params['AttackTime']
2451
+ end
2452
+ end
2453
+
2454
+ # 主攻击对象Data
2455
+ class DDosMajorAttackEventData < TencentCloud::Common::AbstractModel
2456
+ # @param List: DDosMajorAttackEvent ddos 攻击事件
2457
+ # 注意:此字段可能返回 null,表示取不到有效值。
2458
+ # @type List: Array
2459
+ # @param PageNo: 当前页
2460
+ # 注意:此字段可能返回 null,表示取不到有效值。
2461
+ # @type PageNo: Integer
2462
+ # @param PageSize: 每页展示条数
2463
+ # 注意:此字段可能返回 null,表示取不到有效值。
2464
+ # @type PageSize: Integer
2465
+ # @param Pages: 总页数
2466
+ # 注意:此字段可能返回 null,表示取不到有效值。
2467
+ # @type Pages: Integer
2468
+ # @param TotalSize: 总条数
2469
+ # 注意:此字段可能返回 null,表示取不到有效值。
2470
+ # @type TotalSize: Integer
2471
+
2472
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
2473
+
2474
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
2475
+ @List = list
2476
+ @PageNo = pageno
2477
+ @PageSize = pagesize
2478
+ @Pages = pages
2479
+ @TotalSize = totalsize
2480
+ end
2481
+
2482
+ def deserialize(params)
2483
+ unless params['List'].nil?
2484
+ @List = []
2485
+ params['List'].each do |i|
2486
+ ddosmajorattackevent_tmp = DDosMajorAttackEvent.new
2487
+ ddosmajorattackevent_tmp.deserialize(i)
2488
+ @List << ddosmajorattackevent_tmp
2489
+ end
2490
+ end
2491
+ @PageNo = params['PageNo']
2492
+ @PageSize = params['PageSize']
2493
+ @Pages = params['Pages']
2494
+ @TotalSize = params['TotalSize']
2495
+ end
2496
+ end
2497
+
2498
+ # 统计曲线数据项
2499
+ class DataItem < TencentCloud::Common::AbstractModel
2500
+ # @param Time: 时间
2501
+ # @type Time: String
2502
+ # @param Value: 数值
2503
+ # 注意:此字段可能返回 null,表示取不到有效值。
2504
+ # @type Value: Integer
2505
+
2506
+ attr_accessor :Time, :Value
2507
+
2508
+ def initialize(time=nil, value=nil)
2509
+ @Time = time
2510
+ @Value = value
2511
+ end
2512
+
2513
+ def deserialize(params)
2514
+ @Time = params['Time']
2515
+ @Value = params['Value']
2516
+ end
2517
+ end
2518
+
2519
+ # ddos端口过滤
2520
+ class DdosAcls < TencentCloud::Common::AbstractModel
2521
+ # @param Switch: 开关 off清空规则标识
2522
+ # @type Switch: String
2523
+ # @param Acl: 端口过了详细参数
2524
+ # @type Acl: Array
2525
+
2526
+ attr_accessor :Switch, :Acl
2527
+
2528
+ def initialize(switch=nil, acl=nil)
2529
+ @Switch = switch
2530
+ @Acl = acl
2531
+ end
2532
+
2533
+ def deserialize(params)
2534
+ @Switch = params['Switch']
2535
+ unless params['Acl'].nil?
2536
+ @Acl = []
2537
+ params['Acl'].each do |i|
2538
+ ddosacl_tmp = DDoSAcl.new
2539
+ ddosacl_tmp.deserialize(i)
2540
+ @Acl << ddosacl_tmp
2541
+ end
2542
+ end
2543
+ end
2544
+ end
2545
+
2546
+ # ddos黑白名单
2547
+ class DdosAllowBlock < TencentCloud::Common::AbstractModel
2548
+ # @param Switch: 开关标识防护是否清空
2549
+ # @type Switch: String
2550
+ # @param UserAllowBlockIp: 黑白名单数组
2551
+ # @type UserAllowBlockIp: Array
2552
+
2553
+ attr_accessor :Switch, :UserAllowBlockIp
2554
+
2555
+ def initialize(switch=nil, userallowblockip=nil)
2556
+ @Switch = switch
2557
+ @UserAllowBlockIp = userallowblockip
2558
+ end
2559
+
2560
+ def deserialize(params)
2561
+ @Switch = params['Switch']
2562
+ unless params['UserAllowBlockIp'].nil?
2563
+ @UserAllowBlockIp = []
2564
+ params['UserAllowBlockIp'].each do |i|
2565
+ ddosuserallowblockip_tmp = DDoSUserAllowBlockIP.new
2566
+ ddosuserallowblockip_tmp.deserialize(i)
2567
+ @UserAllowBlockIp << ddosuserallowblockip_tmp
2568
+ end
2569
+ end
2570
+ end
2571
+ end
2572
+
2573
+ # ddos特征过滤
2574
+ class DdosPacketFilter < TencentCloud::Common::AbstractModel
2575
+ # @param Switch: 特征过滤清空标识,off清空处理
2576
+ # @type Switch: String
2577
+ # @param PacketFilter: 特征过滤数组
2578
+ # @type PacketFilter: Array
2579
+
1964
2580
  attr_accessor :Switch, :PacketFilter
1965
2581
 
1966
2582
  def initialize(switch=nil, packetfilter=nil)
@@ -2527,6 +3143,84 @@ module TencentCloud
2527
3143
  end
2528
3144
  end
2529
3145
 
3146
+ # DescribeBotLog请求参数结构体
3147
+ class DescribeBotLogRequest < TencentCloud::Common::AbstractModel
3148
+ # @param StartTime: 起始时间
3149
+ # @type StartTime: String
3150
+ # @param EndTime: 结束时间
3151
+ # @type EndTime: String
3152
+ # @param PageSize: 每页条数
3153
+ # @type PageSize: Integer
3154
+ # @param PageNo: 当前页
3155
+ # @type PageNo: Integer
3156
+ # @param ZoneIds: 站点集合
3157
+ # @type ZoneIds: Array
3158
+ # @param Domains: 域名集合
3159
+ # @type Domains: Array
3160
+ # @param QueryCondition: 查询条件
3161
+ # @type QueryCondition: Array
3162
+
3163
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
3164
+
3165
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
3166
+ @StartTime = starttime
3167
+ @EndTime = endtime
3168
+ @PageSize = pagesize
3169
+ @PageNo = pageno
3170
+ @ZoneIds = zoneids
3171
+ @Domains = domains
3172
+ @QueryCondition = querycondition
3173
+ end
3174
+
3175
+ def deserialize(params)
3176
+ @StartTime = params['StartTime']
3177
+ @EndTime = params['EndTime']
3178
+ @PageSize = params['PageSize']
3179
+ @PageNo = params['PageNo']
3180
+ @ZoneIds = params['ZoneIds']
3181
+ @Domains = params['Domains']
3182
+ unless params['QueryCondition'].nil?
3183
+ @QueryCondition = []
3184
+ params['QueryCondition'].each do |i|
3185
+ querycondition_tmp = QueryCondition.new
3186
+ querycondition_tmp.deserialize(i)
3187
+ @QueryCondition << querycondition_tmp
3188
+ end
3189
+ end
3190
+ end
3191
+ end
3192
+
3193
+ # DescribeBotLog返回参数结构体
3194
+ class DescribeBotLogResponse < TencentCloud::Common::AbstractModel
3195
+ # @param Data: Bot攻击Data
3196
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.BotLogData`
3197
+ # @param Status: 状态,1:失败,0:成功
3198
+ # @type Status: Integer
3199
+ # @param Msg: 返回信息
3200
+ # @type Msg: String
3201
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3202
+ # @type RequestId: String
3203
+
3204
+ attr_accessor :Data, :Status, :Msg, :RequestId
3205
+
3206
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3207
+ @Data = data
3208
+ @Status = status
3209
+ @Msg = msg
3210
+ @RequestId = requestid
3211
+ end
3212
+
3213
+ def deserialize(params)
3214
+ unless params['Data'].nil?
3215
+ @Data = BotLogData.new
3216
+ @Data.deserialize(params['Data'])
3217
+ end
3218
+ @Status = params['Status']
3219
+ @Msg = params['Msg']
3220
+ @RequestId = params['RequestId']
3221
+ end
3222
+ end
3223
+
2530
3224
  # DescribeBotManagedRules请求参数结构体
2531
3225
  class DescribeBotManagedRulesRequest < TencentCloud::Common::AbstractModel
2532
3226
  # @param ZoneId: 一级域名
@@ -2677,48 +3371,483 @@ module TencentCloud
2677
3371
  end
2678
3372
  end
2679
3373
 
2680
- # DescribeDefaultCertificates请求参数结构体
2681
- class DescribeDefaultCertificatesRequest < TencentCloud::Common::AbstractModel
2682
- # @param ZoneId: Zone ID
2683
- # @type ZoneId: String
3374
+ # DescribeDDosAttackData请求参数结构体
3375
+ class DescribeDDosAttackDataRequest < TencentCloud::Common::AbstractModel
3376
+ # @param StartTime: 开始时间
3377
+ # @type StartTime: String
3378
+ # @param EndTime: 结束时间
3379
+ # @type EndTime: String
3380
+ # @param MetricNames: 统计指标列表
3381
+ # @type MetricNames: Array
3382
+ # @param ZoneIds: 站点id列表
3383
+ # @type ZoneIds: Array
3384
+ # @param PolicyIds: ddos策略组id列表
3385
+ # @type PolicyIds: Array
3386
+ # @param Port: 端口号
3387
+ # @type Port: Integer
3388
+ # @param ProtocolType: 协议类型,tcp,udp,all
3389
+ # @type ProtocolType: String
3390
+ # @param AttackType: 攻击类型,flood,icmpFlood......,all
3391
+ # @type AttackType: String
3392
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
3393
+ # @type Interval: String
2684
3394
 
2685
- attr_accessor :ZoneId
3395
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
2686
3396
 
2687
- def initialize(zoneid=nil)
2688
- @ZoneId = zoneid
3397
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, interval=nil)
3398
+ @StartTime = starttime
3399
+ @EndTime = endtime
3400
+ @MetricNames = metricnames
3401
+ @ZoneIds = zoneids
3402
+ @PolicyIds = policyids
3403
+ @Port = port
3404
+ @ProtocolType = protocoltype
3405
+ @AttackType = attacktype
3406
+ @Interval = interval
2689
3407
  end
2690
3408
 
2691
3409
  def deserialize(params)
2692
- @ZoneId = params['ZoneId']
3410
+ @StartTime = params['StartTime']
3411
+ @EndTime = params['EndTime']
3412
+ @MetricNames = params['MetricNames']
3413
+ @ZoneIds = params['ZoneIds']
3414
+ @PolicyIds = params['PolicyIds']
3415
+ @Port = params['Port']
3416
+ @ProtocolType = params['ProtocolType']
3417
+ @AttackType = params['AttackType']
3418
+ @Interval = params['Interval']
2693
3419
  end
2694
3420
  end
2695
3421
 
2696
- # DescribeDefaultCertificates返回参数结构体
2697
- class DescribeDefaultCertificatesResponse < TencentCloud::Common::AbstractModel
2698
- # @param TotalCount: 证书总数
2699
- # @type TotalCount: Integer
2700
- # @param CertInfo: 默认证书列表
3422
+ # DescribeDDosAttackData返回参数结构体
3423
+ class DescribeDDosAttackDataResponse < TencentCloud::Common::AbstractModel
3424
+ # @param Data: DDos攻击数据
2701
3425
  # 注意:此字段可能返回 null,表示取不到有效值。
2702
- # @type CertInfo: Array
3426
+ # @type Data: Array
3427
+ # @param Status: 状态,1:失败,0:成功
3428
+ # @type Status: Integer
3429
+ # @param Msg: 返回数据
3430
+ # @type Msg: String
3431
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
3432
+ # @type Interval: String
2703
3433
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2704
3434
  # @type RequestId: String
2705
3435
 
2706
- attr_accessor :TotalCount, :CertInfo, :RequestId
3436
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
2707
3437
 
2708
- def initialize(totalcount=nil, certinfo=nil, requestid=nil)
2709
- @TotalCount = totalcount
2710
- @CertInfo = certinfo
3438
+ def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
3439
+ @Data = data
3440
+ @Status = status
3441
+ @Msg = msg
3442
+ @Interval = interval
2711
3443
  @RequestId = requestid
2712
3444
  end
2713
3445
 
2714
3446
  def deserialize(params)
2715
- @TotalCount = params['TotalCount']
2716
- unless params['CertInfo'].nil?
2717
- @CertInfo = []
2718
- params['CertInfo'].each do |i|
2719
- defaultservercertinfo_tmp = DefaultServerCertInfo.new
2720
- defaultservercertinfo_tmp.deserialize(i)
2721
- @CertInfo << defaultservercertinfo_tmp
3447
+ unless params['Data'].nil?
3448
+ @Data = []
3449
+ params['Data'].each do |i|
3450
+ secentry_tmp = SecEntry.new
3451
+ secentry_tmp.deserialize(i)
3452
+ @Data << secentry_tmp
3453
+ end
3454
+ end
3455
+ @Status = params['Status']
3456
+ @Msg = params['Msg']
3457
+ @Interval = params['Interval']
3458
+ @RequestId = params['RequestId']
3459
+ end
3460
+ end
3461
+
3462
+ # DescribeDDosAttackEventDetail请求参数结构体
3463
+ class DescribeDDosAttackEventDetailRequest < TencentCloud::Common::AbstractModel
3464
+ # @param EventId: 时间id
3465
+ # @type EventId: String
3466
+
3467
+ attr_accessor :EventId
3468
+
3469
+ def initialize(eventid=nil)
3470
+ @EventId = eventid
3471
+ end
3472
+
3473
+ def deserialize(params)
3474
+ @EventId = params['EventId']
3475
+ end
3476
+ end
3477
+
3478
+ # DescribeDDosAttackEventDetail返回参数结构体
3479
+ class DescribeDDosAttackEventDetailResponse < TencentCloud::Common::AbstractModel
3480
+ # @param Data: DDos攻击事件详情
3481
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.DDosAttackEventDetailData`
3482
+ # @param Status: 状态,1:失败,0:成功
3483
+ # @type Status: Integer
3484
+ # @param Msg: 返回信息
3485
+ # @type Msg: String
3486
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3487
+ # @type RequestId: String
3488
+
3489
+ attr_accessor :Data, :Status, :Msg, :RequestId
3490
+
3491
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3492
+ @Data = data
3493
+ @Status = status
3494
+ @Msg = msg
3495
+ @RequestId = requestid
3496
+ end
3497
+
3498
+ def deserialize(params)
3499
+ unless params['Data'].nil?
3500
+ @Data = DDosAttackEventDetailData.new
3501
+ @Data.deserialize(params['Data'])
3502
+ end
3503
+ @Status = params['Status']
3504
+ @Msg = params['Msg']
3505
+ @RequestId = params['RequestId']
3506
+ end
3507
+ end
3508
+
3509
+ # DescribeDDosAttackEvent请求参数结构体
3510
+ class DescribeDDosAttackEventRequest < TencentCloud::Common::AbstractModel
3511
+ # @param StartTime: 开始时间
3512
+ # @type StartTime: String
3513
+ # @param EndTime: 结束时间
3514
+ # @type EndTime: String
3515
+ # @param PageSize: 条数
3516
+ # @type PageSize: Integer
3517
+ # @param PageNo: 当前页
3518
+ # @type PageNo: Integer
3519
+ # @param PolicyIds: ddos策略组id 集合
3520
+ # @type PolicyIds: Array
3521
+ # @param ZoneIds: 站点集合
3522
+ # @type ZoneIds: Array
3523
+ # @param ProtocolType: 协议类型,{tcp,udp,all}
3524
+ # @type ProtocolType: String
3525
+ # @param IsShowDetail: 选填{Y、N},默认为Y;Y:展示,N:不展示
3526
+ # @type IsShowDetail: String
3527
+
3528
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail
3529
+
3530
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, isshowdetail=nil)
3531
+ @StartTime = starttime
3532
+ @EndTime = endtime
3533
+ @PageSize = pagesize
3534
+ @PageNo = pageno
3535
+ @PolicyIds = policyids
3536
+ @ZoneIds = zoneids
3537
+ @ProtocolType = protocoltype
3538
+ @IsShowDetail = isshowdetail
3539
+ end
3540
+
3541
+ def deserialize(params)
3542
+ @StartTime = params['StartTime']
3543
+ @EndTime = params['EndTime']
3544
+ @PageSize = params['PageSize']
3545
+ @PageNo = params['PageNo']
3546
+ @PolicyIds = params['PolicyIds']
3547
+ @ZoneIds = params['ZoneIds']
3548
+ @ProtocolType = params['ProtocolType']
3549
+ @IsShowDetail = params['IsShowDetail']
3550
+ end
3551
+ end
3552
+
3553
+ # DescribeDDosAttackEvent返回参数结构体
3554
+ class DescribeDDosAttackEventResponse < TencentCloud::Common::AbstractModel
3555
+ # @param Data: DDos攻击事件数据
3556
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.DDosAttackEventData`
3557
+ # @param Status: 状态,1:失败,0:成功
3558
+ # @type Status: Integer
3559
+ # @param Msg: 返回信息
3560
+ # @type Msg: String
3561
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3562
+ # @type RequestId: String
3563
+
3564
+ attr_accessor :Data, :Status, :Msg, :RequestId
3565
+
3566
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3567
+ @Data = data
3568
+ @Status = status
3569
+ @Msg = msg
3570
+ @RequestId = requestid
3571
+ end
3572
+
3573
+ def deserialize(params)
3574
+ unless params['Data'].nil?
3575
+ @Data = DDosAttackEventData.new
3576
+ @Data.deserialize(params['Data'])
3577
+ end
3578
+ @Status = params['Status']
3579
+ @Msg = params['Msg']
3580
+ @RequestId = params['RequestId']
3581
+ end
3582
+ end
3583
+
3584
+ # DescribeDDosAttackSourceEvent请求参数结构体
3585
+ class DescribeDDosAttackSourceEventRequest < TencentCloud::Common::AbstractModel
3586
+ # @param StartTime: 开始时间
3587
+ # @type StartTime: String
3588
+ # @param EndTime: 结束时间
3589
+ # @type EndTime: String
3590
+ # @param PageSize: 条数
3591
+ # @type PageSize: Integer
3592
+ # @param PageNo: 当前页
3593
+ # @type PageNo: Integer
3594
+ # @param PolicyIds: ddos策略组id 集合
3595
+ # @type PolicyIds: Array
3596
+ # @param ZoneIds: 站点集合
3597
+ # @type ZoneIds: Array
3598
+ # @param ProtocolType: 协议类型,{tcp,udp,all}
3599
+ # @type ProtocolType: String
3600
+
3601
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType
3602
+
3603
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil)
3604
+ @StartTime = starttime
3605
+ @EndTime = endtime
3606
+ @PageSize = pagesize
3607
+ @PageNo = pageno
3608
+ @PolicyIds = policyids
3609
+ @ZoneIds = zoneids
3610
+ @ProtocolType = protocoltype
3611
+ end
3612
+
3613
+ def deserialize(params)
3614
+ @StartTime = params['StartTime']
3615
+ @EndTime = params['EndTime']
3616
+ @PageSize = params['PageSize']
3617
+ @PageNo = params['PageNo']
3618
+ @PolicyIds = params['PolicyIds']
3619
+ @ZoneIds = params['ZoneIds']
3620
+ @ProtocolType = params['ProtocolType']
3621
+ end
3622
+ end
3623
+
3624
+ # DescribeDDosAttackSourceEvent返回参数结构体
3625
+ class DescribeDDosAttackSourceEventResponse < TencentCloud::Common::AbstractModel
3626
+ # @param Data: DDos攻击源数据
3627
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.DDosAttackSourceEventData`
3628
+ # @param Status: 状态,1:失败,0:成功
3629
+ # @type Status: Integer
3630
+ # @param Msg: 返回信息
3631
+ # @type Msg: String
3632
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3633
+ # @type RequestId: String
3634
+
3635
+ attr_accessor :Data, :Status, :Msg, :RequestId
3636
+
3637
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3638
+ @Data = data
3639
+ @Status = status
3640
+ @Msg = msg
3641
+ @RequestId = requestid
3642
+ end
3643
+
3644
+ def deserialize(params)
3645
+ unless params['Data'].nil?
3646
+ @Data = DDosAttackSourceEventData.new
3647
+ @Data.deserialize(params['Data'])
3648
+ end
3649
+ @Status = params['Status']
3650
+ @Msg = params['Msg']
3651
+ @RequestId = params['RequestId']
3652
+ end
3653
+ end
3654
+
3655
+ # DescribeDDosAttackTopData请求参数结构体
3656
+ class DescribeDDosAttackTopDataRequest < TencentCloud::Common::AbstractModel
3657
+ # @param StartTime: 开始时间
3658
+ # @type StartTime: String
3659
+ # @param EndTime: 结束时间
3660
+ # @type EndTime: String
3661
+ # @param MetricName: 过滤指标
3662
+ # @type MetricName: String
3663
+ # @param Limit: 查询前多少名,传值为0 全量
3664
+ # @type Limit: Integer
3665
+ # @param ZoneIds: 站点集合
3666
+ # @type ZoneIds: Array
3667
+ # @param PolicyIds: ddos策略组id 集合
3668
+ # @type PolicyIds: Array
3669
+ # @param Port: 端口号
3670
+ # @type Port: Integer
3671
+ # @param ProtocolType: 协议类型,tcp,udp,all
3672
+ # @type ProtocolType: String
3673
+ # @param AttackType: 攻击类型,flood,icmpFlood......,all
3674
+ # @type AttackType: String
3675
+
3676
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType
3677
+
3678
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil)
3679
+ @StartTime = starttime
3680
+ @EndTime = endtime
3681
+ @MetricName = metricname
3682
+ @Limit = limit
3683
+ @ZoneIds = zoneids
3684
+ @PolicyIds = policyids
3685
+ @Port = port
3686
+ @ProtocolType = protocoltype
3687
+ @AttackType = attacktype
3688
+ end
3689
+
3690
+ def deserialize(params)
3691
+ @StartTime = params['StartTime']
3692
+ @EndTime = params['EndTime']
3693
+ @MetricName = params['MetricName']
3694
+ @Limit = params['Limit']
3695
+ @ZoneIds = params['ZoneIds']
3696
+ @PolicyIds = params['PolicyIds']
3697
+ @Port = params['Port']
3698
+ @ProtocolType = params['ProtocolType']
3699
+ @AttackType = params['AttackType']
3700
+ end
3701
+ end
3702
+
3703
+ # DescribeDDosAttackTopData返回参数结构体
3704
+ class DescribeDDosAttackTopDataResponse < TencentCloud::Common::AbstractModel
3705
+ # @param Data: topn数据
3706
+ # @type Data: Array
3707
+ # @param Status: 状态,1:失败,0:成功
3708
+ # @type Status: Integer
3709
+ # @param Msg: 返回消息
3710
+ # @type Msg: String
3711
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3712
+ # @type RequestId: String
3713
+
3714
+ attr_accessor :Data, :Status, :Msg, :RequestId
3715
+
3716
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3717
+ @Data = data
3718
+ @Status = status
3719
+ @Msg = msg
3720
+ @RequestId = requestid
3721
+ end
3722
+
3723
+ def deserialize(params)
3724
+ unless params['Data'].nil?
3725
+ @Data = []
3726
+ params['Data'].each do |i|
3727
+ topnentry_tmp = TopNEntry.new
3728
+ topnentry_tmp.deserialize(i)
3729
+ @Data << topnentry_tmp
3730
+ end
3731
+ end
3732
+ @Status = params['Status']
3733
+ @Msg = params['Msg']
3734
+ @RequestId = params['RequestId']
3735
+ end
3736
+ end
3737
+
3738
+ # DescribeDDosMajorAttackEvent请求参数结构体
3739
+ class DescribeDDosMajorAttackEventRequest < TencentCloud::Common::AbstractModel
3740
+ # @param StartTime: 开始时间
3741
+ # @type StartTime: String
3742
+ # @param EndTime: 结束时间
3743
+ # @type EndTime: String
3744
+ # @param PageSize: 条数
3745
+ # @type PageSize: Integer
3746
+ # @param PageNo: 当前页
3747
+ # @type PageNo: Integer
3748
+ # @param PolicyIds: ddos 策略组id集合
3749
+ # @type PolicyIds: Array
3750
+ # @param ProtocolType: 协议类型,{tcp,udp,all}
3751
+ # @type ProtocolType: String
3752
+ # @param ZoneIds: 站点集合
3753
+ # @type ZoneIds: Array
3754
+
3755
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds
3756
+
3757
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, protocoltype=nil, zoneids=nil)
3758
+ @StartTime = starttime
3759
+ @EndTime = endtime
3760
+ @PageSize = pagesize
3761
+ @PageNo = pageno
3762
+ @PolicyIds = policyids
3763
+ @ProtocolType = protocoltype
3764
+ @ZoneIds = zoneids
3765
+ end
3766
+
3767
+ def deserialize(params)
3768
+ @StartTime = params['StartTime']
3769
+ @EndTime = params['EndTime']
3770
+ @PageSize = params['PageSize']
3771
+ @PageNo = params['PageNo']
3772
+ @PolicyIds = params['PolicyIds']
3773
+ @ProtocolType = params['ProtocolType']
3774
+ @ZoneIds = params['ZoneIds']
3775
+ end
3776
+ end
3777
+
3778
+ # DescribeDDosMajorAttackEvent返回参数结构体
3779
+ class DescribeDDosMajorAttackEventResponse < TencentCloud::Common::AbstractModel
3780
+ # @param Data: DDos查询主攻击事件
3781
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.DDosMajorAttackEventData`
3782
+ # @param Status: 状态,1:失败,0:成功
3783
+ # @type Status: Integer
3784
+ # @param Msg: 返回消息
3785
+ # @type Msg: String
3786
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3787
+ # @type RequestId: String
3788
+
3789
+ attr_accessor :Data, :Status, :Msg, :RequestId
3790
+
3791
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
3792
+ @Data = data
3793
+ @Status = status
3794
+ @Msg = msg
3795
+ @RequestId = requestid
3796
+ end
3797
+
3798
+ def deserialize(params)
3799
+ unless params['Data'].nil?
3800
+ @Data = DDosMajorAttackEventData.new
3801
+ @Data.deserialize(params['Data'])
3802
+ end
3803
+ @Status = params['Status']
3804
+ @Msg = params['Msg']
3805
+ @RequestId = params['RequestId']
3806
+ end
3807
+ end
3808
+
3809
+ # DescribeDefaultCertificates请求参数结构体
3810
+ class DescribeDefaultCertificatesRequest < TencentCloud::Common::AbstractModel
3811
+ # @param ZoneId: Zone ID
3812
+ # @type ZoneId: String
3813
+
3814
+ attr_accessor :ZoneId
3815
+
3816
+ def initialize(zoneid=nil)
3817
+ @ZoneId = zoneid
3818
+ end
3819
+
3820
+ def deserialize(params)
3821
+ @ZoneId = params['ZoneId']
3822
+ end
3823
+ end
3824
+
3825
+ # DescribeDefaultCertificates返回参数结构体
3826
+ class DescribeDefaultCertificatesResponse < TencentCloud::Common::AbstractModel
3827
+ # @param TotalCount: 证书总数
3828
+ # @type TotalCount: Integer
3829
+ # @param CertInfo: 默认证书列表
3830
+ # 注意:此字段可能返回 null,表示取不到有效值。
3831
+ # @type CertInfo: Array
3832
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3833
+ # @type RequestId: String
3834
+
3835
+ attr_accessor :TotalCount, :CertInfo, :RequestId
3836
+
3837
+ def initialize(totalcount=nil, certinfo=nil, requestid=nil)
3838
+ @TotalCount = totalcount
3839
+ @CertInfo = certinfo
3840
+ @RequestId = requestid
3841
+ end
3842
+
3843
+ def deserialize(params)
3844
+ @TotalCount = params['TotalCount']
3845
+ unless params['CertInfo'].nil?
3846
+ @CertInfo = []
3847
+ params['CertInfo'].each do |i|
3848
+ defaultservercertinfo_tmp = DefaultServerCertInfo.new
3849
+ defaultservercertinfo_tmp.deserialize(i)
3850
+ @CertInfo << defaultservercertinfo_tmp
2722
3851
  end
2723
3852
  end
2724
3853
  @RequestId = params['RequestId']
@@ -3428,29 +4557,104 @@ module TencentCloud
3428
4557
  end
3429
4558
  end
3430
4559
 
3431
- # DescribePrefetchTasks请求参数结构体
3432
- class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
3433
- # @param JobId: 任务ID
3434
- # @type JobId: String
3435
- # @param StartTime: 查询起始时间
4560
+ # DescribeOverviewL7Data请求参数结构体
4561
+ class DescribeOverviewL7DataRequest < TencentCloud::Common::AbstractModel
4562
+ # @param StartTime: RFC3339格式,客户端时间
3436
4563
  # @type StartTime: String
3437
- # @param EndTime: 查询结束时间
4564
+ # @param EndTime: RFC3339格式,客户端时间
3438
4565
  # @type EndTime: String
3439
- # @param Offset: 查询起始偏移量
3440
- # @type Offset: Integer
3441
- # @param Limit: 查询最大返回的结果条数
3442
- # @type Limit: Integer
3443
- # @param Statuses: 查询的状态
3444
- # 允许的值为:processing、success、failed、timeout、invalid
3445
- # @type Statuses: Array
3446
- # @param ZoneId: zone id
3447
- # @type ZoneId: String
3448
- # @param Domains: 查询的域名列表
4566
+ # @param MetricNames: 指标列表
4567
+ # @type MetricNames: Array
4568
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
4569
+ # @type Interval: String
4570
+ # @param ZoneIds: ZoneId列表,仅在zone/domain维度下查询时该参数有效
4571
+ # @type ZoneIds: Array
4572
+ # @param Domains: Domain列表,仅在domain维度下查询时该参数有效
3449
4573
  # @type Domains: Array
3450
- # @param Target: 查询的资源
3451
- # @type Target: String
4574
+ # @param Protocol: 协议类型, 选填{http,http2,https,all}
4575
+ # @type Protocol: String
3452
4576
 
3453
- attr_accessor :JobId, :StartTime, :EndTime, :Offset, :Limit, :Statuses, :ZoneId, :Domains, :Target
4577
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
4578
+
4579
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, domains=nil, protocol=nil)
4580
+ @StartTime = starttime
4581
+ @EndTime = endtime
4582
+ @MetricNames = metricnames
4583
+ @Interval = interval
4584
+ @ZoneIds = zoneids
4585
+ @Domains = domains
4586
+ @Protocol = protocol
4587
+ end
4588
+
4589
+ def deserialize(params)
4590
+ @StartTime = params['StartTime']
4591
+ @EndTime = params['EndTime']
4592
+ @MetricNames = params['MetricNames']
4593
+ @Interval = params['Interval']
4594
+ @ZoneIds = params['ZoneIds']
4595
+ @Domains = params['Domains']
4596
+ @Protocol = params['Protocol']
4597
+ end
4598
+ end
4599
+
4600
+ # DescribeOverviewL7Data返回参数结构体
4601
+ class DescribeOverviewL7DataResponse < TencentCloud::Common::AbstractModel
4602
+ # @param Type: 查询维度
4603
+ # @type Type: String
4604
+ # @param Interval: 时间间隔
4605
+ # @type Interval: String
4606
+ # @param Data: 详细数据
4607
+ # @type Data: Array
4608
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4609
+ # @type RequestId: String
4610
+
4611
+ attr_accessor :Type, :Interval, :Data, :RequestId
4612
+
4613
+ def initialize(type=nil, interval=nil, data=nil, requestid=nil)
4614
+ @Type = type
4615
+ @Interval = interval
4616
+ @Data = data
4617
+ @RequestId = requestid
4618
+ end
4619
+
4620
+ def deserialize(params)
4621
+ @Type = params['Type']
4622
+ @Interval = params['Interval']
4623
+ unless params['Data'].nil?
4624
+ @Data = []
4625
+ params['Data'].each do |i|
4626
+ timingdatarecord_tmp = TimingDataRecord.new
4627
+ timingdatarecord_tmp.deserialize(i)
4628
+ @Data << timingdatarecord_tmp
4629
+ end
4630
+ end
4631
+ @RequestId = params['RequestId']
4632
+ end
4633
+ end
4634
+
4635
+ # DescribePrefetchTasks请求参数结构体
4636
+ class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
4637
+ # @param JobId: 任务ID
4638
+ # @type JobId: String
4639
+ # @param StartTime: 查询起始时间
4640
+ # @type StartTime: String
4641
+ # @param EndTime: 查询结束时间
4642
+ # @type EndTime: String
4643
+ # @param Offset: 查询起始偏移量
4644
+ # @type Offset: Integer
4645
+ # @param Limit: 查询最大返回的结果条数
4646
+ # @type Limit: Integer
4647
+ # @param Statuses: 查询的状态
4648
+ # 允许的值为:processing、success、failed、timeout、invalid
4649
+ # @type Statuses: Array
4650
+ # @param ZoneId: zone id
4651
+ # @type ZoneId: String
4652
+ # @param Domains: 查询的域名列表
4653
+ # @type Domains: Array
4654
+ # @param Target: 查询的资源
4655
+ # @type Target: String
4656
+
4657
+ attr_accessor :JobId, :StartTime, :EndTime, :Offset, :Limit, :Statuses, :ZoneId, :Domains, :Target
3454
4658
 
3455
4659
  def initialize(jobid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, statuses=nil, zoneid=nil, domains=nil, target=nil)
3456
4660
  @JobId = jobid
@@ -3635,210 +4839,1092 @@ module TencentCloud
3635
4839
  end
3636
4840
  end
3637
4841
 
3638
- # DescribeSecurityPolicyManagedRulesId请求参数结构体
3639
- class DescribeSecurityPolicyManagedRulesIdRequest < TencentCloud::Common::AbstractModel
3640
- # @param RuleId: 规则id集合
3641
- # @type RuleId: Array
4842
+ # DescribeSecurityPolicyManagedRulesId请求参数结构体
4843
+ class DescribeSecurityPolicyManagedRulesIdRequest < TencentCloud::Common::AbstractModel
4844
+ # @param RuleId: 规则id集合
4845
+ # @type RuleId: Array
4846
+
4847
+ attr_accessor :RuleId
4848
+
4849
+ def initialize(ruleid=nil)
4850
+ @RuleId = ruleid
4851
+ end
4852
+
4853
+ def deserialize(params)
4854
+ @RuleId = params['RuleId']
4855
+ end
4856
+ end
4857
+
4858
+ # DescribeSecurityPolicyManagedRulesId返回参数结构体
4859
+ class DescribeSecurityPolicyManagedRulesIdResponse < TencentCloud::Common::AbstractModel
4860
+ # @param Total: 返回总数
4861
+ # @type Total: Integer
4862
+ # @param Rules: 门神规则
4863
+ # @type Rules: Array
4864
+ # @param Count: 返回总数
4865
+ # @type Count: Integer
4866
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4867
+ # @type RequestId: String
4868
+
4869
+ attr_accessor :Total, :Rules, :Count, :RequestId
4870
+
4871
+ def initialize(total=nil, rules=nil, count=nil, requestid=nil)
4872
+ @Total = total
4873
+ @Rules = rules
4874
+ @Count = count
4875
+ @RequestId = requestid
4876
+ end
4877
+
4878
+ def deserialize(params)
4879
+ @Total = params['Total']
4880
+ unless params['Rules'].nil?
4881
+ @Rules = []
4882
+ params['Rules'].each do |i|
4883
+ managedrule_tmp = ManagedRule.new
4884
+ managedrule_tmp.deserialize(i)
4885
+ @Rules << managedrule_tmp
4886
+ end
4887
+ end
4888
+ @Count = params['Count']
4889
+ @RequestId = params['RequestId']
4890
+ end
4891
+ end
4892
+
4893
+ # DescribeSecurityPolicyManagedRules请求参数结构体
4894
+ class DescribeSecurityPolicyManagedRulesRequest < TencentCloud::Common::AbstractModel
4895
+ # @param ZoneId: 一级域名
4896
+ # @type ZoneId: String
4897
+ # @param Entity: 子域名/应用名
4898
+ # @type Entity: String
4899
+ # @param Page: 页数
4900
+ # @type Page: Integer
4901
+ # @param PerPage: 每页数量
4902
+ # @type PerPage: Integer
4903
+
4904
+ attr_accessor :ZoneId, :Entity, :Page, :PerPage
4905
+
4906
+ def initialize(zoneid=nil, entity=nil, page=nil, perpage=nil)
4907
+ @ZoneId = zoneid
4908
+ @Entity = entity
4909
+ @Page = page
4910
+ @PerPage = perpage
4911
+ end
4912
+
4913
+ def deserialize(params)
4914
+ @ZoneId = params['ZoneId']
4915
+ @Entity = params['Entity']
4916
+ @Page = params['Page']
4917
+ @PerPage = params['PerPage']
4918
+ end
4919
+ end
4920
+
4921
+ # DescribeSecurityPolicyManagedRules返回参数结构体
4922
+ class DescribeSecurityPolicyManagedRulesResponse < TencentCloud::Common::AbstractModel
4923
+ # @param Count: 本次返回的规则数
4924
+ # @type Count: Integer
4925
+ # @param Rules: 门神规则
4926
+ # @type Rules: Array
4927
+ # @param Total: 总规则数
4928
+ # @type Total: Integer
4929
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4930
+ # @type RequestId: String
4931
+
4932
+ attr_accessor :Count, :Rules, :Total, :RequestId
4933
+
4934
+ def initialize(count=nil, rules=nil, total=nil, requestid=nil)
4935
+ @Count = count
4936
+ @Rules = rules
4937
+ @Total = total
4938
+ @RequestId = requestid
4939
+ end
4940
+
4941
+ def deserialize(params)
4942
+ @Count = params['Count']
4943
+ unless params['Rules'].nil?
4944
+ @Rules = []
4945
+ params['Rules'].each do |i|
4946
+ managedrule_tmp = ManagedRule.new
4947
+ managedrule_tmp.deserialize(i)
4948
+ @Rules << managedrule_tmp
4949
+ end
4950
+ end
4951
+ @Total = params['Total']
4952
+ @RequestId = params['RequestId']
4953
+ end
4954
+ end
4955
+
4956
+ # DescribeSecurityPolicyRegions请求参数结构体
4957
+ class DescribeSecurityPolicyRegionsRequest < TencentCloud::Common::AbstractModel
4958
+
4959
+
4960
+ def initialize()
4961
+ end
4962
+
4963
+ def deserialize(params)
4964
+ end
4965
+ end
4966
+
4967
+ # DescribeSecurityPolicyRegions返回参数结构体
4968
+ class DescribeSecurityPolicyRegionsResponse < TencentCloud::Common::AbstractModel
4969
+ # @param Count: 总数
4970
+ # @type Count: Integer
4971
+ # @param GeoIp: 地域信息
4972
+ # @type GeoIp: Array
4973
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4974
+ # @type RequestId: String
4975
+
4976
+ attr_accessor :Count, :GeoIp, :RequestId
4977
+
4978
+ def initialize(count=nil, geoip=nil, requestid=nil)
4979
+ @Count = count
4980
+ @GeoIp = geoip
4981
+ @RequestId = requestid
4982
+ end
4983
+
4984
+ def deserialize(params)
4985
+ @Count = params['Count']
4986
+ unless params['GeoIp'].nil?
4987
+ @GeoIp = []
4988
+ params['GeoIp'].each do |i|
4989
+ geoip_tmp = GeoIp.new
4990
+ geoip_tmp.deserialize(i)
4991
+ @GeoIp << geoip_tmp
4992
+ end
4993
+ end
4994
+ @RequestId = params['RequestId']
4995
+ end
4996
+ end
4997
+
4998
+ # DescribeSecurityPolicy请求参数结构体
4999
+ class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
5000
+ # @param ZoneId: 一级域名
5001
+ # @type ZoneId: String
5002
+ # @param Entity: 二级域名
5003
+ # @type Entity: String
5004
+
5005
+ attr_accessor :ZoneId, :Entity
5006
+
5007
+ def initialize(zoneid=nil, entity=nil)
5008
+ @ZoneId = zoneid
5009
+ @Entity = entity
5010
+ end
5011
+
5012
+ def deserialize(params)
5013
+ @ZoneId = params['ZoneId']
5014
+ @Entity = params['Entity']
5015
+ end
5016
+ end
5017
+
5018
+ # DescribeSecurityPolicy返回参数结构体
5019
+ class DescribeSecurityPolicyResponse < TencentCloud::Common::AbstractModel
5020
+ # @param AppId: 用户id
5021
+ # @type AppId: Integer
5022
+ # @param ZoneId: 一级域名
5023
+ # @type ZoneId: String
5024
+ # @param Entity: 二级域名
5025
+ # @type Entity: String
5026
+ # @param Config: 安全配置
5027
+ # 注意:此字段可能返回 null,表示取不到有效值。
5028
+ # @type Config: :class:`Tencentcloud::Teo.v20220106.models.SecurityConfig`
5029
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5030
+ # @type RequestId: String
5031
+
5032
+ attr_accessor :AppId, :ZoneId, :Entity, :Config, :RequestId
5033
+
5034
+ def initialize(appid=nil, zoneid=nil, entity=nil, config=nil, requestid=nil)
5035
+ @AppId = appid
5036
+ @ZoneId = zoneid
5037
+ @Entity = entity
5038
+ @Config = config
5039
+ @RequestId = requestid
5040
+ end
5041
+
5042
+ def deserialize(params)
5043
+ @AppId = params['AppId']
5044
+ @ZoneId = params['ZoneId']
5045
+ @Entity = params['Entity']
5046
+ unless params['Config'].nil?
5047
+ @Config = SecurityConfig.new
5048
+ @Config.deserialize(params['Config'])
5049
+ end
5050
+ @RequestId = params['RequestId']
5051
+ end
5052
+ end
5053
+
5054
+ # DescribeSecurityPortraitRules请求参数结构体
5055
+ class DescribeSecurityPortraitRulesRequest < TencentCloud::Common::AbstractModel
5056
+ # @param ZoneId: 一级域名
5057
+ # @type ZoneId: String
5058
+ # @param Entity: 子域名/应用名
5059
+ # @type Entity: String
5060
+
5061
+ attr_accessor :ZoneId, :Entity
5062
+
5063
+ def initialize(zoneid=nil, entity=nil)
5064
+ @ZoneId = zoneid
5065
+ @Entity = entity
5066
+ end
5067
+
5068
+ def deserialize(params)
5069
+ @ZoneId = params['ZoneId']
5070
+ @Entity = params['Entity']
5071
+ end
5072
+ end
5073
+
5074
+ # DescribeSecurityPortraitRules返回参数结构体
5075
+ class DescribeSecurityPortraitRulesResponse < TencentCloud::Common::AbstractModel
5076
+ # @param Count: 本次返回的规则数
5077
+ # @type Count: Integer
5078
+ # @param Rules: Bot用户画像规则
5079
+ # @type Rules: Array
5080
+ # @param Total: 总规则数
5081
+ # @type Total: Integer
5082
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5083
+ # @type RequestId: String
5084
+
5085
+ attr_accessor :Count, :Rules, :Total, :RequestId
5086
+
5087
+ def initialize(count=nil, rules=nil, total=nil, requestid=nil)
5088
+ @Count = count
5089
+ @Rules = rules
5090
+ @Total = total
5091
+ @RequestId = requestid
5092
+ end
5093
+
5094
+ def deserialize(params)
5095
+ @Count = params['Count']
5096
+ unless params['Rules'].nil?
5097
+ @Rules = []
5098
+ params['Rules'].each do |i|
5099
+ portraitmanagedruledetail_tmp = PortraitManagedRuleDetail.new
5100
+ portraitmanagedruledetail_tmp.deserialize(i)
5101
+ @Rules << portraitmanagedruledetail_tmp
5102
+ end
5103
+ end
5104
+ @Total = params['Total']
5105
+ @RequestId = params['RequestId']
5106
+ end
5107
+ end
5108
+
5109
+ # DescribeTimingL4Data请求参数结构体
5110
+ class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
5111
+ # @param StartTime: RFC3339格式,客户端时间
5112
+ # @type StartTime: String
5113
+ # @param EndTime: RFC3339格式,客户端时间
5114
+ # @type EndTime: String
5115
+ # @param MetricNames: 指标列表
5116
+ # @type MetricNames: Array
5117
+ # @param ZoneIds: ZoneId列表,仅在zone/instance维度下查询时该参数有效
5118
+ # @type ZoneIds: Array
5119
+ # @param InstanceIds: InstanceId列表,仅在Instance维度下查询时该参数有效
5120
+ # @type InstanceIds: Array
5121
+ # @param Protocol: 协议类型, 该字段当前无效
5122
+ # @type Protocol: String
5123
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day}
5124
+ # @type Interval: String
5125
+ # @param RuleId: 规则ID,仅在instance维度有效
5126
+ # @type RuleId: String
5127
+
5128
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId
5129
+
5130
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil)
5131
+ @StartTime = starttime
5132
+ @EndTime = endtime
5133
+ @MetricNames = metricnames
5134
+ @ZoneIds = zoneids
5135
+ @InstanceIds = instanceids
5136
+ @Protocol = protocol
5137
+ @Interval = interval
5138
+ @RuleId = ruleid
5139
+ end
5140
+
5141
+ def deserialize(params)
5142
+ @StartTime = params['StartTime']
5143
+ @EndTime = params['EndTime']
5144
+ @MetricNames = params['MetricNames']
5145
+ @ZoneIds = params['ZoneIds']
5146
+ @InstanceIds = params['InstanceIds']
5147
+ @Protocol = params['Protocol']
5148
+ @Interval = params['Interval']
5149
+ @RuleId = params['RuleId']
5150
+ end
5151
+ end
5152
+
5153
+ # DescribeTimingL4Data返回参数结构体
5154
+ class DescribeTimingL4DataResponse < TencentCloud::Common::AbstractModel
5155
+ # @param Type: 查询维度
5156
+ # @type Type: String
5157
+ # @param Interval: 时间间隔
5158
+ # @type Interval: String
5159
+ # @param Data: 详细数据
5160
+ # 注意:此字段可能返回 null,表示取不到有效值。
5161
+ # @type Data: Array
5162
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5163
+ # @type RequestId: String
5164
+
5165
+ attr_accessor :Type, :Interval, :Data, :RequestId
5166
+
5167
+ def initialize(type=nil, interval=nil, data=nil, requestid=nil)
5168
+ @Type = type
5169
+ @Interval = interval
5170
+ @Data = data
5171
+ @RequestId = requestid
5172
+ end
5173
+
5174
+ def deserialize(params)
5175
+ @Type = params['Type']
5176
+ @Interval = params['Interval']
5177
+ unless params['Data'].nil?
5178
+ @Data = []
5179
+ params['Data'].each do |i|
5180
+ timingdatarecord_tmp = TimingDataRecord.new
5181
+ timingdatarecord_tmp.deserialize(i)
5182
+ @Data << timingdatarecord_tmp
5183
+ end
5184
+ end
5185
+ @RequestId = params['RequestId']
5186
+ end
5187
+ end
5188
+
5189
+ # DescribeTimingL7AnalysisData请求参数结构体
5190
+ class DescribeTimingL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
5191
+ # @param StartTime: RFC3339标准,客户端时间
5192
+ # @type StartTime: String
5193
+ # @param EndTime: RFC3339标准,客户端时间
5194
+ # @type EndTime: String
5195
+ # @param MetricNames: 时序类访问流量指标
5196
+ # @type MetricNames: Array
5197
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
5198
+ # @type Interval: String
5199
+ # @param ZoneIds: ZoneId数组
5200
+ # @type ZoneIds: Array
5201
+ # @param Filters: 筛选条件
5202
+ # @type Filters: Array
5203
+
5204
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
5205
+
5206
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
5207
+ @StartTime = starttime
5208
+ @EndTime = endtime
5209
+ @MetricNames = metricnames
5210
+ @Interval = interval
5211
+ @ZoneIds = zoneids
5212
+ @Filters = filters
5213
+ end
5214
+
5215
+ def deserialize(params)
5216
+ @StartTime = params['StartTime']
5217
+ @EndTime = params['EndTime']
5218
+ @MetricNames = params['MetricNames']
5219
+ @Interval = params['Interval']
5220
+ @ZoneIds = params['ZoneIds']
5221
+ unless params['Filters'].nil?
5222
+ @Filters = []
5223
+ params['Filters'].each do |i|
5224
+ filter_tmp = Filter.new
5225
+ filter_tmp.deserialize(i)
5226
+ @Filters << filter_tmp
5227
+ end
5228
+ end
5229
+ end
5230
+ end
5231
+
5232
+ # DescribeTimingL7AnalysisData返回参数结构体
5233
+ class DescribeTimingL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
5234
+ # @param Data: 详细数据
5235
+ # 注意:此字段可能返回 null,表示取不到有效值。
5236
+ # @type Data: Array
5237
+ # @param Type: 查询维度
5238
+ # @type Type: String
5239
+ # @param Interval: 时间间隔
5240
+ # @type Interval: String
5241
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5242
+ # @type RequestId: String
5243
+
5244
+ attr_accessor :Data, :Type, :Interval, :RequestId
5245
+
5246
+ def initialize(data=nil, type=nil, interval=nil, requestid=nil)
5247
+ @Data = data
5248
+ @Type = type
5249
+ @Interval = interval
5250
+ @RequestId = requestid
5251
+ end
5252
+
5253
+ def deserialize(params)
5254
+ unless params['Data'].nil?
5255
+ @Data = []
5256
+ params['Data'].each do |i|
5257
+ timingdatarecord_tmp = TimingDataRecord.new
5258
+ timingdatarecord_tmp.deserialize(i)
5259
+ @Data << timingdatarecord_tmp
5260
+ end
5261
+ end
5262
+ @Type = params['Type']
5263
+ @Interval = params['Interval']
5264
+ @RequestId = params['RequestId']
5265
+ end
5266
+ end
5267
+
5268
+ # DescribeTopL7AnalysisData请求参数结构体
5269
+ class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
5270
+ # @param StartTime: RFC3339标准,客户端时间
5271
+ # @type StartTime: String
5272
+ # @param EndTime: RFC3339标准,客户端时间
5273
+ # @type EndTime: String
5274
+ # @param MetricName: 时序类访问流量指标
5275
+ # @type MetricName: String
5276
+ # @param Limit: topN,填0时返回全量数据
5277
+ # @type Limit: Integer
5278
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
5279
+ # @type Interval: String
5280
+ # @param ZoneIds: ZoneId数组
5281
+ # @type ZoneIds: Array
5282
+ # @param Filters: 筛选条件
5283
+ # @type Filters: Array
5284
+
5285
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
5286
+
5287
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
5288
+ @StartTime = starttime
5289
+ @EndTime = endtime
5290
+ @MetricName = metricname
5291
+ @Limit = limit
5292
+ @Interval = interval
5293
+ @ZoneIds = zoneids
5294
+ @Filters = filters
5295
+ end
5296
+
5297
+ def deserialize(params)
5298
+ @StartTime = params['StartTime']
5299
+ @EndTime = params['EndTime']
5300
+ @MetricName = params['MetricName']
5301
+ @Limit = params['Limit']
5302
+ @Interval = params['Interval']
5303
+ @ZoneIds = params['ZoneIds']
5304
+ unless params['Filters'].nil?
5305
+ @Filters = []
5306
+ params['Filters'].each do |i|
5307
+ filter_tmp = Filter.new
5308
+ filter_tmp.deserialize(i)
5309
+ @Filters << filter_tmp
5310
+ end
5311
+ end
5312
+ end
5313
+ end
5314
+
5315
+ # DescribeTopL7AnalysisData返回参数结构体
5316
+ class DescribeTopL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
5317
+ # @param Data: top详细数据
5318
+ # 注意:此字段可能返回 null,表示取不到有效值。
5319
+ # @type Data: Array
5320
+ # @param Type: 查询维度
5321
+ # @type Type: String
5322
+ # @param MetricName: 查询指标
5323
+ # @type MetricName: String
5324
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5325
+ # @type RequestId: String
5326
+
5327
+ attr_accessor :Data, :Type, :MetricName, :RequestId
5328
+
5329
+ def initialize(data=nil, type=nil, metricname=nil, requestid=nil)
5330
+ @Data = data
5331
+ @Type = type
5332
+ @MetricName = metricname
5333
+ @RequestId = requestid
5334
+ end
5335
+
5336
+ def deserialize(params)
5337
+ unless params['Data'].nil?
5338
+ @Data = []
5339
+ params['Data'].each do |i|
5340
+ topdatarecord_tmp = TopDataRecord.new
5341
+ topdatarecord_tmp.deserialize(i)
5342
+ @Data << topdatarecord_tmp
5343
+ end
5344
+ end
5345
+ @Type = params['Type']
5346
+ @MetricName = params['MetricName']
5347
+ @RequestId = params['RequestId']
5348
+ end
5349
+ end
5350
+
5351
+ # DescribeWebManagedRulesAttackEvents请求参数结构体
5352
+ class DescribeWebManagedRulesAttackEventsRequest < TencentCloud::Common::AbstractModel
5353
+ # @param StartTime: 开始时间
5354
+ # @type StartTime: String
5355
+ # @param EndTime: 结束时间
5356
+ # @type EndTime: String
5357
+ # @param PageSize: 条数
5358
+ # @type PageSize: Integer
5359
+ # @param PageNo: 当前页
5360
+ # @type PageNo: Integer
5361
+ # @param PolicyIds: ddos策略组id 集合
5362
+ # @type PolicyIds: Array
5363
+ # @param ZoneIds: 站点集合
5364
+ # @type ZoneIds: Array
5365
+ # @param Domains: 协议类型,{tcp,udp,all}
5366
+ # @type Domains: Array
5367
+ # @param IsShowDetail: 选填{Y、N},默认为Y;Y:展示,N:不展示
5368
+ # @type IsShowDetail: String
5369
+
5370
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :Domains, :IsShowDetail
5371
+
5372
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, domains=nil, isshowdetail=nil)
5373
+ @StartTime = starttime
5374
+ @EndTime = endtime
5375
+ @PageSize = pagesize
5376
+ @PageNo = pageno
5377
+ @PolicyIds = policyids
5378
+ @ZoneIds = zoneids
5379
+ @Domains = domains
5380
+ @IsShowDetail = isshowdetail
5381
+ end
5382
+
5383
+ def deserialize(params)
5384
+ @StartTime = params['StartTime']
5385
+ @EndTime = params['EndTime']
5386
+ @PageSize = params['PageSize']
5387
+ @PageNo = params['PageNo']
5388
+ @PolicyIds = params['PolicyIds']
5389
+ @ZoneIds = params['ZoneIds']
5390
+ @Domains = params['Domains']
5391
+ @IsShowDetail = params['IsShowDetail']
5392
+ end
5393
+ end
5394
+
5395
+ # DescribeWebManagedRulesAttackEvents返回参数结构体
5396
+ class DescribeWebManagedRulesAttackEventsResponse < TencentCloud::Common::AbstractModel
5397
+ # @param Data: Web攻击事件数据
5398
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebEventData`
5399
+ # @param Status: 状态,1:失败,0:成功
5400
+ # @type Status: Integer
5401
+ # @param Msg: 返回数据
5402
+ # @type Msg: String
5403
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5404
+ # @type RequestId: String
5405
+
5406
+ attr_accessor :Data, :Status, :Msg, :RequestId
5407
+
5408
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5409
+ @Data = data
5410
+ @Status = status
5411
+ @Msg = msg
5412
+ @RequestId = requestid
5413
+ end
5414
+
5415
+ def deserialize(params)
5416
+ unless params['Data'].nil?
5417
+ @Data = WebEventData.new
5418
+ @Data.deserialize(params['Data'])
5419
+ end
5420
+ @Status = params['Status']
5421
+ @Msg = params['Msg']
5422
+ @RequestId = params['RequestId']
5423
+ end
5424
+ end
5425
+
5426
+ # DescribeWebManagedRulesData请求参数结构体
5427
+ class DescribeWebManagedRulesDataRequest < TencentCloud::Common::AbstractModel
5428
+ # @param StartTime: 开始时间
5429
+ # @type StartTime: String
5430
+ # @param EndTime: 结束时间
5431
+ # @type EndTime: String
5432
+ # @param MetricNames: 统计指标列表
5433
+ # @type MetricNames: Array
5434
+ # @param ZoneIds: 站点id列表
5435
+ # @type ZoneIds: Array
5436
+ # @param Domains: 子域名列表
5437
+ # @type Domains: Array
5438
+ # @param ProtocolType: 协议类型
5439
+ # @type ProtocolType: String
5440
+ # @param AttackType: "webshell" : Webshell检测防护
5441
+ # "oa" : 常见OA漏洞防护
5442
+ # "xss" : XSS跨站脚本攻击防护
5443
+ # "xxe" : XXE攻击防护
5444
+ # "webscan" : 扫描器攻击漏洞防护
5445
+ # "cms" : 常见CMS漏洞防护
5446
+ # "upload" : 恶意文件上传攻击防护
5447
+ # "sql" : SQL注入攻击防护
5448
+ # "cmd_inject": 命令/代码注入攻击防护
5449
+ # "osc" : 开源组件漏洞防护
5450
+ # "file_read" : 任意文件读取
5451
+ # "ldap" : LDAP注入攻击防护
5452
+ # "other" : 其它漏洞防护
5453
+
5454
+ # "all":"所有"
5455
+ # @type AttackType: String
5456
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5457
+ # @type Interval: String
5458
+
5459
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
5460
+
5461
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
5462
+ @StartTime = starttime
5463
+ @EndTime = endtime
5464
+ @MetricNames = metricnames
5465
+ @ZoneIds = zoneids
5466
+ @Domains = domains
5467
+ @ProtocolType = protocoltype
5468
+ @AttackType = attacktype
5469
+ @Interval = interval
5470
+ end
5471
+
5472
+ def deserialize(params)
5473
+ @StartTime = params['StartTime']
5474
+ @EndTime = params['EndTime']
5475
+ @MetricNames = params['MetricNames']
5476
+ @ZoneIds = params['ZoneIds']
5477
+ @Domains = params['Domains']
5478
+ @ProtocolType = params['ProtocolType']
5479
+ @AttackType = params['AttackType']
5480
+ @Interval = params['Interval']
5481
+ end
5482
+ end
5483
+
5484
+ # DescribeWebManagedRulesData返回参数结构体
5485
+ class DescribeWebManagedRulesDataResponse < TencentCloud::Common::AbstractModel
5486
+ # @param Data: Web攻击日志实体
5487
+ # 注意:此字段可能返回 null,表示取不到有效值。
5488
+ # @type Data: Array
5489
+ # @param Status: 状态,1:失败,0:成功
5490
+ # @type Status: Integer
5491
+ # @param Msg: 返回消息
5492
+ # @type Msg: String
5493
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5494
+ # @type Interval: String
5495
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5496
+ # @type RequestId: String
5497
+
5498
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
5499
+
5500
+ def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
5501
+ @Data = data
5502
+ @Status = status
5503
+ @Msg = msg
5504
+ @Interval = interval
5505
+ @RequestId = requestid
5506
+ end
5507
+
5508
+ def deserialize(params)
5509
+ unless params['Data'].nil?
5510
+ @Data = []
5511
+ params['Data'].each do |i|
5512
+ secentry_tmp = SecEntry.new
5513
+ secentry_tmp.deserialize(i)
5514
+ @Data << secentry_tmp
5515
+ end
5516
+ end
5517
+ @Status = params['Status']
5518
+ @Msg = params['Msg']
5519
+ @Interval = params['Interval']
5520
+ @RequestId = params['RequestId']
5521
+ end
5522
+ end
5523
+
5524
+ # DescribeWebManagedRulesLog请求参数结构体
5525
+ class DescribeWebManagedRulesLogRequest < TencentCloud::Common::AbstractModel
5526
+ # @param StartTime: 起始时间
5527
+ # @type StartTime: String
5528
+ # @param EndTime: 结束时间
5529
+ # @type EndTime: String
5530
+ # @param PageSize: 每页条数
5531
+ # @type PageSize: Integer
5532
+ # @param PageNo: 当前页
5533
+ # @type PageNo: Integer
5534
+ # @param ZoneIds: 站点集合
5535
+ # @type ZoneIds: Array
5536
+ # @param Domains: 域名集合
5537
+ # @type Domains: Array
5538
+ # @param QueryCondition: 查询条件
5539
+ # @type QueryCondition: Array
5540
+
5541
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
5542
+
5543
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
5544
+ @StartTime = starttime
5545
+ @EndTime = endtime
5546
+ @PageSize = pagesize
5547
+ @PageNo = pageno
5548
+ @ZoneIds = zoneids
5549
+ @Domains = domains
5550
+ @QueryCondition = querycondition
5551
+ end
5552
+
5553
+ def deserialize(params)
5554
+ @StartTime = params['StartTime']
5555
+ @EndTime = params['EndTime']
5556
+ @PageSize = params['PageSize']
5557
+ @PageNo = params['PageNo']
5558
+ @ZoneIds = params['ZoneIds']
5559
+ @Domains = params['Domains']
5560
+ unless params['QueryCondition'].nil?
5561
+ @QueryCondition = []
5562
+ params['QueryCondition'].each do |i|
5563
+ querycondition_tmp = QueryCondition.new
5564
+ querycondition_tmp.deserialize(i)
5565
+ @QueryCondition << querycondition_tmp
5566
+ end
5567
+ end
5568
+ end
5569
+ end
5570
+
5571
+ # DescribeWebManagedRulesLog返回参数结构体
5572
+ class DescribeWebManagedRulesLogResponse < TencentCloud::Common::AbstractModel
5573
+ # @param Data: web攻击日志data
5574
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebLogData`
5575
+ # @param Status: 状态,1:失败,0:失败
5576
+ # @type Status: Integer
5577
+ # @param Msg: 返回信息
5578
+ # @type Msg: String
5579
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5580
+ # @type RequestId: String
5581
+
5582
+ attr_accessor :Data, :Status, :Msg, :RequestId
5583
+
5584
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5585
+ @Data = data
5586
+ @Status = status
5587
+ @Msg = msg
5588
+ @RequestId = requestid
5589
+ end
5590
+
5591
+ def deserialize(params)
5592
+ unless params['Data'].nil?
5593
+ @Data = WebLogData.new
5594
+ @Data.deserialize(params['Data'])
5595
+ end
5596
+ @Status = params['Status']
5597
+ @Msg = params['Msg']
5598
+ @RequestId = params['RequestId']
5599
+ end
5600
+ end
5601
+
5602
+ # DescribeWebManagedRulesTopData请求参数结构体
5603
+ class DescribeWebManagedRulesTopDataRequest < TencentCloud::Common::AbstractModel
5604
+ # @param StartTime: 开始时间
5605
+ # @type StartTime: String
5606
+ # @param EndTime: 结束时间
5607
+ # @type EndTime: String
5608
+ # @param MetricName: 过滤指标
5609
+ # @type MetricName: String
5610
+ # @param Limit: 查询前多少名,传值为0 全量
5611
+ # @type Limit: Integer
5612
+ # @param ZoneIds: 站点集合
5613
+ # @type ZoneIds: Array
5614
+ # @param PolicyIds: ddos策略组id 集合
5615
+ # @type PolicyIds: Array
5616
+ # @param Port: 端口号
5617
+ # @type Port: Integer
5618
+ # @param ProtocolType: 协议类型,tcp,udp,all
5619
+ # @type ProtocolType: String
5620
+ # @param AttackType: 攻击类型,flood,icmpFlood......,all
5621
+ # @type AttackType: String
5622
+ # @param Domains: 域名集合
5623
+ # @type Domains: Array
3642
5624
 
3643
- attr_accessor :RuleId
5625
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains
3644
5626
 
3645
- def initialize(ruleid=nil)
3646
- @RuleId = ruleid
5627
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, domains=nil)
5628
+ @StartTime = starttime
5629
+ @EndTime = endtime
5630
+ @MetricName = metricname
5631
+ @Limit = limit
5632
+ @ZoneIds = zoneids
5633
+ @PolicyIds = policyids
5634
+ @Port = port
5635
+ @ProtocolType = protocoltype
5636
+ @AttackType = attacktype
5637
+ @Domains = domains
3647
5638
  end
3648
5639
 
3649
5640
  def deserialize(params)
3650
- @RuleId = params['RuleId']
5641
+ @StartTime = params['StartTime']
5642
+ @EndTime = params['EndTime']
5643
+ @MetricName = params['MetricName']
5644
+ @Limit = params['Limit']
5645
+ @ZoneIds = params['ZoneIds']
5646
+ @PolicyIds = params['PolicyIds']
5647
+ @Port = params['Port']
5648
+ @ProtocolType = params['ProtocolType']
5649
+ @AttackType = params['AttackType']
5650
+ @Domains = params['Domains']
3651
5651
  end
3652
5652
  end
3653
5653
 
3654
- # DescribeSecurityPolicyManagedRulesId返回参数结构体
3655
- class DescribeSecurityPolicyManagedRulesIdResponse < TencentCloud::Common::AbstractModel
3656
- # @param Total: 返回总数
3657
- # @type Total: Integer
3658
- # @param Rules: 门神规则
3659
- # @type Rules: Array
5654
+ # DescribeWebManagedRulesTopData返回参数结构体
5655
+ class DescribeWebManagedRulesTopDataResponse < TencentCloud::Common::AbstractModel
5656
+ # @param Data: topn数据
5657
+ # @type Data: Array
5658
+ # @param Status: 状态,1:失败,0:成功
5659
+ # @type Status: Integer
5660
+ # @param Msg: 返回消息
5661
+ # @type Msg: String
3660
5662
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3661
5663
  # @type RequestId: String
3662
5664
 
3663
- attr_accessor :Total, :Rules, :RequestId
5665
+ attr_accessor :Data, :Status, :Msg, :RequestId
3664
5666
 
3665
- def initialize(total=nil, rules=nil, requestid=nil)
3666
- @Total = total
3667
- @Rules = rules
5667
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5668
+ @Data = data
5669
+ @Status = status
5670
+ @Msg = msg
3668
5671
  @RequestId = requestid
3669
5672
  end
3670
5673
 
3671
5674
  def deserialize(params)
3672
- @Total = params['Total']
3673
- unless params['Rules'].nil?
3674
- @Rules = []
3675
- params['Rules'].each do |i|
3676
- managedrule_tmp = ManagedRule.new
3677
- managedrule_tmp.deserialize(i)
3678
- @Rules << managedrule_tmp
5675
+ unless params['Data'].nil?
5676
+ @Data = []
5677
+ params['Data'].each do |i|
5678
+ topnentry_tmp = TopNEntry.new
5679
+ topnentry_tmp.deserialize(i)
5680
+ @Data << topnentry_tmp
3679
5681
  end
3680
5682
  end
5683
+ @Status = params['Status']
5684
+ @Msg = params['Msg']
3681
5685
  @RequestId = params['RequestId']
3682
5686
  end
3683
5687
  end
3684
5688
 
3685
- # DescribeSecurityPolicyManagedRules请求参数结构体
3686
- class DescribeSecurityPolicyManagedRulesRequest < TencentCloud::Common::AbstractModel
3687
- # @param ZoneId: 一级域名
3688
- # @type ZoneId: String
3689
- # @param Entity: 子域名/应用名
3690
- # @type Entity: String
3691
- # @param Page: 页数
3692
- # @type Page: Integer
3693
- # @param PerPage: 每页数量
3694
- # @type PerPage: Integer
5689
+ # DescribeWebProtectionAttackEvents请求参数结构体
5690
+ class DescribeWebProtectionAttackEventsRequest < TencentCloud::Common::AbstractModel
5691
+ # @param StartTime: 开始时间
5692
+ # @type StartTime: String
5693
+ # @param EndTime: 结束时间
5694
+ # @type EndTime: String
5695
+ # @param PageSize: 条数
5696
+ # @type PageSize: Integer
5697
+ # @param PageNo: 当前页
5698
+ # @type PageNo: Integer
5699
+ # @param Domains: 域名
5700
+ # @type Domains: Array
5701
+ # @param ZoneIds: 站点集合
5702
+ # @type ZoneIds: Array
3695
5703
 
3696
- attr_accessor :ZoneId, :Entity, :Page, :PerPage
5704
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :Domains, :ZoneIds
3697
5705
 
3698
- def initialize(zoneid=nil, entity=nil, page=nil, perpage=nil)
3699
- @ZoneId = zoneid
3700
- @Entity = entity
3701
- @Page = page
3702
- @PerPage = perpage
5706
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, domains=nil, zoneids=nil)
5707
+ @StartTime = starttime
5708
+ @EndTime = endtime
5709
+ @PageSize = pagesize
5710
+ @PageNo = pageno
5711
+ @Domains = domains
5712
+ @ZoneIds = zoneids
3703
5713
  end
3704
5714
 
3705
5715
  def deserialize(params)
3706
- @ZoneId = params['ZoneId']
3707
- @Entity = params['Entity']
3708
- @Page = params['Page']
3709
- @PerPage = params['PerPage']
5716
+ @StartTime = params['StartTime']
5717
+ @EndTime = params['EndTime']
5718
+ @PageSize = params['PageSize']
5719
+ @PageNo = params['PageNo']
5720
+ @Domains = params['Domains']
5721
+ @ZoneIds = params['ZoneIds']
3710
5722
  end
3711
5723
  end
3712
5724
 
3713
- # DescribeSecurityPolicyManagedRules返回参数结构体
3714
- class DescribeSecurityPolicyManagedRulesResponse < TencentCloud::Common::AbstractModel
3715
- # @param Count: 本次返回的规则数
3716
- # @type Count: Integer
3717
- # @param Rules: 门神规则
3718
- # @type Rules: Array
3719
- # @param Total: 总规则数
3720
- # @type Total: Integer
5725
+ # DescribeWebProtectionAttackEvents返回参数结构体
5726
+ class DescribeWebProtectionAttackEventsResponse < TencentCloud::Common::AbstractModel
5727
+ # @param Data: DDos攻击事件数据
5728
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCInterceptEventData`
5729
+ # @param Status: 状态,1:失败,0:成功
5730
+ # @type Status: Integer
5731
+ # @param Msg: 返回消息
5732
+ # @type Msg: String
3721
5733
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3722
5734
  # @type RequestId: String
3723
5735
 
3724
- attr_accessor :Count, :Rules, :Total, :RequestId
5736
+ attr_accessor :Data, :Status, :Msg, :RequestId
3725
5737
 
3726
- def initialize(count=nil, rules=nil, total=nil, requestid=nil)
3727
- @Count = count
3728
- @Rules = rules
3729
- @Total = total
5738
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5739
+ @Data = data
5740
+ @Status = status
5741
+ @Msg = msg
3730
5742
  @RequestId = requestid
3731
5743
  end
3732
5744
 
3733
5745
  def deserialize(params)
3734
- @Count = params['Count']
3735
- unless params['Rules'].nil?
3736
- @Rules = []
3737
- params['Rules'].each do |i|
3738
- managedrule_tmp = ManagedRule.new
3739
- managedrule_tmp.deserialize(i)
3740
- @Rules << managedrule_tmp
3741
- end
5746
+ unless params['Data'].nil?
5747
+ @Data = CCInterceptEventData.new
5748
+ @Data.deserialize(params['Data'])
3742
5749
  end
3743
- @Total = params['Total']
5750
+ @Status = params['Status']
5751
+ @Msg = params['Msg']
3744
5752
  @RequestId = params['RequestId']
3745
5753
  end
3746
5754
  end
3747
5755
 
3748
- # DescribeSecurityPolicyRegions请求参数结构体
3749
- class DescribeSecurityPolicyRegionsRequest < TencentCloud::Common::AbstractModel
5756
+ # DescribeWebProtectionData请求参数结构体
5757
+ class DescribeWebProtectionDataRequest < TencentCloud::Common::AbstractModel
5758
+ # @param StartTime: 开始时间
5759
+ # @type StartTime: String
5760
+ # @param EndTime: 结束时间
5761
+ # @type EndTime: String
5762
+ # @param MetricNames: 统计指标列表
5763
+ # @type MetricNames: Array
5764
+ # @param ZoneIds: 站点id列表
5765
+ # @type ZoneIds: Array
5766
+ # @param Domains: 子域名列表
5767
+ # @type Domains: Array
5768
+ # @param ProtocolType: 协议类型
5769
+ # @type ProtocolType: String
5770
+ # @param AttackType: "webshell" : Webshell检测防护
5771
+ # "oa" : 常见OA漏洞防护
5772
+ # "xss" : XSS跨站脚本攻击防护
5773
+ # "xxe" : XXE攻击防护
5774
+ # "webscan" : 扫描器攻击漏洞防护
5775
+ # "cms" : 常见CMS漏洞防护
5776
+ # "upload" : 恶意文件上传攻击防护
5777
+ # "sql" : SQL注入攻击防护
5778
+ # "cmd_inject": 命令/代码注入攻击防护
5779
+ # "osc" : 开源组件漏洞防护
5780
+ # "file_read" : 任意文件读取
5781
+ # "ldap" : LDAP注入攻击防护
5782
+ # "other" : 其它漏洞防护
5783
+
5784
+ # "all":"所有"
5785
+ # @type AttackType: String
5786
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5787
+ # @type Interval: String
3750
5788
 
5789
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
3751
5790
 
3752
- def initialize()
5791
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
5792
+ @StartTime = starttime
5793
+ @EndTime = endtime
5794
+ @MetricNames = metricnames
5795
+ @ZoneIds = zoneids
5796
+ @Domains = domains
5797
+ @ProtocolType = protocoltype
5798
+ @AttackType = attacktype
5799
+ @Interval = interval
3753
5800
  end
3754
5801
 
3755
5802
  def deserialize(params)
5803
+ @StartTime = params['StartTime']
5804
+ @EndTime = params['EndTime']
5805
+ @MetricNames = params['MetricNames']
5806
+ @ZoneIds = params['ZoneIds']
5807
+ @Domains = params['Domains']
5808
+ @ProtocolType = params['ProtocolType']
5809
+ @AttackType = params['AttackType']
5810
+ @Interval = params['Interval']
3756
5811
  end
3757
5812
  end
3758
5813
 
3759
- # DescribeSecurityPolicyRegions返回参数结构体
3760
- class DescribeSecurityPolicyRegionsResponse < TencentCloud::Common::AbstractModel
3761
- # @param Count: 总数
3762
- # @type Count: Integer
3763
- # @param GeoIp: 地域信息
3764
- # @type GeoIp: Array
5814
+ # DescribeWebProtectionData返回参数结构体
5815
+ class DescribeWebProtectionDataResponse < TencentCloud::Common::AbstractModel
5816
+ # @param Data: 数据详情
5817
+ # 注意:此字段可能返回 null,表示取不到有效值。
5818
+ # @type Data: Array
5819
+ # @param Status: 状态,1:失败,0:成功
5820
+ # @type Status: Integer
5821
+ # @param Msg: 消息
5822
+ # @type Msg: String
5823
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5824
+ # @type Interval: String
3765
5825
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3766
5826
  # @type RequestId: String
3767
5827
 
3768
- attr_accessor :Count, :GeoIp, :RequestId
5828
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
3769
5829
 
3770
- def initialize(count=nil, geoip=nil, requestid=nil)
3771
- @Count = count
3772
- @GeoIp = geoip
5830
+ def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
5831
+ @Data = data
5832
+ @Status = status
5833
+ @Msg = msg
5834
+ @Interval = interval
3773
5835
  @RequestId = requestid
3774
5836
  end
3775
5837
 
3776
5838
  def deserialize(params)
3777
- @Count = params['Count']
3778
- unless params['GeoIp'].nil?
3779
- @GeoIp = []
3780
- params['GeoIp'].each do |i|
3781
- geoip_tmp = GeoIp.new
3782
- geoip_tmp.deserialize(i)
3783
- @GeoIp << geoip_tmp
5839
+ unless params['Data'].nil?
5840
+ @Data = []
5841
+ params['Data'].each do |i|
5842
+ secentry_tmp = SecEntry.new
5843
+ secentry_tmp.deserialize(i)
5844
+ @Data << secentry_tmp
3784
5845
  end
3785
5846
  end
5847
+ @Status = params['Status']
5848
+ @Msg = params['Msg']
5849
+ @Interval = params['Interval']
3786
5850
  @RequestId = params['RequestId']
3787
5851
  end
3788
5852
  end
3789
5853
 
3790
- # DescribeSecurityPolicy请求参数结构体
3791
- class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
3792
- # @param ZoneId: 一级域名
3793
- # @type ZoneId: String
3794
- # @param Entity: 二级域名
3795
- # @type Entity: String
5854
+ # DescribeWebProtectionLog请求参数结构体
5855
+ class DescribeWebProtectionLogRequest < TencentCloud::Common::AbstractModel
5856
+ # @param StartTime: 起始时间
5857
+ # @type StartTime: String
5858
+ # @param EndTime: 结束时间
5859
+ # @type EndTime: String
5860
+ # @param PageSize: 每页条数
5861
+ # @type PageSize: Integer
5862
+ # @param PageNo: 当前页
5863
+ # @type PageNo: Integer
5864
+ # @param ZoneIds: 站点集合
5865
+ # @type ZoneIds: Array
5866
+ # @param Domains: 域名集合
5867
+ # @type Domains: Array
5868
+ # @param QueryCondition: 查询条件
5869
+ # @type QueryCondition: Array
3796
5870
 
3797
- attr_accessor :ZoneId, :Entity
5871
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
3798
5872
 
3799
- def initialize(zoneid=nil, entity=nil)
3800
- @ZoneId = zoneid
3801
- @Entity = entity
5873
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
5874
+ @StartTime = starttime
5875
+ @EndTime = endtime
5876
+ @PageSize = pagesize
5877
+ @PageNo = pageno
5878
+ @ZoneIds = zoneids
5879
+ @Domains = domains
5880
+ @QueryCondition = querycondition
3802
5881
  end
3803
5882
 
3804
5883
  def deserialize(params)
3805
- @ZoneId = params['ZoneId']
3806
- @Entity = params['Entity']
5884
+ @StartTime = params['StartTime']
5885
+ @EndTime = params['EndTime']
5886
+ @PageSize = params['PageSize']
5887
+ @PageNo = params['PageNo']
5888
+ @ZoneIds = params['ZoneIds']
5889
+ @Domains = params['Domains']
5890
+ unless params['QueryCondition'].nil?
5891
+ @QueryCondition = []
5892
+ params['QueryCondition'].each do |i|
5893
+ querycondition_tmp = QueryCondition.new
5894
+ querycondition_tmp.deserialize(i)
5895
+ @QueryCondition << querycondition_tmp
5896
+ end
5897
+ end
3807
5898
  end
3808
5899
  end
3809
5900
 
3810
- # DescribeSecurityPolicy返回参数结构体
3811
- class DescribeSecurityPolicyResponse < TencentCloud::Common::AbstractModel
3812
- # @param AppId: 用户id
3813
- # @type AppId: Integer
3814
- # @param ZoneId: 一级域名
3815
- # @type ZoneId: String
3816
- # @param Entity: 二级域名
3817
- # @type Entity: String
3818
- # @param Config: 安全配置
3819
- # 注意:此字段可能返回 null,表示取不到有效值。
3820
- # @type Config: :class:`Tencentcloud::Teo.v20220106.models.SecurityConfig`
5901
+ # DescribeWebProtectionLog返回参数结构体
5902
+ class DescribeWebProtectionLogResponse < TencentCloud::Common::AbstractModel
5903
+ # @param Data: 限速拦截Data
5904
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCLogData`
5905
+ # @param Status: 状态,1:失败,0:成功
5906
+ # @type Status: Integer
5907
+ # @param Msg: 返回信息
5908
+ # @type Msg: String
3821
5909
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3822
5910
  # @type RequestId: String
3823
5911
 
3824
- attr_accessor :AppId, :ZoneId, :Entity, :Config, :RequestId
5912
+ attr_accessor :Data, :Status, :Msg, :RequestId
3825
5913
 
3826
- def initialize(appid=nil, zoneid=nil, entity=nil, config=nil, requestid=nil)
3827
- @AppId = appid
3828
- @ZoneId = zoneid
3829
- @Entity = entity
3830
- @Config = config
5914
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5915
+ @Data = data
5916
+ @Status = status
5917
+ @Msg = msg
3831
5918
  @RequestId = requestid
3832
5919
  end
3833
5920
 
3834
5921
  def deserialize(params)
3835
- @AppId = params['AppId']
3836
- @ZoneId = params['ZoneId']
3837
- @Entity = params['Entity']
3838
- unless params['Config'].nil?
3839
- @Config = SecurityConfig.new
3840
- @Config.deserialize(params['Config'])
5922
+ unless params['Data'].nil?
5923
+ @Data = CCLogData.new
5924
+ @Data.deserialize(params['Data'])
3841
5925
  end
5926
+ @Status = params['Status']
5927
+ @Msg = params['Msg']
3842
5928
  @RequestId = params['RequestId']
3843
5929
  end
3844
5930
  end
@@ -4569,6 +6655,30 @@ module TencentCloud
4569
6655
  end
4570
6656
  end
4571
6657
 
6658
+ # 过滤条件
6659
+ class Filter < TencentCloud::Common::AbstractModel
6660
+ # @param Key: 筛选维度
6661
+ # @type Key: String
6662
+ # @param Operator: 操作符
6663
+ # @type Operator: String
6664
+ # @param Value: 筛选维度值
6665
+ # @type Value: Array
6666
+
6667
+ attr_accessor :Key, :Operator, :Value
6668
+
6669
+ def initialize(key=nil, operator=nil, value=nil)
6670
+ @Key = key
6671
+ @Operator = operator
6672
+ @Value = value
6673
+ end
6674
+
6675
+ def deserialize(params)
6676
+ @Key = params['Key']
6677
+ @Operator = params['Operator']
6678
+ @Value = params['Value']
6679
+ end
6680
+ end
6681
+
4572
6682
  # 访问协议强制https跳转配置
4573
6683
  class ForceRedirect < TencentCloud::Common::AbstractModel
4574
6684
  # @param Switch: 访问强制跳转配置开关
@@ -6359,6 +8469,43 @@ module TencentCloud
6359
8469
  end
6360
8470
  end
6361
8471
 
8472
+ # 用户画像规则详情
8473
+ class PortraitManagedRuleDetail < TencentCloud::Common::AbstractModel
8474
+ # @param RuleId: 规则唯一id
8475
+ # 注意:此字段可能返回 null,表示取不到有效值。
8476
+ # @type RuleId: Integer
8477
+ # @param Description: 规则的描述
8478
+ # 注意:此字段可能返回 null,表示取不到有效值。
8479
+ # @type Description: String
8480
+ # @param RuleTypeName: 规则所属类型的名字, botdb(用户画像)
8481
+ # 注意:此字段可能返回 null,表示取不到有效值。
8482
+ # @type RuleTypeName: String
8483
+ # @param ClassificationId: 规则内的功能分类Id(扫描器,Bot行为等)
8484
+ # 注意:此字段可能返回 null,表示取不到有效值。
8485
+ # @type ClassificationId: Integer
8486
+ # @param Status: 规则当前所属动作状态(block, alg, ...)
8487
+ # 注意:此字段可能返回 null,表示取不到有效值。
8488
+ # @type Status: String
8489
+
8490
+ attr_accessor :RuleId, :Description, :RuleTypeName, :ClassificationId, :Status
8491
+
8492
+ def initialize(ruleid=nil, description=nil, ruletypename=nil, classificationid=nil, status=nil)
8493
+ @RuleId = ruleid
8494
+ @Description = description
8495
+ @RuleTypeName = ruletypename
8496
+ @ClassificationId = classificationid
8497
+ @Status = status
8498
+ end
8499
+
8500
+ def deserialize(params)
8501
+ @RuleId = params['RuleId']
8502
+ @Description = params['Description']
8503
+ @RuleTypeName = params['RuleTypeName']
8504
+ @ClassificationId = params['ClassificationId']
8505
+ @Status = params['Status']
8506
+ end
8507
+ end
8508
+
6362
8509
  # POST请求上传文件流式传输最大限制
6363
8510
  class PostMaxSize < TencentCloud::Common::AbstractModel
6364
8511
  # @param Switch: 是调整POST请求限制,平台默认为32MB。
@@ -6382,6 +8529,30 @@ module TencentCloud
6382
8529
  end
6383
8530
  end
6384
8531
 
8532
+ # 查询条件
8533
+ class QueryCondition < TencentCloud::Common::AbstractModel
8534
+ # @param Key: 维度
8535
+ # @type Key: String
8536
+ # @param Operator: 操作符
8537
+ # @type Operator: String
8538
+ # @param Value: 维度值
8539
+ # @type Value: Array
8540
+
8541
+ attr_accessor :Key, :Operator, :Value
8542
+
8543
+ def initialize(key=nil, operator=nil, value=nil)
8544
+ @Key = key
8545
+ @Operator = operator
8546
+ @Value = value
8547
+ end
8548
+
8549
+ def deserialize(params)
8550
+ @Key = params['Key']
8551
+ @Operator = params['Operator']
8552
+ @Value = params['Value']
8553
+ end
8554
+ end
8555
+
6385
8556
  # CacheKey中包含请求参数
6386
8557
  class QueryString < TencentCloud::Common::AbstractModel
6387
8558
  # @param Switch: on | off CacheKey是否由QueryString组成
@@ -6676,6 +8847,79 @@ module TencentCloud
6676
8847
  end
6677
8848
  end
6678
8849
 
8850
+ # 安全数据Entry返回值
8851
+ class SecEntry < TencentCloud::Common::AbstractModel
8852
+ # @param Key: Entry的Key
8853
+ # 注意:此字段可能返回 null,表示取不到有效值。
8854
+ # @type Key: String
8855
+ # @param Value: Entry的Value
8856
+ # 注意:此字段可能返回 null,表示取不到有效值。
8857
+ # @type Value: Array
8858
+
8859
+ attr_accessor :Key, :Value
8860
+
8861
+ def initialize(key=nil, value=nil)
8862
+ @Key = key
8863
+ @Value = value
8864
+ end
8865
+
8866
+ def deserialize(params)
8867
+ @Key = params['Key']
8868
+ unless params['Value'].nil?
8869
+ @Value = []
8870
+ params['Value'].each do |i|
8871
+ secentryvalue_tmp = SecEntryValue.new
8872
+ secentryvalue_tmp.deserialize(i)
8873
+ @Value << secentryvalue_tmp
8874
+ end
8875
+ end
8876
+ end
8877
+ end
8878
+
8879
+ # 安全数据Entry对应的值
8880
+ class SecEntryValue < TencentCloud::Common::AbstractModel
8881
+ # @param Metric: 指标名称
8882
+ # 注意:此字段可能返回 null,表示取不到有效值。
8883
+ # @type Metric: String
8884
+ # @param Detail: 指标数据明细
8885
+ # 注意:此字段可能返回 null,表示取不到有效值。
8886
+ # @type Detail: Array
8887
+ # @param Max: 最大值
8888
+ # 注意:此字段可能返回 null,表示取不到有效值。
8889
+ # @type Max: Integer
8890
+ # @param Avg: 平均值
8891
+ # 注意:此字段可能返回 null,表示取不到有效值。
8892
+ # @type Avg: Float
8893
+ # @param Sum: 数据总和
8894
+ # 注意:此字段可能返回 null,表示取不到有效值。
8895
+ # @type Sum: Float
8896
+
8897
+ attr_accessor :Metric, :Detail, :Max, :Avg, :Sum
8898
+
8899
+ def initialize(metric=nil, detail=nil, max=nil, avg=nil, sum=nil)
8900
+ @Metric = metric
8901
+ @Detail = detail
8902
+ @Max = max
8903
+ @Avg = avg
8904
+ @Sum = sum
8905
+ end
8906
+
8907
+ def deserialize(params)
8908
+ @Metric = params['Metric']
8909
+ unless params['Detail'].nil?
8910
+ @Detail = []
8911
+ params['Detail'].each do |i|
8912
+ timingdataitem_tmp = TimingDataItem.new
8913
+ timingdataitem_tmp.deserialize(i)
8914
+ @Detail << timingdataitem_tmp
8915
+ end
8916
+ end
8917
+ @Max = params['Max']
8918
+ @Avg = params['Avg']
8919
+ @Sum = params['Sum']
8920
+ end
8921
+ end
8922
+
6679
8923
  # 安全配置
6680
8924
  class SecurityConfig < TencentCloud::Common::AbstractModel
6681
8925
  # @param WafConfig: 门神配置
@@ -6942,6 +9186,199 @@ module TencentCloud
6942
9186
  end
6943
9187
  end
6944
9188
 
9189
+ # 统计曲线数据项
9190
+ class TimingDataItem < TencentCloud::Common::AbstractModel
9191
+ # @param Timestamp: 秒级时间戳
9192
+ # 注意:此字段可能返回 null,表示取不到有效值。
9193
+ # @type Timestamp: Integer
9194
+ # @param Value: 数值
9195
+ # 注意:此字段可能返回 null,表示取不到有效值。
9196
+ # @type Value: Integer
9197
+
9198
+ attr_accessor :Timestamp, :Value
9199
+
9200
+ def initialize(timestamp=nil, value=nil)
9201
+ @Timestamp = timestamp
9202
+ @Value = value
9203
+ end
9204
+
9205
+ def deserialize(params)
9206
+ @Timestamp = params['Timestamp']
9207
+ @Value = params['Value']
9208
+ end
9209
+ end
9210
+
9211
+ # L7数据分析时序数据
9212
+ class TimingDataRecord < TencentCloud::Common::AbstractModel
9213
+ # @param TypeKey: 查询维度值
9214
+ # @type TypeKey: String
9215
+ # @param TypeValue: 详细时序数据
9216
+ # 注意:此字段可能返回 null,表示取不到有效值。
9217
+ # @type TypeValue: Array
9218
+
9219
+ attr_accessor :TypeKey, :TypeValue
9220
+
9221
+ def initialize(typekey=nil, typevalue=nil)
9222
+ @TypeKey = typekey
9223
+ @TypeValue = typevalue
9224
+ end
9225
+
9226
+ def deserialize(params)
9227
+ @TypeKey = params['TypeKey']
9228
+ unless params['TypeValue'].nil?
9229
+ @TypeValue = []
9230
+ params['TypeValue'].each do |i|
9231
+ timingtypevalue_tmp = TimingTypeValue.new
9232
+ timingtypevalue_tmp.deserialize(i)
9233
+ @TypeValue << timingtypevalue_tmp
9234
+ end
9235
+ end
9236
+ end
9237
+ end
9238
+
9239
+ # 时序类型详细数据
9240
+ class TimingTypeValue < TencentCloud::Common::AbstractModel
9241
+ # @param Sum: 数据和
9242
+ # 注意:此字段可能返回 null,表示取不到有效值。
9243
+ # @type Sum: Integer
9244
+ # @param Max: 最大
9245
+ # 注意:此字段可能返回 null,表示取不到有效值。
9246
+ # @type Max: Integer
9247
+ # @param Avg: 平均
9248
+ # 注意:此字段可能返回 null,表示取不到有效值。
9249
+ # @type Avg: Integer
9250
+ # @param MetricName: 指标名
9251
+ # @type MetricName: String
9252
+ # @param DetailData: 废弃字段,即将下线,请使用Detail字段
9253
+ # 注意:此字段可能返回 null,表示取不到有效值。
9254
+ # @type DetailData: Array
9255
+ # @param Detail: 详细数据
9256
+ # 注意:此字段可能返回 null,表示取不到有效值。
9257
+ # @type Detail: Array
9258
+
9259
+ attr_accessor :Sum, :Max, :Avg, :MetricName, :DetailData, :Detail
9260
+
9261
+ def initialize(sum=nil, max=nil, avg=nil, metricname=nil, detaildata=nil, detail=nil)
9262
+ @Sum = sum
9263
+ @Max = max
9264
+ @Avg = avg
9265
+ @MetricName = metricname
9266
+ @DetailData = detaildata
9267
+ @Detail = detail
9268
+ end
9269
+
9270
+ def deserialize(params)
9271
+ @Sum = params['Sum']
9272
+ @Max = params['Max']
9273
+ @Avg = params['Avg']
9274
+ @MetricName = params['MetricName']
9275
+ @DetailData = params['DetailData']
9276
+ unless params['Detail'].nil?
9277
+ @Detail = []
9278
+ params['Detail'].each do |i|
9279
+ timingdataitem_tmp = TimingDataItem.new
9280
+ timingdataitem_tmp.deserialize(i)
9281
+ @Detail << timingdataitem_tmp
9282
+ end
9283
+ end
9284
+ end
9285
+ end
9286
+
9287
+ # 七层数据分析类top数据
9288
+ class TopDataRecord < TencentCloud::Common::AbstractModel
9289
+ # @param TypeKey: 查询维度值
9290
+ # @type TypeKey: String
9291
+ # @param DetailData: top数据排行
9292
+ # 注意:此字段可能返回 null,表示取不到有效值。
9293
+ # @type DetailData: Array
9294
+
9295
+ attr_accessor :TypeKey, :DetailData
9296
+
9297
+ def initialize(typekey=nil, detaildata=nil)
9298
+ @TypeKey = typekey
9299
+ @DetailData = detaildata
9300
+ end
9301
+
9302
+ def deserialize(params)
9303
+ @TypeKey = params['TypeKey']
9304
+ unless params['DetailData'].nil?
9305
+ @DetailData = []
9306
+ params['DetailData'].each do |i|
9307
+ topdetaildata_tmp = TopDetailData.new
9308
+ topdetaildata_tmp.deserialize(i)
9309
+ @DetailData << topdetaildata_tmp
9310
+ end
9311
+ end
9312
+ end
9313
+ end
9314
+
9315
+ # 用于对top数据排序的结构体
9316
+ class TopDetailData < TencentCloud::Common::AbstractModel
9317
+ # @param Key: 字段名
9318
+ # @type Key: String
9319
+ # @param Value: 字段值
9320
+ # @type Value: Integer
9321
+
9322
+ attr_accessor :Key, :Value
9323
+
9324
+ def initialize(key=nil, value=nil)
9325
+ @Key = key
9326
+ @Value = value
9327
+ end
9328
+
9329
+ def deserialize(params)
9330
+ @Key = params['Key']
9331
+ @Value = params['Value']
9332
+ end
9333
+ end
9334
+
9335
+ # TopN entry
9336
+ class TopNEntry < TencentCloud::Common::AbstractModel
9337
+ # @param Key: Entry key
9338
+ # @type Key: String
9339
+ # @param Value: TopN数据
9340
+ # @type Value: Array
9341
+
9342
+ attr_accessor :Key, :Value
9343
+
9344
+ def initialize(key=nil, value=nil)
9345
+ @Key = key
9346
+ @Value = value
9347
+ end
9348
+
9349
+ def deserialize(params)
9350
+ @Key = params['Key']
9351
+ unless params['Value'].nil?
9352
+ @Value = []
9353
+ params['Value'].each do |i|
9354
+ topnentryvalue_tmp = TopNEntryValue.new
9355
+ topnentryvalue_tmp.deserialize(i)
9356
+ @Value << topnentryvalue_tmp
9357
+ end
9358
+ end
9359
+ end
9360
+ end
9361
+
9362
+ # TopN数据Entry
9363
+ class TopNEntryValue < TencentCloud::Common::AbstractModel
9364
+ # @param Name: Entry的name
9365
+ # @type Name: String
9366
+ # @param Count: 数量
9367
+ # @type Count: Integer
9368
+
9369
+ attr_accessor :Name, :Count
9370
+
9371
+ def initialize(name=nil, count=nil)
9372
+ @Name = name
9373
+ @Count = count
9374
+ end
9375
+
9376
+ def deserialize(params)
9377
+ @Name = params['Name']
9378
+ @Count = params['Count']
9379
+ end
9380
+ end
9381
+
6945
9382
  # Http2回源配置
6946
9383
  class UpstreamHttp2 < TencentCloud::Common::AbstractModel
6947
9384
  # @param Switch: http2回源配置开关
@@ -7066,6 +9503,208 @@ module TencentCloud
7066
9503
  end
7067
9504
  end
7068
9505
 
9506
+ # Web拦截事件
9507
+ class WebAttackEvent < TencentCloud::Common::AbstractModel
9508
+ # @param ClientIp: 客户端ip
9509
+ # 注意:此字段可能返回 null,表示取不到有效值。
9510
+ # @type ClientIp: String
9511
+ # @param AttackUrl: 攻击URL
9512
+ # 注意:此字段可能返回 null,表示取不到有效值。
9513
+ # @type AttackUrl: String
9514
+ # @param AttackTime: 攻击时间 单位为s
9515
+ # 注意:此字段可能返回 null,表示取不到有效值。
9516
+ # @type AttackTime: Integer
9517
+
9518
+ attr_accessor :ClientIp, :AttackUrl, :AttackTime
9519
+
9520
+ def initialize(clientip=nil, attackurl=nil, attacktime=nil)
9521
+ @ClientIp = clientip
9522
+ @AttackUrl = attackurl
9523
+ @AttackTime = attacktime
9524
+ end
9525
+
9526
+ def deserialize(params)
9527
+ @ClientIp = params['ClientIp']
9528
+ @AttackUrl = params['AttackUrl']
9529
+ @AttackTime = params['AttackTime']
9530
+ end
9531
+ end
9532
+
9533
+ # web事件数据
9534
+ class WebEventData < TencentCloud::Common::AbstractModel
9535
+ # @param List: 攻击事件数据集合
9536
+ # 注意:此字段可能返回 null,表示取不到有效值。
9537
+ # @type List: Array
9538
+ # @param PageNo: 当前页
9539
+ # 注意:此字段可能返回 null,表示取不到有效值。
9540
+ # @type PageNo: Integer
9541
+ # @param PageSize: 每页展示条数
9542
+ # 注意:此字段可能返回 null,表示取不到有效值。
9543
+ # @type PageSize: Integer
9544
+ # @param Pages: 总页数
9545
+ # 注意:此字段可能返回 null,表示取不到有效值。
9546
+ # @type Pages: Integer
9547
+ # @param TotalSize: 总条数
9548
+ # 注意:此字段可能返回 null,表示取不到有效值。
9549
+ # @type TotalSize: Integer
9550
+
9551
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
9552
+
9553
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
9554
+ @List = list
9555
+ @PageNo = pageno
9556
+ @PageSize = pagesize
9557
+ @Pages = pages
9558
+ @TotalSize = totalsize
9559
+ end
9560
+
9561
+ def deserialize(params)
9562
+ unless params['List'].nil?
9563
+ @List = []
9564
+ params['List'].each do |i|
9565
+ webattackevent_tmp = WebAttackEvent.new
9566
+ webattackevent_tmp.deserialize(i)
9567
+ @List << webattackevent_tmp
9568
+ end
9569
+ end
9570
+ @PageNo = params['PageNo']
9571
+ @PageSize = params['PageSize']
9572
+ @Pages = params['Pages']
9573
+ @TotalSize = params['TotalSize']
9574
+ end
9575
+ end
9576
+
9577
+ # web攻击日志Data
9578
+ class WebLogData < TencentCloud::Common::AbstractModel
9579
+ # @param List: 数据
9580
+ # 注意:此字段可能返回 null,表示取不到有效值。
9581
+ # @type List: Array
9582
+ # @param PageNo: 当前页
9583
+ # 注意:此字段可能返回 null,表示取不到有效值。
9584
+ # @type PageNo: Integer
9585
+ # @param PageSize: 每页展示条数
9586
+ # 注意:此字段可能返回 null,表示取不到有效值。
9587
+ # @type PageSize: Integer
9588
+ # @param Pages: 总页数
9589
+ # 注意:此字段可能返回 null,表示取不到有效值。
9590
+ # @type Pages: Integer
9591
+ # @param TotalSize: 总条数
9592
+ # 注意:此字段可能返回 null,表示取不到有效值。
9593
+ # @type TotalSize: Integer
9594
+
9595
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
9596
+
9597
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
9598
+ @List = list
9599
+ @PageNo = pageno
9600
+ @PageSize = pagesize
9601
+ @Pages = pages
9602
+ @TotalSize = totalsize
9603
+ end
9604
+
9605
+ def deserialize(params)
9606
+ unless params['List'].nil?
9607
+ @List = []
9608
+ params['List'].each do |i|
9609
+ weblogs_tmp = WebLogs.new
9610
+ weblogs_tmp.deserialize(i)
9611
+ @List << weblogs_tmp
9612
+ end
9613
+ end
9614
+ @PageNo = params['PageNo']
9615
+ @PageSize = params['PageSize']
9616
+ @Pages = params['Pages']
9617
+ @TotalSize = params['TotalSize']
9618
+ end
9619
+ end
9620
+
9621
+ # web攻击日志
9622
+ class WebLogs < TencentCloud::Common::AbstractModel
9623
+ # @param AttackContent: 攻击内容
9624
+ # 注意:此字段可能返回 null,表示取不到有效值。
9625
+ # @type AttackContent: String
9626
+ # @param AttackIp: 攻击IP
9627
+ # 注意:此字段可能返回 null,表示取不到有效值。
9628
+ # @type AttackIp: String
9629
+ # @param AttackType: 攻击类型
9630
+ # 注意:此字段可能返回 null,表示取不到有效值。
9631
+ # @type AttackType: String
9632
+ # @param Domain: 域名
9633
+ # 注意:此字段可能返回 null,表示取不到有效值。
9634
+ # @type Domain: String
9635
+ # @param Msuuid: uuid
9636
+ # 注意:此字段可能返回 null,表示取不到有效值。
9637
+ # @type Msuuid: String
9638
+ # @param RequestMethod: 请求方法
9639
+ # 注意:此字段可能返回 null,表示取不到有效值。
9640
+ # @type RequestMethod: String
9641
+ # @param RequestUri: 请求URI
9642
+ # 注意:此字段可能返回 null,表示取不到有效值。
9643
+ # @type RequestUri: String
9644
+ # @param RiskLevel: 风险等级
9645
+ # 注意:此字段可能返回 null,表示取不到有效值。
9646
+ # @type RiskLevel: String
9647
+ # @param RuleId: 规则ID
9648
+ # 注意:此字段可能返回 null,表示取不到有效值。
9649
+ # @type RuleId: Integer
9650
+ # @param SipCountryCode: IP所在国家
9651
+ # 注意:此字段可能返回 null,表示取不到有效值。
9652
+ # @type SipCountryCode: String
9653
+ # @param EventId: 事件id
9654
+ # 注意:此字段可能返回 null,表示取不到有效值。
9655
+ # @type EventId: String
9656
+ # @param DisposalMethod: 处置方式
9657
+ # 注意:此字段可能返回 null,表示取不到有效值。
9658
+ # @type DisposalMethod: String
9659
+ # @param HttpLog: http_log
9660
+ # 注意:此字段可能返回 null,表示取不到有效值。
9661
+ # @type HttpLog: String
9662
+ # @param Ua: user agent
9663
+ # 注意:此字段可能返回 null,表示取不到有效值。
9664
+ # @type Ua: String
9665
+ # @param AttackTime: 攻击时间,为保持统一,原参数time更名为AttackTime
9666
+ # 注意:此字段可能返回 null,表示取不到有效值。
9667
+ # @type AttackTime: Integer
9668
+
9669
+ attr_accessor :AttackContent, :AttackIp, :AttackType, :Domain, :Msuuid, :RequestMethod, :RequestUri, :RiskLevel, :RuleId, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :Ua, :AttackTime
9670
+
9671
+ def initialize(attackcontent=nil, attackip=nil, attacktype=nil, domain=nil, msuuid=nil, requestmethod=nil, requesturi=nil, risklevel=nil, ruleid=nil, sipcountrycode=nil, eventid=nil, disposalmethod=nil, httplog=nil, ua=nil, attacktime=nil)
9672
+ @AttackContent = attackcontent
9673
+ @AttackIp = attackip
9674
+ @AttackType = attacktype
9675
+ @Domain = domain
9676
+ @Msuuid = msuuid
9677
+ @RequestMethod = requestmethod
9678
+ @RequestUri = requesturi
9679
+ @RiskLevel = risklevel
9680
+ @RuleId = ruleid
9681
+ @SipCountryCode = sipcountrycode
9682
+ @EventId = eventid
9683
+ @DisposalMethod = disposalmethod
9684
+ @HttpLog = httplog
9685
+ @Ua = ua
9686
+ @AttackTime = attacktime
9687
+ end
9688
+
9689
+ def deserialize(params)
9690
+ @AttackContent = params['AttackContent']
9691
+ @AttackIp = params['AttackIp']
9692
+ @AttackType = params['AttackType']
9693
+ @Domain = params['Domain']
9694
+ @Msuuid = params['Msuuid']
9695
+ @RequestMethod = params['RequestMethod']
9696
+ @RequestUri = params['RequestUri']
9697
+ @RiskLevel = params['RiskLevel']
9698
+ @RuleId = params['RuleId']
9699
+ @SipCountryCode = params['SipCountryCode']
9700
+ @EventId = params['EventId']
9701
+ @DisposalMethod = params['DisposalMethod']
9702
+ @HttpLog = params['HttpLog']
9703
+ @Ua = params['Ua']
9704
+ @AttackTime = params['AttackTime']
9705
+ end
9706
+ end
9707
+
7069
9708
  # WebSocket配置
7070
9709
  class WebSocket < TencentCloud::Common::AbstractModel
7071
9710
  # @param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.