Class: TencentCloud::Cfw::V20190904::ScanResultInfo

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

Overview

新手引导扫描结果信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(banstatus = nil, ipnum = nil, ipstatus = nil, idpstatus = nil, leaknum = nil, portnum = nil) ⇒ ScanResultInfo

Returns a new instance of ScanResultInfo.



9518
9519
9520
9521
9522
9523
9524
9525
# File 'lib/v20190904/models.rb', line 9518

def initialize(banstatus=nil, ipnum=nil, ipstatus=nil, idpstatus=nil, leaknum=nil, portnum=nil)
  @BanStatus = banstatus
  @IPNum = ipnum
  @IPStatus = ipstatus
  @IdpStatus = idpstatus
  @LeakNum = leaknum
  @PortNum = portnum
end

Instance Attribute Details

#BanStatusObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def BanStatus
  @BanStatus
end

#IdpStatusObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def IdpStatus
  @IdpStatus
end

#IPNumObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def IPNum
  @IPNum
end

#IPStatusObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def IPStatus
  @IPStatus
end

#LeakNumObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def LeakNum
  @LeakNum
end

#PortNumObject

Parameters:

  • 是否禁封端口

  • 防护ip数量

  • 是否开启防护

  • 是否拦截攻击

  • 暴露漏洞数量

  • 暴露端口数量



9516
9517
9518
# File 'lib/v20190904/models.rb', line 9516

def PortNum
  @PortNum
end

Instance Method Details

#deserialize(params) ⇒ Object



9527
9528
9529
9530
9531
9532
9533
9534
# File 'lib/v20190904/models.rb', line 9527

def deserialize(params)
  @BanStatus = params['BanStatus']
  @IPNum = params['IPNum']
  @IPStatus = params['IPStatus']
  @IdpStatus = params['IdpStatus']
  @LeakNum = params['LeakNum']
  @PortNum = params['PortNum']
end