Class: TencentCloud::Tem::V20210701::HealthCheckConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::HealthCheckConfig
- Defined in:
- lib/v20210701/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.
2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 |
# File 'lib/v20210701/models.rb', line 2901 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
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def Exec @Exec end |
#InitialDelaySeconds ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def InitialDelaySeconds @InitialDelaySeconds end |
#Path ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def Path @Path end |
#PeriodSeconds ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def PeriodSeconds @PeriodSeconds end |
#Port ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def Port @Port end |
#Protocol ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def Protocol @Protocol end |
#TimeoutSeconds ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def TimeoutSeconds @TimeoutSeconds end |
#Type ⇒ Object
2899 2900 2901 |
# File 'lib/v20210701/models.rb', line 2899 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 |
# File 'lib/v20210701/models.rb', line 2912 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 |