com.pulumi.gcp.container.kotlin.outputs.GetClusterNodePoolAutoscaling.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.container.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property locationPolicy Location policy specifies the algorithm used when scaling-up the node pool. "BALANCED" - Is a best effort policy that aims to balance the sizes of available zones. "ANY" - Instructs the cluster autoscaler to prioritize utilization of unused reservations, and reduces preemption risk for Spot VMs.
* @property maxNodeCount Maximum number of nodes per zone in the node pool. Must be >= min_node_count. Cannot be used with total limits.
* @property minNodeCount Minimum number of nodes per zone in the node pool. Must be >=0 and <= max_node_count. Cannot be used with total limits.
* @property totalMaxNodeCount Maximum number of all nodes in the node pool. Must be >= total_min_node_count. Cannot be used with per zone limits.
* @property totalMinNodeCount Minimum number of all nodes in the node pool. Must be >=0 and <= total_max_node_count. Cannot be used with per zone limits.
*/
public data class GetClusterNodePoolAutoscaling(
public val locationPolicy: String,
public val maxNodeCount: Int,
public val minNodeCount: Int,
public val totalMaxNodeCount: Int,
public val totalMinNodeCount: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.GetClusterNodePoolAutoscaling): GetClusterNodePoolAutoscaling = GetClusterNodePoolAutoscaling(
locationPolicy = javaType.locationPolicy(),
maxNodeCount = javaType.maxNodeCount(),
minNodeCount = javaType.minNodeCount(),
totalMaxNodeCount = javaType.totalMaxNodeCount(),
totalMinNodeCount = javaType.totalMinNodeCount(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy