class K8S::Api::Autoscaling::V2beta1::ObjectMetricStatus
- K8S::Api::Autoscaling::V2beta1::ObjectMetricStatus
- Reference
- Object
Overview
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.11/api/autoscaling/v2beta1/object_metric_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, current_value : Int32 | String, metric_name : String, target : Api::Autoscaling::V2beta1::CrossVersionObjectReference)
Instance Method Summary
- #current_value : Int32 | String
- #current_value=(current_value : Int32 | String)
- #metric_name : String
- #metric_name=(metric_name : String)
- #target : Api::Autoscaling::V2beta1::CrossVersionObjectReference
- #target=(target : Api::Autoscaling::V2beta1::CrossVersionObjectReference)
Constructor Detail
def self.new(*, current_value : Int32 | String, metric_name : String, target : Api::Autoscaling::V2beta1::CrossVersionObjectReference)
#