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

com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingPredictive.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.monitoring.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property lookAheadTime Specifies the amount of time by which instances are launched in advance. It must be between `PT1M` and `PT1H` in ISO 8601 format.
 * @property scaleMode Specifies the predictive scale mode. Possible values are `Enabled` or `ForecastOnly`.
 */
public data class AutoscaleSettingPredictive(
    public val lookAheadTime: String? = null,
    public val scaleMode: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AutoscaleSettingPredictive):
            AutoscaleSettingPredictive = AutoscaleSettingPredictive(
            lookAheadTime = javaType.lookAheadTime().map({ args0 -> args0 }).orElse(null),
            scaleMode = javaType.scaleMode(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy