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

com.pulumi.azure.operationalinsights.outputs.GetAnalyticsWorkspaceResult 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.operationalinsights.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.Integer;
import java.lang.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetAnalyticsWorkspaceResult {
    /**
     * @return The workspace daily quota for ingestion in GB.
     * 
     */
    private Double dailyQuotaGb;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    private String location;
    private String name;
    /**
     * @return The Primary shared key for the Log Analytics Workspace.
     * 
     */
    private String primarySharedKey;
    private String resourceGroupName;
    /**
     * @return The workspace data retention in days.
     * 
     */
    private Integer retentionInDays;
    /**
     * @return The Secondary shared key for the Log Analytics Workspace.
     * 
     */
    private String secondarySharedKey;
    /**
     * @return The SKU of the Log Analytics Workspace.
     * 
     */
    private String sku;
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    private Map tags;
    /**
     * @return The Workspace (or Customer) ID for the Log Analytics Workspace.
     * 
     */
    private String workspaceId;

    private GetAnalyticsWorkspaceResult() {}
    /**
     * @return The workspace daily quota for ingestion in GB.
     * 
     */
    public Double dailyQuotaGb() {
        return this.dailyQuotaGb;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    public String location() {
        return this.location;
    }
    public String name() {
        return this.name;
    }
    /**
     * @return The Primary shared key for the Log Analytics Workspace.
     * 
     */
    public String primarySharedKey() {
        return this.primarySharedKey;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The workspace data retention in days.
     * 
     */
    public Integer retentionInDays() {
        return this.retentionInDays;
    }
    /**
     * @return The Secondary shared key for the Log Analytics Workspace.
     * 
     */
    public String secondarySharedKey() {
        return this.secondarySharedKey;
    }
    /**
     * @return The SKU of the Log Analytics Workspace.
     * 
     */
    public String sku() {
        return this.sku;
    }
    /**
     * @return A mapping of tags assigned to the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return The Workspace (or Customer) ID for the Log Analytics Workspace.
     * 
     */
    public String workspaceId() {
        return this.workspaceId;
    }

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

    public static Builder builder(GetAnalyticsWorkspaceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Double dailyQuotaGb;
        private String id;
        private String location;
        private String name;
        private String primarySharedKey;
        private String resourceGroupName;
        private Integer retentionInDays;
        private String secondarySharedKey;
        private String sku;
        private Map tags;
        private String workspaceId;
        public Builder() {}
        public Builder(GetAnalyticsWorkspaceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dailyQuotaGb = defaults.dailyQuotaGb;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.primarySharedKey = defaults.primarySharedKey;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.retentionInDays = defaults.retentionInDays;
    	      this.secondarySharedKey = defaults.secondarySharedKey;
    	      this.sku = defaults.sku;
    	      this.tags = defaults.tags;
    	      this.workspaceId = defaults.workspaceId;
        }

        @CustomType.Setter
        public Builder dailyQuotaGb(Double dailyQuotaGb) {
            if (dailyQuotaGb == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "dailyQuotaGb");
            }
            this.dailyQuotaGb = dailyQuotaGb;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder primarySharedKey(String primarySharedKey) {
            if (primarySharedKey == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "primarySharedKey");
            }
            this.primarySharedKey = primarySharedKey;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder retentionInDays(Integer retentionInDays) {
            if (retentionInDays == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "retentionInDays");
            }
            this.retentionInDays = retentionInDays;
            return this;
        }
        @CustomType.Setter
        public Builder secondarySharedKey(String secondarySharedKey) {
            if (secondarySharedKey == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "secondarySharedKey");
            }
            this.secondarySharedKey = secondarySharedKey;
            return this;
        }
        @CustomType.Setter
        public Builder sku(String sku) {
            if (sku == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "sku");
            }
            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            if (workspaceId == null) {
              throw new MissingRequiredPropertyException("GetAnalyticsWorkspaceResult", "workspaceId");
            }
            this.workspaceId = workspaceId;
            return this;
        }
        public GetAnalyticsWorkspaceResult build() {
            final var _resultValue = new GetAnalyticsWorkspaceResult();
            _resultValue.dailyQuotaGb = dailyQuotaGb;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.primarySharedKey = primarySharedKey;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.retentionInDays = retentionInDays;
            _resultValue.secondarySharedKey = secondarySharedKey;
            _resultValue.sku = sku;
            _resultValue.tags = tags;
            _resultValue.workspaceId = workspaceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy