ObjectMetricSourcePatchArgs

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

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Constructors

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

Properties

Link copied to clipboard
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(): ObjectMetricSourcePatchArgs