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

com.pulumi.azure.appservice.outputs.LinuxFunctionAppSiteConfigApplicationStack 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.outputs;

import com.pulumi.azure.appservice.outputs.LinuxFunctionAppSiteConfigApplicationStackDocker;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LinuxFunctionAppSiteConfigApplicationStack {
    /**
     * @return One or more `docker` blocks as defined below.
     * 
     */
    private @Nullable List dockers;
    /**
     * @return The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0` and `8.0`.
     * 
     */
    private @Nullable String dotnetVersion;
    /**
     * @return The Version of Java to use. Supported versions include `8`, `11` & `17`.
     * 
     */
    private @Nullable String javaVersion;
    /**
     * @return The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`.
     * 
     */
    private @Nullable String nodeVersion;
    /**
     * @return The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`.
     * 
     */
    private @Nullable String powershellCoreVersion;
    /**
     * @return The version of Python to run. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
     * 
     */
    private @Nullable String pythonVersion;
    /**
     * @return Should the Linux Function App use a custom runtime?
     * 
     */
    private @Nullable Boolean useCustomRuntime;
    /**
     * @return Should the DotNet process use an isolated runtime. Defaults to `false`.
     * 
     */
    private @Nullable Boolean useDotnetIsolatedRuntime;

    private LinuxFunctionAppSiteConfigApplicationStack() {}
    /**
     * @return One or more `docker` blocks as defined below.
     * 
     */
    public List dockers() {
        return this.dockers == null ? List.of() : this.dockers;
    }
    /**
     * @return The version of .NET to use. Possible values include `3.1`, `6.0`, `7.0` and `8.0`.
     * 
     */
    public Optional dotnetVersion() {
        return Optional.ofNullable(this.dotnetVersion);
    }
    /**
     * @return The Version of Java to use. Supported versions include `8`, `11` & `17`.
     * 
     */
    public Optional javaVersion() {
        return Optional.ofNullable(this.javaVersion);
    }
    /**
     * @return The version of Node to run. Possible values include `12`, `14`, `16`, `18` and `20`.
     * 
     */
    public Optional nodeVersion() {
        return Optional.ofNullable(this.nodeVersion);
    }
    /**
     * @return The version of PowerShell Core to run. Possible values are `7`, `7.2`, and `7.4`.
     * 
     */
    public Optional powershellCoreVersion() {
        return Optional.ofNullable(this.powershellCoreVersion);
    }
    /**
     * @return The version of Python to run. Possible values are `3.12`, `3.11`, `3.10`, `3.9`, `3.8` and `3.7`.
     * 
     */
    public Optional pythonVersion() {
        return Optional.ofNullable(this.pythonVersion);
    }
    /**
     * @return Should the Linux Function App use a custom runtime?
     * 
     */
    public Optional useCustomRuntime() {
        return Optional.ofNullable(this.useCustomRuntime);
    }
    /**
     * @return Should the DotNet process use an isolated runtime. Defaults to `false`.
     * 
     */
    public Optional useDotnetIsolatedRuntime() {
        return Optional.ofNullable(this.useDotnetIsolatedRuntime);
    }

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

    public static Builder builder(LinuxFunctionAppSiteConfigApplicationStack defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List dockers;
        private @Nullable String dotnetVersion;
        private @Nullable String javaVersion;
        private @Nullable String nodeVersion;
        private @Nullable String powershellCoreVersion;
        private @Nullable String pythonVersion;
        private @Nullable Boolean useCustomRuntime;
        private @Nullable Boolean useDotnetIsolatedRuntime;
        public Builder() {}
        public Builder(LinuxFunctionAppSiteConfigApplicationStack defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dockers = defaults.dockers;
    	      this.dotnetVersion = defaults.dotnetVersion;
    	      this.javaVersion = defaults.javaVersion;
    	      this.nodeVersion = defaults.nodeVersion;
    	      this.powershellCoreVersion = defaults.powershellCoreVersion;
    	      this.pythonVersion = defaults.pythonVersion;
    	      this.useCustomRuntime = defaults.useCustomRuntime;
    	      this.useDotnetIsolatedRuntime = defaults.useDotnetIsolatedRuntime;
        }

        @CustomType.Setter
        public Builder dockers(@Nullable List dockers) {

            this.dockers = dockers;
            return this;
        }
        public Builder dockers(LinuxFunctionAppSiteConfigApplicationStackDocker... dockers) {
            return dockers(List.of(dockers));
        }
        @CustomType.Setter
        public Builder dotnetVersion(@Nullable String dotnetVersion) {

            this.dotnetVersion = dotnetVersion;
            return this;
        }
        @CustomType.Setter
        public Builder javaVersion(@Nullable String javaVersion) {

            this.javaVersion = javaVersion;
            return this;
        }
        @CustomType.Setter
        public Builder nodeVersion(@Nullable String nodeVersion) {

            this.nodeVersion = nodeVersion;
            return this;
        }
        @CustomType.Setter
        public Builder powershellCoreVersion(@Nullable String powershellCoreVersion) {

            this.powershellCoreVersion = powershellCoreVersion;
            return this;
        }
        @CustomType.Setter
        public Builder pythonVersion(@Nullable String pythonVersion) {

            this.pythonVersion = pythonVersion;
            return this;
        }
        @CustomType.Setter
        public Builder useCustomRuntime(@Nullable Boolean useCustomRuntime) {

            this.useCustomRuntime = useCustomRuntime;
            return this;
        }
        @CustomType.Setter
        public Builder useDotnetIsolatedRuntime(@Nullable Boolean useDotnetIsolatedRuntime) {

            this.useDotnetIsolatedRuntime = useDotnetIsolatedRuntime;
            return this;
        }
        public LinuxFunctionAppSiteConfigApplicationStack build() {
            final var _resultValue = new LinuxFunctionAppSiteConfigApplicationStack();
            _resultValue.dockers = dockers;
            _resultValue.dotnetVersion = dotnetVersion;
            _resultValue.javaVersion = javaVersion;
            _resultValue.nodeVersion = nodeVersion;
            _resultValue.powershellCoreVersion = powershellCoreVersion;
            _resultValue.pythonVersion = pythonVersion;
            _resultValue.useCustomRuntime = useCustomRuntime;
            _resultValue.useDotnetIsolatedRuntime = useDotnetIsolatedRuntime;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy