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

com.pulumi.azure.appservice.kotlin.outputs.WindowsFunctionAppSiteConfigApplicationStack.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 to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
 * @property javaVersion The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
 * @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`.
 * > **NOTE:** A value of `7` will provide the latest stable version. `7.2` is in preview at the time of writing.
 * @property useCustomRuntime Should the Windows Function App use a custom runtime?
 * @property useDotnetIsolatedRuntime Should the DotNet process use an isolated runtime. Defaults to `false`.
 */
public data class WindowsFunctionAppSiteConfigApplicationStack(
    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.WindowsFunctionAppSiteConfigApplicationStack):
            WindowsFunctionAppSiteConfigApplicationStack = WindowsFunctionAppSiteConfigApplicationStack(
            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