All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.compute.alpha.kotlin.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.compute.alpha.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.
 */
public enum class AutoscalingPolicyCpuUtilizationPredictiveMethod(
    public val javaValue: com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod,
) :
    ConvertibleToJava {
    /**
     * No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics
     */
    None(com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod.None),

    /**
     * Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand.
     */
    OptimizeAvailability(com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod.OptimizeAvailability),
    PredictiveMethodUnspecified(com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod.PredictiveMethodUnspecified),

    /**
     * Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. This value is being DEPRECATED - it won't be promoted to beta and v1. Use OPTIMIZE_AVAILABILITY instead.
     */
    Standard(com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod.Standard),
    ;

    override fun toJava(): com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod =
        javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.enums.AutoscalingPolicyCpuUtilizationPredictiveMethod): AutoscalingPolicyCpuUtilizationPredictiveMethod =
            AutoscalingPolicyCpuUtilizationPredictiveMethod.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy