ExpressRouteCircuitArgs

data class ExpressRouteCircuitArgs(val allowClassicOperations: Output<Boolean>? = null, val authorizationKey: Output<String>? = null, val bandwidthInGbps: Output<Double>? = null, val bandwidthInMbps: Output<Int>? = null, val expressRoutePortId: Output<String>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val peeringLocation: Output<String>? = null, val rateLimitingEnabled: Output<Boolean>? = null, val resourceGroupName: Output<String>? = null, val serviceProviderName: Output<String>? = null, val sku: Output<ExpressRouteCircuitSkuArgs>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<ExpressRouteCircuitArgs>

Manages an ExpressRoute circuit.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "exprtTest",
location: "West Europe",
});
const exampleExpressRouteCircuit = new azure.network.ExpressRouteCircuit("example", {
name: "expressRoute1",
resourceGroupName: example.name,
location: example.location,
serviceProviderName: "Equinix",
peeringLocation: "Silicon Valley",
bandwidthInMbps: 50,
sku: {
tier: "Standard",
family: "MeteredData",
},
tags: {
environment: "Production",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="exprtTest",
location="West Europe")
example_express_route_circuit = azure.network.ExpressRouteCircuit("example",
name="expressRoute1",
resource_group_name=example.name,
location=example.location,
service_provider_name="Equinix",
peering_location="Silicon Valley",
bandwidth_in_mbps=50,
sku={
"tier": "Standard",
"family": "MeteredData",
},
tags={
"environment": "Production",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "exprtTest",
Location = "West Europe",
});
var exampleExpressRouteCircuit = new Azure.Network.ExpressRouteCircuit("example", new()
{
Name = "expressRoute1",
ResourceGroupName = example.Name,
Location = example.Location,
ServiceProviderName = "Equinix",
PeeringLocation = "Silicon Valley",
BandwidthInMbps = 50,
Sku = new Azure.Network.Inputs.ExpressRouteCircuitSkuArgs
{
Tier = "Standard",
Family = "MeteredData",
},
Tags =
{
{ "environment", "Production" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("exprtTest"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = network.NewExpressRouteCircuit(ctx, "example", &network.ExpressRouteCircuitArgs{
Name: pulumi.String("expressRoute1"),
ResourceGroupName: example.Name,
Location: example.Location,
ServiceProviderName: pulumi.String("Equinix"),
PeeringLocation: pulumi.String("Silicon Valley"),
BandwidthInMbps: pulumi.Int(50),
Sku: &network.ExpressRouteCircuitSkuArgs{
Tier: pulumi.String("Standard"),
Family: pulumi.String("MeteredData"),
},
Tags: pulumi.StringMap{
"environment": pulumi.String("Production"),
},
})
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.ExpressRouteCircuit;
import com.pulumi.azure.network.ExpressRouteCircuitArgs;
import com.pulumi.azure.network.inputs.ExpressRouteCircuitSkuArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("exprtTest")
.location("West Europe")
.build());
var exampleExpressRouteCircuit = new ExpressRouteCircuit("exampleExpressRouteCircuit", ExpressRouteCircuitArgs.builder()
.name("expressRoute1")
.resourceGroupName(example.name())
.location(example.location())
.serviceProviderName("Equinix")
.peeringLocation("Silicon Valley")
.bandwidthInMbps(50)
.sku(ExpressRouteCircuitSkuArgs.builder()
.tier("Standard")
.family("MeteredData")
.build())
.tags(Map.of("environment", "Production"))
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: exprtTest
location: West Europe
exampleExpressRouteCircuit:
type: azure:network:ExpressRouteCircuit
name: example
properties:
name: expressRoute1
resourceGroupName: ${example.name}
location: ${example.location}
serviceProviderName: Equinix
peeringLocation: Silicon Valley
bandwidthInMbps: 50
sku:
tier: Standard
family: MeteredData
tags:
environment: Production

Import

ExpressRoute circuits can be imported using the resource id, e.g.

$ pulumi import azure:network/expressRouteCircuit:ExpressRouteCircuit myExpressRoute /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/expressRouteCircuits/myExpressRoute

Constructors

Link copied to clipboard
constructor(allowClassicOperations: Output<Boolean>? = null, authorizationKey: Output<String>? = null, bandwidthInGbps: Output<Double>? = null, bandwidthInMbps: Output<Int>? = null, expressRoutePortId: Output<String>? = null, location: Output<String>? = null, name: Output<String>? = null, peeringLocation: Output<String>? = null, rateLimitingEnabled: Output<Boolean>? = null, resourceGroupName: Output<String>? = null, serviceProviderName: Output<String>? = null, sku: Output<ExpressRouteCircuitSkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Properties

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

Allow the circuit to interact with classic (RDFE) resources. Defaults to false.

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

The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.

Link copied to clipboard
val bandwidthInGbps: Output<Double>? = null

The bandwidth in Gbps of the circuit being created on the Express Route Port.

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

The bandwidth in Mbps of the circuit being created on the Service Provider.

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

The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.

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

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

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

The name of the ExpressRoute circuit. Changing this forces a new resource to be created.

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

The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.

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

Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.

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

The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.

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

The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.

Link copied to clipboard
val sku: Output<ExpressRouteCircuitSkuArgs>? = null

A sku block for the ExpressRoute circuit as documented below.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Functions

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