---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances"
tags: ["ManagedInstances"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Sql/managedInstances`

Gets a list of all managed instances in the subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Successfully retrieved the list of managed instances.

- ManagedInstanceListResult — A list of managed instances.
  - `value` ManagedInstance[] — Array of results. — unresolved $ref
  - `nextLink` string — Link to retrieve next page of results.

## Other responses

- `default` — *** Error Responses: ***

---

[API](https://skmtc.dev/azure/apis/sqlmanagementclient-48.md) · [All operations](https://skmtc.dev/azure/apis/sqlmanagementclient-48/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/sqlmanagementclient-48/revisions/0511893cb6d2/schema)
