PodsMetricSourcePatchArgs

data class PodsMetricSourcePatchArgs(val metric: Output<MetricIdentifierPatchArgs>? = null, val target: Output<MetricTargetPatchArgs>? = null) : ConvertibleToJava<PodsMetricSourcePatchArgs>

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

Constructors

Link copied to clipboard
constructor(metric: Output<MetricIdentifierPatchArgs>? = null, target: Output<MetricTargetPatchArgs>? = null)

Properties

Link copied to clipboard
val metric: Output<MetricIdentifierPatchArgs>? = null

metric identifies the target metric by name and selector

Link copied to clipboard
val target: Output<MetricTargetPatchArgs>? = null

target specifies the target value for the given metric

Functions

Link copied to clipboard
open override fun toJava(): PodsMetricSourcePatchArgs