Microsoft Azure Move Resources API

The MoveResources API from Microsoft Azure, for moveresources.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Add or update a resource in a move collection · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add a VM or other resource to a move collection so it can be moved to another region?”
“Can I change the target settings of a resource already in my move collection?”
Tell an agent
Add move resource {move_resource} to collection {collection} in group {group}, sub {subscription} with properties {properties}.
Include resource {move_resource} in the region move for collection {collection}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Remove a resource from a move collection · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Can I take a resource back out of a move collection before moving it?”
“What removes a move resource from my Resource Mover collection?”
Tell an agent destructive · confirm first
Delete move resource {move_resource} from collection {collection} in group {group}, subscription {subscription}.
Drop {move_resource} from the move collection {collection}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName} Get a resource in a move collection · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What is the move status of one resource I'm relocating with Azure Resource Mover?”
“Can I look up a single move resource inside my move collection?”
Tell an agent
Get move resource {move_resource} in collection {collection}, group {group}, subscription {subscription}.
Show where {move_resource} stands in the region move tracked by collection {collection}.

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:microsoft-azure-moveresources-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-moveresources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Resource Mover Service Move Resources API
  description: A first party Azure service orchestrating the move of Azure resources from one Azure region to another or between zones within a region.
  version: 2019-10-01-preview
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: MoveResources
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}
  : put:
      tags:
      - MoveResources
      operationId: microsoftAzureMoveresourcesCreate
      description: Creates or updates a Move Resource in the move collection.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/moveCollectionName'
      - $ref: '#/components/parameters/moveResourceName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoveResource'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        MoveResources_Create:
          $ref: ./examples/MoveResources_Create.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MoveResource'
    delete:
      tags:
      - MoveResources
      operationId: microsoftAzureMoveresourcesDelete
      description: Deletes a Move Resource from the move collection.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/moveCollectionName'
      - $ref: '#/components/parameters/moveResourceName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperationStatus'
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        MoveResources_Delete:
          $ref: ./examples/MoveResources_Delete.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    get:
      tags:
      - MoveResources
      operationId: microsoftAzureMoveresourcesGet
      description: Gets the Move Resource.
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - $ref: '#/components/parameters/moveCollectionName'
      - $ref: '#/components/parameters/moveResourceName'
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoveResource'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        MoveResources_Get:
          $ref: ./examples/MoveResources_Get.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    AffectedMoveResource:
      description: The RP custom operation error info.
      type: object
      properties:
        id:
          readOnly: true
          type: string
          description: The affected move resource id.
        sourceId:
          readOnly: true
          type: string
          description: The affected move resource source id.
        moveResources:
          readOnly: true
          type: array
          description: The affected move resources.
          items:
            $ref: '#/components/schemas/AffectedMoveResource'
    CloudError:
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      description: An error response from the service.
    MoveResourceStatus:
      description: Defines the move resource status.
      type: object
      properties:
        moveState:
          $ref: '#/components/schemas/MoveState'
        jobStatus:
          $ref: '#/components/schemas/JobStatus'
        errors:
          $ref: '#/components/schemas/MoveResourceError'
    AutomaticResolutionProperties:
      description: Defines the properties for automatic resolution.
      type: object
      properties:
        moveResourceId:
          description: 'Gets the MoveResource ARM ID of

            the dependent resource if the resolution type is Automatic.'
          type: string
    OperationStatus:
      description: Operation status REST resource.
      type: object
      properties:
        id:
          description: Resource Id.
          type: string
          readOnly: true
        name:
          description: Operation name.
          type: string
          readOnly: true
        status:
          description: Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
          type: string
          readOnly: true
        startTime:
          description: Start time.
          type: string
          readOnly: true
        endTime:
          description: End time.
          type: string
          readOnly: true
        error:
          $ref: '#/components/schemas/OperationStatusError'
          description: Error stating all error details for the operation.
          readOnly: true
        properties:
          $ref: '#/components/schemas/OperationStatusProperties'
          description: Custom data.
          readOnly: true
    MoveResourceError:
      properties:
        properties:
          type: object
          description: The move resource error body.
          $ref: '#/components/schemas/MoveResourceErrorBody'
      description: An error response from the azure resource mover service.
    CloudErrorBody:
      x-ms-external: true
      properties:
        code:
          type: string
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          description: A message describing the error, intended to be suitable for display in a user interface.
        target:
          type: string
          description: The target of the particular error. For example, the name of the property in error.
        details:
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
          description: A list of additional details about the error.
      description: An error response from the service.
    OperationStatusProperties:
      description: Class for operation result properties.
      type: object
      properties: {}
    MoveState:
      description: Defines the MoveResource states.
      enum:
      - AssignmentPending
      - PreparePending
      - PrepareInProgress
      - PrepareFailed
      - MovePending
      - MoveInProgress
      - MoveFailed
      - DiscardInProgress
      - DiscardFailed
      - CommitPending
      - CommitInProgress
      - CommitFailed
      - Committed
      - DeleteSourcePending
      - ResourceMoveCompleted
      type: string
      readOnly: true
      x-ms-enum:
        name: MoveState
        modelAsString: true
    ResourceSettings:
      description: Gets or sets the resource settings.
      type: object
      required:
      - resourceType
      - targetResourceName
      properties:
        resourceType:
          description: The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
          type: string
          x-ms-mutability:
          - create
          - read
        targetResourceName:
          description: Gets or sets the target Resource name.
          type: string
      discriminator:
        propertyName: resourceType
    MoveResourceProperties:
      description: Defines the move resource properties.
      type: object
      required:
      - sourceId
      properties:
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
        sourceId:
          description: Gets or sets the Source ARM Id of the resource.
          type: string
        targetId:
          description: Gets or sets the Target ARM Id of the resource.
          type: string
          readOnly: true
        existingTargetId:
          description: Gets or sets the existing target ARM Id of the resource.
          type: string
        resourceSettings:
          description: Gets or sets the resource settings.
          $ref: '#/components/schemas/ResourceSettings'
        sourceResourceSettings:
          description: Gets or sets the source resource settings.
          $ref: '#/components/schemas/ResourceSettings'
          readOnly: true
        moveStatus:
          description: Defines the move resource status.
          allOf:
          - $ref: '#/components/schemas/MoveResourceStatus'
          readOnly: true
        dependsOn:
          description: Gets or sets the move resource dependencies.
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/MoveResourceDependency'
        dependsOnOverrides:
          description: Gets or sets the move resource dependencies overrides.
          type: array
          items:
            $ref: '#/components/schemas/MoveResourceDependencyOverride'
        isResolveRequired:
          description: Gets a value indicating whether the resolve action is required over the move collection.
          type: boolean
          readOnly: true
        errors:
          description: Defines the move resource errors.
          allOf:
          - $ref: '#/components/schemas/MoveResourceError'
          readOnly: true
    DependencyType:
      description: Defines the dependency type.
      enum:
      - RequiredForPrepare
      - RequiredForMove
      type: string
      x-ms-enum:
        name: DependencyType
        modelAsString: true
    ManualResolutionProperties:
      description: Defines the properties for manual resolution.
      type: object
      properties:
        targetId:
          description: Gets or sets the target resource ARM ID of the dependent resource if the resource type is Manual.
          type: string
    MoveResource:
      description: Defines the move resource.
      type: object
      x-ms-azure-resource: true
      properties:
        id:
          readOnly: true
          type: string
          description: Fully qualified resource Id for the resource.
        name:
          readOnly: true
          type: string
          description: The name of the resource
        type:
          readOnly: true
          type: string
          description: The type of the resource.
        properties:
          $ref: '#/components/schemas/MoveResourceProperties'
    MoveResourceDependencyOverride:
      description: Defines the dependency override of the move resource.
      type: object
      properties:
        id:
          description: Gets or sets the ARM ID of the dependent resource.
          type: string
        targetId:
          description: 'Gets or sets the resource ARM id of either the MoveResource or the resource ARM ID of

            the dependent resource.'
          type: string
    JobStatus:
      description: Defines the job status.
      type: object
      properties:
        jobName:
          $ref: '#/components/schemas/JobName'
        jobProgress:
          description: Gets or sets the monitoring job percentage.
          type: string
          readOnly: true
    OperationStatusError:
      description: Class for operation status errors.
      type: object
      properties:
        code:
          readOnly: true
          type: string
          description: The error code.
        message:
          readOnly: true
          type: string
          description: The error message.
        details:
          readOnly: true
          type: array
          description: The error details.
          items:
            $ref: '#/components/schemas/OperationStatusError'
        additionalInfo:
          readOnly: true
          type: array
          description: The additional info.
          items:
            $ref: '#/components/schemas/OperationErrorAdditionalInfo'
    MoveResourceErrorBody:
      properties:
        code:
          type: string
          readOnly: true
          description: An identifier for the error. Codes are invariant and are intended to be consumed programmatically.
        message:
          type: string
          readOnly: true
          description: A message describing the error, intended to be suitable for display in a user interface.
        target:
          type: string
          readOnly: true
          description: The target of the particular error. For example, the name of the property in error.
        details:
          type: array
          readOnly: true
          items:
            $ref: '#/components/schemas/MoveResourceErrorBody'
          description: A list of additional details about the error.
      description: An error response from the Azure Migrate service.
    OperationErrorAdditionalInfo:
      description: The operation error info.
      type: object
      properties:
        type:
          readOnly: true
          type: string
          description: The error type.
        info:
          readOnly: true
          $ref: '#/components/schemas/MoveErrorInfo'
          description: The operation error info.
    MoveResourceDependency:
      description: Defines the dependency of the move resource.
      type: object
      properties:
        id:
          description: Gets the source ARM ID of the dependent resource.
          type: string
        resolutionStatus:
          description: Gets the dependency resolution status.
          type: string
        resolutionType:
          $ref: '#/components/schemas/ResolutionType'
        dependencyType:
          $ref: '#/components/schemas/DependencyType'
        manualResolution:
          $ref: '#/components/schemas/ManualResolutionProperties'
        automaticResolution:
          $ref: '#/components/schemas/AutomaticResolutionProperties'
        isOptional:
          description: Gets or sets a value indicating whether the dependency is optional.
          type: string
    MoveErrorInfo:
      description: The move custom error info.
      type: object
      properties:
        moveResources:
          readOnly: true
          type: array
          description: The affected move resources.
          items:
            $ref: '#/components/schemas/AffectedMoveResource'
    JobName:
      description: Defines the job name.
      enum:
      - InitialSync
      type: string
      readOnly: true
      x-ms-enum:
        name: JobName
        modelAsString: true
    ProvisioningState:
      description: Defines the provisioning states.
      enum:
      - Succeeded
      - Updating
      - Creating
      - Failed
      type: string
      readOnly: true
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
    ResolutionType:
      description: Defines the resolution type.
      enum:
      - Manual
      - Automatic
      type: string
      x-ms-enum:
        name: ResolutionType
        modelAsString: true
  parameters:
    api-version:
      in: query
      name: api-version
      description: Client Api Version.
      required: true
      schema:
        type: string
    moveResourceName:
      in: path
      name: moveResourceName
      description: The Move Resource Name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    resourceGroupName:
      in: path
      name: resourceGroupName
      description: The Resource Group Name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    subscriptionId:
      in: path
      name: subscriptionId
      description: The Subscription ID.
      required: true
      schema:
        type: string
    moveCollectionName:
      in: path
      name: moveCollectionName
      description: The Move Collection Name.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  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