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 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

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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleExpressRouteCircuit = new ExpressRouteCircuit("exampleExpressRouteCircuit", ExpressRouteCircuitArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.serviceProviderName("Equinix")
.peeringLocation("Silicon Valley")
.bandwidthInMbps(50)
.sku(ExpressRouteCircuitSkuArgs.builder()
.tier("Standard")
.family("MeteredData")
.build())
.tags(Map.of("environment", "Production"))
.build());
}
}

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
fun ExpressRouteCircuitArgs(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, resourceGroupName: Output<String>? = null, serviceProviderName: Output<String>? = null, sku: Output<ExpressRouteCircuitSkuArgs>? = null, tags: Output<Map<String, String>>? = null)

Functions

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

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 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.