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

com.pulumi.azure.webpubsub.inputs.ServiceLiveTraceArgs 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.webpubsub.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ServiceLiveTraceArgs Empty = new ServiceLiveTraceArgs();

    /**
     * Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
     * 
     */
    @Import(name="connectivityLogsEnabled")
    private @Nullable Output connectivityLogsEnabled;

    /**
     * @return Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
     * 
     */
    public Optional> connectivityLogsEnabled() {
        return Optional.ofNullable(this.connectivityLogsEnabled);
    }

    /**
     * Whether the live trace is enabled? Defaults to `true`.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Whether the live trace is enabled? Defaults to `true`.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
     * 
     */
    @Import(name="httpRequestLogsEnabled")
    private @Nullable Output httpRequestLogsEnabled;

    /**
     * @return Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
     * 
     */
    public Optional> httpRequestLogsEnabled() {
        return Optional.ofNullable(this.httpRequestLogsEnabled);
    }

    /**
     * Whether the log category `MessagingLogs` is enabled? Defaults to `true`
     * 
     */
    @Import(name="messagingLogsEnabled")
    private @Nullable Output messagingLogsEnabled;

    /**
     * @return Whether the log category `MessagingLogs` is enabled? Defaults to `true`
     * 
     */
    public Optional> messagingLogsEnabled() {
        return Optional.ofNullable(this.messagingLogsEnabled);
    }

    private ServiceLiveTraceArgs() {}

    private ServiceLiveTraceArgs(ServiceLiveTraceArgs $) {
        this.connectivityLogsEnabled = $.connectivityLogsEnabled;
        this.enabled = $.enabled;
        this.httpRequestLogsEnabled = $.httpRequestLogsEnabled;
        this.messagingLogsEnabled = $.messagingLogsEnabled;
    }

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

    public static final class Builder {
        private ServiceLiveTraceArgs $;

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

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

        /**
         * @param connectivityLogsEnabled Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder connectivityLogsEnabled(@Nullable Output connectivityLogsEnabled) {
            $.connectivityLogsEnabled = connectivityLogsEnabled;
            return this;
        }

        /**
         * @param connectivityLogsEnabled Whether the log category `ConnectivityLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder connectivityLogsEnabled(Boolean connectivityLogsEnabled) {
            return connectivityLogsEnabled(Output.of(connectivityLogsEnabled));
        }

        /**
         * @param enabled Whether the live trace is enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Whether the live trace is enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param httpRequestLogsEnabled Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder httpRequestLogsEnabled(@Nullable Output httpRequestLogsEnabled) {
            $.httpRequestLogsEnabled = httpRequestLogsEnabled;
            return this;
        }

        /**
         * @param httpRequestLogsEnabled Whether the log category `HttpRequestLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder httpRequestLogsEnabled(Boolean httpRequestLogsEnabled) {
            return httpRequestLogsEnabled(Output.of(httpRequestLogsEnabled));
        }

        /**
         * @param messagingLogsEnabled Whether the log category `MessagingLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder messagingLogsEnabled(@Nullable Output messagingLogsEnabled) {
            $.messagingLogsEnabled = messagingLogsEnabled;
            return this;
        }

        /**
         * @param messagingLogsEnabled Whether the log category `MessagingLogs` is enabled? Defaults to `true`
         * 
         * @return builder
         * 
         */
        public Builder messagingLogsEnabled(Boolean messagingLogsEnabled) {
            return messagingLogsEnabled(Output.of(messagingLogsEnabled));
        }

        public ServiceLiveTraceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy