com.pulumi.kubernetes.autoscaling.v2beta2.inputs.ResourceMetricSourcePatchArgs 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.v2beta2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.kubernetes.autoscaling.v2beta2.inputs.MetricTargetPatchArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* 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.
*
*/
public final class ResourceMetricSourcePatchArgs extends com.pulumi.resources.ResourceArgs {
public static final ResourceMetricSourcePatchArgs Empty = new ResourceMetricSourcePatchArgs();
/**
* name is the name of the resource in question.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return name is the name of the resource in question.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy