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

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

There is a newer version: 2.89.2
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.CustomContainerTemplateResponse;
import com.pulumi.azurenative.app.outputs.DynamicPoolConfigurationResponse;
import com.pulumi.azurenative.app.outputs.ScaleConfigurationResponse;
import com.pulumi.azurenative.app.outputs.SessionNetworkConfigurationResponse;
import com.pulumi.azurenative.app.outputs.SessionPoolSecretResponse;
import com.pulumi.azurenative.app.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
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 GetContainerAppsSessionPoolResult {
    /**
     * @return The container type of the sessions.
     * 
     */
    private @Nullable String containerType;
    /**
     * @return The custom container configuration if the containerType is CustomContainer.
     * 
     */
    private @Nullable CustomContainerTemplateResponse customContainerTemplate;
    /**
     * @return The pool configuration if the poolManagementType is dynamic.
     * 
     */
    private @Nullable DynamicPoolConfigurationResponse dynamicPoolConfiguration;
    /**
     * @return Resource ID of the session pool's environment.
     * 
     */
    private @Nullable String environmentId;
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    private String id;
    /**
     * @return The geo-location where the resource lives
     * 
     */
    private String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The number of nodes the session pool is using.
     * 
     */
    private Integer nodeCount;
    /**
     * @return The endpoint to manage the pool.
     * 
     */
    private String poolManagementEndpoint;
    /**
     * @return The pool management type of the session pool.
     * 
     */
    private @Nullable String poolManagementType;
    /**
     * @return Provisioning state of the session pool.
     * 
     */
    private String provisioningState;
    /**
     * @return The scale configuration of the session pool.
     * 
     */
    private @Nullable ScaleConfigurationResponse scaleConfiguration;
    /**
     * @return The secrets of the session pool.
     * 
     */
    private @Nullable List secrets;
    /**
     * @return The network configuration of the sessions in the session pool.
     * 
     */
    private @Nullable SessionNetworkConfigurationResponse sessionNetworkConfiguration;
    /**
     * @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;

    private GetContainerAppsSessionPoolResult() {}
    /**
     * @return The container type of the sessions.
     * 
     */
    public Optional containerType() {
        return Optional.ofNullable(this.containerType);
    }
    /**
     * @return The custom container configuration if the containerType is CustomContainer.
     * 
     */
    public Optional customContainerTemplate() {
        return Optional.ofNullable(this.customContainerTemplate);
    }
    /**
     * @return The pool configuration if the poolManagementType is dynamic.
     * 
     */
    public Optional dynamicPoolConfiguration() {
        return Optional.ofNullable(this.dynamicPoolConfiguration);
    }
    /**
     * @return Resource ID of the session pool's environment.
     * 
     */
    public Optional environmentId() {
        return Optional.ofNullable(this.environmentId);
    }
    /**
     * @return Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @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 The number of nodes the session pool is using.
     * 
     */
    public Integer nodeCount() {
        return this.nodeCount;
    }
    /**
     * @return The endpoint to manage the pool.
     * 
     */
    public String poolManagementEndpoint() {
        return this.poolManagementEndpoint;
    }
    /**
     * @return The pool management type of the session pool.
     * 
     */
    public Optional poolManagementType() {
        return Optional.ofNullable(this.poolManagementType);
    }
    /**
     * @return Provisioning state of the session pool.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The scale configuration of the session pool.
     * 
     */
    public Optional scaleConfiguration() {
        return Optional.ofNullable(this.scaleConfiguration);
    }
    /**
     * @return The secrets of the session pool.
     * 
     */
    public List secrets() {
        return this.secrets == null ? List.of() : this.secrets;
    }
    /**
     * @return The network configuration of the sessions in the session pool.
     * 
     */
    public Optional sessionNetworkConfiguration() {
        return Optional.ofNullable(this.sessionNetworkConfiguration);
    }
    /**
     * @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;
    }

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

    public static Builder builder(GetContainerAppsSessionPoolResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String containerType;
        private @Nullable CustomContainerTemplateResponse customContainerTemplate;
        private @Nullable DynamicPoolConfigurationResponse dynamicPoolConfiguration;
        private @Nullable String environmentId;
        private String id;
        private String location;
        private String name;
        private Integer nodeCount;
        private String poolManagementEndpoint;
        private @Nullable String poolManagementType;
        private String provisioningState;
        private @Nullable ScaleConfigurationResponse scaleConfiguration;
        private @Nullable List secrets;
        private @Nullable SessionNetworkConfigurationResponse sessionNetworkConfiguration;
        private SystemDataResponse systemData;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetContainerAppsSessionPoolResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.containerType = defaults.containerType;
    	      this.customContainerTemplate = defaults.customContainerTemplate;
    	      this.dynamicPoolConfiguration = defaults.dynamicPoolConfiguration;
    	      this.environmentId = defaults.environmentId;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.nodeCount = defaults.nodeCount;
    	      this.poolManagementEndpoint = defaults.poolManagementEndpoint;
    	      this.poolManagementType = defaults.poolManagementType;
    	      this.provisioningState = defaults.provisioningState;
    	      this.scaleConfiguration = defaults.scaleConfiguration;
    	      this.secrets = defaults.secrets;
    	      this.sessionNetworkConfiguration = defaults.sessionNetworkConfiguration;
    	      this.systemData = defaults.systemData;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

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

            this.containerType = containerType;
            return this;
        }
        @CustomType.Setter
        public Builder customContainerTemplate(@Nullable CustomContainerTemplateResponse customContainerTemplate) {

            this.customContainerTemplate = customContainerTemplate;
            return this;
        }
        @CustomType.Setter
        public Builder dynamicPoolConfiguration(@Nullable DynamicPoolConfigurationResponse dynamicPoolConfiguration) {

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

            this.environmentId = environmentId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(String location) {
            if (location == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "location");
            }
            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder nodeCount(Integer nodeCount) {
            if (nodeCount == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "nodeCount");
            }
            this.nodeCount = nodeCount;
            return this;
        }
        @CustomType.Setter
        public Builder poolManagementEndpoint(String poolManagementEndpoint) {
            if (poolManagementEndpoint == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "poolManagementEndpoint");
            }
            this.poolManagementEndpoint = poolManagementEndpoint;
            return this;
        }
        @CustomType.Setter
        public Builder poolManagementType(@Nullable String poolManagementType) {

            this.poolManagementType = poolManagementType;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder scaleConfiguration(@Nullable ScaleConfigurationResponse scaleConfiguration) {

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

            this.secrets = secrets;
            return this;
        }
        public Builder secrets(SessionPoolSecretResponse... secrets) {
            return secrets(List.of(secrets));
        }
        @CustomType.Setter
        public Builder sessionNetworkConfiguration(@Nullable SessionNetworkConfigurationResponse sessionNetworkConfiguration) {

            this.sessionNetworkConfiguration = sessionNetworkConfiguration;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetContainerAppsSessionPoolResult", "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("GetContainerAppsSessionPoolResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetContainerAppsSessionPoolResult build() {
            final var _resultValue = new GetContainerAppsSessionPoolResult();
            _resultValue.containerType = containerType;
            _resultValue.customContainerTemplate = customContainerTemplate;
            _resultValue.dynamicPoolConfiguration = dynamicPoolConfiguration;
            _resultValue.environmentId = environmentId;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.nodeCount = nodeCount;
            _resultValue.poolManagementEndpoint = poolManagementEndpoint;
            _resultValue.poolManagementType = poolManagementType;
            _resultValue.provisioningState = provisioningState;
            _resultValue.scaleConfiguration = scaleConfiguration;
            _resultValue.secrets = secrets;
            _resultValue.sessionNetworkConfiguration = sessionNetworkConfiguration;
            _resultValue.systemData = systemData;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy