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

com.pulumi.azure.appservice.kotlin.inputs.WindowsFunctionAppSiteConfigApplicationStackArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.appservice.kotlin.inputs

import com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigApplicationStackArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @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 WindowsFunctionAppSiteConfigApplicationStackArgs(
    public val dotnetVersion: Output? = null,
    public val javaVersion: Output? = null,
    public val nodeVersion: Output? = null,
    public val powershellCoreVersion: Output? = null,
    public val useCustomRuntime: Output? = null,
    public val useDotnetIsolatedRuntime: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava():
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigApplicationStackArgs =
        com.pulumi.azure.appservice.inputs.WindowsFunctionAppSiteConfigApplicationStackArgs.builder()
            .dotnetVersion(dotnetVersion?.applyValue({ args0 -> args0 }))
            .javaVersion(javaVersion?.applyValue({ args0 -> args0 }))
            .nodeVersion(nodeVersion?.applyValue({ args0 -> args0 }))
            .powershellCoreVersion(powershellCoreVersion?.applyValue({ args0 -> args0 }))
            .useCustomRuntime(useCustomRuntime?.applyValue({ args0 -> args0 }))
            .useDotnetIsolatedRuntime(useDotnetIsolatedRuntime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WindowsFunctionAppSiteConfigApplicationStackArgs].
 */
@PulumiTagMarker
public class WindowsFunctionAppSiteConfigApplicationStackArgsBuilder internal constructor() {
    private var dotnetVersion: Output? = null

    private var javaVersion: Output? = null

    private var nodeVersion: Output? = null

    private var powershellCoreVersion: Output? = null

    private var useCustomRuntime: Output? = null

    private var useDotnetIsolatedRuntime: Output? = null

    /**
     * @param value The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
     */
    @JvmName("nkcdyrhyciaayrfh")
    public suspend fun dotnetVersion(`value`: Output) {
        this.dotnetVersion = value
    }

    /**
     * @param value The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
     */
    @JvmName("bsqrtwdtxpabtsuh")
    public suspend fun javaVersion(`value`: Output) {
        this.javaVersion = value
    }

    /**
     * @param value The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`.
     */
    @JvmName("ahjhjufenkrphiug")
    public suspend fun nodeVersion(`value`: Output) {
        this.nodeVersion = value
    }

    /**
     * @param value 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.
     */
    @JvmName("rwkopskcvwrjiefx")
    public suspend fun powershellCoreVersion(`value`: Output) {
        this.powershellCoreVersion = value
    }

    /**
     * @param value Should the Windows Function App use a custom runtime?
     */
    @JvmName("qdixmbqjctbfnepo")
    public suspend fun useCustomRuntime(`value`: Output) {
        this.useCustomRuntime = value
    }

    /**
     * @param value Should the DotNet process use an isolated runtime. Defaults to `false`.
     */
    @JvmName("ilejpiweolaifagk")
    public suspend fun useDotnetIsolatedRuntime(`value`: Output) {
        this.useDotnetIsolatedRuntime = value
    }

    /**
     * @param value The version of .NET to use. Possible values include `v3.0`, `v4.0` `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
     */
    @JvmName("lxrnbxnhyohnovut")
    public suspend fun dotnetVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dotnetVersion = mapped
    }

    /**
     * @param value The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
     */
    @JvmName("flyslmxmeosudnlo")
    public suspend fun javaVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.javaVersion = mapped
    }

    /**
     * @param value The version of Node to run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`.
     */
    @JvmName("gyrfyaexocanpmfa")
    public suspend fun nodeVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.nodeVersion = mapped
    }

    /**
     * @param value 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.
     */
    @JvmName("isojfppnyrnihvdn")
    public suspend fun powershellCoreVersion(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.powershellCoreVersion = mapped
    }

    /**
     * @param value Should the Windows Function App use a custom runtime?
     */
    @JvmName("tdoxmiyhxhuwmyut")
    public suspend fun useCustomRuntime(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useCustomRuntime = mapped
    }

    /**
     * @param value Should the DotNet process use an isolated runtime. Defaults to `false`.
     */
    @JvmName("tcireotshgbilikl")
    public suspend fun useDotnetIsolatedRuntime(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.useDotnetIsolatedRuntime = mapped
    }

    internal fun build(): WindowsFunctionAppSiteConfigApplicationStackArgs =
        WindowsFunctionAppSiteConfigApplicationStackArgs(
            dotnetVersion = dotnetVersion,
            javaVersion = javaVersion,
            nodeVersion = nodeVersion,
            powershellCoreVersion = powershellCoreVersion,
            useCustomRuntime = useCustomRuntime,
            useDotnetIsolatedRuntime = useDotnetIsolatedRuntime,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy