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

com.pulumi.azure.hdinsight.kotlin.outputs.HadoopClusterRolesWorkerNodeAutoscaleCapacity.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.hdinsight.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property maxInstanceCount The maximum number of worker nodes to autoscale to based on the cluster's activity.
 * @property minInstanceCount The minimum number of worker nodes to autoscale to based on the cluster's activity.
 */
public data class HadoopClusterRolesWorkerNodeAutoscaleCapacity(
    public val maxInstanceCount: Int,
    public val minInstanceCount: Int,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.hdinsight.outputs.HadoopClusterRolesWorkerNodeAutoscaleCapacity):
            HadoopClusterRolesWorkerNodeAutoscaleCapacity =
            HadoopClusterRolesWorkerNodeAutoscaleCapacity(
                maxInstanceCount = javaType.maxInstanceCount(),
                minInstanceCount = javaType.minInstanceCount(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy