com.pulumi.kubernetes.autoscaling.v2beta1.inputs.ExternalMetricSourceArgs 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 com.pulumi.kubernetes.meta.v1.inputs.LabelSelectorArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
*
*/
public final class ExternalMetricSourceArgs extends com.pulumi.resources.ResourceArgs {
public static final ExternalMetricSourceArgs Empty = new ExternalMetricSourceArgs();
/**
* metricName is the name of the metric in question.
*
*/
@Import(name="metricName", required=true)
private Output metricName;
/**
* @return metricName is the name of the metric in question.
*
*/
public Output metricName() {
return this.metricName;
}
/**
* metricSelector is used to identify a specific time series within a given metric.
*
*/
@Import(name="metricSelector")
private @Nullable Output metricSelector;
/**
* @return metricSelector is used to identify a specific time series within a given metric.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy