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

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.lb.BackendAddressPool

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Load Balancer Backend Address Pool.

    NOTE: When using this resource, the Load Balancer needs to have a FrontEnd IP Configuration Attached

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "LoadBalancerRG",
        location: "West Europe",
    });
    const examplePublicIp = new azure.network.PublicIp("example", {
        name: "PublicIPForLB",
        location: example.location,
        resourceGroupName: example.name,
        allocationMethod: "Static",
    });
    const exampleLoadBalancer = new azure.lb.LoadBalancer("example", {
        name: "TestLoadBalancer",
        location: example.location,
        resourceGroupName: example.name,
        frontendIpConfigurations: [{
            name: "PublicIPAddress",
            publicIpAddressId: examplePublicIp.id,
        }],
    });
    const exampleBackendAddressPool = new azure.lb.BackendAddressPool("example", {
        loadbalancerId: exampleLoadBalancer.id,
        name: "BackEndAddressPool",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="LoadBalancerRG",
        location="West Europe")
    example_public_ip = azure.network.PublicIp("example",
        name="PublicIPForLB",
        location=example.location,
        resource_group_name=example.name,
        allocation_method="Static")
    example_load_balancer = azure.lb.LoadBalancer("example",
        name="TestLoadBalancer",
        location=example.location,
        resource_group_name=example.name,
        frontend_ip_configurations=[azure.lb.LoadBalancerFrontendIpConfigurationArgs(
            name="PublicIPAddress",
            public_ip_address_id=example_public_ip.id,
        )])
    example_backend_address_pool = azure.lb.BackendAddressPool("example",
        loadbalancer_id=example_load_balancer.id,
        name="BackEndAddressPool")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"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 := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("LoadBalancerRG"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		examplePublicIp, err := network.NewPublicIp(ctx, "example", &network.PublicIpArgs{
    			Name:              pulumi.String("PublicIPForLB"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			AllocationMethod:  pulumi.String("Static"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleLoadBalancer, err := lb.NewLoadBalancer(ctx, "example", &lb.LoadBalancerArgs{
    			Name:              pulumi.String("TestLoadBalancer"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			FrontendIpConfigurations: lb.LoadBalancerFrontendIpConfigurationArray{
    				&lb.LoadBalancerFrontendIpConfigurationArgs{
    					Name:              pulumi.String("PublicIPAddress"),
    					PublicIpAddressId: examplePublicIp.ID(),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = lb.NewBackendAddressPool(ctx, "example", &lb.BackendAddressPoolArgs{
    			LoadbalancerId: exampleLoadBalancer.ID(),
    			Name:           pulumi.String("BackEndAddressPool"),
    		})
    		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 = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "LoadBalancerRG",
            Location = "West Europe",
        });
    
        var examplePublicIp = new Azure.Network.PublicIp("example", new()
        {
            Name = "PublicIPForLB",
            Location = example.Location,
            ResourceGroupName = example.Name,
            AllocationMethod = "Static",
        });
    
        var exampleLoadBalancer = new Azure.Lb.LoadBalancer("example", new()
        {
            Name = "TestLoadBalancer",
            Location = example.Location,
            ResourceGroupName = example.Name,
            FrontendIpConfigurations = new[]
            {
                new Azure.Lb.Inputs.LoadBalancerFrontendIpConfigurationArgs
                {
                    Name = "PublicIPAddress",
                    PublicIpAddressId = examplePublicIp.Id,
                },
            },
        });
    
        var exampleBackendAddressPool = new Azure.Lb.BackendAddressPool("example", new()
        {
            LoadbalancerId = exampleLoadBalancer.Id,
            Name = "BackEndAddressPool",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.PublicIp;
    import com.pulumi.azure.network.PublicIpArgs;
    import com.pulumi.azure.lb.LoadBalancer;
    import com.pulumi.azure.lb.LoadBalancerArgs;
    import com.pulumi.azure.lb.inputs.LoadBalancerFrontendIpConfigurationArgs;
    import com.pulumi.azure.lb.BackendAddressPool;
    import com.pulumi.azure.lb.BackendAddressPoolArgs;
    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) {
            var example = new ResourceGroup("example", ResourceGroupArgs.builder()        
                .name("LoadBalancerRG")
                .location("West Europe")
                .build());
    
            var examplePublicIp = new PublicIp("examplePublicIp", PublicIpArgs.builder()        
                .name("PublicIPForLB")
                .location(example.location())
                .resourceGroupName(example.name())
                .allocationMethod("Static")
                .build());
    
            var exampleLoadBalancer = new LoadBalancer("exampleLoadBalancer", LoadBalancerArgs.builder()        
                .name("TestLoadBalancer")
                .location(example.location())
                .resourceGroupName(example.name())
                .frontendIpConfigurations(LoadBalancerFrontendIpConfigurationArgs.builder()
                    .name("PublicIPAddress")
                    .publicIpAddressId(examplePublicIp.id())
                    .build())
                .build());
    
            var exampleBackendAddressPool = new BackendAddressPool("exampleBackendAddressPool", BackendAddressPoolArgs.builder()        
                .loadbalancerId(exampleLoadBalancer.id())
                .name("BackEndAddressPool")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: LoadBalancerRG
          location: West Europe
      examplePublicIp:
        type: azure:network:PublicIp
        name: example
        properties:
          name: PublicIPForLB
          location: ${example.location}
          resourceGroupName: ${example.name}
          allocationMethod: Static
      exampleLoadBalancer:
        type: azure:lb:LoadBalancer
        name: example
        properties:
          name: TestLoadBalancer
          location: ${example.location}
          resourceGroupName: ${example.name}
          frontendIpConfigurations:
            - name: PublicIPAddress
              publicIpAddressId: ${examplePublicIp.id}
      exampleBackendAddressPool:
        type: azure:lb:BackendAddressPool
        name: example
        properties:
          loadbalancerId: ${exampleLoadBalancer.id}
          name: BackEndAddressPool
    

    Create BackendAddressPool Resource

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

    Constructor syntax

    new BackendAddressPool(name: string, args: BackendAddressPoolArgs, opts?: CustomResourceOptions);
    @overload
    def BackendAddressPool(resource_name: str,
                           args: BackendAddressPoolArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackendAddressPool(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           loadbalancer_id: Optional[str] = None,
                           name: Optional[str] = None,
                           tunnel_interfaces: Optional[Sequence[BackendAddressPoolTunnelInterfaceArgs]] = None,
                           virtual_network_id: Optional[str] = None)
    func NewBackendAddressPool(ctx *Context, name string, args BackendAddressPoolArgs, opts ...ResourceOption) (*BackendAddressPool, error)
    public BackendAddressPool(string name, BackendAddressPoolArgs args, CustomResourceOptions? opts = null)
    public BackendAddressPool(String name, BackendAddressPoolArgs args)
    public BackendAddressPool(String name, BackendAddressPoolArgs args, CustomResourceOptions options)
    
    type: azure:lb:BackendAddressPool
    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 BackendAddressPoolArgs
    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 BackendAddressPoolArgs
    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 BackendAddressPoolArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackendAddressPoolArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackendAddressPoolArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var backendAddressPoolResource = new Azure.Lb.BackendAddressPool("backendAddressPoolResource", new()
    {
        LoadbalancerId = "string",
        Name = "string",
        TunnelInterfaces = new[]
        {
            new Azure.Lb.Inputs.BackendAddressPoolTunnelInterfaceArgs
            {
                Identifier = 0,
                Port = 0,
                Protocol = "string",
                Type = "string",
            },
        },
        VirtualNetworkId = "string",
    });
    
    example, err := lb.NewBackendAddressPool(ctx, "backendAddressPoolResource", &lb.BackendAddressPoolArgs{
    	LoadbalancerId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    	TunnelInterfaces: lb.BackendAddressPoolTunnelInterfaceArray{
    		&lb.BackendAddressPoolTunnelInterfaceArgs{
    			Identifier: pulumi.Int(0),
    			Port:       pulumi.Int(0),
    			Protocol:   pulumi.String("string"),
    			Type:       pulumi.String("string"),
    		},
    	},
    	VirtualNetworkId: pulumi.String("string"),
    })
    
    var backendAddressPoolResource = new BackendAddressPool("backendAddressPoolResource", BackendAddressPoolArgs.builder()        
        .loadbalancerId("string")
        .name("string")
        .tunnelInterfaces(BackendAddressPoolTunnelInterfaceArgs.builder()
            .identifier(0)
            .port(0)
            .protocol("string")
            .type("string")
            .build())
        .virtualNetworkId("string")
        .build());
    
    backend_address_pool_resource = azure.lb.BackendAddressPool("backendAddressPoolResource",
        loadbalancer_id="string",
        name="string",
        tunnel_interfaces=[azure.lb.BackendAddressPoolTunnelInterfaceArgs(
            identifier=0,
            port=0,
            protocol="string",
            type="string",
        )],
        virtual_network_id="string")
    
    const backendAddressPoolResource = new azure.lb.BackendAddressPool("backendAddressPoolResource", {
        loadbalancerId: "string",
        name: "string",
        tunnelInterfaces: [{
            identifier: 0,
            port: 0,
            protocol: "string",
            type: "string",
        }],
        virtualNetworkId: "string",
    });
    
    type: azure:lb:BackendAddressPool
    properties:
        loadbalancerId: string
        name: string
        tunnelInterfaces:
            - identifier: 0
              port: 0
              protocol: string
              type: string
        virtualNetworkId: string
    

    BackendAddressPool 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 BackendAddressPool resource accepts the following input properties:

    LoadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    TunnelInterfaces List<Pulumi.Azure.Lb.Inputs.BackendAddressPoolTunnelInterface>
    One or more tunnel_interface blocks as defined below.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    LoadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    TunnelInterfaces []BackendAddressPoolTunnelInterfaceArgs
    One or more tunnel_interface blocks as defined below.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    loadbalancerId String
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    tunnelInterfaces List<BackendAddressPoolTunnelInterface>
    One or more tunnel_interface blocks as defined below.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    loadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    tunnelInterfaces BackendAddressPoolTunnelInterface[]
    One or more tunnel_interface blocks as defined below.
    virtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    loadbalancer_id str
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    tunnel_interfaces Sequence[BackendAddressPoolTunnelInterfaceArgs]
    One or more tunnel_interface blocks as defined below.
    virtual_network_id str
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    loadbalancerId String
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    tunnelInterfaces List<Property Map>
    One or more tunnel_interface blocks as defined below.
    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 BackendAddressPool resource produces the following output properties:

    BackendIpConfigurations List<string>
    The Backend IP Configurations associated with this Backend Address Pool.
    Id string
    The provider-assigned unique ID for this managed resource.
    InboundNatRules List<string>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    LoadBalancingRules List<string>
    The Load Balancing Rules associated with this Backend Address Pool.
    OutboundRules List<string>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    BackendIpConfigurations []string
    The Backend IP Configurations associated with this Backend Address Pool.
    Id string
    The provider-assigned unique ID for this managed resource.
    InboundNatRules []string
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    LoadBalancingRules []string
    The Load Balancing Rules associated with this Backend Address Pool.
    OutboundRules []string
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    backendIpConfigurations List<String>
    The Backend IP Configurations associated with this Backend Address Pool.
    id String
    The provider-assigned unique ID for this managed resource.
    inboundNatRules List<String>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules List<String>
    The Load Balancing Rules associated with this Backend Address Pool.
    outboundRules List<String>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    backendIpConfigurations string[]
    The Backend IP Configurations associated with this Backend Address Pool.
    id string
    The provider-assigned unique ID for this managed resource.
    inboundNatRules string[]
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules string[]
    The Load Balancing Rules associated with this Backend Address Pool.
    outboundRules string[]
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    backend_ip_configurations Sequence[str]
    The Backend IP Configurations associated with this Backend Address Pool.
    id str
    The provider-assigned unique ID for this managed resource.
    inbound_nat_rules Sequence[str]
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    load_balancing_rules Sequence[str]
    The Load Balancing Rules associated with this Backend Address Pool.
    outbound_rules Sequence[str]
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    backendIpConfigurations List<String>
    The Backend IP Configurations associated with this Backend Address Pool.
    id String
    The provider-assigned unique ID for this managed resource.
    inboundNatRules List<String>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules List<String>
    The Load Balancing Rules associated with this Backend Address Pool.
    outboundRules List<String>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.

    Look up Existing BackendAddressPool Resource

    Get an existing BackendAddressPool 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?: BackendAddressPoolState, opts?: CustomResourceOptions): BackendAddressPool
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backend_ip_configurations: Optional[Sequence[str]] = None,
            inbound_nat_rules: Optional[Sequence[str]] = None,
            load_balancing_rules: Optional[Sequence[str]] = None,
            loadbalancer_id: Optional[str] = None,
            name: Optional[str] = None,
            outbound_rules: Optional[Sequence[str]] = None,
            tunnel_interfaces: Optional[Sequence[BackendAddressPoolTunnelInterfaceArgs]] = None,
            virtual_network_id: Optional[str] = None) -> BackendAddressPool
    func GetBackendAddressPool(ctx *Context, name string, id IDInput, state *BackendAddressPoolState, opts ...ResourceOption) (*BackendAddressPool, error)
    public static BackendAddressPool Get(string name, Input<string> id, BackendAddressPoolState? state, CustomResourceOptions? opts = null)
    public static BackendAddressPool get(String name, Output<String> id, BackendAddressPoolState 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:
    BackendIpConfigurations List<string>
    The Backend IP Configurations associated with this Backend Address Pool.
    InboundNatRules List<string>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    LoadBalancingRules List<string>
    The Load Balancing Rules associated with this Backend Address Pool.
    LoadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    OutboundRules List<string>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    TunnelInterfaces List<Pulumi.Azure.Lb.Inputs.BackendAddressPoolTunnelInterface>
    One or more tunnel_interface blocks as defined below.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    BackendIpConfigurations []string
    The Backend IP Configurations associated with this Backend Address Pool.
    InboundNatRules []string
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    LoadBalancingRules []string
    The Load Balancing Rules associated with this Backend Address Pool.
    LoadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    OutboundRules []string
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    TunnelInterfaces []BackendAddressPoolTunnelInterfaceArgs
    One or more tunnel_interface blocks as defined below.
    VirtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendIpConfigurations List<String>
    The Backend IP Configurations associated with this Backend Address Pool.
    inboundNatRules List<String>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules List<String>
    The Load Balancing Rules associated with this Backend Address Pool.
    loadbalancerId String
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    outboundRules List<String>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    tunnelInterfaces List<BackendAddressPoolTunnelInterface>
    One or more tunnel_interface blocks as defined below.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendIpConfigurations string[]
    The Backend IP Configurations associated with this Backend Address Pool.
    inboundNatRules string[]
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules string[]
    The Load Balancing Rules associated with this Backend Address Pool.
    loadbalancerId string
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    outboundRules string[]
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    tunnelInterfaces BackendAddressPoolTunnelInterface[]
    One or more tunnel_interface blocks as defined below.
    virtualNetworkId string
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backend_ip_configurations Sequence[str]
    The Backend IP Configurations associated with this Backend Address Pool.
    inbound_nat_rules Sequence[str]
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    load_balancing_rules Sequence[str]
    The Load Balancing Rules associated with this Backend Address Pool.
    loadbalancer_id str
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    outbound_rules Sequence[str]
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    tunnel_interfaces Sequence[BackendAddressPoolTunnelInterfaceArgs]
    One or more tunnel_interface blocks as defined below.
    virtual_network_id str
    The ID of the Virtual Network within which the Backend Address Pool should exist.
    backendIpConfigurations List<String>
    The Backend IP Configurations associated with this Backend Address Pool.
    inboundNatRules List<String>
    An array of the Load Balancing Inbound NAT Rules associated with this Backend Address Pool.
    loadBalancingRules List<String>
    The Load Balancing Rules associated with this Backend Address Pool.
    loadbalancerId String
    The ID of the Load Balancer in which to create the Backend Address Pool. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Backend Address Pool. Changing this forces a new resource to be created.
    outboundRules List<String>
    An array of the Load Balancing Outbound Rules associated with this Backend Address Pool.
    tunnelInterfaces List<Property Map>
    One or more tunnel_interface blocks as defined below.
    virtualNetworkId String
    The ID of the Virtual Network within which the Backend Address Pool should exist.

    Supporting Types

    BackendAddressPoolTunnelInterface, BackendAddressPoolTunnelInterfaceArgs

    Identifier int
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    Port int
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    Protocol string
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    Type string
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.
    Identifier int
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    Port int
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    Protocol string
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    Type string
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.
    identifier Integer
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    port Integer
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    protocol String
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    type String
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.
    identifier number
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    port number
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    protocol string
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    type string
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.
    identifier int
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    port int
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    protocol str
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    type str
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.
    identifier Number
    The unique identifier of this Gateway Load Balancer Tunnel Interface.
    port Number
    The port number that this Gateway Load Balancer Tunnel Interface listens to.
    protocol String
    The protocol used for this Gateway Load Balancer Tunnel Interface. Possible values are None, Native and VXLAN.
    type String
    The traffic type of this Gateway Load Balancer Tunnel Interface. Possible values are None, Internal and External.

    Import

    Load Balancer Backend Address Pools can be imported using the resource id, e.g.

    $ pulumi import azure:lb/backendAddressPool:BackendAddressPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/pool1
    

    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.72.0 published on Monday, Apr 15, 2024 by Pulumi