Azure Migrate Database Instances Controller API

The DatabaseInstancesController API from Azure Migrate — 2 operation(s) for databaseinstancescontroller.

GitHub OpenAPI

Operations 2

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances Gets a list of database instances in the migrate project #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances/{databaseInstanceName} Gets a database instance 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-databaseinstancescontroller-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-databaseinstancescontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2023-01-01'
  title: Azure Migrate V2 Database Instances 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: DatabaseInstancesController
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/migrateProjects/{migrateProjectName}/databaseInstances
  : get:
      tags:
      - DatabaseInstancesController
      summary: Gets a list of database instances in the migrate project
      operationId: DatabaseInstancesController_ListDatabaseInstances
      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/DatabaseInstanceCollection'
        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}/databaseInstances/{databaseInstanceName}
  : get:
      tags:
      - DatabaseInstancesController
      summary: Gets a database instance in the migrate project
      operationId: DatabaseInstancesController_GetDatabaseInstance
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/migrateProjectName'
      - $ref: '#/components/parameters/databaseInstanceName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatabaseInstance'
        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.
    DatabaseInstance:
      description: DatabaseInstance 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/DatabaseInstanceProperties'
          description: Gets or sets the properties of the machine.
    DatabaseInstanceCollection:
      description: Collection of database instances.
      type: object
      properties:
        value:
          description: Gets or sets the database instances.
          type: array
          items:
            $ref: '#/components/schemas/DatabaseInstance'
        nextLink:
          description: Gets or sets the value of nextLink.
          type: string
    DatabaseInstanceSummary:
      description: Class representing the database instance summary object.
      type: object
      properties:
        databasesAssessedCount:
          format: int32
          description: Gets or sets the count of databases assessed.
          type: integer
        migrationReadyCount:
          format: int32
          description: Gets or sets the count of databases ready for migration.
          type: integer
    DatabaseInstanceProperties:
      description: Properties of the database instance resource.
      type: object
      properties:
        discoveryData:
          description: Gets or sets the assessment details of the database instance published by various sources.
          type: array
          items:
            $ref: '#/components/schemas/DatabaseInstanceDiscoveryDetails'
          x-ms-identifiers:
          - instanceId
        summary:
          description: 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.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/DatabaseInstanceSummary'
        lastUpdatedTime:
          format: date-time
          description: Gets or sets the time of the last modification of the database.
          type: string
    DatabaseInstanceDiscoveryDetails:
      description: Discovery properties that can be shared by various publishers.
      type: object
      properties:
        lastUpdatedTime:
          format: date-time
          description: Gets or sets the time of the last modification of the database instance details.
          type: string
        id:
          description: Gets the relative URL to get to this DatabaseInstanceDiscoveryDetails resource.
          type: string
        instanceId:
          description: Gets or sets the database instance Id.
          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
        instanceName:
          description: Gets or sets the database instance name.
          type: string
        instanceVersion:
          description: Gets or sets the database instance version.
          type: string
        instanceType:
          description: Gets or sets the database instance type.
          type: string
        hostName:
          description: Gets or sets the host name of the database server.
          type: string
        ipAddress:
          description: Gets or sets the IP addresses of the database server. IP addresses could be IP V4 or IP V6.
          type: string
        portNumber:
          format: int32
          description: Gets or sets the port number of the database server.
          type: integer
        extendedInfo:
          description: Gets or sets the extended properties of the database server.
          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
    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}$
    databaseInstanceName:
      name: databaseInstanceName
      description: Unique name of a database instance in Azure migration hub.
      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