---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts"
tags: ["ExpressRoutePorts"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts`

List all the ExpressRoutePort resources in the specified subscription.

## Parameters

- `./network.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `./network.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Response `200`

Request successful. The operation returns a list of ExpressRoutePort resources. If there are no ExpressRoutePort resources then an empty list is returned.

- ExpressRoutePortListResult — Response for ListExpressRoutePorts API service call.
  - `value` ExpressRoutePort[] — A list of ExpressRoutePort resources. — unresolved $ref
  - `nextLink` string — The URL to get the next set of results.

---

[API](https://skmtc.dev/azure/apis/networkmanagementclient-15.md) · [All operations](https://skmtc.dev/azure/apis/networkmanagementclient-15/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/networkmanagementclient-15/revisions/4b69eb0e9c3d/schema)
