tencentcloud-sdk-teo 1.0.333 → 1.0.336

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
@@ -531,6 +672,187 @@ module TencentCloud
531
672
  end
532
673
  end
533
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']
853
+ end
854
+ end
855
+
534
856
  # 缓存规则配置。
535
857
  class CacheConfig < TencentCloud::Common::AbstractModel
536
858
  # @param Cache: 缓存配置
@@ -1884,89 +2206,378 @@ module TencentCloud
1884
2206
  end
1885
2207
  end
1886
2208
 
1887
- # 统计曲线数据项
1888
- class DataItem < TencentCloud::Common::AbstractModel
1889
- # @param Time: 时间
1890
- # @type Time: String
1891
- # @param Value: 数值
2209
+ # DDos攻击事件对象
2210
+ class DDosAttackEvent < TencentCloud::Common::AbstractModel
2211
+ # @param PolicyId: ddos 策略组id
1892
2212
  # 注意:此字段可能返回 null,表示取不到有效值。
1893
- # @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
1894
2238
 
1895
- attr_accessor :Time, :Value
2239
+ attr_accessor :PolicyId, :AttackType, :AttackStatus, :AttackMaxBandWidth, :AttackPacketMaxRate, :AttackStartTime, :AttackEndTime, :EventId, :ZoneId
1896
2240
 
1897
- def initialize(time=nil, value=nil)
1898
- @Time = time
1899
- @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
1900
2251
  end
1901
2252
 
1902
2253
  def deserialize(params)
1903
- @Time = params['Time']
1904
- @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']
1905
2263
  end
1906
2264
  end
1907
2265
 
1908
- # ddos端口过滤
1909
- class DdosAcls < TencentCloud::Common::AbstractModel
1910
- # @param Switch: 开关 off清空规则标识
1911
- # @type Switch: String
1912
- # @param Acl: 端口过了详细参数
1913
- # @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
1914
2283
 
1915
- attr_accessor :Switch, :Acl
2284
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
1916
2285
 
1917
- def initialize(switch=nil, acl=nil)
1918
- @Switch = switch
1919
- @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
1920
2292
  end
1921
2293
 
1922
2294
  def deserialize(params)
1923
- @Switch = params['Switch']
1924
- unless params['Acl'].nil?
1925
- @Acl = []
1926
- params['Acl'].each do |i|
1927
- ddosacl_tmp = DDoSAcl.new
1928
- ddosacl_tmp.deserialize(i)
1929
- @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
1930
2301
  end
1931
2302
  end
2303
+ @PageNo = params['PageNo']
2304
+ @PageSize = params['PageSize']
2305
+ @Pages = params['Pages']
2306
+ @TotalSize = params['TotalSize']
1932
2307
  end
1933
2308
  end
1934
2309
 
1935
- # ddos黑白名单
1936
- class DdosAllowBlock < TencentCloud::Common::AbstractModel
1937
- # @param Switch: 开关标识防护是否清空
1938
- # @type Switch: String
1939
- # @param UserAllowBlockIp: 黑白名单数组
1940
- # @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
1941
2328
 
1942
- attr_accessor :Switch, :UserAllowBlockIp
2329
+ attr_accessor :AttackStatus, :AttackType, :EndTime, :StartTime, :MaxBandWidth, :PacketMaxRate, :EventId, :PolicyId
1943
2330
 
1944
- def initialize(switch=nil, userallowblockip=nil)
1945
- @Switch = switch
1946
- @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
1947
2340
  end
1948
2341
 
1949
2342
  def deserialize(params)
1950
- @Switch = params['Switch']
1951
- unless params['UserAllowBlockIp'].nil?
1952
- @UserAllowBlockIp = []
1953
- params['UserAllowBlockIp'].each do |i|
1954
- ddosuserallowblockip_tmp = DDoSUserAllowBlockIP.new
1955
- ddosuserallowblockip_tmp.deserialize(i)
1956
- @UserAllowBlockIp << ddosuserallowblockip_tmp
1957
- end
1958
- 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']
1959
2351
  end
1960
2352
  end
1961
2353
 
1962
- # ddos特征过滤
1963
- class DdosPacketFilter < TencentCloud::Common::AbstractModel
1964
- # @param Switch: 特征过滤清空标识,off清空处理
1965
- # @type Switch: String
1966
- # @param PacketFilter: 特征过滤数组
1967
- # @type PacketFilter: Array
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
1968
2368
 
1969
- attr_accessor :Switch, :PacketFilter
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
+
2580
+ attr_accessor :Switch, :PacketFilter
1970
2581
 
1971
2582
  def initialize(switch=nil, packetfilter=nil)
1972
2583
  @Switch = switch
@@ -2532,6 +3143,84 @@ module TencentCloud
2532
3143
  end
2533
3144
  end
2534
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
+
2535
3224
  # DescribeBotManagedRules请求参数结构体
2536
3225
  class DescribeBotManagedRulesRequest < TencentCloud::Common::AbstractModel
2537
3226
  # @param ZoneId: 一级域名
@@ -2682,51 +3371,486 @@ module TencentCloud
2682
3371
  end
2683
3372
  end
2684
3373
 
2685
- # DescribeDefaultCertificates请求参数结构体
2686
- class DescribeDefaultCertificatesRequest < TencentCloud::Common::AbstractModel
2687
- # @param ZoneId: Zone ID
2688
- # @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
2689
3394
 
2690
- attr_accessor :ZoneId
3395
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
2691
3396
 
2692
- def initialize(zoneid=nil)
2693
- @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
2694
3407
  end
2695
3408
 
2696
3409
  def deserialize(params)
2697
- @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']
2698
3419
  end
2699
3420
  end
2700
3421
 
2701
- # DescribeDefaultCertificates返回参数结构体
2702
- class DescribeDefaultCertificatesResponse < TencentCloud::Common::AbstractModel
2703
- # @param TotalCount: 证书总数
2704
- # @type TotalCount: Integer
2705
- # @param CertInfo: 默认证书列表
3422
+ # DescribeDDosAttackData返回参数结构体
3423
+ class DescribeDDosAttackDataResponse < TencentCloud::Common::AbstractModel
3424
+ # @param Data: DDos攻击数据
2706
3425
  # 注意:此字段可能返回 null,表示取不到有效值。
2707
- # @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
2708
3433
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2709
3434
  # @type RequestId: String
2710
3435
 
2711
- attr_accessor :TotalCount, :CertInfo, :RequestId
3436
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
2712
3437
 
2713
- def initialize(totalcount=nil, certinfo=nil, requestid=nil)
2714
- @TotalCount = totalcount
2715
- @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
2716
3443
  @RequestId = requestid
2717
3444
  end
2718
3445
 
2719
3446
  def deserialize(params)
2720
- @TotalCount = params['TotalCount']
2721
- unless params['CertInfo'].nil?
2722
- @CertInfo = []
2723
- params['CertInfo'].each do |i|
2724
- defaultservercertinfo_tmp = DefaultServerCertInfo.new
2725
- defaultservercertinfo_tmp.deserialize(i)
2726
- @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
2727
3453
  end
2728
3454
  end
2729
- @RequestId = params['RequestId']
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
3851
+ end
3852
+ end
3853
+ @RequestId = params['RequestId']
2730
3854
  end
2731
3855
  end
2732
3856
 
@@ -3433,32 +4557,107 @@ module TencentCloud
3433
4557
  end
3434
4558
  end
3435
4559
 
3436
- # DescribePrefetchTasks请求参数结构体
3437
- class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
3438
- # @param JobId: 任务ID
3439
- # @type JobId: String
3440
- # @param StartTime: 查询起始时间
4560
+ # DescribeOverviewL7Data请求参数结构体
4561
+ class DescribeOverviewL7DataRequest < TencentCloud::Common::AbstractModel
4562
+ # @param StartTime: RFC3339格式,客户端时间
3441
4563
  # @type StartTime: String
3442
- # @param EndTime: 查询结束时间
4564
+ # @param EndTime: RFC3339格式,客户端时间
3443
4565
  # @type EndTime: String
3444
- # @param Offset: 查询起始偏移量
3445
- # @type Offset: Integer
3446
- # @param Limit: 查询最大返回的结果条数
3447
- # @type Limit: Integer
3448
- # @param Statuses: 查询的状态
3449
- # 允许的值为:processing、success、failed、timeout、invalid
3450
- # @type Statuses: Array
3451
- # @param ZoneId: zone id
3452
- # @type ZoneId: String
3453
- # @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维度下查询时该参数有效
3454
4573
  # @type Domains: Array
3455
- # @param Target: 查询的资源
3456
- # @type Target: String
4574
+ # @param Protocol: 协议类型, 选填{http,http2,https,all}
4575
+ # @type Protocol: String
3457
4576
 
3458
- attr_accessor :JobId, :StartTime, :EndTime, :Offset, :Limit, :Statuses, :ZoneId, :Domains, :Target
4577
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
3459
4578
 
