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

com.pulumi.azurenative.app.outputs.VnetConfigurationResponse 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.app.outputs;

import com.pulumi.azurenative.app.outputs.ManagedEnvironmentOutboundSettingsResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class VnetConfigurationResponse {
    /**
     * @return CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
     * 
     */
    private @Nullable String dockerBridgeCidr;
    /**
     * @return Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges.
     * 
     */
    private @Nullable String infrastructureSubnetId;
    /**
     * @return Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property
     * 
     */
    private @Nullable Boolean internal;
    /**
     * @return Configuration used to control the Environment Egress outbound traffic
     * 
     */
    private @Nullable ManagedEnvironmentOutboundSettingsResponse outboundSettings;
    /**
     * @return IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
     * 
     */
    private @Nullable String platformReservedCidr;
    /**
     * @return  An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
     * 
     */
    private @Nullable String platformReservedDnsIP;
    /**
     * @return This field is deprecated and not used. If you wish to provide your own subnet that Container App containers are injected into, then you should leverage the infrastructureSubnetId.
     * 
     */
    private @Nullable String runtimeSubnetId;

    private VnetConfigurationResponse() {}
    /**
     * @return CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
     * 
     */
    public Optional dockerBridgeCidr() {
        return Optional.ofNullable(this.dockerBridgeCidr);
    }
    /**
     * @return Resource ID of a subnet for infrastructure components. This subnet must be in the same VNET as the subnet defined in runtimeSubnetId. Must not overlap with any other provided IP ranges.
     * 
     */
    public Optional infrastructureSubnetId() {
        return Optional.ofNullable(this.infrastructureSubnetId);
    }
    /**
     * @return Boolean indicating the environment only has an internal load balancer. These environments do not have a public static IP resource. They must provide runtimeSubnetId and infrastructureSubnetId if enabling this property
     * 
     */
    public Optional internal() {
        return Optional.ofNullable(this.internal);
    }
    /**
     * @return Configuration used to control the Environment Egress outbound traffic
     * 
     */
    public Optional outboundSettings() {
        return Optional.ofNullable(this.outboundSettings);
    }
    /**
     * @return IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
     * 
     */
    public Optional platformReservedCidr() {
        return Optional.ofNullable(this.platformReservedCidr);
    }
    /**
     * @return  An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
     * 
     */
    public Optional platformReservedDnsIP() {
        return Optional.ofNullable(this.platformReservedDnsIP);
    }
    /**
     * @return This field is deprecated and not used. If you wish to provide your own subnet that Container App containers are injected into, then you should leverage the infrastructureSubnetId.
     * 
     */
    public Optional runtimeSubnetId() {
        return Optional.ofNullable(this.runtimeSubnetId);
    }

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

    public static Builder builder(VnetConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String dockerBridgeCidr;
        private @Nullable String infrastructureSubnetId;
        private @Nullable Boolean internal;
        private @Nullable ManagedEnvironmentOutboundSettingsResponse outboundSettings;
        private @Nullable String platformReservedCidr;
        private @Nullable String platformReservedDnsIP;
        private @Nullable String runtimeSubnetId;
        public Builder() {}
        public Builder(VnetConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dockerBridgeCidr = defaults.dockerBridgeCidr;
    	      this.infrastructureSubnetId = defaults.infrastructureSubnetId;
    	      this.internal = defaults.internal;
    	      this.outboundSettings = defaults.outboundSettings;
    	      this.platformReservedCidr = defaults.platformReservedCidr;
    	      this.platformReservedDnsIP = defaults.platformReservedDnsIP;
    	      this.runtimeSubnetId = defaults.runtimeSubnetId;
        }

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

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

            this.infrastructureSubnetId = infrastructureSubnetId;
            return this;
        }
        @CustomType.Setter
        public Builder internal(@Nullable Boolean internal) {

            this.internal = internal;
            return this;
        }
        @CustomType.Setter
        public Builder outboundSettings(@Nullable ManagedEnvironmentOutboundSettingsResponse outboundSettings) {

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

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

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

            this.runtimeSubnetId = runtimeSubnetId;
            return this;
        }
        public VnetConfigurationResponse build() {
            final var _resultValue = new VnetConfigurationResponse();
            _resultValue.dockerBridgeCidr = dockerBridgeCidr;
            _resultValue.infrastructureSubnetId = infrastructureSubnetId;
            _resultValue.internal = internal;
            _resultValue.outboundSettings = outboundSettings;
            _resultValue.platformReservedCidr = platformReservedCidr;
            _resultValue.platformReservedDnsIP = platformReservedDnsIP;
            _resultValue.runtimeSubnetId = runtimeSubnetId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy