Class: TencentCloud::Antiddos::V20200309::BGPInstanceUsages

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

Overview

高防包资产实例的使用信息统计

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(protectcountusage = nil, protectipnumberusage = nil, last7dayattackcount = nil) ⇒ BGPInstanceUsages

Returns a new instance of BGPInstanceUsages.



803
804
805
806
807
# File 'lib/v20200309/models.rb', line 803

def initialize(protectcountusage=nil, protectipnumberusage=nil, last7dayattackcount=nil)
  @ProtectCountUsage = protectcountusage
  @ProtectIPNumberUsage = protectipnumberusage
  @Last7DayAttackCount = last7dayattackcount
end

Instance Attribute Details

#Last7DayAttackCountObject

Parameters:

  • ProtectCountUsage:

    已使用的防护次数,单位次

  • ProtectIPNumberUsage:

    已防护的IP数,单位个

  • Last7DayAttackCount:

    最近7天的攻击次数,单位次



801
802
803
# File 'lib/v20200309/models.rb', line 801

def Last7DayAttackCount
  @Last7DayAttackCount
end

#ProtectCountUsageObject

Parameters:

  • ProtectCountUsage:

    已使用的防护次数,单位次

  • ProtectIPNumberUsage:

    已防护的IP数,单位个

  • Last7DayAttackCount:

    最近7天的攻击次数,单位次



801
802
803
# File 'lib/v20200309/models.rb', line 801

def ProtectCountUsage
  @ProtectCountUsage
end

#ProtectIPNumberUsageObject

Parameters:

  • ProtectCountUsage:

    已使用的防护次数,单位次

  • ProtectIPNumberUsage:

    已防护的IP数,单位个

  • Last7DayAttackCount:

    最近7天的攻击次数,单位次



801
802
803
# File 'lib/v20200309/models.rb', line 801

def ProtectIPNumberUsage
  @ProtectIPNumberUsage
end

Instance Method Details

#deserialize(params) ⇒ Object



809
810
811
812
813
# File 'lib/v20200309/models.rb', line 809

def deserialize(params)
  @ProtectCountUsage = params['ProtectCountUsage']
  @ProtectIPNumberUsage = params['ProtectIPNumberUsage']
  @Last7DayAttackCount = params['Last7DayAttackCount']
end