3460
- def initialize(jobid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, statuses=nil, zoneid=nil, domains=nil, target=nil)
3461
- @JobId = jobid
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
4658
+
4659
+ def initialize(jobid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, statuses=nil, zoneid=nil, domains=nil, target=nil)
4660
+ @JobId = jobid
3462
4661
  @StartTime = starttime
3463
4662
  @EndTime = endtime
3464
4663
  @Offset = offset
@@ -3662,243 +4861,1234 @@ module TencentCloud
3662
4861
  # @type Total: Integer
3663
4862
  # @param Rules: 门神规则
3664
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
+ # DescribeTimingL7CacheData请求参数结构体
5269
+ class DescribeTimingL7CacheDataRequest < TencentCloud::Common::AbstractModel
5270
+ # @param StartTime: RFC3339标准,客户端时间
5271
+ # @type StartTime: String
5272
+ # @param EndTime: RFC3339标准,客户端时间
5273
+ # @type EndTime: String
5274
+ # @param MetricNames: 时序类访问流量指标列表
5275
+ # @type MetricNames: Array
5276
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
5277
+ # @type Interval: String
5278
+ # @param ZoneIds: 站点id列表
5279
+ # @type ZoneIds: Array
5280
+ # @param Filters: 筛选条件,筛选EO/源站响应如下:
5281
+ # EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
5282
+ # 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
5283
+ # @type Filters: Array
5284
+
5285
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
5286
+
5287
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
5288
+ @StartTime = starttime
5289
+ @EndTime = endtime
5290
+ @MetricNames = metricnames
5291
+ @Interval = interval
5292
+ @ZoneIds = zoneids
5293
+ @Filters = filters
5294
+ end
5295
+
5296
+ def deserialize(params)
5297
+ @StartTime = params['StartTime']
5298
+ @EndTime = params['EndTime']
5299
+ @MetricNames = params['MetricNames']
5300
+ @Interval = params['Interval']
5301
+ @ZoneIds = params['ZoneIds']
5302
+ unless params['Filters'].nil?
5303
+ @Filters = []
5304
+ params['Filters'].each do |i|
5305
+ filter_tmp = Filter.new
5306
+ filter_tmp.deserialize(i)
5307
+ @Filters << filter_tmp
5308
+ end
5309
+ end
5310
+ end
5311
+ end
5312
+
5313
+ # DescribeTimingL7CacheData返回参数结构体
5314
+ class DescribeTimingL7CacheDataResponse < TencentCloud::Common::AbstractModel
5315
+ # @param Data: 详细数据
5316
+ # 注意:此字段可能返回 null,表示取不到有效值。
5317
+ # @type Data: Array
5318
+ # @param Type: 查询维度
5319
+ # @type Type: String
5320
+ # @param Interval: 时间间隔
5321
+ # @type Interval: String
5322
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5323
+ # @type RequestId: String
5324
+
5325
+ attr_accessor :Data, :Type, :Interval, :RequestId
5326
+
5327
+ def initialize(data=nil, type=nil, interval=nil, requestid=nil)
5328
+ @Data = data
5329
+ @Type = type
5330
+ @Interval = interval
5331
+ @RequestId = requestid
5332
+ end
5333
+
5334
+ def deserialize(params)
5335
+ unless params['Data'].nil?
5336
+ @Data = []
5337
+ params['Data'].each do |i|
5338
+ timingdatarecord_tmp = TimingDataRecord.new
5339
+ timingdatarecord_tmp.deserialize(i)
5340
+ @Data << timingdatarecord_tmp
5341
+ end
5342
+ end
5343
+ @Type = params['Type']
5344
+ @Interval = params['Interval']
5345
+ @RequestId = params['RequestId']
5346
+ end
5347
+ end
5348
+
5349
+ # DescribeTopL7AnalysisData请求参数结构体
5350
+ class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
5351
+ # @param StartTime: RFC3339标准,客户端时间
5352
+ # @type StartTime: String
5353
+ # @param EndTime: RFC3339标准,客户端时间
5354
+ # @type EndTime: String
5355
+ # @param MetricName: 时序类访问流量指标
5356
+ # @type MetricName: String
5357
+ # @param Limit: topN,填0时返回全量数据
5358
+ # @type Limit: Integer
5359
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
5360
+ # @type Interval: String
5361
+ # @param ZoneIds: ZoneId数组
5362
+ # @type ZoneIds: Array
5363
+ # @param Filters: 筛选条件
5364
+ # @type Filters: Array
5365
+
5366
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
5367
+
5368
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
5369
+ @StartTime = starttime
5370
+ @EndTime = endtime
5371
+ @MetricName = metricname
5372
+ @Limit = limit
5373
+ @Interval = interval
5374
+ @ZoneIds = zoneids
5375
+ @Filters = filters
5376
+ end
5377
+
5378
+ def deserialize(params)
5379
+ @StartTime = params['StartTime']
5380
+ @EndTime = params['EndTime']
5381
+ @MetricName = params['MetricName']
5382
+ @Limit = params['Limit']
5383
+ @Interval = params['Interval']
5384
+ @ZoneIds = params['ZoneIds']
5385
+ unless params['Filters'].nil?
5386
+ @Filters = []
5387
+ params['Filters'].each do |i|
5388
+ filter_tmp = Filter.new
5389
+ filter_tmp.deserialize(i)
5390
+ @Filters << filter_tmp
5391
+ end
5392
+ end
5393
+ end
5394
+ end
5395
+
5396
+ # DescribeTopL7AnalysisData返回参数结构体
5397
+ class DescribeTopL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
5398
+ # @param Data: top详细数据
5399
+ # 注意:此字段可能返回 null,表示取不到有效值。
5400
+ # @type Data: Array
5401
+ # @param Type: 查询维度
5402
+ # @type Type: String
5403
+ # @param MetricName: 查询指标
5404
+ # @type MetricName: String
5405
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5406
+ # @type RequestId: String
5407
+
5408
+ attr_accessor :Data, :Type, :MetricName, :RequestId
5409
+
5410
+ def initialize(data=nil, type=nil, metricname=nil, requestid=nil)
5411
+ @Data = data
5412
+ @Type = type
5413
+ @MetricName = metricname
5414
+ @RequestId = requestid
5415
+ end
5416
+
5417
+ def deserialize(params)
5418
+ unless params['Data'].nil?
5419
+ @Data = []
5420
+ params['Data'].each do |i|
5421
+ topdatarecord_tmp = TopDataRecord.new
5422
+ topdatarecord_tmp.deserialize(i)
5423
+ @Data << topdatarecord_tmp
5424
+ end
5425
+ end
5426
+ @Type = params['Type']
5427
+ @MetricName = params['MetricName']
5428
+ @RequestId = params['RequestId']
5429
+ end
5430
+ end
5431
+
5432
+ # DescribeTopL7CacheData请求参数结构体
5433
+ class DescribeTopL7CacheDataRequest < TencentCloud::Common::AbstractModel
5434
+ # @param StartTime: RFC3339标准,客户端时间
5435
+ # @type StartTime: String
5436
+ # @param EndTime: RFC3339标准,客户端时间
5437
+ # @type EndTime: String
5438
+ # @param MetricName: 时序类访问流量指标
5439
+ # @type MetricName: String
5440
+ # @param Limit: topN,填0时返回全量数据
5441
+ # @type Limit: Integer
5442
+ # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
5443
+ # @type Interval: String
5444
+ # @param ZoneIds: ZoneId数组
5445
+ # @type ZoneIds: Array
5446
+ # @param Filters: 筛选条件
5447
+ # @type Filters: Array
5448
+
5449
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
5450
+
5451
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
5452
+ @StartTime = starttime
5453
+ @EndTime = endtime
5454
+ @MetricName = metricname
5455
+ @Limit = limit
5456
+ @Interval = interval
5457
+ @ZoneIds = zoneids
5458
+ @Filters = filters
5459
+ end
5460
+
5461
+ def deserialize(params)
5462
+ @StartTime = params['StartTime']
5463
+ @EndTime = params['EndTime']
5464
+ @MetricName = params['MetricName']
5465
+ @Limit = params['Limit']
5466
+ @Interval = params['Interval']
5467
+ @ZoneIds = params['ZoneIds']
5468
+ unless params['Filters'].nil?
5469
+ @Filters = []
5470
+ params['Filters'].each do |i|
5471
+ filter_tmp = Filter.new
5472
+ filter_tmp.deserialize(i)
5473
+ @Filters << filter_tmp
5474
+ end
5475
+ end
5476
+ end
5477
+ end
5478
+
5479
+ # DescribeTopL7CacheData返回参数结构体
5480
+ class DescribeTopL7CacheDataResponse < TencentCloud::Common::AbstractModel
5481
+ # @param Data: top详细数据
5482
+ # 注意:此字段可能返回 null,表示取不到有效值。
5483
+ # @type Data: Array
5484
+ # @param Type: 查询维度
5485
+ # @type Type: String
5486
+ # @param MetricName: 查询指标
5487
+ # @type MetricName: String
5488
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5489
+ # @type RequestId: String
5490
+
5491
+ attr_accessor :Data, :Type, :MetricName, :RequestId
5492
+
5493
+ def initialize(data=nil, type=nil, metricname=nil, requestid=nil)
5494
+ @Data = data
5495
+ @Type = type
5496
+ @MetricName = metricname
5497
+ @RequestId = requestid
5498
+ end
5499
+
5500
+ def deserialize(params)
5501
+ unless params['Data'].nil?
5502
+ @Data = []
5503
+ params['Data'].each do |i|
5504
+ topdatarecord_tmp = TopDataRecord.new
5505
+ topdatarecord_tmp.deserialize(i)
5506
+ @Data << topdatarecord_tmp
5507
+ end
5508
+ end
5509
+ @Type = params['Type']
5510
+ @MetricName = params['MetricName']
5511
+ @RequestId = params['RequestId']
5512
+ end
5513
+ end
5514
+
5515
+ # DescribeWebManagedRulesAttackEvents请求参数结构体
5516
+ class DescribeWebManagedRulesAttackEventsRequest < TencentCloud::Common::AbstractModel
5517
+ # @param StartTime: 开始时间
5518
+ # @type StartTime: String
5519
+ # @param EndTime: 结束时间
5520
+ # @type EndTime: String
5521
+ # @param PageSize: 条数
5522
+ # @type PageSize: Integer
5523
+ # @param PageNo: 当前页
5524
+ # @type PageNo: Integer
5525
+ # @param PolicyIds: ddos策略组id列表
5526
+ # @type PolicyIds: Array
5527
+ # @param ZoneIds: 站点集合
5528
+ # @type ZoneIds: Array
5529
+ # @param Domains: 子域名列表
5530
+ # @type Domains: Array
5531
+ # @param IsShowDetail: 选填{Y、N},默认为Y;Y:展示,N:不展示
5532
+ # @type IsShowDetail: String
5533
+
5534
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :Domains, :IsShowDetail
5535
+
5536
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, domains=nil, isshowdetail=nil)
5537
+ @StartTime = starttime
5538
+ @EndTime = endtime
5539
+ @PageSize = pagesize
5540
+ @PageNo = pageno
5541
+ @PolicyIds = policyids
5542
+ @ZoneIds = zoneids
5543
+ @Domains = domains
5544
+ @IsShowDetail = isshowdetail
5545
+ end
5546
+
5547
+ def deserialize(params)
5548
+ @StartTime = params['StartTime']
5549
+ @EndTime = params['EndTime']
5550
+ @PageSize = params['PageSize']
5551
+ @PageNo = params['PageNo']
5552
+ @PolicyIds = params['PolicyIds']
5553
+ @ZoneIds = params['ZoneIds']
5554
+ @Domains = params['Domains']
5555
+ @IsShowDetail = params['IsShowDetail']
5556
+ end
5557
+ end
5558
+
5559
+ # DescribeWebManagedRulesAttackEvents返回参数结构体
5560
+ class DescribeWebManagedRulesAttackEventsResponse < TencentCloud::Common::AbstractModel
5561
+ # @param Data: Web攻击事件数据
5562
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebEventData`
5563
+ # @param Status: 状态,1:失败,0:成功
5564
+ # @type Status: Integer
5565
+ # @param Msg: 返回数据
5566
+ # @type Msg: String
5567
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5568
+ # @type RequestId: String
5569
+
5570
+ attr_accessor :Data, :Status, :Msg, :RequestId
5571
+
5572
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5573
+ @Data = data
5574
+ @Status = status
5575
+ @Msg = msg
5576
+ @RequestId = requestid
5577
+ end
5578
+
5579
+ def deserialize(params)
5580
+ unless params['Data'].nil?
5581
+ @Data = WebEventData.new
5582
+ @Data.deserialize(params['Data'])
5583
+ end
5584
+ @Status = params['Status']
5585
+ @Msg = params['Msg']
5586
+ @RequestId = params['RequestId']
5587
+ end
5588
+ end
5589
+
5590
+ # DescribeWebManagedRulesData请求参数结构体
5591
+ class DescribeWebManagedRulesDataRequest < TencentCloud::Common::AbstractModel
5592
+ # @param StartTime: 开始时间
5593
+ # @type StartTime: String
5594
+ # @param EndTime: 结束时间
5595
+ # @type EndTime: String
5596
+ # @param MetricNames: 统计指标列表
5597
+ # @type MetricNames: Array
5598
+ # @param ZoneIds: 站点id列表
5599
+ # @type ZoneIds: Array
5600
+ # @param Domains: 子域名列表
5601
+ # @type Domains: Array
5602
+ # @param ProtocolType: 协议类型
5603
+ # @type ProtocolType: String
5604
+ # @param AttackType: "webshell" : Webshell检测防护
5605
+ # "oa" : 常见OA漏洞防护
5606
+ # "xss" : XSS跨站脚本攻击防护
5607
+ # "xxe" : XXE攻击防护
5608
+ # "webscan" : 扫描器攻击漏洞防护
5609
+ # "cms" : 常见CMS漏洞防护
5610
+ # "upload" : 恶意文件上传攻击防护
5611
+ # "sql" : SQL注入攻击防护
5612
+ # "cmd_inject": 命令/代码注入攻击防护
5613
+ # "osc" : 开源组件漏洞防护
5614
+ # "file_read" : 任意文件读取
5615
+ # "ldap" : LDAP注入攻击防护
5616
+ # "other" : 其它漏洞防护
5617
+
5618
+ # "all":"所有"
5619
+ # @type AttackType: String
5620
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5621
+ # @type Interval: String
5622
+
5623
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
5624
+
5625
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
5626
+ @StartTime = starttime
5627
+ @EndTime = endtime
5628
+ @MetricNames = metricnames
5629
+ @ZoneIds = zoneids
5630
+ @Domains = domains
5631
+ @ProtocolType = protocoltype
5632
+ @AttackType = attacktype
5633
+ @Interval = interval
5634
+ end
5635
+
5636
+ def deserialize(params)
5637
+ @StartTime = params['StartTime']
5638
+ @EndTime = params['EndTime']
5639
+ @MetricNames = params['MetricNames']
5640
+ @ZoneIds = params['ZoneIds']
5641
+ @Domains = params['Domains']
5642
+ @ProtocolType = params['ProtocolType']
5643
+ @AttackType = params['AttackType']
5644
+ @Interval = params['Interval']
5645
+ end
5646
+ end
5647
+
5648
+ # DescribeWebManagedRulesData返回参数结构体
5649
+ class DescribeWebManagedRulesDataResponse < TencentCloud::Common::AbstractModel
5650
+ # @param Data: Web攻击日志实体
5651
+ # 注意:此字段可能返回 null,表示取不到有效值。
5652
+ # @type Data: Array
5653
+ # @param Status: 状态,1:失败,0:成功
5654
+ # @type Status: Integer
5655
+ # @param Msg: 返回消息
5656
+ # @type Msg: String
5657
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5658
+ # @type Interval: String
5659
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5660
+ # @type RequestId: String
5661
+
5662
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
5663
+
5664
+ def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
5665
+ @Data = data
5666
+ @Status = status
5667
+ @Msg = msg
5668
+ @Interval = interval
5669
+ @RequestId = requestid
5670
+ end
5671
+
5672
+ def deserialize(params)
5673
+ unless params['Data'].nil?
5674
+ @Data = []
5675
+ params['Data'].each do |i|
5676
+ secentry_tmp = SecEntry.new
5677
+ secentry_tmp.deserialize(i)
5678
+ @Data << secentry_tmp
5679
+ end
5680
+ end
5681
+ @Status = params['Status']
5682
+ @Msg = params['Msg']
5683
+ @Interval = params['Interval']
5684
+ @RequestId = params['RequestId']
5685
+ end
5686
+ end
5687
+
5688
+ # DescribeWebManagedRulesLog请求参数结构体
5689
+ class DescribeWebManagedRulesLogRequest < TencentCloud::Common::AbstractModel
5690
+ # @param StartTime: 起始时间
5691
+ # @type StartTime: String
5692
+ # @param EndTime: 结束时间
5693
+ # @type EndTime: String
5694
+ # @param PageSize: 每页条数
5695
+ # @type PageSize: Integer
5696
+ # @param PageNo: 当前页
5697
+ # @type PageNo: Integer
5698
+ # @param ZoneIds: 站点集合
5699
+ # @type ZoneIds: Array
5700
+ # @param Domains: 域名集合
5701
+ # @type Domains: Array
5702
+ # @param QueryCondition: 查询条件
5703
+ # @type QueryCondition: Array
5704
+
5705
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
5706
+
5707
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
5708
+ @StartTime = starttime
5709
+ @EndTime = endtime
5710
+ @PageSize = pagesize
5711
+ @PageNo = pageno
5712
+ @ZoneIds = zoneids
5713
+ @Domains = domains
5714
+ @QueryCondition = querycondition
5715
+ end
5716
+
5717
+ def deserialize(params)
5718
+ @StartTime = params['StartTime']
5719
+ @EndTime = params['EndTime']
5720
+ @PageSize = params['PageSize']
5721
+ @PageNo = params['PageNo']
5722
+ @ZoneIds = params['ZoneIds']
5723
+ @Domains = params['Domains']
5724
+ unless params['QueryCondition'].nil?
5725
+ @QueryCondition = []
5726
+ params['QueryCondition'].each do |i|
5727
+ querycondition_tmp = QueryCondition.new
5728
+ querycondition_tmp.deserialize(i)
5729
+ @QueryCondition << querycondition_tmp
5730
+ end
5731
+ end
5732
+ end
5733
+ end
5734
+
5735
+ # DescribeWebManagedRulesLog返回参数结构体
5736
+ class DescribeWebManagedRulesLogResponse < TencentCloud::Common::AbstractModel
5737
+ # @param Data: web攻击日志data
5738
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebLogData`
5739
+ # @param Status: 状态,1:失败,0:失败
5740
+ # @type Status: Integer
5741
+ # @param Msg: 返回信息
5742
+ # @type Msg: String
3665
5743
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3666
5744
  # @type RequestId: String
