
com.pulumi.azurenative.insights.outputs.GetExportConfigurationResult Maven / Gradle / Ivy
// *** 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.insights.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetExportConfigurationResult {
/**
* @return The name of the Application Insights component.
*
*/
private String applicationName;
/**
* @return The name of the destination storage container.
*
*/
private String containerName;
/**
* @return The name of destination account.
*
*/
private String destinationAccountId;
/**
* @return The destination account location ID.
*
*/
private String destinationStorageLocationId;
/**
* @return The destination storage account subscription ID.
*
*/
private String destinationStorageSubscriptionId;
/**
* @return The destination type.
*
*/
private String destinationType;
/**
* @return The unique ID of the export configuration inside an Application Insights component. It is auto generated when the Continuous Export configuration is created.
*
*/
private String exportId;
/**
* @return This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.
*
*/
private String exportStatus;
/**
* @return The instrumentation key of the Application Insights component.
*
*/
private String instrumentationKey;
/**
* @return This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
*
*/
private String isUserEnabled;
/**
* @return The last time the Continuous Export configuration started failing.
*
*/
private String lastGapTime;
/**
* @return The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
*
*/
private String lastSuccessTime;
/**
* @return Last time the Continuous Export configuration was updated.
*
*/
private String lastUserUpdate;
/**
* @return Deprecated
*
*/
private @Nullable String notificationQueueEnabled;
/**
* @return This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
*
*/
private String permanentErrorReason;
/**
* @return This comma separated list of document types that will be exported. The possible values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.
*
*/
private @Nullable String recordTypes;
/**
* @return The resource group of the Application Insights component.
*
*/
private String resourceGroup;
/**
* @return The name of the destination storage account.
*
*/
private String storageName;
/**
* @return The subscription of the Application Insights component.
*
*/
private String subscriptionId;
private GetExportConfigurationResult() {}
/**
* @return The name of the Application Insights component.
*
*/
public String applicationName() {
return this.applicationName;
}
/**
* @return The name of the destination storage container.
*
*/
public String containerName() {
return this.containerName;
}
/**
* @return The name of destination account.
*
*/
public String destinationAccountId() {
return this.destinationAccountId;
}
/**
* @return The destination account location ID.
*
*/
public String destinationStorageLocationId() {
return this.destinationStorageLocationId;
}
/**
* @return The destination storage account subscription ID.
*
*/
public String destinationStorageSubscriptionId() {
return this.destinationStorageSubscriptionId;
}
/**
* @return The destination type.
*
*/
public String destinationType() {
return this.destinationType;
}
/**
* @return The unique ID of the export configuration inside an Application Insights component. It is auto generated when the Continuous Export configuration is created.
*
*/
public String exportId() {
return this.exportId;
}
/**
* @return This indicates current Continuous Export configuration status. The possible values are 'Preparing', 'Success', 'Failure'.
*
*/
public String exportStatus() {
return this.exportStatus;
}
/**
* @return The instrumentation key of the Application Insights component.
*
*/
public String instrumentationKey() {
return this.instrumentationKey;
}
/**
* @return This will be 'true' if the Continuous Export configuration is enabled, otherwise it will be 'false'.
*
*/
public String isUserEnabled() {
return this.isUserEnabled;
}
/**
* @return The last time the Continuous Export configuration started failing.
*
*/
public String lastGapTime() {
return this.lastGapTime;
}
/**
* @return The last time data was successfully delivered to the destination storage container for this Continuous Export configuration.
*
*/
public String lastSuccessTime() {
return this.lastSuccessTime;
}
/**
* @return Last time the Continuous Export configuration was updated.
*
*/
public String lastUserUpdate() {
return this.lastUserUpdate;
}
/**
* @return Deprecated
*
*/
public Optional notificationQueueEnabled() {
return Optional.ofNullable(this.notificationQueueEnabled);
}
/**
* @return This is the reason the Continuous Export configuration started failing. It can be 'AzureStorageNotFound' or 'AzureStorageAccessDenied'.
*
*/
public String permanentErrorReason() {
return this.permanentErrorReason;
}
/**
* @return This comma separated list of document types that will be exported. The possible values include 'Requests', 'Event', 'Exceptions', 'Metrics', 'PageViews', 'PageViewPerformance', 'Rdd', 'PerformanceCounters', 'Availability', 'Messages'.
*
*/
public Optional recordTypes() {
return Optional.ofNullable(this.recordTypes);
}
/**
* @return The resource group of the Application Insights component.
*
*/
public String resourceGroup() {
return this.resourceGroup;
}
/**
* @return The name of the destination storage account.
*
*/
public String storageName() {
return this.storageName;
}
/**
* @return The subscription of the Application Insights component.
*
*/
public String subscriptionId() {
return this.subscriptionId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetExportConfigurationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String applicationName;
private String containerName;
private String destinationAccountId;
private String destinationStorageLocationId;
private String destinationStorageSubscriptionId;
private String destinationType;
private String exportId;
private String exportStatus;
private String instrumentationKey;
private String isUserEnabled;
private String lastGapTime;
private String lastSuccessTime;
private String lastUserUpdate;
private @Nullable String notificationQueueEnabled;
private String permanentErrorReason;
private @Nullable String recordTypes;
private String resourceGroup;
private String storageName;
private String subscriptionId;
public Builder() {}
public Builder(GetExportConfigurationResult defaults) {
Objects.requireNonNull(defaults);
this.applicationName = defaults.applicationName;
this.containerName = defaults.containerName;
this.destinationAccountId = defaults.destinationAccountId;
this.destinationStorageLocationId = defaults.destinationStorageLocationId;
this.destinationStorageSubscriptionId = defaults.destinationStorageSubscriptionId;
this.destinationType = defaults.destinationType;
this.exportId = defaults.exportId;
this.exportStatus = defaults.exportStatus;
this.instrumentationKey = defaults.instrumentationKey;
this.isUserEnabled = defaults.isUserEnabled;
this.lastGapTime = defaults.lastGapTime;
this.lastSuccessTime = defaults.lastSuccessTime;
this.lastUserUpdate = defaults.lastUserUpdate;
this.notificationQueueEnabled = defaults.notificationQueueEnabled;
this.permanentErrorReason = defaults.permanentErrorReason;
this.recordTypes = defaults.recordTypes;
this.resourceGroup = defaults.resourceGroup;
this.storageName = defaults.storageName;
this.subscriptionId = defaults.subscriptionId;
}
@CustomType.Setter
public Builder applicationName(String applicationName) {
if (applicationName == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "applicationName");
}
this.applicationName = applicationName;
return this;
}
@CustomType.Setter
public Builder containerName(String containerName) {
if (containerName == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "containerName");
}
this.containerName = containerName;
return this;
}
@CustomType.Setter
public Builder destinationAccountId(String destinationAccountId) {
if (destinationAccountId == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "destinationAccountId");
}
this.destinationAccountId = destinationAccountId;
return this;
}
@CustomType.Setter
public Builder destinationStorageLocationId(String destinationStorageLocationId) {
if (destinationStorageLocationId == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "destinationStorageLocationId");
}
this.destinationStorageLocationId = destinationStorageLocationId;
return this;
}
@CustomType.Setter
public Builder destinationStorageSubscriptionId(String destinationStorageSubscriptionId) {
if (destinationStorageSubscriptionId == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "destinationStorageSubscriptionId");
}
this.destinationStorageSubscriptionId = destinationStorageSubscriptionId;
return this;
}
@CustomType.Setter
public Builder destinationType(String destinationType) {
if (destinationType == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "destinationType");
}
this.destinationType = destinationType;
return this;
}
@CustomType.Setter
public Builder exportId(String exportId) {
if (exportId == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "exportId");
}
this.exportId = exportId;
return this;
}
@CustomType.Setter
public Builder exportStatus(String exportStatus) {
if (exportStatus == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "exportStatus");
}
this.exportStatus = exportStatus;
return this;
}
@CustomType.Setter
public Builder instrumentationKey(String instrumentationKey) {
if (instrumentationKey == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "instrumentationKey");
}
this.instrumentationKey = instrumentationKey;
return this;
}
@CustomType.Setter
public Builder isUserEnabled(String isUserEnabled) {
if (isUserEnabled == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "isUserEnabled");
}
this.isUserEnabled = isUserEnabled;
return this;
}
@CustomType.Setter
public Builder lastGapTime(String lastGapTime) {
if (lastGapTime == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "lastGapTime");
}
this.lastGapTime = lastGapTime;
return this;
}
@CustomType.Setter
public Builder lastSuccessTime(String lastSuccessTime) {
if (lastSuccessTime == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "lastSuccessTime");
}
this.lastSuccessTime = lastSuccessTime;
return this;
}
@CustomType.Setter
public Builder lastUserUpdate(String lastUserUpdate) {
if (lastUserUpdate == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "lastUserUpdate");
}
this.lastUserUpdate = lastUserUpdate;
return this;
}
@CustomType.Setter
public Builder notificationQueueEnabled(@Nullable String notificationQueueEnabled) {
this.notificationQueueEnabled = notificationQueueEnabled;
return this;
}
@CustomType.Setter
public Builder permanentErrorReason(String permanentErrorReason) {
if (permanentErrorReason == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "permanentErrorReason");
}
this.permanentErrorReason = permanentErrorReason;
return this;
}
@CustomType.Setter
public Builder recordTypes(@Nullable String recordTypes) {
this.recordTypes = recordTypes;
return this;
}
@CustomType.Setter
public Builder resourceGroup(String resourceGroup) {
if (resourceGroup == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "resourceGroup");
}
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder storageName(String storageName) {
if (storageName == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "storageName");
}
this.storageName = storageName;
return this;
}
@CustomType.Setter
public Builder subscriptionId(String subscriptionId) {
if (subscriptionId == null) {
throw new MissingRequiredPropertyException("GetExportConfigurationResult", "subscriptionId");
}
this.subscriptionId = subscriptionId;
return this;
}
public GetExportConfigurationResult build() {
final var _resultValue = new GetExportConfigurationResult();
_resultValue.applicationName = applicationName;
_resultValue.containerName = containerName;
_resultValue.destinationAccountId = destinationAccountId;
_resultValue.destinationStorageLocationId = destinationStorageLocationId;
_resultValue.destinationStorageSubscriptionId = destinationStorageSubscriptionId;
_resultValue.destinationType = destinationType;
_resultValue.exportId = exportId;
_resultValue.exportStatus = exportStatus;
_resultValue.instrumentationKey = instrumentationKey;
_resultValue.isUserEnabled = isUserEnabled;
_resultValue.lastGapTime = lastGapTime;
_resultValue.lastSuccessTime = lastSuccessTime;
_resultValue.lastUserUpdate = lastUserUpdate;
_resultValue.notificationQueueEnabled = notificationQueueEnabled;
_resultValue.permanentErrorReason = permanentErrorReason;
_resultValue.recordTypes = recordTypes;
_resultValue.resourceGroup = resourceGroup;
_resultValue.storageName = storageName;
_resultValue.subscriptionId = subscriptionId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy