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

com.pulumi.azure.monitoring.inputs.WorkspaceState 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.monitoring.inputs;

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


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

    public static final WorkspaceState Empty = new WorkspaceState();

    /**
     * The ID of the managed default Data Collection Endpoint created with the Azure Monitor Workspace.
     * 
     */
    @Import(name="defaultDataCollectionEndpointId")
    private @Nullable Output defaultDataCollectionEndpointId;

    /**
     * @return The ID of the managed default Data Collection Endpoint created with the Azure Monitor Workspace.
     * 
     */
    public Optional> defaultDataCollectionEndpointId() {
        return Optional.ofNullable(this.defaultDataCollectionEndpointId);
    }

    /**
     * The ID of the managed default Data Collection Rule created with the Azure Monitor Workspace.
     * 
     */
    @Import(name="defaultDataCollectionRuleId")
    private @Nullable Output defaultDataCollectionRuleId;

    /**
     * @return The ID of the managed default Data Collection Rule created with the Azure Monitor Workspace.
     * 
     */
    public Optional> defaultDataCollectionRuleId() {
        return Optional.ofNullable(this.defaultDataCollectionRuleId);
    }

    /**
     * Specifies the Azure Region where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Specifies the Azure Region where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Specifies the name which should be used for this Azure Monitor Workspace. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name which should be used for this Azure Monitor Workspace. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Is public network access enabled? Defaults to `true`.
     * 
     */
    @Import(name="publicNetworkAccessEnabled")
    private @Nullable Output publicNetworkAccessEnabled;

    /**
     * @return Is public network access enabled? Defaults to `true`.
     * 
     */
    public Optional> publicNetworkAccessEnabled() {
        return Optional.ofNullable(this.publicNetworkAccessEnabled);
    }

    /**
     * The query endpoint for the Azure Monitor Workspace.
     * 
     */
    @Import(name="queryEndpoint")
    private @Nullable Output queryEndpoint;

    /**
     * @return The query endpoint for the Azure Monitor Workspace.
     * 
     */
    public Optional> queryEndpoint() {
        return Optional.ofNullable(this.queryEndpoint);
    }

    /**
     * Specifies the name of the Resource Group where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Specifies the name of the Resource Group where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags which should be assigned to the Azure Monitor Workspace.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags which should be assigned to the Azure Monitor Workspace.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private WorkspaceState() {}

    private WorkspaceState(WorkspaceState $) {
        this.defaultDataCollectionEndpointId = $.defaultDataCollectionEndpointId;
        this.defaultDataCollectionRuleId = $.defaultDataCollectionRuleId;
        this.location = $.location;
        this.name = $.name;
        this.publicNetworkAccessEnabled = $.publicNetworkAccessEnabled;
        this.queryEndpoint = $.queryEndpoint;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private WorkspaceState $;

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

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

        /**
         * @param defaultDataCollectionEndpointId The ID of the managed default Data Collection Endpoint created with the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder defaultDataCollectionEndpointId(@Nullable Output defaultDataCollectionEndpointId) {
            $.defaultDataCollectionEndpointId = defaultDataCollectionEndpointId;
            return this;
        }

        /**
         * @param defaultDataCollectionEndpointId The ID of the managed default Data Collection Endpoint created with the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder defaultDataCollectionEndpointId(String defaultDataCollectionEndpointId) {
            return defaultDataCollectionEndpointId(Output.of(defaultDataCollectionEndpointId));
        }

        /**
         * @param defaultDataCollectionRuleId The ID of the managed default Data Collection Rule created with the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder defaultDataCollectionRuleId(@Nullable Output defaultDataCollectionRuleId) {
            $.defaultDataCollectionRuleId = defaultDataCollectionRuleId;
            return this;
        }

        /**
         * @param defaultDataCollectionRuleId The ID of the managed default Data Collection Rule created with the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder defaultDataCollectionRuleId(String defaultDataCollectionRuleId) {
            return defaultDataCollectionRuleId(Output.of(defaultDataCollectionRuleId));
        }

        /**
         * @param location Specifies the Azure Region where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Specifies the Azure Region where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name Specifies the name which should be used for this Azure Monitor Workspace. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name which should be used for this Azure Monitor Workspace. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param publicNetworkAccessEnabled Is public network access enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(@Nullable Output publicNetworkAccessEnabled) {
            $.publicNetworkAccessEnabled = publicNetworkAccessEnabled;
            return this;
        }

        /**
         * @param publicNetworkAccessEnabled Is public network access enabled? Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder publicNetworkAccessEnabled(Boolean publicNetworkAccessEnabled) {
            return publicNetworkAccessEnabled(Output.of(publicNetworkAccessEnabled));
        }

        /**
         * @param queryEndpoint The query endpoint for the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder queryEndpoint(@Nullable Output queryEndpoint) {
            $.queryEndpoint = queryEndpoint;
            return this;
        }

        /**
         * @param queryEndpoint The query endpoint for the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder queryEndpoint(String queryEndpoint) {
            return queryEndpoint(Output.of(queryEndpoint));
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Specifies the name of the Resource Group where the Azure Monitor Workspace should exist. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags which should be assigned to the Azure Monitor Workspace.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public WorkspaceState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy