Azure Migrate Import Machines Controller API

The ImportMachinesController API from Azure Migrate — 2 operation(s) for importmachinescontroller.

GitHub OpenAPI

Operations 3

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines Import machines controller list by import site #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines/{machineName} Import machines controller get #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines/{machineName} Import machines controller delete #

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-importmachinescontroller-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-importmachinescontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Migrate Discovery Service Import Machines Controller…
  version: '2023-06-06'
  description: Azure OffAzure Resource Provider management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: ImportMachinesController
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines
  : get:
      operationId: ImportMachinesController_ListByImportSite
      tags:
      - ImportMachinesController
      description: List ImportMachine resources by ImportSite
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: filter
        in: query
        description: filter query
        required: false
        schema:
          type: string
      - name: top
        in: query
        description: page size  query
        required: false
        schema:
          type: string
      - name: continuationToken
        in: query
        description: Optional parameter for continuation token.
        required: false
        schema:
          type: string
      - name: totalRecordCount
        in: query
        description: Total count of machines in the given site.
        required: false
        schema:
          type: integer
          format: int32
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportMachineListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Import machines controller list by import site
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/machines/{machineName}
  : get:
      operationId: ImportMachinesController_Get
      tags:
      - ImportMachinesController
      description: Get a ImportMachine
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: machineName
        in: path
        description: Machine name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportMachine'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import machines controller get
      x-summary-source: derived
    delete:
      operationId: ImportMachinesController_Delete
      tags:
      - ImportMachinesController
      description: Delete a ImportMachine
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: siteName
        in: path
        description: Site name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      - name: machineName
        in: path
        description: Machine name
        required: true
        schema:
          type: string
          pattern: ^[a-zA-Z0-9-]{3,24}$
      responses:
        '200':
          description: Resource deleted successfully.
        '204':
          description: Resource deleted successfully.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import machines controller delete
      x-summary-source: derived
components:
  schemas:
    ProvisioningState:
      type: string
      description: The status of the current operation.
      enum:
      - Created
      - Updated
      - Running
      - Completed
      - Failed
      - Succeeded
      - Canceled
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Created
          value: Created
          description: Created value.
        - name: Updated
          value: Updated
          description: Updated value.
        - name: Running
          value: Running
          description: Running value.
        - name: Completed
          value: Completed
          description: Completed value.
        - name: Failed
          value: Failed
          description: Failed value.
        - name: Succeeded
          value: Succeeded
          description: Succeeded value.
        - name: Canceled
          value: Canceled
          description: Canceled value.
    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.
    WebRoleImportDisk:
      type: object
      description: Class representing the imported machine web model.
      properties:
        megabytesPerSecondOfRead:
          type: number
          format: float
          description: Disk read throughput.
          readOnly: true
        megabytesPerSecondOfWrite:
          type: number
          format: float
          description: Disk write throughput.
          readOnly: true
        numberOfReadOperationsPerSecond:
          type: number
          format: float
          description: Disk read IOPS.
          readOnly: true
        numberOfWriteOperationsPerSecond:
          type: number
          format: float
          description: Disk write IOPS.
          readOnly: true
        maxSizeInBytes:
          type: integer
          format: int64
          description: Gets or sets Bytes allocated for the disk.
        name:
          type: string
          description: Gets or sets Name of the disk.
        diskType:
          type: string
          description: Gets or sets Type of the disk.
        lun:
          type: integer
          format: int32
          description: Gets or sets LUN of the disk.
        path:
          type: string
          description: Gets or sets Path of the disk.
    ImportMachineListResult:
      type: object
      description: The response of a ImportMachine list operation.
      properties:
        value:
          type: array
          description: The ImportMachine items on this page
          items:
            $ref: '#/components/schemas/ImportMachine'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    ImportMachine:
      type: object
      description: An machine resource belonging to a site resource.
      properties:
        properties:
          $ref: '#/components/schemas/ImportMachineProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    WebRoleOperatingSystem:
      type: object
      description: Second level object returned as part of Machine REST resource.
      properties:
        osType:
          type: string
          description: Gets or sets the type of the operating system.
        osName:
          type: string
          description: Gets or sets the Name of the operating system.
        osVersion:
          type: string
          description: Gets or sets the Version of the operating system.
        osArchitecture:
          type: string
          description: Gets or sets the Architecture of the operating system.
    ImportMachineProperties:
      type: object
      description: Class for machine properties.
      properties:
        firmware:
          type: string
          description: Firmware of the machine.
          readOnly: true
        percentageCpuUtilization:
          type: number
          format: float
          description: CPU utilization.
          readOnly: true
        percentageMemoryUtilization:
          type: number
          format: float
          description: Memory utilization.
          readOnly: true
        numberOfDisks:
          type: integer
          format: int32
          description: Number of disks.
          readOnly: true
        totalDiskReadOperationsPerSecond:
          type: number
          format: float
          description: Total disk read operations per second.
          readOnly: true
        totalDiskWriteOperationsPerSecond:
          type: number
          format: float
          description: Total disk write operations per second.
          readOnly: true
        totalDiskWriteThroughput:
          type: number
          format: float
          description: Total disk write throughput.
          readOnly: true
        totalDiskReadThroughput:
          type: number
          format: float
          description: Total disk read throughput.
          readOnly: true
        macAddress:
          type: string
          description: MAC Address.
          readOnly: true
        ipAddresses:
          type: array
          description: IP Addresses.
          items:
            type: string
          readOnly: true
        machineId:
          type: string
          description: Machine ID.
          readOnly: true
        machineManagerId:
          type: string
          description: Machine manager ID.
          readOnly: true
        numberOfNetworkAdapters:
          type: integer
          format: int32
          description: Number of network adapters.
          readOnly: true
        networkInThroughput:
          type: number
          format: float
          description: Network in throughput.
          readOnly: true
        networkOutThroughput:
          type: number
          format: float
          description: Network out throughput.
          readOnly: true
        serverType:
          type: string
          description: Server type.
          readOnly: true
        hypervisor:
          type: string
          description: Fabric type.
          readOnly: true
        hypervisorVersionNumber:
          type: string
          description: Hypervisor version number.
          readOnly: true
        disks:
          type: array
          description: Disks attached to the machine.
          items:
            $ref: '#/components/schemas/WebRoleImportDisk'
          readOnly: true
          x-ms-identifiers:
          - name
        vmFqdn:
          type: string
          description: Server FQDN.
          readOnly: true
        storageInUseGb:
          type: number
          format: float
          description: Total storage in use.
          readOnly: true
        numberOfProcessorCore:
          type: integer
          format: int32
          description: "Gets or sets the Number of Processor Cores \n            allocated for the\nmachine."
        allocatedMemoryInMb:
          type: number
          format: double
          description: Gets or sets the allocated Memory in MB.
        operatingSystemDetails:
          $ref: '#/components/schemas/WebRoleOperatingSystem'
          description: Gets or sets the Operating System Details installed on the machine.
        biosSerialNumber:
          type: string
          description: Gets or sets the Machine BIOS serial number.
        biosGuid:
          type: string
          description: Gets or sets the BIOS GUID.
        displayName:
          type: string
          description: Gets the Display name of the machine.
          readOnly: true
        isDeleted:
          type: boolean
          description: Value indicating whether VM is deleted.
          readOnly: true
        createdTimestamp:
          type: string
          description: Gets the marking machine creation.
          readOnly: true
        updatedTimestamp:
          type: string
          description: Gets the timestamp marking last updated on the machine.
          readOnly: true
        tags:
          type: object
          description: machine tags
          additionalProperties:
            type: string
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
      required:
      - tags
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
  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
    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
  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.