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

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

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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 WindowsFunctionAppSiteConfigApplicationStackArgs extends com.pulumi.resources.ResourceArgs {

    public static final WindowsFunctionAppSiteConfigApplicationStackArgs Empty = new WindowsFunctionAppSiteConfigApplicationStackArgs();

    /**
     * The version of .NET to use. Possible values include `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 to use. Possible values include `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. Supported versions include `1.8`, `11` & `17` (In-Preview).
     * 
     */
    @Import(name="javaVersion")
    private @Nullable Output javaVersion;

    /**
     * @return The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
     * 
     */
    public Optional> javaVersion() {
        return Optional.ofNullable(this.javaVersion);
    }

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

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

    /**
     * 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.
     * 
     */
    @Import(name="powershellCoreVersion")
    private @Nullable Output powershellCoreVersion;

    /**
     * @return 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.
     * 
     */
    public Optional> powershellCoreVersion() {
        return Optional.ofNullable(this.powershellCoreVersion);
    }

    /**
     * Should the Windows Function App use a custom runtime?
     * 
     */
    @Import(name="useCustomRuntime")
    private @Nullable Output useCustomRuntime;

    /**
     * @return Should the Windows Function App use a custom runtime?
     * 
     */
    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 WindowsFunctionAppSiteConfigApplicationStackArgs() {}

    private WindowsFunctionAppSiteConfigApplicationStackArgs(WindowsFunctionAppSiteConfigApplicationStackArgs $) {
        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(WindowsFunctionAppSiteConfigApplicationStackArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private WindowsFunctionAppSiteConfigApplicationStackArgs $;

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

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

        /**
         * @param 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`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(@Nullable Output dotnetVersion) {
            $.dotnetVersion = dotnetVersion;
            return this;
        }

        /**
         * @param 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`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(String dotnetVersion) {
            return dotnetVersion(Output.of(dotnetVersion));
        }

        /**
         * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
         * 
         * @return builder
         * 
         */
        public Builder javaVersion(@Nullable Output javaVersion) {
            $.javaVersion = javaVersion;
            return this;
        }

        /**
         * @param javaVersion The Version of Java to use. Supported versions include `1.8`, `11` & `17` (In-Preview).
         * 
         * @return builder
         * 
         */
        public Builder javaVersion(String javaVersion) {
            return javaVersion(Output.of(javaVersion));
        }

        /**
         * @param nodeVersion The version of Node to run. Possible values include `~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 run. Possible values include `~12`, `~14`, `~16`, `~18` and `~20`.
         * 
         * @return builder
         * 
         */
        public Builder nodeVersion(String nodeVersion) {
            return nodeVersion(Output.of(nodeVersion));
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder powershellCoreVersion(@Nullable Output powershellCoreVersion) {
            $.powershellCoreVersion = powershellCoreVersion;
            return this;
        }

        /**
         * @param 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.
         * 
         * @return builder
         * 
         */
        public Builder powershellCoreVersion(String powershellCoreVersion) {
            return powershellCoreVersion(Output.of(powershellCoreVersion));
        }

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

        /**
         * @param useCustomRuntime Should the Windows Function App use a custom runtime?
         * 
         * @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 WindowsFunctionAppSiteConfigApplicationStackArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy