![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.appplatform.kotlin.outputs.CustomScaleRuleResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.appplatform.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Azure Spring Apps App Instance Custom scaling rule.
* @property auth Authentication secrets for the custom scale rule.
* @property metadata Metadata properties to describe custom scale rule.
* @property type Type of the custom scale rule
* eg: azure-servicebus, redis etc.
*/
public data class CustomScaleRuleResponse(
public val auth: List? = null,
public val metadata: Map? = null,
public val type: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.appplatform.outputs.CustomScaleRuleResponse): CustomScaleRuleResponse = CustomScaleRuleResponse(
auth = javaType.auth().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.appplatform.kotlin.outputs.ScaleRuleAuthResponse.Companion.toKotlin(args0)
})
}),
metadata = javaType.metadata().map({ args0 -> args0.key.to(args0.value) }).toMap(),
type = javaType.type().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy