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

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

/**
 *
 * @property metricTrigger A `metric_trigger` block as defined below.
 * @property scaleAction A `scale_action` block as defined below.
 */
public data class AutoscaleSettingProfileRule(
    public val metricTrigger: AutoscaleSettingProfileRuleMetricTrigger,
    public val scaleAction: AutoscaleSettingProfileRuleScaleAction,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.AutoscaleSettingProfileRule):
            AutoscaleSettingProfileRule = AutoscaleSettingProfileRule(
            metricTrigger = javaType.metricTrigger().let({ args0 ->
                com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingProfileRuleMetricTrigger.Companion.toKotlin(args0)
            }),
            scaleAction = javaType.scaleAction().let({ args0 ->
                com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingProfileRuleScaleAction.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy