Class: TencentCloud::Dayu::V20180709::DescribeL4RulesErrHealthResponse

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

Overview

DescribeL4RulesErrHealth返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, errhealths = nil, exterrhealths = nil, requestid = nil) ⇒ DescribeL4RulesErrHealthResponse



4886
4887
4888
4889
4890
4891
# File 'lib/v20180709/models.rb', line 4886

def initialize(total=nil, errhealths=nil, exterrhealths=nil, requestid=nil)
  @Total = total
  @ErrHealths = errhealths
  @ExtErrHealths = exterrhealths
  @RequestId = requestid
end

Instance Attribute Details

#ErrHealthsObject

Key值为RuleId时,Value值为规则ID;Key值为Protocol时,Value值为规则的转发协议;Key值为VirtualPort时,Value值为规则的转发端口;Key值为ErrMessage时,Value值为健康检查异常信息;健康检查异常信息的格式为“SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6” 多个源IP的错误信息用,分割, SourceIp表示源站IP,SourcePort表示源站端口,AbnormalStatTime表示异常时间,AbnormalReason表示异常原因,Interval表示检查周期,CheckNum表示检查次数,FailNum表示失败次数;



4884
4885
4886
# File 'lib/v20180709/models.rb', line 4884

def ErrHealths
  @ErrHealths
end

#ExtErrHealthsObject

Key值为RuleId时,Value值为规则ID;Key值为Protocol时,Value值为规则的转发协议;Key值为VirtualPort时,Value值为规则的转发端口;Key值为ErrMessage时,Value值为健康检查异常信息;健康检查异常信息的格式为“SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6” 多个源IP的错误信息用,分割, SourceIp表示源站IP,SourcePort表示源站端口,AbnormalStatTime表示异常时间,AbnormalReason表示异常原因,Interval表示检查周期,CheckNum表示检查次数,FailNum表示失败次数;



4884
4885
4886
# File 'lib/v20180709/models.rb', line 4884

def ExtErrHealths
  @ExtErrHealths
end

#RequestIdObject

Key值为RuleId时,Value值为规则ID;Key值为Protocol时,Value值为规则的转发协议;Key值为VirtualPort时,Value值为规则的转发端口;Key值为ErrMessage时,Value值为健康检查异常信息;健康检查异常信息的格式为“SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6” 多个源IP的错误信息用,分割, SourceIp表示源站IP,SourcePort表示源站端口,AbnormalStatTime表示异常时间,AbnormalReason表示异常原因,Interval表示检查周期,CheckNum表示检查次数,FailNum表示失败次数;



4884
4885
4886
# File 'lib/v20180709/models.rb', line 4884

def RequestId
  @RequestId
end

#TotalObject

Key值为RuleId时,Value值为规则ID;Key值为Protocol时,Value值为规则的转发协议;Key值为VirtualPort时,Value值为规则的转发端口;Key值为ErrMessage时,Value值为健康检查异常信息;健康检查异常信息的格式为“SourceIp:1.1.1.1|SourcePort:1234|AbnormalStatTime:1570689065|AbnormalReason:connection time out|Interval:20|CheckNum:6|FailNum:6” 多个源IP的错误信息用,分割, SourceIp表示源站IP,SourcePort表示源站端口,AbnormalStatTime表示异常时间,AbnormalReason表示异常原因,Interval表示检查周期,CheckNum表示检查次数,FailNum表示失败次数;



4884
4885
4886
# File 'lib/v20180709/models.rb', line 4884

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
# File 'lib/v20180709/models.rb', line 4893

def deserialize(params)
  @Total = params['Total']
  unless params['ErrHealths'].nil?
    @ErrHealths = []
    params['ErrHealths'].each do |i|
      keyvalue_tmp = KeyValue.new
      keyvalue_tmp.deserialize(i)
      @ErrHealths << keyvalue_tmp
    end
  end
  unless params['ExtErrHealths'].nil?
    @ExtErrHealths = []
    params['ExtErrHealths'].each do |i|
      keyvaluerecord_tmp = KeyValueRecord.new
      keyvaluerecord_tmp.deserialize(i)
      @ExtErrHealths << keyvaluerecord_tmp
    end
  end
  @RequestId = params['RequestId']
end