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

com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingProfileCapacity.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property default The number of instances that are available for scaling if metrics are not available for evaluation. The default is only used if the current instance count is lower than the default. Valid values are between `0` and `1000`.
 * @property maximum The maximum number of instances for this resource. Valid values are between `0` and `1000`.
 * > **NOTE:** The maximum number of instances is also limited by the amount of Cores available in the subscription.
 * @property minimum The minimum number of instances for this resource. Valid values are between `0` and `1000`.
 */
public data class AutoscaleSettingProfileCapacity(
    public val default: Int,
    public val maximum: Int,
    public val minimum: Int,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AutoscaleSettingProfileCapacity): AutoscaleSettingProfileCapacity = AutoscaleSettingProfileCapacity(
            default = javaType.default_(),
            maximum = javaType.maximum(),
            minimum = javaType.minimum(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy