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

com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingProfileRuleScaleAction.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.Int
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property cooldown The amount of time to wait since the last scaling action before this action occurs. Must be between 1 minute and 1 week and formatted as a ISO 8601 string.
 * @property direction The scale direction. Possible values are `Increase` and `Decrease`.
 * @property type The type of action that should occur. Possible values are `ChangeCount`, `ExactCount`, `PercentChangeCount` and `ServiceAllowedNextValue`.
 * @property value The number of instances involved in the scaling action.
 */
public data class AutoscaleSettingProfileRuleScaleAction(
    public val cooldown: String,
    public val direction: String,
    public val type: String,
    public val `value`: Int,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AutoscaleSettingProfileRuleScaleAction):
            AutoscaleSettingProfileRuleScaleAction = AutoscaleSettingProfileRuleScaleAction(
            cooldown = javaType.cooldown(),
            direction = javaType.direction(),
            type = javaType.type(),
            `value` = javaType.`value`(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy