Class: TencentCloud::Omics::V20221128::VolumeAutoScaleUpRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::VolumeAutoScaleUpRule
- Defined in:
- lib/v20221128/models.rb
Overview
缓存卷自动扩容策略
Instance Attribute Summary collapse
-
#ScaleThreshold ⇒ Object
示例值:open,close.
-
#Status ⇒ Object
示例值:open,close.
-
#TargetThreshold ⇒ Object
示例值:open,close.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(status = nil, scalethreshold = nil, targetthreshold = nil) ⇒ VolumeAutoScaleUpRule
constructor
A new instance of VolumeAutoScaleUpRule.
Constructor Details
#initialize(status = nil, scalethreshold = nil, targetthreshold = nil) ⇒ VolumeAutoScaleUpRule
Returns a new instance of VolumeAutoScaleUpRule.
2640 2641 2642 2643 2644 |
# File 'lib/v20221128/models.rb', line 2640 def initialize(status=nil, scalethreshold=nil, targetthreshold=nil) @Status = status @ScaleThreshold = scalethreshold @TargetThreshold = targetthreshold end |
Instance Attribute Details
#ScaleThreshold ⇒ Object
示例值:open,close
2638 2639 2640 |
# File 'lib/v20221128/models.rb', line 2638 def ScaleThreshold @ScaleThreshold end |
#Status ⇒ Object
示例值:open,close
2638 2639 2640 |
# File 'lib/v20221128/models.rb', line 2638 def Status @Status end |
#TargetThreshold ⇒ Object
示例值:open,close
2638 2639 2640 |
# File 'lib/v20221128/models.rb', line 2638 def TargetThreshold @TargetThreshold end |
Instance Method Details
#deserialize(params) ⇒ Object
2646 2647 2648 2649 2650 |
# File 'lib/v20221128/models.rb', line 2646 def deserialize(params) @Status = params['Status'] @ScaleThreshold = params['ScaleThreshold'] @TargetThreshold = params['TargetThreshold'] end |