com.pulumi.kubernetes.autoscaling.v2.inputs.MetricIdentifierArgs 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.v2.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.kubernetes.meta.v1.inputs.LabelSelectorArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* MetricIdentifier defines the name and optionally selector for a metric
*
*/
public final class MetricIdentifierArgs extends com.pulumi.resources.ResourceArgs {
public static final MetricIdentifierArgs Empty = new MetricIdentifierArgs();
/**
* name is the name of the given metric
*
*/
@Import(name="name", required=true)
private Output name;
/**
* @return name is the name of the given metric
*
*/
public Output name() {
return this.name;
}
/**
* selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
*
*/
@Import(name="selector")
private @Nullable Output selector;
/**
* @return selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy