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

com.pulumi.azure.lb.inputs.BackendAddressPoolState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.lb.inputs;

import com.pulumi.azure.lb.inputs.BackendAddressPoolTunnelInterfaceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class BackendAddressPoolState extends com.pulumi.resources.ResourceArgs {

    public static final BackendAddressPoolState Empty = new BackendAddressPoolState();

    /**
     * The Backend IP Configurations associated with this Backend Address Pool.
     * 
     */
    @Import(name="backendIpConfigurations")
    private @Nullable Output> backendIpConfigurations;

    /**
     * @return The Backend IP Configurations associated with this Backend Address Pool.
     * 
     */
    public Optional>> backendIpConfigurations() {
        return Optional.ofNullable(this.backendIpConfigurations);
    }

    /**
     * An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
     * 
     */
    @Import(name="inboundNatRules")
    private @Nullable Output> inboundNatRules;

    /**
     * @return An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
     * 
     */
    public Optional>> inboundNatRules() {
        return Optional.ofNullable(this.inboundNatRules);
    }

    /**
     * The Load Balancing Rules associated with this Backend Address Pool.
     * 
     */
    @Import(name="loadBalancingRules")
    private @Nullable Output> loadBalancingRules;

    /**
     * @return The Load Balancing Rules associated with this Backend Address Pool.
     * 
     */
    public Optional>> loadBalancingRules() {
        return Optional.ofNullable(this.loadBalancingRules);
    }

    /**
     * The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="loadbalancerId")
    private @Nullable Output loadbalancerId;

    /**
     * @return The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
     * 
     */
    public Optional> loadbalancerId() {
        return Optional.ofNullable(this.loadbalancerId);
    }

    /**
     * Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
     * 
     */
    @Import(name="outboundRules")
    private @Nullable Output> outboundRules;

    /**
     * @return An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
     * 
     */
    public Optional>> outboundRules() {
        return Optional.ofNullable(this.outboundRules);
    }

    /**
     * The backend address synchronous mode for the Backend Address Pool. Possible values are `Automatic` and `Manual`. This is required with `virtual_network_id`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** The `synchronous_mode` can set only for Load Balancer with `Standard` SKU.
     * 
     */
    @Import(name="synchronousMode")
    private @Nullable Output synchronousMode;

    /**
     * @return The backend address synchronous mode for the Backend Address Pool. Possible values are `Automatic` and `Manual`. This is required with `virtual_network_id`. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** The `synchronous_mode` can set only for Load Balancer with `Standard` SKU.
     * 
     */
    public Optional> synchronousMode() {
        return Optional.ofNullable(this.synchronousMode);
    }

    /**
     * One or more `tunnel_interface` blocks as defined below.
     * 
     */
    @Import(name="tunnelInterfaces")
    private @Nullable Output> tunnelInterfaces;

    /**
     * @return One or more `tunnel_interface` blocks as defined below.
     * 
     */
    public Optional>> tunnelInterfaces() {
        return Optional.ofNullable(this.tunnelInterfaces);
    }

    /**
     * The ID of the Virtual Network within which the Backend Address Pool should exist.
     * 
     */
    @Import(name="virtualNetworkId")
    private @Nullable Output virtualNetworkId;

    /**
     * @return The ID of the Virtual Network within which the Backend Address Pool should exist.
     * 
     */
    public Optional> virtualNetworkId() {
        return Optional.ofNullable(this.virtualNetworkId);
    }

    private BackendAddressPoolState() {}

    private BackendAddressPoolState(BackendAddressPoolState $) {
        this.backendIpConfigurations = $.backendIpConfigurations;
        this.inboundNatRules = $.inboundNatRules;
        this.loadBalancingRules = $.loadBalancingRules;
        this.loadbalancerId = $.loadbalancerId;
        this.name = $.name;
        this.outboundRules = $.outboundRules;
        this.synchronousMode = $.synchronousMode;
        this.tunnelInterfaces = $.tunnelInterfaces;
        this.virtualNetworkId = $.virtualNetworkId;
    }

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

    public static final class Builder {
        private BackendAddressPoolState $;

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

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

        /**
         * @param backendIpConfigurations The Backend IP Configurations associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder backendIpConfigurations(@Nullable Output> backendIpConfigurations) {
            $.backendIpConfigurations = backendIpConfigurations;
            return this;
        }

        /**
         * @param backendIpConfigurations The Backend IP Configurations associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder backendIpConfigurations(List backendIpConfigurations) {
            return backendIpConfigurations(Output.of(backendIpConfigurations));
        }

        /**
         * @param backendIpConfigurations The Backend IP Configurations associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder backendIpConfigurations(String... backendIpConfigurations) {
            return backendIpConfigurations(List.of(backendIpConfigurations));
        }

        /**
         * @param inboundNatRules An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRules(@Nullable Output> inboundNatRules) {
            $.inboundNatRules = inboundNatRules;
            return this;
        }

        /**
         * @param inboundNatRules An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRules(List inboundNatRules) {
            return inboundNatRules(Output.of(inboundNatRules));
        }

        /**
         * @param inboundNatRules An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRules(String... inboundNatRules) {
            return inboundNatRules(List.of(inboundNatRules));
        }

        /**
         * @param loadBalancingRules The Load Balancing Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancingRules(@Nullable Output> loadBalancingRules) {
            $.loadBalancingRules = loadBalancingRules;
            return this;
        }

        /**
         * @param loadBalancingRules The Load Balancing Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancingRules(List loadBalancingRules) {
            return loadBalancingRules(Output.of(loadBalancingRules));
        }

        /**
         * @param loadBalancingRules The Load Balancing Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder loadBalancingRules(String... loadBalancingRules) {
            return loadBalancingRules(List.of(loadBalancingRules));
        }

        /**
         * @param loadbalancerId The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder loadbalancerId(@Nullable Output loadbalancerId) {
            $.loadbalancerId = loadbalancerId;
            return this;
        }

        /**
         * @param loadbalancerId The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder loadbalancerId(String loadbalancerId) {
            return loadbalancerId(Output.of(loadbalancerId));
        }

        /**
         * @param name Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param outboundRules An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder outboundRules(@Nullable Output> outboundRules) {
            $.outboundRules = outboundRules;
            return this;
        }

        /**
         * @param outboundRules An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder outboundRules(List outboundRules) {
            return outboundRules(Output.of(outboundRules));
        }

        /**
         * @param outboundRules An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder outboundRules(String... outboundRules) {
            return outboundRules(List.of(outboundRules));
        }

        /**
         * @param synchronousMode The backend address synchronous mode for the Backend Address Pool. Possible values are `Automatic` and `Manual`. This is required with `virtual_network_id`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** The `synchronous_mode` can set only for Load Balancer with `Standard` SKU.
         * 
         * @return builder
         * 
         */
        public Builder synchronousMode(@Nullable Output synchronousMode) {
            $.synchronousMode = synchronousMode;
            return this;
        }

        /**
         * @param synchronousMode The backend address synchronous mode for the Backend Address Pool. Possible values are `Automatic` and `Manual`. This is required with `virtual_network_id`. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** The `synchronous_mode` can set only for Load Balancer with `Standard` SKU.
         * 
         * @return builder
         * 
         */
        public Builder synchronousMode(String synchronousMode) {
            return synchronousMode(Output.of(synchronousMode));
        }

        /**
         * @param tunnelInterfaces One or more `tunnel_interface` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder tunnelInterfaces(@Nullable Output> tunnelInterfaces) {
            $.tunnelInterfaces = tunnelInterfaces;
            return this;
        }

        /**
         * @param tunnelInterfaces One or more `tunnel_interface` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder tunnelInterfaces(List tunnelInterfaces) {
            return tunnelInterfaces(Output.of(tunnelInterfaces));
        }

        /**
         * @param tunnelInterfaces One or more `tunnel_interface` blocks as defined below.
         * 
         * @return builder
         * 
         */
        public Builder tunnelInterfaces(BackendAddressPoolTunnelInterfaceArgs... tunnelInterfaces) {
            return tunnelInterfaces(List.of(tunnelInterfaces));
        }

        /**
         * @param virtualNetworkId The ID of the Virtual Network within which the Backend Address Pool should exist.
         * 
         * @return builder
         * 
         */
        public Builder virtualNetworkId(@Nullable Output virtualNetworkId) {
            $.virtualNetworkId = virtualNetworkId;
            return this;
        }

        /**
         * @param virtualNetworkId The ID of the Virtual Network within which the Backend Address Pool should exist.
         * 
         * @return builder
         * 
         */
        public Builder virtualNetworkId(String virtualNetworkId) {
            return virtualNetworkId(Output.of(virtualNetworkId));
        }

        public BackendAddressPoolState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy