Class: TencentCloud::Tem::V20201221::HealthCheckConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::HealthCheckConfig
- Defined in:
- lib/v20201221/models.rb
Overview
健康检查配置
Instance Attribute Summary collapse
- #Exec ⇒ Object
- #InitialDelaySeconds ⇒ Object
- #Path ⇒ Object
- #PeriodSeconds ⇒ Object
- #Port ⇒ Object
- #Protocol ⇒ Object
- #TimeoutSeconds ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, protocol = nil, path = nil, exec = nil, port = nil, initialdelayseconds = nil, timeoutseconds = nil, periodseconds = nil) ⇒ HealthCheckConfig
constructor
A new instance of HealthCheckConfig.
Constructor Details
#initialize(type = nil, protocol = nil, path = nil, exec = nil, port = nil, initialdelayseconds = nil, timeoutseconds = nil, periodseconds = nil) ⇒ HealthCheckConfig
Returns a new instance of HealthCheckConfig.
1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 |
# File 'lib/v20201221/models.rb', line 1165 def initialize(type=nil, protocol=nil, path=nil, exec=nil, port=nil, initialdelayseconds=nil, timeoutseconds=nil, periodseconds=nil) @Type = type @Protocol = protocol @Path = path @Exec = exec @Port = port @InitialDelaySeconds = initialdelayseconds @TimeoutSeconds = timeoutseconds @PeriodSeconds = periodseconds end |
Instance Attribute Details
#Exec ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def Exec @Exec end |
#InitialDelaySeconds ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def InitialDelaySeconds @InitialDelaySeconds end |
#Path ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def Path @Path end |
#PeriodSeconds ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def PeriodSeconds @PeriodSeconds end |
#Port ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def Port @Port end |
#Protocol ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def Protocol @Protocol end |
#TimeoutSeconds ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def TimeoutSeconds @TimeoutSeconds end |
#Type ⇒ Object
1163 1164 1165 |
# File 'lib/v20201221/models.rb', line 1163 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 |
# File 'lib/v20201221/models.rb', line 1176 def deserialize(params) @Type = params['Type'] @Protocol = params['Protocol'] @Path = params['Path'] @Exec = params['Exec'] @Port = params['Port'] @InitialDelaySeconds = params['InitialDelaySeconds'] @TimeoutSeconds = params['TimeoutSeconds'] @PeriodSeconds = params['PeriodSeconds'] end |