3667
5745
 
3668
- attr_accessor :Total, :Rules, :RequestId
5746
+ attr_accessor :Data, :Status, :Msg, :RequestId
3669
5747
 
3670
- def initialize(total=nil, rules=nil, requestid=nil)
3671
- @Total = total
3672
- @Rules = rules
5748
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5749
+ @Data = data
5750
+ @Status = status
5751
+ @Msg = msg
3673
5752
  @RequestId = requestid
3674
5753
  end
3675
5754
 
3676
5755
  def deserialize(params)
3677
- @Total = params['Total']
3678
- unless params['Rules'].nil?
3679
- @Rules = []
3680
- params['Rules'].each do |i|
3681
- managedrule_tmp = ManagedRule.new
3682
- managedrule_tmp.deserialize(i)
3683
- @Rules << managedrule_tmp
3684
- end
5756
+ unless params['Data'].nil?
5757
+ @Data = WebLogData.new
5758
+ @Data.deserialize(params['Data'])
3685
5759
  end
5760
+ @Status = params['Status']
5761
+ @Msg = params['Msg']
3686
5762
  @RequestId = params['RequestId']
3687
5763
  end
3688
5764
  end
3689
5765
 
3690
- # DescribeSecurityPolicyManagedRules请求参数结构体
3691
- class DescribeSecurityPolicyManagedRulesRequest < TencentCloud::Common::AbstractModel
3692
- # @param ZoneId: 一级域名
3693
- # @type ZoneId: String
3694
- # @param Entity: 子域名/应用名
3695
- # @type Entity: String
3696
- # @param Page: 页数
3697
- # @type Page: Integer
3698
- # @param PerPage: 每页数量
3699
- # @type PerPage: Integer
5766
+ # DescribeWebManagedRulesTopData请求参数结构体
5767
+ class DescribeWebManagedRulesTopDataRequest < TencentCloud::Common::AbstractModel
5768
+ # @param StartTime: 开始时间
5769
+ # @type StartTime: String
5770
+ # @param EndTime: 结束时间
5771
+ # @type EndTime: String
5772
+ # @param MetricName: 过滤指标
5773
+ # @type MetricName: String
5774
+ # @param Limit: 查询前多少名,传值为0 全量
5775
+ # @type Limit: Integer
5776
+ # @param ZoneIds: 站点集合
5777
+ # @type ZoneIds: Array
5778
+ # @param PolicyIds: ddos策略组id 集合
5779
+ # @type PolicyIds: Array
5780
+ # @param Port: 端口号
5781
+ # @type Port: Integer
5782
+ # @param ProtocolType: 协议类型,tcp,udp,all
5783
+ # @type ProtocolType: String
5784
+ # @param AttackType: 攻击类型,flood,icmpFlood......,all
5785
+ # @type AttackType: String
5786
+ # @param Domains: 域名集合
5787
+ # @type Domains: Array
3700
5788
 
3701
- attr_accessor :ZoneId, :Entity, :Page, :PerPage
5789
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains
3702
5790
 
3703
- def initialize(zoneid=nil, entity=nil, page=nil, perpage=nil)
3704
- @ZoneId = zoneid
3705
- @Entity = entity
3706
- @Page = page
3707
- @PerPage = perpage
5791
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, domains=nil)
5792
+ @StartTime = starttime
5793
+ @EndTime = endtime
5794
+ @MetricName = metricname
5795
+ @Limit = limit
5796
+ @ZoneIds = zoneids
5797
+ @PolicyIds = policyids
5798
+ @Port = port
5799
+ @ProtocolType = protocoltype
5800
+ @AttackType = attacktype
5801
+ @Domains = domains
3708
5802
  end
3709
5803
 
3710
5804
  def deserialize(params)
3711
- @ZoneId = params['ZoneId']
3712
- @Entity = params['Entity']
3713
- @Page = params['Page']
3714
- @PerPage = params['PerPage']
5805
+ @StartTime = params['StartTime']
5806
+ @EndTime = params['EndTime']
5807
+ @MetricName = params['MetricName']
5808
+ @Limit = params['Limit']
5809
+ @ZoneIds = params['ZoneIds']
5810
+ @PolicyIds = params['PolicyIds']
5811
+ @Port = params['Port']
5812
+ @ProtocolType = params['ProtocolType']
5813
+ @AttackType = params['AttackType']
5814
+ @Domains = params['Domains']
3715
5815
  end
3716
5816
  end
3717
5817
 
3718
- # DescribeSecurityPolicyManagedRules返回参数结构体
3719
- class DescribeSecurityPolicyManagedRulesResponse < TencentCloud::Common::AbstractModel
3720
- # @param Count: 本次返回的规则数
3721
- # @type Count: Integer
3722
- # @param Rules: 门神规则
3723
- # @type Rules: Array
3724
- # @param Total: 总规则数
3725
- # @type Total: Integer
5818
+ # DescribeWebManagedRulesTopData返回参数结构体
5819
+ class DescribeWebManagedRulesTopDataResponse < TencentCloud::Common::AbstractModel
5820
+ # @param Data: topn数据
5821
+ # @type Data: Array
5822
+ # @param Status: 状态,1:失败,0:成功
5823
+ # @type Status: Integer
5824
+ # @param Msg: 返回消息
5825
+ # @type Msg: String
3726
5826
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3727
5827
  # @type RequestId: String
3728
5828
 
3729
- attr_accessor :Count, :Rules, :Total, :RequestId
5829
+ attr_accessor :Data, :Status, :Msg, :RequestId
3730
5830
 
3731
- def initialize(count=nil, rules=nil, total=nil, requestid=nil)
3732
- @Count = count
3733
- @Rules = rules
3734
- @Total = total
5831
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5832
+ @Data = data
5833
+ @Status = status
5834
+ @Msg = msg
3735
5835
  @RequestId = requestid
3736
5836
  end
3737
5837
 
3738
5838
  def deserialize(params)
3739
- @Count = params['Count']
3740
- unless params['Rules'].nil?
3741
- @Rules = []
3742
- params['Rules'].each do |i|
3743
- managedrule_tmp = ManagedRule.new
3744
- managedrule_tmp.deserialize(i)
3745
- @Rules << managedrule_tmp
5839
+ unless params['Data'].nil?
5840
+ @Data = []
5841
+ params['Data'].each do |i|
5842
+ topnentry_tmp = TopNEntry.new
5843
+ topnentry_tmp.deserialize(i)
5844
+ @Data << topnentry_tmp
3746
5845
  end
3747
5846
  end
3748
- @Total = params['Total']
5847
+ @Status = params['Status']
5848
+ @Msg = params['Msg']
3749
5849
  @RequestId = params['RequestId']
3750
5850
  end
3751
5851
  end
3752
5852
 
3753
- # DescribeSecurityPolicyRegions请求参数结构体
3754
- class DescribeSecurityPolicyRegionsRequest < TencentCloud::Common::AbstractModel
5853
+ # DescribeWebProtectionAttackEvents请求参数结构体
5854
+ class DescribeWebProtectionAttackEventsRequest < TencentCloud::Common::AbstractModel
5855
+ # @param StartTime: 开始时间
5856
+ # @type StartTime: String
5857
+ # @param EndTime: 结束时间
5858
+ # @type EndTime: String
5859
+ # @param PageSize: 条数
5860
+ # @type PageSize: Integer
5861
+ # @param PageNo: 当前页
5862
+ # @type PageNo: Integer
5863
+ # @param Domains: 域名
5864
+ # @type Domains: Array
5865
+ # @param ZoneIds: 站点集合
5866
+ # @type ZoneIds: Array
3755
5867
 
5868
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :Domains, :ZoneIds
3756
5869
 
3757
- def initialize()
5870
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, domains=nil, zoneids=nil)
5871
+ @StartTime = starttime
5872
+ @EndTime = endtime
5873
+ @PageSize = pagesize
5874
+ @PageNo = pageno
5875
+ @Domains = domains
5876
+ @ZoneIds = zoneids
3758
5877
  end
3759
5878
 
3760
5879
  def deserialize(params)
5880
+ @StartTime = params['StartTime']
5881
+ @EndTime = params['EndTime']
5882
+ @PageSize = params['PageSize']
5883
+ @PageNo = params['PageNo']
5884
+ @Domains = params['Domains']
5885
+ @ZoneIds = params['ZoneIds']
3761
5886
  end
3762
5887
  end
3763
5888
 
3764
- # DescribeSecurityPolicyRegions返回参数结构体
3765
- class DescribeSecurityPolicyRegionsResponse < TencentCloud::Common::AbstractModel
3766
- # @param Count: 总数
3767
- # @type Count: Integer
3768
- # @param GeoIp: 地域信息
3769
- # @type GeoIp: Array
5889
+ # DescribeWebProtectionAttackEvents返回参数结构体
5890
+ class DescribeWebProtectionAttackEventsResponse < TencentCloud::Common::AbstractModel
5891
+ # @param Data: DDos攻击事件数据
5892
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCInterceptEventData`
5893
+ # @param Status: 状态,1:失败,0:成功
5894
+ # @type Status: Integer
5895
+ # @param Msg: 返回消息
5896
+ # @type Msg: String
3770
5897
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3771
5898
  # @type RequestId: String
3772
5899
 
3773
- attr_accessor :Count, :GeoIp, :RequestId
5900
+ attr_accessor :Data, :Status, :Msg, :RequestId
3774
5901
 
3775
- def initialize(count=nil, geoip=nil, requestid=nil)
3776
- @Count = count
3777
- @GeoIp = geoip
5902
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
5903
+ @Data = data
5904
+ @Status = status
5905
+ @Msg = msg
3778
5906
  @RequestId = requestid
3779
5907
  end
3780
5908
 
3781
5909
  def deserialize(params)
3782
- @Count = params['Count']
3783
- unless params['GeoIp'].nil?
3784
- @GeoIp = []
3785
- params['GeoIp'].each do |i|
3786
- geoip_tmp = GeoIp.new
3787
- geoip_tmp.deserialize(i)
3788
- @GeoIp << geoip_tmp
3789
- end
5910
+ unless params['Data'].nil?
5911
+ @Data = CCInterceptEventData.new
5912
+ @Data.deserialize(params['Data'])
3790
5913
  end
5914
+ @Status = params['Status']
5915
+ @Msg = params['Msg']
3791
5916
  @RequestId = params['RequestId']
3792
5917
  end
3793
5918
  end
3794
5919
 
3795
- # DescribeSecurityPolicy请求参数结构体
3796
- class DescribeSecurityPolicyRequest < TencentCloud::Common::AbstractModel
3797
- # @param ZoneId: 一级域名
3798
- # @type ZoneId: String
3799
- # @param Entity: 二级域名
3800
- # @type Entity: String
5920
+ # DescribeWebProtectionData请求参数结构体
5921
+ class DescribeWebProtectionDataRequest < TencentCloud::Common::AbstractModel
5922
+ # @param StartTime: 开始时间
5923
+ # @type StartTime: String
5924
+ # @param EndTime: 结束时间
5925
+ # @type EndTime: String
5926
+ # @param MetricNames: 统计指标列表
5927
+ # @type MetricNames: Array
5928
+ # @param ZoneIds: 站点id列表
5929
+ # @type ZoneIds: Array
5930
+ # @param Domains: 子域名列表
5931
+ # @type Domains: Array
5932
+ # @param ProtocolType: 协议类型
5933
+ # @type ProtocolType: String
5934
+ # @param AttackType: "webshell" : Webshell检测防护
5935
+ # "oa" : 常见OA漏洞防护
5936
+ # "xss" : XSS跨站脚本攻击防护
5937
+ # "xxe" : XXE攻击防护
5938
+ # "webscan" : 扫描器攻击漏洞防护
5939
+ # "cms" : 常见CMS漏洞防护
5940
+ # "upload" : 恶意文件上传攻击防护
5941
+ # "sql" : SQL注入攻击防护
5942
+ # "cmd_inject": 命令/代码注入攻击防护
5943
+ # "osc" : 开源组件漏洞防护
5944
+ # "file_read" : 任意文件读取
5945
+ # "ldap" : LDAP注入攻击防护
5946
+ # "other" : 其它漏洞防护
5947
+
5948
+ # "all":"所有"
5949
+ # @type AttackType: String
5950
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5951
+ # @type Interval: String
3801
5952
 
3802
- attr_accessor :ZoneId, :Entity
5953
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
3803
5954
 
3804
- def initialize(zoneid=nil, entity=nil)
3805
- @ZoneId = zoneid
3806
- @Entity = entity
5955
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
5956
+ @StartTime = starttime
5957
+ @EndTime = endtime
5958
+ @MetricNames = metricnames
5959
+ @ZoneIds = zoneids
5960
+ @Domains = domains
5961
+ @ProtocolType = protocoltype
5962
+ @AttackType = attacktype
5963
+ @Interval = interval
3807
5964
  end
3808
5965
 
3809
5966
  def deserialize(params)
3810
- @ZoneId = params['ZoneId']
3811
- @Entity = params['Entity']
5967
+ @StartTime = params['StartTime']
5968
+ @EndTime = params['EndTime']
5969
+ @MetricNames = params['MetricNames']
5970
+ @ZoneIds = params['ZoneIds']
5971
+ @Domains = params['Domains']
5972
+ @ProtocolType = params['ProtocolType']
5973
+ @AttackType = params['AttackType']
5974
+ @Interval = params['Interval']
3812
5975
  end
3813
5976
  end
3814
5977
 
3815
- # DescribeSecurityPolicy返回参数结构体
3816
- class DescribeSecurityPolicyResponse < TencentCloud::Common::AbstractModel
3817
- # @param AppId: 用户id
3818
- # @type AppId: Integer
3819
- # @param ZoneId: 一级域名
3820
- # @type ZoneId: String
3821
- # @param Entity: 二级域名
3822
- # @type Entity: String
3823
- # @param Config: 安全配置
5978
+ # DescribeWebProtectionData返回参数结构体
5979
+ class DescribeWebProtectionDataResponse < TencentCloud::Common::AbstractModel
5980
+ # @param Data: 数据详情
3824
5981
  # 注意:此字段可能返回 null,表示取不到有效值。
3825
- # @type Config: :class:`Tencentcloud::Teo.v20220106.models.SecurityConfig`
5982
+ # @type Data: Array
5983
+ # @param Status: 状态,1:失败,0:成功
5984
+ # @type Status: Integer
5985
+ # @param Msg: 消息
5986
+ # @type Msg: String
5987
+ # @param Interval: 查询时间粒度,可选{min,5min,hour,day}
5988
+ # @type Interval: String
3826
5989
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3827
5990
  # @type RequestId: String
3828
5991
 
3829
- attr_accessor :AppId, :ZoneId, :Entity, :Config, :RequestId
5992
+ attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
3830
5993
 
3831
- def initialize(appid=nil, zoneid=nil, entity=nil, config=nil, requestid=nil)
3832
- @AppId = appid
3833
- @ZoneId = zoneid
3834
- @Entity = entity
3835
- @Config = config
5994
+ def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
5995
+ @Data = data
5996
+ @Status = status
5997
+ @Msg = msg
5998
+ @Interval = interval
3836
5999
  @RequestId = requestid
3837
6000
  end
3838
6001
 
3839
6002
  def deserialize(params)
3840
- @AppId = params['AppId']
3841
- @ZoneId = params['ZoneId']
3842
- @Entity = params['Entity']
3843
- unless params['Config'].nil?
3844
- @Config = SecurityConfig.new
3845
- @Config.deserialize(params['Config'])
6003
+ unless params['Data'].nil?
6004
+ @Data = []
6005
+ params['Data'].each do |i|
6006
+ secentry_tmp = SecEntry.new
6007
+ secentry_tmp.deserialize(i)
6008
+ @Data << secentry_tmp
6009
+ end
3846
6010
  end
6011
+ @Status = params['Status']
6012
+ @Msg = params['Msg']
6013
+ @Interval = params['Interval']
3847
6014
  @RequestId = params['RequestId']
3848
6015
  end
3849
6016
  end
3850
6017
 
3851
- # DescribeSecurityPortraitRules请求参数结构体
3852
- class DescribeSecurityPortraitRulesRequest < TencentCloud::Common::AbstractModel
3853
- # @param ZoneId: 一级域名
3854
- # @type ZoneId: String
3855
- # @param Entity: 子域名/应用名
3856
- # @type Entity: String
6018
+ # DescribeWebProtectionLog请求参数结构体
6019
+ class DescribeWebProtectionLogRequest < TencentCloud::Common::AbstractModel
6020
+ # @param StartTime: 起始时间
6021
+ # @type StartTime: String
6022
+ # @param EndTime: 结束时间
6023
+ # @type EndTime: String
6024
+ # @param PageSize: 每页条数
6025
+ # @type PageSize: Integer
6026
+ # @param PageNo: 当前页
6027
+ # @type PageNo: Integer
6028
+ # @param ZoneIds: 站点集合
6029
+ # @type ZoneIds: Array
6030
+ # @param Domains: 域名集合
6031
+ # @type Domains: Array
6032
+ # @param QueryCondition: 查询条件
6033
+ # @type QueryCondition: Array
3857
6034
 
3858
- attr_accessor :ZoneId, :Entity
6035
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
3859
6036
 
3860
- def initialize(zoneid=nil, entity=nil)
3861
- @ZoneId = zoneid
3862
- @Entity = entity
6037
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
6038
+ @StartTime = starttime
6039
+ @EndTime = endtime
6040
+ @PageSize = pagesize
6041
+ @PageNo = pageno
6042
+ @ZoneIds = zoneids
6043
+ @Domains = domains
6044
+ @QueryCondition = querycondition
3863
6045
  end
3864
6046
 
3865
6047
  def deserialize(params)
3866
- @ZoneId = params['ZoneId']
3867
- @Entity = params['Entity']
6048
+ @StartTime = params['StartTime']
6049
+ @EndTime = params['EndTime']
6050
+ @PageSize = params['PageSize']
6051
+ @PageNo = params['PageNo']
6052
+ @ZoneIds = params['ZoneIds']
6053
+ @Domains = params['Domains']
6054
+ unless params['QueryCondition'].nil?
6055
+ @QueryCondition = []
6056
+ params['QueryCondition'].each do |i|
6057
+ querycondition_tmp = QueryCondition.new
6058
+ querycondition_tmp.deserialize(i)
6059
+ @QueryCondition << querycondition_tmp
6060
+ end
6061
+ end
3868
6062
  end
3869
6063
  end
3870
6064
 
3871
- # DescribeSecurityPortraitRules返回参数结构体
3872
- class DescribeSecurityPortraitRulesResponse < TencentCloud::Common::AbstractModel
3873
- # @param Count: 本次返回的规则数
3874
- # @type Count: Integer
3875
- # @param Rules: Bot用户画像规则
3876
- # @type Rules: Array
3877
- # @param Total: 总规则数
3878
- # @type Total: Integer
6065
+ # DescribeWebProtectionLog返回参数结构体
6066
+ class DescribeWebProtectionLogResponse < TencentCloud::Common::AbstractModel
6067
+ # @param Data: 限速拦截Data
6068
+ # @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCLogData`
6069
+ # @param Status: 状态,1:失败,0:成功
6070
+ # @type Status: Integer
6071
+ # @param Msg: 返回信息
6072
+ # @type Msg: String
3879
6073
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3880
6074
  # @type RequestId: String
3881
6075
 
3882
- attr_accessor :Count, :Rules, :Total, :RequestId
6076
+ attr_accessor :Data, :Status, :Msg, :RequestId
3883
6077
 
3884
- def initialize(count=nil, rules=nil, total=nil, requestid=nil)
3885
- @Count = count
3886
- @Rules = rules
3887
- @Total = total
6078
+ def initialize(data=nil, status=nil, msg=nil, requestid=nil)
6079
+ @Data = data
6080
+ @Status = status
6081
+ @Msg = msg
3888
6082
  @RequestId = requestid
3889
6083
  end
3890
6084
 
3891
6085
  def deserialize(params)
3892
- @Count = params['Count']
3893
- unless params['Rules'].nil?
3894
- @Rules = []
3895
- params['Rules'].each do |i|
3896
- portraitmanagedruledetail_tmp = PortraitManagedRuleDetail.new
3897
- portraitmanagedruledetail_tmp.deserialize(i)
3898
- @Rules << portraitmanagedruledetail_tmp
3899
- end
6086
+ unless params['Data'].nil?
6087
+ @Data = CCLogData.new
6088
+ @Data.deserialize(params['Data'])
3900
6089
  end
3901
- @Total = params['Total']
6090
+ @Status = params['Status']
6091
+ @Msg = params['Msg']
3902
6092
  @RequestId = params['RequestId']
3903
6093
  end
3904
6094
  end
@@ -4624,8 +6814,32 @@ module TencentCloud
4624
6814
  end
4625
6815
 
4626
6816
  def deserialize(params)
4627
- @Reason = params['Reason']
4628
- @Targets = params['Targets']
6817
+ @Reason = params['Reason']
6818
+ @Targets = params['Targets']
6819
+ end
6820
+ end
6821
+
6822
+ # 过滤条件
6823
+ class Filter < TencentCloud::Common::AbstractModel
6824
+ # @param Key: 筛选维度
6825
+ # @type Key: String
6826
+ # @param Operator: 操作符
6827
+ # @type Operator: String
6828
+ # @param Value: 筛选维度值
6829
+ # @type Value: Array
6830
+
6831
+ attr_accessor :Key, :Operator, :Value
6832
+
6833
+ def initialize(key=nil, operator=nil, value=nil)
6834
+ @Key = key
6835
+ @Operator = operator
6836
+ @Value = value
6837
+ end
6838
+
6839
+ def deserialize(params)
6840
+ @Key = params['Key']
6841
+ @Operator = params['Operator']
6842
+ @Value = params['Value']
4629
6843
  end
4630
6844
  end
4631
6845
 
@@ -6479,6 +8693,30 @@ module TencentCloud
6479
8693
  end
6480
8694
  end
6481
8695
 
8696
+ # 查询条件
8697
+ class QueryCondition < TencentCloud::Common::AbstractModel
8698
+ # @param Key: 维度
8699
+ # @type Key: String
8700
+ # @param Operator: 操作符
8701
+ # @type Operator: String
8702
+ # @param Value: 维度值
8703
+ # @type Value: Array
8704
+
8705
+ attr_accessor :Key, :Operator, :Value
8706
+
8707
+ def initialize(key=nil, operator=nil, value=nil)
8708
+ @Key = key
8709
+ @Operator = operator
8710
+ @Value = value
8711
+ end
8712
+
8713
+ def deserialize(params)
8714
+ @Key = params['Key']
8715
+ @Operator = params['Operator']
8716
+ @Value = params['Value']
8717
+ end
8718
+ end
8719
+
6482
8720
  # CacheKey中包含请求参数
6483
8721
  class QueryString < TencentCloud::Common::AbstractModel
6484
8722
  # @param Switch: on | off CacheKey是否由QueryString组成
@@ -6773,6 +9011,79 @@ module TencentCloud
6773
9011
  end
6774
9012
  end
6775
9013
 
9014
+ # 安全数据Entry返回值
9015
+ class SecEntry < TencentCloud::Common::AbstractModel
9016
+ # @param Key: Entry的Key
9017
+ # 注意:此字段可能返回 null,表示取不到有效值。
9018
+ # @type Key: String
9019
+ # @param Value: Entry的Value
9020
+ # 注意:此字段可能返回 null,表示取不到有效值。
9021
+ # @type Value: Array
9022
+
9023
+ attr_accessor :Key, :Value
9024
+
9025
+ def initialize(key=nil, value=nil)
9026
+ @Key = key
9027
+ @Value = value
9028
+ end
9029
+
9030
+ def deserialize(params)
9031
+ @Key = params['Key']
9032
+ unless params['Value'].nil?
9033
+ @Value = []
9034
+ params['Value'].each do |i|
9035
+ secentryvalue_tmp = SecEntryValue.new
9036
+ secentryvalue_tmp.deserialize(i)
9037
+ @Value << secentryvalue_tmp
9038
+ end
9039
+ end
9040
+ end
9041
+ end
9042
+
9043
+ # 安全数据Entry对应的值
9044
+ class SecEntryValue < TencentCloud::Common::AbstractModel
9045
+ # @param Metric: 指标名称
9046
+ # 注意:此字段可能返回 null,表示取不到有效值。
9047
+ # @type Metric: String
9048
+ # @param Detail: 指标数据明细
9049
+ # 注意:此字段可能返回 null,表示取不到有效值。
9050
+ # @type Detail: Array
9051
+ # @param Max: 最大值
9052
+ # 注意:此字段可能返回 null,表示取不到有效值。
9053
+ # @type Max: Integer
9054
+ # @param Avg: 平均值
9055
+ # 注意:此字段可能返回 null,表示取不到有效值。
9056
+ # @type Avg: Float
9057
+ # @param Sum: 数据总和
9058
+ # 注意:此字段可能返回 null,表示取不到有效值。
9059
+ # @type Sum: Float
9060
+
9061
+ attr_accessor :Metric, :Detail, :Max, :Avg, :Sum
9062
+
9063
+ def initialize(metric=nil, detail=nil, max=nil, avg=nil, sum=nil)
9064
+ @Metric = metric
9065
+ @Detail = detail
9066
+ @Max = max
9067
+ @Avg = avg
9068
+ @Sum = sum
9069
+ end
9070
+
9071
+ def deserialize(params)
9072
+ @Metric = params['Metric']
9073
+ unless params['Detail'].nil?
9074
+ @Detail = []
9075
+ params['Detail'].each do |i|
9076
+ timingdataitem_tmp = TimingDataItem.new
9077
+ timingdataitem_tmp.deserialize(i)
9078
+ @Detail << timingdataitem_tmp
9079
+ end
9080
+ end
9081
+ @Max = params['Max']
9082
+ @Avg = params['Avg']
9083
+ @Sum = params['Sum']
9084
+ end
9085
+ end
9086
+
6776
9087
  # 安全配置
