We recommend using Azure Native.
azure.network.ExpressRouteCircuitConnection
Explore with Pulumi AI
Manages an Express Route Circuit Connection.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleExpressRoutePort = new Azure.Network.ExpressRoutePort("exampleExpressRoutePort", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
PeeringLocation = "Equinix-Seattle-SE2",
BandwidthInGbps = 10,
Encapsulation = "Dot1Q",
});
var exampleExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("exampleExpressRouteCircuit", new()
{
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()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
PeeringLocation = "Allied-Toronto-King-West",
BandwidthInGbps = 10,
Encapsulation = "Dot1Q",
});
var example2ExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("example2ExpressRouteCircuit", new()
{
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()
{
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()
{
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()
{
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/v5/go/azure/core"
"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 {
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
})
}
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.ExpressRoutePort;
import com.pulumi.azure.network.ExpressRoutePortArgs;
import com.pulumi.azure.network.ExpressRouteCircuit;
import com.pulumi.azure.network.ExpressRouteCircuitArgs;
import com.pulumi.azure.network.inputs.ExpressRouteCircuitSkuArgs;
import com.pulumi.azure.network.ExpressRouteCircuitPeering;
import com.pulumi.azure.network.ExpressRouteCircuitPeeringArgs;
import com.pulumi.azure.network.ExpressRouteCircuitConnection;
import com.pulumi.azure.network.ExpressRouteCircuitConnectionArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleExpressRoutePort = new ExpressRoutePort("exampleExpressRoutePort", ExpressRoutePortArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.peeringLocation("Equinix-Seattle-SE2")
.bandwidthInGbps(10)
.encapsulation("Dot1Q")
.build());
var exampleExpressRouteCircuit = new ExpressRouteCircuit("exampleExpressRouteCircuit", ExpressRouteCircuitArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.expressRoutePortId(exampleExpressRoutePort.id())
.bandwidthInGbps(5)
.sku(ExpressRouteCircuitSkuArgs.builder()
.tier("Standard")
.family("MeteredData")
.build())
.build());
var example2ExpressRoutePort = new ExpressRoutePort("example2ExpressRoutePort", ExpressRoutePortArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.peeringLocation("Allied-Toronto-King-West")
.bandwidthInGbps(10)
.encapsulation("Dot1Q")
.build());
var example2ExpressRouteCircuit = new ExpressRouteCircuit("example2ExpressRouteCircuit", ExpressRouteCircuitArgs.builder()
.location(exampleResourceGroup.location())
.resourceGroupName(exampleResourceGroup.name())
.expressRoutePortId(example2ExpressRoutePort.id())
.bandwidthInGbps(5)
.sku(ExpressRouteCircuitSkuArgs.builder()
.tier("Standard")
.family("MeteredData")
.build())
.build());
var exampleExpressRouteCircuitPeering = new ExpressRouteCircuitPeering("exampleExpressRouteCircuitPeering", ExpressRouteCircuitPeeringArgs.builder()
.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)
.build());
var example2ExpressRouteCircuitPeering = new ExpressRouteCircuitPeering("example2ExpressRouteCircuitPeering", ExpressRouteCircuitPeeringArgs.builder()
.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)
.build());
var exampleExpressRouteCircuitConnection = new ExpressRouteCircuitConnection("exampleExpressRouteCircuitConnection", ExpressRouteCircuitConnectionArgs.builder()
.peeringId(exampleExpressRouteCircuitPeering.id())
.peerPeeringId(example2ExpressRouteCircuitPeering.id())
.addressPrefixIpv4("192.169.9.0/29")
.authorizationKey("846a1918-b7a2-4917-b43c-8c4cdaee006a")
.build());
}
}
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")
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",
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleExpressRoutePort:
type: azure:network:ExpressRoutePort
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
peeringLocation: Equinix-Seattle-SE2
bandwidthInGbps: 10
encapsulation: Dot1Q
exampleExpressRouteCircuit:
type: azure:network:ExpressRouteCircuit
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
expressRoutePortId: ${exampleExpressRoutePort.id}
bandwidthInGbps: 5
sku:
tier: Standard
family: MeteredData
example2ExpressRoutePort:
type: azure:network:ExpressRoutePort
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
peeringLocation: Allied-Toronto-King-West
bandwidthInGbps: 10
encapsulation: Dot1Q
example2ExpressRouteCircuit:
type: azure:network:ExpressRouteCircuit
properties:
location: ${exampleResourceGroup.location}
resourceGroupName: ${exampleResourceGroup.name}
expressRoutePortId: ${example2ExpressRoutePort.id}
bandwidthInGbps: 5
sku:
tier: Standard
family: MeteredData
exampleExpressRouteCircuitPeering:
type: azure:network:ExpressRouteCircuitPeering
properties:
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
example2ExpressRouteCircuitPeering:
type: azure:network:ExpressRouteCircuitPeering
properties:
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
exampleExpressRouteCircuitConnection:
type: azure:network:ExpressRouteCircuitConnection
properties:
peeringId: ${exampleExpressRouteCircuitPeering.id}
peerPeeringId: ${example2ExpressRouteCircuitPeering.id}
addressPrefixIpv4: 192.169.9.0/29
authorizationKey: 846a1918-b7a2-4917-b43c-8c4cdaee006a
Create ExpressRouteCircuitConnection Resource
new ExpressRouteCircuitConnection(name: string, args: ExpressRouteCircuitConnectionArgs, opts?: CustomResourceOptions);
@overload
def ExpressRouteCircuitConnection(resource_name: 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)
@overload
def ExpressRouteCircuitConnection(resource_name: str,
args: ExpressRouteCircuitConnectionArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
The ExpressRouteCircuitConnection resource accepts the following input properties:
- Address
Prefix stringIpv4 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 stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- Peering
Id 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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 stringIpv4 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 stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- Peering
Id 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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 StringIpv4 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 StringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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 StringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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 stringIpv4 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 stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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_ stripv4 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_ strid 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_ stripv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- address
Prefix StringIpv4 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 StringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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 StringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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)
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.
- Address
Prefix stringIpv4 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- Peer
Peering stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- Peering
Id 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 stringIpv4 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- Peer
Peering stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- Peering
Id 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 StringIpv4 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 StringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- peer
Peering StringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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 stringIpv4 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 stringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- peer
Peering stringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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_ stripv4 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_ stripv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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_ strid 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 StringIpv4 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 StringIpv6 The IPv6 address space from which to allocate customer addresses for global reach.
NOTE:
address_prefix_ipv6
cannot be set when ExpressRoute Circuit Connection with ExpressRoute Circuit based on ExpressRoute Port.- 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.
- peer
Peering StringId The ID of the peered Express Route Circuit Private Peering. Changing this forces a new Express Route Circuit Connection to be created.
- peering
Id 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
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.