Azure Networking Services Express Route Circuit Peerings API
The ExpressRouteCircuitPeerings API from Azure Networking Services — 2 operation(s) for expressroutecircuitpeerings.
The ExpressRouteCircuitPeerings API from Azure Networking Services — 2 operation(s) for expressroutecircuitpeerings.
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/azure-networking-services:azure-networking-services-expressroutecircuitpeerings-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: WebApplicationFirewallManagement Express Route Circuit…
version: '2026-03-01'
description: APIs to manage Microsoft Azure network resources.
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ExpressRouteCircuitPeerings
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings
: get:
operationId: ExpressRouteCircuitPeerings_List
tags:
- ExpressRouteCircuitPeerings
description: Gets all peerings in a specified express route circuit.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: circuitName
in: path
description: The name of express route circuit.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCircuitPeeringListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/CloudError'
x-ms-pageable:
nextLinkName: nextLink
summary: Express route circuit peerings list
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}
: get:
operationId: ExpressRouteCircuitPeerings_Get
tags:
- ExpressRouteCircuitPeerings
description: Gets the specified peering for the express route circuit.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: circuitName
in: path
description: The name of express route circuit.
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/ExpressRouteCircuitPeering'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/CloudError'
summary: Express route circuit peerings get
x-summary-source: derived
put:
operationId: ExpressRouteCircuitPeerings_CreateOrUpdate
tags:
- ExpressRouteCircuitPeerings
description: Creates or updates a peering in the specified express route circuits.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: circuitName
in: path
description: The name of express route circuit.
required: true
schema:
type: string
- name: peeringName
in: path
description: The name of the peering.
required: true
schema:
type: string
responses:
'200':
description: Resource 'ExpressRouteCircuitPeering' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCircuitPeering'
'201':
description: Resource 'ExpressRouteCircuitPeering' 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/ExpressRouteCircuitPeering'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/CloudError'
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/ExpressRouteCircuitPeering'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ExpressRouteCircuitPeering'
description: Parameters supplied to the create or update express route circuit peering operation.
required: true
summary: Express route circuit peerings create or update
x-summary-source: derived
delete:
operationId: ExpressRouteCircuitPeerings_Delete
tags:
- ExpressRouteCircuitPeerings
description: Deletes the specified peering from the specified express route circuit.
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ResourceGroupNameParameter'
- name: circuitName
in: path
description: The name of express route circuit.
required: true
schema:
type: string
- name: peeringName
in: path
description: The name of the peering.
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'202':
description: Resource deletion 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: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: '#/components/schemas/CloudError'
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Express route circuit peerings delete
x-summary-source: derived
components:
schemas:
SubResource:
type: object
description: Reference to another subresource.
properties:
id:
type: string
description: Resource ID.
PeerExpressRouteCircuitConnectionPropertiesFormat:
type: object
description: Properties of the peer express route circuit connection.
properties:
expressRouteCircuitPeering:
$ref: '#/components/schemas/SubResource'
description: Reference to Express Route Circuit Private Peering Resource of the circuit.
peerExpressRouteCircuitPeering:
$ref: '#/components/schemas/SubResource'
description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
addressPrefix:
type: string
description: /29 IP address space to carve out Customer addresses for tunnels.
circuitConnectionStatus:
$ref: '#/components/schemas/CircuitConnectionStatus'
description: Express Route Circuit connection state.
readOnly: true
connectionName:
type: string
description: The name of the express route circuit connection resource.
authResourceGuid:
type: string
description: The resource guid of the authorization used for the express route circuit connection.
provisioningState:
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the peer express route circuit connection resource.
readOnly: true
CloudError:
type: object
description: An error response from the service.
properties:
error:
$ref: '#/components/schemas/CloudErrorBody'
description: Cloud error body.
x-ms-external: true
ExpressRouteCircuitPeeringPropertiesFormat:
type: object
description: Properties of the express route circuit peering.
properties:
peeringType:
$ref: '#/components/schemas/ExpressRoutePeeringType'
description: The peering type.
state:
$ref: '#/components/schemas/ExpressRoutePeeringState'
description: The peering state.
azureASN:
type: integer
format: int32
description: The Azure ASN.
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.
secondaryAzurePort:
type: string
description: The secondary port.
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.
stats:
$ref: '#/components/schemas/ExpressRouteCircuitStats'
description: The peering stats of express route circuit.
provisioningState:
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the express route circuit 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
routeFilter:
$ref: '#/components/schemas/SubResource'
description: The reference to the RouteFilter resource.
ipv6PeeringConfig:
$ref: '#/components/schemas/Ipv6ExpressRouteCircuitPeeringConfig'
description: The IPv6 peering configuration.
expressRouteConnection:
$ref: '#/components/schemas/ExpressRouteConnectionId'
description: The ExpressRoute connection.
connections:
type: array
description: The list of circuit connections associated with Azure Private Peering for this circuit.
items:
$ref: '#/components/schemas/ExpressRouteCircuitConnection'
peeredConnections:
type: array
description: The list of peered circuit connections associated with Azure Private Peering for this circuit.
items:
$ref: '#/components/schemas/PeerExpressRouteCircuitConnection'
readOnly: true
ExpressRouteCircuitPeeringListResult:
type: object
description: The response of a ExpressRouteCircuitPeering list operation.
properties:
value:
type: array
description: The ExpressRouteCircuitPeering items on this page
items:
$ref: '#/components/schemas/ExpressRouteCircuitPeering'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
ExpressRouteCircuitPeering:
type: object
description: Peering in an ExpressRouteCircuit resource.
properties:
properties:
$ref: '#/components/schemas/ExpressRouteCircuitPeeringPropertiesFormat'
description: Properties of the express route circuit peering.
x-ms-client-flatten: true
etag:
type: string
description: A unique read-only string that changes whenever the resource is updated.
readOnly: true
allOf:
- $ref: '#/components/schemas/SubResourceModel'
ExpressRouteCircuitConnection:
type: object
description: Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
properties:
properties:
$ref: '#/components/schemas/ExpressRouteCircuitConnectionPropertiesFormat'
description: Properties of the express route circuit connection.
x-ms-client-flatten: true
etag:
type: string
description: A unique read-only string that changes whenever the resource is updated.
readOnly: true
allOf:
- $ref: '#/components/schemas/SubResourceModel'
AdvertisedPublicPrefixPropertiesValidationState:
type: string
description: Advertised Public Prefix State that denotes if the prefix is validated or not.
enum:
- NotConfigured
- Configuring
- Configured
- ValidationNeeded
- ValidationFailed
- ManualValidationNeeded
- AsnValidationFailed
- CertificateMissingInRoutingRegistry
- InvalidSignatureEncoding
- SignatureVerificationFailed
x-ms-enum:
name: AdvertisedPublicPrefixPropertiesValidationState
modelAsString: true
values:
- name: NotConfigured
value: NotConfigured
description: NotConfigured
- name: Configuring
value: Configuring
description: Configuring
- name: Configured
value: Configured
description: Configured
- name: ValidationNeeded
value: ValidationNeeded
description: ValidationNeeded
- name: ValidationFailed
value: ValidationFailed
description: ValidationFailed
- name: ManualValidationNeeded
value: ManualValidationNeeded
description: ManualValidationNeeded
- name: AsnValidationFailed
value: AsnValidationFailed
description: AsnValidationFailed
- name: CertificateMissingInRoutingRegistry
value: CertificateMissingInRoutingRegistry
description: CertificateMissingInRoutingRegistry
- name: InvalidSignatureEncoding
value: InvalidSignatureEncoding
description: InvalidSignatureEncoding
- name: SignatureVerificationFailed
value: SignatureVerificationFailed
description: SignatureVerificationFailed
ProvisioningState:
type: string
description: Provisioning states of a resource.
enum:
- Failed
- Succeeded
- Canceled
- Creating
- Updating
- Deleting
x-ms-enum:
name: ProvisioningState
modelAsString: true
values:
- name: Failed
value: Failed
description: Failed
- name: Succeeded
value: Succeeded
description: Succeeded
- name: Canceled
value: Canceled
description: Canceled
- name: Creating
value: Creating
description: Creating
- name: Updating
value: Updating
description: Updating
- name: Deleting
value: Deleting
description: Deleting
ExpressRoutePeeringType:
type: string
description: The peering type.
enum:
- AzurePublicPeering
- AzurePrivatePeering
- MicrosoftPeering
x-ms-enum:
name: ExpressRoutePeeringType
modelAsString: true
values:
- name: AzurePublicPeering
value: AzurePublicPeering
description: AzurePublicPeering
- name: AzurePrivatePeering
value: AzurePrivatePeering
description: AzurePrivatePeering
- name: MicrosoftPeering
value: MicrosoftPeering
description: MicrosoftPeering
ExpressRouteCircuitPeeringState:
type: string
description: The state of peering.
enum:
- Disabled
- Enabled
x-ms-enum:
name: ExpressRouteCircuitPeeringState
modelAsString: true
values:
- name: Disabled
value: Disabled
description: Disabled
- name: Enabled
value: Enabled
description: Enabled
SubResourceModel:
type: object
description: Reference to another subresource.
properties:
name:
type: string
description: Name of the resource.
type:
type: string
description: Resource type.
readOnly: true
allOf:
- $ref: '#/components/schemas/SubResource'
x-ms-azure-resource: true
ExpressRouteCircuitConnectionPropertiesFormat:
type: object
description: Properties of the express route circuit connection.
properties:
expressRouteCircuitPeering:
$ref: '#/components/schemas/SubResource'
description: Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.
peerExpressRouteCircuitPeering:
$ref: '#/components/schemas/SubResource'
description: Reference to Express Route Circuit Private Peering Resource of the peered circuit.
addressPrefix:
type: string
description: /29 IP address space to carve out Customer addresses for tunnels.
authorizationKey:
type: string
description: The authorization key.
ipv6CircuitConnectionConfig:
$ref: '#/components/schemas/Ipv6CircuitConnectionConfig'
description: IPv6 Address PrefixProperties of the express route circuit connection.
circuitConnectionStatus:
$ref: '#/components/schemas/CircuitConnectionStatus'
description: Express Route Circuit connection state.
readOnly: true
provisioningState:
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the express route circuit connection resource.
readOnly: true
ExpressRouteCircuitStats:
type: object
description: Contains stats associated with the peering.
properties:
primarybytesIn:
type: integer
format: int64
description: The Primary BytesIn of the peering.
primarybytesOut:
type: integer
format: int64
description: The primary BytesOut of the peering.
secondarybytesIn:
type: integer
format: int64
description: The secondary BytesIn of the peering.
secondarybytesOut:
type: integer
format: int64
description: The secondary BytesOut of the peering.
ExpressRouteCircuitPeeringAdvertisedPublicPrefixState:
type: string
description: The advertised public prefix state of the Peering resource.
enum:
- NotConfigured
- Configuring
- Configured
- ValidationNeeded
x-ms-enum:
name: ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
modelAsString: true
values:
- name: NotConfigured
value: NotConfigured
description: NotConfigured
- name: Configuring
value: Configuring
description: Configuring
- name: Configured
value: Configured
description: Configured
- name: ValidationNeeded
value: ValidationNeeded
description: ValidationNeeded
Ipv6CircuitConnectionConfig:
type: object
description: IPv6 Circuit Connection properties for global reach.
properties:
addressPrefix:
type: string
description: /125 IP address space to carve out customer addresses for global reach.
circuitConnectionStatus:
$ref: '#/components/schemas/CircuitConnectionStatus'
description: Express Route Circuit connection state.
readOnly: true
ExpressRouteConnectionId:
type: object
description: The ID of the ExpressRouteConnection.
properties:
id:
type: string
description: The ID of the ExpressRouteConnection.
readOnly: true
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: '#/components/schemas/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: []
ExpressRoutePeeringState:
type: string
description: The state of peering.
enum:
- Disabled
- Enabled
x-ms-enum:
name: ExpressRoutePeeringState
modelAsString: true
values:
- name: Disabled
value: Disabled
description: Disabled
- name: Enabled
value: Enabled
description: Enabled
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: '#/components/schemas/SubResource'
description: The reference to the RouteFilter resource.
state:
$ref: '#/components/schemas/ExpressRouteCircuitPeeringState'
description: The state of peering.
PeerExpressRouteCircuitConnection:
type: object
description: Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.
properties:
properties:
$ref: '#/components/schemas/PeerExpressRouteCircuitConnectionPropertiesFormat'
description: Properties of the peer express route circuit connection.
x-ms-client-flatten: true
etag:
type: string
description: A unique read-only string that changes whenever the resource is updated.
readOnly: true
allOf:
- $ref: '#/components/schemas/SubResourceModel'
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: '#/components/schemas/AdvertisedPublicPrefixPropertiesValidationState'
description: Advertised Public Prefix State that denotes if the prefix is validated or not.
readOnly: true
CircuitConnectionStatus:
type: string
description: Express Route Circuit connection state.
enum:
- Connected
- Connecting
- Disconnected
x-ms-enum:
name: CircuitConnectionStatus
modelAsString: true
values:
- name: Connected
value: Connected
description: Connected
- name: Connecting
value: Connecting
description: Connecting
- name: Disconnected
value: Disconnected
description: Disconnected
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
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.