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

com.pulumi.azurenative.app.outputs.GetContainerAppResult 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.ConfigurationResponse;
import com.pulumi.azurenative.app.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.app.outputs.ManagedServiceIdentityResponse;
import com.pulumi.azurenative.app.outputs.SystemDataResponse;
import com.pulumi.azurenative.app.outputs.TemplateResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
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 GetContainerAppResult {
    /**
     * @return Non versioned Container App configuration properties.
     * 
     */
    private @Nullable ConfigurationResponse configuration;
    /**
     * @return Id used to verify domain name ownership
     * 
     */
    private String customDomainVerificationId;
    /**
     * @return Resource ID of environment.
     * 
     */
    private @Nullable String environmentId;
    /**
     * @return The endpoint of the eventstream of the container app.
     * 
     */
    private String eventStreamEndpoint;
    /**
     * @return The complex type of the extended location.
     * 
     */
    private @Nullable ExtendedLocationResponse extendedLocation;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
     * 
     */
    private @Nullable ManagedServiceIdentityResponse identity;
    /**
     * @return Name of the latest ready revision of the Container App.
     * 
     */
    private String latestReadyRevisionName;
    /**
     * @return Fully Qualified Domain Name of the latest revision of the Container App.
     * 
     */
    private String latestRevisionFqdn;
    /**
     * @return Name of the latest revision of the Container App.
     * 
     */
    private String latestRevisionName;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return Deprecated. Resource ID of the Container App's environment.
     * 
     */
    private @Nullable String managedEnvironmentId;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Outbound IP Addresses for container app.
     * 
     */
    private List outboundIpAddresses;
    /**
     * @return Provisioning state of the Container App.
     * 
     */
    private String provisioningState;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return Container App versioned application definition.
     * 
     */
    private @Nullable TemplateResponse template;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return Workload profile type to pin for container app execution.
     * 
     */
    private @Nullable String workloadProfileType;

    private GetContainerAppResult() {}
    /**
     * @return Non versioned Container App configuration properties.
     * 
     */
    public Optional configuration() {
        return Optional.ofNullable(this.configuration);
    }
    /**
     * @return Id used to verify domain name ownership
     * 
     */
    public String customDomainVerificationId() {
        return this.customDomainVerificationId;
    }
    /**
     * @return Resource ID of environment.
     * 
     */
    public Optional environmentId() {
        return Optional.ofNullable(this.environmentId);
    }
    /**
     * @return The endpoint of the eventstream of the container app.
     * 
     */
    public String eventStreamEndpoint() {
        return this.eventStreamEndpoint;
    }
    /**
     * @return The complex type of the extended location.
     * 
     */
    public Optional extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
     * 
     */
    public Optional identity() {
        return Optional.ofNullable(this.identity);
    }
    /**
     * @return Name of the latest ready revision of the Container App.
     * 
     */
    public String latestReadyRevisionName() {
        return this.latestReadyRevisionName;
    }
    /**
     * @return Fully Qualified Domain Name of the latest revision of the Container App.
     * 
     */
    public String latestRevisionFqdn() {
        return this.latestRevisionFqdn;
    }
    /**
     * @return Name of the latest revision of the Container App.
     * 
     */
    public String latestRevisionName() {
        return this.latestRevisionName;
    }
    /**
     * @return The geo-location where the resource lives
     * 
     */
    public String location() {
        return this.location;
    }
    /**
     * @return Deprecated. Resource ID of the Container App's environment.
     * 
     */
    public Optional managedEnvironmentId() {
        return Optional.ofNullable(this.managedEnvironmentId);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Outbound IP Addresses for container app.
     * 
     */
    public List outboundIpAddresses() {
        return this.outboundIpAddresses;
    }
    /**
     * @return Provisioning state of the Container App.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @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 Container App versioned application definition.
     * 
     */
    public Optional template() {
        return Optional.ofNullable(this.template);
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return Workload profile type to pin for container app execution.
     * 
     */
    public Optional workloadProfileType() {
        return Optional.ofNullable(this.workloadProfileType);
    }

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

    public static Builder builder(GetContainerAppResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable ConfigurationResponse configuration;
        private String customDomainVerificationId;
        private @Nullable String environmentId;
        private String eventStreamEndpoint;
        private @Nullable ExtendedLocationResponse extendedLocation;
        private String id;
        private @Nullable ManagedServiceIdentityResponse identity;
        private String latestReadyRevisionName;
        private String latestRevisionFqdn;
        private String latestRevisionName;
        private String location;
        private @Nullable String managedEnvironmentId;
        private String name;
        private List outboundIpAddresses;
        private String provisioningState;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private @Nullable TemplateResponse template;
        private String type;
        private @Nullable String workloadProfileType;
        public Builder() {}
        public Builder(GetContainerAppResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.configuration = defaults.configuration;
    	      this.customDomainVerificationId = defaults.customDomainVerificationId;
    	      this.environmentId = defaults.environmentId;
    	      this.eventStreamEndpoint = defaults.eventStreamEndpoint;
    	      this.extendedLocation = defaults.extendedLocation;
    	      this.id = defaults.id;
    	      this.identity = defaults.identity;
    	      this.latestReadyRevisionName = defaults.latestReadyRevisionName;
    	      this.latestRevisionFqdn = defaults.latestRevisionFqdn;
    	      this.latestRevisionName = defaults.latestRevisionName;
    	      this.location = defaults.location;
    	      this.managedEnvironmentId = defaults.managedEnvironmentId;
    	      this.name = defaults.name;
    	      this.outboundIpAddresses = defaults.outboundIpAddresses;
    	      this.provisioningState = defaults.provisioningState;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.template = defaults.template;
    	      this.type = defaults.type;
    	      this.workloadProfileType = defaults.workloadProfileType;
        }

        @CustomType.Setter
        public Builder configuration(@Nullable ConfigurationResponse configuration) {

            this.configuration = configuration;
            return this;
        }
        @CustomType.Setter
        public Builder customDomainVerificationId(String customDomainVerificationId) {
            if (customDomainVerificationId == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "customDomainVerificationId");
            }
            this.customDomainVerificationId = customDomainVerificationId;
            return this;
        }
        @CustomType.Setter
        public Builder environmentId(@Nullable String environmentId) {

            this.environmentId = environmentId;
            return this;
        }
        @CustomType.Setter
        public Builder eventStreamEndpoint(String eventStreamEndpoint) {
            if (eventStreamEndpoint == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "eventStreamEndpoint");
            }
            this.eventStreamEndpoint = eventStreamEndpoint;
            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("GetContainerAppResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder identity(@Nullable ManagedServiceIdentityResponse identity) {

            this.identity = identity;
            return this;
        }
        @CustomType.Setter
        public Builder latestReadyRevisionName(String latestReadyRevisionName) {
            if (latestReadyRevisionName == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "latestReadyRevisionName");
            }
            this.latestReadyRevisionName = latestReadyRevisionName;
            return this;
        }
        @CustomType.Setter
        public Builder latestRevisionFqdn(String latestRevisionFqdn) {
            if (latestRevisionFqdn == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "latestRevisionFqdn");
            }
            this.latestRevisionFqdn = latestRevisionFqdn;
            return this;
        }
        @CustomType.Setter
        public Builder latestRevisionName(String latestRevisionName) {
            if (latestRevisionName == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "latestRevisionName");
            }
            this.latestRevisionName = latestRevisionName;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder managedEnvironmentId(@Nullable String managedEnvironmentId) {

            this.managedEnvironmentId = managedEnvironmentId;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder outboundIpAddresses(List outboundIpAddresses) {
            if (outboundIpAddresses == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "outboundIpAddresses");
            }
            this.outboundIpAddresses = outboundIpAddresses;
            return this;
        }
        public Builder outboundIpAddresses(String... outboundIpAddresses) {
            return outboundIpAddresses(List.of(outboundIpAddresses));
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder template(@Nullable TemplateResponse template) {

            this.template = template;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetContainerAppResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder workloadProfileType(@Nullable String workloadProfileType) {

            this.workloadProfileType = workloadProfileType;
            return this;
        }
        public GetContainerAppResult build() {
            final var _resultValue = new GetContainerAppResult();
            _resultValue.configuration = configuration;
            _resultValue.customDomainVerificationId = customDomainVerificationId;
            _resultValue.environmentId = environmentId;
            _resultValue.eventStreamEndpoint = eventStreamEndpoint;
            _resultValue.extendedLocation = extendedLocation;
            _resultValue.id = id;
            _resultValue.identity = identity;
            _resultValue.latestReadyRevisionName = latestReadyRevisionName;
            _resultValue.latestRevisionFqdn = latestRevisionFqdn;
            _resultValue.latestRevisionName = latestRevisionName;
            _resultValue.location = location;
            _resultValue.managedEnvironmentId = managedEnvironmentId;
            _resultValue.name = name;
            _resultValue.outboundIpAddresses = outboundIpAddresses;
            _resultValue.provisioningState = provisioningState;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.template = template;
            _resultValue.type = type;
            _resultValue.workloadProfileType = workloadProfileType;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy