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

com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSiteConfigApplicationStack.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.21.0.0
Show newest version
@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 One or more `docker` blocks as defined below.
 * @property dotnetVersion The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0` and `8.0`.
 * @property javaVersion The Version of Java to use. Supported versions include `8`, `11` & `17`.
 * @property nodeVersion The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`.
 * @property powershellCoreVersion The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`.
 * @property pythonVersion The version of Python to run. 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 LinuxFunctionAppSiteConfigApplicationStack(
    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.LinuxFunctionAppSiteConfigApplicationStack):
            LinuxFunctionAppSiteConfigApplicationStack = LinuxFunctionAppSiteConfigApplicationStack(
            dockers = javaType.dockers().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.appservice.kotlin.outputs.LinuxFunctionAppSiteConfigApplicationStackDocker.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