We recommend using Azure Native.
azure.network.ExpressRouteCircuit
Explore with Pulumi AI
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",
    })
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
	})
}
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 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
Create ExpressRouteCircuit Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressRouteCircuit(name: string, args: ExpressRouteCircuitArgs, opts?: CustomResourceOptions);@overload
def ExpressRouteCircuit(resource_name: str,
                        args: ExpressRouteCircuitArgs,
                        opts: Optional[ResourceOptions] = None)
@overload
def ExpressRouteCircuit(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        resource_group_name: Optional[str] = None,
                        sku: Optional[ExpressRouteCircuitSkuArgs] = None,
                        bandwidth_in_mbps: Optional[int] = None,
                        allow_classic_operations: Optional[bool] = None,
                        express_route_port_id: Optional[str] = None,
                        location: Optional[str] = None,
                        name: Optional[str] = None,
                        peering_location: Optional[str] = None,
                        rate_limiting_enabled: Optional[bool] = None,
                        bandwidth_in_gbps: Optional[float] = None,
                        service_provider_name: Optional[str] = None,
                        authorization_key: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None)func NewExpressRouteCircuit(ctx *Context, name string, args ExpressRouteCircuitArgs, opts ...ResourceOption) (*ExpressRouteCircuit, error)public ExpressRouteCircuit(string name, ExpressRouteCircuitArgs args, CustomResourceOptions? opts = null)
