class K8S::Api::Autoscaling::V2beta1::ExternalMetricStatus
- K8S::Api::Autoscaling::V2beta1::ExternalMetricStatus
- Reference
- Object
Overview
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/api/autoscaling/v2beta1/external_metric_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, current_value : Int32 | String, metric_name : String, current_average_value : Int32 | String | Nil = nil, metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
Instance Method Summary
- #current_average_value : Int32 | String | Nil
- #current_average_value=(current_average_value : Int32 | String | Nil)
- #current_value : Int32 | String
- #current_value=(current_value : Int32 | String)
- #metric_name : String
- #metric_name=(metric_name : String)
- #metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #metric_selector=(metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
Constructor Detail
def self.new(*, current_value : Int32 | String, metric_name : String, current_average_value : Int32 | String | Nil = nil, metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
#
Instance Method Detail
def metric_selector=(metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
#