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

com.pulumi.azurenative.azurestackhci.inputs.ObservabilityArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurestackhci.inputs;

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


/**
 * The Observability of AzureStackHCI Cluster.
 * 
 */
public final class ObservabilityArgs extends com.pulumi.resources.ResourceArgs {

    public static final ObservabilityArgs Empty = new ObservabilityArgs();

    /**
     * When set to true, collects log data to facilitate quicker issue resolution.
     * 
     */
    @Import(name="episodicDataUpload")
    private @Nullable Output episodicDataUpload;

    /**
     * @return When set to true, collects log data to facilitate quicker issue resolution.
     * 
     */
    public Optional> episodicDataUpload() {
        return Optional.ofNullable(this.episodicDataUpload);
    }

    /**
     * Location of your cluster. The log and diagnostic data is sent to the appropriate diagnostics servers depending upon where your cluster resides. Setting this to false results in all data sent to Microsoft to be stored outside of the EU.
     * 
     */
    @Import(name="euLocation")
    private @Nullable Output euLocation;

    /**
     * @return Location of your cluster. The log and diagnostic data is sent to the appropriate diagnostics servers depending upon where your cluster resides. Setting this to false results in all data sent to Microsoft to be stored outside of the EU.
     * 
     */
    public Optional> euLocation() {
        return Optional.ofNullable(this.euLocation);
    }

    /**
     * Enables telemetry data to be sent to Microsoft
     * 
     */
    @Import(name="streamingDataClient")
    private @Nullable Output streamingDataClient;

    /**
     * @return Enables telemetry data to be sent to Microsoft
     * 
     */
    public Optional> streamingDataClient() {
        return Optional.ofNullable(this.streamingDataClient);
    }

    private ObservabilityArgs() {}

    private ObservabilityArgs(ObservabilityArgs $) {
        this.episodicDataUpload = $.episodicDataUpload;
        this.euLocation = $.euLocation;
        this.streamingDataClient = $.streamingDataClient;
    }

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

    public static final class Builder {
        private ObservabilityArgs $;

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

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

        /**
         * @param episodicDataUpload When set to true, collects log data to facilitate quicker issue resolution.
         * 
         * @return builder
         * 
         */
        public Builder episodicDataUpload(@Nullable Output episodicDataUpload) {
            $.episodicDataUpload = episodicDataUpload;
            return this;
        }

        /**
         * @param episodicDataUpload When set to true, collects log data to facilitate quicker issue resolution.
         * 
         * @return builder
         * 
         */
        public Builder episodicDataUpload(Boolean episodicDataUpload) {
            return episodicDataUpload(Output.of(episodicDataUpload));
        }

        /**
         * @param euLocation Location of your cluster. The log and diagnostic data is sent to the appropriate diagnostics servers depending upon where your cluster resides. Setting this to false results in all data sent to Microsoft to be stored outside of the EU.
         * 
         * @return builder
         * 
         */
        public Builder euLocation(@Nullable Output euLocation) {
            $.euLocation = euLocation;
            return this;
        }

        /**
         * @param euLocation Location of your cluster. The log and diagnostic data is sent to the appropriate diagnostics servers depending upon where your cluster resides. Setting this to false results in all data sent to Microsoft to be stored outside of the EU.
         * 
         * @return builder
         * 
         */
        public Builder euLocation(Boolean euLocation) {
            return euLocation(Output.of(euLocation));
        }

        /**
         * @param streamingDataClient Enables telemetry data to be sent to Microsoft
         * 
         * @return builder
         * 
         */
        public Builder streamingDataClient(@Nullable Output streamingDataClient) {
            $.streamingDataClient = streamingDataClient;
            return this;
        }

        /**
         * @param streamingDataClient Enables telemetry data to be sent to Microsoft
         * 
         * @return builder
         * 
         */
        public Builder streamingDataClient(Boolean streamingDataClient) {
            return streamingDataClient(Output.of(streamingDataClient));
        }

        public ObservabilityArgs build() {
            $.episodicDataUpload = Codegen.booleanProp("episodicDataUpload").output().arg($.episodicDataUpload).def(true).getNullable();
            $.euLocation = Codegen.booleanProp("euLocation").output().arg($.euLocation).def(false).getNullable();
            $.streamingDataClient = Codegen.booleanProp("streamingDataClient").output().arg($.streamingDataClient).def(true).getNullable();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy