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

com.pulumi.azurenative.app.inputs.VnetConfigurationArgs 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.inputs;

import com.pulumi.azurenative.app.inputs.ManagedEnvironmentOutboundSettingsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Configuration properties for apps environment to join a Virtual Network
 * 
 */
public final class VnetConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final VnetConfigurationArgs Empty = new VnetConfigurationArgs();

    /**
     * CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
     * 
     */
    @Import(name="dockerBridgeCidr")
    private @Nullable Output dockerBridgeCidr;

    /**
     * @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);
    }

    /**
     * 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.
     * 
     */
    @Import(name="infrastructureSubnetId")
    private @Nullable Output infrastructureSubnetId;

    /**
     * @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);
    }

    /**
     * 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
     * 
     */
    @Import(name="internal")
    private @Nullable Output internal;

    /**
     * @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);
    }

    /**
     * Configuration used to control the Environment Egress outbound traffic
     * 
     */
    @Import(name="outboundSettings")
    private @Nullable Output outboundSettings;

    /**
     * @return Configuration used to control the Environment Egress outbound traffic
     * 
     */
    public Optional> outboundSettings() {
        return Optional.ofNullable(this.outboundSettings);
    }

    /**
     * IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
     * 
     */
    @Import(name="platformReservedCidr")
    private @Nullable Output platformReservedCidr;

    /**
     * @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);
    }

    /**
     *  An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
     * 
     */
    @Import(name="platformReservedDnsIP")
    private @Nullable Output platformReservedDnsIP;

    /**
     * @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);
    }

    /**
     * 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.
     * 
     */
    @Import(name="runtimeSubnetId")
    private @Nullable Output runtimeSubnetId;

    /**
     * @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);
    }

    private VnetConfigurationArgs() {}

    private VnetConfigurationArgs(VnetConfigurationArgs $) {
        this.dockerBridgeCidr = $.dockerBridgeCidr;
        this.infrastructureSubnetId = $.infrastructureSubnetId;
        this.internal = $.internal;
        this.outboundSettings = $.outboundSettings;
        this.platformReservedCidr = $.platformReservedCidr;
        this.platformReservedDnsIP = $.platformReservedDnsIP;
        this.runtimeSubnetId = $.runtimeSubnetId;
    }

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

    public static final class Builder {
        private VnetConfigurationArgs $;

        public Builder() {
            $ = new VnetConfigurationArgs();
        }

        public Builder(VnetConfigurationArgs defaults) {
            $ = new VnetConfigurationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param dockerBridgeCidr CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
         * 
         * @return builder
         * 
         */
        public Builder dockerBridgeCidr(@Nullable Output dockerBridgeCidr) {
            $.dockerBridgeCidr = dockerBridgeCidr;
            return this;
        }

        /**
         * @param dockerBridgeCidr CIDR notation IP range assigned to the Docker bridge, network. Must not overlap with any other provided IP ranges.
         * 
         * @return builder
         * 
         */
        public Builder dockerBridgeCidr(String dockerBridgeCidr) {
            return dockerBridgeCidr(Output.of(dockerBridgeCidr));
        }

        /**
         * @param infrastructureSubnetId 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.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureSubnetId(@Nullable Output infrastructureSubnetId) {
            $.infrastructureSubnetId = infrastructureSubnetId;
            return this;
        }

        /**
         * @param infrastructureSubnetId 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.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureSubnetId(String infrastructureSubnetId) {
            return infrastructureSubnetId(Output.of(infrastructureSubnetId));
        }

        /**
         * @param internal 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
         * 
         * @return builder
         * 
         */
        public Builder internal(@Nullable Output internal) {
            $.internal = internal;
            return this;
        }

        /**
         * @param internal 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
         * 
         * @return builder
         * 
         */
        public Builder internal(Boolean internal) {
            return internal(Output.of(internal));
        }

        /**
         * @param outboundSettings Configuration used to control the Environment Egress outbound traffic
         * 
         * @return builder
         * 
         */
        public Builder outboundSettings(@Nullable Output outboundSettings) {
            $.outboundSettings = outboundSettings;
            return this;
        }

        /**
         * @param outboundSettings Configuration used to control the Environment Egress outbound traffic
         * 
         * @return builder
         * 
         */
        public Builder outboundSettings(ManagedEnvironmentOutboundSettingsArgs outboundSettings) {
            return outboundSettings(Output.of(outboundSettings));
        }

        /**
         * @param platformReservedCidr IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
         * 
         * @return builder
         * 
         */
        public Builder platformReservedCidr(@Nullable Output platformReservedCidr) {
            $.platformReservedCidr = platformReservedCidr;
            return this;
        }

        /**
         * @param platformReservedCidr IP range in CIDR notation that can be reserved for environment infrastructure IP addresses. Must not overlap with any other provided IP ranges.
         * 
         * @return builder
         * 
         */
        public Builder platformReservedCidr(String platformReservedCidr) {
            return platformReservedCidr(Output.of(platformReservedCidr));
        }

        /**
         * @param platformReservedDnsIP  An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
         * 
         * @return builder
         * 
         */
        public Builder platformReservedDnsIP(@Nullable Output platformReservedDnsIP) {
            $.platformReservedDnsIP = platformReservedDnsIP;
            return this;
        }

        /**
         * @param platformReservedDnsIP  An IP address from the IP range defined by platformReservedCidr that will be reserved for the internal DNS server.
         * 
         * @return builder
         * 
         */
        public Builder platformReservedDnsIP(String platformReservedDnsIP) {
            return platformReservedDnsIP(Output.of(platformReservedDnsIP));
        }

        /**
         * @param runtimeSubnetId 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.
         * 
         * @return builder
         * 
         */
        public Builder runtimeSubnetId(@Nullable Output runtimeSubnetId) {
            $.runtimeSubnetId = runtimeSubnetId;
            return this;
        }

        /**
         * @param runtimeSubnetId 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.
         * 
         * @return builder
         * 
         */
        public Builder runtimeSubnetId(String runtimeSubnetId) {
            return runtimeSubnetId(Output.of(runtimeSubnetId));
        }

        public VnetConfigurationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy