Class ExternalMetricSourcePatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.autoscaling.v2.inputs.ExternalMetricSourcePatchArgs
-
public final class ExternalMetricSourcePatchArgs extends com.pulumi.resources.ResourceArgs
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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExternalMetricSourcePatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ExternalMetricSourcePatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExternalMetricSourcePatchArgs.Builder
builder()
static ExternalMetricSourcePatchArgs.Builder
builder(ExternalMetricSourcePatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<MetricIdentifierPatchArgs>>
metric()
java.util.Optional<com.pulumi.core.Output<MetricTargetPatchArgs>>
target()
-
-
-
Field Detail
-
Empty
public static final ExternalMetricSourcePatchArgs Empty
-
-
Method Detail
-
metric
public java.util.Optional<com.pulumi.core.Output<MetricIdentifierPatchArgs>> metric()
- Returns:
- metric identifies the target metric by name and selector
-
target
public java.util.Optional<com.pulumi.core.Output<MetricTargetPatchArgs>> target()
- Returns:
- target specifies the target value for the given metric
-
builder
public static ExternalMetricSourcePatchArgs.Builder builder()
-
builder
public static ExternalMetricSourcePatchArgs.Builder builder(ExternalMetricSourcePatchArgs defaults)
-
-