1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. ExpressRouteCircuitConnection

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages an Express Route Circuit Connection.

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new Azure.Core.ResourceGroupArgs
            {
                Location = "West Europe",
            });
            var exampleExpressRoutePort = new Azure.Network.ExpressRoutePort("exampleExpressRoutePort", new Azure.Network.ExpressRoutePortArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                PeeringLocation = "Equinix-Seattle-SE2",
                BandwidthInGbps = 10,
                Encapsulation = "Dot1Q",
            });
            var exampleExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("exampleExpressRouteCircuit", new Azure.Network.ExpressRouteCircuitArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                ExpressRoutePortId = exampleExpressRoutePort.Id,
                BandwidthInGbps = 5,
                Sku = new Azure.Network.Inputs.ExpressRouteCircuitSkuArgs
                {
                    Tier = "Standard",
                    Family = "MeteredData",
                },
            });
            var example2ExpressRoutePort = new Azure.Network.ExpressRoutePort("example2ExpressRoutePort", new Azure.Network.ExpressRoutePortArgs
            {
                ResourceGroupName = exampleResourceGroup.Name,
                Location = exampleResourceGroup.Location,
                PeeringLocation = "Allied-Toronto-King-West",
                BandwidthInGbps = 10,
                Encapsulation = "Dot1Q",
            });
            var example2ExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("example2ExpressRouteCircuit", new Azure.Network.ExpressRouteCircuitArgs
            {
                Location = exampleResourceGroup.Location,
                ResourceGroupName = exampleResourceGroup.Name,
                ExpressRoutePortId = example2ExpressRoutePort.Id,
                BandwidthInGbps = 5,
                Sku = new Azure.Network.Inputs.ExpressRouteCircuitSkuArgs
                {
                    Tier = "Standard",
                    Family = "MeteredData",
                },
            });
            var exampleExpressRouteCircuitPeering = new Azure.Network.ExpressRouteCircuitPeering("exampleExpressRouteCircuitPeering", new Azure.Network.ExpressRouteCircuitPeeringArgs
            {
                PeeringType = "AzurePrivatePeering",
                ExpressRouteCircuitName = exampleExpressRouteCircuit.Name,
                ResourceGroupName = exampleResourceGroup.Name,
                SharedKey = "ItsASecret",
                PeerAsn = 100,
                PrimaryPeerAddressPrefix = "192.168.1.0/30",
                SecondaryPeerAddressPrefix = "192.168.1.0/30",
                VlanId = 100,
            });
            var example2ExpressRouteCircuitPeering = new Azure.Network.ExpressRouteCircuitPeering("example2ExpressRouteCircuitPeering", new Azure.Network.ExpressRouteCircuitPeeringArgs
            {
                PeeringType = "AzurePrivatePeering",
                ExpressRouteCircuitName = example2ExpressRouteCircuit.Name,
                ResourceGroupName = exampleResourceGroup.Name,
                SharedKey = "ItsASecret",
                PeerAsn = 100,
                PrimaryPeerAddressPrefix = "192.168.1.0/30",
                SecondaryPeerAddressPrefix = "192.168.1.0/30",
                VlanId = 100,
            });
            var exampleExpressRouteCircuitConnection = new Azure.Network.ExpressRouteCircuitConnection("exampleExpressRouteCircuitConnection", new Azure.Network.ExpressRouteCircuitConnectionArgs
            {
                PeeringId = exampleExpressRouteCircuitPeering.Id,
                PeerPeeringId = example2ExpressRouteCircuitPeering.Id,
                AddressPrefixIpv4 = "192.169.9.0/29",
                AuthorizationKey = "846a1918-b7a2-4917-b43c-8c4cdaee006a",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/network"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleExpressRoutePort, err := network.NewExpressRoutePort(ctx, "exampleExpressRoutePort", &network.ExpressRoutePortArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			PeeringLocation:   pulumi.String("Equinix-Seattle-SE2"),
    			BandwidthInGbps:   pulumi.Int(10),
    			Encapsulation:     pulumi.String("Dot1Q"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleExpressRouteCircuit, err := network.NewExpressRouteCircuit(ctx, "exampleExpressRouteCircuit", &network.ExpressRouteCircuitArgs{
    			Location:           exampleResourceGroup.Location,
    			ResourceGroupName:  exampleResourceGroup.Name,
    			ExpressRoutePortId: exampleExpressRoutePort.ID(),
    			BandwidthInGbps:    pulumi.Float64(5),
    			Sku: &network.ExpressRouteCircuitSkuArgs{
    				Tier:   pulumi.String("Standard"),
    				Family: pulumi.String("MeteredData"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		example2ExpressRoutePort, err := network.NewExpressRoutePort(ctx, "example2ExpressRoutePort", &network.ExpressRoutePortArgs{
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			PeeringLocation:   pulumi.String("Allied-Toronto-King-West"),
    			BandwidthInGbps:   pulumi.Int(10),
    			Encapsulation:     pulumi.String("Dot1Q"),
    		})
    		if err != nil {
    			return err
    		}
    		example2ExpressRouteCircuit, err := network.NewExpressRouteCircuit(ctx, "example2ExpressRouteCircuit", &network.ExpressRouteCircuitArgs{
    			Location:           exampleResourceGroup.Location,
    			ResourceGroupName:  exampleResourceGroup.Name,
    			ExpressRoutePortId: example2ExpressRoutePort.ID(),
    			BandwidthInGbps:    pulumi.Float64(5),
    			Sku: &network.ExpressRouteCircuitSkuArgs{
    				Tier:   pulumi.String("Standard"),
    				Family: pulumi.String("MeteredData"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		exampleExpressRouteCircuitPeering, err := network.NewExpressRouteCircuitPeering(ctx, "exampleExpressRouteCircuitPeering", &network.ExpressRouteCircuitPeeringArgs{
    			PeeringType:                pulumi.String("AzurePrivatePeering"),
    			ExpressRouteCircuitName:    exampleExpressRouteCircuit.Name,
    			ResourceGroupName:          exampleResourceGroup.Name,
    			SharedKey:                  pulumi.String("ItsASecret"),
    			PeerAsn:                    pulumi.Int(100),
    			PrimaryPeerAddressPrefix:   pulumi.String("192.168.1.0/30"),
    			SecondaryPeerAddressPrefix: pulumi.String("192.168.1.0/30"),
    			VlanId:                     pulumi.Int(100),
    		})
    		if err != nil {
    			return err
    		}
    		example2ExpressRouteCircuitPeering, err := network.NewExpressRouteCircuitPeering(ctx, "example2ExpressRouteCircuitPeering", &network.ExpressRouteCircuitPeeringArgs{
    			PeeringType:                pulumi.String("AzurePrivatePeering"),
    			ExpressRouteCircuitName:    example2ExpressRouteCircuit.Name,
    			ResourceGroupName:          exampleResourceGroup.Name,
    			SharedKey:                  pulumi.String("ItsASecret"),
    			PeerAsn:                    pulumi.Int(100),
    			PrimaryPeerAddressPrefix:   pulumi.String("192.168.1.0/30"),
    			SecondaryPeerAddressPrefix: pulumi.String("192.168.1.0/30"),
    			VlanId:                     pulumi.Int(100),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewExpressRouteCircuitConnection(ctx, "exampleExpressRouteCircuitConnection", &network.ExpressRouteCircuitConnectionArgs{
    			PeeringId:         exampleExpressRouteCircuitPeering.ID(),
    			PeerPeeringId:     example2ExpressRouteCircuitPeering.ID(),
    			AddressPrefixIpv4: pulumi.String("192.169.9.0/29"),
    			AuthorizationKey:  pulumi.String("846a1918-b7a2-4917-b43c-8c4cdaee006a"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleExpressRoutePort = new azure.network.ExpressRoutePort("exampleExpressRoutePort", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        peeringLocation: "Equinix-Seattle-SE2",
        bandwidthInGbps: 10,
        encapsulation: "Dot1Q",
    });
    const exampleExpressRouteCircuit = new azure.network.ExpressRouteCircuit("exampleExpressRouteCircuit", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        expressRoutePortId: exampleExpressRoutePort.id,
        bandwidthInGbps: 5,
        sku: {
            tier: "Standard",
            family: "MeteredData",
        },
    });
    const example2ExpressRoutePort = new azure.network.ExpressRoutePort("example2ExpressRoutePort", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        peeringLocation: "Allied-Toronto-King-West",
        bandwidthInGbps: 10,
        encapsulation: "Dot1Q",
    });
    const example2ExpressRouteCircuit = new azure.network.ExpressRouteCircuit("example2ExpressRouteCircuit", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        expressRoutePortId: example2ExpressRoutePort.id,
        bandwidthInGbps: 5,
        sku: {
            tier: "Standard",
            family: "MeteredData",
        },
    });
    const exampleExpressRouteCircuitPeering = new azure.network.ExpressRouteCircuitPeering("exampleExpressRouteCircuitPeering", {
        peeringType: "AzurePrivatePeering",
        expressRouteCircuitName: exampleExpressRouteCircuit.name,
        resourceGroupName: exampleResourceGroup.name,
        sharedKey: "ItsASecret",
        peerAsn: 100,
        primaryPeerAddressPrefix: "192.168.1.0/30",
        secondaryPeerAddressPrefix: "192.168.1.0/30",
        vlanId: 100,
    });
    const example2ExpressRouteCircuitPeering = new azure.network.ExpressRouteCircuitPeering("example2ExpressRouteCircuitPeering", {
        peeringType: "AzurePrivatePeering",
        expressRouteCircuitName: example2ExpressRouteCircuit.name,
        resourceGroupName: exampleResourceGroup.name,
        sharedKey: "ItsASecret",
        peerAsn: 100,
        primaryPeerAddressPrefix: "192.168.1.0/30",
        secondaryPeerAddressPrefix: "192.168.1.0/30",
        vlanId: 100,
    });
    const exampleExpressRouteCircuitConnection = new azure.network.ExpressRouteCircuitConnection("exampleExpressRouteCircuitConnection", {
        peeringId: exampleExpressRouteCircuitPeering.id,
        peerPeeringId: example2ExpressRouteCircuitPeering.id,
        addressPrefixIpv4: "192.169.9.0/29",
        authorizationKey: "846a1918-b7a2-4917-b43c-8c4cdaee006a",
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
    example_express_route_port = azure.network.ExpressRoutePort("exampleExpressRoutePort",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        peering_location="Equinix-Seattle-SE2",
        bandwidth_in_gbps=10,
        encapsulation="Dot1Q")
    example_express_route_circuit = azure.network.ExpressRouteCircuit("exampleExpressRouteCircuit",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        express_route_port_id=example_express_route_port.id,
        bandwidth_in_gbps=5,
        sku=azure.network.ExpressRouteCircuitSkuArgs(
            tier="Standard",
            family="MeteredData",
        ))
    example2_express_route_port = azure.network.ExpressRoutePort("example2ExpressRoutePort",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        peering_location="Allied-Toronto-King-West",
        bandwidth_in_gbps=10,
        encapsulation="Dot1Q")
    example2_express_route_circuit = azure.network.ExpressRouteCircuit("example2ExpressRouteCircuit",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        express_route_port_id=example2_express_route_port.id,
        bandwidth_in_gbps=5,
        sku=azure.network.ExpressRouteCircuitSkuArgs(
            tier="Standard",
            family="MeteredData",
        ))
    example_express_route_circuit_peering = azure.network.ExpressRouteCircuitPeering("exampleExpressRouteCircuitPeering",
        peering_type="AzurePrivatePeering",
        express_route_circuit_name=example_express_route_circuit.name,
        resource_group_name=example_resource_group.name,
        shared_key="ItsASecret",
        peer_asn=100,
        primary_peer_address_prefix="192.168.1.0/30",
        secondary_peer_address_prefix="192.168.1.0/30",
        vlan_id=100)
    example2_express_route_circuit_peering = azure.network.ExpressRouteCircuitPeering("example2ExpressRouteCircuitPeering",
        peering_type="AzurePrivatePeering",
        express_route_circuit_name=example2_express_route_circuit.name,
        resource_group_name=example_resource_group.name,
        shared_key="ItsASecret",
        peer_asn=100,
        primary_peer_address_prefix="192.168.1.0/30",
        secondary_peer_address_prefix="192.168.1.0/30",
        vlan_id=100)
    example_express_route_circuit_connection = azure.network.ExpressRouteCircuitConnection("exampleExpressRouteCircuitConnection",
        peering_id=example_express_route_circuit_peering.id,
        peer_peering_id=example2_express_route_circuit_peering.id,
        address_prefix_ipv4="192.169.9.0/29",
        authorization_key="846a1918-b7a2-4917-b43c-8c4cdaee006a")
    

    Example coming soon!

    Create ExpressRouteCircuitConnection Resource

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

    Constructor syntax

    new ExpressRouteCircuitConnection(name: string, args: ExpressRouteCircuitConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def ExpressRouteCircuitConnection(resource_name: str,
                                      args: ExpressRouteCircuitConnectionArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ExpressRouteCircuitConnection(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      address_prefix_ipv4: Optional[str] = None,
                                      peer_peering_id: Optional[str] = None,
                                      peering_id: Optional[str] = None,
                                      address_prefix_ipv6: Optional[str] = None,
                                      authorization_key: Optional[str] = None,
                                      name: Optional[str] = None)
    func NewExpressRouteCircuitConnection(ctx *Context, name string, args ExpressRouteCircuitConnectionArgs, opts ...ResourceOption) (*ExpressRouteCircuitConnection, error)
    public ExpressRouteCircuitConnection(string name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions? opts = null)
    public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args)
    public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions options)
    
    type: azure:network:ExpressRouteCircuitConnection
    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 ExpressRouteCircuitConnectionArgs
    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 ExpressRouteCircuitConnectionArgs
    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 ExpressRouteCircuitConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ExpressRouteCircuitConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ExpressRouteCircuitConnectionArgs
    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 expressRouteCircuitConnectionResource = new Azure.Network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", new()
    {
        AddressPrefixIpv4 = "string",
        PeerPeeringId = "string",
        PeeringId = "string",
        AddressPrefixIpv6 = "string",
        AuthorizationKey = "string",
        Name = "string",
    });
    
    example, err := network.NewExpressRouteCircuitConnection(ctx, "expressRouteCircuitConnectionResource", &network.ExpressRouteCircuitConnectionArgs{
    	AddressPrefixIpv4: pulumi.String("string"),
    	PeerPeeringId:     pulumi.String("string"),
    	PeeringId:         pulumi.String("string"),
    	AddressPrefixIpv6: pulumi.String("string"),
    	AuthorizationKey:  pulumi.String("string"),
    	Name:              pulumi.String("string"),
    })
    
    var expressRouteCircuitConnectionResource = new ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", ExpressRouteCircuitConnectionArgs.builder()
        .addressPrefixIpv4("string")
        .peerPeeringId("string")
        .peeringId("string")
        .addressPrefixIpv6("string")
        .authorizationKey("string")
        .name("string")
        .build());
    
    express_route_circuit_connection_resource = azure.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource",
        address_prefix_ipv4="string",
        peer_peering_id="string",
        peering_id="string",
        address_prefix_ipv6="string",
        authorization_key="string",
        name="string")
    
    const expressRouteCircuitConnectionResource = new azure.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", {
        addressPrefixIpv4: "string",
        peerPeeringId: "string",
        peeringId: "string",
        addressPrefixIpv6: "string",
        authorizationKey: "string",
        name: "string",
    });
    
    type: azure:network:ExpressRouteCircuitConnection
    properties:
        addressPrefixIpv4: string
        addressPrefixIpv6: string
        authorizationKey: string
        name: string
        peerPeeringId: string
        peeringId: string
    

    ExpressRouteCircuitConnection Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ExpressRouteCircuitConnection resource accepts the following input properties:

    AddressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    PeerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    PeeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    AuthorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    Name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    PeerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    PeeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    AuthorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    Name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 String
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId String
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId String
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 String
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey String
    The authorization key which is associated with the Express Route Circuit Connection.
    name String
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    address_prefix_ipv4 str
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    peer_peering_id str
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peering_id str
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    address_prefix_ipv6 str
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorization_key str
    The authorization key which is associated with the Express Route Circuit Connection.
    name str
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 String
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId String
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId String
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 String
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey String
    The authorization key which is associated with the Express Route Circuit Connection.
    name String
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ExpressRouteCircuitConnection Resource

    Get an existing ExpressRouteCircuitConnection 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?: ExpressRouteCircuitConnectionState, opts?: CustomResourceOptions): ExpressRouteCircuitConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address_prefix_ipv4: Optional[str] = None,
            address_prefix_ipv6: Optional[str] = None,
            authorization_key: Optional[str] = None,
            name: Optional[str] = None,
            peer_peering_id: Optional[str] = None,
            peering_id: Optional[str] = None) -> ExpressRouteCircuitConnection
    func GetExpressRouteCircuitConnection(ctx *Context, name string, id IDInput, state *ExpressRouteCircuitConnectionState, opts ...ResourceOption) (*ExpressRouteCircuitConnection, error)
    public static ExpressRouteCircuitConnection Get(string name, Input<string> id, ExpressRouteCircuitConnectionState? state, CustomResourceOptions? opts = null)
    public static ExpressRouteCircuitConnection get(String name, Output<String> id, ExpressRouteCircuitConnectionState state, CustomResourceOptions options)
    resources:  _:    type: azure:network:ExpressRouteCircuitConnection    get:      id: ${id}
    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:
    AddressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    AuthorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    Name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    PeerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    PeeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    AddressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    AuthorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    Name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    PeerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    PeeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 String
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 String
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey String
    The authorization key which is associated with the Express Route Circuit Connection.
    name String
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId String
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId String
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 string
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 string
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey string
    The authorization key which is associated with the Express Route Circuit Connection.
    name string
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId string
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId string
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    address_prefix_ipv4 str
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    address_prefix_ipv6 str
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorization_key str
    The authorization key which is associated with the Express Route Circuit Connection.
    name str
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    peer_peering_id str
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peering_id str
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv4 String
    The IPv4 address space from which to allocate customer address for global reach. Changing this forces a new Express Route Circuit Connection to be created.
    addressPrefixIpv6 String
    The IPv6 address space from which to allocate customer addresses for global reach.
    authorizationKey String
    The authorization key which is associated with the Express Route Circuit Connection.
    name String
    The name which should be used for this Express Route Circuit Connection. Changing this forces a new Express Route Circuit Connection to be created.
    peerPeeringId String
    The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
    peeringId String
    The ID of the Express Route Circuit Private Peering that this Express Route Circuit Connection connects with. Changing this forces a new Express Route Circuit Connection to be created.

    Import

    Express Route Circuit Connections can be imported using the resource id, e.g.

     $ pulumi import azure:network/expressRouteCircuitConnection:ExpressRouteCircuitConnection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/expressRouteCircuits/circuit1/peerings/peering1/connections/connection1
    

    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.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.