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

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


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

    public static final LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs Empty = new LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs();

    /**
     * The time in days after which to remove blobs. A value of `0` means no retention.
     * 
     */
    @Import(name="retentionInDays")
    private @Nullable Output retentionInDays;

    /**
     * @return The time in days after which to remove blobs. A value of `0` means no retention.
     * 
     */
    public Optional> retentionInDays() {
        return Optional.ofNullable(this.retentionInDays);
    }

    /**
     * SAS URL to an Azure blob container with read/write/list/delete permissions.
     * 
     */
    @Import(name="sasUrl", required=true)
    private Output sasUrl;

    /**
     * @return SAS URL to an Azure blob container with read/write/list/delete permissions.
     * 
     */
    public Output sasUrl() {
        return this.sasUrl;
    }

    private LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs() {}

    private LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs(LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs $) {
        this.retentionInDays = $.retentionInDays;
        this.sasUrl = $.sasUrl;
    }

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

    public static final class Builder {
        private LinuxWebAppSlotLogsHttpLogsAzureBlobStorageArgs $;

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

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

        /**
         * @param retentionInDays The time in days after which to remove blobs. A value of `0` means no retention.
         * 
         * @return builder
         * 
         */
        public Builder retentionInDays(@Nullable Output retentionInDays) {
            $.retentionInDays = retentionInDays;
            return this;
        }

        /**
         * @param retentionInDays The time in days after which to remove blobs. A value of `0` means no retention.
         * 
         * @return builder
         * 
         */
        public Builder retentionInDays(Integer retentionInDays) {
            return retentionInDays(Output.of(retentionInDays));
        }

        /**
         * @param sasUrl SAS URL to an Azure blob container with read/write/list/delete permissions.
         * 
         * @return builder
         * 
         */
        public Builder sasUrl(Output sasUrl) {
            $.sasUrl = sasUrl;
            return this;
        }

        /**
         * @param sasUrl SAS URL to an Azure blob container with read/write/list/delete permissions.
         * 
         * @return builder
         * 
         */
        public Builder sasUrl(String sasUrl) {
            return sasUrl(Output.of(sasUrl));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy