1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. ExpressRouteConnection
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

azure-native.network.ExpressRouteConnection

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi

ExpressRouteConnection resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.

Other available API versions: 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.

Example Usage

ExpressRouteConnectionCreate

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

return await Deployment.RunAsync(() => 
{
    var expressRouteConnection = new AzureNative.Network.ExpressRouteConnection("expressRouteConnection", new()
    {
        AuthorizationKey = "authorizationKey",
        ConnectionName = "connectionName",
        ExpressRouteCircuitPeering = new AzureNative.Network.Inputs.ExpressRouteCircuitPeeringIdArgs
        {
            Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
        },
        ExpressRouteGatewayName = "gateway-2",
        Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
        Name = "connectionName",
        ResourceGroupName = "resourceGroupName",
        RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
        {
            AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
            },
            InboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
            },
            OutboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
            {
                Id = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
            },
            PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
            {
                Ids = new[]
                {
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
                    },
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                    },
                    new AzureNative.Network.Inputs.SubResourceArgs
                    {
                        Id = "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                    },
                },
                Labels = new[]
                {
                    "label1",
                    "label2",
                },
            },
        },
        RoutingWeight = 2,
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := network.NewExpressRouteConnection(ctx, "expressRouteConnection", &network.ExpressRouteConnectionArgs{
			AuthorizationKey: pulumi.String("authorizationKey"),
			ConnectionName:   pulumi.String("connectionName"),
			ExpressRouteCircuitPeering: &network.ExpressRouteCircuitPeeringIdArgs{
				Id: pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering"),
			},
			ExpressRouteGatewayName: pulumi.String("gateway-2"),
			Id:                      pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName"),
			Name:                    pulumi.String("connectionName"),
			ResourceGroupName:       pulumi.String("resourceGroupName"),
			RoutingConfiguration: &network.RoutingConfigurationArgs{
				AssociatedRouteTable: &network.SubResourceArgs{
					Id: pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1"),
				},
				InboundRouteMap: &network.SubResourceArgs{
					Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1"),
				},
				OutboundRouteMap: &network.SubResourceArgs{
					Id: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2"),
				},
				PropagatedRouteTables: &network.PropagatedRouteTableArgs{
					Ids: network.SubResourceArray{
						&network.SubResourceArgs{
							Id: pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1"),
						},
						&network.SubResourceArgs{
							Id: pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2"),
						},
						&network.SubResourceArgs{
							Id: pulumi.String("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3"),
						},
					},
					Labels: pulumi.StringArray{
						pulumi.String("label1"),
						pulumi.String("label2"),
					},
				},
			},
			RoutingWeight: pulumi.Int(2),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.ExpressRouteConnection;
import com.pulumi.azurenative.network.ExpressRouteConnectionArgs;
import com.pulumi.azurenative.network.inputs.ExpressRouteCircuitPeeringIdArgs;
import com.pulumi.azurenative.network.inputs.RoutingConfigurationArgs;
import com.pulumi.azurenative.network.inputs.SubResourceArgs;
import com.pulumi.azurenative.network.inputs.PropagatedRouteTableArgs;
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 expressRouteConnection = new ExpressRouteConnection("expressRouteConnection", ExpressRouteConnectionArgs.builder()
            .authorizationKey("authorizationKey")
            .connectionName("connectionName")
            .expressRouteCircuitPeering(ExpressRouteCircuitPeeringIdArgs.builder()
                .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering")
                .build())
            .expressRouteGatewayName("gateway-2")
            .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName")
            .name("connectionName")
            .resourceGroupName("resourceGroupName")
            .routingConfiguration(RoutingConfigurationArgs.builder()
                .associatedRouteTable(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1")
                    .build())
                .inboundRouteMap(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1")
                    .build())
                .outboundRouteMap(SubResourceArgs.builder()
                    .id("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2")
                    .build())
                .propagatedRouteTables(PropagatedRouteTableArgs.builder()
                    .ids(                    
                        SubResourceArgs.builder()
                            .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1")
                            .build(),
                        SubResourceArgs.builder()
                            .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2")
                            .build(),
                        SubResourceArgs.builder()
                            .id("/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3")
                            .build())
                    .labels(                    
                        "label1",
                        "label2")
                    .build())
                .build())
            .routingWeight(2)
            .build());

    }
}
Copy
import pulumi
import pulumi_azure_native as azure_native

express_route_connection = azure_native.network.ExpressRouteConnection("expressRouteConnection",
    authorization_key="authorizationKey",
    connection_name="connectionName",
    express_route_circuit_peering={
        "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
    },
    express_route_gateway_name="gateway-2",
    id="/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
    name="connectionName",
    resource_group_name="resourceGroupName",
    routing_configuration={
        "associated_route_table": {
            "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
        },
        "inbound_route_map": {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
        },
        "outbound_route_map": {
            "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
        },
        "propagated_route_tables": {
            "ids": [
                {
                    "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
                },
                {
                    "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                },
                {
                    "id": "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                },
            ],
            "labels": [
                "label1",
                "label2",
            ],
        },
    },
    routing_weight=2)
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const expressRouteConnection = new azure_native.network.ExpressRouteConnection("expressRouteConnection", {
    authorizationKey: "authorizationKey",
    connectionName: "connectionName",
    expressRouteCircuitPeering: {
        id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering",
    },
    expressRouteGatewayName: "gateway-2",
    id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName",
    name: "connectionName",
    resourceGroupName: "resourceGroupName",
    routingConfiguration: {
        associatedRouteTable: {
            id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
        },
        inboundRouteMap: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1",
        },
        outboundRouteMap: {
            id: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2",
        },
        propagatedRouteTables: {
            ids: [
                {
                    id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1",
                },
                {
                    id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2",
                },
                {
                    id: "/subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3",
                },
            ],
            labels: [
                "label1",
                "label2",
            ],
        },
    },
    routingWeight: 2,
});
Copy
resources:
  expressRouteConnection:
    type: azure-native:network:ExpressRouteConnection
    properties:
      authorizationKey: authorizationKey
      connectionName: connectionName
      expressRouteCircuitPeering:
        id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering
      expressRouteGatewayName: gateway-2
      id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName
      name: connectionName
      resourceGroupName: resourceGroupName
      routingConfiguration:
        associatedRouteTable:
          id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1
        inboundRouteMap:
          id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1
        outboundRouteMap:
          id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2
        propagatedRouteTables:
          ids:
            - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1
            - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2
            - id: /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3
          labels:
            - label1
            - label2
      routingWeight: 2
Copy

Create ExpressRouteConnection Resource

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

Constructor syntax

new ExpressRouteConnection(name: string, args: ExpressRouteConnectionArgs, opts?: CustomResourceOptions);
@overload
def ExpressRouteConnection(resource_name: str,
                           args: ExpressRouteConnectionInitArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def ExpressRouteConnection(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           express_route_circuit_peering: Optional[ExpressRouteCircuitPeeringIdArgs] = None,
                           express_route_gateway_name: Optional[str] = None,
                           name: Optional[str] = None,
                           resource_group_name: Optional[str] = None,
                           authorization_key: Optional[str] = None,
                           connection_name: Optional[str] = None,
                           enable_internet_security: Optional[bool] = None,
                           enable_private_link_fast_path: Optional[bool] = None,
                           express_route_gateway_bypass: Optional[bool] = None,
                           id: Optional[str] = None,
                           routing_configuration: Optional[RoutingConfigurationArgs] = None,
                           routing_weight: Optional[int] = None)
func NewExpressRouteConnection(ctx *Context, name string, args ExpressRouteConnectionArgs, opts ...ResourceOption) (*ExpressRouteConnection, error)
public ExpressRouteConnection(string name, ExpressRouteConnectionArgs args, CustomResourceOptions? opts = null)
public ExpressRouteConnection(String name, ExpressRouteConnectionArgs args)
public ExpressRouteConnection(String name, ExpressRouteConnectionArgs args, CustomResourceOptions options)
type: azure-native:network:ExpressRouteConnection
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExpressRouteConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExpressRouteConnectionInitArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExpressRouteConnectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExpressRouteConnectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExpressRouteConnectionArgs
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 expressRouteConnectionResource = new AzureNative.Network.ExpressRouteConnection("expressRouteConnectionResource", new()
{
    ExpressRouteCircuitPeering = new AzureNative.Network.Inputs.ExpressRouteCircuitPeeringIdArgs
    {
        Id = "string",
    },
    ExpressRouteGatewayName = "string",
    Name = "string",
    ResourceGroupName = "string",
    AuthorizationKey = "string",
    ConnectionName = "string",
    EnableInternetSecurity = false,
    EnablePrivateLinkFastPath = false,
    ExpressRouteGatewayBypass = false,
    Id = "string",
    RoutingConfiguration = new AzureNative.Network.Inputs.RoutingConfigurationArgs
    {
        AssociatedRouteTable = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        InboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        OutboundRouteMap = new AzureNative.Network.Inputs.SubResourceArgs
        {
            Id = "string",
        },
        PropagatedRouteTables = new AzureNative.Network.Inputs.PropagatedRouteTableArgs
        {
            Ids = new[]
            {
                new AzureNative.Network.Inputs.SubResourceArgs
                {
                    Id = "string",
                },
            },
            Labels = new[]
            {
                "string",
            },
        },
        VnetRoutes = new AzureNative.Network.Inputs.VnetRouteArgs
        {
            StaticRoutes = new[]
            {
                new AzureNative.Network.Inputs.StaticRouteArgs
                {
                    AddressPrefixes = new[]
                    {
                        "string",
                    },
                    Name = "string",
                    NextHopIpAddress = "string",
                },
            },
            StaticRoutesConfig = new AzureNative.Network.Inputs.StaticRoutesConfigArgs
            {
                VnetLocalRouteOverrideCriteria = "string",
            },
        },
    },
    RoutingWeight = 0,
});
Copy
example, err := network.NewExpressRouteConnection(ctx, "expressRouteConnectionResource", &network.ExpressRouteConnectionArgs{
	ExpressRouteCircuitPeering: &network.ExpressRouteCircuitPeeringIdArgs{
		Id: pulumi.String("string"),
	},
	ExpressRouteGatewayName:   pulumi.String("string"),
	Name:                      pulumi.String("string"),
	ResourceGroupName:         pulumi.String("string"),
	AuthorizationKey:          pulumi.String("string"),
	ConnectionName:            pulumi.String("string"),
	EnableInternetSecurity:    pulumi.Bool(false),
	EnablePrivateLinkFastPath: pulumi.Bool(false),
	ExpressRouteGatewayBypass: pulumi.Bool(false),
	Id:                        pulumi.String("string"),
	RoutingConfiguration: &network.RoutingConfigurationArgs{
		AssociatedRouteTable: &network.SubResourceArgs{
			Id: pulumi.String("string"),
		},
		InboundRouteMap: &network.SubResourceArgs{
			Id: pulumi.String("string"),
		},
		OutboundRouteMap: &network.SubResourceArgs{
			Id: pulumi.String("string"),
		},
		PropagatedRouteTables: &network.PropagatedRouteTableArgs{
			Ids: network.SubResourceArray{
				&network.SubResourceArgs{
					Id: pulumi.String("string"),
				},
			},
			Labels: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
		VnetRoutes: &network.VnetRouteArgs{
			StaticRoutes: network.StaticRouteArray{
				&network.StaticRouteArgs{
					AddressPrefixes: pulumi.StringArray{
						pulumi.String("string"),
					},
					Name:             pulumi.String("string"),
					NextHopIpAddress: pulumi.String("string"),
				},
			},
			StaticRoutesConfig: &network.StaticRoutesConfigArgs{
				VnetLocalRouteOverrideCriteria: pulumi.String("string"),
			},
		},
	},
	RoutingWeight: pulumi.Int(0),
})
Copy
var expressRouteConnectionResource = new ExpressRouteConnection("expressRouteConnectionResource", ExpressRouteConnectionArgs.builder()
    .expressRouteCircuitPeering(ExpressRouteCircuitPeeringIdArgs.builder()
        .id("string")
        .build())
    .expressRouteGatewayName("string")
    .name("string")
    .resourceGroupName("string")
    .authorizationKey("string")
    .connectionName("string")
    .enableInternetSecurity(false)
    .enablePrivateLinkFastPath(false)
    .expressRouteGatewayBypass(false)
    .id("string")
    .routingConfiguration(RoutingConfigurationArgs.builder()
        .associatedRouteTable(SubResourceArgs.builder()
            .id("string")
            .build())
        .inboundRouteMap(SubResourceArgs.builder()
            .id("string")
            .build())
        .outboundRouteMap(SubResourceArgs.builder()
            .id("string")
            .build())
        .propagatedRouteTables(PropagatedRouteTableArgs.builder()
            .ids(SubResourceArgs.builder()
                .id("string")
                .build())
            .labels("string")
            .build())
        .vnetRoutes(VnetRouteArgs.builder()
            .staticRoutes(StaticRouteArgs.builder()
                .addressPrefixes("string")
                .name("string")
                .nextHopIpAddress("string")
                .build())
            .staticRoutesConfig(StaticRoutesConfigArgs.builder()
                .vnetLocalRouteOverrideCriteria("string")
                .build())
            .build())
        .build())
    .routingWeight(0)
    .build());
Copy
express_route_connection_resource = azure_native.network.ExpressRouteConnection("expressRouteConnectionResource",
    express_route_circuit_peering={
        "id": "string",
    },
    express_route_gateway_name="string",
    name="string",
    resource_group_name="string",
    authorization_key="string",
    connection_name="string",
    enable_internet_security=False,
    enable_private_link_fast_path=False,
    express_route_gateway_bypass=False,
    id="string",
    routing_configuration={
        "associated_route_table": {
            "id": "string",
        },
        "inbound_route_map": {
            "id": "string",
        },
        "outbound_route_map": {
            "id": "string",
        },
        "propagated_route_tables": {
            "ids": [{
                "id": "string",
            }],
            "labels": ["string"],
        },
        "vnet_routes": {
            "static_routes": [{
                "address_prefixes": ["string"],
                "name": "string",
                "next_hop_ip_address": "string",
            }],
            "static_routes_config": {
                "vnet_local_route_override_criteria": "string",
            },
        },
    },
    routing_weight=0)
Copy
const expressRouteConnectionResource = new azure_native.network.ExpressRouteConnection("expressRouteConnectionResource", {
    expressRouteCircuitPeering: {
        id: "string",
    },
    expressRouteGatewayName: "string",
    name: "string",
    resourceGroupName: "string",
    authorizationKey: "string",
    connectionName: "string",
    enableInternetSecurity: false,
    enablePrivateLinkFastPath: false,
    expressRouteGatewayBypass: false,
    id: "string",
    routingConfiguration: {
        associatedRouteTable: {
            id: "string",
        },
        inboundRouteMap: {
            id: "string",
        },
        outboundRouteMap: {
            id: "string",
        },
        propagatedRouteTables: {
            ids: [{
                id: "string",
            }],
            labels: ["string"],
        },
        vnetRoutes: {
            staticRoutes: [{
                addressPrefixes: ["string"],
                name: "string",
                nextHopIpAddress: "string",
            }],
            staticRoutesConfig: {
                vnetLocalRouteOverrideCriteria: "string",
            },
        },
    },
    routingWeight: 0,
});
Copy
type: azure-native:network:ExpressRouteConnection
properties:
    authorizationKey: string
    connectionName: string
    enableInternetSecurity: false
    enablePrivateLinkFastPath: false
    expressRouteCircuitPeering:
        id: string
    expressRouteGatewayBypass: false
    expressRouteGatewayName: string
    id: string
    name: string
    resourceGroupName: string
    routingConfiguration:
        associatedRouteTable:
            id: string
        inboundRouteMap:
            id: string
        outboundRouteMap:
            id: string
        propagatedRouteTables:
            ids:
                - id: string
            labels:
                - string
        vnetRoutes:
            staticRoutes:
                - addressPrefixes:
                    - string
                  name: string
                  nextHopIpAddress: string
            staticRoutesConfig:
                vnetLocalRouteOverrideCriteria: string
    routingWeight: 0
Copy

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

ExpressRouteCircuitPeering This property is required. Pulumi.AzureNative.Network.Inputs.ExpressRouteCircuitPeeringId
The ExpressRoute circuit peering.
ExpressRouteGatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the ExpressRoute gateway.
Name This property is required. string
The name of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
AuthorizationKey string
Authorization key to establish the connection.
ConnectionName Changes to this property will trigger replacement. string
The name of the connection subresource.
EnableInternetSecurity bool
Enable internet security.
EnablePrivateLinkFastPath bool
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
ExpressRouteGatewayBypass bool
Enable FastPath to vWan Firewall hub.
Id string
Resource ID.
RoutingConfiguration Pulumi.AzureNative.Network.Inputs.RoutingConfiguration
The Routing Configuration indicating the associated and propagated route tables on this connection.
RoutingWeight int
The routing weight associated to the connection.
ExpressRouteCircuitPeering This property is required. ExpressRouteCircuitPeeringIdArgs
The ExpressRoute circuit peering.
ExpressRouteGatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the ExpressRoute gateway.
Name This property is required. string
The name of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
AuthorizationKey string
Authorization key to establish the connection.
ConnectionName Changes to this property will trigger replacement. string
The name of the connection subresource.
EnableInternetSecurity bool
Enable internet security.
EnablePrivateLinkFastPath bool
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
ExpressRouteGatewayBypass bool
Enable FastPath to vWan Firewall hub.
Id string
Resource ID.
RoutingConfiguration RoutingConfigurationArgs
The Routing Configuration indicating the associated and propagated route tables on this connection.
RoutingWeight int
The routing weight associated to the connection.
expressRouteCircuitPeering This property is required. ExpressRouteCircuitPeeringId
The ExpressRoute circuit peering.
expressRouteGatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the ExpressRoute gateway.
name This property is required. String
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
authorizationKey String
Authorization key to establish the connection.
connectionName Changes to this property will trigger replacement. String
The name of the connection subresource.
enableInternetSecurity Boolean
Enable internet security.
enablePrivateLinkFastPath Boolean
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
expressRouteGatewayBypass Boolean
Enable FastPath to vWan Firewall hub.
id String
Resource ID.
routingConfiguration RoutingConfiguration
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight Integer
The routing weight associated to the connection.
expressRouteCircuitPeering This property is required. ExpressRouteCircuitPeeringId
The ExpressRoute circuit peering.
expressRouteGatewayName
This property is required.
Changes to this property will trigger replacement.
string
The name of the ExpressRoute gateway.
name This property is required. string
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
authorizationKey string
Authorization key to establish the connection.
connectionName Changes to this property will trigger replacement. string
The name of the connection subresource.
enableInternetSecurity boolean
Enable internet security.
enablePrivateLinkFastPath boolean
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
expressRouteGatewayBypass boolean
Enable FastPath to vWan Firewall hub.
id string
Resource ID.
routingConfiguration RoutingConfiguration
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight number
The routing weight associated to the connection.
express_route_circuit_peering This property is required. ExpressRouteCircuitPeeringIdArgs
The ExpressRoute circuit peering.
express_route_gateway_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the ExpressRoute gateway.
name This property is required. str
The name of the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
authorization_key str
Authorization key to establish the connection.
connection_name Changes to this property will trigger replacement. str
The name of the connection subresource.
enable_internet_security bool
Enable internet security.
enable_private_link_fast_path bool
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
express_route_gateway_bypass bool
Enable FastPath to vWan Firewall hub.
id str
Resource ID.
routing_configuration RoutingConfigurationArgs
The Routing Configuration indicating the associated and propagated route tables on this connection.
routing_weight int
The routing weight associated to the connection.
expressRouteCircuitPeering This property is required. Property Map
The ExpressRoute circuit peering.
expressRouteGatewayName
This property is required.
Changes to this property will trigger replacement.
String
The name of the ExpressRoute gateway.
name This property is required. String
The name of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
authorizationKey String
Authorization key to establish the connection.
connectionName Changes to this property will trigger replacement. String
The name of the connection subresource.
enableInternetSecurity Boolean
Enable internet security.
enablePrivateLinkFastPath Boolean
Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
expressRouteGatewayBypass Boolean
Enable FastPath to vWan Firewall hub.
id String
Resource ID.
routingConfiguration Property Map
The Routing Configuration indicating the associated and propagated route tables on this connection.
routingWeight Number
The routing weight associated to the connection.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The provisioning state of the express route connection resource.
Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The provisioning state of the express route connection resource.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The provisioning state of the express route connection resource.
id string
The provider-assigned unique ID for this managed resource.
provisioningState string
The provisioning state of the express route connection resource.
id str
The provider-assigned unique ID for this managed resource.
provisioning_state str
The provisioning state of the express route connection resource.
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The provisioning state of the express route connection resource.

Supporting Types

ExpressRouteCircuitPeeringId
, ExpressRouteCircuitPeeringIdArgs

Id string
The ID of the ExpressRoute circuit peering.
Id string
The ID of the ExpressRoute circuit peering.
id String
The ID of the ExpressRoute circuit peering.
id string
The ID of the ExpressRoute circuit peering.
id str
The ID of the ExpressRoute circuit peering.
id String
The ID of the ExpressRoute circuit peering.

ExpressRouteCircuitPeeringIdResponse
, ExpressRouteCircuitPeeringIdResponseArgs

Id string
The ID of the ExpressRoute circuit peering.
Id string
The ID of the ExpressRoute circuit peering.
id String
The ID of the ExpressRoute circuit peering.
id string
The ID of the ExpressRoute circuit peering.
id str
The ID of the ExpressRoute circuit peering.
id String
The ID of the ExpressRoute circuit peering.

PropagatedRouteTable
, PropagatedRouteTableArgs

Ids List<Pulumi.AzureNative.Network.Inputs.SubResource>
The list of resource ids of all the RouteTables.
Labels List<string>
The list of labels.
Ids []SubResource
The list of resource ids of all the RouteTables.
Labels []string
The list of labels.
ids List<SubResource>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.
ids SubResource[]
The list of resource ids of all the RouteTables.
labels string[]
The list of labels.
ids Sequence[SubResource]
The list of resource ids of all the RouteTables.
labels Sequence[str]
The list of labels.
ids List<Property Map>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.

PropagatedRouteTableResponse
, PropagatedRouteTableResponseArgs

Ids List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
The list of resource ids of all the RouteTables.
Labels List<string>
The list of labels.
Ids []SubResourceResponse
The list of resource ids of all the RouteTables.
Labels []string
The list of labels.
ids List<SubResourceResponse>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.
ids SubResourceResponse[]
The list of resource ids of all the RouteTables.
labels string[]
The list of labels.
ids Sequence[SubResourceResponse]
The list of resource ids of all the RouteTables.
labels Sequence[str]
The list of labels.
ids List<Property Map>
The list of resource ids of all the RouteTables.
labels List<String>
The list of labels.

RoutingConfiguration
, RoutingConfigurationArgs

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResource
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResource
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTable
The list of RouteTables to advertise the routes to.
VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRoute
List of routes that control routing from VirtualHub into a virtual network connection.
AssociatedRouteTable SubResource
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap SubResource
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap SubResource
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables PropagatedRouteTable
The list of RouteTables to advertise the routes to.
VnetRoutes VnetRoute
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResource
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResource
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResource
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTable
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRoute
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResource
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResource
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResource
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTable
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRoute
List of routes that control routing from VirtualHub into a virtual network connection.
associated_route_table SubResource
The resource id RouteTable associated with this RoutingConfiguration.
inbound_route_map SubResource
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outbound_route_map SubResource
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagated_route_tables PropagatedRouteTable
The list of RouteTables to advertise the routes to.
vnet_routes VnetRoute
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable Property Map
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap Property Map
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap Property Map
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables Property Map
The list of RouteTables to advertise the routes to.
vnetRoutes Property Map
List of routes that control routing from VirtualHub into a virtual network connection.

RoutingConfigurationResponse
, RoutingConfigurationResponseArgs

AssociatedRouteTable Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap Pulumi.AzureNative.Network.Inputs.SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables Pulumi.AzureNative.Network.Inputs.PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
VnetRoutes Pulumi.AzureNative.Network.Inputs.VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
AssociatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
InboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
OutboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
PropagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
VnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnetRoutes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associated_route_table SubResourceResponse
The resource id RouteTable associated with this RoutingConfiguration.
inbound_route_map SubResourceResponse
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outbound_route_map SubResourceResponse
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagated_route_tables PropagatedRouteTableResponse
The list of RouteTables to advertise the routes to.
vnet_routes VnetRouteResponse
List of routes that control routing from VirtualHub into a virtual network connection.
associatedRouteTable Property Map
The resource id RouteTable associated with this RoutingConfiguration.
inboundRouteMap Property Map
The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
outboundRouteMap Property Map
The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
propagatedRouteTables Property Map
The list of RouteTables to advertise the routes to.
vnetRoutes Property Map
List of routes that control routing from VirtualHub into a virtual network connection.

StaticRoute
, StaticRouteArgs

AddressPrefixes List<string>
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
AddressPrefixes []string
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.
addressPrefixes string[]
List of all address prefixes.
name string
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress string
The ip address of the next hop.
address_prefixes Sequence[str]
List of all address prefixes.
name str
The name of the StaticRoute that is unique within a VnetRoute.
next_hop_ip_address str
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.

StaticRouteResponse
, StaticRouteResponseArgs

AddressPrefixes List<string>
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
AddressPrefixes []string
List of all address prefixes.
Name string
The name of the StaticRoute that is unique within a VnetRoute.
NextHopIpAddress string
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.
addressPrefixes string[]
List of all address prefixes.
name string
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress string
The ip address of the next hop.
address_prefixes Sequence[str]
List of all address prefixes.
name str
The name of the StaticRoute that is unique within a VnetRoute.
next_hop_ip_address str
The ip address of the next hop.
addressPrefixes List<String>
List of all address prefixes.
name String
The name of the StaticRoute that is unique within a VnetRoute.
nextHopIpAddress String
The ip address of the next hop.

StaticRoutesConfig
, StaticRoutesConfigArgs

VnetLocalRouteOverrideCriteria string | Pulumi.AzureNative.Network.VnetLocalRouteOverrideCriteria
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
VnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
vnetLocalRouteOverrideCriteria String | VnetLocalRouteOverrideCriteria
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
vnetLocalRouteOverrideCriteria string | VnetLocalRouteOverrideCriteria
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
vnet_local_route_override_criteria str | VnetLocalRouteOverrideCriteria
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
vnetLocalRouteOverrideCriteria String | "Contains" | "Equal"
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

StaticRoutesConfigResponse
, StaticRoutesConfigResponseArgs

PropagateStaticRoutes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
VnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
PropagateStaticRoutes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
VnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. Boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria String
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria string
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagate_static_routes This property is required. bool
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnet_local_route_override_criteria str
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
propagateStaticRoutes This property is required. Boolean
Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
vnetLocalRouteOverrideCriteria String
Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.

SubResource
, SubResourceArgs

Id string
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
Id string
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
id String
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
id string
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
id str
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
id String
Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.

SubResourceResponse
, SubResourceResponseArgs

Id This property is required. string
Resource ID.
Id This property is required. string
Resource ID.
id This property is required. String
Resource ID.
id This property is required. string
Resource ID.
id This property is required. str
Resource ID.
id This property is required. String
Resource ID.

VnetLocalRouteOverrideCriteria
, VnetLocalRouteOverrideCriteriaArgs

Contains
Contains
Equal
Equal
VnetLocalRouteOverrideCriteriaContains
Contains
VnetLocalRouteOverrideCriteriaEqual
Equal
Contains
Contains
Equal
Equal
Contains
Contains
Equal
Equal
CONTAINS
Contains
EQUAL
Equal
"Contains"
Contains
"Equal"
Equal

VnetRoute
, VnetRouteArgs

StaticRoutes []StaticRoute
List of all Static Routes.
StaticRoutesConfig StaticRoutesConfig
Configuration for static routes on this HubVnetConnection.
staticRoutes List<StaticRoute>
List of all Static Routes.
staticRoutesConfig StaticRoutesConfig
Configuration for static routes on this HubVnetConnection.
staticRoutes StaticRoute[]
List of all Static Routes.
staticRoutesConfig StaticRoutesConfig
Configuration for static routes on this HubVnetConnection.
static_routes Sequence[StaticRoute]
List of all Static Routes.
static_routes_config StaticRoutesConfig
Configuration for static routes on this HubVnetConnection.
staticRoutes List<Property Map>
List of all Static Routes.
staticRoutesConfig Property Map
Configuration for static routes on this HubVnetConnection.

VnetRouteResponse
, VnetRouteResponseArgs

BgpConnections This property is required. List<Pulumi.AzureNative.Network.Inputs.SubResourceResponse>
The list of references to HubBgpConnection objects.
StaticRoutes List<Pulumi.AzureNative.Network.Inputs.StaticRouteResponse>
List of all Static Routes.
StaticRoutesConfig Pulumi.AzureNative.Network.Inputs.StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
BgpConnections This property is required. []SubResourceResponse
The list of references to HubBgpConnection objects.
StaticRoutes []StaticRouteResponse
List of all Static Routes.
StaticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. List<SubResourceResponse>
The list of references to HubBgpConnection objects.
staticRoutes List<StaticRouteResponse>
List of all Static Routes.
staticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. SubResourceResponse[]
The list of references to HubBgpConnection objects.
staticRoutes StaticRouteResponse[]
List of all Static Routes.
staticRoutesConfig StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgp_connections This property is required. Sequence[SubResourceResponse]
The list of references to HubBgpConnection objects.
static_routes Sequence[StaticRouteResponse]
List of all Static Routes.
static_routes_config StaticRoutesConfigResponse
Configuration for static routes on this HubVnetConnection.
bgpConnections This property is required. List<Property Map>
The list of references to HubBgpConnection objects.
staticRoutes List<Property Map>
List of all Static Routes.
staticRoutesConfig Property Map
Configuration for static routes on this HubVnetConnection.

Import

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

$ pulumi import azure-native:network:ExpressRouteConnection connectionName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName} 
Copy

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

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v2.82.0 published on Friday, Jan 10, 2025 by Pulumi