Class: TencentCloud::Tse::V20201207::UpstreamHealthCheckConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tse::V20201207::UpstreamHealthCheckConfig
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20201207/models.rb
Overview
云原生网关健康检查配置
Instance Attribute Summary collapse
-
#ActiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnableActiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EnablePassiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Failures ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#HealthyHttpStatuses ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IgnoreZeroWeightNodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PassiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Successes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Timeouts ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UnhealthyHttpStatuses ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ZeroWeightHeathCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(enableactivehealthcheck = nil, activehealthcheck = nil, enablepassivehealthcheck = nil, passivehealthcheck = nil, successes = nil, failures = nil, timeouts = nil, healthyhttpstatuses = nil, unhealthyhttpstatuses = nil, ignorezeroweightnodes = nil, zeroweightheathcheck = nil) ⇒ UpstreamHealthCheckConfig
constructor
A new instance of UpstreamHealthCheckConfig.
Constructor Details
#initialize(enableactivehealthcheck = nil, activehealthcheck = nil, enablepassivehealthcheck = nil, passivehealthcheck = nil, successes = nil, failures = nil, timeouts = nil, healthyhttpstatuses = nil, unhealthyhttpstatuses = nil, ignorezeroweightnodes = nil, zeroweightheathcheck = nil) ⇒ UpstreamHealthCheckConfig
Returns a new instance of UpstreamHealthCheckConfig.
12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 |
# File 'lib/v20201207/models.rb', line 12089 def initialize(enableactivehealthcheck=nil, activehealthcheck=nil, enablepassivehealthcheck=nil, passivehealthcheck=nil, successes=nil, failures=nil, timeouts=nil, healthyhttpstatuses=nil, unhealthyhttpstatuses=nil, ignorezeroweightnodes=nil, zeroweightheathcheck=nil) @EnableActiveHealthCheck = enableactivehealthcheck @ActiveHealthCheck = activehealthcheck @EnablePassiveHealthCheck = enablepassivehealthcheck @PassiveHealthCheck = passivehealthcheck @Successes = successes @Failures = failures @Timeouts = timeouts @HealthyHttpStatuses = healthyhttpstatuses @UnhealthyHttpStatuses = unhealthyhttpstatuses @IgnoreZeroWeightNodes = ignorezeroweightnodes @ZeroWeightHeathCheck = zeroweightheathcheck end |
Instance Attribute Details
#ActiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def ActiveHealthCheck @ActiveHealthCheck end |
#EnableActiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def EnableActiveHealthCheck @EnableActiveHealthCheck end |
#EnablePassiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def EnablePassiveHealthCheck @EnablePassiveHealthCheck end |
#Failures ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def Failures @Failures end |
#HealthyHttpStatuses ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def HealthyHttpStatuses @HealthyHttpStatuses end |
#IgnoreZeroWeightNodes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def IgnoreZeroWeightNodes @IgnoreZeroWeightNodes end |
#PassiveHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def PassiveHealthCheck @PassiveHealthCheck end |
#Successes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def Successes @Successes end |
#Timeouts ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def Timeouts @Timeouts end |
#UnhealthyHttpStatuses ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def UnhealthyHttpStatuses @UnhealthyHttpStatuses end |
#ZeroWeightHeathCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
12084 12085 12086 |
# File 'lib/v20201207/models.rb', line 12084 def ZeroWeightHeathCheck @ZeroWeightHeathCheck end |
Instance Method Details
#deserialize(params) ⇒ Object
12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 |
# File 'lib/v20201207/models.rb', line 12103 def deserialize(params) @EnableActiveHealthCheck = params['EnableActiveHealthCheck'] unless params['ActiveHealthCheck'].nil? @ActiveHealthCheck = KongActiveHealthCheck.new @ActiveHealthCheck.deserialize(params['ActiveHealthCheck']) end @EnablePassiveHealthCheck = params['EnablePassiveHealthCheck'] unless params['PassiveHealthCheck'].nil? @PassiveHealthCheck = KongPassiveHealthCheck.new @PassiveHealthCheck.deserialize(params['PassiveHealthCheck']) end @Successes = params['Successes'] @Failures = params['Failures'] @Timeouts = params['Timeouts'] @HealthyHttpStatuses = params['HealthyHttpStatuses'] @UnhealthyHttpStatuses = params['UnhealthyHttpStatuses'] @IgnoreZeroWeightNodes = params['IgnoreZeroWeightNodes'] @ZeroWeightHeathCheck = params['ZeroWeightHeathCheck'] end |