ExternalMetricSourcePatchArgs

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

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).

Constructors

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

Functions

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

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