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

com.pulumi.azure.appservice.outputs.GetWindowsWebAppLog 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.GetWindowsWebAppLogApplicationLog;
import com.pulumi.azure.appservice.outputs.GetWindowsWebAppLogHttpLog;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetWindowsWebAppLog {
    /**
     * @return A `application_logs` block as defined above.
     * 
     */
    private List applicationLogs;
    /**
     * @return Is Detailed Error Messaging enabled.
     * 
     */
    private Boolean detailedErrorMessages;
    /**
     * @return Is Failed Request Tracing enabled.
     * 
     */
    private Boolean failedRequestTracing;
    /**
     * @return An `http_logs` block as defined above.
     * 
     */
    private List httpLogs;

    private GetWindowsWebAppLog() {}
    /**
     * @return A `application_logs` block as defined above.
     * 
     */
    public List applicationLogs() {
        return this.applicationLogs;
    }
    /**
     * @return Is Detailed Error Messaging enabled.
     * 
     */
    public Boolean detailedErrorMessages() {
        return this.detailedErrorMessages;
    }
    /**
     * @return Is Failed Request Tracing enabled.
     * 
     */
    public Boolean failedRequestTracing() {
        return this.failedRequestTracing;
    }
    /**
     * @return An `http_logs` block as defined above.
     * 
     */
    public List httpLogs() {
        return this.httpLogs;
    }

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

    public static Builder builder(GetWindowsWebAppLog defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List applicationLogs;
        private Boolean detailedErrorMessages;
        private Boolean failedRequestTracing;
        private List httpLogs;
        public Builder() {}
        public Builder(GetWindowsWebAppLog defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationLogs = defaults.applicationLogs;
    	      this.detailedErrorMessages = defaults.detailedErrorMessages;
    	      this.failedRequestTracing = defaults.failedRequestTracing;
    	      this.httpLogs = defaults.httpLogs;
        }

        @CustomType.Setter
        public Builder applicationLogs(List applicationLogs) {
            if (applicationLogs == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLog", "applicationLogs");
            }
            this.applicationLogs = applicationLogs;
            return this;
        }
        public Builder applicationLogs(GetWindowsWebAppLogApplicationLog... applicationLogs) {
            return applicationLogs(List.of(applicationLogs));
        }
        @CustomType.Setter
        public Builder detailedErrorMessages(Boolean detailedErrorMessages) {
            if (detailedErrorMessages == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLog", "detailedErrorMessages");
            }
            this.detailedErrorMessages = detailedErrorMessages;
            return this;
        }
        @CustomType.Setter
        public Builder failedRequestTracing(Boolean failedRequestTracing) {
            if (failedRequestTracing == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLog", "failedRequestTracing");
            }
            this.failedRequestTracing = failedRequestTracing;
            return this;
        }
        @CustomType.Setter
        public Builder httpLogs(List httpLogs) {
            if (httpLogs == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLog", "httpLogs");
            }
            this.httpLogs = httpLogs;
            return this;
        }
        public Builder httpLogs(GetWindowsWebAppLogHttpLog... httpLogs) {
            return httpLogs(List.of(httpLogs));
        }
        public GetWindowsWebAppLog build() {
            final var _resultValue = new GetWindowsWebAppLog();
            _resultValue.applicationLogs = applicationLogs;
            _resultValue.detailedErrorMessages = detailedErrorMessages;
            _resultValue.failedRequestTracing = failedRequestTracing;
            _resultValue.httpLogs = httpLogs;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy