1. Packages
  2. Azure Classic
  3. API Docs
  4. lb
  5. BackendAddressPoolAddress

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.lb.BackendAddressPoolAddress

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Backend Address within a Backend Address Pool.

    Note: Backend Addresses can only be added to a Standard SKU Load Balancer.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = azure.network.getVirtualNetwork({
        name: "example-network",
        resourceGroupName: "example-resources",
    });
    const exampleGetLB = azure.lb.getLB({
        name: "example-lb",
        resourceGroupName: "example-resources",
    });
    const exampleGetBackendAddressPool = exampleGetLB.then(exampleGetLB => azure.lb.getBackendAddressPool({
        name: "first",
        loadbalancerId: exampleGetLB.id,
    }));
    const exampleBackendAddressPoolAddress = new azure.lb.BackendAddressPoolAddress("example", {
        name: "example",
        backendAddressPoolId: exampleGetBackendAddressPool.then(exampleGetBackendAddressPool => exampleGetBackendAddressPool.id),
        virtualNetworkId: example.then(example => example.id),
        ipAddress: "10.0.0.1",
    });
    const backend-pool-cr = exampleGetLB.then(exampleGetLB => azure.lb.getBackendAddressPool({
        name: "globalLBBackendPool",
        loadbalancerId: exampleGetLB.id,
    }));
    const example_1 = new azure.lb.BackendAddressPoolAddress("example-1", {
        name: "address1",
        backendAddressPoolId: backend_pool_cr.then(backend_pool_cr => backend_pool_cr.id),
        backendAddressIpConfigurationId: backend_lb_R1.frontendIpConfiguration[0].id,
    });
    const example_2 = new azure.lb.BackendAddressPoolAddress("example-2", {
        name: "address2",
        backendAddressPoolId: backend_pool_cr.then(backend_pool_cr => backend_pool_cr.id),
        backendAddressIpConfigurationId: backend_lb_R2.frontendIpConfiguration[0].id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.network.get_virtual_network(name="example-network",
        resource_group_name="example-resources")
    example_get_lb = azure.lb.get_lb(name="example-lb",
        resource_group_name="example-resources")
    example_get_backend_address_pool = azure.lb.get_backend_address_pool(name="first",
        loadbalancer_id=example_get_lb.id)
    example_backend_address_pool_address = azure.lb.BackendAddressPoolAddress("example",
        name="example",
        backend_address_pool_id=example_get_backend_address_pool.id,
        virtual_network_id=example.id,
        ip_address="10.0.0.1")
    backend_pool_cr = azure.lb.get_backend_address_pool(name="globalLBBackendPool",
        loadbalancer_id=example_get_lb.id)
    example_1 = azure.lb.BackendAddressPoolAddress("example-1",
        name="address1",
        backend_address_pool_id=backend_pool_cr.id,
        backend_address_ip_configuration_id=backend_lb__r1["frontendIpConfiguration"][0]["id"])
    example_2 = azure.lb.BackendAddressPoolAddress("example-2",
        name="address2",
        backend_address_pool_id=backend_pool_cr.id,
        backend_address_ip_configuration_id=backend_lb__r2["frontendIpConfiguration"][0]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lb"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := network.LookupVirtualNetwork(ctx, &network.LookupVirtualNetworkArgs{
    			Name:              "example-network",
    			ResourceGroupName: "example-resources",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleGetLB, err := lb.GetLB(ctx, &lb.GetLBArgs{
    			Name:              "example-lb",
    			ResourceGroupName: "example-resources",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		exampleGetBackendAddressPool, err := lb.LookupBackendAddressPool(ctx, &lb.LookupBackendAddressPoolArgs{
    			Name:           "first",
    			LoadbalancerId: exampleGetLB.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = lb.NewBackendAddressPoolAddress(ctx, "example", &lb.BackendAddressPoolAddressArgs{
    			Name:                 pulumi.String("example"),
    			BackendAddressPoolId: pulumi.String(exampleGetBackendAddressPool.Id),
    			VirtualNetworkId:     pulumi.String(example.Id),
    			IpAddress:            pulumi.String("10.0.0.1"),
    		})
    		if err != nil {
    			return err
    		}
    		backend_pool_cr, err := lb.LookupBackendAddressPool(ctx, &lb.LookupBackendAddressPoolArgs{
    			Name:           "globalLBBackendPool",
    			LoadbalancerId: exampleGetLB.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = lb.NewBackendAddressPoolAddress(ctx, "example-1", &lb.BackendAddressPoolAddressArgs{
    			Name:                            pulumi.String("address1"),
    			BackendAddressPoolId:            pulumi.String(backend_pool_cr.Id),
    			BackendAddressIpConfigurationId: pulumi.Any(backend_lb_R1.FrontendIpConfiguration[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = lb.NewBackendAddressPoolAddress(ctx, "example-2", &lb.BackendAddressPoolAddressArgs{
    			Name:                            pulumi.String("address2"),
    			BackendAddressPoolId:            pulumi.String(backend_pool_cr.Id),
    			BackendAddressIpConfigurationId: pulumi.Any(backend_lb_R2.FrontendIpConfiguration[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Azure.Network.GetVirtualNetwork.Invoke(new()
        {
            Name = "example-network",
            ResourceGroupName = "example-resources",
        });
    
        var exampleGetLB = Azure.Lb.GetLB.Invoke(new()
        {
            Name = "example-lb",
            ResourceGroupName = "example-resources",
        });
    
        var exampleGetBackendAddressPool = Azure.Lb.GetBackendAddressPool.Invoke(new()
        {
            Name = "first",
            LoadbalancerId = exampleGetLB.Apply(getLBResult => getLBResult.Id),
        });
    
        var exampleBackendAddressPoolAddress = new Azure.Lb.BackendAddressPoolAddress("example", new()
        {
            Name = "example",
            BackendAddressPoolId = exampleGetBackendAddressPool.Apply(getBackendAddressPoolResult => getBackendAddressPoolResult.Id),
            VirtualNetworkId = example.Apply(getVirtualNetworkResult => getVirtualNetworkResult.Id),
            IpAddress = "10.0.0.1",
        });
    
        var backend_pool_cr = Azure.Lb.GetBackendAddressPool.Invoke(new()
        {
            Name = "globalLBBackendPool",
            LoadbalancerId = exampleGetLB.Apply(getLBResult => getLBResult.Id),
        });
    
        var example_1 = new Azure.Lb.BackendAddressPoolAddress("example-1", new()
        {
            Name = "address1",
            BackendAddressPoolId = backend_pool_cr.Apply(backend_pool_cr => backend_pool_cr.Apply(getBackendAddressPoolResult => getBackendAddressPoolResult.Id)),
            BackendAddressIpConfigurationId = backend_lb_R1.FrontendIpConfiguration[0].Id,
        });
    
        var example_2 = new Azure.Lb.BackendAddressPoolAddress("example-2", new()
        {
            Name = "address2",
            BackendAddressPoolId = backend_pool_cr.Apply(backend_pool_cr => backend_pool_cr.Apply(getBackendAddressPoolResult => getBackendAddressPoolResult.Id)),
            BackendAddressIpConfigurationId = backend_lb_R2.FrontendIpConfiguration[0].Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.network.NetworkFunctions;
    import com.pulumi.azure.network.inputs.GetVirtualNetworkArgs;
    import com.pulumi.azure.lb.LbFunctions;
    import com.pulumi.azure.lb.inputs.GetLBArgs;
    import com.pulumi.azure.lb.inputs.GetBackendAddressPoolArgs;
    import com.pulumi.azure.lb.BackendAddressPoolAddress;
    import com.pulumi.azure.lb.BackendAddressPoolAddressArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = NetworkFunctions.getVirtualNetwork(GetVirtualNetworkArgs.builder()
                .name("example-network")
                .resourceGroupName("example-resources")
                .build());
    
            final var exampleGetLB = LbFunctions.getLB(GetLBArgs.builder()
                .name("example-lb")
                .resourceGroupName("example-resources")
                .build());
    
            final var exampleGetBackendAddressPool = LbFunctions.getBackendAddressPool(GetBackendAddressPoolArgs.builder()
                .name("first")
                .loadbalancerId(exampleGetLB.applyValue(getLBResult -> getLBResult.id()))
                .build());
    
            var exampleBackendAddressPoolAddress = new BackendAddressPoolAddress("exampleBackendAddressPoolAddress", BackendAddressPoolAddressArgs.builder()
                .name("example")
                .backendAddressPoolId(exampleGetBackendAddressPool.applyValue(getBackendAddressPoolResult -> getBackendAddressPoolResult.id()))
                .virtualNetworkId(example.applyValue(getVirtualNetworkResult -> getVirtualNetworkResult.id()))
                .ipAddress("10.0.0.1")
                .build());
    
            final var backend-pool-cr = LbFunctions.getBackendAddressPool(GetBackendAddressPoolArgs.builder()
                .name("globalLBBackendPool")
                .loadbalancerId(exampleGetLB.applyValue(getLBResult -> getLBResult.id()))
                .build());
    
            var example_1 = new BackendAddressPoolAddress("example-1", BackendAddressPoolAddressArgs.builder()
                .name("address1")
                .backendAddressPoolId(backend_pool_cr.id())
                .backendAddressIpConfigurationId(backend_lb_R1.frontendIpConfiguration()[0].id())
                .build());
    
            var example_2 = new BackendAddressPoolAddress("example-2", BackendAddressPoolAddressArgs.builder()
                .name("address2")
                .backendAddressPoolId(backend_pool_cr.id())
                .backendAddressIpConfigurationId(backend_lb_R2.frontendIpConfiguration()[0].id())
                .build());
    
        }
    }
    
    resources:
      exampleBackendAddressPoolAddress:
        type: azure:lb:BackendAddressPoolAddress
        name: example
        properties:
          name: example
          backendAddressPoolId: ${exampleGetBackendAddressPool.id}
          virtualNetworkId: ${example.id}
          ipAddress: 10.0.0.1
      example-1:
        type: azure:lb:BackendAddressPoolAddress
        properties:
          name: address1
          backendAddressPoolId: ${["backend-pool-cr"].id}
          backendAddressIpConfigurationId: ${["backend-lb-R1"].frontendIpConfiguration[0].id}
      example-2:
        type: azure:lb:BackendAddressPoolAddress
        properties:
          name: address2
          backendAddressPoolId: ${["backend-pool-cr"].id}
          backendAddressIpConfigurationId: ${["backend-lb-R2"].frontendIpConfiguration[0].id}
    variables:
      example:
        fn::invoke:
          Function: azure:network:getVirtualNetwork
          Arguments:
            name: example-network
            resourceGroupName: example-resources
      exampleGetLB:
        fn::invoke:
          Function: azure:lb:getLB
          Arguments:
            name: example-lb
            resourceGroupName: example-resources
      exampleGetBackendAddressPool:
        fn::invoke:
          Function: azure:lb:getBackendAddressPool
          Arguments:
            name: first
            loadbalancerId: ${exampleGetLB.id}
      backend-pool-cr:
        fn::invoke:
          Function: azure:lb:getBackendAddressPool
          Arguments:
            name: globalLBBackendPool
            loadbalancerId: ${exampleGetLB.id}
    

    Create BackendAddressPoolAddress Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BackendAddressPoolAddress(name: string, args: BackendAddressPoolAddressArgs, opts?: CustomResourceOptions);
    @overload
    def BackendAddressPoolAddress(resource_name: str,
                                  args: BackendAddressPoolAddressArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackendAddressPoolAddress(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  backend_address_pool_id: Optional[str] = None,
                                  backend_address_ip_configuration_id: Optional[str] = None,
                                  ip_address: Optional[str] = None,
                                  name: Optional[str] = None,
                                  virtual_network_id: Optional[str] = None)
    func NewBackendAddressPoolAddress(ctx *Context, name string, args BackendAddressPoolAddressArgs, opts ...ResourceOption) (*BackendAddressPoolAddress, error)
    public BackendAddressPoolAddress(string name, BackendAddressPoolAddressArgs args, CustomResourceOptions? opts = null)
    public BackendAddressPoolAddress(String name, BackendAddressPoolAddressArgs args)
    public BackendAddressPoolAddress(String name, BackendAddressPoolAddressArgs args, CustomResourceOptions options)
    
    type: azure:lb:BackendAddressPoolAddress
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BackendAddressPoolAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BackendAddressPoolAddressArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BackendAddressPoolAddressArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackendAddressPoolAddressArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackendAddressPoolAddressArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var backendAddressPoolAddressResource = new Azure.Lb.BackendAddressPoolAddress("backendAddressPoolAddressResource", new()
    {
        BackendAddressPoolId = "string",
        BackendAddressIpConfigurationId = "string",
        IpAddress = "string",
        Name = "string",
        VirtualNetworkId = "string",
    });
    
    example, err := lb.NewBackendAddressPoolAddress(ctx, "backendAddressPoolAddressResource", &lb.BackendAddressPoolAddressArgs{
    	BackendAddressPoolId:            pulumi.String("string"),
    	BackendAddressIpConfigurationId: pulumi.String("string"),
    	IpAddress:                       pulumi.String("string"),
    	Name:                            pulumi.String("string"),
    	VirtualNetworkId:                pulumi.String("string"),
    })
    
    var backendAddressPoolAddressResource = new BackendAddressPoolAddress("backendAddressPoolAddressResource", BackendAddressPoolAddressArgs.builder()
        .backendAddressPoolId("string")
        .backendAddressIpConfigurationId("string")
        .ipAddress("string")
        .name("string")
        .virtualNetworkId("string")
        .build());
    
    backend_address_pool_address_resource = azure.lb.BackendAddressPoolAddress("backendAddressPoolAddressResource",
        backend_address_pool_id="string",
        backend_address_ip_configuration_id="string",
        ip_address="string",
        name="string",
        virtual_network_id="string")
    
    const backendAddressPoolAddressResource = new azure.lb.BackendAddressPoolAddress("backendAddressPoolAddressResource", {
        backendAddressPoolId: "string",
        backendAddressIpConfigurationId: "string",
        ipAddress: "string",
        name: "string",
        virtualNetworkId: "string",
    });
    
    type: azure:lb:BackendAddressPoolAddress
    properties:
        backendAddressIpConfigurationId: string
        backendAddressPoolId: string
        ipAddress: string
        name: string
        virtualNetworkId: string
    

    BackendAddressPoolAddress Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The BackendAddressPoolAddress resource accepts the following input properties:

    BackendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    BackendAddressIpConfigurationId string

    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.

    IpAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    Name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    BackendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    BackendAddressIpConfigurationId string

    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.

    IpAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    Name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressPoolId String
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    backendAddressIpConfigurationId String

    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.

    ipAddress String
    The Static IP Address which should be allocated to this Backend Address Pool.
    name String
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    backendAddressIpConfigurationId string

    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.

    ipAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backend_address_pool_id str
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    backend_address_ip_configuration_id str

    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.

    ip_address str
    The Static IP Address which should be allocated to this Backend Address Pool.
    name str
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtual_network_id str
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressPoolId String
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    backendAddressIpConfigurationId String

    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.

    ipAddress String
    The Static IP Address which should be allocated to this Backend Address Pool.
    name String
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BackendAddressPoolAddress resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InboundNatRulePortMappings List<Pulumi.Azure.Lb.Outputs.BackendAddressPoolAddressInboundNatRulePortMapping>
    A list of inbound_nat_rule_port_mapping block as defined below.
    Id string
    The provider-assigned unique ID for this managed resource.
    InboundNatRulePortMappings []BackendAddressPoolAddressInboundNatRulePortMapping
    A list of inbound_nat_rule_port_mapping block as defined below.
    id String
    The provider-assigned unique ID for this managed resource.
    inboundNatRulePortMappings List<BackendAddressPoolAddressInboundNatRulePortMapping>
    A list of inbound_nat_rule_port_mapping block as defined below.
    id string
    The provider-assigned unique ID for this managed resource.
    inboundNatRulePortMappings BackendAddressPoolAddressInboundNatRulePortMapping[]
    A list of inbound_nat_rule_port_mapping block as defined below.
    id str
    The provider-assigned unique ID for this managed resource.
    inbound_nat_rule_port_mappings Sequence[BackendAddressPoolAddressInboundNatRulePortMapping]
    A list of inbound_nat_rule_port_mapping block as defined below.
    id String
    The provider-assigned unique ID for this managed resource.
    inboundNatRulePortMappings List<Property Map>
    A list of inbound_nat_rule_port_mapping block as defined below.

    Look up Existing BackendAddressPoolAddress Resource

    Get an existing BackendAddressPoolAddress resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BackendAddressPoolAddressState, opts?: CustomResourceOptions): BackendAddressPoolAddress
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backend_address_ip_configuration_id: Optional[str] = None,
            backend_address_pool_id: Optional[str] = None,
            inbound_nat_rule_port_mappings: Optional[Sequence[BackendAddressPoolAddressInboundNatRulePortMappingArgs]] = None,
            ip_address: Optional[str] = None,
            name: Optional[str] = None,
            virtual_network_id: Optional[str] = None) -> BackendAddressPoolAddress
    func GetBackendAddressPoolAddress(ctx *Context, name string, id IDInput, state *BackendAddressPoolAddressState, opts ...ResourceOption) (*BackendAddressPoolAddress, error)
    public static BackendAddressPoolAddress Get(string name, Input<string> id, BackendAddressPoolAddressState? state, CustomResourceOptions? opts = null)
    public static BackendAddressPoolAddress get(String name, Output<String> id, BackendAddressPoolAddressState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BackendAddressIpConfigurationId string

    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.

    BackendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    InboundNatRulePortMappings List<Pulumi.Azure.Lb.Inputs.BackendAddressPoolAddressInboundNatRulePortMapping>
    A list of inbound_nat_rule_port_mapping block as defined below.
    IpAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    Name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    BackendAddressIpConfigurationId string

    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.

    BackendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    InboundNatRulePortMappings []BackendAddressPoolAddressInboundNatRulePortMappingArgs
    A list of inbound_nat_rule_port_mapping block as defined below.
    IpAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    Name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressIpConfigurationId String

    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.

    backendAddressPoolId String
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    inboundNatRulePortMappings List<BackendAddressPoolAddressInboundNatRulePortMapping>
    A list of inbound_nat_rule_port_mapping block as defined below.
    ipAddress String
    The Static IP Address which should be allocated to this Backend Address Pool.
    name String
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressIpConfigurationId string

    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.

    backendAddressPoolId string
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    inboundNatRulePortMappings BackendAddressPoolAddressInboundNatRulePortMapping[]
    A list of inbound_nat_rule_port_mapping block as defined below.
    ipAddress string
    The Static IP Address which should be allocated to this Backend Address Pool.
    name string
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backend_address_ip_configuration_id str

    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.

    backend_address_pool_id str
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    inbound_nat_rule_port_mappings Sequence[BackendAddressPoolAddressInboundNatRulePortMappingArgs]
    A list of inbound_nat_rule_port_mapping block as defined below.
    ip_address str
    The Static IP Address which should be allocated to this Backend Address Pool.
    name str
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtual_network_id str
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendAddressIpConfigurationId String

    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.

    backendAddressPoolId String
    The ID of the Backend Address Pool. Changing this forces a new Backend Address Pool Address to be created.
    inboundNatRulePortMappings List<Property Map>
    A list of inbound_nat_rule_port_mapping block as defined below.
    ipAddress String
    The Static IP Address which should be allocated to this Backend Address Pool.
    name String
    The name which should be used for this Backend Address Pool Address. Changing this forces a new Backend Address Pool Address to be created.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.

    Supporting Types

    BackendAddressPoolAddressInboundNatRulePortMapping, BackendAddressPoolAddressInboundNatRulePortMappingArgs

    BackendPort int
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    FrontendPort int
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    InboundNatRuleName string
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    BackendPort int
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    FrontendPort int
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    InboundNatRuleName string
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    backendPort Integer
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    frontendPort Integer
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    inboundNatRuleName String
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    backendPort number
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    frontendPort number
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    inboundNatRuleName string
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    backend_port int
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    frontend_port int
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    inbound_nat_rule_name str
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    backendPort Number
    The Backend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    frontendPort Number
    The Frontend Port of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.
    inboundNatRuleName String
    The name of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool Address.

    Import

    Backend Address Pool Addresses can be imported using the resource id, e.g.

    $ pulumi import azure:lb/backendAddressPoolAddress:BackendAddressPoolAddress example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/loadBalancers/loadBalancer1/backendAddressPools/backendAddressPool1/addresses/address1
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi