com.pulumi.azure.monitoring.kotlin.outputs.AutoscaleSettingProfileRule.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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