Azure Migrate Import Jobs Controller API

The ImportJobsController API from Azure Migrate — 8 operation(s) for importjobscontroller.

GitHub OpenAPI

Operations 8

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs Import jobs controller list deletejobs #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs/{jobName} Import jobs controller get deletejob #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs Import jobs controller list exportjobs #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs/{jobName} Import jobs controller get exportjob #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs Import jobs controller list importjobs #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs/{jobName} Import jobs controller get importjob #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs Import jobs controller list by import site #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs/{jobName} Import jobs controller get #

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-importjobscontroller-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-importjobscontroller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Migrate Discovery Service Import Jobs Controller API
  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: ImportJobsController
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs
  : get:
      operationId: ImportJobsController_ListDeletejobs
      tags:
      - ImportJobsController
      description: Method to get all delete import machines job for the given site.
      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}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedDeleteImportMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Import jobs controller list deletejobs
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/deleteJobs/{jobName}
  : get:
      operationId: ImportJobsController_GetDeletejob
      tags:
      - ImportJobsController
      description: Gets the delete imported machines job with the given job name.
      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: jobName
        in: path
        description: Job Arm 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/DeleteImportMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import jobs controller get deletejob
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs
  : get:
      operationId: ImportJobsController_ListExportjobs
      tags:
      - ImportJobsController
      description: Method to get all export import machines job for the given site.
      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}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedExportImportedMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Import jobs controller list exportjobs
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/exportJobs/{jobName}
  : get:
      operationId: ImportJobsController_GetExportjob
      tags:
      - ImportJobsController
      description: Gets the export imported machines job with the given job name.
      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: jobName
        in: path
        description: Job Arm 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/ExportImportedMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import jobs controller get exportjob
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs
  : get:
      operationId: ImportJobsController_ListImportjobs
      tags:
      - ImportJobsController
      description: Method to get all import machines job for the given site.
      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}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedImportMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Import jobs controller list importjobs
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/importJobs/{jobName}
  : get:
      operationId: ImportJobsController_GetImportjob
      tags:
      - ImportJobsController
      description: Gets the import job with the given job name.
      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: jobName
        in: path
        description: Job Arm 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/ImportMachinesJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import jobs controller get importjob
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs
  : get:
      operationId: ImportJobsController_ListByImportSite
      tags:
      - ImportJobsController
      description: List ImportJob resources by ImportSite
      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}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImportJobListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Import jobs controller list by import site
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/importSites/{siteName}/jobs/{jobName}
  : get:
      operationId: ImportJobsController_Get
      tags:
      - ImportJobsController
      description: Get a ImportJob
      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: jobName
        in: path
        description: ' Jobs 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/ImportJob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      summary: Import jobs controller get
      x-summary-source: derived
components:
  parameters:
    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
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription.
      required: true
      schema:
        type: string
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  schemas:
    PagedDeleteImportMachinesJob:
      type: object
      description: Paged collection of DeleteImportMachinesJob items
      properties:
        value:
          type: array
          description: The DeleteImportMachinesJob items on this page
          items:
            $ref: '#/components/schemas/DeleteImportMachinesJob'
          readOnly: true
          x-ms-identifiers: []
        nextLink:
          type: string
          description: The link to the next page of items
          readOnly: true
    DeleteImportedMachinesJobProperties:
      type: object
      description: Delete Imported Machines Job Properties
      properties:
        blobName:
          type: string
          description: blob name
        errorSasUri:
          type: string
          description: error Sas Uri
        jobState:
          $ref: '#/components/schemas/DeleteImportedMachinesJobPropertiesJobState'
          description: job State
        numberOfMachinesDeleted:
          type: integer
          format: int32
          description: number Of Machines Deleted
        deletionConfirmation:
          type: boolean
          description: deletion Confirmation
        errors:
          type: array
          description: errors list
          items:
            type: string
          readOnly: true
        status:
          type: string
          description: Gets or sets the Job status.
        startTime:
          type: string
          description: Gets or sets the Job start time.
        endTime:
          type: string
          description: Gets or sets the Job end time.
        displayName:
          type: string
          description: Gets or sets the Display name.
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
    ImportJob:
      type: object
      description: A host resource belonging to a site resource.
      properties:
        properties:
          $ref: '#/components/schemas/JobProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ExportImportedMachinesJobEntityProperties:
      type: object
      description: ' Export Imported Machines JobEntity Properties '
      properties:
        blobName:
          type: string
          description: blob name
        sasUri:
          type: string
          description: sas uri
    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.
    JobResult:
      type: string
      description: JobResultValues
      enum:
      - Unknown
      - Completed
      - CompletedWithWarnings
      - CompletedWithErrors
      - Failed
      - WaitingForBlobUpload
      - InProgress
      x-ms-enum:
        name: JobResult
        modelAsString: true
        values:
        - name: Unknown
          value: Unknown
          description: Unknown value.
        - name: Completed
          value: Completed
          description: Completed value.
        - name: CompletedWithWarnings
          value: CompletedWithWarnings
          description: CompletedWithWarnings value.
        - name: CompletedWithErrors
          value: CompletedWithErrors
          description: CompletedWithErrors value.
        - name: Failed
          value: Failed
          description: Failed value.
        - name: WaitingForBlobUpload
          value: WaitingForBlobUpload
          description: WaitingForBlobUpload value.
        - name: InProgress
          value: InProgress
          description: InProgress value.
    ExportImportedMachinesJob:
      type: object
      description: Export machines job REST resource.
      properties:
        type:
          type: string
          description: Type name for export job.
          readOnly: true
        properties:
          $ref: '#/components/schemas/ExportImportedMachinesJobEntityProperties'
          description: Gets or sets the export machines job properties.
        id:
          type: string
          description: Gets or sets the relative ARM name to get job.
        name:
          type: string
          description: Gets or sets the Job ID.
        status:
          type: string
          description: Gets or sets the Job status.
        startTime:
          type: string
          description: Gets or sets the Job start time.
        endTime:
          type: string
          description: Gets or sets the Job end time.
        displayName:
          type: string
          description: Gets or sets the Display name.
    JobProperties:
      type: object
      description: Job REST Resource.
      properties:
        status:
          type: string
          description: Gets operation status.
          readOnly: true
        startTime:
          type: string
          description: Gets operation start time.
          readOnly: true
        endTime:
          type: string
          description: Gets operation end time.
          readOnly: true
        displayName:
          type: string
          description: Gets or sets the display name of the Job.
          readOnly: true
        clientRequestId:
          type: string
          description: Gets the client request Id used in the operation execution context.
          readOnly: true
        activityId:
          type: string
          description: Gets the activity Id used in the operation execution context.
          readOnly: true
        errors:
          type: array
          description: Gets the errors.
          items:
            $ref: '#/components/schemas/ErrorDetails'
          readOnly: true
          x-ms-identifiers: []
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The status of the last operation.
          readOnly: true
    PagedImportMachinesJob:
      type: object
      description: Paged collection of ImportMachinesJob items
      properties:
        value:
          type: array
          description: The ImportMachinesJob items on this page
          items:
            $ref: '#/components/schemas/ImportMachinesJob'
          readOnly: true
          x-ms-identifiers: []
        nextLink:
          type: string
          description: The link to the next page of items
          readOnly: true
    ErrorDetails:
      type: object
      description: Error contract returned when some exception occurs in Rest API.
      properties:
        code:
          type: string
          description: Gets the error code.
          readOnly: true
        message:
          type: string
          description: Gets the error message.
          readOnly: true
        possibleCauses:
          type: string
          description: Gets the possible causes of error.
          readOnly: true
        recommendedAction:
          type: string
          description: Gets the recommended action to resolve error.
          readOnly: true
        severity:
          type: string
          description: Gets the error severity.
          readOnly: true
        isAgentReportedError:
          type: boolean
          description: Gets a value indicating whether the error originated from a agent or not.
          readOnly: true
        agentErrorCode:
          type: string
          description: Gets the agent error code.
          readOnly: true
        agentErrorMessage:
          type: string
          description: Gets the error message from the agent.
          readOnly: true
        agentErrorPossibleCauses:
          type: string
          description: Gets possible causes for the agent error.
          readOnly: true
        agentErrorRecommendedAction:
          type: string
          description: Gets the recommended action for the agent error.
          readOnly: true
    JobErrorSummary:
      type: object
      description: Job Error Summary
      properties:
        errors:
          type: array
          description: errors list
          items:
            type: string
        errorCount:
          type: integer
          format: int32
          description: error count
        warningCount:
          type: integer
          format: int32
          description: warning Count
    ImportJobListResult:
      type: object
      description: The response of a ImportJob list operation.
      properties:
        value:
          type: array
          description: The ImportJob items on this page
          items:
            $ref: '#/components/schemas/ImportJob'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    DeleteImportMachinesJob:
      type: object
      description: A host resource belonging to a site resource.
      properties:
        properties:
          $ref: '#/components/schemas/DeleteImportedMachinesJobProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    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.
    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'
    DeleteImportedMachinesJobPropertiesJobState:
      type: string
      description: Cosmos db Imported Machines JobEntity
      enum:
      - Unknown
      - Verified
      - VerifiedWithErrors
      - Completed
      - Failed
      x-ms-enum:
        name: DeleteImportedMachinesJobPropertiesJobState
        modelAsString: true
        values:
        - name: Unknown
          value: Unknown
          description: Unknown value.
        - name: Verified
          value: Verified
          description: Verified value.
        - name: VerifiedWithErrors
          value: VerifiedWithErrors
          description: VerifiedWithErrors value.
        - name: Completed
          value: Completed
          description: Completed value.
        - name: Failed
          value: Failed
          description: Failed value.
    PagedExportImportedMachinesJob:
      type: object
      description: Paged collection of ExportImportedMachinesJob items
      properties:
        value:
          type: array
          description: The ExportImportedMachinesJob items on this page
          items:
            $ref: '#/components/schemas/ExportImportedMachinesJob'
          readOnly: true
          x-ms-identifiers: []
        nextLink:
          type: string
          description: The link to the next page of items
          readOnly: true
    ImportMachinesJob:
      type: object
      description: Import machines Job REST Resource.
      properties:
        type:
          type: string
          description: 'Handled by resource provider. Type =

            Microsoft.OffAzure/ImportSites/jobs/importJobs.'
          readOnly: true
        properties:
          $ref: '#/components/schemas/ImportMachinesJobProperties'
          description: Gets or sets the import job properties.
        id:
          type: string
          description: Gets or sets the relative ARM name to get job.
        name:
          type: string
          description: Gets or sets the Job ID.
        status:
          type: string
          description: Gets or sets the Job status.
        startTime:
          type: string
          description: Gets or sets the Job start time.
        endTime:
          type: string
          description: Gets or sets the Job end time.
        displayName:
          type: string
          description: Gets or sets the Display name.
    ImportMachinesJobProperties:
      type: object
      description: ImportMachines JobProperties
      properties:
        blobName:
          type: string
          description: blob name
        blobSasUri:
          type: string
          description: blob sasUri
        jobResult:
          $ref: '#/components/schemas/JobResult'
          description: job Result
        numberOfMachinesImported:
          type: integer
          format: int32
          description: number Of Machines Imported
        blobCreationTimeStamp:
          type: string
          format: date-time
          description: blob Creation TimeStamp
        errorSummary:
          $ref: '#/components/schemas/JobErrorSummary'
          description: error summary
  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.