Class: TencentCloud::Antiddos::V20200309::OverviewDDoSEvent

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200309/models.rb

Overview

防护概览DDoS攻击事件

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, vip = nil, starttime = nil, endtime = nil, attacktype = nil, attackstatus = nil, mbps = nil, pps = nil, business = nil, instanceid = nil, instancename = nil) ⇒ OverviewDDoSEvent

Returns a new instance of OverviewDDoSEvent.



7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
# File 'lib/v20200309/models.rb', line 7500

def initialize(id=nil, vip=nil, starttime=nil, endtime=nil, attacktype=nil, attackstatus=nil, mbps=nil, pps=nil, business=nil, instanceid=nil, instancename=nil)
  @Id = id
  @Vip = vip
  @StartTime = starttime
  @EndTime = endtime
  @AttackType = attacktype
  @AttackStatus = attackstatus
  @Mbps = mbps
  @Pps = pps
  @Business = business
  @InstanceId = instanceid
  @InstanceName = instancename
end

Instance Attribute Details

#AttackStatusObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def AttackStatus
  @AttackStatus
end

#AttackTypeObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def AttackType
  @AttackType
end

#BusinessObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def Business
  @Business
end

#EndTimeObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def EndTime
  @EndTime
end

#IdObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def Id
  @Id
end

#InstanceIdObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def InstanceId
  @InstanceId
end

#InstanceNameObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def InstanceName
  @InstanceName
end

#MbpsObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def Mbps
  @Mbps
end

#PpsObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def Pps
  @Pps
end

#StartTimeObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def StartTime
  @StartTime
end

#VipObject

Parameters:

  • Id:

    事件Id

  • Vip:

    ip

  • StartTime:

    开始时间

  • EndTime:

    结束时间

  • AttackType:

    攻击类型

  • AttackStatus:

    攻击状态,0:攻击中;1:攻击结束

  • Mbps:

    攻击流量,单位Mbps

  • Pps:

    攻击包量,单位pps

  • Business:

    业务类型,bgp-multip:高防包;bgpip:高防ip;basic:基础防护

  • InstanceId:

    高防实例Id

  • InstanceName:

    高防实例名称



7498
7499
7500
# File 'lib/v20200309/models.rb', line 7498

def Vip
  @Vip
end

Instance Method Details

#deserialize(params) ⇒ Object



7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
# File 'lib/v20200309/models.rb', line 7514

def deserialize(params)
  @Id = params['Id']
  @Vip = params['Vip']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @AttackType = params['AttackType']
  @AttackStatus = params['AttackStatus']
  @Mbps = params['Mbps']
  @Pps = params['Pps']
  @Business = params['Business']
  @InstanceId = params['InstanceId']
  @InstanceName = params['InstanceName']
end