---
title: "Gets a list of database instances in the migrate project."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances"
tags: ["DatabaseInstancesController"]
---

# Gets a list of database instances in the migrate project.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances`

## Path parameters

- `migrateProjectName` string, required

## Query parameters

- `continuationToken` string
- `pageSize` integer

## Parameters

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

## Response `200`

OK

- DatabaseInstanceCollection — Collection of database instances.
  - `value` DatabaseInstance[] — Gets or sets the database instances.
    - `id` string — Gets or sets the relative URL to get to this REST resource.
    - `name` string — Gets or sets the name of this REST resource.
    - `type` string — Gets the type of this REST resource.
    - `properties` DatabaseInstanceProperties — Properties of the database instance resource.
      - `discoveryData` DatabaseInstanceDiscoveryDetails[] — Gets or sets the assessment details of the database instance published by various sources.
        - `lastUpdatedTime` string, date-time — Gets or sets the time of the last modification of the database instance details.
        - `id` string — Gets the relative URL to get to this DatabaseInstanceDiscoveryDetails resource.
        - `instanceId` string — Gets or sets the database instance Id.
        - `enqueueTime` string — Gets or sets the time the message was enqueued.
        - `solutionName` string — Gets or sets the name of the solution that sent the data.
        - `instanceName` string — Gets or sets the database instance name.
        - `instanceVersion` string — Gets or sets the database instance version.
        - `instanceType` string — Gets or sets the database instance type.
        - `hostName` string — Gets or sets the host name of the database server.
        - `ipAddress` string — Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.
        - `portNumber` integer — Gets or sets the port number of the database server.
        - `extendedInfo` object — Gets or sets the extended properties of the database server.
      - `summary` object — Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.
      - `lastUpdatedTime` string, date-time — Gets or sets the time of the last modification of the database.
  - `nextLink` string — Gets or sets the value of nextLink.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-05-01) `b293e7448c7d` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/migrate-microsoft-migrate-migrateprojects/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Migrate/migrateProjects/:migrateProjectName/databaseInstances/get.md)

---

[API](https://skmtc.dev/azure/apis/migrate-microsoft-migrate-migrateprojects.md) · [All operations](https://skmtc.dev/azure/apis/migrate-microsoft-migrate-migrateprojects/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/migrate-microsoft-migrate-migrateprojects/revisions/b293e7448c7d/schema)
