class K8S::Api::Autoscaling::V2beta1::MetricStatus
- K8S::Api::Autoscaling::V2beta1::MetricStatus
- Reference
- Object
Overview
MetricStatus describes the last-read state of a single metric.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/autoscaling/v2beta1/metric_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, type : String, external : Api::Autoscaling::V2beta1::ExternalMetricStatus? = nil, object : Api::Autoscaling::V2beta1::ObjectMetricStatus? = nil, pods : Api::Autoscaling::V2beta1::PodsMetricStatus? = nil, resource : Api::Autoscaling::V2beta1::ResourceMetricStatus? = nil)
Instance Method Summary
- #external : Api::Autoscaling::V2beta1::ExternalMetricStatus?
- #external=(external : Api::Autoscaling::V2beta1::ExternalMetricStatus?)
- #object : Api::Autoscaling::V2beta1::ObjectMetricStatus?
- #object=(object : Api::Autoscaling::V2beta1::ObjectMetricStatus?)
- #pods : Api::Autoscaling::V2beta1::PodsMetricStatus?
- #pods=(pods : Api::Autoscaling::V2beta1::PodsMetricStatus?)
- #resource : Api::Autoscaling::V2beta1::ResourceMetricStatus?
- #resource=(resource : Api::Autoscaling::V2beta1::ResourceMetricStatus?)
- #type : String
- #type=(type : String)
Constructor Detail
def self.new(*, type : String, external : Api::Autoscaling::V2beta1::ExternalMetricStatus? = nil, object : Api::Autoscaling::V2beta1::ObjectMetricStatus? = nil, pods : Api::Autoscaling::V2beta1::PodsMetricStatus? = nil, resource : Api::Autoscaling::V2beta1::ResourceMetricStatus? = nil)
#