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

com.pulumi.azurenative.app.outputs.GetManagedEnvironmentResult Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.app.outputs;

import com.pulumi.azurenative.app.outputs.AppLogsConfigurationResponse;
import com.pulumi.azurenative.app.outputs.CustomDomainConfigurationResponse;
import com.pulumi.azurenative.app.outputs.EnvironmentSkuPropertiesResponse;
import com.pulumi.azurenative.app.outputs.SystemDataResponse;
import com.pulumi.azurenative.app.outputs.VnetConfigurationResponse;
import com.pulumi.azurenative.app.outputs.WorkloadProfileResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetManagedEnvironmentResult {
    /**
     * @return Cluster configuration which enables the log daemon to export app logs to configured destination.
     * 
     */
    private @Nullable AppLogsConfigurationResponse appLogsConfiguration;
    /**
     * @return Custom domain configuration for the environment
     * 
     */
    private @Nullable CustomDomainConfigurationResponse customDomainConfiguration;
    /**
     * @return Application Insights connection string used by Dapr to export Service to Service communication telemetry
     * 
     */
    private @Nullable String daprAIConnectionString;
    /**
     * @return Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
     * 
     */
    private @Nullable String daprAIInstrumentationKey;
    /**
     * @return Default Domain Name for the cluster
     * 
     */
    private String defaultDomain;
    /**
     * @return Any errors that occurred during deployment or deployment validation
     * 
     */
    private String deploymentErrors;
    /**
     * @return The endpoint of the eventstream of the Environment.
     * 
     */
    private String eventStreamEndpoint;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return Kind of the Environment.
     * 
     */
    private @Nullable String kind;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Provisioning state of the Environment.
     * 
     */
    private String provisioningState;
    /**
     * @return SKU properties of the Environment.
     * 
     */
    private @Nullable EnvironmentSkuPropertiesResponse sku;
    /**
     * @return Static IP of the Environment
     * 
     */
    private String staticIp;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return Vnet configuration for the environment
     * 
     */
    private @Nullable VnetConfigurationResponse vnetConfiguration;
    /**
     * @return Workload profiles configured for the Managed Environment.
     * 
     */
    private @Nullable List workloadProfiles;
    /**
     * @return Whether or not this Managed Environment is zone-redundant.
     * 
     */
    private @Nullable Boolean zoneRedundant;

    private GetManagedEnvironmentResult() {}
    /**
     * @return Cluster configuration which enables the log daemon to export app logs to configured destination.
     * 
     */
    public Optional appLogsConfiguration() {
        return Optional.ofNullable(this.appLogsConfiguration);
    }
    /**
     * @return Custom domain configuration for the environment
     * 
     */
    public Optional customDomainConfiguration() {
        return Optional.ofNullable(this.customDomainConfiguration);
    }
    /**
     * @return Application Insights connection string used by Dapr to export Service to Service communication telemetry
     * 
     */
    public Optional daprAIConnectionString() {
        return Optional.ofNullable(this.daprAIConnectionString);
    }
    /**
     * @return Azure Monitor instrumentation key used by Dapr to export Service to Service communication telemetry
     * 
     */
    public Optional daprAIInstrumentationKey() {
        return Optional.ofNullable(this.daprAIInstrumentationKey);
    }
    /**
     * @return Default Domain Name for the cluster
     * 
     */
    public String defaultDomain() {
        return this.defaultDomain;
    }
    /**
     * @return Any errors that occurred during deployment or deployment validation
     * 
     */
    public String deploymentErrors() {
        return this.deploymentErrors;
    }
    /**
     * @return The endpoint of the eventstream of the Environment.
     * 
     */
    public String eventStreamEndpoint() {
        return this.eventStreamEndpoint;
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Kind of the Environment.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Provisioning state of the Environment.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return SKU properties of the Environment.
     * 
     */
    public Optional sku() {
        return Optional.ofNullable(this.sku);
    }
    /**
     * @return Static IP of the Environment
     * 
     */
    public String staticIp() {
        return this.staticIp;
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Vnet configuration for the environment
     * 
     */
    public Optional vnetConfiguration() {
        return Optional.ofNullable(this.vnetConfiguration);
    }
    /**
     * @return Workload profiles configured for the Managed Environment.
     * 
     */
    public List workloadProfiles() {
        return this.workloadProfiles == null ? List.of() : this.workloadProfiles;
    }
    /**
     * @return Whether or not this Managed Environment is zone-redundant.
     * 
     */
    public Optional zoneRedundant() {
        return Optional.ofNullable(this.zoneRedundant);
    }

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

    public static Builder builder(GetManagedEnvironmentResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable AppLogsConfigurationResponse appLogsConfiguration;
        private @Nullable CustomDomainConfigurationResponse customDomainConfiguration;
        private @Nullable String daprAIConnectionString;
        private @Nullable String daprAIInstrumentationKey;
        private String defaultDomain;
        private String deploymentErrors;
        private String eventStreamEndpoint;
        private String id;
        private @Nullable String kind;
        private String location;
        private String name;
        private String provisioningState;
        private @Nullable EnvironmentSkuPropertiesResponse sku;
        private String staticIp;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        private @Nullable VnetConfigurationResponse vnetConfiguration;
        private @Nullable List workloadProfiles;
        private @Nullable Boolean zoneRedundant;
        public Builder() {}
        public Builder(GetManagedEnvironmentResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appLogsConfiguration = defaults.appLogsConfiguration;
    	      this.customDomainConfiguration = defaults.customDomainConfiguration;
    	      this.daprAIConnectionString = defaults.daprAIConnectionString;
    	      this.daprAIInstrumentationKey = defaults.daprAIInstrumentationKey;
    	      this.defaultDomain = defaults.defaultDomain;
    	      this.deploymentErrors = defaults.deploymentErrors;
    	      this.eventStreamEndpoint = defaults.eventStreamEndpoint;
    	      this.id = defaults.id;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.sku = defaults.sku;
    	      this.staticIp = defaults.staticIp;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
    	      this.vnetConfiguration = defaults.vnetConfiguration;
    	      this.workloadProfiles = defaults.workloadProfiles;
    	      this.zoneRedundant = defaults.zoneRedundant;
        }

        @CustomType.Setter
        public Builder appLogsConfiguration(@Nullable AppLogsConfigurationResponse appLogsConfiguration) {

            this.appLogsConfiguration = appLogsConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder customDomainConfiguration(@Nullable CustomDomainConfigurationResponse customDomainConfiguration) {

            this.customDomainConfiguration = customDomainConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder daprAIConnectionString(@Nullable String daprAIConnectionString) {

            this.daprAIConnectionString = daprAIConnectionString;
            return this;
        }
        @CustomType.Setter
        public Builder daprAIInstrumentationKey(@Nullable String daprAIInstrumentationKey) {

            this.daprAIInstrumentationKey = daprAIInstrumentationKey;
            return this;
        }
        @CustomType.Setter
        public Builder defaultDomain(String defaultDomain) {
            if (defaultDomain == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "defaultDomain");
            }
            this.defaultDomain = defaultDomain;
            return this;
        }
        @CustomType.Setter
        public Builder deploymentErrors(String deploymentErrors) {
            if (deploymentErrors == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "deploymentErrors");
            }
            this.deploymentErrors = deploymentErrors;
            return this;
        }
        @CustomType.Setter
        public Builder eventStreamEndpoint(String eventStreamEndpoint) {
            if (eventStreamEndpoint == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "eventStreamEndpoint");
            }
            this.eventStreamEndpoint = eventStreamEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder kind(@Nullable String kind) {

            this.kind = kind;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder sku(@Nullable EnvironmentSkuPropertiesResponse sku) {

            this.sku = sku;
            return this;
        }
        @CustomType.Setter
        public Builder staticIp(String staticIp) {
            if (staticIp == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "staticIp");
            }
            this.staticIp = staticIp;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetManagedEnvironmentResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder vnetConfiguration(@Nullable VnetConfigurationResponse vnetConfiguration) {

            this.vnetConfiguration = vnetConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder workloadProfiles(@Nullable List workloadProfiles) {

            this.workloadProfiles = workloadProfiles;
            return this;
        }
        public Builder workloadProfiles(WorkloadProfileResponse... workloadProfiles) {
            return workloadProfiles(List.of(workloadProfiles));
        }
        @CustomType.Setter
        public Builder zoneRedundant(@Nullable Boolean zoneRedundant) {

            this.zoneRedundant = zoneRedundant;
            return this;
        }
        public GetManagedEnvironmentResult build() {
            final var _resultValue = new GetManagedEnvironmentResult();
            _resultValue.appLogsConfiguration = appLogsConfiguration;
            _resultValue.customDomainConfiguration = customDomainConfiguration;
            _resultValue.daprAIConnectionString = daprAIConnectionString;
            _resultValue.daprAIInstrumentationKey = daprAIInstrumentationKey;
            _resultValue.defaultDomain = defaultDomain;
            _resultValue.deploymentErrors = deploymentErrors;
            _resultValue.eventStreamEndpoint = eventStreamEndpoint;
            _resultValue.id = id;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.sku = sku;
            _resultValue.staticIp = staticIp;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            _resultValue.vnetConfiguration = vnetConfiguration;
            _resultValue.workloadProfiles = workloadProfiles;
            _resultValue.zoneRedundant = zoneRedundant;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy