azure-native-v2.network.ExpressRouteCircuitConnection
Explore with Pulumi AI
Express Route Circuit Connection in an ExpressRouteCircuitPeering 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.
Create ExpressRouteCircuitConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ExpressRouteCircuitConnection(name: string, args: ExpressRouteCircuitConnectionArgs, opts?: CustomResourceOptions);
@overload
def ExpressRouteCircuitConnection(resource_name: str,
args: ExpressRouteCircuitConnectionInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ExpressRouteCircuitConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
circuit_name: Optional[str] = None,
peering_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
address_prefix: Optional[str] = None,
authorization_key: Optional[str] = None,
connection_name: Optional[str] = None,
express_route_circuit_peering: Optional[SubResourceArgs] = None,
id: Optional[str] = None,
ipv6_circuit_connection_config: Optional[Ipv6CircuitConnectionConfigArgs] = None,
name: Optional[str] = None,
peer_express_route_circuit_peering: Optional[SubResourceArgs] = None)
func NewExpressRouteCircuitConnection(ctx *Context, name string, args ExpressRouteCircuitConnectionArgs, opts ...ResourceOption) (*ExpressRouteCircuitConnection, error)
public ExpressRouteCircuitConnection(string name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions? opts = null)
public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args)
public ExpressRouteCircuitConnection(String name, ExpressRouteCircuitConnectionArgs args, CustomResourceOptions options)
type: azure-native:network:ExpressRouteCircuitConnection
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. ExpressRouteCircuitConnectionArgs - 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. ExpressRouteCircuitConnectionInitArgs - 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. ExpressRouteCircuitConnectionArgs - 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. ExpressRouteCircuitConnectionArgs - 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. ExpressRouteCircuitConnectionArgs - 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 expressRouteCircuitConnectionResource = new AzureNative.Network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", new()
{
CircuitName = "string",
PeeringName = "string",
ResourceGroupName = "string",
AddressPrefix = "string",
AuthorizationKey = "string",
ConnectionName = "string",
ExpressRouteCircuitPeering =
{
{ "id", "string" },
},
Id = "string",
Ipv6CircuitConnectionConfig =
{
{ "addressPrefix", "string" },
},
Name = "string",
PeerExpressRouteCircuitPeering =
{
{ "id", "string" },
},
});
example, err := network.NewExpressRouteCircuitConnection(ctx, "expressRouteCircuitConnectionResource", &network.ExpressRouteCircuitConnectionArgs{
CircuitName: "string",
PeeringName: "string",
ResourceGroupName: "string",
AddressPrefix: "string",
AuthorizationKey: "string",
ConnectionName: "string",
ExpressRouteCircuitPeering: map[string]interface{}{
"id": "string",
},
Id: "string",
Ipv6CircuitConnectionConfig: map[string]interface{}{
"addressPrefix": "string",
},
Name: "string",
PeerExpressRouteCircuitPeering: map[string]interface{}{
"id": "string",
},
})
var expressRouteCircuitConnectionResource = new ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", ExpressRouteCircuitConnectionArgs.builder()
.circuitName("string")
.peeringName("string")
.resourceGroupName("string")
.addressPrefix("string")
.authorizationKey("string")
.connectionName("string")
.expressRouteCircuitPeering(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.id("string")
.ipv6CircuitConnectionConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.name("string")
.peerExpressRouteCircuitPeering(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
express_route_circuit_connection_resource = azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource",
circuit_name=string,
peering_name=string,
resource_group_name=string,
address_prefix=string,
authorization_key=string,
connection_name=string,
express_route_circuit_peering={
id: string,
},
id=string,
ipv6_circuit_connection_config={
addressPrefix: string,
},
name=string,
peer_express_route_circuit_peering={
id: string,
})
const expressRouteCircuitConnectionResource = new azure_native.network.ExpressRouteCircuitConnection("expressRouteCircuitConnectionResource", {
circuitName: "string",
peeringName: "string",
resourceGroupName: "string",
addressPrefix: "string",
authorizationKey: "string",
connectionName: "string",
expressRouteCircuitPeering: {
id: "string",
},
id: "string",
ipv6CircuitConnectionConfig: {
addressPrefix: "string",
},
name: "string",
peerExpressRouteCircuitPeering: {
id: "string",
},
});
type: azure-native:network:ExpressRouteCircuitConnection
properties:
addressPrefix: string
authorizationKey: string
circuitName: string
connectionName: string
expressRouteCircuitPeering:
id: string
id: string
ipv6CircuitConnectionConfig:
addressPrefix: string
name: string
peerExpressRouteCircuitPeering:
id: string
peeringName: string
resourceGroupName: string
ExpressRouteCircuitConnection 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 ExpressRouteCircuitConnection resource accepts the following input properties:
- Circuit
Name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- Peering
Name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Address
Prefix string - /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- Connection
Name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- Express
Route Pulumi.Circuit Peering Azure Native. Network. Inputs. Sub Resource - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- Id string
- Resource ID.
- Ipv6Circuit
Connection Pulumi.Config Azure Native. Network. Inputs. Ipv6Circuit Connection Config - IPv6 Address PrefixProperties of the express route circuit connection.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Peer
Express Pulumi.Route Circuit Peering Azure Native. Network. Inputs. Sub Resource - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- Circuit
Name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- Peering
Name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- Address
Prefix string - /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- Connection
Name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- Express
Route SubCircuit Peering Resource Args - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- Id string
- Resource ID.
- Ipv6Circuit
Connection Ipv6CircuitConfig Connection Config Args - IPv6 Address PrefixProperties of the express route circuit connection.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Peer
Express SubRoute Circuit Peering Resource Args - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuit
Name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- peering
Name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix String - /29 IP address space to carve out Customer addresses for tunnels.
- String
- The authorization key.
- connection
Name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- express
Route SubCircuit Peering Resource - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id String
- Resource ID.
- ipv6Circuit
Connection Ipv6CircuitConfig Connection Config - IPv6 Address PrefixProperties of the express route circuit connection.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer
Express SubRoute Circuit Peering Resource - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuit
Name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- peering
Name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix string - /29 IP address space to carve out Customer addresses for tunnels.
- string
- The authorization key.
- connection
Name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- express
Route SubCircuit Peering Resource - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id string
- Resource ID.
- ipv6Circuit
Connection Ipv6CircuitConfig Connection Config - IPv6 Address PrefixProperties of the express route circuit connection.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer
Express SubRoute Circuit Peering Resource - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuit_
name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- peering_
name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address_
prefix str - /29 IP address space to carve out Customer addresses for tunnels.
- str
- The authorization key.
- connection_
name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- express_
route_ Subcircuit_ peering Resource Args - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id str
- Resource ID.
- ipv6_
circuit_ Ipv6Circuitconnection_ config Connection Config Args - IPv6 Address PrefixProperties of the express route circuit connection.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer_
express_ Subroute_ circuit_ peering Resource Args - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
- circuit
Name This property is required. Changes to this property will trigger replacement.
- The name of the express route circuit.
- peering
Name This property is required. Changes to this property will trigger replacement.
- The name of the peering.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group.
- address
Prefix String - /29 IP address space to carve out Customer addresses for tunnels.
- String
- The authorization key.
- connection
Name Changes to this property will trigger replacement.
- The name of the express route circuit connection.
- express
Route Property MapCircuit Peering - Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
- id String
- Resource ID.
- ipv6Circuit
Connection Property MapConfig - IPv6 Address PrefixProperties of the express route circuit connection.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer
Express Property MapRoute Circuit Peering - Reference to Express Route Circuit Private Peering Resource of the peered circuit.
Outputs
All input properties are implicitly available as output properties. Additionally, the ExpressRouteCircuitConnection resource produces the following output properties:
- Circuit
Connection stringStatus - Express Route Circuit connection state.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the express route circuit connection resource.
- Type string
- Type of the resource.
- Circuit
Connection stringStatus - Express Route Circuit connection state.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the express route circuit connection resource.
- Type string
- Type of the resource.
- circuit
Connection StringStatus - Express Route Circuit connection state.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the express route circuit connection resource.
- type String
- Type of the resource.
- circuit
Connection stringStatus - Express Route Circuit connection state.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the express route circuit connection resource.
- type string
- Type of the resource.
- circuit_
connection_ strstatus - Express Route Circuit connection state.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the express route circuit connection resource.
- type str
- Type of the resource.
- circuit
Connection StringStatus - Express Route Circuit connection state.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the express route circuit connection resource.
- type String
- Type of the resource.
Supporting Types
Ipv6CircuitConnectionConfig, Ipv6CircuitConnectionConfigArgs
- Address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- Address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- address
Prefix String - /125 IP address space to carve out customer addresses for global reach.
- address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- address_
prefix str - /125 IP address space to carve out customer addresses for global reach.
- address
Prefix String - /125 IP address space to carve out customer addresses for global reach.
Ipv6CircuitConnectionConfigResponse, Ipv6CircuitConnectionConfigResponseArgs
- Circuit
Connection Status This property is required. string - Express Route Circuit connection state.
- Address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- Circuit
Connection Status This property is required. string - Express Route Circuit connection state.
- Address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- circuit
Connection Status This property is required. String - Express Route Circuit connection state.
- address
Prefix String - /125 IP address space to carve out customer addresses for global reach.
- circuit
Connection Status This property is required. string - Express Route Circuit connection state.
- address
Prefix string - /125 IP address space to carve out customer addresses for global reach.
- circuit_
connection_ status This property is required. str - Express Route Circuit connection state.
- address_
prefix str - /125 IP address space to carve out customer addresses for global reach.
- circuit
Connection Status This property is required. String - Express Route Circuit connection state.
- address
Prefix String - /125 IP address space to carve out customer addresses for global reach.
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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:ExpressRouteCircuitConnection circuitConnectionUSAUS /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0