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

com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotSiteConfigApplicationStackArgs 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.15.0
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.azure.appservice.inputs.LinuxFunctionAppSlotSiteConfigApplicationStackDockerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LinuxFunctionAppSlotSiteConfigApplicationStackArgs Empty = new LinuxFunctionAppSlotSiteConfigApplicationStackArgs();

    /**
     * a `docker` block as detailed below.
     * 
     */
    @Import(name="dockers")
    private @Nullable Output> dockers;

    /**
     * @return a `docker` block as detailed below.
     * 
     */
    public Optional>> dockers() {
        return Optional.ofNullable(this.dockers);
    }

    /**
     * The version of .Net. Possible values are `3.1`, `6.0`, `7.0` and `8.0`.
     * 
     */
    @Import(name="dotnetVersion")
    private @Nullable Output dotnetVersion;

    /**
     * @return The version of .Net. Possible values are `3.1`, `6.0`, `7.0` and `8.0`.
     * 
     */
    public Optional> dotnetVersion() {
        return Optional.ofNullable(this.dotnetVersion);
    }

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

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

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

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

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

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

    /**
     * The version of Python to use. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
     * 
     */
    @Import(name="pythonVersion")
    private @Nullable Output pythonVersion;

    /**
     * @return The version of Python to use. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
     * 
     */
    public Optional> pythonVersion() {
        return Optional.ofNullable(this.pythonVersion);
    }

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

    /**
     * @return Should the Linux 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 LinuxFunctionAppSlotSiteConfigApplicationStackArgs() {}

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

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

    public static final class Builder {
        private LinuxFunctionAppSlotSiteConfigApplicationStackArgs $;

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

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

        /**
         * @param dockers a `docker` block as detailed below.
         * 
         * @return builder
         * 
         */
        public Builder dockers(@Nullable Output> dockers) {
            $.dockers = dockers;
            return this;
        }

        /**
         * @param dockers a `docker` block as detailed below.
         * 
         * @return builder
         * 
         */
        public Builder dockers(List dockers) {
            return dockers(Output.of(dockers));
        }

        /**
         * @param dockers a `docker` block as detailed below.
         * 
         * @return builder
         * 
         */
        public Builder dockers(LinuxFunctionAppSlotSiteConfigApplicationStackDockerArgs... dockers) {
            return dockers(List.of(dockers));
        }

        /**
         * @param dotnetVersion The version of .Net. Possible values are `3.1`, `6.0`, `7.0` and `8.0`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(@Nullable Output dotnetVersion) {
            $.dotnetVersion = dotnetVersion;
            return this;
        }

        /**
         * @param dotnetVersion The version of .Net. Possible values are `3.1`, `6.0`, `7.0` and `8.0`.
         * 
         * @return builder
         * 
         */
        public Builder dotnetVersion(String dotnetVersion) {
            return dotnetVersion(Output.of(dotnetVersion));
        }

        /**
         * @param javaVersion The version of Java to use. Possible values are `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. Possible values are `8`, `11` & `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 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 use. 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 use. Possibles values are `7` , `7.2`, and `7.4`.
         * 
         * @return builder
         * 
         */
        public Builder powershellCoreVersion(@Nullable Output powershellCoreVersion) {
            $.powershellCoreVersion = powershellCoreVersion;
            return this;
        }

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

        /**
         * @param pythonVersion The version of Python to use. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
         * 
         * @return builder
         * 
         */
        public Builder pythonVersion(@Nullable Output pythonVersion) {
            $.pythonVersion = pythonVersion;
            return this;
        }

        /**
         * @param pythonVersion The version of Python to use. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
         * 
         * @return builder
         * 
         */
        public Builder pythonVersion(String pythonVersion) {
            return pythonVersion(Output.of(pythonVersion));
        }

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

        /**
         * @param useCustomRuntime Should the Linux 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 LinuxFunctionAppSlotSiteConfigApplicationStackArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy