class K8S::Api::Autoscaling::V2beta2::ObjectMetricStatus
- K8S::Api::Autoscaling::V2beta2::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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/autoscaling/v2beta2/object_metric_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, current : Api::Autoscaling::V2beta2::MetricValueStatus, described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference, metric : Api::Autoscaling::V2beta2::MetricIdentifier)
Instance Method Summary
- #current : Api::Autoscaling::V2beta2::MetricValueStatus
- #current=(current : Api::Autoscaling::V2beta2::MetricValueStatus)
- #described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference
- #described_object=(described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
- #metric : Api::Autoscaling::V2beta2::MetricIdentifier
- #metric=(metric : Api::Autoscaling::V2beta2::MetricIdentifier)
Constructor Detail
def self.new(*, current : Api::Autoscaling::V2beta2::MetricValueStatus, described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference, metric : Api::Autoscaling::V2beta2::MetricIdentifier)
#
Instance Method Detail
def described_object=(described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
#