Class: TencentCloud::Apigateway::V20180808::HealthCheckConf
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::HealthCheckConf
- Defined in:
- lib/v20180808/models.rb
Overview
健康检查配置,包括TsfHealthCheckConf和TargetServicesHealthCheckConf
Instance Attribute Summary collapse
-
#ErrorThresholdPercentage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IsHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestVolumeThreshold ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SleepWindowInMilliseconds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ishealthcheck = nil, requestvolumethreshold = nil, sleepwindowinmilliseconds = nil, errorthresholdpercentage = nil) ⇒ HealthCheckConf
constructor
A new instance of HealthCheckConf.
Constructor Details
#initialize(ishealthcheck = nil, requestvolumethreshold = nil, sleepwindowinmilliseconds = nil, errorthresholdpercentage = nil) ⇒ HealthCheckConf
Returns a new instance of HealthCheckConf.
6423 6424 6425 6426 6427 6428 |
# File 'lib/v20180808/models.rb', line 6423 def initialize(ishealthcheck=nil, requestvolumethreshold=nil, sleepwindowinmilliseconds=nil, errorthresholdpercentage=nil) @IsHealthCheck = ishealthcheck @RequestVolumeThreshold = requestvolumethreshold @SleepWindowInMilliseconds = sleepwindowinmilliseconds @ErrorThresholdPercentage = errorthresholdpercentage end |
Instance Attribute Details
#ErrorThresholdPercentage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6421 6422 6423 |
# File 'lib/v20180808/models.rb', line 6421 def ErrorThresholdPercentage @ErrorThresholdPercentage end |
#IsHealthCheck ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6421 6422 6423 |
# File 'lib/v20180808/models.rb', line 6421 def IsHealthCheck @IsHealthCheck end |
#RequestVolumeThreshold ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6421 6422 6423 |
# File 'lib/v20180808/models.rb', line 6421 def RequestVolumeThreshold @RequestVolumeThreshold end |
#SleepWindowInMilliseconds ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
6421 6422 6423 |
# File 'lib/v20180808/models.rb', line 6421 def SleepWindowInMilliseconds @SleepWindowInMilliseconds end |
Instance Method Details
#deserialize(params) ⇒ Object
6430 6431 6432 6433 6434 6435 |
# File 'lib/v20180808/models.rb', line 6430 def deserialize(params) @IsHealthCheck = params['IsHealthCheck'] @RequestVolumeThreshold = params['RequestVolumeThreshold'] @SleepWindowInMilliseconds = params['SleepWindowInMilliseconds'] @ErrorThresholdPercentage = params['ErrorThresholdPercentage'] end |