Class: TencentCloud::Dayu::V20180709::DescribeL4RulesErrHealthResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::DescribeL4RulesErrHealthResponse
- Defined in:
- lib/v20180709/models.rb
Overview
DescribeL4RulesErrHealth返回参数结构体
Instance Attribute Summary collapse
-
#ErrHealths ⇒ Object
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表示失败次数;.
-
#ExtErrHealths ⇒ Object
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表示失败次数;.
-
#RequestId ⇒ Object
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表示失败次数;.
-
#Total ⇒ Object
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表示失败次数;.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, errhealths = nil, exterrhealths = nil, requestid = nil) ⇒ DescribeL4RulesErrHealthResponse
constructor
A new instance of DescribeL4RulesErrHealthResponse.
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
#ErrHealths ⇒ Object
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 |
#ExtErrHealths ⇒ Object
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 |
#RequestId ⇒ Object
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 |
#Total ⇒ Object
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 |