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

com.pulumi.azurenative.web.inputs.AzureTableStorageApplicationLogsConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.azurenative.web.inputs;

import com.pulumi.azurenative.web.enums.LogLevel;
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;


/**
 * Application logs to Azure table storage configuration.
 * 
 */
public final class AzureTableStorageApplicationLogsConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureTableStorageApplicationLogsConfigArgs Empty = new AzureTableStorageApplicationLogsConfigArgs();

    /**
     * Log level.
     * 
     */
    @Import(name="level")
    private @Nullable Output level;

    /**
     * @return Log level.
     * 
     */
    public Optional> level() {
        return Optional.ofNullable(this.level);
    }

    /**
     * SAS URL to an Azure table with add/query/delete permissions.
     * 
     */
    @Import(name="sasUrl", required=true)
    private Output sasUrl;

    /**
     * @return SAS URL to an Azure table with add/query/delete permissions.
     * 
     */
    public Output sasUrl() {
        return this.sasUrl;
    }

    private AzureTableStorageApplicationLogsConfigArgs() {}

    private AzureTableStorageApplicationLogsConfigArgs(AzureTableStorageApplicationLogsConfigArgs $) {
        this.level = $.level;
        this.sasUrl = $.sasUrl;
    }

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

    public static final class Builder {
        private AzureTableStorageApplicationLogsConfigArgs $;

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

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

        /**
         * @param level Log level.
         * 
         * @return builder
         * 
         */
        public Builder level(@Nullable Output level) {
            $.level = level;
            return this;
        }

        /**
         * @param level Log level.
         * 
         * @return builder
         * 
         */
        public Builder level(LogLevel level) {
            return level(Output.of(level));
        }

        /**
         * @param sasUrl SAS URL to an Azure table with add/query/delete permissions.
         * 
         * @return builder
         * 
         */
        public Builder sasUrl(Output sasUrl) {
            $.sasUrl = sasUrl;
            return this;
        }

        /**
         * @param sasUrl SAS URL to an Azure table with add/query/delete permissions.
         * 
         * @return builder
         * 
         */
        public Builder sasUrl(String sasUrl) {
            return sasUrl(Output.of(sasUrl));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy