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

com.pulumi.googlenative.dataproc.v1.kotlin.outputs.GkeNodePoolAutoscalingConfigResponse.kt Maven / Gradle / Ivy

Go to download

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.dataproc.v1.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 * GkeNodePoolAutoscaling contains information the cluster autoscaler needs to adjust the size of the node pool to the current cluster usage.
 * @property maxNodeCount The maximum number of nodes in the node pool. Must be >= min_node_count, and must be > 0. Note: Quota must be sufficient to scale up the cluster.
 * @property minNodeCount The minimum number of nodes in the node pool. Must be >= 0 and <= max_node_count.
 */
public data class GkeNodePoolAutoscalingConfigResponse(
    public val maxNodeCount: Int,
    public val minNodeCount: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.googlenative.dataproc.v1.outputs.GkeNodePoolAutoscalingConfigResponse): GkeNodePoolAutoscalingConfigResponse = GkeNodePoolAutoscalingConfigResponse(
            maxNodeCount = javaType.maxNodeCount(),
            minNodeCount = javaType.minNodeCount(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy