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

com.pulumi.azure.elasticcloud.outputs.GetElasticsearchLog 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.elasticcloud.outputs;

import com.pulumi.azure.elasticcloud.outputs.GetElasticsearchLogFilteringTag;
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 GetElasticsearchLog {
    /**
     * @return A list of `filtering_tag` blocks as defined above.
     * 
     */
    private List filteringTags;
    /**
     * @return Should the Azure Activity Logs should be sent to the Elasticsearch cluster?
     * 
     */
    private Boolean sendActivityLogs;
    /**
     * @return Should the AzureAD Logs should be sent to the Elasticsearch cluster?
     * 
     */
    private Boolean sendAzureadLogs;
    /**
     * @return Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?
     * 
     */
    private Boolean sendSubscriptionLogs;

    private GetElasticsearchLog() {}
    /**
     * @return A list of `filtering_tag` blocks as defined above.
     * 
     */
    public List filteringTags() {
        return this.filteringTags;
    }
    /**
     * @return Should the Azure Activity Logs should be sent to the Elasticsearch cluster?
     * 
     */
    public Boolean sendActivityLogs() {
        return this.sendActivityLogs;
    }
    /**
     * @return Should the AzureAD Logs should be sent to the Elasticsearch cluster?
     * 
     */
    public Boolean sendAzureadLogs() {
        return this.sendAzureadLogs;
    }
    /**
     * @return Should the Azure Subscription Logs should be sent to the Elasticsearch cluster?
     * 
     */
    public Boolean sendSubscriptionLogs() {
        return this.sendSubscriptionLogs;
    }

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

    public static Builder builder(GetElasticsearchLog defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List filteringTags;
        private Boolean sendActivityLogs;
        private Boolean sendAzureadLogs;
        private Boolean sendSubscriptionLogs;
        public Builder() {}
        public Builder(GetElasticsearchLog defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.filteringTags = defaults.filteringTags;
    	      this.sendActivityLogs = defaults.sendActivityLogs;
    	      this.sendAzureadLogs = defaults.sendAzureadLogs;
    	      this.sendSubscriptionLogs = defaults.sendSubscriptionLogs;
        }

        @CustomType.Setter
        public Builder filteringTags(List filteringTags) {
            if (filteringTags == null) {
              throw new MissingRequiredPropertyException("GetElasticsearchLog", "filteringTags");
            }
            this.filteringTags = filteringTags;
            return this;
        }
        public Builder filteringTags(GetElasticsearchLogFilteringTag... filteringTags) {
            return filteringTags(List.of(filteringTags));
        }
        @CustomType.Setter
        public Builder sendActivityLogs(Boolean sendActivityLogs) {
            if (sendActivityLogs == null) {
              throw new MissingRequiredPropertyException("GetElasticsearchLog", "sendActivityLogs");
            }
            this.sendActivityLogs = sendActivityLogs;
            return this;
        }
        @CustomType.Setter
        public Builder sendAzureadLogs(Boolean sendAzureadLogs) {
            if (sendAzureadLogs == null) {
              throw new MissingRequiredPropertyException("GetElasticsearchLog", "sendAzureadLogs");
            }
            this.sendAzureadLogs = sendAzureadLogs;
            return this;
        }
        @CustomType.Setter
        public Builder sendSubscriptionLogs(Boolean sendSubscriptionLogs) {
            if (sendSubscriptionLogs == null) {
              throw new MissingRequiredPropertyException("GetElasticsearchLog", "sendSubscriptionLogs");
            }
            this.sendSubscriptionLogs = sendSubscriptionLogs;
            return this;
        }
        public GetElasticsearchLog build() {
            final var _resultValue = new GetElasticsearchLog();
            _resultValue.filteringTags = filteringTags;
            _resultValue.sendActivityLogs = sendActivityLogs;
            _resultValue.sendAzureadLogs = sendAzureadLogs;
            _resultValue.sendSubscriptionLogs = sendSubscriptionLogs;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy