Class ContainerResourceMetricStatusPatch
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2beta1.outputs.ContainerResourceMetricStatusPatch
-
public final class ContainerResourceMetricStatusPatch extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerResourceMetricStatusPatch.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerResourceMetricStatusPatch.Builder
builder()
static ContainerResourceMetricStatusPatch.Builder
builder(ContainerResourceMetricStatusPatch defaults)
java.util.Optional<java.lang.String>
container()
java.util.Optional<java.lang.Integer>
currentAverageUtilization()
java.util.Optional<java.lang.String>
currentAverageValue()
java.util.Optional<java.lang.String>
name()
-
-
-
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
-
currentAverageUtilization
public java.util.Optional<java.lang.Integer> currentAverageUtilization()
- Returns:
- currentAverageUtilization is the current 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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
-
currentAverageValue
public java.util.Optional<java.lang.String> currentAverageValue()
- Returns:
- currentAverageValue is the current 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. It will always be set, regardless of the corresponding metric specification.
-
name
public java.util.Optional<java.lang.String> name()
- Returns:
- name is the name of the resource in question.
-
builder
public static ContainerResourceMetricStatusPatch.Builder builder()
-
builder
public static ContainerResourceMetricStatusPatch.Builder builder(ContainerResourceMetricStatusPatch defaults)
-
-