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

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

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

Gets all the Virtual Routers in a subscription.

## Parameters

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

## Response `200`

Success. The operation returns a list of Virtual Router resources.

- VirtualRouterListResult — Response for ListVirtualRouters API service call.
  - `value` VirtualRouter[] — List of Virtual Routers. — unresolved $ref
  - `nextLink` string — URL to get the next set of results.

## Other responses

- `default` — Error response describing why the operation failed.

---

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