Azure ExpressRoute Express Route Cross Connection Peerings API
The ExpressRouteCrossConnectionPeerings API from Azure ExpressRoute — 2 operation(s) for expressroutecrossconnectionpeerings.
The ExpressRouteCrossConnectionPeerings API from Azure ExpressRoute — 2 operation(s) for expressroutecrossconnectionpeerings.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/microsoft-azure-express-route:microsoft-azure-express-route-expressroutecrossconnectionpeerings-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Microsoft Azure Express Route Express Route Cross…
version: '2026-03-01'
x-refined-note:
- x-source differs across the merged source definitions and was not carried
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
description: 'Operations tagged ExpressRouteCrossConnectionPeerings across 2 of this provider''s published API definitions: microsoft-azure-express-route-expressroute-swagger.json, microsoft-azure-express-route-expressroute-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ExpressRouteCrossConnectionPeerings
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings
: get:
operationId: ExpressRouteCrossConnectionPeerings_List
tags:
- ExpressRouteCrossConnectionPeerings
description: Gets all peerings in a specified ExpressRouteCrossConnection.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: crossConnectionName
in: path
description: The name of the ExpressRouteCrossConnection (service key of the circuit).
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeeringList'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
ExpressRouteCrossConnectionBgpPeeringList:
$ref: ./examples/ExpressRouteCrossConnectionBgpPeeringList.json
x-ms-pageable:
nextLinkName: nextLink
summary: Express route cross connection peerings list
x-summary-source: derived
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}
: get:
operationId: ExpressRouteCrossConnectionPeerings_Get
tags:
- ExpressRouteCrossConnectionPeerings
description: Gets the specified peering for the ExpressRouteCrossConnection.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: crossConnectionName
in: path
description: Name for the express route cross connection.
required: true
schema:
type: string
- name: peeringName
in: path
description: The name of the peering.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeering'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
GetExpressRouteCrossConnectionBgpPeering:
$ref: ./examples/ExpressRouteCrossConnectionBgpPeeringGet.json
summary: Express route cross connection peerings get
x-summary-source: derived
put:
operationId: ExpressRouteCrossConnectionPeerings_CreateOrUpdate
tags:
- ExpressRouteCrossConnectionPeerings
description: Creates or updates a peering in the specified ExpressRouteCrossConnection.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: crossConnectionName
in: path
description: Name for the express route cross connection.
required: true
schema:
type: string
- name: peeringName
in: path
description: The name of the peering.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeering'
'201':
description: Resource 'ExpressRouteCrossConnectionPeering' create operation succeeded
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeering'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
ExpressRouteCrossConnectionBgpPeeringCreate:
$ref: ./examples/ExpressRouteCrossConnectionBgpPeeringCreate.json
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/ExpressRouteCrossConnectionPeering'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeering'
description: Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.
required: true
summary: Express route cross connection peerings create or update
x-summary-source: derived
delete:
operationId: ExpressRouteCrossConnectionPeerings_Delete
tags:
- ExpressRouteCrossConnectionPeerings
description: Deletes the specified peering from the ExpressRouteCrossConnection.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: crossConnectionName
in: path
description: Name for the express route cross connection.
required: true
schema:
type: string
- name: peeringName
in: path
description: The name of the peering.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
'202':
description: Resource operation accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
'204':
description: There is no content to send for this request, but the headers may be useful.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
DeleteExpressRouteCrossConnectionBgpPeering:
$ref: ./examples/ExpressRouteCrossConnectionBgpPeeringDelete.json
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Express route cross connection peerings delete
x-summary-source: derived
servers:
- url: https://management.azure.com
components:
schemas:
Ipv6ExpressRouteCircuitPeeringConfig:
type: object
description: Contains IPv6 peering config.
properties:
primaryPeerAddressPrefix:
type: string
description: The primary address prefix.
secondaryPeerAddressPrefix:
type: string
description: The secondary address prefix.
microsoftPeeringConfig:
$ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
description: The Microsoft peering configuration.
routeFilter:
$ref: ./common.json#/definitions/SubResource
description: The reference to the RouteFilter resource.
state:
$ref: ./common.json#/definitions/ExpressRouteCircuitPeeringState
description: The state of peering.
ExpressRouteCircuitPeeringConfig:
type: object
description: Specifies the peering configuration.
properties:
advertisedPublicPrefixes:
type: array
description: The reference to AdvertisedPublicPrefixes.
items:
type: string
advertisedCommunities:
type: array
description: The communities of bgp peering. Specified for microsoft peering.
items:
type: string
advertisedPublicPrefixesState:
$ref: ./common.json#/definitions/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
description: The advertised public prefix state of the Peering resource.
readOnly: true
legacyMode:
type: integer
format: int32
description: The legacy mode of the peering.
customerASN:
type: integer
format: int32
description: The CustomerASN of the peering.
routingRegistryName:
type: string
description: The RoutingRegistryName of the configuration.
advertisedPublicPrefixInfo:
type: array
description: List of Prefix information required to perform validation.
items:
$ref: '#/components/schemas/AdvertisedPublicPrefixProperties'
x-ms-identifiers: []
ExpressRouteCrossConnectionPeeringList:
type: object
description: Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.
properties:
value:
type: array
description: The ExpressRouteCrossConnectionPeering items on this page
items:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeering'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
AdvertisedPublicPrefixProperties:
type: object
description: Prefix properties required to perform validation using openssl signature.
properties:
prefix:
type: string
description: Advertised Public Prefix.
validationId:
type: string
description: Validation string that contains circuit peering info.
signature:
type: string
description: Signed string generated by encrypting validationId with a private key.
validationState:
$ref: ./common.json#/definitions/AdvertisedPublicPrefixPropertiesValidationState
description: Advertised Public Prefix State that denotes if the prefix is validated or not.
readOnly: true
ExpressRouteCrossConnectionPeeringProperties:
type: object
description: Properties of express route cross connection peering.
properties:
peeringType:
$ref: ./common.json#/definitions/ExpressRoutePeeringType
description: The peering type.
state:
$ref: ./common.json#/definitions/ExpressRoutePeeringState
description: The peering state.
azureASN:
type: integer
format: int32
description: The Azure ASN.
readOnly: true
peerASN:
type: integer
format: int64
description: The peer ASN.
minimum: 1
maximum: 4294967295
primaryPeerAddressPrefix:
type: string
description: The primary address prefix.
secondaryPeerAddressPrefix:
type: string
description: The secondary address prefix.
primaryAzurePort:
type: string
description: The primary port.
readOnly: true
secondaryAzurePort:
type: string
description: The secondary port.
readOnly: true
sharedKey:
type: string
description: The shared key.
vlanId:
type: integer
format: int32
description: The VLAN ID.
microsoftPeeringConfig:
$ref: '#/components/schemas/ExpressRouteCircuitPeeringConfig'
description: The Microsoft peering configuration.
provisioningState:
$ref: ./common.json#/definitions/ProvisioningState
description: The provisioning state of the express route cross connection peering resource.
readOnly: true
gatewayManagerEtag:
type: string
description: The GatewayManager Etag.
lastModifiedBy:
type: string
description: Who was the last to modify the peering.
readOnly: true
ipv6PeeringConfig:
$ref: '#/components/schemas/Ipv6ExpressRouteCircuitPeeringConfig'
description: The IPv6 peering configuration.
ExpressRouteCrossConnectionPeering:
type: object
description: Peering in an ExpressRoute Cross Connection resource.
properties:
properties:
$ref: '#/components/schemas/ExpressRouteCrossConnectionPeeringProperties'
description: Properties of the express route cross connection peering.
x-ms-client-flatten: true
name:
type: string
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
etag:
type: string
description: A unique read-only string that changes whenever the resource is updated.
readOnly: true
allOf:
- $ref: ./common.json#/definitions/SubResource
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow.
x-refined-from:
- microsoft-azure-express-route-expressroute-swagger.json
- microsoft-azure-express-route-expressroute-openapi.json