Express Route Circuit Connections - List

Gets all global reach connections associated with a private peering in an express route circuit.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections?api-version=2023-09-01

URI Parameters

Name In Required Type Description
circuitName
path True

string

The name of the circuit.

peeringName
path True

string

The name of the peering.

resourceGroupName
path True

string

The name of the resource group.

subscriptionId
path True

string

The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client API version.

Responses

Name Type Description
200 OK

ExpressRouteCircuitConnectionListResult

Request successful. The operation returns a list of ExpressRouteCircuitConnections resources.

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List ExpressRouteCircuit Connection

Sample Request

GET https://management.azure.com/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections?api-version=2023-09-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS",
      "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
      "name": "circuitConnectionUSAUS",
      "properties": {
        "expressRouteCircuitPeering": {
          "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
        },
        "peerExpressRouteCircuitPeering": {
          "id": "/subscriptions/subid2/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering"
        },
        "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a",
        "addressPrefix": "10.0.0.0/24",
        "circuitConnectionStatus": "Connected",
        "provisioningState": "Succeeded",
        "ipv6CircuitConnectionConfig": {
          "addressPrefix": "aa:bb::1/125",
          "circuitConnectionStatus": "Connected"
        }
      }
    },
    {
      "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR",
      "etag": "w/\\00000000-0000-0000-0000-000000000000\\",
      "name": "circuitConnectionUSEUR",
      "properties": {
        "expressRouteCircuitPeering": {
          "id": "/subscriptions/subid1/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering"
        },
        "peerExpressRouteCircuitPeering": {
          "id": "/subscriptions/subid1/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering"
        },
        "addressPrefix": "20.0.0.0/24",
        "circuitConnectionStatus": "Connected",
        "provisioningState": "Succeeded"
      }
    }
  ]
}

Definitions

Name Description
CircuitConnectionStatus

Express Route Circuit connection state.

CloudError

An error response from the service.

CloudErrorBody

An error response from the service.

ExpressRouteCircuitConnection

Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

ExpressRouteCircuitConnectionListResult

Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

Ipv6CircuitConnectionConfig

IPv6 Circuit Connection properties for global reach.

ProvisioningState

The current provisioning state.

SubResource

Reference to another subresource.

CircuitConnectionStatus

Express Route Circuit connection state.

Name Type Description
Connected

string

Connecting

string

Disconnected

string

CloudError

An error response from the service.

Name Type Description
error

CloudErrorBody

Cloud error body.

CloudErrorBody

An error response from the service.

Name Type Description
code

string

An identifier for the error. Codes are invariant and are intended to be consumed programmatically.

details

CloudErrorBody[]

A list of additional details about the error.

message

string

A message describing the error, intended to be suitable for display in a user interface.

target

string

The target of the particular error. For example, the name of the property in error.

ExpressRouteCircuitConnection

Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.

Name Type Description
etag

string

A unique read-only string that changes whenever the resource is updated.

id

string

Resource ID.

name

string

The name of the resource that is unique within a resource group. This name can be used to access the resource.

properties.addressPrefix

string

/29 IP address space to carve out Customer addresses for tunnels.

properties.authorizationKey

string

The authorization key.

properties.circuitConnectionStatus

CircuitConnectionStatus

Express Route Circuit connection state.

properties.expressRouteCircuitPeering

SubResource

Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection.

properties.ipv6CircuitConnectionConfig

Ipv6CircuitConnectionConfig

IPv6 Address PrefixProperties of the express route circuit connection.

properties.peerExpressRouteCircuitPeering

SubResource

Reference to Express Route Circuit Private Peering Resource of the peered circuit.

properties.provisioningState

ProvisioningState

The provisioning state of the express route circuit connection resource.

type

string

Type of the resource.

ExpressRouteCircuitConnectionListResult

Response for ListConnections API service call retrieves all global reach connections that belongs to a Private Peering for an ExpressRouteCircuit.

Name Type Description
nextLink

string

The URL to get the next set of results.

value

ExpressRouteCircuitConnection[]

The global reach connection associated with Private Peering in an ExpressRoute Circuit.

Ipv6CircuitConnectionConfig

IPv6 Circuit Connection properties for global reach.

Name Type Description
addressPrefix

string

/125 IP address space to carve out customer addresses for global reach.

circuitConnectionStatus

CircuitConnectionStatus

Express Route Circuit connection state.

ProvisioningState

The current provisioning state.

Name Type Description
Deleting

string

Failed

string

Succeeded

string

Updating

string

SubResource

Reference to another subresource.

Name Type Description
id

string

Resource ID.