ExpressRouteConnectionArgs

data class ExpressRouteConnectionArgs(val authorizationKey: Output<String>? = null, val connectionName: Output<String>? = null, val enableInternetSecurity: Output<Boolean>? = null, val expressRouteCircuitPeering: Output<ExpressRouteCircuitPeeringIdArgs>? = null, val expressRouteGatewayBypass: Output<Boolean>? = null, val expressRouteGatewayName: Output<String>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val routingConfiguration: Output<RoutingConfigurationArgs>? = null, val routingWeight: Output<Int>? = null) : ConvertibleToJava<ExpressRouteConnectionArgs>

ExpressRouteConnection resource. API Version: 2020-11-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",
RoutingWeight = 2,
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network"
"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"),
RoutingWeight: pulumi.Int(2),
})
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.ExpressRouteConnection;
import com.pulumi.azurenative.network.ExpressRouteConnectionArgs;
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(Map.of("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")
.routingWeight(2)
.build());
}
}

Import

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

$ pulumi import azure-native:network:ExpressRouteConnection connectionName /subscriptions/subid/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName

Constructors

Link copied to clipboard
constructor(authorizationKey: Output<String>? = null, connectionName: Output<String>? = null, enableInternetSecurity: Output<Boolean>? = null, expressRouteCircuitPeering: Output<ExpressRouteCircuitPeeringIdArgs>? = null, expressRouteGatewayBypass: Output<Boolean>? = null, expressRouteGatewayName: Output<String>? = null, id: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, routingConfiguration: Output<RoutingConfigurationArgs>? = null, routingWeight: Output<Int>? = null)

Properties

Link copied to clipboard
val authorizationKey: Output<String>? = null

Authorization key to establish the connection.

Link copied to clipboard
val connectionName: Output<String>? = null

The name of the connection subresource.

Link copied to clipboard
val enableInternetSecurity: Output<Boolean>? = null

Enable internet security.

Link copied to clipboard

The ExpressRoute circuit peering.

Link copied to clipboard
val expressRouteGatewayBypass: Output<Boolean>? = null

Enable FastPath to vWan Firewall hub.

Link copied to clipboard
val expressRouteGatewayName: Output<String>? = null

The name of the ExpressRoute gateway.

Link copied to clipboard
val id: Output<String>? = null

Resource ID.

Link copied to clipboard
val name: Output<String>? = null

The name of the resource.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group.

Link copied to clipboard

The Routing Configuration indicating the associated and propagated route tables on this connection.

Link copied to clipboard
val routingWeight: Output<Int>? = null

The routing weight associated to the connection.

Functions

Link copied to clipboard
open override fun toJava(): ExpressRouteConnectionArgs