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

com.pulumi.azurenative.migrate.inputs.IISWebApplicationArgs 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.azurenative.migrate.inputs;

import com.pulumi.azurenative.migrate.inputs.BindingArgs;
import com.pulumi.azurenative.migrate.inputs.DirectoryPathArgs;
import com.pulumi.azurenative.migrate.inputs.IISApplicationDetailsArgs;
import com.pulumi.azurenative.migrate.inputs.IISVirtualApplicationDetailsArgs;
import com.pulumi.azurenative.migrate.inputs.IISWebServerArgs;
import com.pulumi.azurenative.migrate.inputs.ResourceRequirementsArgs;
import com.pulumi.azurenative.migrate.inputs.WebApplicationConfigurationArgs;
import com.pulumi.azurenative.migrate.inputs.WebApplicationDirectoryArgs;
import com.pulumi.azurenative.migrate.inputs.WebApplicationFrameworkArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * IISWeb application.
 * 
 */
public final class IISWebApplicationArgs extends com.pulumi.resources.ResourceArgs {

    public static final IISWebApplicationArgs Empty = new IISWebApplicationArgs();

    /**
     * Gets or sets the web application id.
     * 
     */
    @Import(name="applicationId")
    private @Nullable Output applicationId;

    /**
     * @return Gets or sets the web application id.
     * 
     */
    public Optional> applicationId() {
        return Optional.ofNullable(this.applicationId);
    }

    /**
     * Gets or sets the web application name.
     * 
     */
    @Import(name="applicationName")
    private @Nullable Output applicationName;

    /**
     * @return Gets or sets the web application name.
     * 
     */
    public Optional> applicationName() {
        return Optional.ofNullable(this.applicationName);
    }

    /**
     * Gets or sets application scratch path.
     * 
     */
    @Import(name="applicationScratchPath")
    private @Nullable Output applicationScratchPath;

    /**
     * @return Gets or sets application scratch path.
     * 
     */
    public Optional> applicationScratchPath() {
        return Optional.ofNullable(this.applicationScratchPath);
    }

    /**
     * Gets or sets the list of applications for the IIS web site.
     * 
     */
    @Import(name="applications")
    private @Nullable Output> applications;

    /**
     * @return Gets or sets the list of applications for the IIS web site.
     * 
     */
    public Optional>> applications() {
        return Optional.ofNullable(this.applications);
    }

    /**
     * Gets or sets the bindings for the application.
     * 
     */
    @Import(name="bindings")
    private @Nullable Output> bindings;

    /**
     * @return Gets or sets the bindings for the application.
     * 
     */
    public Optional>> bindings() {
        return Optional.ofNullable(this.bindings);
    }

    /**
     * Gets or sets application configuration.
     * 
     */
    @Import(name="configurations")
    private @Nullable Output> configurations;

    /**
     * @return Gets or sets application configuration.
     * 
     */
    public Optional>> configurations() {
        return Optional.ofNullable(this.configurations);
    }

    /**
     * Gets or sets application directories.
     * 
     */
    @Import(name="directories")
    private @Nullable Output> directories;

    /**
     * @return Gets or sets application directories.
     * 
     */
    public Optional>> directories() {
        return Optional.ofNullable(this.directories);
    }

    /**
     * Gets or sets the discovered frameworks of application.
     * 
     */
    @Import(name="discoveredFrameworks")
    private @Nullable Output> discoveredFrameworks;

    /**
     * @return Gets or sets the discovered frameworks of application.
     * 
     */
    public Optional>> discoveredFrameworks() {
        return Optional.ofNullable(this.discoveredFrameworks);
    }

    /**
     * Gets or sets the display name.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Gets or sets the display name.
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * IISWeb server.
     * 
     */
    @Import(name="iisWebServer")
    private @Nullable Output iisWebServer;

    /**
     * @return IISWeb server.
     * 
     */
    public Optional> iisWebServer() {
        return Optional.ofNullable(this.iisWebServer);
    }

    /**
     * Resource Requirements.
     * 
     */
    @Import(name="limits")
    private @Nullable Output limits;

    /**
     * @return Resource Requirements.
     * 
     */
    public Optional> limits() {
        return Optional.ofNullable(this.limits);
    }

    /**
     * Second level entity for virtual directories.
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return Second level entity for virtual directories.
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    /**
     * Framework specific data for a web application.
     * 
     */
    @Import(name="primaryFramework")
    private @Nullable Output primaryFramework;

    /**
     * @return Framework specific data for a web application.
     * 
     */
    public Optional> primaryFramework() {
        return Optional.ofNullable(this.primaryFramework);
    }

    /**
     * Resource Requirements.
     * 
     */
    @Import(name="requests")
    private @Nullable Output requests;

    /**
     * @return Resource Requirements.
     * 
     */
    public Optional> requests() {
        return Optional.ofNullable(this.requests);
    }

    /**
     * Gets or sets the list of application units for the web site.
     * 
     */
    @Import(name="virtualApplications")
    private @Nullable Output> virtualApplications;

