azure-native.network.getExpressRouteConnection
Explore with Pulumi AI
Gets the specified ExpressRouteConnection.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
Using getExpressRouteConnection
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExpressRouteConnection(args: GetExpressRouteConnectionArgs, opts?: InvokeOptions): Promise<GetExpressRouteConnectionResult>
function getExpressRouteConnectionOutput(args: GetExpressRouteConnectionOutputArgs, opts?: InvokeOptions): Output<GetExpressRouteConnectionResult>def get_express_route_connection(connection_name: Optional[str] = None,
                                 express_route_gateway_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetExpressRouteConnectionResult
def get_express_route_connection_output(connection_name: Optional[pulumi.Input[str]] = None,
                                 express_route_gateway_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetExpressRouteConnectionResult]func LookupExpressRouteConnection(ctx *Context, args *LookupExpressRouteConnectionArgs, opts ...InvokeOption) (*LookupExpressRouteConnectionResult, error)
func LookupExpressRouteConnectionOutput(ctx *Context, args *LookupExpressRouteConnectionOutputArgs, opts ...InvokeOption) LookupExpressRouteConnectionResultOutput> Note: This function is named LookupExpressRouteConnection in the Go SDK.
public static class GetExpressRouteConnection 
{
    public static Task<GetExpressRouteConnectionResult> InvokeAsync(GetExpressRouteConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetExpressRouteConnectionResult> Invoke(GetExpressRouteConnectionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExpressRouteConnectionResult> getExpressRouteConnection(GetExpressRouteConnectionArgs args, InvokeOptions options)
public static Output<GetExpressRouteConnectionResult> getExpressRouteConnection(GetExpressRouteConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getExpressRouteConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Connection
Name string - The name of the ExpressRoute connection.
 - Express
Route stringGateway Name  - The name of the ExpressRoute gateway.
 - Resource
Group stringName  - The name of the resource group.
 
- Connection
Name string - The name of the ExpressRoute connection.
 - Express
Route stringGateway Name  - The name of the ExpressRoute gateway.
 - Resource
Group stringName  - The name of the resource group.
 
- connection
Name String - The name of the ExpressRoute connection.
 - express
Route StringGateway Name  - The name of the ExpressRoute gateway.
 - resource
Group StringName  - The name of the resource group.
 
- connection
Name string - The name of the ExpressRoute connection.
 - express
Route stringGateway Name  - The name of the ExpressRoute gateway.
 - resource
Group stringName  - The name of the resource group.
 
- connection_
name str - The name of the ExpressRoute connection.
 - express_
route_ strgateway_ name  - The name of the ExpressRoute gateway.
 - resource_
group_ strname  - The name of the resource group.
 
- connection
Name String - The name of the ExpressRoute connection.
 - express
Route StringGateway Name  - The name of the ExpressRoute gateway.
 - resource
Group StringName  - The name of the resource group.
 
getExpressRouteConnection Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Express
Route Pulumi.Circuit Peering Azure Native. Network. Outputs. Express Route Circuit Peering Id Response  - The ExpressRoute circuit peering.
 - Name string
 - The name of the resource.
 - Provisioning
State string - The provisioning state of the express route connection resource.
 - string
 - Authorization key to establish the connection.
 - Enable
Internet boolSecurity  - Enable internet security.
 - Enable
Private boolLink Fast Path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - Express
Route boolGateway Bypass  - Enable FastPath to vWan Firewall hub.
 - Id string
 - Resource ID.
 - Routing
Configuration Pulumi.Azure Native. Network. Outputs. Routing Configuration Response  - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - Routing
Weight int - The routing weight associated to the connection.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Express
Route ExpressCircuit Peering Route Circuit Peering Id Response  - The ExpressRoute circuit peering.
 - Name string
 - The name of the resource.
 - Provisioning
State string - The provisioning state of the express route connection resource.
 - string
 - Authorization key to establish the connection.
 - Enable
Internet boolSecurity  - Enable internet security.
 - Enable
Private boolLink Fast Path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - Express
Route boolGateway Bypass  - Enable FastPath to vWan Firewall hub.
 - Id string
 - Resource ID.
 - Routing
Configuration RoutingConfiguration Response  - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - Routing
Weight int - The routing weight associated to the connection.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - express
Route ExpressCircuit Peering Route Circuit Peering Id Response  - The ExpressRoute circuit peering.
 - name String
 - The name of the resource.
 - provisioning
State String - The provisioning state of the express route connection resource.
 - String
 - Authorization key to establish the connection.
 - enable
Internet BooleanSecurity  - Enable internet security.
 - enable
Private BooleanLink Fast Path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - express
Route BooleanGateway Bypass  - Enable FastPath to vWan Firewall hub.
 - id String
 - Resource ID.
 - routing
Configuration RoutingConfiguration Response  - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - routing
Weight Integer - The routing weight associated to the connection.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - express
Route ExpressCircuit Peering Route Circuit Peering Id Response  - The ExpressRoute circuit peering.
 - name string
 - The name of the resource.
 - provisioning
State string - The provisioning state of the express route connection resource.
 - string
 - Authorization key to establish the connection.
 - enable
Internet booleanSecurity  - Enable internet security.
 - enable
Private booleanLink Fast Path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - express
Route booleanGateway Bypass  - Enable FastPath to vWan Firewall hub.
 - id string
 - Resource ID.
 - routing
Configuration RoutingConfiguration Response  - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - routing
Weight number - The routing weight associated to the connection.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - express_
route_ Expresscircuit_ peering Route Circuit Peering Id Response  - The ExpressRoute circuit peering.
 - name str
 - The name of the resource.
 - provisioning_
state str - The provisioning state of the express route connection resource.
 - str
 - Authorization key to establish the connection.
 - enable_
internet_ boolsecurity  - Enable internet security.
 - enable_
private_ boollink_ fast_ path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - express_
route_ boolgateway_ bypass  - Enable FastPath to vWan Firewall hub.
 - id str
 - Resource ID.
 - routing_
configuration RoutingConfiguration Response  - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - routing_
weight int - The routing weight associated to the connection.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - express
Route Property MapCircuit Peering  - The ExpressRoute circuit peering.
 - name String
 - The name of the resource.
 - provisioning
State String - The provisioning state of the express route connection resource.
 - String
 - Authorization key to establish the connection.
 - enable
Internet BooleanSecurity  - Enable internet security.
 - enable
Private BooleanLink Fast Path  - Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled.
 - express
Route BooleanGateway Bypass  - Enable FastPath to vWan Firewall hub.
 - id String
 - Resource ID.
 - routing
Configuration Property Map - The Routing Configuration indicating the associated and propagated route tables on this connection.
 - routing
Weight Number - The routing weight associated to the connection.
 
Supporting Types
ExpressRouteCircuitPeeringIdResponse     
- Id string
 - The ID of the ExpressRoute circuit peering.
 
- Id string
 - The ID of the ExpressRoute circuit peering.
 
- id String
 - The ID of the ExpressRoute circuit peering.
 
- id string
 - The ID of the ExpressRoute circuit peering.
 
- id str
 - The ID of the ExpressRoute circuit peering.
 
- id String
 - The ID of the ExpressRoute circuit peering.
 
PropagatedRouteTableResponse   
- Ids
List<Pulumi.
Azure Native. Network. Inputs. Sub Resource Response>  - The list of resource ids of all the RouteTables.
 - Labels List<string>
 - The list of labels.
 
- Ids
[]Sub
Resource Response  - The list of resource ids of all the RouteTables.
 - Labels []string
 - The list of labels.
 
- ids
List<Sub
Resource Response>  - The list of resource ids of all the RouteTables.
 - labels List<String>
 - The list of labels.
 
- ids
Sub
Resource Response[]  - The list of resource ids of all the RouteTables.
 - labels string[]
 - The list of labels.
 
- ids
Sequence[Sub
Resource Response]  - The list of resource ids of all the RouteTables.
 - labels Sequence[str]
 - The list of labels.
 
- ids List<Property Map>
 - The list of resource ids of all the RouteTables.
 - labels List<String>
 - The list of labels.
 
RoutingConfigurationResponse  
- Associated
Route Pulumi.Table Azure Native. Network. Inputs. Sub Resource Response  - The resource id RouteTable associated with this RoutingConfiguration.
 - Inbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - Outbound
Route Pulumi.Map Azure Native. Network. Inputs. Sub Resource Response  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - Propagated
Route Pulumi.Tables Azure Native. Network. Inputs. Propagated Route Table Response  - The list of RouteTables to advertise the routes to.
 - Vnet
Routes Pulumi.Azure Native. Network. Inputs. Vnet Route Response  - List of routes that control routing from VirtualHub into a virtual network connection.
 
- Associated
Route SubTable Resource Response  - The resource id RouteTable associated with this RoutingConfiguration.
 - Inbound
Route SubMap Resource Response  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - Outbound
Route SubMap Resource Response  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - Propagated
Route PropagatedTables Route Table Response  - The list of RouteTables to advertise the routes to.
 - Vnet
Routes VnetRoute Response  - List of routes that control routing from VirtualHub into a virtual network connection.
 
- associated
Route SubTable Resource Response  - The resource id RouteTable associated with this RoutingConfiguration.
 - inbound
Route SubMap Resource Response  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - outbound
Route SubMap Resource Response  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - propagated
Route PropagatedTables Route Table Response  - The list of RouteTables to advertise the routes to.
 - vnet
Routes VnetRoute Response  - List of routes that control routing from VirtualHub into a virtual network connection.
 
- associated
Route SubTable Resource Response  - The resource id RouteTable associated with this RoutingConfiguration.
 - inbound
Route SubMap Resource Response  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - outbound
Route SubMap Resource Response  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - propagated
Route PropagatedTables Route Table Response  - The list of RouteTables to advertise the routes to.
 - vnet
Routes VnetRoute Response  - List of routes that control routing from VirtualHub into a virtual network connection.
 
- associated_
route_ Subtable Resource Response  - The resource id RouteTable associated with this RoutingConfiguration.
 - inbound_
route_ Submap Resource Response  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - outbound_
route_ Submap Resource Response  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - propagated_
route_ Propagatedtables Route Table Response  - The list of RouteTables to advertise the routes to.
 - vnet_
routes VnetRoute Response  - List of routes that control routing from VirtualHub into a virtual network connection.
 
- associated
Route Property MapTable  - The resource id RouteTable associated with this RoutingConfiguration.
 - inbound
Route Property MapMap  - The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes.
 - outbound
Route Property MapMap  - The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes.
 - propagated
Route Property MapTables  - The list of RouteTables to advertise the routes to.
 - vnet
Routes Property Map - List of routes that control routing from VirtualHub into a virtual network connection.
 
StaticRouteResponse  
- Address
Prefixes List<string> - List of all address prefixes.
 - Name string
 - The name of the StaticRoute that is unique within a VnetRoute.
 - Next
Hop stringIp Address  - The ip address of the next hop.
 
- Address
Prefixes []string - List of all address prefixes.
 - Name string
 - The name of the StaticRoute that is unique within a VnetRoute.
 - Next
Hop stringIp Address  - The ip address of the next hop.
 
- address
Prefixes List<String> - List of all address prefixes.
 - name String
 - The name of the StaticRoute that is unique within a VnetRoute.
 - next
Hop StringIp Address  - The ip address of the next hop.
 
- address
Prefixes string[] - List of all address prefixes.
 - name string
 - The name of the StaticRoute that is unique within a VnetRoute.
 - next
Hop stringIp Address  - The ip address of the next hop.
 
- address_
prefixes Sequence[str] - List of all address prefixes.
 - name str
 - The name of the StaticRoute that is unique within a VnetRoute.
 - next_
hop_ strip_ address  - The ip address of the next hop.
 
- address
Prefixes List<String> - List of all address prefixes.
 - name String
 - The name of the StaticRoute that is unique within a VnetRoute.
 - next
Hop StringIp Address  - The ip address of the next hop.
 
StaticRoutesConfigResponse   
- Propagate
Static boolRoutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - Vnet
Local stringRoute Override Criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
- Propagate
Static boolRoutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - Vnet
Local stringRoute Override Criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
- propagate
Static BooleanRoutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - vnet
Local StringRoute Override Criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
- propagate
Static booleanRoutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - vnet
Local stringRoute Override Criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
- propagate_
static_ boolroutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - vnet_
local_ strroute_ override_ criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
- propagate
Static BooleanRoutes  - Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.
 - vnet
Local StringRoute Override Criteria  - Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke.
 
SubResourceResponse  
- Id string
 - Resource ID.
 
- Id string
 - Resource ID.
 
- id String
 - Resource ID.
 
- id string
 - Resource ID.
 
- id str
 - Resource ID.
 
- id String
 - Resource ID.
 
VnetRouteResponse  
- Bgp
Connections List<Pulumi.Azure Native. Network. Inputs. Sub Resource Response>  - The list of references to HubBgpConnection objects.
 - Static
Routes List<Pulumi.Azure Native. Network. Inputs. Static Route Response>  - List of all Static Routes.
 - Static
Routes Pulumi.Config Azure Native. Network. Inputs. Static Routes Config Response  - Configuration for static routes on this HubVnetConnection.
 
- Bgp
Connections []SubResource Response  - The list of references to HubBgpConnection objects.
 - Static
Routes []StaticRoute Response  - List of all Static Routes.
 - Static
Routes StaticConfig Routes Config Response  - Configuration for static routes on this HubVnetConnection.
 
- bgp
Connections List<SubResource Response>  - The list of references to HubBgpConnection objects.
 - static
Routes List<StaticRoute Response>  - List of all Static Routes.
 - static
Routes StaticConfig Routes Config Response  - Configuration for static routes on this HubVnetConnection.
 
- bgp
Connections SubResource Response[]  - The list of references to HubBgpConnection objects.
 - static
Routes StaticRoute Response[]  - List of all Static Routes.
 - static
Routes StaticConfig Routes Config Response  - Configuration for static routes on this HubVnetConnection.
 
- bgp_
connections Sequence[SubResource Response]  - The list of references to HubBgpConnection objects.
 - static_
routes Sequence[StaticRoute Response]  - List of all Static Routes.
 - static_
routes_ Staticconfig Routes Config Response  - Configuration for static routes on this HubVnetConnection.
 
- bgp
Connections List<Property Map> - The list of references to HubBgpConnection objects.
 - static
Routes List<Property Map> - List of all Static Routes.
 - static
Routes Property MapConfig  - Configuration for static routes on this HubVnetConnection.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0