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

com.pulumi.azure.appinsights.outputs.GetInsightsResult 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.appinsights.outputs;

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

@CustomType
public final class GetInsightsResult {
    /**
     * @return The App ID associated with this Application Insights component.
     * 
     */
    private String appId;
    /**
     * @return The type of the component.
     * 
     */
    private String applicationType;
    /**
     * @return The connection string of the Application Insights component. (Sensitive)
     * 
     */
    private String connectionString;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return The instrumentation key of the Application Insights component.
     * 
     */
    private String instrumentationKey;
    /**
     * @return The Azure location where the component exists.
     * 
     */
    private String location;
    private String name;
    private String resourceGroupName;
    /**
     * @return The retention period in days.
     * 
     */
    private Integer retentionInDays;
    /**
     * @return Tags applied to the component.
     * 
     */
    private Map tags;
    /**
     * @return The id of the associated Log Analytics workspace
     * 
     */
    private String workspaceId;

    private GetInsightsResult() {}
    /**
     * @return The App ID associated with this Application Insights component.
     * 
     */
    public String appId() {
        return this.appId;
    }
    /**
     * @return The type of the component.
     * 
     */
    public String applicationType() {
        return this.applicationType;
    }
    /**
     * @return The connection string of the Application Insights component. (Sensitive)
     * 
     */
    public String connectionString() {
        return this.connectionString;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The instrumentation key of the Application Insights component.
     * 
     */
    public String instrumentationKey() {
        return this.instrumentationKey;
    }
    /**
     * @return The Azure location where the component exists.
     * 
     */
    public String location() {
        return this.location;
    }
    public String name() {
        return this.name;
    }
    public String resourceGroupName() {
        return this.resourceGroupName;
    }
    /**
     * @return The retention period in days.
     * 
     */
    public Integer retentionInDays() {
        return this.retentionInDays;
    }
    /**
     * @return Tags applied to the component.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return The id of the associated Log Analytics workspace
     * 
     */
    public String workspaceId() {
        return this.workspaceId;
    }

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

    public static Builder builder(GetInsightsResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String appId;
        private String applicationType;
        private String connectionString;
        private String id;
        private String instrumentationKey;
        private String location;
        private String name;
        private String resourceGroupName;
        private Integer retentionInDays;
        private Map tags;
        private String workspaceId;
        public Builder() {}
        public Builder(GetInsightsResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appId = defaults.appId;
    	      this.applicationType = defaults.applicationType;
    	      this.connectionString = defaults.connectionString;
    	      this.id = defaults.id;
    	      this.instrumentationKey = defaults.instrumentationKey;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.resourceGroupName = defaults.resourceGroupName;
    	      this.retentionInDays = defaults.retentionInDays;
    	      this.tags = defaults.tags;
    	      this.workspaceId = defaults.workspaceId;
        }

        @CustomType.Setter
        public Builder appId(String appId) {
            if (appId == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "appId");
            }
            this.appId = appId;
            return this;
        }
        @CustomType.Setter
        public Builder applicationType(String applicationType) {
            if (applicationType == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "applicationType");
            }
            this.applicationType = applicationType;
            return this;
        }
        @CustomType.Setter
        public Builder connectionString(String connectionString) {
            if (connectionString == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "connectionString");
            }
            this.connectionString = connectionString;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instrumentationKey(String instrumentationKey) {
            if (instrumentationKey == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "instrumentationKey");
            }
            this.instrumentationKey = instrumentationKey;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupName(String resourceGroupName) {
            if (resourceGroupName == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "resourceGroupName");
            }
            this.resourceGroupName = resourceGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder retentionInDays(Integer retentionInDays) {
            if (retentionInDays == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "retentionInDays");
            }
            this.retentionInDays = retentionInDays;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            if (workspaceId == null) {
              throw new MissingRequiredPropertyException("GetInsightsResult", "workspaceId");
            }
            this.workspaceId = workspaceId;
            return this;
        }
        public GetInsightsResult build() {
            final var _resultValue = new GetInsightsResult();
            _resultValue.appId = appId;
            _resultValue.applicationType = applicationType;
            _resultValue.connectionString = connectionString;
            _resultValue.id = id;
            _resultValue.instrumentationKey = instrumentationKey;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.resourceGroupName = resourceGroupName;
            _resultValue.retentionInDays = retentionInDays;
            _resultValue.tags = tags;
            _resultValue.workspaceId = workspaceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy