MetricTargetPatch

data class MetricTargetPatch(val averageUtilization: Int? = null, val averageValue: String? = null, val type: String? = null, val value: String? = null)

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

Constructors

Link copied to clipboard
constructor(averageUtilization: Int? = null, averageValue: String? = null, type: String? = null, value: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val averageUtilization: Int? = null

averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type

Link copied to clipboard
val averageValue: String? = null

averageValue is the target value of the average of the metric across all relevant pods (as a quantity)

Link copied to clipboard
val type: String? = null

type represents whether the metric type is Utilization, Value, or AverageValue

Link copied to clipboard
val value: String? = null

value is the target value of the metric (as a quantity).