com.pulumi.azurenative.insights.inputs.ScaleActionArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.insights.inputs;
import com.pulumi.azurenative.insights.enums.ScaleDirection;
import com.pulumi.azurenative.insights.enums.ScaleType;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* The parameters for the scaling action.
*
*/
public final class ScaleActionArgs extends com.pulumi.resources.ResourceArgs {
public static final ScaleActionArgs Empty = new ScaleActionArgs();
/**
* the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.
*
*/
@Import(name="cooldown", required=true)
private Output cooldown;
/**
* @return the amount of time to wait since the last scaling action before this action occurs. It must be between 1 week and 1 minute in ISO 8601 format.
*
*/
public Output cooldown() {
return this.cooldown;
}
/**
* the scale direction. Whether the scaling action increases or decreases the number of instances.
*
*/
@Import(name="direction", required=true)
private Output direction;
/**
* @return the scale direction. Whether the scaling action increases or decreases the number of instances.
*
*/
public Output direction() {
return this.direction;
}
/**
* the type of action that should occur when the scale rule fires.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return the type of action that should occur when the scale rule fires.
*
*/
public Output type() {
return this.type;
}
/**
* the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
*
*/
@Import(name="value")
private @Nullable Output value;
/**
* @return the number of instances that are involved in the scaling action. This value must be 1 or greater. The default value is 1.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy