com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotSiteConfigApplicationStack.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.appservice.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property dockers a `docker` block as detailed below.
* @property dotnetVersion The version of .Net. Possible values are `3.1`, `6.0`, `7.0` and `8.0`.
* @property javaVersion The version of Java to use. Possible values are `8`, `11` & `17` (In-Preview).
* @property nodeVersion The version of Node to use. Possible values include `12`, `14`, `16`, `18` and `20`
* @property powershellCoreVersion The version of PowerShell Core to use. Possibles values are `7` , `7.2`, and `7.4`.
* @property pythonVersion The version of Python to use. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
* @property useCustomRuntime Should the Linux Function App use a custom runtime?
* @property useDotnetIsolatedRuntime Should the DotNet process use an isolated runtime. Defaults to `false`.
*/
public data class LinuxFunctionAppSlotSiteConfigApplicationStack(
public val dockers: List? = null,
public val dotnetVersion: String? = null,
public val javaVersion: String? = null,
public val nodeVersion: String? = null,
public val powershellCoreVersion: String? = null,
public val pythonVersion: String? = null,
public val useCustomRuntime: Boolean? = null,
public val useDotnetIsolatedRuntime: Boolean? = null,
) {
public companion object {
public
fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.LinuxFunctionAppSlotSiteConfigApplicationStack):
LinuxFunctionAppSlotSiteConfigApplicationStack =
LinuxFunctionAppSlotSiteConfigApplicationStack(
dockers = javaType.dockers().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSlotSiteConfigApplicationStackDocker.Companion.toKotlin(args0)
})
}),
dotnetVersion = javaType.dotnetVersion().map({ args0 -> args0 }).orElse(null),
javaVersion = javaType.javaVersion().map({ args0 -> args0 }).orElse(null),
nodeVersion = javaType.nodeVersion().map({ args0 -> args0 }).orElse(null),
powershellCoreVersion = javaType.powershellCoreVersion().map({ args0 -> args0 }).orElse(null),
pythonVersion = javaType.pythonVersion().map({ args0 -> args0 }).orElse(null),
useCustomRuntime = javaType.useCustomRuntime().map({ args0 -> args0 }).orElse(null),
useDotnetIsolatedRuntime = javaType.useDotnetIsolatedRuntime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy