Class: Ey::Core::Client::TargetAutoScalingPolicy
- Inherits:
-
BaseAutoScalingPolicy
- Object
- Cistern::Model
- Model
- BaseAutoScalingPolicy
- Ey::Core::Client::TargetAutoScalingPolicy
- Defined in:
- lib/ey-core/models/target_auto_scaling_policy.rb
Instance Method Summary collapse
Methods inherited from BaseAutoScalingPolicy
Methods included from Associations
#assoc_accessor, #assoc_coverage, #assoc_reader, #assoc_writer, #associations, #collection_reader
Methods inherited from Model
#destroy, range_parser, #save, #to_s, #update!, #url
Instance Method Details
#policy_params ⇒ Object
11 12 13 14 15 16 17 18 19 |
# File 'lib/ey-core/models/target_auto_scaling_policy.rb', line 11 def policy_params { "estimated_warmup" => estimated_warmup, "target_value" => target_value, "disable_scale_in" => disable_scale_in, "metric_type" => metric_type, "type" => type } end |
#policy_requires ⇒ Object
21 22 23 |
# File 'lib/ey-core/models/target_auto_scaling_policy.rb', line 21 def policy_requires requires :target_value, :metric_type, :estimated_warmup end |