com.pulumi.kubernetes.autoscaling.v2beta1.inputs.ContainerResourceMetricStatusArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.autoscaling.v2beta1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). 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.
*
*/
public final class ContainerResourceMetricStatusArgs extends com.pulumi.resources.ResourceArgs {
public static final ContainerResourceMetricStatusArgs Empty = new ContainerResourceMetricStatusArgs();
/**
* container is the name of the container in the pods of the scaling target
*
*/
@Import(name="container", required=true)
private Output container;
/**
* @return container is the name of the container in the pods of the scaling target
*
*/
public Output container() {
return this.container;
}
/**
* 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.
*
*/
@Import(name="currentAverageUtilization")
private @Nullable Output currentAverageUtilization;
/**
* @return 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.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy