Azure Native

Pulumi Official
Package maintained by Pulumi
v1.68.2 published on Tuesday, Aug 16, 2022 by Pulumi

ExpressRouteCircuitConnection

Express Route Circuit Connection in an ExpressRouteCircuitPeering resource. API Version: 2020-11-01.

Example Usage

ExpressRouteCircuitConnectionCreate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var expressRouteCircuitConnection = new AzureNative.Network.ExpressRouteCircuitConnection("expressRouteCircuitConnection", new()
    {
        AddressPrefix = "10.0.0.0/29",
        AuthorizationKey = "946a1918-b7a2-4917-b43c-8c4cdaee006a",
        CircuitName = "ExpressRouteARMCircuitA",
        ConnectionName = "circuitConnectionUSAUS",
        ExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
        },
        Ipv6CircuitConnectionConfig = new AzureNative.Network.Inputs.Ipv6CircuitConnectionConfigArgs
        {
            AddressPrefix = "aa:bb::/125",
        },
        PeerExpressRouteCircuitPeering = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
        },
        PeeringName = "AzurePrivatePeering",
        ResourceGroupName = "rg1",
    });

});
package main

import (
	network "github.com/pulumi/pulumi-azure-native/sdk/go/azure/network"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewExpressRouteCircuitConnection(ctx, "expressRouteCircuitConnection", &network.ExpressRouteCircuitConnectionArgs{
			AddressPrefix:    pulumi.String("10.0.0.0/29"),
			AuthorizationKey: pulumi.String("946a1918-b7a2-4917-b43c-8c4cdaee006a"),
			CircuitName:      pulumi.String("ExpressRouteARMCircuitA"),
			ConnectionName:   pulumi.String("circuitConnectionUSAUS"),
			ExpressRouteCircuitPeering: &network.SubResourceArgs{
				Id: pulumi.String("/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"),
			},
			Ipv6CircuitConnectionConfig: &network.Ipv6CircuitConnectionConfigArgs{
				AddressPrefix: pulumi.String("aa:bb::/125"),
			},
			PeerExpressRouteCircuitPeering: &network.SubResourceArgs{
				Id: pulumi.String("/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"),
			},
			PeeringName:       pulumi.String("AzurePrivatePeering"),
			ResourceGroupName: pulumi.String("rg1"),
		})
		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.azurenative.network.ExpressRouteCircuitConnection;
import com.pulumi.azurenative.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 expressRouteCircuitConnection = new ExpressRouteCircuitConnection("expressRouteCircuitConnection", ExpressRouteCircuitConnectionArgs.builder()        
            .addressPrefix("10.0.0.0/29")
            .authorizationKey("946a1918-b7a2-4917-b43c-8c4cdaee006a")
            .circuitName("ExpressRouteARMCircuitA")
            .connectionName("circuitConnectionUSAUS")
            .expressRouteCircuitPeering(Map.of("id", "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"))
            .ipv6CircuitConnectionConfig(Map.of("addressPrefix", "aa:bb::/125"))
            .peerExpressRouteCircuitPeering(Map.of("id", "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"))
            .peeringName("AzurePrivatePeering")
            .resourceGroupName("rg1")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

express_route_circuit_connection = azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnection",
    address_prefix="10.0.0.0/29",
    authorization_key="946a1918-b7a2-4917-b43c-8c4cdaee006a",
    circuit_name="ExpressRouteARMCircuitA",
    connection_name="circuitConnectionUSAUS",
    express_route_circuit_peering=azure_native.network.SubResourceArgs(
        id="/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
    ),
    ipv6_circuit_connection_config=azure_native.network.Ipv6CircuitConnectionConfigArgs(
        address_prefix="aa:bb::/125",
    ),
    peer_express_route_circuit_peering=azure_native.network.SubResourceArgs(
        id="/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
    ),
    peering_name="AzurePrivatePeering",
    resource_group_name="rg1")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const expressRouteCircuitConnection = new azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnection", {
    addressPrefix: "10.0.0.0/29",
    authorizationKey: "946a1918-b7a2-4917-b43c-8c4cdaee006a",
    circuitName: "ExpressRouteARMCircuitA",
    connectionName: "circuitConnectionUSAUS",
    expressRouteCircuitPeering: {
        id: "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering",
    },
    ipv6CircuitConnectionConfig: {
        addressPrefix: "aa:bb::/125",
    },
    peerExpressRouteCircuitPeering: {
        id: "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering",
    },
    peeringName: "AzurePrivatePeering",
    resourceGroupName: "rg1",
});
resources:
  expressRouteCircuitConnection:
    type: azure-native:network:ExpressRouteCircuitConnection
    properties:
      addressPrefix: 10.0.0.0/29
      authorizationKey: 946a1918-b7a2-4917-b43c-8c4cdaee006a
      circuitName: ExpressRouteARMCircuitA
      connectionName: circuitConnectionUSAUS
      expressRouteCircuitPeering:
        id: /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering
      ipv6CircuitConnectionConfig:
        addressPrefix: aa:bb::/125
      peerExpressRouteCircuitPeering:
        id: /subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering
      peeringName: AzurePrivatePeering
      resourceGroupName: rg1

Create a ExpressRouteCircuitConnection Resource

new ExpressRouteCircuitConnection(name: string, args: ExpressRouteCircuitConnectionArgs, opts?: CustomResourceOptions);
@overload
def ExpressRouteCircuitConnection(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  address_prefix: Optional[str] = None,
                                  authorization_key: Optional[str] = None,
                                  circuit_name: Optional[str] = None,
                                  connection_name: Optional[str] = None,
                                  express_route_circuit_peering: Optional[SubResourceArgs] = None,
                                  id: Optional[str] = None,
                                  ipv6_circuit_connection_config: Optional[Ipv6CircuitConnectionConfigArgs] = None,
                                  name: Optional[str] = None,
                                  peer_express_route_circuit_peering: Optional[SubResourceArgs] = None,
                                  peering_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None)
@overload
def ExpressRouteCircuitConnection(resource_name: str,
                                  args: ExpressRouteCircuitConnectionInitArgs,
                                  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-native: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 ExpressRouteCircuitConnectionInitArgs
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:

CircuitName string

The name of the express route circuit.

PeeringName string

The name of the peering.

ResourceGroupName string

The name of the resource group.

AddressPrefix string

/29 IP address space to carve out Customer addresses for tunnels.

AuthorizationKey string

The authorization key.

ConnectionName string

The name of the express route circuit connection.

ExpressRouteCircuitPeering Pulumi.AzureNative.Network.Inputs.SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

Id string

Resource ID.

Ipv6CircuitConnectionConfig Pulumi.AzureNative.Network.Inputs.Ipv6CircuitConnectionConfigArgs

IPv6 Address PrefixProperties of the express route circuit connection.

Name string

The name of the resource that is unique within a resource group. This name can be used to access the resource.

PeerExpressRouteCircuitPeering Pulumi.AzureNative.Network.Inputs.SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

CircuitName string

The name of the express route circuit.

PeeringName string

The name of the peering.

ResourceGroupName string

The name of the resource group.

AddressPrefix string

/29 IP address space to carve out Customer addresses for tunnels.

AuthorizationKey string

The authorization key.

ConnectionName string

The name of the express route circuit connection.

ExpressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

Id string

Resource ID.

Ipv6CircuitConnectionConfig Ipv6CircuitConnectionConfigArgs

IPv6 Address PrefixProperties of the express route circuit connection.

Name string

The name of the resource that is unique within a resource group. This name can be used to access the resource.

PeerExpressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

circuitName String

The name of the express route circuit.

peeringName String

The name of the peering.

resourceGroupName String

The name of the resource group.

addressPrefix String

/29 IP address space to carve out Customer addresses for tunnels.

authorizationKey String

The authorization key.

connectionName String

The name of the express route circuit connection.

expressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

id String

Resource ID.

ipv6CircuitConnectionConfig Ipv6CircuitConnectionConfigArgs

IPv6 Address PrefixProperties of the express route circuit connection.

name String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

peerExpressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

circuitName string

The name of the express route circuit.

peeringName string

The name of the peering.

resourceGroupName string

The name of the resource group.

addressPrefix string

/29 IP address space to carve out Customer addresses for tunnels.

authorizationKey string

The authorization key.

connectionName string

The name of the express route circuit connection.

expressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

id string

Resource ID.

ipv6CircuitConnectionConfig Ipv6CircuitConnectionConfigArgs

IPv6 Address PrefixProperties of the express route circuit connection.

name string

The name of the resource that is unique within a resource group. This name can be used to access the resource.

peerExpressRouteCircuitPeering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

circuit_name str

The name of the express route circuit.

peering_name str

The name of the peering.

resource_group_name str

The name of the resource group.

address_prefix str

/29 IP address space to carve out Customer addresses for tunnels.

authorization_key str

The authorization key.

connection_name str

The name of the express route circuit connection.

express_route_circuit_peering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

id str

Resource ID.

ipv6_circuit_connection_config Ipv6CircuitConnectionConfigArgs

IPv6 Address PrefixProperties of the express route circuit connection.

name str

The name of the resource that is unique within a resource group. This name can be used to access the resource.

peer_express_route_circuit_peering SubResourceArgs

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

circuitName String

The name of the express route circuit.

peeringName String

The name of the peering.

resourceGroupName String

The name of the resource group.

addressPrefix String

/29 IP address space to carve out Customer addresses for tunnels.

authorizationKey String

The authorization key.

connectionName String

The name of the express route circuit connection.

expressRouteCircuitPeering Property Map

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

id String

Resource ID.

ipv6CircuitConnectionConfig Property Map

IPv6 Address PrefixProperties of the express route circuit connection.

name String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

peerExpressRouteCircuitPeering Property Map

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

Outputs

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

CircuitConnectionStatus string

Express Route Circuit connection state.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

The provisioning state of the express route circuit connection resource.

Type string

Type of the resource.

CircuitConnectionStatus string

Express Route Circuit connection state.

Etag string

A unique read-only string that changes whenever the resource is updated.

Id string

The provider-assigned unique ID for this managed resource.

ProvisioningState string

The provisioning state of the express route circuit connection resource.

Type string

Type of the resource.

circuitConnectionStatus String

Express Route Circuit connection state.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

The provisioning state of the express route circuit connection resource.

type String

Type of the resource.

circuitConnectionStatus string

Express Route Circuit connection state.

etag string

A unique read-only string that changes whenever the resource is updated.

id string

The provider-assigned unique ID for this managed resource.

provisioningState string

The provisioning state of the express route circuit connection resource.

type string

Type of the resource.

circuit_connection_status str

Express Route Circuit connection state.

etag str

A unique read-only string that changes whenever the resource is updated.

id str

The provider-assigned unique ID for this managed resource.

provisioning_state str

The provisioning state of the express route circuit connection resource.

type str

Type of the resource.

circuitConnectionStatus String

Express Route Circuit connection state.

etag String

A unique read-only string that changes whenever the resource is updated.

id String

The provider-assigned unique ID for this managed resource.

provisioningState String

The provisioning state of the express route circuit connection resource.

type String

Type of the resource.

Supporting Types

Ipv6CircuitConnectionConfig

AddressPrefix string

/125 IP address space to carve out customer addresses for global reach.

AddressPrefix string

/125 IP address space to carve out customer addresses for global reach.

addressPrefix String

/125 IP address space to carve out customer addresses for global reach.

addressPrefix string

/125 IP address space to carve out customer addresses for global reach.

address_prefix str

/125 IP address space to carve out customer addresses for global reach.

addressPrefix String

/125 IP address space to carve out customer addresses for global reach.

Ipv6CircuitConnectionConfigResponse

CircuitConnectionStatus string

Express Route Circuit connection state.

AddressPrefix string

/125 IP address space to carve out customer addresses for global reach.

CircuitConnectionStatus string

Express Route Circuit connection state.

AddressPrefix string

/125 IP address space to carve out customer addresses for global reach.

circuitConnectionStatus String

Express Route Circuit connection state.

addressPrefix String

/125 IP address space to carve out customer addresses for global reach.

circuitConnectionStatus string

Express Route Circuit connection state.

addressPrefix string

/125 IP address space to carve out customer addresses for global reach.

circuit_connection_status str

Express Route Circuit connection state.

address_prefix str

/125 IP address space to carve out customer addresses for global reach.

circuitConnectionStatus String

Express Route Circuit connection state.

addressPrefix String

/125 IP address space to carve out customer addresses for global reach.

SubResource

Id string

Resource Id.

Id string

Resource Id.

id String

Resource Id.

id string

Resource Id.

id str

Resource Id.

id String

Resource Id.

SubResourceResponse

Id string

Resource ID.

Id string

Resource ID.

id String

Resource ID.

id string

Resource ID.

id str

Resource ID.

id String

Resource ID.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:ExpressRouteCircuitConnection circuitConnectionUSAUS /subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0