
com.pulumi.googlenative.container.v1beta1.kotlin.enums.NodePoolAutoscalingLocationPolicy.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.container.v1beta1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Location policy used when scaling up a nodepool.
*/
public enum class NodePoolAutoscalingLocationPolicy(
public val javaValue: com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy,
) :
ConvertibleToJava {
/**
* Not set.
*/
LocationPolicyUnspecified(com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy.LocationPolicyUnspecified),
/**
* BALANCED is a best effort policy that aims to balance the sizes of different zones.
*/
Balanced(com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy.Balanced),
/**
* ANY policy picks zones that have the highest capacity available.
*/
Any(com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy.Any),
;
override fun toJava(): com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.container.v1beta1.enums.NodePoolAutoscalingLocationPolicy): NodePoolAutoscalingLocationPolicy =
NodePoolAutoscalingLocationPolicy.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy