This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getExpressRouteCrossConnectionPeering
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the specified peering for the ExpressRouteCrossConnection. Azure REST API version: 2023-02-01.
Other available API versions: 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Using getExpressRouteCrossConnectionPeering
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 getExpressRouteCrossConnectionPeering(args: GetExpressRouteCrossConnectionPeeringArgs, opts?: InvokeOptions): Promise<GetExpressRouteCrossConnectionPeeringResult>
function getExpressRouteCrossConnectionPeeringOutput(args: GetExpressRouteCrossConnectionPeeringOutputArgs, opts?: InvokeOptions): Output<GetExpressRouteCrossConnectionPeeringResult>def get_express_route_cross_connection_peering(cross_connection_name: Optional[str] = None,
                                               peering_name: Optional[str] = None,
                                               resource_group_name: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetExpressRouteCrossConnectionPeeringResult
def get_express_route_cross_connection_peering_output(cross_connection_name: Optional[pulumi.Input[str]] = None,
                                               peering_name: Optional[pulumi.Input[str]] = None,
                                               resource_group_name: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetExpressRouteCrossConnectionPeeringResult]func LookupExpressRouteCrossConnectionPeering(ctx *Context, args *LookupExpressRouteCrossConnectionPeeringArgs, opts ...InvokeOption) (*LookupExpressRouteCrossConnectionPeeringResult, error)
func LookupExpressRouteCrossConnectionPeeringOutput(ctx *Context, args *LookupExpressRouteCrossConnectionPeeringOutputArgs, opts ...InvokeOption) LookupExpressRouteCrossConnectionPeeringResultOutput> Note: This function is named LookupExpressRouteCrossConnectionPeering in the Go SDK.
public static class GetExpressRouteCrossConnectionPeering 
{
    public static Task<GetExpressRouteCrossConnectionPeeringResult> InvokeAsync(GetExpressRouteCrossConnectionPeeringArgs args, InvokeOptions? opts = null)
    public static Output<GetExpressRouteCrossConnectionPeeringResult> Invoke(GetExpressRouteCrossConnectionPeeringInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExpressRouteCrossConnectionPeeringResult> getExpressRouteCrossConnectionPeering(GetExpressRouteCrossConnectionPeeringArgs args, InvokeOptions options)
public static Output<GetExpressRouteCrossConnectionPeeringResult> getExpressRouteCrossConnectionPeering(GetExpressRouteCrossConnectionPeeringArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getExpressRouteCrossConnectionPeering
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CrossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- PeeringName string
- The name of the peering.
- ResourceGroup stringName 
- The name of the resource group.
- CrossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- PeeringName string
- The name of the peering.
- ResourceGroup stringName 
- The name of the resource group.
- crossConnection StringName 
- The name of the ExpressRouteCrossConnection.
- peeringName String
- The name of the peering.
- resourceGroup StringName 
- The name of the resource group.
- crossConnection stringName 
- The name of the ExpressRouteCrossConnection.
- peeringName string
- The name of the peering.
- resourceGroup stringName 
- The name of the resource group.
- cross_connection_ strname 
- The name of the ExpressRouteCrossConnection.
- peering_name str
- The name of the peering.
- resource_group_ strname 
- The name of the resource group.
- crossConnection StringName 
- The name of the ExpressRouteCrossConnection.
- peeringName String
- The name of the peering.
- resourceGroup StringName 
- The name of the resource group.
getExpressRouteCrossConnectionPeering Result
The following output properties are available:
- AzureASN int
- The Azure ASN.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- LastModified stringBy 
- Who was the last to modify the peering.
- PrimaryAzure stringPort 
- The primary port.
- ProvisioningState string
- The provisioning state of the express route cross connection peering resource.
- SecondaryAzure stringPort 
- The secondary port.
- GatewayManager stringEtag 
- The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6PeeringConfig Pulumi.Azure Native. Network. Outputs. Ipv6Express Route Circuit Peering Config Response 
- The IPv6 peering configuration.
- MicrosoftPeering Pulumi.Config Azure Native. Network. Outputs. Express Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerASN double
- The peer ASN.
- PeeringType string
- The peering type.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- State string
- The peering state.
- VlanId int
- The VLAN ID.
- AzureASN int
- The Azure ASN.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- LastModified stringBy 
- Who was the last to modify the peering.
- PrimaryAzure stringPort 
- The primary port.
- ProvisioningState string
- The provisioning state of the express route cross connection peering resource.
- SecondaryAzure stringPort 
- The secondary port.
- GatewayManager stringEtag 
- The GatewayManager Etag.
- Id string
- Resource ID.
- Ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config Response 
- The IPv6 peering configuration.
- MicrosoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- PeerASN float64
- The peer ASN.
- PeeringType string
- The peering type.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- State string
- The peering state.
- VlanId int
- The VLAN ID.
- azureASN Integer
- The Azure ASN.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- lastModified StringBy 
- Who was the last to modify the peering.
- primaryAzure StringPort 
- The primary port.
- provisioningState String
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure StringPort 
- The secondary port.
- gatewayManager StringEtag 
- The GatewayManager Etag.
- id String
- Resource ID.
- ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config Response 
- The IPv6 peering configuration.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN Double
- The peer ASN.
- peeringType String
- The peering type.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- String
- The shared key.
- state String
- The peering state.
- vlanId Integer
- The VLAN ID.
- azureASN number
- The Azure ASN.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- lastModified stringBy 
- Who was the last to modify the peering.
- primaryAzure stringPort 
- The primary port.
- provisioningState string
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure stringPort 
- The secondary port.
- gatewayManager stringEtag 
- The GatewayManager Etag.
- id string
- Resource ID.
- ipv6PeeringConfig Ipv6ExpressRoute Circuit Peering Config Response 
- The IPv6 peering configuration.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN number
- The peer ASN.
- peeringType string
- The peering type.
- primaryPeer stringAddress Prefix 
- The primary address prefix.
- secondaryPeer stringAddress Prefix 
- The secondary address prefix.
- string
- The shared key.
- state string
- The peering state.
- vlanId number
- The VLAN ID.
- azure_asn int
- The Azure ASN.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- last_modified_ strby 
- Who was the last to modify the peering.
- primary_azure_ strport 
- The primary port.
- provisioning_state str
- The provisioning state of the express route cross connection peering resource.
- secondary_azure_ strport 
- The secondary port.
- gateway_manager_ stretag 
- The GatewayManager Etag.
- id str
- Resource ID.
- ipv6_peering_ Ipv6Expressconfig Route Circuit Peering Config Response 
- The IPv6 peering configuration.
- microsoft_peering_ Expressconfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peer_asn float
- The peer ASN.
- peering_type str
- The peering type.
- primary_peer_ straddress_ prefix 
- The primary address prefix.
- secondary_peer_ straddress_ prefix 
- The secondary address prefix.
- str
- The shared key.
- state str
- The peering state.
- vlan_id int
- The VLAN ID.
- azureASN Number
- The Azure ASN.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- lastModified StringBy 
- Who was the last to modify the peering.
- primaryAzure StringPort 
- The primary port.
- provisioningState String
- The provisioning state of the express route cross connection peering resource.
- secondaryAzure StringPort 
- The secondary port.
- gatewayManager StringEtag 
- The GatewayManager Etag.
- id String
- Resource ID.
- ipv6PeeringConfig Property Map
- The IPv6 peering configuration.
- microsoftPeering Property MapConfig 
- The Microsoft peering configuration.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- peerASN Number
- The peer ASN.
- peeringType String
- The peering type.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- String
- The shared key.
- state String
- The peering state.
- vlanId Number
- The VLAN ID.
Supporting Types
ExpressRouteCircuitPeeringConfigResponse     
- AdvertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- AdvertisedCommunities List<string>
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic List<string>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- AdvertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- AdvertisedCommunities []string
- The communities of bgp peering. Specified for microsoft peering.
- AdvertisedPublic []stringPrefixes 
- The reference to AdvertisedPublicPrefixes.
- CustomerASN int
- The CustomerASN of the peering.
- LegacyMode int
- The legacy mode of the peering.
- RoutingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertisedPublic StringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Integer
- The CustomerASN of the peering.
- legacyMode Integer
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
- advertisedPublic stringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities string[]
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic string[]Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN number
- The CustomerASN of the peering.
- legacyMode number
- The legacy mode of the peering.
- routingRegistry stringName 
- The RoutingRegistryName of the configuration.
- advertised_public_ strprefixes_ state 
- The advertised public prefix state of the Peering resource.
- advertised_communities Sequence[str]
- The communities of bgp peering. Specified for microsoft peering.
- advertised_public_ Sequence[str]prefixes 
- The reference to AdvertisedPublicPrefixes.
- customer_asn int
- The CustomerASN of the peering.
- legacy_mode int
- The legacy mode of the peering.
- routing_registry_ strname 
- The RoutingRegistryName of the configuration.
- advertisedPublic StringPrefixes State 
- The advertised public prefix state of the Peering resource.
- advertisedCommunities List<String>
- The communities of bgp peering. Specified for microsoft peering.
- advertisedPublic List<String>Prefixes 
- The reference to AdvertisedPublicPrefixes.
- customerASN Number
- The CustomerASN of the peering.
- legacyMode Number
- The legacy mode of the peering.
- routingRegistry StringName 
- The RoutingRegistryName of the configuration.
Ipv6ExpressRouteCircuitPeeringConfigResponse     
- MicrosoftPeering Pulumi.Config Azure Native. Network. Inputs. Express Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter Pulumi.Azure Native. Network. Inputs. Sub Resource Response 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State string
- The state of peering.
- MicrosoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- PrimaryPeer stringAddress Prefix 
- The primary address prefix.
- RouteFilter SubResource Response 
- The reference to the RouteFilter resource.
- SecondaryPeer stringAddress Prefix 
- The secondary address prefix.
- State string
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource Response 
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state String
- The state of peering.
- microsoftPeering ExpressConfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primaryPeer stringAddress Prefix 
- The primary address prefix.
- routeFilter SubResource Response 
- The reference to the RouteFilter resource.
- secondaryPeer stringAddress Prefix 
- The secondary address prefix.
- state string
- The state of peering.
- microsoft_peering_ Expressconfig Route Circuit Peering Config Response 
- The Microsoft peering configuration.
- primary_peer_ straddress_ prefix 
- The primary address prefix.
- route_filter SubResource Response 
- The reference to the RouteFilter resource.
- secondary_peer_ straddress_ prefix 
- The secondary address prefix.
- state str
- The state of peering.
- microsoftPeering Property MapConfig 
- The Microsoft peering configuration.
- primaryPeer StringAddress Prefix 
- The primary address prefix.
- routeFilter Property Map
- The reference to the RouteFilter resource.
- secondaryPeer StringAddress Prefix 
- The secondary address prefix.
- state String
- The state of peering.
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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi