tencentcloud-sdk-teo 1.0.333 → 1.0.334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220106/client.rb +432 -0
- data/lib/v20220106/models.rb +2788 -246
- metadata +2 -2
data/lib/v20220106/models.rb
CHANGED
@@ -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
|
1889
|
-
# @param
|
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
|
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 :
|
2239
|
+
attr_accessor :PolicyId, :AttackType, :AttackStatus, :AttackMaxBandWidth, :AttackPacketMaxRate, :AttackStartTime, :AttackEndTime, :EventId, :ZoneId
|
1896
2240
|
|
1897
|
-
def initialize(
|
1898
|
-
@
|
1899
|
-
@
|
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
|
-
@
|
1904
|
-
@
|
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
|
-
#
|
1909
|
-
class
|
1910
|
-
# @param
|
1911
|
-
#
|
1912
|
-
# @
|
1913
|
-
# @
|
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 :
|
2284
|
+
attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
|
1916
2285
|
|
1917
|
-
def initialize(
|
1918
|
-
@
|
1919
|
-
@
|
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
|
-
|
1924
|
-
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
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
|
1937
|
-
# @param
|
1938
|
-
# @type
|
1939
|
-
# @param
|
1940
|
-
# @type
|
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 :
|
2329
|
+
attr_accessor :AttackStatus, :AttackType, :EndTime, :StartTime, :MaxBandWidth, :PacketMaxRate, :EventId, :PolicyId
|
1943
2330
|
|
1944
|
-
def initialize(
|
1945
|
-
@
|
1946
|
-
@
|
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
|
-
@
|
1951
|
-
|
1952
|
-
|
1953
|
-
|
1954
|
-
|
1955
|
-
|
1956
|
-
|
1957
|
-
|
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
|
-
#
|
1963
|
-
class
|
1964
|
-
# @param
|
1965
|
-
#
|
1966
|
-
# @
|
1967
|
-
# @
|
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 :
|
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
|
-
#
|
2686
|
-
class
|
2687
|
-
# @param
|
2688
|
-
# @type
|
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 :
|
3395
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
|
2691
3396
|
|
2692
|
-
def initialize(
|
2693
|
-
@
|
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
|
-
@
|
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
|
-
#
|
2702
|
-
class
|
2703
|
-
# @param
|
2704
|
-
# @type TotalCount: Integer
|
2705
|
-
# @param CertInfo: 默认证书列表
|
3422
|
+
# DescribeDDosAttackData返回参数结构体
|
3423
|
+
class DescribeDDosAttackDataResponse < TencentCloud::Common::AbstractModel
|
3424
|
+
# @param Data: DDos攻击数据
|
2706
3425
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2707
|
-
# @type
|
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 :
|
3436
|
+
attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
|
2712
3437
|
|
2713
|
-
def initialize(
|
2714
|
-
@
|
2715
|
-
@
|
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
|
-
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
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
|
-
@
|
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
|
-
#
|
3437
|
-
class
|
3438
|
-
# @param
|
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
|
3445
|
-
# @type
|
3446
|
-
# @param
|
3447
|
-
# @type
|
3448
|
-
# @param
|
3449
|
-
#
|
3450
|
-
# @
|
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
|
3456
|
-
# @type
|
4574
|
+
# @param Protocol: 协议类型, 选填{http,http2,https,all}
|
4575
|
+
# @type Protocol: String
|
3457
4576
|
|
3458
|
-
attr_accessor :
|
4577
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
|
3459
4578
|
|
3460
|
-
def initialize(
|
3461
|
-
@
|
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,1070 @@ 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
|
+
# DescribeTopL7AnalysisData请求参数结构体
|
5269
|
+
class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
|
5270
|
+
# @param StartTime: RFC3339标准,客户端时间
|
5271
|
+
# @type StartTime: String
|
5272
|
+
# @param EndTime: RFC3339标准,客户端时间
|
5273
|
+
# @type EndTime: String
|
5274
|
+
# @param MetricName: 时序类访问流量指标
|
5275
|
+
# @type MetricName: String
|
5276
|
+
# @param Limit: topN,填0时返回全量数据
|
5277
|
+
# @type Limit: Integer
|
5278
|
+
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
5279
|
+
# @type Interval: String
|
5280
|
+
# @param ZoneIds: ZoneId数组
|
5281
|
+
# @type ZoneIds: Array
|
5282
|
+
# @param Filters: 筛选条件
|
5283
|
+
# @type Filters: Array
|
5284
|
+
|
5285
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
|
5286
|
+
|
5287
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
|
5288
|
+
@StartTime = starttime
|
5289
|
+
@EndTime = endtime
|
5290
|
+
@MetricName = metricname
|
5291
|
+
@Limit = limit
|
5292
|
+
@Interval = interval
|
5293
|
+
@ZoneIds = zoneids
|
5294
|
+
@Filters = filters
|
5295
|
+
end
|
5296
|
+
|
5297
|
+
def deserialize(params)
|
5298
|
+
@StartTime = params['StartTime']
|
5299
|
+
@EndTime = params['EndTime']
|
5300
|
+
@MetricName = params['MetricName']
|
5301
|
+
@Limit = params['Limit']
|
5302
|
+
@Interval = params['Interval']
|
5303
|
+
@ZoneIds = params['ZoneIds']
|
5304
|
+
unless params['Filters'].nil?
|
5305
|
+
@Filters = []
|
5306
|
+
params['Filters'].each do |i|
|
5307
|
+
filter_tmp = Filter.new
|
5308
|
+
filter_tmp.deserialize(i)
|
5309
|
+
@Filters << filter_tmp
|
5310
|
+
end
|
5311
|
+
end
|
5312
|
+
end
|
5313
|
+
end
|
5314
|
+
|
5315
|
+
# DescribeTopL7AnalysisData返回参数结构体
|
5316
|
+
class DescribeTopL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
|
5317
|
+
# @param Data: top详细数据
|
5318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5319
|
+
# @type Data: Array
|
5320
|
+
# @param Type: 查询维度
|
5321
|
+
# @type Type: String
|
5322
|
+
# @param MetricName: 查询指标
|
5323
|
+
# @type MetricName: String
|
5324
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5325
|
+
# @type RequestId: String
|
5326
|
+
|
5327
|
+
attr_accessor :Data, :Type, :MetricName, :RequestId
|
5328
|
+
|
5329
|
+
def initialize(data=nil, type=nil, metricname=nil, requestid=nil)
|
5330
|
+
@Data = data
|
5331
|
+
@Type = type
|
5332
|
+
@MetricName = metricname
|
5333
|
+
@RequestId = requestid
|
5334
|
+
end
|
5335
|
+
|
5336
|
+
def deserialize(params)
|
5337
|
+
unless params['Data'].nil?
|
5338
|
+
@Data = []
|
5339
|
+
params['Data'].each do |i|
|
5340
|
+
topdatarecord_tmp = TopDataRecord.new
|
5341
|
+
topdatarecord_tmp.deserialize(i)
|
5342
|
+
@Data << topdatarecord_tmp
|
5343
|
+
end
|
5344
|
+
end
|
5345
|
+
@Type = params['Type']
|
5346
|
+
@MetricName = params['MetricName']
|
5347
|
+
@RequestId = params['RequestId']
|
5348
|
+
end
|
5349
|
+
end
|
5350
|
+
|
5351
|
+
# DescribeWebManagedRulesAttackEvents请求参数结构体
|
5352
|
+
class DescribeWebManagedRulesAttackEventsRequest < TencentCloud::Common::AbstractModel
|
5353
|
+
# @param StartTime: 开始时间
|
5354
|
+
# @type StartTime: String
|
5355
|
+
# @param EndTime: 结束时间
|
5356
|
+
# @type EndTime: String
|
5357
|
+
# @param PageSize: 条数
|
5358
|
+
# @type PageSize: Integer
|
5359
|
+
# @param PageNo: 当前页
|
5360
|
+
# @type PageNo: Integer
|
5361
|
+
# @param PolicyIds: ddos策略组id 集合
|
5362
|
+
# @type PolicyIds: Array
|
5363
|
+
# @param ZoneIds: 站点集合
|
5364
|
+
# @type ZoneIds: Array
|
5365
|
+
# @param Domains: 协议类型,{tcp,udp,all}
|
5366
|
+
# @type Domains: Array
|
5367
|
+
# @param IsShowDetail: 选填{Y、N},默认为Y;Y:展示,N:不展示
|
5368
|
+
# @type IsShowDetail: String
|
5369
|
+
|
5370
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :Domains, :IsShowDetail
|
5371
|
+
|
5372
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, domains=nil, isshowdetail=nil)
|
5373
|
+
@StartTime = starttime
|
5374
|
+
@EndTime = endtime
|
5375
|
+
@PageSize = pagesize
|
5376
|
+
@PageNo = pageno
|
5377
|
+
@PolicyIds = policyids
|
5378
|
+
@ZoneIds = zoneids
|
5379
|
+
@Domains = domains
|
5380
|
+
@IsShowDetail = isshowdetail
|
5381
|
+
end
|
5382
|
+
|
5383
|
+
def deserialize(params)
|
5384
|
+
@StartTime = params['StartTime']
|
5385
|
+
@EndTime = params['EndTime']
|
5386
|
+
@PageSize = params['PageSize']
|
5387
|
+
@PageNo = params['PageNo']
|
5388
|
+
@PolicyIds = params['PolicyIds']
|
5389
|
+
@ZoneIds = params['ZoneIds']
|
5390
|
+
@Domains = params['Domains']
|
5391
|
+
@IsShowDetail = params['IsShowDetail']
|
5392
|
+
end
|
5393
|
+
end
|
5394
|
+
|
5395
|
+
# DescribeWebManagedRulesAttackEvents返回参数结构体
|
5396
|
+
class DescribeWebManagedRulesAttackEventsResponse < TencentCloud::Common::AbstractModel
|
5397
|
+
# @param Data: Web攻击事件数据
|
5398
|
+
# @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebEventData`
|
5399
|
+
# @param Status: 状态,1:失败,0:成功
|
5400
|
+
# @type Status: Integer
|
5401
|
+
# @param Msg: 返回数据
|
5402
|
+
# @type Msg: String
|
5403
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5404
|
+
# @type RequestId: String
|
5405
|
+
|
5406
|
+
attr_accessor :Data, :Status, :Msg, :RequestId
|
5407
|
+
|
5408
|
+
def initialize(data=nil, status=nil, msg=nil, requestid=nil)
|
5409
|
+
@Data = data
|
5410
|
+
@Status = status
|
5411
|
+
@Msg = msg
|
5412
|
+
@RequestId = requestid
|
5413
|
+
end
|
5414
|
+
|
5415
|
+
def deserialize(params)
|
5416
|
+
unless params['Data'].nil?
|
5417
|
+
@Data = WebEventData.new
|
5418
|
+
@Data.deserialize(params['Data'])
|
5419
|
+
end
|
5420
|
+
@Status = params['Status']
|
5421
|
+
@Msg = params['Msg']
|
5422
|
+
@RequestId = params['RequestId']
|
5423
|
+
end
|
5424
|
+
end
|
5425
|
+
|
5426
|
+
# DescribeWebManagedRulesData请求参数结构体
|
5427
|
+
class DescribeWebManagedRulesDataRequest < TencentCloud::Common::AbstractModel
|
5428
|
+
# @param StartTime: 开始时间
|
5429
|
+
# @type StartTime: String
|
5430
|
+
# @param EndTime: 结束时间
|
5431
|
+
# @type EndTime: String
|
5432
|
+
# @param MetricNames: 统计指标列表
|
5433
|
+
# @type MetricNames: Array
|
5434
|
+
# @param ZoneIds: 站点id列表
|
5435
|
+
# @type ZoneIds: Array
|
5436
|
+
# @param Domains: 子域名列表
|
5437
|
+
# @type Domains: Array
|
5438
|
+
# @param ProtocolType: 协议类型
|
5439
|
+
# @type ProtocolType: String
|
5440
|
+
# @param AttackType: "webshell" : Webshell检测防护
|
5441
|
+
# "oa" : 常见OA漏洞防护
|
5442
|
+
# "xss" : XSS跨站脚本攻击防护
|
5443
|
+
# "xxe" : XXE攻击防护
|
5444
|
+
# "webscan" : 扫描器攻击漏洞防护
|
5445
|
+
# "cms" : 常见CMS漏洞防护
|
5446
|
+
# "upload" : 恶意文件上传攻击防护
|
5447
|
+
# "sql" : SQL注入攻击防护
|
5448
|
+
# "cmd_inject": 命令/代码注入攻击防护
|
5449
|
+
# "osc" : 开源组件漏洞防护
|
5450
|
+
# "file_read" : 任意文件读取
|
5451
|
+
# "ldap" : LDAP注入攻击防护
|
5452
|
+
# "other" : 其它漏洞防护
|
5453
|
+
|
5454
|
+
# "all":"所有"
|
5455
|
+
# @type AttackType: String
|
5456
|
+
# @param Interval: 查询时间粒度,可选{min,5min,hour,day}
|
5457
|
+
# @type Interval: String
|
5458
|
+
|
5459
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
|
5460
|
+
|
5461
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
|
5462
|
+
@StartTime = starttime
|
5463
|
+
@EndTime = endtime
|
5464
|
+
@MetricNames = metricnames
|
5465
|
+
@ZoneIds = zoneids
|
5466
|
+
@Domains = domains
|
5467
|
+
@ProtocolType = protocoltype
|
5468
|
+
@AttackType = attacktype
|
5469
|
+
@Interval = interval
|
5470
|
+
end
|
5471
|
+
|
5472
|
+
def deserialize(params)
|
5473
|
+
@StartTime = params['StartTime']
|
5474
|
+
@EndTime = params['EndTime']
|
5475
|
+
@MetricNames = params['MetricNames']
|
5476
|
+
@ZoneIds = params['ZoneIds']
|
5477
|
+
@Domains = params['Domains']
|
5478
|
+
@ProtocolType = params['ProtocolType']
|
5479
|
+
@AttackType = params['AttackType']
|
5480
|
+
@Interval = params['Interval']
|
5481
|
+
end
|
5482
|
+
end
|
5483
|
+
|
5484
|
+
# DescribeWebManagedRulesData返回参数结构体
|
5485
|
+
class DescribeWebManagedRulesDataResponse < TencentCloud::Common::AbstractModel
|
5486
|
+
# @param Data: Web攻击日志实体
|
5487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5488
|
+
# @type Data: Array
|
5489
|
+
# @param Status: 状态,1:失败,0:成功
|
5490
|
+
# @type Status: Integer
|
5491
|
+
# @param Msg: 返回消息
|
5492
|
+
# @type Msg: String
|
5493
|
+
# @param Interval: 查询时间粒度,可选{min,5min,hour,day}
|
5494
|
+
# @type Interval: String
|
5495
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5496
|
+
# @type RequestId: String
|
5497
|
+
|
5498
|
+
attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
|
5499
|
+
|
5500
|
+
def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
|
5501
|
+
@Data = data
|
5502
|
+
@Status = status
|
5503
|
+
@Msg = msg
|
5504
|
+
@Interval = interval
|
5505
|
+
@RequestId = requestid
|
5506
|
+
end
|
5507
|
+
|
5508
|
+
def deserialize(params)
|
5509
|
+
unless params['Data'].nil?
|
5510
|
+
@Data = []
|
5511
|
+
params['Data'].each do |i|
|
5512
|
+
secentry_tmp = SecEntry.new
|
5513
|
+
secentry_tmp.deserialize(i)
|
5514
|
+
@Data << secentry_tmp
|
5515
|
+
end
|
5516
|
+
end
|
5517
|
+
@Status = params['Status']
|
5518
|
+
@Msg = params['Msg']
|
5519
|
+
@Interval = params['Interval']
|
5520
|
+
@RequestId = params['RequestId']
|
5521
|
+
end
|
5522
|
+
end
|
5523
|
+
|
5524
|
+
# DescribeWebManagedRulesLog请求参数结构体
|
5525
|
+
class DescribeWebManagedRulesLogRequest < TencentCloud::Common::AbstractModel
|
5526
|
+
# @param StartTime: 起始时间
|
5527
|
+
# @type StartTime: String
|
5528
|
+
# @param EndTime: 结束时间
|
5529
|
+
# @type EndTime: String
|
5530
|
+
# @param PageSize: 每页条数
|
5531
|
+
# @type PageSize: Integer
|
5532
|
+
# @param PageNo: 当前页
|
5533
|
+
# @type PageNo: Integer
|
5534
|
+
# @param ZoneIds: 站点集合
|
5535
|
+
# @type ZoneIds: Array
|
5536
|
+
# @param Domains: 域名集合
|
5537
|
+
# @type Domains: Array
|
5538
|
+
# @param QueryCondition: 查询条件
|
5539
|
+
# @type QueryCondition: Array
|
5540
|
+
|
5541
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
5542
|
+
|
5543
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
|
5544
|
+
@StartTime = starttime
|
5545
|
+
@EndTime = endtime
|
5546
|
+
@PageSize = pagesize
|
5547
|
+
@PageNo = pageno
|
5548
|
+
@ZoneIds = zoneids
|
5549
|
+
@Domains = domains
|
5550
|
+
@QueryCondition = querycondition
|
5551
|
+
end
|
5552
|
+
|
5553
|
+
def deserialize(params)
|
5554
|
+
@StartTime = params['StartTime']
|
5555
|
+
@EndTime = params['EndTime']
|
5556
|
+
@PageSize = params['PageSize']
|
5557
|
+
@PageNo = params['PageNo']
|
5558
|
+
@ZoneIds = params['ZoneIds']
|
5559
|
+
@Domains = params['Domains']
|
5560
|
+
unless params['QueryCondition'].nil?
|
5561
|
+
@QueryCondition = []
|
5562
|
+
params['QueryCondition'].each do |i|
|
5563
|
+
querycondition_tmp = QueryCondition.new
|
5564
|
+
querycondition_tmp.deserialize(i)
|
5565
|
+
@QueryCondition << querycondition_tmp
|
5566
|
+
end
|
5567
|
+
end
|
5568
|
+
end
|
5569
|
+
end
|
5570
|
+
|
5571
|
+
# DescribeWebManagedRulesLog返回参数结构体
|
5572
|
+
class DescribeWebManagedRulesLogResponse < TencentCloud::Common::AbstractModel
|
5573
|
+
# @param Data: web攻击日志data
|
5574
|
+
# @type Data: :class:`Tencentcloud::Teo.v20220106.models.WebLogData`
|
5575
|
+
# @param Status: 状态,1:失败,0:失败
|
5576
|
+
# @type Status: Integer
|
5577
|
+
# @param Msg: 返回信息
|
5578
|
+
# @type Msg: String
|
3665
5579
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3666
5580
|
# @type RequestId: String
|
3667
5581
|
|
3668
|
-
attr_accessor :
|
5582
|
+
attr_accessor :Data, :Status, :Msg, :RequestId
|
3669
5583
|
|
3670
|
-
def initialize(
|
3671
|
-
@
|
3672
|
-
@
|
5584
|
+
def initialize(data=nil, status=nil, msg=nil, requestid=nil)
|
5585
|
+
@Data = data
|
5586
|
+
@Status = status
|
5587
|
+
@Msg = msg
|
3673
5588
|
@RequestId = requestid
|
3674
5589
|
end
|
3675
5590
|
|
3676
5591
|
def deserialize(params)
|
3677
|
-
|
3678
|
-
|
3679
|
-
@
|
3680
|
-
params['Rules'].each do |i|
|
3681
|
-
managedrule_tmp = ManagedRule.new
|
3682
|
-
managedrule_tmp.deserialize(i)
|
3683
|
-
@Rules << managedrule_tmp
|
3684
|
-
end
|
5592
|
+
unless params['Data'].nil?
|
5593
|
+
@Data = WebLogData.new
|
5594
|
+
@Data.deserialize(params['Data'])
|
3685
5595
|
end
|
5596
|
+
@Status = params['Status']
|
5597
|
+
@Msg = params['Msg']
|
3686
5598
|
@RequestId = params['RequestId']
|
3687
5599
|
end
|
3688
5600
|
end
|
3689
5601
|
|
3690
|
-
#
|
3691
|
-
class
|
3692
|
-
# @param
|
3693
|
-
# @type
|
3694
|
-
# @param
|
3695
|
-
# @type
|
3696
|
-
# @param
|
3697
|
-
# @type
|
3698
|
-
# @param
|
3699
|
-
# @type
|
5602
|
+
# DescribeWebManagedRulesTopData请求参数结构体
|
5603
|
+
class DescribeWebManagedRulesTopDataRequest < TencentCloud::Common::AbstractModel
|
5604
|
+
# @param StartTime: 开始时间
|
5605
|
+
# @type StartTime: String
|
5606
|
+
# @param EndTime: 结束时间
|
5607
|
+
# @type EndTime: String
|
5608
|
+
# @param MetricName: 过滤指标
|
5609
|
+
# @type MetricName: String
|
5610
|
+
# @param Limit: 查询前多少名,传值为0 全量
|
5611
|
+
# @type Limit: Integer
|
5612
|
+
# @param ZoneIds: 站点集合
|
5613
|
+
# @type ZoneIds: Array
|
5614
|
+
# @param PolicyIds: ddos策略组id 集合
|
5615
|
+
# @type PolicyIds: Array
|
5616
|
+
# @param Port: 端口号
|
5617
|
+
# @type Port: Integer
|
5618
|
+
# @param ProtocolType: 协议类型,tcp,udp,all
|
5619
|
+
# @type ProtocolType: String
|
5620
|
+
# @param AttackType: 攻击类型,flood,icmpFlood......,all
|
5621
|
+
# @type AttackType: String
|
5622
|
+
# @param Domains: 域名集合
|
5623
|
+
# @type Domains: Array
|
3700
5624
|
|
3701
|
-
attr_accessor :
|
5625
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains
|
3702
5626
|
|
3703
|
-
def initialize(
|
3704
|
-
@
|
3705
|
-
@
|
3706
|
-
@
|
3707
|
-
@
|
5627
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, domains=nil)
|
5628
|
+
@StartTime = starttime
|
5629
|
+
@EndTime = endtime
|
5630
|
+
@MetricName = metricname
|
5631
|
+
@Limit = limit
|
5632
|
+
@ZoneIds = zoneids
|
5633
|
+
@PolicyIds = policyids
|
5634
|
+
@Port = port
|
5635
|
+
@ProtocolType = protocoltype
|
5636
|
+
@AttackType = attacktype
|
5637
|
+
@Domains = domains
|
3708
5638
|
end
|
3709
5639
|
|
3710
5640
|
def deserialize(params)
|
3711
|
-
@
|
3712
|
-
@
|
3713
|
-
@
|
3714
|
-
@
|
5641
|
+
@StartTime = params['StartTime']
|
5642
|
+
@EndTime = params['EndTime']
|
5643
|
+
@MetricName = params['MetricName']
|
5644
|
+
@Limit = params['Limit']
|
5645
|
+
@ZoneIds = params['ZoneIds']
|
5646
|
+
@PolicyIds = params['PolicyIds']
|
5647
|
+
@Port = params['Port']
|
5648
|
+
@ProtocolType = params['ProtocolType']
|
5649
|
+
@AttackType = params['AttackType']
|
5650
|
+
@Domains = params['Domains']
|
3715
5651
|
end
|
3716
5652
|
end
|
3717
5653
|
|
3718
|
-
#
|
3719
|
-
class
|
3720
|
-
# @param
|
3721
|
-
# @type
|
3722
|
-
# @param
|
3723
|
-
# @type
|
3724
|
-
# @param
|
3725
|
-
# @type
|
5654
|
+
# DescribeWebManagedRulesTopData返回参数结构体
|
5655
|
+
class DescribeWebManagedRulesTopDataResponse < TencentCloud::Common::AbstractModel
|
5656
|
+
# @param Data: topn数据
|
5657
|
+
# @type Data: Array
|
5658
|
+
# @param Status: 状态,1:失败,0:成功
|
5659
|
+
# @type Status: Integer
|
5660
|
+
# @param Msg: 返回消息
|
5661
|
+
# @type Msg: String
|
3726
5662
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3727
5663
|
# @type RequestId: String
|
3728
5664
|
|
3729
|
-
attr_accessor :
|
5665
|
+
attr_accessor :Data, :Status, :Msg, :RequestId
|
3730
5666
|
|
3731
|
-
def initialize(
|
3732
|
-
@
|
3733
|
-
@
|
3734
|
-
@
|
5667
|
+
def initialize(data=nil, status=nil, msg=nil, requestid=nil)
|
5668
|
+
@Data = data
|
5669
|
+
@Status = status
|
5670
|
+
@Msg = msg
|
3735
5671
|
@RequestId = requestid
|
3736
5672
|
end
|
3737
5673
|
|
3738
5674
|
def deserialize(params)
|
3739
|
-
|
3740
|
-
|
3741
|
-
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
@Rules << managedrule_tmp
|
5675
|
+
unless params['Data'].nil?
|
5676
|
+
@Data = []
|
5677
|
+
params['Data'].each do |i|
|
5678
|
+
topnentry_tmp = TopNEntry.new
|
5679
|
+
topnentry_tmp.deserialize(i)
|
5680
|
+
@Data << topnentry_tmp
|
3746
5681
|
end
|
3747
5682
|
end
|
3748
|
-
@
|
5683
|
+
@Status = params['Status']
|
5684
|
+
@Msg = params['Msg']
|
3749
5685
|
@RequestId = params['RequestId']
|
3750
5686
|
end
|
3751
5687
|
end
|
3752
5688
|
|
3753
|
-
#
|
3754
|
-
class
|
5689
|
+
# DescribeWebProtectionAttackEvents请求参数结构体
|
5690
|
+
class DescribeWebProtectionAttackEventsRequest < TencentCloud::Common::AbstractModel
|
5691
|
+
# @param StartTime: 开始时间
|
5692
|
+
# @type StartTime: String
|
5693
|
+
# @param EndTime: 结束时间
|
5694
|
+
# @type EndTime: String
|
5695
|
+
# @param PageSize: 条数
|
5696
|
+
# @type PageSize: Integer
|
5697
|
+
# @param PageNo: 当前页
|
5698
|
+
# @type PageNo: Integer
|
5699
|
+
# @param Domains: 域名
|
5700
|
+
# @type Domains: Array
|
5701
|
+
# @param ZoneIds: 站点集合
|
5702
|
+
# @type ZoneIds: Array
|
3755
5703
|
|
5704
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :Domains, :ZoneIds
|
3756
5705
|
|
3757
|
-
def initialize()
|
5706
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, domains=nil, zoneids=nil)
|
5707
|
+
@StartTime = starttime
|
5708
|
+
@EndTime = endtime
|
5709
|
+
@PageSize = pagesize
|
5710
|
+
@PageNo = pageno
|
5711
|
+
@Domains = domains
|
5712
|
+
@ZoneIds = zoneids
|
3758
5713
|
end
|
3759
5714
|
|
3760
5715
|
def deserialize(params)
|
5716
|
+
@StartTime = params['StartTime']
|
5717
|
+
@EndTime = params['EndTime']
|
5718
|
+
@PageSize = params['PageSize']
|
5719
|
+
@PageNo = params['PageNo']
|
5720
|
+
@Domains = params['Domains']
|
5721
|
+
@ZoneIds = params['ZoneIds']
|
3761
5722
|
end
|
3762
5723
|
end
|
3763
5724
|
|
3764
|
-
#
|
3765
|
-
class
|
3766
|
-
# @param
|
3767
|
-
# @type
|
3768
|
-
# @param
|
3769
|
-
# @type
|
5725
|
+
# DescribeWebProtectionAttackEvents返回参数结构体
|
5726
|
+
class DescribeWebProtectionAttackEventsResponse < TencentCloud::Common::AbstractModel
|
5727
|
+
# @param Data: DDos攻击事件数据
|
5728
|
+
# @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCInterceptEventData`
|
5729
|
+
# @param Status: 状态,1:失败,0:成功
|
5730
|
+
# @type Status: Integer
|
5731
|
+
# @param Msg: 返回消息
|
5732
|
+
# @type Msg: String
|
3770
5733
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3771
5734
|
# @type RequestId: String
|
3772
5735
|
|
3773
|
-
attr_accessor :
|
5736
|
+
attr_accessor :Data, :Status, :Msg, :RequestId
|
3774
5737
|
|
3775
|
-
def initialize(
|
3776
|
-
@
|
3777
|
-
@
|
5738
|
+
def initialize(data=nil, status=nil, msg=nil, requestid=nil)
|
5739
|
+
@Data = data
|
5740
|
+
@Status = status
|
5741
|
+
@Msg = msg
|
3778
5742
|
@RequestId = requestid
|
3779
5743
|
end
|
3780
5744
|
|
3781
5745
|
def deserialize(params)
|
3782
|
-
|
3783
|
-
|
3784
|
-
@
|
3785
|
-
params['GeoIp'].each do |i|
|
3786
|
-
geoip_tmp = GeoIp.new
|
3787
|
-
geoip_tmp.deserialize(i)
|
3788
|
-
@GeoIp << geoip_tmp
|
3789
|
-
end
|
5746
|
+
unless params['Data'].nil?
|
5747
|
+
@Data = CCInterceptEventData.new
|
5748
|
+
@Data.deserialize(params['Data'])
|
3790
5749
|
end
|
5750
|
+
@Status = params['Status']
|
5751
|
+
@Msg = params['Msg']
|
3791
5752
|
@RequestId = params['RequestId']
|
3792
5753
|
end
|
3793
5754
|
end
|
3794
5755
|
|
3795
|
-
#
|
3796
|
-
class
|
3797
|
-
# @param
|
3798
|
-
# @type
|
3799
|
-
# @param
|
3800
|
-
# @type
|
5756
|
+
# DescribeWebProtectionData请求参数结构体
|
5757
|
+
class DescribeWebProtectionDataRequest < TencentCloud::Common::AbstractModel
|
5758
|
+
# @param StartTime: 开始时间
|
5759
|
+
# @type StartTime: String
|
5760
|
+
# @param EndTime: 结束时间
|
5761
|
+
# @type EndTime: String
|
5762
|
+
# @param MetricNames: 统计指标列表
|
5763
|
+
# @type MetricNames: Array
|
5764
|
+
# @param ZoneIds: 站点id列表
|
5765
|
+
# @type ZoneIds: Array
|
5766
|
+
# @param Domains: 子域名列表
|
5767
|
+
# @type Domains: Array
|
5768
|
+
# @param ProtocolType: 协议类型
|
5769
|
+
# @type ProtocolType: String
|
5770
|
+
# @param AttackType: "webshell" : Webshell检测防护
|
5771
|
+
# "oa" : 常见OA漏洞防护
|
5772
|
+
# "xss" : XSS跨站脚本攻击防护
|
5773
|
+
# "xxe" : XXE攻击防护
|
5774
|
+
# "webscan" : 扫描器攻击漏洞防护
|
5775
|
+
# "cms" : 常见CMS漏洞防护
|
5776
|
+
# "upload" : 恶意文件上传攻击防护
|
5777
|
+
# "sql" : SQL注入攻击防护
|
5778
|
+
# "cmd_inject": 命令/代码注入攻击防护
|
5779
|
+
# "osc" : 开源组件漏洞防护
|
5780
|
+
# "file_read" : 任意文件读取
|
5781
|
+
# "ldap" : LDAP注入攻击防护
|
5782
|
+
# "other" : 其它漏洞防护
|
5783
|
+
|
5784
|
+
# "all":"所有"
|
5785
|
+
# @type AttackType: String
|
5786
|
+
# @param Interval: 查询时间粒度,可选{min,5min,hour,day}
|
5787
|
+
# @type Interval: String
|
3801
5788
|
|
3802
|
-
attr_accessor :
|
5789
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval
|
3803
5790
|
|
3804
|
-
def initialize(
|
3805
|
-
@
|
3806
|
-
@
|
5791
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil)
|
5792
|
+
@StartTime = starttime
|
5793
|
+
@EndTime = endtime
|
5794
|
+
@MetricNames = metricnames
|
5795
|
+
@ZoneIds = zoneids
|
5796
|
+
@Domains = domains
|
5797
|
+
@ProtocolType = protocoltype
|
5798
|
+
@AttackType = attacktype
|
5799
|
+
@Interval = interval
|
3807
5800
|
end
|
3808
5801
|
|
3809
5802
|
def deserialize(params)
|
3810
|
-
@
|
3811
|
-
@
|
5803
|
+
@StartTime = params['StartTime']
|
5804
|
+
@EndTime = params['EndTime']
|
5805
|
+
@MetricNames = params['MetricNames']
|
5806
|
+
@ZoneIds = params['ZoneIds']
|
5807
|
+
@Domains = params['Domains']
|
5808
|
+
@ProtocolType = params['ProtocolType']
|
5809
|
+
@AttackType = params['AttackType']
|
5810
|
+
@Interval = params['Interval']
|
3812
5811
|
end
|
3813
5812
|
end
|
3814
5813
|
|
3815
|
-
#
|
3816
|
-
class
|
3817
|
-
# @param
|
3818
|
-
# @type AppId: Integer
|
3819
|
-
# @param ZoneId: 一级域名
|
3820
|
-
# @type ZoneId: String
|
3821
|
-
# @param Entity: 二级域名
|
3822
|
-
# @type Entity: String
|
3823
|
-
# @param Config: 安全配置
|
5814
|
+
# DescribeWebProtectionData返回参数结构体
|
5815
|
+
class DescribeWebProtectionDataResponse < TencentCloud::Common::AbstractModel
|
5816
|
+
# @param Data: 数据详情
|
3824
5817
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
3825
|
-
# @type
|
5818
|
+
# @type Data: Array
|
5819
|
+
# @param Status: 状态,1:失败,0:成功
|
5820
|
+
# @type Status: Integer
|
5821
|
+
# @param Msg: 消息
|
5822
|
+
# @type Msg: String
|
5823
|
+
# @param Interval: 查询时间粒度,可选{min,5min,hour,day}
|
5824
|
+
# @type Interval: String
|
3826
5825
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3827
5826
|
# @type RequestId: String
|
3828
5827
|
|
3829
|
-
attr_accessor :
|
5828
|
+
attr_accessor :Data, :Status, :Msg, :Interval, :RequestId
|
3830
5829
|
|
3831
|
-
def initialize(
|
3832
|
-
@
|
3833
|
-
@
|
3834
|
-
@
|
3835
|
-
@
|
5830
|
+
def initialize(data=nil, status=nil, msg=nil, interval=nil, requestid=nil)
|
5831
|
+
@Data = data
|
5832
|
+
@Status = status
|
5833
|
+
@Msg = msg
|
5834
|
+
@Interval = interval
|
3836
5835
|
@RequestId = requestid
|
3837
5836
|
end
|
3838
5837
|
|
3839
5838
|
def deserialize(params)
|
3840
|
-
|
3841
|
-
|
3842
|
-
|
3843
|
-
|
3844
|
-
|
3845
|
-
|
5839
|
+
unless params['Data'].nil?
|
5840
|
+
@Data = []
|
5841
|
+
params['Data'].each do |i|
|
5842
|
+
secentry_tmp = SecEntry.new
|
5843
|
+
secentry_tmp.deserialize(i)
|
5844
|
+
@Data << secentry_tmp
|
5845
|
+
end
|
3846
5846
|
end
|
5847
|
+
@Status = params['Status']
|
5848
|
+
@Msg = params['Msg']
|
5849
|
+
@Interval = params['Interval']
|
3847
5850
|
@RequestId = params['RequestId']
|
3848
5851
|
end
|
3849
5852
|
end
|
3850
5853
|
|
3851
|
-
#
|
3852
|
-
class
|
3853
|
-
# @param
|
3854
|
-
# @type
|
3855
|
-
# @param
|
3856
|
-
# @type
|
5854
|
+
# DescribeWebProtectionLog请求参数结构体
|
5855
|
+
class DescribeWebProtectionLogRequest < TencentCloud::Common::AbstractModel
|
5856
|
+
# @param StartTime: 起始时间
|
5857
|
+
# @type StartTime: String
|
5858
|
+
# @param EndTime: 结束时间
|
5859
|
+
# @type EndTime: String
|
5860
|
+
# @param PageSize: 每页条数
|
5861
|
+
# @type PageSize: Integer
|
5862
|
+
# @param PageNo: 当前页
|
5863
|
+
# @type PageNo: Integer
|
5864
|
+
# @param ZoneIds: 站点集合
|
5865
|
+
# @type ZoneIds: Array
|
5866
|
+
# @param Domains: 域名集合
|
5867
|
+
# @type Domains: Array
|
5868
|
+
# @param QueryCondition: 查询条件
|
5869
|
+
# @type QueryCondition: Array
|
3857
5870
|
|
3858
|
-
attr_accessor :
|
5871
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
3859
5872
|
|
3860
|
-
def initialize(
|
3861
|
-
@
|
3862
|
-
@
|
5873
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
|
5874
|
+
@StartTime = starttime
|
5875
|
+
@EndTime = endtime
|
5876
|
+
@PageSize = pagesize
|
5877
|
+
@PageNo = pageno
|
5878
|
+
@ZoneIds = zoneids
|
5879
|
+
@Domains = domains
|
5880
|
+
@QueryCondition = querycondition
|
3863
5881
|
end
|
3864
5882
|
|
3865
5883
|
def deserialize(params)
|
3866
|
-
@
|
3867
|
-
@
|
5884
|
+
@StartTime = params['StartTime']
|
5885
|
+
@EndTime = params['EndTime']
|
5886
|
+
@PageSize = params['PageSize']
|
5887
|
+
@PageNo = params['PageNo']
|
5888
|
+
@ZoneIds = params['ZoneIds']
|
5889
|
+
@Domains = params['Domains']
|
5890
|
+
unless params['QueryCondition'].nil?
|
5891
|
+
@QueryCondition = []
|
5892
|
+
params['QueryCondition'].each do |i|
|
5893
|
+
querycondition_tmp = QueryCondition.new
|
5894
|
+
querycondition_tmp.deserialize(i)
|
5895
|
+
@QueryCondition << querycondition_tmp
|
5896
|
+
end
|
5897
|
+
end
|
3868
5898
|
end
|
3869
5899
|
end
|
3870
5900
|
|
3871
|
-
#
|
3872
|
-
class
|
3873
|
-
# @param
|
3874
|
-
# @type
|
3875
|
-
# @param
|
3876
|
-
# @type
|
3877
|
-
# @param
|
3878
|
-
# @type
|
5901
|
+
# DescribeWebProtectionLog返回参数结构体
|
5902
|
+
class DescribeWebProtectionLogResponse < TencentCloud::Common::AbstractModel
|
5903
|
+
# @param Data: 限速拦截Data
|
5904
|
+
# @type Data: :class:`Tencentcloud::Teo.v20220106.models.CCLogData`
|
5905
|
+
# @param Status: 状态,1:失败,0:成功
|
5906
|
+
# @type Status: Integer
|
5907
|
+
# @param Msg: 返回信息
|
5908
|
+
# @type Msg: String
|
3879
5909
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3880
5910
|
# @type RequestId: String
|
3881
5911
|
|
3882
|
-
attr_accessor :
|
5912
|
+
attr_accessor :Data, :Status, :Msg, :RequestId
|
3883
5913
|
|
3884
|
-
def initialize(
|
3885
|
-
@
|
3886
|
-
@
|
3887
|
-
@
|
5914
|
+
def initialize(data=nil, status=nil, msg=nil, requestid=nil)
|
5915
|
+
@Data = data
|
5916
|
+
@Status = status
|
5917
|
+
@Msg = msg
|
3888
5918
|
@RequestId = requestid
|
3889
5919
|
end
|
3890
5920
|
|
3891
5921
|
def deserialize(params)
|
3892
|
-
|
3893
|
-
|
3894
|
-
@
|
3895
|
-
params['Rules'].each do |i|
|
3896
|
-
portraitmanagedruledetail_tmp = PortraitManagedRuleDetail.new
|
3897
|
-
portraitmanagedruledetail_tmp.deserialize(i)
|
3898
|
-
@Rules << portraitmanagedruledetail_tmp
|
3899
|
-
end
|
5922
|
+
unless params['Data'].nil?
|
5923
|
+
@Data = CCLogData.new
|
5924
|
+
@Data.deserialize(params['Data'])
|
3900
5925
|
end
|
3901
|
-
@
|
5926
|
+
@Status = params['Status']
|
5927
|
+
@Msg = params['Msg']
|
3902
5928
|
@RequestId = params['RequestId']
|
3903
5929
|
end
|
3904
5930
|
end
|
@@ -4624,8 +6650,32 @@ module TencentCloud
|
|
4624
6650
|
end
|
4625
6651
|
|
4626
6652
|
def deserialize(params)
|
4627
|
-
@Reason = params['Reason']
|
4628
|
-
@Targets = params['Targets']
|
6653
|
+
@Reason = params['Reason']
|
6654
|
+
@Targets = params['Targets']
|
6655
|
+
end
|
6656
|
+
end
|
6657
|
+
|
6658
|
+
# 过滤条件
|
6659
|
+
class Filter < TencentCloud::Common::AbstractModel
|
6660
|
+
# @param Key: 筛选维度
|
6661
|
+
# @type Key: String
|
6662
|
+
# @param Operator: 操作符
|
6663
|
+
# @type Operator: String
|
6664
|
+
# @param Value: 筛选维度值
|
6665
|
+
# @type Value: Array
|
6666
|
+
|
6667
|
+
attr_accessor :Key, :Operator, :Value
|
6668
|
+
|
6669
|
+
def initialize(key=nil, operator=nil, value=nil)
|
6670
|
+
@Key = key
|
6671
|
+
@Operator = operator
|
6672
|
+
@Value = value
|
6673
|
+
end
|
6674
|
+
|
6675
|
+
def deserialize(params)
|
6676
|
+
@Key = params['Key']
|
6677
|
+
@Operator = params['Operator']
|
6678
|
+
@Value = params['Value']
|
4629
6679
|
end
|
4630
6680
|
end
|
4631
6681
|
|
@@ -6479,6 +8529,30 @@ module TencentCloud
|
|
6479
8529
|
end
|
6480
8530
|
end
|
6481
8531
|
|
8532
|
+
# 查询条件
|
8533
|
+
class QueryCondition < TencentCloud::Common::AbstractModel
|
8534
|
+
# @param Key: 维度
|
8535
|
+
# @type Key: String
|
8536
|
+
# @param Operator: 操作符
|
8537
|
+
# @type Operator: String
|
8538
|
+
# @param Value: 维度值
|
8539
|
+
# @type Value: Array
|
8540
|
+
|
8541
|
+
attr_accessor :Key, :Operator, :Value
|
8542
|
+
|
8543
|
+
def initialize(key=nil, operator=nil, value=nil)
|
8544
|
+
@Key = key
|
8545
|
+
@Operator = operator
|
8546
|
+
@Value = value
|
8547
|
+
end
|
8548
|
+
|
8549
|
+
def deserialize(params)
|
8550
|
+
@Key = params['Key']
|
8551
|
+
@Operator = params['Operator']
|
8552
|
+
@Value = params['Value']
|
8553
|
+
end
|
8554
|
+
end
|
8555
|
+
|
6482
8556
|
# CacheKey中包含请求参数
|
6483
8557
|
class QueryString < TencentCloud::Common::AbstractModel
|
6484
8558
|
# @param Switch: on | off CacheKey是否由QueryString组成
|
@@ -6773,6 +8847,79 @@ module TencentCloud
|
|
6773
8847
|
end
|
6774
8848
|
end
|
6775
8849
|
|
8850
|
+
# 安全数据Entry返回值
|
8851
|
+
class SecEntry < TencentCloud::Common::AbstractModel
|
8852
|
+
# @param Key: Entry的Key
|
8853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8854
|
+
# @type Key: String
|
8855
|
+
# @param Value: Entry的Value
|
8856
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8857
|
+
# @type Value: Array
|
8858
|
+
|
8859
|
+
attr_accessor :Key, :Value
|
8860
|
+
|
8861
|
+
def initialize(key=nil, value=nil)
|
8862
|
+
@Key = key
|
8863
|
+
@Value = value
|
8864
|
+
end
|
8865
|
+
|
8866
|
+
def deserialize(params)
|
8867
|
+
@Key = params['Key']
|
8868
|
+
unless params['Value'].nil?
|
8869
|
+
@Value = []
|
8870
|
+
params['Value'].each do |i|
|
8871
|
+
secentryvalue_tmp = SecEntryValue.new
|
8872
|
+
secentryvalue_tmp.deserialize(i)
|
8873
|
+
@Value << secentryvalue_tmp
|
8874
|
+
end
|
8875
|
+
end
|
8876
|
+
end
|
8877
|
+
end
|
8878
|
+
|
8879
|
+
# 安全数据Entry对应的值
|
8880
|
+
class SecEntryValue < TencentCloud::Common::AbstractModel
|
8881
|
+
# @param Metric: 指标名称
|
8882
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8883
|
+
# @type Metric: String
|
8884
|
+
# @param Detail: 指标数据明细
|
8885
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8886
|
+
# @type Detail: Array
|
8887
|
+
# @param Max: 最大值
|
8888
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8889
|
+
# @type Max: Integer
|
8890
|
+
# @param Avg: 平均值
|
8891
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8892
|
+
# @type Avg: Float
|
8893
|
+
# @param Sum: 数据总和
|
8894
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8895
|
+
# @type Sum: Float
|
8896
|
+
|
8897
|
+
attr_accessor :Metric, :Detail, :Max, :Avg, :Sum
|
8898
|
+
|
8899
|
+
def initialize(metric=nil, detail=nil, max=nil, avg=nil, sum=nil)
|
8900
|
+
@Metric = metric
|
8901
|
+
@Detail = detail
|
8902
|
+
@Max = max
|
8903
|
+
@Avg = avg
|
8904
|
+
@Sum = sum
|
8905
|
+
end
|
8906
|
+
|
8907
|
+
def deserialize(params)
|
8908
|
+
@Metric = params['Metric']
|
8909
|
+
unless params['Detail'].nil?
|
8910
|
+
@Detail = []
|
8911
|
+
params['Detail'].each do |i|
|
8912
|
+
timingdataitem_tmp = TimingDataItem.new
|
8913
|
+
timingdataitem_tmp.deserialize(i)
|
8914
|
+
@Detail << timingdataitem_tmp
|
8915
|
+
end
|
8916
|
+
end
|
8917
|
+
@Max = params['Max']
|
8918
|
+
@Avg = params['Avg']
|
8919
|
+
@Sum = params['Sum']
|
8920
|
+
end
|
8921
|
+
end
|
8922
|
+
|
6776
8923
|
# 安全配置
|
6777
8924
|
class SecurityConfig < TencentCloud::Common::AbstractModel
|
6778
8925
|
# @param WafConfig: 门神配置
|
@@ -7039,6 +9186,199 @@ module TencentCloud
|
|
7039
9186
|
end
|
7040
9187
|
end
|
7041
9188
|
|
9189
|
+
# 统计曲线数据项
|
9190
|
+
class TimingDataItem < TencentCloud::Common::AbstractModel
|
9191
|
+
# @param Timestamp: 秒级时间戳
|
9192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9193
|
+
# @type Timestamp: Integer
|
9194
|
+
# @param Value: 数值
|
9195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9196
|
+
# @type Value: Integer
|
9197
|
+
|
9198
|
+
attr_accessor :Timestamp, :Value
|
9199
|
+
|
9200
|
+
def initialize(timestamp=nil, value=nil)
|
9201
|
+
@Timestamp = timestamp
|
9202
|
+
@Value = value
|
9203
|
+
end
|
9204
|
+
|
9205
|
+
def deserialize(params)
|
9206
|
+
@Timestamp = params['Timestamp']
|
9207
|
+
@Value = params['Value']
|
9208
|
+
end
|
9209
|
+
end
|
9210
|
+
|
9211
|
+
# L7数据分析时序数据
|
9212
|
+
class TimingDataRecord < TencentCloud::Common::AbstractModel
|
9213
|
+
# @param TypeKey: 查询维度值
|
9214
|
+
# @type TypeKey: String
|
9215
|
+
# @param TypeValue: 详细时序数据
|
9216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9217
|
+
# @type TypeValue: Array
|
9218
|
+
|
9219
|
+
attr_accessor :TypeKey, :TypeValue
|
9220
|
+
|
9221
|
+
def initialize(typekey=nil, typevalue=nil)
|
9222
|
+
@TypeKey = typekey
|
9223
|
+
@TypeValue = typevalue
|
9224
|
+
end
|
9225
|
+
|
9226
|
+
def deserialize(params)
|
9227
|
+
@TypeKey = params['TypeKey']
|
9228
|
+
unless params['TypeValue'].nil?
|
9229
|
+
@TypeValue = []
|
9230
|
+
params['TypeValue'].each do |i|
|
9231
|
+
timingtypevalue_tmp = TimingTypeValue.new
|
9232
|
+
timingtypevalue_tmp.deserialize(i)
|
9233
|
+
@TypeValue << timingtypevalue_tmp
|
9234
|
+
end
|
9235
|
+
end
|
9236
|
+
end
|
9237
|
+
end
|
9238
|
+
|
9239
|
+
# 时序类型详细数据
|
9240
|
+
class TimingTypeValue < TencentCloud::Common::AbstractModel
|
9241
|
+
# @param Sum: 数据和
|
9242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9243
|
+
# @type Sum: Integer
|
9244
|
+
# @param Max: 最大
|
9245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9246
|
+
# @type Max: Integer
|
9247
|
+
# @param Avg: 平均
|
9248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9249
|
+
# @type Avg: Integer
|
9250
|
+
# @param MetricName: 指标名
|
9251
|
+
# @type MetricName: String
|
9252
|
+
# @param DetailData: 废弃字段,即将下线,请使用Detail字段
|
9253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9254
|
+
# @type DetailData: Array
|
9255
|
+
# @param Detail: 详细数据
|
9256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9257
|
+
# @type Detail: Array
|
9258
|
+
|
9259
|
+
attr_accessor :Sum, :Max, :Avg, :MetricName, :DetailData, :Detail
|
9260
|
+
|
9261
|
+
def initialize(sum=nil, max=nil, avg=nil, metricname=nil, detaildata=nil, detail=nil)
|
9262
|
+
@Sum = sum
|
9263
|
+
@Max = max
|
9264
|
+
@Avg = avg
|
9265
|
+
@MetricName = metricname
|
9266
|
+
@DetailData = detaildata
|
9267
|
+
@Detail = detail
|
9268
|
+
end
|
9269
|
+
|
9270
|
+
def deserialize(params)
|
9271
|
+
@Sum = params['Sum']
|
9272
|
+
@Max = params['Max']
|
9273
|
+
@Avg = params['Avg']
|
9274
|
+
@MetricName = params['MetricName']
|
9275
|
+
@DetailData = params['DetailData']
|
9276
|
+
unless params['Detail'].nil?
|
9277
|
+
@Detail = []
|
9278
|
+
params['Detail'].each do |i|
|
9279
|
+
timingdataitem_tmp = TimingDataItem.new
|
9280
|
+
timingdataitem_tmp.deserialize(i)
|
9281
|
+
@Detail << timingdataitem_tmp
|
9282
|
+
end
|
9283
|
+
end
|
9284
|
+
end
|
9285
|
+
end
|
9286
|
+
|
9287
|
+
# 七层数据分析类top数据
|
9288
|
+
class TopDataRecord < TencentCloud::Common::AbstractModel
|
9289
|
+
# @param TypeKey: 查询维度值
|
9290
|
+
# @type TypeKey: String
|
9291
|
+
# @param DetailData: top数据排行
|
9292
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9293
|
+
# @type DetailData: Array
|
9294
|
+
|
9295
|
+
attr_accessor :TypeKey, :DetailData
|
9296
|
+
|
9297
|
+
def initialize(typekey=nil, detaildata=nil)
|
9298
|
+
@TypeKey = typekey
|
9299
|
+
@DetailData = detaildata
|
9300
|
+
end
|
9301
|
+
|
9302
|
+
def deserialize(params)
|
9303
|
+
@TypeKey = params['TypeKey']
|
9304
|
+
unless params['DetailData'].nil?
|
9305
|
+
@DetailData = []
|
9306
|
+
params['DetailData'].each do |i|
|
9307
|
+
topdetaildata_tmp = TopDetailData.new
|
9308
|
+
topdetaildata_tmp.deserialize(i)
|
9309
|
+
@DetailData << topdetaildata_tmp
|
9310
|
+
end
|
9311
|
+
end
|
9312
|
+
end
|
9313
|
+
end
|
9314
|
+
|
9315
|
+
# 用于对top数据排序的结构体
|
9316
|
+
class TopDetailData < TencentCloud::Common::AbstractModel
|
9317
|
+
# @param Key: 字段名
|
9318
|
+
# @type Key: String
|
9319
|
+
# @param Value: 字段值
|
9320
|
+
# @type Value: Integer
|
9321
|
+
|
9322
|
+
attr_accessor :Key, :Value
|
9323
|
+
|
9324
|
+
def initialize(key=nil, value=nil)
|
9325
|
+
@Key = key
|
9326
|
+
@Value = value
|
9327
|
+
end
|
9328
|
+
|
9329
|
+
def deserialize(params)
|
9330
|
+
@Key = params['Key']
|
9331
|
+
@Value = params['Value']
|
9332
|
+
end
|
9333
|
+
end
|
9334
|
+
|
9335
|
+
# TopN entry
|
9336
|
+
class TopNEntry < TencentCloud::Common::AbstractModel
|
9337
|
+
# @param Key: Entry key
|
9338
|
+
# @type Key: String
|
9339
|
+
# @param Value: TopN数据
|
9340
|
+
# @type Value: Array
|
9341
|
+
|
9342
|
+
attr_accessor :Key, :Value
|
9343
|
+
|
9344
|
+
def initialize(key=nil, value=nil)
|
9345
|
+
@Key = key
|
9346
|
+
@Value = value
|
9347
|
+
end
|
9348
|
+
|
9349
|
+
def deserialize(params)
|
9350
|
+
@Key = params['Key']
|
9351
|
+
unless params['Value'].nil?
|
9352
|
+
@Value = []
|
9353
|
+
params['Value'].each do |i|
|
9354
|
+
topnentryvalue_tmp = TopNEntryValue.new
|
9355
|
+
topnentryvalue_tmp.deserialize(i)
|
9356
|
+
@Value << topnentryvalue_tmp
|
9357
|
+
end
|
9358
|
+
end
|
9359
|
+
end
|
9360
|
+
end
|
9361
|
+
|
9362
|
+
# TopN数据Entry
|
9363
|
+
class TopNEntryValue < TencentCloud::Common::AbstractModel
|
9364
|
+
# @param Name: Entry的name
|
9365
|
+
# @type Name: String
|
9366
|
+
# @param Count: 数量
|
9367
|
+
# @type Count: Integer
|
9368
|
+
|
9369
|
+
attr_accessor :Name, :Count
|
9370
|
+
|
9371
|
+
def initialize(name=nil, count=nil)
|
9372
|
+
@Name = name
|
9373
|
+
@Count = count
|
9374
|
+
end
|
9375
|
+
|
9376
|
+
def deserialize(params)
|
9377
|
+
@Name = params['Name']
|
9378
|
+
@Count = params['Count']
|
9379
|
+
end
|
9380
|
+
end
|
9381
|
+
|
7042
9382
|
# Http2回源配置
|
7043
9383
|
class UpstreamHttp2 < TencentCloud::Common::AbstractModel
|
7044
9384
|
# @param Switch: http2回源配置开关
|
@@ -7163,6 +9503,208 @@ module TencentCloud
|
|
7163
9503
|
end
|
7164
9504
|
end
|
7165
9505
|
|
9506
|
+
# Web拦截事件
|
9507
|
+
class WebAttackEvent < TencentCloud::Common::AbstractModel
|
9508
|
+
# @param ClientIp: 客户端ip
|
9509
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9510
|
+
# @type ClientIp: String
|
9511
|
+
# @param AttackUrl: 攻击URL
|
9512
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9513
|
+
# @type AttackUrl: String
|
9514
|
+
# @param AttackTime: 攻击时间 单位为s
|
9515
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9516
|
+
# @type AttackTime: Integer
|
9517
|
+
|
9518
|
+
attr_accessor :ClientIp, :AttackUrl, :AttackTime
|
9519
|
+
|
9520
|
+
def initialize(clientip=nil, attackurl=nil, attacktime=nil)
|
9521
|
+
@ClientIp = clientip
|
9522
|
+
@AttackUrl = attackurl
|
9523
|
+
@AttackTime = attacktime
|
9524
|
+
end
|
9525
|
+
|
9526
|
+
def deserialize(params)
|
9527
|
+
@ClientIp = params['ClientIp']
|
9528
|
+
@AttackUrl = params['AttackUrl']
|
9529
|
+
@AttackTime = params['AttackTime']
|
9530
|
+
end
|
9531
|
+
end
|
9532
|
+
|
9533
|
+
# web事件数据
|
9534
|
+
class WebEventData < TencentCloud::Common::AbstractModel
|
9535
|
+
# @param List: 攻击事件数据集合
|
9536
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9537
|
+
# @type List: Array
|
9538
|
+
# @param PageNo: 当前页
|
9539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9540
|
+
# @type PageNo: Integer
|
9541
|
+
# @param PageSize: 每页展示条数
|
9542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9543
|
+
# @type PageSize: Integer
|
9544
|
+
# @param Pages: 总页数
|
9545
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9546
|
+
# @type Pages: Integer
|
9547
|
+
# @param TotalSize: 总条数
|
9548
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9549
|
+
# @type TotalSize: Integer
|
9550
|
+
|
9551
|
+
attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
|
9552
|
+
|
9553
|
+
def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
|
9554
|
+
@List = list
|
9555
|
+
@PageNo = pageno
|
9556
|
+
@PageSize = pagesize
|
9557
|
+
@Pages = pages
|
9558
|
+
@TotalSize = totalsize
|
9559
|
+
end
|
9560
|
+
|
9561
|
+
def deserialize(params)
|
9562
|
+
unless params['List'].nil?
|
9563
|
+
@List = []
|
9564
|
+
params['List'].each do |i|
|
9565
|
+
webattackevent_tmp = WebAttackEvent.new
|
9566
|
+
webattackevent_tmp.deserialize(i)
|
9567
|
+
@List << webattackevent_tmp
|
9568
|
+
end
|
9569
|
+
end
|
9570
|
+
@PageNo = params['PageNo']
|
9571
|
+
@PageSize = params['PageSize']
|
9572
|
+
@Pages = params['Pages']
|
9573
|
+
@TotalSize = params['TotalSize']
|
9574
|
+
end
|
9575
|
+
end
|
9576
|
+
|
9577
|
+
# web攻击日志Data
|
9578
|
+
class WebLogData < TencentCloud::Common::AbstractModel
|
9579
|
+
# @param List: 数据
|
9580
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9581
|
+
# @type List: Array
|
9582
|
+
# @param PageNo: 当前页
|
9583
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9584
|
+
# @type PageNo: Integer
|
9585
|
+
# @param PageSize: 每页展示条数
|
9586
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9587
|
+
# @type PageSize: Integer
|
9588
|
+
# @param Pages: 总页数
|
9589
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9590
|
+
# @type Pages: Integer
|
9591
|
+
# @param TotalSize: 总条数
|
9592
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9593
|
+
# @type TotalSize: Integer
|
9594
|
+
|
9595
|
+
attr_accessor :List, :PageNo, :PageSize, :Pages, :TotalSize
|
9596
|
+
|
9597
|
+
def initialize(list=nil, pageno=nil, pagesize=nil, pages=nil, totalsize=nil)
|
9598
|
+
@List = list
|
9599
|
+
@PageNo = pageno
|
9600
|
+
@PageSize = pagesize
|
9601
|
+
@Pages = pages
|
9602
|
+
@TotalSize = totalsize
|
9603
|
+
end
|
9604
|
+
|
9605
|
+
def deserialize(params)
|
9606
|
+
unless params['List'].nil?
|
9607
|
+
@List = []
|
9608
|
+
params['List'].each do |i|
|
9609
|
+
weblogs_tmp = WebLogs.new
|
9610
|
+
weblogs_tmp.deserialize(i)
|
9611
|
+
@List << weblogs_tmp
|
9612
|
+
end
|
9613
|
+
end
|
9614
|
+
@PageNo = params['PageNo']
|
9615
|
+
@PageSize = params['PageSize']
|
9616
|
+
@Pages = params['Pages']
|
9617
|
+
@TotalSize = params['TotalSize']
|
9618
|
+
end
|
9619
|
+
end
|
9620
|
+
|
9621
|
+
# web攻击日志
|
9622
|
+
class WebLogs < TencentCloud::Common::AbstractModel
|
9623
|
+
# @param AttackContent: 攻击内容
|
9624
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9625
|
+
# @type AttackContent: String
|
9626
|
+
# @param AttackIp: 攻击IP
|
9627
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9628
|
+
# @type AttackIp: String
|
9629
|
+
# @param AttackType: 攻击类型
|
9630
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9631
|
+
# @type AttackType: String
|
9632
|
+
# @param Domain: 域名
|
9633
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9634
|
+
# @type Domain: String
|
9635
|
+
# @param Msuuid: uuid
|
9636
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9637
|
+
# @type Msuuid: String
|
9638
|
+
# @param RequestMethod: 请求方法
|
9639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9640
|
+
# @type RequestMethod: String
|
9641
|
+
# @param RequestUri: 请求URI
|
9642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9643
|
+
# @type RequestUri: String
|
9644
|
+
# @param RiskLevel: 风险等级
|
9645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9646
|
+
# @type RiskLevel: String
|
9647
|
+
# @param RuleId: 规则ID
|
9648
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9649
|
+
# @type RuleId: Integer
|
9650
|
+
# @param SipCountryCode: IP所在国家
|
9651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9652
|
+
# @type SipCountryCode: String
|
9653
|
+
# @param EventId: 事件id
|
9654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9655
|
+
# @type EventId: String
|
9656
|
+
# @param DisposalMethod: 处置方式
|
9657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9658
|
+
# @type DisposalMethod: String
|
9659
|
+
# @param HttpLog: http_log
|
9660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9661
|
+
# @type HttpLog: String
|
9662
|
+
# @param Ua: user agent
|
9663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9664
|
+
# @type Ua: String
|
9665
|
+
# @param AttackTime: 攻击时间,为保持统一,原参数time更名为AttackTime
|
9666
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9667
|
+
# @type AttackTime: Integer
|
9668
|
+
|
9669
|
+
attr_accessor :AttackContent, :AttackIp, :AttackType, :Domain, :Msuuid, :RequestMethod, :RequestUri, :RiskLevel, :RuleId, :SipCountryCode, :EventId, :DisposalMethod, :HttpLog, :Ua, :AttackTime
|
9670
|
+
|
9671
|
+
def initialize(attackcontent=nil, attackip=nil, attacktype=nil, domain=nil, msuuid=nil, requestmethod=nil, requesturi=nil, risklevel=nil, ruleid=nil, sipcountrycode=nil, eventid=nil, disposalmethod=nil, httplog=nil, ua=nil, attacktime=nil)
|
9672
|
+
@AttackContent = attackcontent
|
9673
|
+
@AttackIp = attackip
|
9674
|
+
@AttackType = attacktype
|
9675
|
+
@Domain = domain
|
9676
|
+
@Msuuid = msuuid
|
9677
|
+
@RequestMethod = requestmethod
|
9678
|
+
@RequestUri = requesturi
|
9679
|
+
@RiskLevel = risklevel
|
9680
|
+
@RuleId = ruleid
|
9681
|
+
@SipCountryCode = sipcountrycode
|
9682
|
+
@EventId = eventid
|
9683
|
+
@DisposalMethod = disposalmethod
|
9684
|
+
@HttpLog = httplog
|
9685
|
+
@Ua = ua
|
9686
|
+
@AttackTime = attacktime
|
9687
|
+
end
|
9688
|
+
|
9689
|
+
def deserialize(params)
|
9690
|
+
@AttackContent = params['AttackContent']
|
9691
|
+
@AttackIp = params['AttackIp']
|
9692
|
+
@AttackType = params['AttackType']
|
9693
|
+
@Domain = params['Domain']
|
9694
|
+
@Msuuid = params['Msuuid']
|
9695
|
+
@RequestMethod = params['RequestMethod']
|
9696
|
+
@RequestUri = params['RequestUri']
|
9697
|
+
@RiskLevel = params['RiskLevel']
|
9698
|
+
@RuleId = params['RuleId']
|
9699
|
+
@SipCountryCode = params['SipCountryCode']
|
9700
|
+
@EventId = params['EventId']
|
9701
|
+
@DisposalMethod = params['DisposalMethod']
|
9702
|
+
@HttpLog = params['HttpLog']
|
9703
|
+
@Ua = params['Ua']
|
9704
|
+
@AttackTime = params['AttackTime']
|
9705
|
+
end
|
9706
|
+
end
|
9707
|
+
|
7166
9708
|
# WebSocket配置
|
7167
9709
|
class WebSocket < TencentCloud::Common::AbstractModel
|
7168
9710
|
# @param Switch: WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
|