Class ResourceMetricSourceArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.autoscaling.v2beta2.inputs.ResourceMetricSourceArgs
-
public final class ResourceMetricSourceArgs extends com.pulumi.resources.ResourceArgs
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceMetricSourceArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ResourceMetricSourceArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceMetricSourceArgs.Builder
builder()
static ResourceMetricSourceArgs.Builder
builder(ResourceMetricSourceArgs defaults)
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<MetricTargetArgs>
target()
-
-
-
Field Detail
-
Empty
public static final ResourceMetricSourceArgs Empty
-
-
Method Detail
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- name is the name of the resource in question.
-
target
public com.pulumi.core.Output<MetricTargetArgs> target()
- Returns:
- target specifies the target value for the given metric
-
builder
public static ResourceMetricSourceArgs.Builder builder()
-
builder
public static ResourceMetricSourceArgs.Builder builder(ResourceMetricSourceArgs defaults)
-
-