tencentcloud-sdk-antiddos 1.0.307 → 1.0.310
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20200309/client.rb +24 -0
- data/lib/v20200309/models.rb +217 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6f7a214ffcb8dc8b7a075840e0a0b610e17bad4
|
4
|
+
data.tar.gz: 7da40e9b52e0ce08ca924be7f2947053c063d75e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30a575bf73a7a1ddc841593368bf1b863b63eb54c18f44c7aba49173ba53c5a2a6340f44aadd19f5c97240d94cdc333399e0a80e43755c36c48877834e46e9ab
|
7
|
+
data.tar.gz: 84fb730102b1eb3c68bbc5f5602e82fe100609a2829a477230dc7b064c391f6804fd3368902e8cd57fb51acd66eede8a2965c166eef27e42b4990604571b8681
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.310
|
data/lib/v20200309/client.rb
CHANGED
@@ -1685,6 +1685,30 @@ module TencentCloud
|
|
1685
1685
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1686
1686
|
end
|
1687
1687
|
|
1688
|
+
# 获取防护概览的ddos攻击事件
|
1689
|
+
|
1690
|
+
# @param request: Request instance for DescribeOverviewDDoSEventList.
|
1691
|
+
# @type request: :class:`Tencentcloud::antiddos::V20200309::DescribeOverviewDDoSEventListRequest`
|
1692
|
+
# @rtype: :class:`Tencentcloud::antiddos::V20200309::DescribeOverviewDDoSEventListResponse`
|
1693
|
+
def DescribeOverviewDDoSEventList(request)
|
1694
|
+
body = send_request('DescribeOverviewDDoSEventList', request.serialize)
|
1695
|
+
response = JSON.parse(body)
|
1696
|
+
if response['Response'].key?('Error') == false
|
1697
|
+
model = DescribeOverviewDDoSEventListResponse.new
|
1698
|
+
model.deserialize(response['Response'])
|
1699
|
+
model
|
1700
|
+
else
|
1701
|
+
code = response['Response']['Error']['Code']
|
1702
|
+
message = response['Response']['Error']['Message']
|
1703
|
+
reqid = response['Response']['RequestId']
|
1704
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1705
|
+
end
|
1706
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1707
|
+
raise e
|
1708
|
+
rescue StandardError => e
|
1709
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1710
|
+
end
|
1711
|
+
|
1688
1712
|
# 获取防护概览DDoS攻击流量带宽和攻击包速率数据
|
1689
1713
|
|
1690
1714
|
# @param request: Request instance for DescribeOverviewDDoSTrend.
|
data/lib/v20200309/models.rb
CHANGED
@@ -240,10 +240,13 @@ module TencentCloud
|
|
240
240
|
# @param V6Flag: 是否Ipv6版本的IP, 是为1,否为0
|
241
241
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
242
242
|
# @type V6Flag: Integer
|
243
|
+
# @param BGPIPChannelFlag: 是否渠道版高防IP,是为1,否为0
|
244
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
245
|
+
# @type BGPIPChannelFlag: Integer
|
243
246
|
|
244
|
-
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag
|
247
|
+
attr_accessor :InstanceDetail, :SpecificationLimit, :Usage, :Region, :Status, :ExpiredTime, :CreatedTime, :Name, :PackInfo, :StaticPackRelation, :ZoneId, :Tgw, :EipAddressStatus, :EipFlag, :EipAddressPackRelation, :EipAddressInfo, :Domain, :DamDDoSStatus, :V6Flag, :BGPIPChannelFlag
|
245
248
|
|
246
|
-
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil)
|
249
|
+
def initialize(instancedetail=nil, specificationlimit=nil, usage=nil, region=nil, status=nil, expiredtime=nil, createdtime=nil, name=nil, packinfo=nil, staticpackrelation=nil, zoneid=nil, tgw=nil, eipaddressstatus=nil, eipflag=nil, eipaddresspackrelation=nil, eipaddressinfo=nil, domain=nil, damddosstatus=nil, v6flag=nil, bgpipchannelflag=nil)
|
247
250
|
@InstanceDetail = instancedetail
|
248
251
|
@SpecificationLimit = specificationlimit
|
249
252
|
@Usage = usage
|
@@ -263,6 +266,7 @@ module TencentCloud
|
|
263
266
|
@Domain = domain
|
264
267
|
@DamDDoSStatus = damddosstatus
|
265
268
|
@V6Flag = v6flag
|
269
|
+
@BGPIPChannelFlag = bgpipchannelflag
|
266
270
|
end
|
267
271
|
|
268
272
|
def deserialize(params)
|
@@ -309,6 +313,7 @@ module TencentCloud
|
|
309
313
|
@Domain = params['Domain']
|
310
314
|
@DamDDoSStatus = params['DamDDoSStatus']
|
311
315
|
@V6Flag = params['V6Flag']
|
316
|
+
@BGPIPChannelFlag = params['BGPIPChannelFlag']
|
312
317
|
end
|
313
318
|
end
|
314
319
|
|
@@ -508,10 +513,16 @@ module TencentCloud
|
|
508
513
|
# @param ChannelEditionFlag: 渠道版标记,0表示普通高防包,1表示渠道版高防包
|
509
514
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
510
515
|
# @type ChannelEditionFlag: Integer
|
516
|
+
# @param EnterpriseFlag: 高防包企业版标记,0表示普通高防包;1表示企业版高防包
|
517
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
518
|
+
# @type EnterpriseFlag: Integer
|
519
|
+
# @param ElasticLimit: 高防包企业版弹性阈值,0表示未开启;大于0为弹性防护阈值
|
520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
521
|
+
# @type ElasticLimit: Integer
|
511
522
|
|
512
|
-
attr_accessor :ProtectBandwidth, :ProtectCountLimit, :ProtectIPNumberLimit, :AutoRenewFlag, :UnionPackFlag, :ServiceBandWidth, :BattleEditionFlag, :ChannelEditionFlag
|
523
|
+
attr_accessor :ProtectBandwidth, :ProtectCountLimit, :ProtectIPNumberLimit, :AutoRenewFlag, :UnionPackFlag, :ServiceBandWidth, :BattleEditionFlag, :ChannelEditionFlag, :EnterpriseFlag, :ElasticLimit
|
513
524
|
|
514
|
-
def initialize(protectbandwidth=nil, protectcountlimit=nil, protectipnumberlimit=nil, autorenewflag=nil, unionpackflag=nil, servicebandwidth=nil, battleeditionflag=nil, channeleditionflag=nil)
|
525
|
+
def initialize(protectbandwidth=nil, protectcountlimit=nil, protectipnumberlimit=nil, autorenewflag=nil, unionpackflag=nil, servicebandwidth=nil, battleeditionflag=nil, channeleditionflag=nil, enterpriseflag=nil, elasticlimit=nil)
|
515
526
|
@ProtectBandwidth = protectbandwidth
|
516
527
|
@ProtectCountLimit = protectcountlimit
|
517
528
|
@ProtectIPNumberLimit = protectipnumberlimit
|
@@ -520,6 +531,8 @@ module TencentCloud
|
|
520
531
|
@ServiceBandWidth = servicebandwidth
|
521
532
|
@BattleEditionFlag = battleeditionflag
|
522
533
|
@ChannelEditionFlag = channeleditionflag
|
534
|
+
@EnterpriseFlag = enterpriseflag
|
535
|
+
@ElasticLimit = elasticlimit
|
523
536
|
end
|
524
537
|
|
525
538
|
def deserialize(params)
|
@@ -531,6 +544,8 @@ module TencentCloud
|
|
531
544
|
@ServiceBandWidth = params['ServiceBandWidth']
|
532
545
|
@BattleEditionFlag = params['BattleEditionFlag']
|
533
546
|
@ChannelEditionFlag = params['ChannelEditionFlag']
|
547
|
+
@EnterpriseFlag = params['EnterpriseFlag']
|
548
|
+
@ElasticLimit = params['ElasticLimit']
|
534
549
|
end
|
535
550
|
end
|
536
551
|
|
@@ -3861,10 +3876,14 @@ module TencentCloud
|
|
3861
3876
|
# @type FilterDamDDoSStatus: Integer
|
3862
3877
|
# @param FilterStatus: 获取特定状态的资源,运行中填idle,攻击中填attacking,封堵中填blocking
|
3863
3878
|
# @type FilterStatus: String
|
3879
|
+
# @param FilterCname: 获取特定的实例Cname
|
3880
|
+
# @type FilterCname: String
|
3881
|
+
# @param FilterInstanceIdList: 批量查询实例ID对应的高防IP实例资源
|
3882
|
+
# @type FilterInstanceIdList: Array
|
3864
3883
|
|
3865
|
-
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterLine, :FilterRegion, :FilterName, :FilterEipType, :FilterEipEipAddressStatus, :FilterDamDDoSStatus, :FilterStatus
|
3884
|
+
attr_accessor :Offset, :Limit, :FilterIp, :FilterInstanceId, :FilterLine, :FilterRegion, :FilterName, :FilterEipType, :FilterEipEipAddressStatus, :FilterDamDDoSStatus, :FilterStatus, :FilterCname, :FilterInstanceIdList
|
3866
3885
|
|
3867
|
-
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterline=nil, filterregion=nil, filtername=nil, filtereiptype=nil, filtereipeipaddressstatus=nil, filterdamddosstatus=nil, filterstatus=nil)
|
3886
|
+
def initialize(offset=nil, limit=nil, filterip=nil, filterinstanceid=nil, filterline=nil, filterregion=nil, filtername=nil, filtereiptype=nil, filtereipeipaddressstatus=nil, filterdamddosstatus=nil, filterstatus=nil, filtercname=nil, filterinstanceidlist=nil)
|
3868
3887
|
@Offset = offset
|
3869
3888
|
@Limit = limit
|
3870
3889
|
@FilterIp = filterip
|
@@ -3876,6 +3895,8 @@ module TencentCloud
|
|
3876
3895
|
@FilterEipEipAddressStatus = filtereipeipaddressstatus
|
3877
3896
|
@FilterDamDDoSStatus = filterdamddosstatus
|
3878
3897
|
@FilterStatus = filterstatus
|
3898
|
+
@FilterCname = filtercname
|
3899
|
+
@FilterInstanceIdList = filterinstanceidlist
|
3879
3900
|
end
|
3880
3901
|
|
3881
3902
|
def deserialize(params)
|
@@ -3890,6 +3911,8 @@ module TencentCloud
|
|
3890
3911
|
@FilterEipEipAddressStatus = params['FilterEipEipAddressStatus']
|
3891
3912
|
@FilterDamDDoSStatus = params['FilterDamDDoSStatus']
|
3892
3913
|
@FilterStatus = params['FilterStatus']
|
3914
|
+
@FilterCname = params['FilterCname']
|
3915
|
+
@FilterInstanceIdList = params['FilterInstanceIdList']
|
3893
3916
|
end
|
3894
3917
|
end
|
3895
3918
|
|
@@ -4258,15 +4281,18 @@ module TencentCloud
|
|
4258
4281
|
# @type FilterAlarmType: Integer
|
4259
4282
|
# @param FilterIp: IP搜索
|
4260
4283
|
# @type FilterIp: String
|
4284
|
+
# @param FilterCname: 高防IP实例资源的cname
|
4285
|
+
# @type FilterCname: String
|
4261
4286
|
|
4262
|
-
attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterAlarmType, :FilterIp
|
4287
|
+
attr_accessor :Offset, :Limit, :FilterInstanceId, :FilterAlarmType, :FilterIp, :FilterCname
|
4263
4288
|
|
4264
|
-
def initialize(offset=nil, limit=nil, filterinstanceid=nil, filteralarmtype=nil, filterip=nil)
|
4289
|
+
def initialize(offset=nil, limit=nil, filterinstanceid=nil, filteralarmtype=nil, filterip=nil, filtercname=nil)
|
4265
4290
|
@Offset = offset
|
4266
4291
|
@Limit = limit
|
4267
4292
|
@FilterInstanceId = filterinstanceid
|
4268
4293
|
@FilterAlarmType = filteralarmtype
|
4269
4294
|
@FilterIp = filterip
|
4295
|
+
@FilterCname = filtercname
|
4270
4296
|
end
|
4271
4297
|
|
4272
4298
|
def deserialize(params)
|
@@ -4275,6 +4301,7 @@ module TencentCloud
|
|
4275
4301
|
@FilterInstanceId = params['FilterInstanceId']
|
4276
4302
|
@FilterAlarmType = params['FilterAlarmType']
|
4277
4303
|
@FilterIp = params['FilterIp']
|
4304
|
+
@FilterCname = params['FilterCname']
|
4278
4305
|
end
|
4279
4306
|
end
|
4280
4307
|
|
@@ -4852,6 +4879,69 @@ module TencentCloud
|
|
4852
4879
|
end
|
4853
4880
|
end
|
4854
4881
|
|
4882
|
+
# DescribeOverviewDDoSEventList请求参数结构体
|
4883
|
+
class DescribeOverviewDDoSEventListRequest < TencentCloud::Common::AbstractModel
|
4884
|
+
# @param StartTime: 起始时间
|
4885
|
+
# @type StartTime: String
|
4886
|
+
# @param EndTime: 结束时间
|
4887
|
+
# @type EndTime: String
|
4888
|
+
# @param AttackStatus: 可选按攻击状态过滤,start:攻击中;end:攻击结束
|
4889
|
+
# @type AttackStatus: String
|
4890
|
+
# @param Offset: 偏移量
|
4891
|
+
# @type Offset: Integer
|
4892
|
+
# @param Limit: 记录条数
|
4893
|
+
# @type Limit: Integer
|
4894
|
+
|
4895
|
+
attr_accessor :StartTime, :EndTime, :AttackStatus, :Offset, :Limit
|
4896
|
+
|
4897
|
+
def initialize(starttime=nil, endtime=nil, attackstatus=nil, offset=nil, limit=nil)
|
4898
|
+
@StartTime = starttime
|
4899
|
+
@EndTime = endtime
|
4900
|
+
@AttackStatus = attackstatus
|
4901
|
+
@Offset = offset
|
4902
|
+
@Limit = limit
|
4903
|
+
end
|
4904
|
+
|
4905
|
+
def deserialize(params)
|
4906
|
+
@StartTime = params['StartTime']
|
4907
|
+
@EndTime = params['EndTime']
|
4908
|
+
@AttackStatus = params['AttackStatus']
|
4909
|
+
@Offset = params['Offset']
|
4910
|
+
@Limit = params['Limit']
|
4911
|
+
end
|
4912
|
+
end
|
4913
|
+
|
4914
|
+
# DescribeOverviewDDoSEventList返回参数结构体
|
4915
|
+
class DescribeOverviewDDoSEventListResponse < TencentCloud::Common::AbstractModel
|
4916
|
+
# @param Total: 记录总数
|
4917
|
+
# @type Total: Integer
|
4918
|
+
# @param EventList: 事件列表
|
4919
|
+
# @type EventList: Array
|
4920
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4921
|
+
# @type RequestId: String
|
4922
|
+
|
4923
|
+
attr_accessor :Total, :EventList, :RequestId
|
4924
|
+
|
4925
|
+
def initialize(total=nil, eventlist=nil, requestid=nil)
|
4926
|
+
@Total = total
|
4927
|
+
@EventList = eventlist
|
4928
|
+
@RequestId = requestid
|
4929
|
+
end
|
4930
|
+
|
4931
|
+
def deserialize(params)
|
4932
|
+
@Total = params['Total']
|
4933
|
+
unless params['EventList'].nil?
|
4934
|
+
@EventList = []
|
4935
|
+
params['EventList'].each do |i|
|
4936
|
+
overviewddosevent_tmp = OverviewDDoSEvent.new
|
4937
|
+
overviewddosevent_tmp.deserialize(i)
|
4938
|
+
@EventList << overviewddosevent_tmp
|
4939
|
+
end
|
4940
|
+
end
|
4941
|
+
@RequestId = params['RequestId']
|
4942
|
+
end
|
4943
|
+
end
|
4944
|
+
|
4855
4945
|
# DescribeOverviewDDoSTrend请求参数结构体
|
4856
4946
|
class DescribeOverviewDDoSTrendRequest < TencentCloud::Common::AbstractModel
|
4857
4947
|
# @param Business: 大禹子产品代号(bgpip表示高防IP;bgp-multip表示高防包;basic表示DDoS基础防护)
|
@@ -5200,17 +5290,25 @@ module TencentCloud
|
|
5200
5290
|
# @type Type: String
|
5201
5291
|
# @param Eip: 线路IP
|
5202
5292
|
# @type Eip: String
|
5293
|
+
# @param Cname: 实例对应的cname
|
5294
|
+
# @type Cname: String
|
5295
|
+
# @param ResourceFlag: 资源flag,0:高防包资源,1:高防IP资源,2:非高防资源IP
|
5296
|
+
# @type ResourceFlag: Integer
|
5203
5297
|
|
5204
|
-
attr_accessor :Type, :Eip
|
5298
|
+
attr_accessor :Type, :Eip, :Cname, :ResourceFlag
|
5205
5299
|
|
5206
|
-
def initialize(type=nil, eip=nil)
|
5300
|
+
def initialize(type=nil, eip=nil, cname=nil, resourceflag=nil)
|
5207
5301
|
@Type = type
|
5208
5302
|
@Eip = eip
|
5303
|
+
@Cname = cname
|
5304
|
+
@ResourceFlag = resourceflag
|
5209
5305
|
end
|
5210
5306
|
|
5211
5307
|
def deserialize(params)
|
5212
5308
|
@Type = params['Type']
|
5213
5309
|
@Eip = params['Eip']
|
5310
|
+
@Cname = params['Cname']
|
5311
|
+
@ResourceFlag = params['ResourceFlag']
|
5214
5312
|
end
|
5215
5313
|
end
|
5216
5314
|
|
@@ -5457,17 +5555,20 @@ module TencentCloud
|
|
5457
5555
|
# @type Protocol: String
|
5458
5556
|
# @param RealServers: 源站列表
|
5459
5557
|
# @type RealServers: Array
|
5460
|
-
# @param InstanceDetails:
|
5558
|
+
# @param InstanceDetails: 资源实例
|
5461
5559
|
# @type InstanceDetails: Array
|
5560
|
+
# @param InstanceDetailRule: 规则所属的资源实例
|
5561
|
+
# @type InstanceDetailRule: Array
|
5462
5562
|
|
5463
|
-
attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails
|
5563
|
+
attr_accessor :BackendPort, :FrontendPort, :Protocol, :RealServers, :InstanceDetails, :InstanceDetailRule
|
5464
5564
|
|
5465
|
-
def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil)
|
5565
|
+
def initialize(backendport=nil, frontendport=nil, protocol=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
|
5466
5566
|
@BackendPort = backendport
|
5467
5567
|
@FrontendPort = frontendport
|
5468
5568
|
@Protocol = protocol
|
5469
5569
|
@RealServers = realservers
|
5470
5570
|
@InstanceDetails = instancedetails
|
5571
|
+
@InstanceDetailRule = instancedetailrule
|
5471
5572
|
end
|
5472
5573
|
|
5473
5574
|
def deserialize(params)
|
@@ -5490,6 +5591,14 @@ module TencentCloud
|
|
5490
5591
|
@InstanceDetails << instancerelation_tmp
|
5491
5592
|
end
|
5492
5593
|
end
|
5594
|
+
unless params['InstanceDetailRule'].nil?
|
5595
|
+
@InstanceDetailRule = []
|
5596
|
+
params['InstanceDetailRule'].each do |i|
|
5597
|
+
ruleinstancerelation_tmp = RuleInstanceRelation.new
|
5598
|
+
ruleinstancerelation_tmp.deserialize(i)
|
5599
|
+
@InstanceDetailRule << ruleinstancerelation_tmp
|
5600
|
+
end
|
5601
|
+
end
|
5493
5602
|
end
|
5494
5603
|
end
|
5495
5604
|
|
@@ -5501,16 +5610,19 @@ module TencentCloud
|
|
5501
5610
|
# @type ProxyTypeList: Array
|
5502
5611
|
# @param RealServers: 源站列表
|
5503
5612
|
# @type RealServers: Array
|
5504
|
-
# @param InstanceDetails:
|
5613
|
+
# @param InstanceDetails: 资源实例
|
5505
5614
|
# @type InstanceDetails: Array
|
5615
|
+
# @param InstanceDetailRule: 规则所属的资源实例
|
5616
|
+
# @type InstanceDetailRule: Array
|
5506
5617
|
|
5507
|
-
attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails
|
5618
|
+
attr_accessor :Domain, :ProxyTypeList, :RealServers, :InstanceDetails, :InstanceDetailRule
|
5508
5619
|
|
5509
|
-
def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil)
|
5620
|
+
def initialize(domain=nil, proxytypelist=nil, realservers=nil, instancedetails=nil, instancedetailrule=nil)
|
5510
5621
|
@Domain = domain
|
5511
5622
|
@ProxyTypeList = proxytypelist
|
5512
5623
|
@RealServers = realservers
|
5513
5624
|
@InstanceDetails = instancedetails
|
5625
|
+
@InstanceDetailRule = instancedetailrule
|
5514
5626
|
end
|
5515
5627
|
|
5516
5628
|
def deserialize(params)
|
@@ -5539,6 +5651,14 @@ module TencentCloud
|
|
5539
5651
|
@InstanceDetails << instancerelation_tmp
|
5540
5652
|
end
|
5541
5653
|
end
|
5654
|
+
unless params['InstanceDetailRule'].nil?
|
5655
|
+
@InstanceDetailRule = []
|
5656
|
+
params['InstanceDetailRule'].each do |i|
|
5657
|
+
ruleinstancerelation_tmp = RuleInstanceRelation.new
|
5658
|
+
ruleinstancerelation_tmp.deserialize(i)
|
5659
|
+
@InstanceDetailRule << ruleinstancerelation_tmp
|
5660
|
+
end
|
5661
|
+
end
|
5542
5662
|
end
|
5543
5663
|
end
|
5544
5664
|
|
@@ -5624,7 +5744,7 @@ module TencentCloud
|
|
5624
5744
|
# @type InstanceId: String
|
5625
5745
|
# @param PolicyId: 策略Id
|
5626
5746
|
# @type PolicyId: String
|
5627
|
-
# @param PolicyAction:
|
5747
|
+
# @param PolicyAction: 策略方式。可取值:alg、drop。alg指返回验证码方式验证,drop表示该访问丢弃。
|
5628
5748
|
# @type PolicyAction: String
|
5629
5749
|
# @param PolicyList: 策略记录
|
5630
5750
|
# @type PolicyList: Array
|
@@ -6388,6 +6508,62 @@ module TencentCloud
|
|
6388
6508
|
end
|
6389
6509
|
end
|
6390
6510
|
|
6511
|
+
# 防护概览DDoS攻击事件
|
6512
|
+
class OverviewDDoSEvent < TencentCloud::Common::AbstractModel
|
6513
|
+
# @param Id: 事件Id
|
6514
|
+
# @type Id: String
|
6515
|
+
# @param Vip: ip
|
6516
|
+
# @type Vip: String
|
6517
|
+
# @param StartTime: 开始时间
|
6518
|
+
# @type StartTime: String
|
6519
|
+
# @param EndTime: 结束时间
|
6520
|
+
# @type EndTime: String
|
6521
|
+
# @param AttackType: 攻击类型
|
6522
|
+
# @type AttackType: String
|
6523
|
+
# @param AttackStatus: 攻击状态,0:攻击中;1:攻击结束
|
6524
|
+
# @type AttackStatus: Integer
|
6525
|
+
# @param Mbps: 攻击流量,单位Mbps
|
6526
|
+
# @type Mbps: Integer
|
6527
|
+
# @param Pps: 攻击包量,单位pps
|
6528
|
+
# @type Pps: Integer
|
6529
|
+
# @param Business: 业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护
|
6530
|
+
# @type Business: String
|
6531
|
+
# @param InstanceId: 高防实例Id
|
6532
|
+
# @type InstanceId: String
|
6533
|
+
# @param InstanceName: 高防实例名称
|
6534
|
+
# @type InstanceName: String
|
6535
|
+
|
6536
|
+
attr_accessor :Id, :Vip, :StartTime, :EndTime, :AttackType, :AttackStatus, :Mbps, :Pps, :Business, :InstanceId, :InstanceName
|
6537
|
+
|
6538
|
+
def initialize(id=nil, vip=nil, starttime=nil, endtime=nil, attacktype=nil, attackstatus=nil, mbps=nil, pps=nil, business=nil, instanceid=nil, instancename=nil)
|
6539
|
+
@Id = id
|
6540
|
+
@Vip = vip
|
6541
|
+
@StartTime = starttime
|
6542
|
+
@EndTime = endtime
|
6543
|
+
@AttackType = attacktype
|
6544
|
+
@AttackStatus = attackstatus
|
6545
|
+
@Mbps = mbps
|
6546
|
+
@Pps = pps
|
6547
|
+
@Business = business
|
6548
|
+
@InstanceId = instanceid
|
6549
|
+
@InstanceName = instancename
|
6550
|
+
end
|
6551
|
+
|
6552
|
+
def deserialize(params)
|
6553
|
+
@Id = params['Id']
|
6554
|
+
@Vip = params['Vip']
|
6555
|
+
@StartTime = params['StartTime']
|
6556
|
+
@EndTime = params['EndTime']
|
6557
|
+
@AttackType = params['AttackType']
|
6558
|
+
@AttackStatus = params['AttackStatus']
|
6559
|
+
@Mbps = params['Mbps']
|
6560
|
+
@Pps = params['Pps']
|
6561
|
+
@Business = params['Business']
|
6562
|
+
@InstanceId = params['InstanceId']
|
6563
|
+
@InstanceName = params['InstanceName']
|
6564
|
+
end
|
6565
|
+
end
|
6566
|
+
|
6391
6567
|
# 套餐包信息
|
6392
6568
|
class PackInfo < TencentCloud::Common::AbstractModel
|
6393
6569
|
# @param PackType: 套餐包的类型,取值[
|
@@ -6782,6 +6958,30 @@ module TencentCloud
|
|
6782
6958
|
end
|
6783
6959
|
end
|
6784
6960
|
|
6961
|
+
# 四七层规则的
|
6962
|
+
class RuleInstanceRelation < TencentCloud::Common::AbstractModel
|
6963
|
+
# @param EipList: 资源实例的IP
|
6964
|
+
# @type EipList: Array
|
6965
|
+
# @param InstanceId: 资源实例的ID
|
6966
|
+
# @type InstanceId: String
|
6967
|
+
# @param Cname: 资源实例的Cname
|
6968
|
+
# @type Cname: String
|
6969
|
+
|
6970
|
+
attr_accessor :EipList, :InstanceId, :Cname
|
6971
|
+
|
6972
|
+
def initialize(eiplist=nil, instanceid=nil, cname=nil)
|
6973
|
+
@EipList = eiplist
|
6974
|
+
@InstanceId = instanceid
|
6975
|
+
@Cname = cname
|
6976
|
+
end
|
6977
|
+
|
6978
|
+
def deserialize(params)
|
6979
|
+
@EipList = params['EipList']
|
6980
|
+
@InstanceId = params['InstanceId']
|
6981
|
+
@Cname = params['Cname']
|
6982
|
+
end
|
6983
|
+
end
|
6984
|
+
|
6785
6985
|
# 调度域名信息
|
6786
6986
|
class SchedulingDomainInfo < TencentCloud::Common::AbstractModel
|
6787
6987
|
# @param Domain: 调度域名
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-antiddos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.310
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|