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

com.pulumi.azure.lb.inputs.BackendAddressPoolAddressState 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.BackendAddressPoolAddressInboundNatRulePortMappingArgs;
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 BackendAddressPoolAddressState extends com.pulumi.resources.ResourceArgs {

    public static final BackendAddressPoolAddressState Empty = new BackendAddressPoolAddressState();

    /**
     * The ip config ID of the regional load balancer that's added to the global load balancer's backend address pool.
     * 
     * > **Note:** For cross-region load balancer, please append the name of the load balancers, virtual machines, and other resources in each region with a -R1 and -R2.
     * 
     */
    @Import(name="backendAddressIpConfigurationId")
    private @Nullable Output backendAddressIpConfigurationId;

    /**
     * @return The ip config ID of the regional load balancer that's added to the global load balancer's backend address pool.
     * 
     * > **Note:** For cross-region load balancer, please append the name of the load balancers, virtual machines, and other resources in each region with a -R1 and -R2.
     * 
     */
    public Optional> backendAddressIpConfigurationId() {
        return Optional.ofNullable(this.backendAddressIpConfigurationId);
    }

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

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

    /**
     * A list of `inbound_nat_rule_port_mapping` block as defined below.
     * 
     */
    @Import(name="inboundNatRulePortMappings")
    private @Nullable Output> inboundNatRulePortMappings;

    /**
     * @return A list of `inbound_nat_rule_port_mapping` block as defined below.
     * 
     */
    public Optional>> inboundNatRulePortMappings() {
        return Optional.ofNullable(this.inboundNatRulePortMappings);
    }

    /**
     * The Static IP Address which should be allocated to this Backend Address Pool.
     * 
     */
    @Import(name="ipAddress")
    private @Nullable Output ipAddress;

    /**
     * @return The Static IP Address which should be allocated to this Backend Address Pool.
     * 
     */
    public Optional> ipAddress() {
        return Optional.ofNullable(this.ipAddress);
    }

    /**
     * The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * 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 BackendAddressPoolAddressState() {}

    private BackendAddressPoolAddressState(BackendAddressPoolAddressState $) {
        this.backendAddressIpConfigurationId = $.backendAddressIpConfigurationId;
        this.backendAddressPoolId = $.backendAddressPoolId;
        this.inboundNatRulePortMappings = $.inboundNatRulePortMappings;
        this.ipAddress = $.ipAddress;
        this.name = $.name;
        this.virtualNetworkId = $.virtualNetworkId;
    }

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

    public static final class Builder {
        private BackendAddressPoolAddressState $;

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

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

        /**
         * @param backendAddressIpConfigurationId The ip config ID of the regional load balancer that's added to the global load balancer's backend address pool.
         * 
         * > **Note:** For cross-region load balancer, please append the name of the load balancers, virtual machines, and other resources in each region with a -R1 and -R2.
         * 
         * @return builder
         * 
         */
        public Builder backendAddressIpConfigurationId(@Nullable Output backendAddressIpConfigurationId) {
            $.backendAddressIpConfigurationId = backendAddressIpConfigurationId;
            return this;
        }

        /**
         * @param backendAddressIpConfigurationId The ip config ID of the regional load balancer that's added to the global load balancer's backend address pool.
         * 
         * > **Note:** For cross-region load balancer, please append the name of the load balancers, virtual machines, and other resources in each region with a -R1 and -R2.
         * 
         * @return builder
         * 
         */
        public Builder backendAddressIpConfigurationId(String backendAddressIpConfigurationId) {
            return backendAddressIpConfigurationId(Output.of(backendAddressIpConfigurationId));
        }

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

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

        /**
         * @param inboundNatRulePortMappings A list of `inbound_nat_rule_port_mapping` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRulePortMappings(@Nullable Output> inboundNatRulePortMappings) {
            $.inboundNatRulePortMappings = inboundNatRulePortMappings;
            return this;
        }

        /**
         * @param inboundNatRulePortMappings A list of `inbound_nat_rule_port_mapping` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRulePortMappings(List inboundNatRulePortMappings) {
            return inboundNatRulePortMappings(Output.of(inboundNatRulePortMappings));
        }

        /**
         * @param inboundNatRulePortMappings A list of `inbound_nat_rule_port_mapping` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder inboundNatRulePortMappings(BackendAddressPoolAddressInboundNatRulePortMappingArgs... inboundNatRulePortMappings) {
            return inboundNatRulePortMappings(List.of(inboundNatRulePortMappings));
        }

        /**
         * @param ipAddress The Static IP Address which should be allocated to this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(@Nullable Output ipAddress) {
            $.ipAddress = ipAddress;
            return this;
        }

        /**
         * @param ipAddress The Static IP Address which should be allocated to this Backend Address Pool.
         * 
         * @return builder
         * 
         */
        public Builder ipAddress(String ipAddress) {
            return ipAddress(Output.of(ipAddress));
        }

        /**
         * @param name The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @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 BackendAddressPoolAddressState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy