Class: TencentCloud::Omics::V20221128::VolumeAutoScaleUpRule

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20221128/models.rb

Overview

缓存卷自动扩容策略

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ScaleThresholdObject

示例值:open,close

Parameters:



2638
2639
2640
# File 'lib/v20221128/models.rb', line 2638

def ScaleThreshold
  @ScaleThreshold
end

#StatusObject

示例值:open,close

Parameters:



2638
2639
2640
# File 'lib/v20221128/models.rb', line 2638

def Status
  @Status
end

#TargetThresholdObject

示例值:open,close

Parameters:



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