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

com.pulumi.azure.appservice.inputs.WindowsFunctionAppSlotSiteConfigApplicationStackArgs Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.appservice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class WindowsFunctionAppSlotSiteConfigApplicationStackArgs extends com.pulumi.resources.ResourceArgs {

    public static final WindowsFunctionAppSlotSiteConfigApplicationStackArgs Empty = new WindowsFunctionAppSlotSiteConfigApplicationStackArgs();

    /**
     * The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
     * 
     */
    @Import(name="dotnetVersion")
    private @Nullable Output dotnetVersion;

    /**
     * @return The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
     * 
     */
    public Optional> dotnetVersion() {
        return Optional.ofNullable(this.dotnetVersion);
    }

    /**
     * The version of Java to use. Possible values are `1.8`, `11` and `17` (In-Preview).
     * 
     */
    @Import(name="javaVersion")
    private @Nullable Output javaVersion;

    /**
     * @return The version of Java to use. Possible values are `1.8`, `11` and `17` (In-Preview).
     * 
     */
    public Optional> javaVersion() {
        return Optional.ofNullable(this.javaVersion);
    }

    /**
     * The version of Node to use. Possible values are `~12`, `~14`, `~16`, `~18` and `~20`.
     * 
     */
    @Import(name="nodeVersion")
    private @Nullable Output nodeVersion;

    /**
     * @return The version of Node to use. Possible values are `~12`, `~14`, `~16`, `~18` and `~20`.
     * 
     */
    public Optional> nodeVersion() {
        return Optional.ofNullable(this.nodeVersion);
    }

    /**
     * The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`.
     * 
     */
    @Import(name="powershellCoreVersion")
    private @Nullable Output powershellCoreVersion;

    /**
     * @return The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`.
     * 
     */
    public Optional> powershellCoreVersion() {
        return Optional.ofNullable(this.powershellCoreVersion);
    }

    /**
     * Does the Function App use a custom Application Stack?
     * 
     */
    @Import(name="useCustomRuntime")
    private @Nullable Output useCustomRuntime;

    /**
     * @return Does the Function App use a custom Application Stack?
     * 
     */
    public Optional> useCustomRuntime() {
        return Optional.ofNullable(this.useCustomRuntime);
    }

    /**
     * Should the DotNet process use an isolated runtime. Defaults to `false`.
     * 
     */
    @Import(name="useDotnetIsolatedRuntime")
    private @Nullable Output useDotnetIsolatedRuntime;

    /**
     * @return Should the DotNet process use an isolated runtime. Defaults to `false`.
     * 
     */
    public Optional> useDotnetIsolatedRuntime() {
        return Optional.ofNullable(this.useDotnetIsolatedRuntime);
    }

    private WindowsFunctionAppSlotSiteConfigApplicationStackArgs() {}

    private WindowsFunctionAppSlotSiteConfigApplicationStackArgs(WindowsFunctionAppSlotSiteConfigApplicationStackArgs $) {
        this.dotnetVersion = $.dotnetVersion;
        this.javaVersion = $.javaVersion;
        this.nodeVersion = $.nodeVersion;
        this.powershellCoreVersion = $.powershellCoreVersion;
        this.useCustomRuntime = $.useCustomRuntime;
        this.useDotnetIsolatedRuntime = $.useDotnetIsolatedRuntime;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(WindowsFunctionAppSlotSiteConfigApplicationStackArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private WindowsFunctionAppSlotSiteConfigApplicationStackArgs $;

        public Builder() {
            $ = new WindowsFunctionAppSlotSiteConfigApplicationStackArgs();
        }

        public Builder(WindowsFunctionAppSlotSiteConfigApplicationStackArgs defaults) {
            $ = new WindowsFunctionAppSlotSiteConfigApplicationStackArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param dotnetVersion The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(@Nullable Output dotnetVersion) {
            $.dotnetVersion = dotnetVersion;
            return this;
        }

        /**
         * @param dotnetVersion The version of .Net. Possible values are `v3.0`, `v4.0`, `v6.0`, `v7.0` and `v8.0`. Defaults to `v4.0`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(String dotnetVersion) {
            return dotnetVersion(Output.of(dotnetVersion));
        }

        /**
         * @param javaVersion The version of Java to use. Possible values are `1.8`, `11` and `17` (In-Preview).
         * 
         * @return builder
         * 
         */
        public Builder javaVersion(@Nullable Output javaVersion) {
            $.javaVersion = javaVersion;
            return this;
        }

        /**
         * @param javaVersion The version of Java to use. Possible values are `1.8`, `11` and `17` (In-Preview).
         * 
         * @return builder
         * 
         */
        public Builder javaVersion(String javaVersion) {
            return javaVersion(Output.of(javaVersion));
        }

        /**
         * @param nodeVersion The version of Node to use. Possible values are `~12`, `~14`, `~16`, `~18` and `~20`.
         * 
         * @return builder
         * 
         */
        public Builder nodeVersion(@Nullable Output nodeVersion) {
            $.nodeVersion = nodeVersion;
            return this;
        }

        /**
         * @param nodeVersion The version of Node to use. Possible values are `~12`, `~14`, `~16`, `~18` and `~20`.
         * 
         * @return builder
         * 
         */
        public Builder nodeVersion(String nodeVersion) {
            return nodeVersion(Output.of(nodeVersion));
        }

        /**
         * @param powershellCoreVersion The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`.
         * 
         * @return builder
         * 
         */
        public Builder powershellCoreVersion(@Nullable Output powershellCoreVersion) {
            $.powershellCoreVersion = powershellCoreVersion;
            return this;
        }

        /**
         * @param powershellCoreVersion The PowerShell Core version to use. Possible values are `7`, `7.2`, and `7.4`.
         * 
         * @return builder
         * 
         */
        public Builder powershellCoreVersion(String powershellCoreVersion) {
            return powershellCoreVersion(Output.of(powershellCoreVersion));
        }

        /**
         * @param useCustomRuntime Does the Function App use a custom Application Stack?
         * 
         * @return builder
         * 
         */
        public Builder useCustomRuntime(@Nullable Output useCustomRuntime) {
            $.useCustomRuntime = useCustomRuntime;
            return this;
        }

        /**
         * @param useCustomRuntime Does the Function App use a custom Application Stack?
         * 
         * @return builder
         * 
         */
        public Builder useCustomRuntime(Boolean useCustomRuntime) {
            return useCustomRuntime(Output.of(useCustomRuntime));
        }

        /**
         * @param useDotnetIsolatedRuntime Should the DotNet process use an isolated runtime. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder useDotnetIsolatedRuntime(@Nullable Output useDotnetIsolatedRuntime) {
            $.useDotnetIsolatedRuntime = useDotnetIsolatedRuntime;
            return this;
        }

        /**
         * @param useDotnetIsolatedRuntime Should the DotNet process use an isolated runtime. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder useDotnetIsolatedRuntime(Boolean useDotnetIsolatedRuntime) {
            return useDotnetIsolatedRuntime(Output.of(useDotnetIsolatedRuntime));
        }

        public WindowsFunctionAppSlotSiteConfigApplicationStackArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy