Class ContainerResourceMetricSourcePatch
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2beta1.outputs.ContainerResourceMetricSourcePatch
-
public final class ContainerResourceMetricSourcePatch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerResourceMetricSourcePatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerResourceMetricSourcePatch.Builder
builder()
static ContainerResourceMetricSourcePatch.Builder
builder(ContainerResourceMetricSourcePatch defaults)
java.util.Optional<java.lang.String>
container()
java.util.Optional<java.lang.String>
name()
java.util.Optional<java.lang.Integer>
targetAverageUtilization()
java.util.Optional<java.lang.String>
targetAverageValue()
-
-
-
Method Detail
-
container
public java.util.Optional<java.lang.String> container()
- Returns:
- container is the name of the container in the pods of the scaling target
-
name
public java.util.Optional<java.lang.String> name()
- Returns:
- name is the name of the resource in question.
-
targetAverageUtilization
public java.util.Optional<java.lang.Integer> targetAverageUtilization()
- Returns:
- targetAverageUtilization 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.
-
targetAverageValue
public java.util.Optional<java.lang.String> targetAverageValue()
- Returns:
- targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
-
builder
public static ContainerResourceMetricSourcePatch.Builder builder()
-
builder
public static ContainerResourceMetricSourcePatch.Builder builder(ContainerResourceMetricSourcePatch defaults)
-
-