---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/l2Connections"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/l2Connections"
tags: ["L2 Connection"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/l2Connections

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Orbital/l2Connections`

Returns a list of L2 Connections attached to an orbital gateway.

## Query parameters

- `$skiptoken` string

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Response `200`

Request successful. The operation returns a list of L2 Connection resources.

- L2ConnectionListResult — Response for an API service call that lists L2 Connections.
  - `value` L2Connection[] — A list of L2 Connection resources. — unresolved $ref
  - `nextLink` string — The URL to get the next set of results.

## Other responses

- `default` — Error response describing why the operation failed. If the resource group does not exist, 404 (NotFound) will be returned.

---

[API](https://skmtc.net/azure/apis/orbital-microsoft-orbital-aodg.md) · [All operations](https://skmtc.net/azure/apis/orbital-microsoft-orbital-aodg/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/orbital-microsoft-orbital-aodg/revisions/8b0247e7d770/schema)
