Class MetricTargetPatchArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.kubernetes.autoscaling.v2beta2.inputs.MetricTargetPatchArgs
-
public final class MetricTargetPatchArgs extends com.pulumi.resources.ResourceArgs
MetricTarget defines the target value, average value, or average utilization of a specific metric
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MetricTargetPatchArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static MetricTargetPatchArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
averageUtilization()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
averageValue()
static MetricTargetPatchArgs.Builder
builder()
static MetricTargetPatchArgs.Builder
builder(MetricTargetPatchArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
type()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
value()
-
-
-
Field Detail
-
Empty
public static final MetricTargetPatchArgs Empty
-
-
Method Detail
-
averageUtilization
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> averageUtilization()
- Returns:
- averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
-
averageValue
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> averageValue()
- Returns:
- averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
-
type
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
- Returns:
- type represents whether the metric type is Utilization, Value, or AverageValue
-
value
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> value()
- Returns:
- value is the target value of the metric (as a quantity).
-
builder
public static MetricTargetPatchArgs.Builder builder()
-
builder
public static MetricTargetPatchArgs.Builder builder(MetricTargetPatchArgs defaults)
-
-