    /**
     * @return Gets or sets the list of application units for the web site.
     * 
     */
    public Optional>> virtualApplications() {
        return Optional.ofNullable(this.virtualApplications);
    }

    /**
     * Gets or sets the web server id.
     * 
     */
    @Import(name="webServerId")
    private @Nullable Output webServerId;

    /**
     * @return Gets or sets the web server id.
     * 
     */
    public Optional> webServerId() {
        return Optional.ofNullable(this.webServerId);
    }

    /**
     * Gets or sets the web server name.
     * 
     */
    @Import(name="webServerName")
    private @Nullable Output webServerName;

    /**
     * @return Gets or sets the web server name.
     * 
     */
    public Optional> webServerName() {
        return Optional.ofNullable(this.webServerName);
    }

    private IISWebApplicationArgs() {}

    private IISWebApplicationArgs(IISWebApplicationArgs $) {
        this.applicationId = $.applicationId;
        this.applicationName = $.applicationName;
        this.applicationScratchPath = $.applicationScratchPath;
        this.applications = $.applications;
        this.bindings = $.bindings;
        this.configurations = $.configurations;
        this.directories = $.directories;
        this.discoveredFrameworks = $.discoveredFrameworks;
        this.displayName = $.displayName;
        this.iisWebServer = $.iisWebServer;
        this.limits = $.limits;
        this.path = $.path;
        this.primaryFramework = $.primaryFramework;
        this.requests = $.requests;
        this.virtualApplications = $.virtualApplications;
        this.webServerId = $.webServerId;
        this.webServerName = $.webServerName;
    }

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

    public static final class Builder {
        private IISWebApplicationArgs $;

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

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

        /**
         * @param applicationId Gets or sets the web application id.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(@Nullable Output applicationId) {
            $.applicationId = applicationId;
            return this;
        }

        /**
         * @param applicationId Gets or sets the web application id.
         * 
         * @return builder
         * 
         */
        public Builder applicationId(String applicationId) {
            return applicationId(Output.of(applicationId));
        }

        /**
         * @param applicationName Gets or sets the web application name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(@Nullable Output applicationName) {
            $.applicationName = applicationName;
            return this;
        }

        /**
         * @param applicationName Gets or sets the web application name.
         * 
         * @return builder
         * 
         */
        public Builder applicationName(String applicationName) {
            return applicationName(Output.of(applicationName));
        }

        /**
         * @param applicationScratchPath Gets or sets application scratch path.
         * 
         * @return builder
         * 
         */
        public Builder applicationScratchPath(@Nullable Output applicationScratchPath) {
            $.applicationScratchPath = applicationScratchPath;
            return this;
        }

        /**
         * @param applicationScratchPath Gets or sets application scratch path.
         * 
         * @return builder
         * 
         */
        public Builder applicationScratchPath(String applicationScratchPath) {
            return applicationScratchPath(Output.of(applicationScratchPath));
        }

        /**
         * @param applications Gets or sets the list of applications for the IIS web site.
         * 
         * @return builder
         * 
         */
        public Builder applications(@Nullable Output> applications) {
            $.applications = applications;
            return this;
        }

        /**
         * @param applications Gets or sets the list of applications for the IIS web site.
         * 
         * @return builder
         * 
         */
        public Builder applications(List applications) {
            return applications(Output.of(applications));
        }

        /**
         * @param applications Gets or sets the list of applications for the IIS web site.
         * 
         * @return builder
         * 
         */
        public Builder applications(IISApplicationDetailsArgs... applications) {
            return applications(List.of(applications));
        }

        /**
         * @param bindings Gets or sets the bindings for the application.
         * 
         * @return builder
         * 
         */
        public Builder bindings(@Nullable Output> bindings) {
            $.bindings = bindings;
            return this;
        }

        /**
         * @param bindings Gets or sets the bindings for the application.
         * 
         * @return builder
         * 
         */
        public Builder bindings(List bindings) {
            return bindings(Output.of(bindings));
        }

        /**
         * @param bindings Gets or sets the bindings for the application.
         * 
         * @return builder
         * 
         */
        public Builder bindings(BindingArgs... bindings) {
            return bindings(List.of(bindings));
        }

        /**
         * @param configurations Gets or sets application configuration.
         * 
         * @return builder
         * 
         */
        public Builder configurations(@Nullable Output> configurations) {
            $.configurations = configurations;
            return this;
        }

        /**
         * @param configurations Gets or sets application configuration.
         * 
         * @return builder
         * 
         */
        public Builder configurations(List configurations) {
            return configurations(Output.of(configurations));
        }

        /**
         * @param configurations Gets or sets application configuration.
         * 
         * @return builder
         * 
         */
        public Builder configurations(WebApplicationConfigurationArgs... configurations) {
            return configurations(List.of(configurations));
        }

        /**
         * @param directories Gets or sets application directories.
         * 
         * @return builder
         * 
         */
        public Builder directories(@Nullable Output> directories) {
            $.directories = directories;
            return this;
        }

        /**
         * @param directories Gets or sets application directories.
         * 
         * @return builder
         * 
         */
        public Builder directories(List directories) {
            return directories(Output.of(directories));
        }

        /**
         * @param directories Gets or sets application directories.
         * 
         * @return builder
         * 
         */
        public Builder directories(WebApplicationDirectoryArgs... directories) {
            return directories(List.of(directories));
        }

        /**
         * @param discoveredFrameworks Gets or sets the discovered frameworks of application.
         * 
         * @return builder
         * 
         */
        public Builder discoveredFrameworks(@Nullable Output> discoveredFrameworks) {
            $.discoveredFrameworks = discoveredFrameworks;
            return this;
        }

        /**
         * @param discoveredFrameworks Gets or sets the discovered frameworks of application.
         * 
         * @return builder
         * 
         */
        public Builder discoveredFrameworks(List discoveredFrameworks) {
            return discoveredFrameworks(Output.of(discoveredFrameworks));
        }

        /**
         * @param discoveredFrameworks Gets or sets the discovered frameworks of application.
         * 
         * @return builder
         * 
         */
        public Builder discoveredFrameworks(WebApplicationFrameworkArgs... discoveredFrameworks) {
            return discoveredFrameworks(List.of(discoveredFrameworks));
        }

        /**
         * @param displayName Gets or sets the display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Gets or sets the display name.
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param iisWebServer IISWeb server.
         * 
         * @return builder
         * 
         */
        public Builder iisWebServer(@Nullable Output iisWebServer) {
            $.iisWebServer = iisWebServer;
            return this;
        }

        /**
         * @param iisWebServer IISWeb server.
         * 
         * @return builder
         * 
         */
        public Builder iisWebServer(IISWebServerArgs iisWebServer) {
            return iisWebServer(Output.of(iisWebServer));
        }

        /**
         * @param limits Resource Requirements.
         * 
         * @return builder
         * 
         */
        public Builder limits(@Nullable Output limits) {
            $.limits = limits;
            return this;
        }

        /**
         * @param limits Resource Requirements.
         * 
         * @return builder
         * 
         */
        public Builder limits(ResourceRequirementsArgs limits) {
            return limits(Output.of(limits));
        }

        /**
         * @param path Second level entity for virtual directories.
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output path) {
            $.path = path;
            return this;
        }

        /**
         * @param path Second level entity for virtual directories.
         * 
         * @return builder
         * 
         */
        public Builder path(DirectoryPathArgs path) {
            return path(Output.of(path));
        }

        /**
         * @param primaryFramework Framework specific data for a web application.
         * 
         * @return builder
         * 
         */
        public Builder primaryFramework(@Nullable Output primaryFramework) {
            $.primaryFramework = primaryFramework;
            return this;
        }

        /**
         * @param primaryFramework Framework specific data for a web application.
         * 
         * @return builder
         * 
         */
        public Builder primaryFramework(WebApplicationFrameworkArgs primaryFramework) {
            return primaryFramework(Output.of(primaryFramework));
        }

        /**
         * @param requests Resource Requirements.
         * 
         * @return builder
         * 
         */
        public Builder requests(@Nullable Output requests) {
            $.requests = requests;
            return this;
        }

        /**
         * @param requests Resource Requirements.
         * 
         * @return builder
         * 
         */
        public Builder requests(ResourceRequirementsArgs requests) {
            return requests(Output.of(requests));
        }

        /**
         * @param virtualApplications Gets or sets the list of application units for the web site.
         * 
         * @return builder
         * 
         */
        public Builder virtualApplications(@Nullable Output> virtualApplications) {
            $.virtualApplications = virtualApplications;
            return this;
        }

        /**
         * @param virtualApplications Gets or sets the list of application units for the web site.
         * 
         * @return builder
         * 
         */
        public Builder virtualApplications(List virtualApplications) {
            return virtualApplications(Output.of(virtualApplications));
        }

        /**
         * @param virtualApplications Gets or sets the list of application units for the web site.
         * 
         * @return builder
         * 
         */
        public Builder virtualApplications(IISVirtualApplicationDetailsArgs... virtualApplications) {
            return virtualApplications(List.of(virtualApplications));
        }

        /**
         * @param webServerId Gets or sets the web server id.
         * 
         * @return builder
         * 
         */
        public Builder webServerId(@Nullable Output webServerId) {
            $.webServerId = webServerId;
            return this;
        }

        /**
         * @param webServerId Gets or sets the web server id.
         * 
         * @return builder
         * 
         */
        public Builder webServerId(String webServerId) {
            return webServerId(Output.of(webServerId));
        }

        /**
         * @param webServerName Gets or sets the web server name.
         * 
         * @return builder
         * 
         */
        public Builder webServerName(@Nullable Output webServerName) {
            $.webServerName = webServerName;
            return this;
        }

        /**
         * @param webServerName Gets or sets the web server name.
         * 
         * @return builder
         * 
         */
        public Builder webServerName(String webServerName) {
            return webServerName(Output.of(webServerName));
        }

        public IISWebApplicationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy