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

com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppSlotSiteConfigApplicationStack.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.appservice.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property dotnetVersion The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
 * @property javaVersion The version of Java to use. Possible values are `1.8`, `11` and `17` (In-Preview).
 * @property nodeVersion The version of Node to use. Possible values are `~12`, `~14`, `~16`, `~18` and `~20`.
 * @property powershellCoreVersion The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`.
 * @property useCustomRuntime Does the Function App use a custom Application Stack?
 * @property useDotnetIsolatedRuntime Should the DotNet process use an isolated runtime. Defaults to `false`.
 */
public data class WindowsFunctionAppSlotSiteConfigApplicationStack(
    public val dotnetVersion: String? = null,
    public val javaVersion: String? = null,
    public val nodeVersion: String? = null,
    public val powershellCoreVersion: String? = null,
    public val useCustomRuntime: Boolean? = null,
    public val useDotnetIsolatedRuntime: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.appservice.outputs.WindowsFunctionAppSlotSiteConfigApplicationStack): WindowsFunctionAppSlotSiteConfigApplicationStack =
            WindowsFunctionAppSlotSiteConfigApplicationStack(
                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),
                useCustomRuntime = javaType.useCustomRuntime().map({ args0 -> args0 }).orElse(null),
                useDotnetIsolatedRuntime = javaType.useDotnetIsolatedRuntime().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy