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

com.pulumi.azure.machinelearning.kotlin.outputs.ComputeClusterScaleSettings.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.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.machinelearning.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property maxNodeCount Maximum node count. Changing this forces a new Machine Learning Compute Cluster to be created.
 * @property minNodeCount Minimal node count. Changing this forces a new Machine Learning Compute Cluster to be created.
 * @property scaleDownNodesAfterIdleDuration Node Idle Time Before Scale Down: defines the time until the compute is shutdown when it has gone into Idle state. Is defined according to W3C XML schema standard for duration. Changing this forces a new Machine Learning Compute Cluster to be created.
 */
public data class ComputeClusterScaleSettings(
    public val maxNodeCount: Int,
    public val minNodeCount: Int,
    public val scaleDownNodesAfterIdleDuration: String,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.machinelearning.outputs.ComputeClusterScaleSettings):
            ComputeClusterScaleSettings = ComputeClusterScaleSettings(
            maxNodeCount = javaType.maxNodeCount(),
            minNodeCount = javaType.minNodeCount(),
            scaleDownNodesAfterIdleDuration = javaType.scaleDownNodesAfterIdleDuration(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy