tencentcloud-sdk-teo 1.0.332 → 1.0.335

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