6777
9088
  class SecurityConfig < TencentCloud::Common::AbstractModel
6778
9089
  # @param WafConfig: 门神配置
@@ -7039,6 +9350,199 @@ module TencentCloud
7039
9350
  end
7040
9351
  end
7041
9352
 
9353
+ # 统计曲线数据项
9354
+ class TimingDataItem < TencentCloud::Common::AbstractModel
9355
+ # @param Timestamp: 秒级时间戳
9356
+ # 注意:此字段可能返回 null,表示取不到有效值。
9357
+ # @type Timestamp: Integer
9358
+ # @param Value: 数值
9359
+ # 注意:此字段可能返回 null,表示取不到有效值。
9360
+ # @type Value: Integer
9361
+
9362
+ attr_accessor :Timestamp, :Value
9363
+
9364
+ def initialize(timestamp=nil, value=nil)
9365
+ @Timestamp = timestamp
9366
+ @Value = value
9367
+ end
9368
+
9369
+ def deserialize(params)
9370
+ @Timestamp = params['Timestamp']
9371
+ @Value = params['Value']
9372
+ end
9373
+ end
9374
+
9375
+ # L7数据分析时序数据
9376
+ class TimingDataRecord < TencentCloud::Common::AbstractModel
9377
+ # @param TypeKey: 查询维度值
9378
+ # @type TypeKey: String
9379
+ # @param TypeValue: 详细时序数据
9380
+ # 注意:此字段可能返回 null,表示取不到有效值。
9381
+ # @type TypeValue: Array
9382
+
9383
+ attr_accessor :TypeKey, :TypeValue
9384
+
9385
+ def initialize(typekey=nil, typevalue=nil)
9386
+ @TypeKey = typekey
9387
+ @TypeValue = typevalue
9388
+ end
9389
+
9390
+ def deserialize(params)
9391
+ @TypeKey = params['TypeKey']
9392
+ unless params['TypeValue'].nil?
9393
+ @TypeValue = []
9394
+ params['TypeValue'].each do |i|
9395
+ timingtypevalue_tmp = TimingTypeValue.new
9396
+ timingtypevalue_tmp.deserialize(i)
9397
+ @TypeValue << timingtypevalue_tmp
9398
+ end
9399
+ end
9400
+ end
9401
+ end
9402
+
9403
+ # 时序类型详细数据
9404
+ class TimingTypeValue < TencentCloud::Common::AbstractModel
9405
+ # @param Sum: 数据和
9406
+ # 注意:此字段可能返回 null,表示取不到有效值。
9407
+ # @type Sum: Integer
9408
+ # @param Max: 最大
9409
+ # 注意:此字段可能返回 null,表示取不到有效值。
9410
+ # @type Max: Integer
9411
+ # @param Avg: 平均
9412
+ # 注意:此字段可能返回 null,表示取不到有效值。
9413
+ # @type Avg: Integer
9414
+ # @param MetricName: 指标名
9415
+ # @type MetricName: String
9416
+ # @param DetailData: 废弃字段,即将下线,请使用Detail字段
9417
+ # 注意:此字段可能返回 null,表示取不到有效值。
9418
+ # @type DetailData: Array
9419
+ # @param Detail: 详细数据
9420
+ # 注意:此字段可能返回 null,表示取不到有效值。
9421
+ # @type Detail: Array
9422
+
9423
+ attr_accessor :Sum, :Max, :Avg, :MetricName, :DetailData, :Detail
9424
+
9425
+ def initialize(sum=nil, max=nil, avg=nil, metricname=nil, detaildata=nil, detail=nil)
9426
+ @Sum = sum
9427
+ @Max = max
9428
+ @Avg = avg
9429
+ @MetricName = metricname
9430
+ @DetailData = detaildata
9431
+ @Detail = detail
9432
+ end
9433
+
9434
+ def deserialize(params)
9435
+ @Sum = params['Sum']
9436
+ @Max = params['Max']
9437
+ @Avg = params['Avg']
9438
+ @MetricName = params['MetricName']
9439
+ @DetailData = params['DetailData']
9440
+ unless params['Detail'].nil?
9441
+ @Detail = []
9442
+ params['Detail'].each do |i|
9443
+ timingdataitem_tmp = TimingDataItem.new
9444
+ timingdataitem_tmp.deserialize(i)
9445
+ @Detail << timingdataitem_tmp
9446
+ end
9447
+ end
9448
+ end
9449
+ end
9450
+
9451
+ # 七层数据分析类top数据
9452
+ class TopDataRecord < TencentCloud::Common::AbstractModel
9453
+ # @param TypeKey: 查询维度值
9454
+ # @type TypeKey: String
9455
+ # @param DetailData: top数据排行
9456
+ # 注意:此字段可能返回 null,表示取不到有效值。
9457
+ # @type DetailData: Array
9458
+
9459
+ attr_accessor :TypeKey, :DetailData
9460
+
9461
+ def initialize(typekey=nil, detaildata=nil)
9462
+ @TypeKey = typekey
9463
+ @DetailData = detaildata
9464
+ end
9465
+
9466
+ def deserialize(params)
9467
+ @TypeKey = params['TypeKey']
9468
+ unless params['DetailData'].nil?
9469
+ @DetailData = []
9470
+ params['DetailData'].each do |i|
9471
+ topdetaildata_tmp = TopDetailData.new
9472
+ topdetaildata_tmp.deserialize(i)
9473
+ @DetailData << topdetaildata_tmp
9474
+ end
9475
+ end
9476
+ end
9477
+ end
9478
+
9479
+ # 用于对top数据排序的结构体
9480
+ class TopDetailData < TencentCloud::Common::AbstractModel
9481
+ # @param Key: 字段名
9482
+ # @type Key: String
9483
+ # @param Value: 字段值
9484
+ # @type Value: Integer
9485
+
9486
+ attr_accessor :Key, :Value
9487
+
9488
+ def initialize(key=nil, value=nil)
9489
+ @Key = key
9490
+ @Value = value
9491
+ end
9492
+
9493
+ def deserialize(params)
9494
+ @Key = params['Key']
9495
+ @Value = params['Value']
9496
+ end
9497
+ end
9498
+
9499
+ # TopN entry
9500
+ class TopNEntry < TencentCloud::Common::AbstractModel
9501
+ # @param Key: Entry key
9502
+ # @type Key: String
9503
+ # @param Value: TopN数据
9504
+ # @type Value: Array
9505
+
9506
+ attr_accessor :Key, :Value
9507
+
9508
+ def initialize(key=nil, value=nil)
9509
+ @Key = key
9510
+ @Value = value
9511
+ end
9512
+
9513
+ def deserialize(params)
9514
+ @Key = params['Key']
9515
+ unless params['Value'].nil?
9516
+ @Value = []
9517
+ params['Value'].each do |i|
9518
+ topnentryvalue_tmp = TopNEntryValue.new
9519
+ topnentryvalue_tmp.deserialize(i)
9520
+ @Value << topnentryvalue_tmp
9521
+ end
9522
+ end
9523
+ end
9524
+ end
9525
+
9526
+ # TopN数据Entry
9527
+ class TopNEntryValue < TencentCloud::Common::AbstractModel
9528
+ # @param Name: Entry的name
9529
+ # @type Name: String
9530
+ # @param Count: 数量
9531
+ # @type Count: Integer
9532
+
9533
+ attr_accessor :Name, :Count
9534
+
9535
+ def initialize(name=nil, count=nil)
9536
+ @Name = name
9537
+ @Count = count
9538
+ end
9539
+
9540
+ def deserialize(params)
9541
+ @Name = params['Name']
9542
+ @Count = params['Count']
9543
+ end
9544
+ end
9545
+
7042
9546
  # Http2回源配置
7043
9547
  class UpstreamHttp2 < TencentCloud::Common::AbstractModel
7044
9548
  # @param Switch: http2回源配置开关
@@ -7163,6 +9667,208 @@ module TencentCloud
7163
9667
  end
7164
9668
  end
7165
9669
 
