class K8S::Api::Autoscaling::V2beta2::MetricTarget

Overview

MetricTarget defines the target value, average value, or average utilization of a specific metric

Included Modules

Defined in:

versions/v1.13/api/autoscaling/v2beta2/metric_target.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, type : String, average_utilization : Int32? = nil, average_value : Int32 | String | Nil = nil, value : Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

def average_utilization : Int32? #

[View source]
def average_utilization=(average_utilization : Int32?) #

[View source]
def average_value : Int32 | String | Nil #

[View source]
def average_value=(average_value : Int32 | String | Nil) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]
def value : Int32 | String | Nil #

[View source]
def value=(value : Int32 | String | Nil) #

[View source]