Azure Migrate Databases Controller API

The DatabasesController API from Azure Migrate — 2 operation(s) for databasescontroller.

GitHub OpenAPI

Operations 2

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases Gets a list of databases in the migrate project #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName} Gets a database in the migrate project #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-migrate:microsoft-azure-migrate-databasescontroller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-migrate-databasescontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-01-01'
  title: Azure Migrate V2 Databases Controller API
  description: Migrate your workloads to Azure.
  contact:
    name: Microsoft
    email: azuremigratehub@microsoft.com
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DatabasesController
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases
  : get:
      tags:
      - DatabasesController
      summary: Gets a list of databases in the migrate project
      operationId: DatabasesController_ListDatabases
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/continuationToken'
      - $ref: '#/components/parameters/pageSize'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatabaseCollection'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: false
      x-ms-pageable:
        nextLinkName: nextLink
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databases/{databaseName}
  : get:
      tags:
      - DatabasesController
      summary: Gets a database in the migrate project
      operationId: DatabasesController_GetDatabase
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/parameters/databaseName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Database'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      deprecated: false
components:
  schemas:
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    DatabaseCollection:
      description: Collection of databases.
      type: object
      properties:
        value:
          description: Gets or sets the databases.
          type: array
          items:
            $ref: '#/components/schemas/Database'
        nextLink:
          description: Gets or sets the value of nextLink.
          type: string
    Database:
      description: Database REST resource.
      type: object
      properties:
        id:
          description: Gets or sets the relative URL to get to this REST resource.
          type: string
        name:
          description: Gets or sets the name of this REST resource.
          type: string
        type:
          description: Gets the type of this REST resource.
          type: string
          readOnly: true
        properties:
          $ref: '#/components/schemas/DatabaseProperties'
          description: Gets or sets the properties of the database.
    DatabaseProperties:
      description: Properties of the database resource.
      type: object
      properties:
        assessmentData:
          description: Gets or sets the assessment details of the database published by various sources.
          type: array
          items:
            $ref: '#/components/schemas/DatabaseAssessmentDetails'
          x-ms-identifiers:
          - assessmentId
        lastUpdatedTime:
          format: date-time
          description: Gets or sets the time of the last modification of the database.
          type: string
    DatabaseAssessmentDetails:
      description: Assessment properties that can be shared by various publishers.
      type: object
      properties:
        assessmentId:
          description: Gets or sets the database assessment scope/Id.
          type: string
        id:
          description: Gets the relative URL to get to this DatabaseAssessmentDetails resource.
          type: string
        migrationBlockersCount:
          format: int32
          description: Gets or sets the number of blocking changes found.
          type: integer
        breakingChangesCount:
          format: int32
          description: Gets or sets the number of breaking changes found.
          type: integer
        isReadyForMigration:
          description: Gets or sets a value indicating whether the database is ready for migration.
          type: boolean
        assessmentTargetType:
          description: Gets or sets the assessed target database type.
          type: string
        lastAssessedTime:
          format: date-time
          description: Gets or sets the time when the database was last assessed.
          type: string
        compatibilityLevel:
          description: Gets or sets the compatibility level of the database.
          type: string
        databaseSizeInMB:
          description: Gets or sets the database size.
          type: string
        lastUpdatedTime:
          format: date-time
          description: Gets or sets the time of the last modification of the database details.
          type: string
        enqueueTime:
          description: Gets or sets the time the message was enqueued.
          type: string
        solutionName:
          description: Gets or sets the name of the solution that sent the data.
          type: string
        instanceId:
          description: Gets or sets the database server instance Id.
          type: string
        databaseName:
          description: Gets or sets the database name.
          type: string
        extendedInfo:
          description: Gets or sets the extended properties of the database.
          type: object
          additionalProperties:
            type: string
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    databaseName:
      name: databaseName
      description: Unique name of a database in Azure migration hub.
      in: path
      x-ms-parameter-location: method
      required: true
      schema:
        type: string
        pattern: ^[a-zA-Z0-9-]{3,24}$
    continuationToken:
      name: continuationToken
      description: The continuation token.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: string
    migrateProjectName:
      name: migrateProjectName
      description: Name of the Azure Migrate project.
      in: path
      x-ms-parameter-location: method
      required: true
      schema:
        type: string
        pattern: ^[a-zA-Z0-9-]{3,24}$
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    pageSize:
      name: pageSize
      description: The number of items to be returned in a single page. This value is honored only if it is less than the 100.
      in: query
      required: false
      x-ms-parameter-location: method
      schema:
        type: integer
        format: int32
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow