class K8S::Api::Autoscaling::V2beta2::MetricTarget
- K8S::Api::Autoscaling::V2beta2::MetricTarget
- Reference
- Object
Overview
MetricTarget defines the target value, average value, or average utilization of a specific metric
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.22/api/autoscaling/v2beta2/metric_target.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, type : String, average_utilization : Int32? = nil, average_value : Int32 | String | Nil = nil, value : Int32 | String | Nil = nil)
Instance Method Summary
- #average_utilization : Int32?
- #average_utilization=(average_utilization : Int32?)
- #average_value : Int32 | String | Nil
- #average_value=(average_value : Int32 | String | Nil)
- #type : String
- #type=(type : String)
- #value : Int32 | String | Nil
- #value=(value : Int32 | String | Nil)
Constructor Detail
def self.new(*, type : String, average_utilization : Int32? = nil, average_value : Int32 | String | Nil = nil, value : Int32 | String | Nil = nil)
#