9670
+ # Web拦截事件
9671
+ class WebAttackEvent < TencentCloud::Common::AbstractModel
9672
+ # @param ClientIp: 客户端ip
9673
+ # 注意:此字段可能返回 null,表示取不到有效值。
9674
+ # @type ClientIp: String
9675
+ # @param AttackUrl: 攻击URL
9676
+ # 注意:此字段可能返回 null,表示取不到有效值。
9677
+ # @type AttackUrl: String
9678
+ # @param AttackTime: 攻击时间 单位为s
9679
+ # 注意:此字段可能返回 null,表示取不到有效值。
9680
+ # @type AttackTime: Integer
9681
+
9682
+ attr_accessor :ClientIp, :AttackUrl, :AttackTime
9683
+
9684
+ def initialize(clientip=nil, attackurl=nil, attacktime=nil)
9685
+ @ClientIp = clientip
9686
+ @AttackUrl = attackurl
9687
+ @AttackTime = attacktime
9688
+ end
9689
+
9690
+ def deserialize(params)
9691
+ @ClientIp = params['ClientIp']
9692
+ @AttackUrl = params['AttackUrl']
9693
+ @AttackTime = params['AttackTime']
9694
+ end
9695
+ end
9696
+
9697
+ # web事件数据
9698
+ class WebEventData < TencentCloud::Common::AbstractModel
9699
+ # @param List: 攻击事件数据集合
9700
+ # 注意:此字段可能返回 null,表示取不到有效值。
9701
+ # @type List: Array
9702
+ # @param PageNo: 当前页
9703
+ # 注意:此字段可能返回 null,表示取不到有效值。
9704
+ # @type PageNo: Integer
9705
+ # @param PageSize: 每页展示条数
9706
+ # 注意:此字段可能返回 null,表示取不到有效值。
9707
+ # @type PageSize: Integer
9708
+ # @param Pages: 总页数
9709
+ # 注意:此字段可能返回 null,表示取不到有效值。
9710
+ # @type Pages: Integer
9711
+ # @param TotalSize: 总条数
9712
+ # 注意:此字段可能返回 null,表示取不到有效值。
9713
+ # @type TotalSize: Integer
9714
+
9715
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
9716
+
9717
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
9718
+ @List = list
9719
+ @PageNo = pageno
9720
+ @PageSize = pagesize
9721
+ @Pages = pages
9722
+ @TotalSize = totalsize
9723
+ end
9724
+
9725
+ def deserialize(params)
9726
+ unless params['List'].nil?
9727
+ @List = []
9728
+ params['List'].each do |i|
9729
+ webattackevent_tmp = WebAttackEvent.new
9730
+ webattackevent_tmp.deserialize(i)
9731
+ @List << webattackevent_tmp
9732
+ end
9733
+ end
9734
+ @PageNo = params['PageNo']
9735
+ @PageSize = params['PageSize']
9736
+ @Pages = params['Pages']
9737
+ @TotalSize = params['TotalSize']
9738
+ end
9739
+ end
9740
+
9741
+ # web攻击日志Data
9742
+ class WebLogData < TencentCloud::Common::AbstractModel
9743
+ # @param List: 数据
9744
+ # 注意:此字段可能返回 null,表示取不到有效值。
9745
+ # @type List: Array
9746
+ # @param PageNo: 当前页
9747
+ # 注意:此字段可能返回 null,表示取不到有效值。
9748
+ # @type PageNo: Integer
9749
+ # @param PageSize: 每页展示条数
9750
+ # 注意:此字段可能返回 null,表示取不到有效值。
9751
+ # @type PageSize: Integer
9752
+ # @param Pages: 总页数
9753
+ # 注意:此字段可能返回 null,表示取不到有效值。
9754
+ # @type Pages: Integer
9755
+ # @param TotalSize: 总条数
9756
+ # 注意:此字段可能返回 null,表示取不到有效值。
9757
+ # @type TotalSize: Integer
9758
+
9759
+ attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
9760
+
9761
+ def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
9762
+ @List = list
9763
+ @PageNo = pageno
9764
+ @PageSize = pagesize
9765
+ @Pages = pages
9766
+ @TotalSize = totalsize
9767
+ end
9768
+
9769
+ def deserialize(params)
9770
+ unless params['List'].nil?
9771
+ @List = []
9772
+ params['List'].each do |i|
9773
+ weblogs_tmp = WebLogs.new
9774
+ weblogs_tmp.deserialize(i)
9775
+ @List << weblogs_tmp
9776
+ end
9777
+ end
9778
+ @PageNo = params['PageNo']
9779
+ @PageSize = params['PageSize']
9780
+ @Pages = params['Pages']
9781
+ @TotalSize = params['TotalSize']
9782
+ end
9783
+ end
9784
+
9785
+ # web攻击日志
9786
+ class WebLogs < TencentCloud::Common::AbstractModel
9787
+ # @param AttackContent: 攻击内容
9788
+ # 注意:此字段可能返回 null,表示取不到有效值。
9789
+ # @type AttackContent: String
9790
+ # @param AttackIp: 攻击IP
9791
+ # 注意:此字段可能返回 null,表示取不到有效值。
9792
+ # @type AttackIp: String
9793
+ # @param AttackType: 攻击类型
9794
+ # 注意:此字段可能返回 null,表示取不到有效值。
9795
+ # @type AttackType: String
9796
+ # @param Domain: 域名
9797
+ # 注意:此字段可能返回 null,表示取不到有效值。
9798
+ # @type Domain: String
9799
+ # @param Msuuid: uuid
9800
+ # 注意:此字段可能返回 null,表示取不到有效值。
9801
+ # @type Msuuid: String
9802
+ # @param RequestMethod: 请求方法
9803
+ # 注意:此字段可能返回 null,表示取不到有效值。
9804
+ # @type RequestMethod: String
9805
+ # @param RequestUri: 请求URI
9806
+ # 注意:此字段可能返回 null,表示取不到有效值。
9807
+ # @type RequestUri: String
9808
+ # @param RiskLevel: 风险等级
9809
+ # 注意:此字段可能返回 null,表示取不到有效值。
9810
+ # @type RiskLevel: String
9811
+ # @param RuleId: 规则ID
9812
+ # 注意:此字段可能返回 null,表示取不到有效值。
9813
+ # @type RuleId: Integer
9814
+ # @param SipCountryCode: IP所在国家
9815
+ # 注意:此字段可能返回 null,表示取不到有效值。
9816
+ # @type SipCountryCode: String
9817
+ # @param EventId: 事件id
9818
+ # 注意:此字段可能返回 null,表示取不到有效值。
9819
+ # @type EventId: String
9820
+ # @param DisposalMethod: 处置方式
9821
+ # 注意:此字段可能返回 null,表示取不到有效值。
9822
+ # @type DisposalMethod: String
9823
+ # @param HttpLog: http_log
9824
+ # 注意:此字段可能返回 null,表示取不到有效值。
9825
+ # @type HttpLog: String
9826
+ # @param Ua: user agent
9827
+ # 注意:此字段可能返回 null,表示取不到有效值。
9828
+ # @type Ua: String
9829
+ # @param AttackTime: 攻击时间,为保持统一,原参数time更名为AttackTime
9830
+ # 注意:此字段可能返回 null,表示取不到有效值。
9831
+ # @type AttackTime: Integer
9832
+
9833
+ attr_accessor :AttackContent, :AttackIp, :AttackType, :Domain, :Msuuid, :RequestMethod, :RequestUri, :RiskLevel, :RuleId, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :Ua, :AttackTime
9834
+
9835
+ 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)
9836
+ @AttackContent = attackcontent
9837
+ @AttackIp = attackip
9838
+ @AttackType = attacktype
9839
+ @Domain = domain
9840
+ @Msuuid = msuuid
9841
+ @RequestMethod = requestmethod
9842
+ @RequestUri = requesturi
9843
+ @RiskLevel = risklevel
9844
+ @RuleId = ruleid
9845
+ @SipCountryCode = sipcountrycode
9846
+ @EventId = eventid
9847
+ @DisposalMethod = disposalmethod
9848
+ @HttpLog = httplog
9849
+ @Ua = ua
9850
+ @AttackTime = attacktime
9851
+ end
9852
+
9853
+ def deserialize(params)
9854
+ @AttackContent = params['AttackContent']
9855
+ @AttackIp = params['AttackIp']
9856
+ @AttackType = params['AttackType']
9857
+ @Domain = params['Domain']
9858
+ @Msuuid = params['Msuuid']
9859
+ @RequestMethod = params['RequestMethod']
9860
+ @RequestUri = params['RequestUri']
9861
+ @RiskLevel = params['RiskLevel']
9862
+ @RuleId = params['RuleId']
9863
+ @SipCountryCode = params['SipCountryCode']
9864
+ @EventId = params['EventId']
9865
+ @DisposalMethod = params['DisposalMethod']
9866
+ @HttpLog = params['HttpLog']
9867
+ @Ua = params['Ua']
9868
+ @AttackTime = params['AttackTime']
9869
+ end
9870
+ end
9871
+
7166
9872
  # WebSocket配置
7167
9873
  class WebSocket < TencentCloud::Common::AbstractModel
7168
9874
  # @param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.