public ExpressRouteCircuit(String name, ExpressRouteCircuitArgs args)
public ExpressRouteCircuit(String name, ExpressRouteCircuitArgs args, CustomResourceOptions options)
type: azure:network:ExpressRouteCircuit
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExpressRouteCircuitArgs
- 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 ExpressRouteCircuitArgs
- 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 ExpressRouteCircuitArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExpressRouteCircuitArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExpressRouteCircuitArgs
- 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 expressRouteCircuitResource = new Azure.Network.ExpressRouteCircuit("expressRouteCircuitResource", new()
{
    ResourceGroupName = "string",
    Sku = new Azure.Network.Inputs.ExpressRouteCircuitSkuArgs
    {
        Family = "string",
        Tier = "string",
    },
    BandwidthInMbps = 0,
    AllowClassicOperations = false,
    ExpressRoutePortId = "string",
    Location = "string",
    Name = "string",
    PeeringLocation = "string",
    RateLimitingEnabled = false,
    BandwidthInGbps = 0,
    ServiceProviderName = "string",
    AuthorizationKey = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
example, err := network.NewExpressRouteCircuit(ctx, "expressRouteCircuitResource", &network.ExpressRouteCircuitArgs{
	ResourceGroupName: pulumi.String("string"),
	Sku: &network.ExpressRouteCircuitSkuArgs{
		Family: pulumi.String("string"),
		Tier:   pulumi.String("string"),
	},
	BandwidthInMbps:        pulumi.Int(0),
	AllowClassicOperations: pulumi.Bool(false),
	ExpressRoutePortId:     pulumi.String("string"),
	Location:               pulumi.String("string"),
	Name:                   pulumi.String("string"),
	PeeringLocation:        pulumi.String("string"),
	RateLimitingEnabled:    pulumi.Bool(false),
	BandwidthInGbps:        pulumi.Float64(0),
	ServiceProviderName:    pulumi.String("string"),
	AuthorizationKey:       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var expressRouteCircuitResource = new ExpressRouteCircuit("expressRouteCircuitResource", ExpressRouteCircuitArgs.builder()
    .resourceGroupName("string")
    .sku(ExpressRouteCircuitSkuArgs.builder()
        .family("string")
        .tier("string")
        .build())
    .bandwidthInMbps(0)
    .allowClassicOperations(false)
    .expressRoutePortId("string")
    .location("string")
    .name("string")
    .peeringLocation("string")
    .rateLimitingEnabled(false)
    .bandwidthInGbps(0)
    .serviceProviderName("string")
    .authorizationKey("string")
    .tags(Map.of("string", "string"))
    .build());
express_route_circuit_resource = azure.network.ExpressRouteCircuit("expressRouteCircuitResource",
    resource_group_name="string",
    sku={
        "family": "string",
        "tier": "string",
    },
    bandwidth_in_mbps=0,
    allow_classic_operations=False,
    express_route_port_id="string",
    location="string",
    name="string",
    peering_location="string",
    rate_limiting_enabled=False,
    bandwidth_in_gbps=0,
    service_provider_name="string",
    authorization_key="string",
    tags={
        "string": "string",
    })
const expressRouteCircuitResource = new azure.network.ExpressRouteCircuit("expressRouteCircuitResource", {
    resourceGroupName: "string",
    sku: {
        family: "string",
        tier: "string",
    },
    bandwidthInMbps: 0,
    allowClassicOperations: false,
    expressRoutePortId: "string",
    location: "string",
    name: "string",
    peeringLocation: "string",
    rateLimitingEnabled: false,
    bandwidthInGbps: 0,
    serviceProviderName: "string",
    authorizationKey: "string",
    tags: {
        string: "string",
    },
});
type: azure:network:ExpressRouteCircuit
properties:
    allowClassicOperations: false
    authorizationKey: string
    bandwidthInGbps: 0
    bandwidthInMbps: 0
    expressRoutePortId: string
    location: string
    name: string
    peeringLocation: string
    rateLimitingEnabled: false
    resourceGroupName: string
    serviceProviderName: string
    sku:
        family: string
        tier: string
    tags:
        string: string
ExpressRouteCircuit 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 ExpressRouteCircuit resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- Sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- AllowClassic boolOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- BandwidthIn doubleGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- BandwidthIn intMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- ExpressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- PeeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- RateLimiting boolEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- ServiceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- ResourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- Sku
ExpressRoute Circuit Sku Args 
- A skublock for the ExpressRoute circuit as documented below.
- AllowClassic boolOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- BandwidthIn float64Gbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- BandwidthIn intMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- ExpressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- PeeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- RateLimiting boolEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- ServiceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- map[string]string
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- allowClassic BooleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- String
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn DoubleGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn IntegerMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute StringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation String
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting BooleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- serviceProvider StringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- Map<String,String>
- A mapping of tags to assign to the resource.
- resourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- allowClassic booleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn numberGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn numberMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting booleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- serviceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- resource_group_ strname 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- sku
ExpressRoute Circuit Sku Args 
- A skublock for the ExpressRoute circuit as documented below.
- allow_classic_ booloperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- str
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidth_in_ floatgbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidth_in_ intmbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- express_route_ strport_ id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peering_location str
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rate_limiting_ boolenabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- service_provider_ strname 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- resourceGroup StringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- sku Property Map
- A skublock for the ExpressRoute circuit as documented below.
- allowClassic BooleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- String
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn NumberGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn NumberMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute StringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation String
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting BooleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- serviceProvider StringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- Map<String>
- A mapping of tags to assign to the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCircuit resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- ServiceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- Id string
- The provider-assigned unique ID for this managed resource.
- ServiceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- ServiceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceKey String
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider StringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- id string
- The provider-assigned unique ID for this managed resource.
- serviceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- id str
- The provider-assigned unique ID for this managed resource.
- service_key str
- The string needed by the service provider to provision the ExpressRoute circuit.
- service_provider_ strprovisioning_ state 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- id String
- The provider-assigned unique ID for this managed resource.
- serviceKey String
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider StringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
Look up Existing ExpressRouteCircuit Resource
Get an existing ExpressRouteCircuit resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ExpressRouteCircuitState, opts?: CustomResourceOptions): ExpressRouteCircuit@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_classic_operations: Optional[bool] = None,
        authorization_key: Optional[str] = None,
        bandwidth_in_gbps: Optional[float] = None,
        bandwidth_in_mbps: Optional[int] = None,
        express_route_port_id: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        peering_location: Optional[str] = None,
        rate_limiting_enabled: Optional[bool] = None,
        resource_group_name: Optional[str] = None,
        service_key: Optional[str] = None,
        service_provider_name: Optional[str] = None,
        service_provider_provisioning_state: Optional[str] = None,
        sku: Optional[ExpressRouteCircuitSkuArgs] = None,
        tags: Optional[Mapping[str, str]] = None) -> ExpressRouteCircuitfunc GetExpressRouteCircuit(ctx *Context, name string, id IDInput, state *ExpressRouteCircuitState, opts ...ResourceOption) (*ExpressRouteCircuit, error)public static ExpressRouteCircuit Get(string name, Input<string> id, ExpressRouteCircuitState? state, CustomResourceOptions? opts = null)public static ExpressRouteCircuit get(String name, Output<String> id, ExpressRouteCircuitState state, CustomResourceOptions options)resources:  _:    type: azure:network:ExpressRouteCircuit    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AllowClassic boolOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- BandwidthIn doubleGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- BandwidthIn intMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- ExpressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- PeeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- RateLimiting boolEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- ResourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- ServiceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- ServiceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- ServiceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- Sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- Dictionary<string, string>
- A mapping of tags to assign to the resource.
- AllowClassic boolOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- BandwidthIn float64Gbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- BandwidthIn intMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- ExpressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- Location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- Name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- PeeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- RateLimiting boolEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- ResourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- ServiceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- ServiceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- ServiceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- Sku
ExpressRoute Circuit Sku Args 
- A skublock for the ExpressRoute circuit as documented below.
- map[string]string
- A mapping of tags to assign to the resource.
- allowClassic BooleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- String
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn DoubleGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn IntegerMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute StringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation String
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting BooleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- resourceGroup StringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- serviceKey String
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider StringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- serviceProvider StringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- Map<String,String>
- A mapping of tags to assign to the resource.
- allowClassic booleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- string
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn numberGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn numberMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute stringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location string
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name string
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation string
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting booleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- resourceGroup stringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- serviceKey string
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider stringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- serviceProvider stringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- sku
ExpressRoute Circuit Sku 
- A skublock for the ExpressRoute circuit as documented below.
- {[key: string]: string}
- A mapping of tags to assign to the resource.
- allow_classic_ booloperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- str
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidth_in_ floatgbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidth_in_ intmbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- express_route_ strport_ id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location str
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name str
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peering_location str
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rate_limiting_ boolenabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- resource_group_ strname 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- service_key str
- The string needed by the service provider to provision the ExpressRoute circuit.
- service_provider_ strname 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- service_provider_ strprovisioning_ state 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- sku
ExpressRoute Circuit Sku Args 
- A skublock for the ExpressRoute circuit as documented below.
- Mapping[str, str]
- A mapping of tags to assign to the resource.
- allowClassic BooleanOperations 
- Allow the circuit to interact with classic (RDFE) resources. Defaults to false.
- String
- The authorization key. This can be used to set up an ExpressRoute Circuit with an ExpressRoute Port from another subscription.
- bandwidthIn NumberGbps 
- The bandwidth in Gbps of the circuit being created on the Express Route Port. - NOTE: The - express_route_port_idand the- bandwidth_in_gbpsshould be set together and they conflict with- service_provider_name,- peering_locationand- bandwidth_in_mbps.
- bandwidthIn NumberMbps 
- The bandwidth in Mbps of the circuit being created on the Service Provider. - NOTE: Once you increase your bandwidth, you will not be able to decrease it to its previous value. - NOTE: The - service_provider_name, the- peering_locationand the- bandwidth_in_mbpsshould be set together and they conflict with- express_route_port_idand- bandwidth_in_gbps.
- expressRoute StringPort Id 
- The ID of the Express Route Port this Express Route Circuit is based on. Changing this forces a new resource to be created.
- location String
- Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
- name String
- The name of the ExpressRoute circuit. Changing this forces a new resource to be created.
- peeringLocation String
- The name of the peering location and not the Azure resource location. Changing this forces a new resource to be created.
- rateLimiting BooleanEnabled 
- Enable rate limiting for the circuit. Only works with ExpressRoute Ports. Defaults to false.
- resourceGroup StringName 
- The name of the resource group in which to create the ExpressRoute circuit. Changing this forces a new resource to be created.
- serviceKey String
- The string needed by the service provider to provision the ExpressRoute circuit.
- serviceProvider StringName 
- The name of the ExpressRoute Service Provider. Changing this forces a new resource to be created.
- serviceProvider StringProvisioning State 
- The ExpressRoute circuit provisioning state from your chosen service provider. Possible values are NotProvisioned,Provisioning,Provisioned, andDeprovisioning.
- sku Property Map
- A skublock for the ExpressRoute circuit as documented below.
- Map<String>
- A mapping of tags to assign to the resource.
Supporting Types
ExpressRouteCircuitSku, ExpressRouteCircuitSkuArgs        
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.