class K8S::Api::Autoscaling::V2::MetricStatus
- K8S::Api::Autoscaling::V2::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.23/api/autoscaling/v2/metric_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, type : String, container_resource : Api::Autoscaling::V2::ContainerResourceMetricStatus? = nil, external : Api::Autoscaling::V2::ExternalMetricStatus? = nil, object : Api::Autoscaling::V2::ObjectMetricStatus? = nil, pods : Api::Autoscaling::V2::PodsMetricStatus? = nil, resource : Api::Autoscaling::V2::ResourceMetricStatus? = nil)
Instance Method Summary
- #container_resource : Api::Autoscaling::V2::ContainerResourceMetricStatus?
- #container_resource=(container_resource : Api::Autoscaling::V2::ContainerResourceMetricStatus?)
- #external : Api::Autoscaling::V2::ExternalMetricStatus?
- #external=(external : Api::Autoscaling::V2::ExternalMetricStatus?)
- #object : Api::Autoscaling::V2::ObjectMetricStatus?
- #object=(object : Api::Autoscaling::V2::ObjectMetricStatus?)
- #pods : Api::Autoscaling::V2::PodsMetricStatus?
- #pods=(pods : Api::Autoscaling::V2::PodsMetricStatus?)
- #resource : Api::Autoscaling::V2::ResourceMetricStatus?
- #resource=(resource : Api::Autoscaling::V2::ResourceMetricStatus?)
- #type : String
- #type=(type : String)
Constructor Detail
def self.new(*, type : String, container_resource : Api::Autoscaling::V2::ContainerResourceMetricStatus? = nil, external : Api::Autoscaling::V2::ExternalMetricStatus? = nil, object : Api::Autoscaling::V2::ObjectMetricStatus? = nil, pods : Api::Autoscaling::V2::PodsMetricStatus? = nil, resource : Api::Autoscaling::V2::ResourceMetricStatus? = nil)
#
Instance Method Detail
def container_resource=(container_resource : Api::Autoscaling::V2::ContainerResourceMetricStatus?)
#