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

com.pulumi.azure.appservice.inputs.LinuxWebAppLogsApplicationLogsArgs 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.azure.appservice.inputs.LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LinuxWebAppLogsApplicationLogsArgs Empty = new LinuxWebAppLogsApplicationLogsArgs();

    /**
     * An `azure_blob_storage` block as defined below.
     * 
     */
    @Import(name="azureBlobStorage")
    private @Nullable Output azureBlobStorage;

    /**
     * @return An `azure_blob_storage` block as defined below.
     * 
     */
    public Optional> azureBlobStorage() {
        return Optional.ofNullable(this.azureBlobStorage);
    }

    /**
     * Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
     * 
     */
    @Import(name="fileSystemLevel", required=true)
    private Output fileSystemLevel;

    /**
     * @return Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
     * 
     */
    public Output fileSystemLevel() {
        return this.fileSystemLevel;
    }

    private LinuxWebAppLogsApplicationLogsArgs() {}

    private LinuxWebAppLogsApplicationLogsArgs(LinuxWebAppLogsApplicationLogsArgs $) {
        this.azureBlobStorage = $.azureBlobStorage;
        this.fileSystemLevel = $.fileSystemLevel;
    }

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

    public static final class Builder {
        private LinuxWebAppLogsApplicationLogsArgs $;

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

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

        /**
         * @param azureBlobStorage An `azure_blob_storage` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder azureBlobStorage(@Nullable Output azureBlobStorage) {
            $.azureBlobStorage = azureBlobStorage;
            return this;
        }

        /**
         * @param azureBlobStorage An `azure_blob_storage` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder azureBlobStorage(LinuxWebAppLogsApplicationLogsAzureBlobStorageArgs azureBlobStorage) {
            return azureBlobStorage(Output.of(azureBlobStorage));
        }

        /**
         * @param fileSystemLevel Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemLevel(Output fileSystemLevel) {
            $.fileSystemLevel = fileSystemLevel;
            return this;
        }

        /**
         * @param fileSystemLevel Log level. Possible values include: `Off`, `Verbose`, `Information`, `Warning`, and `Error`.
         * 
         * @return builder
         * 
         */
        public Builder fileSystemLevel(String fileSystemLevel) {
            return fileSystemLevel(Output.of(fileSystemLevel));
        }

        public LinuxWebAppLogsApplicationLogsArgs build() {
            if ($.fileSystemLevel == null) {
                throw new MissingRequiredPropertyException("LinuxWebAppLogsApplicationLogsArgs", "fileSystemLevel");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy