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

com.pulumi.azurenative.web.outputs.GetKubeEnvironmentResult Maven / Gradle / Ivy

The 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.web.outputs;

import com.pulumi.azurenative.web.outputs.AppLogsConfigurationResponse;
import com.pulumi.azurenative.web.outputs.ArcConfigurationResponse;
import com.pulumi.azurenative.web.outputs.ContainerAppsConfigurationResponse;
import com.pulumi.azurenative.web.outputs.ExtendedLocationResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetKubeEnvironmentResult {
    private @Nullable String aksResourceID;
    /**
     * @return Cluster configuration which enables the log daemon to export
     * app logs to a destination. Currently only "log-analytics" is
     * supported
     * 
     */
    private @Nullable AppLogsConfigurationResponse appLogsConfiguration;
    /**
     * @return Cluster configuration which determines the ARC cluster
     * components types. Eg: Choosing between BuildService kind,
     * FrontEnd Service ArtifactsStorageType etc.
     * 
     */
    private @Nullable ArcConfigurationResponse arcConfiguration;
    /**
     * @return Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
     * 
     */
    private @Nullable ContainerAppsConfigurationResponse containerAppsConfiguration;
    /**
     * @return Default Domain Name for the cluster
     * 
     */
    private String defaultDomain;
    /**
     * @return Any errors that occurred during deployment or deployment validation
     * 
     */
    private String deploymentErrors;
    /**
     * @return Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed
     * 
     */
    private @Nullable String environmentType;
    /**
     * @return Extended Location.
     * 
     */
    private @Nullable ExtendedLocationResponse extendedLocation;
    /**
     * @return Resource Id.
     * 
     */
    private String id;
    /**
     * @return Only visible within Vnet/Subnet
     * 
     */
    private @Nullable Boolean internalLoadBalancerEnabled;
    /**
     * @return Kind of resource.
     * 
     */
    private @Nullable String kind;
    /**
     * @return Resource Location.
     * 
     */
    private String location;
    /**
     * @return Resource Name.
     * 
     */
    private String name;
    /**
     * @return Provisioning state of the Kubernetes Environment.
     * 
     */
    private String provisioningState;
    /**
     * @return Static IP of the KubeEnvironment
     * 
     */
    private @Nullable String staticIp;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Resource type.
     * 
     */
    private String type;

    private GetKubeEnvironmentResult() {}
    public Optional aksResourceID() {
        return Optional.ofNullable(this.aksResourceID);
    }
    /**
     * @return Cluster configuration which enables the log daemon to export
     * app logs to a destination. Currently only "log-analytics" is
     * supported
     * 
     */
    public Optional appLogsConfiguration() {
        return Optional.ofNullable(this.appLogsConfiguration);
    }
    /**
     * @return Cluster configuration which determines the ARC cluster
     * components types. Eg: Choosing between BuildService kind,
     * FrontEnd Service ArtifactsStorageType etc.
     * 
     */
    public Optional arcConfiguration() {
        return Optional.ofNullable(this.arcConfiguration);
    }
    /**
     * @return Cluster configuration for Container Apps Environments to configure Dapr Instrumentation Key and VNET Configuration
     * 
     */
    public Optional containerAppsConfiguration() {
        return Optional.ofNullable(this.containerAppsConfiguration);
    }
    /**
     * @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 Type of Kubernetes Environment. Only supported for Container App Environments with value as Managed
     * 
     */
    public Optional environmentType() {
        return Optional.ofNullable(this.environmentType);
    }
    /**
     * @return Extended Location.
     * 
     */
    public Optional extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }
    /**
     * @return Resource Id.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Only visible within Vnet/Subnet
     * 
     */
    public Optional internalLoadBalancerEnabled() {
        return Optional.ofNullable(this.internalLoadBalancerEnabled);
    }
    /**
     * @return Kind of resource.
     * 
     */
    public Optional kind() {
        return Optional.ofNullable(this.kind);
    }
    /**
     * @return Resource Location.
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Resource Name.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Provisioning state of the Kubernetes Environment.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return Static IP of the KubeEnvironment
     * 
     */
    public Optional staticIp() {
        return Optional.ofNullable(this.staticIp);
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return Resource type.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetKubeEnvironmentResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String aksResourceID;
        private @Nullable AppLogsConfigurationResponse appLogsConfiguration;
        private @Nullable ArcConfigurationResponse arcConfiguration;
        private @Nullable ContainerAppsConfigurationResponse containerAppsConfiguration;
        private String defaultDomain;
        private String deploymentErrors;
        private @Nullable String environmentType;
        private @Nullable ExtendedLocationResponse extendedLocation;
        private String id;
        private @Nullable Boolean internalLoadBalancerEnabled;
        private @Nullable String kind;
        private String location;
        private String name;
        private String provisioningState;
        private @Nullable String staticIp;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetKubeEnvironmentResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.aksResourceID = defaults.aksResourceID;
    	      this.appLogsConfiguration = defaults.appLogsConfiguration;
    	      this.arcConfiguration = defaults.arcConfiguration;
    	      this.containerAppsConfiguration = defaults.containerAppsConfiguration;
    	      this.defaultDomain = defaults.defaultDomain;
    	      this.deploymentErrors = defaults.deploymentErrors;
    	      this.environmentType = defaults.environmentType;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.internalLoadBalancerEnabled = defaults.internalLoadBalancerEnabled;
    	      this.kind = defaults.kind;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.staticIp = defaults.staticIp;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder aksResourceID(@Nullable String aksResourceID) {

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

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

            this.arcConfiguration = arcConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder containerAppsConfiguration(@Nullable ContainerAppsConfigurationResponse containerAppsConfiguration) {

            this.containerAppsConfiguration = containerAppsConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder defaultDomain(String defaultDomain) {
            if (defaultDomain == null) {
              throw new MissingRequiredPropertyException("GetKubeEnvironmentResult", "defaultDomain");
            }
            this.defaultDomain = defaultDomain;
            return this;
        }
        @CustomType.Setter
        public Builder deploymentErrors(String deploymentErrors) {
            if (deploymentErrors == null) {
              throw new MissingRequiredPropertyException("GetKubeEnvironmentResult", "deploymentErrors");
            }
            this.deploymentErrors = deploymentErrors;
            return this;
        }
        @CustomType.Setter
        public Builder environmentType(@Nullable String environmentType) {

            this.environmentType = environmentType;
            return this;
        }
        @CustomType.Setter
        public Builder extendedLocation(@Nullable ExtendedLocationResponse extendedLocation) {

            this.extendedLocation = extendedLocation;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetKubeEnvironmentResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder internalLoadBalancerEnabled(@Nullable Boolean internalLoadBalancerEnabled) {

            this.internalLoadBalancerEnabled = internalLoadBalancerEnabled;
            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("GetKubeEnvironmentResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetKubeEnvironmentResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetKubeEnvironmentResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder staticIp(@Nullable String staticIp) {

            this.staticIp = staticIp;
            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("GetKubeEnvironmentResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetKubeEnvironmentResult build() {
            final var _resultValue = new GetKubeEnvironmentResult();
            _resultValue.aksResourceID = aksResourceID;
            _resultValue.appLogsConfiguration = appLogsConfiguration;
            _resultValue.arcConfiguration = arcConfiguration;
            _resultValue.containerAppsConfiguration = containerAppsConfiguration;
            _resultValue.defaultDomain = defaultDomain;
            _resultValue.deploymentErrors = deploymentErrors;
            _resultValue.environmentType = environmentType;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.internalLoadBalancerEnabled = internalLoadBalancerEnabled;
            _resultValue.kind = kind;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.staticIp = staticIp;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy