Microsoft Azure Resource Mover Service API

The Microsoft Azure Resource Mover Service API is a tool designed to simplify the process of moving resources between different Azure regions or subscriptions. This API allows users to efficiently transfer resources such as virtual machines, storage accounts, and databases without the need to reconfigure them manually. By using the Resource Mover Service API, users can ensure seamless migration of resources with minimal downtime and disruptions to their operations.

OpenAPI Specification

resource-mover-service-api-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure Resource Mover Service 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
host: management.azure.com
schemes:
  - https
produces:
  - application/json
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  : put:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsCreate
      description: Creates or updates a move collection.
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/MoveCollection'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/MoveCollection'
        '201':
          description: Success
          schema:
            $ref: '#/definitions/MoveCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Create:
          $ref: ./examples/MoveCollections_Create.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname
    patch:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsUpdate
      description: Updates a move collection.
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/UpdateMoveCollectionRequest'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/MoveCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Update:
          $ref: ./examples/MoveCollections_Update.json
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname
    delete:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsDelete
      description: Deletes a move collection.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Delete:
          $ref: ./examples/MoveCollections_Delete.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname
    get:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsGet
      description: Gets the move collection.
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/MoveCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Get:
          $ref: ./examples/MoveCollections_Get.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsPrepare
      description: >-
        Initiates prepare for the set of resources included in the request body.
        The prepare operation is on the moveResources that are in the moveState
        'PreparePending' or 'PrepareFailed', on a successful completion the
        moveResource moveState do a transition to MovePending. To aid the user
        to prerequisite the operation the client can call operation with
        validateOnly property set to true.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/PrepareRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Prepare:
          $ref: ./examples/MoveCollections_Prepare.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Prepare
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsInitiatemove
      description: >-
        Moves the set of resources included in the request body. The move
        operation is triggered after the moveResources are in the moveState
        'MovePending' or 'MoveFailed', on a successful completion the
        moveResource moveState do a transition to CommitPending. To aid the user
        to prerequisite the operation the client can call operation with
        validateOnly property set to true.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/ResourceMoveRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_InitiateMove:
          $ref: ./examples/MoveCollections_InitiateMove.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Initiatemove
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsCommit
      description: >-
        Commits the set of resources included in the request body. The commit
        operation is triggered on the moveResources in the moveState
        'CommitPending' or 'CommitFailed', on a successful completion the
        moveResource moveState do a transition to Committed. To aid the user to
        prerequisite the operation the client can call operation with
        validateOnly property set to true.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/CommitRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Commit:
          $ref: ./examples/MoveCollections_Commit.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Commit
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsDiscard
      description: >-
        Discards the set of resources included in the request body. The discard
        operation is triggered on the moveResources in the moveState
        'CommitPending' or 'DiscardFailed', on a successful completion the
        moveResource moveState do a transition to MovePending. To aid the user
        to prerequisite the operation the client can call operation with
        validateOnly property set to true.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/DiscardRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_Discard:
          $ref: ./examples/MoveCollections_Discard.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Discard
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsResolvedependencies
      description: >-
        Computes, resolves and validate the dependencies of the moveResources in
        the move collection.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_ResolveDependencies:
          $ref: ./examples/MoveCollections_ResolveDependencies.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Resolvedependencies
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources
  : get:
      tags:
        - MoveCollections
      operationId: microsoftAzureMoveresourcesList
      description: Lists the Move Resources in the move collection.
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/api-version'
        - name: $filter
          in: query
          required: false
          type: string
          description: >-
            The filter to apply on the operation. For example, you can use
            $filter=Properties/ProvisioningState eq 'Succeeded'.
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/MoveResourceCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/MoveResourceFilter'
      x-ms-examples:
        MoveResources_List:
          $ref: ./examples/MoveResources_List.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Moveresources
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies
  : get:
      tags:
        - MoveCollections
      operationId: microsoftAzureUnresolveddependenciesGet
      description: Gets a list of unresolved dependencies.
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - name: dependencyLevel
          in: query
          description: Defines the dependency level.
          required: false
          type: string
          enum:
            - Direct
            - Descendant
          x-ms-enum:
            name: DependencyLevel
            modelAsString: true
        - name: $orderby
          in: query
          required: false
          type: string
          description: >-
            OData order by query option. For example, you can use $orderby=Count
            desc.
        - $ref: '#/parameters/api-version'
        - name: $filter
          in: query
          required: false
          type: string
          description: >-
            The filter to apply on the operation. For example,
            $apply=filter(count eq 2).
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/UnresolvedDependencyCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/UnresolvedDependenciesFilter'
      x-ms-examples:
        UnresolvedDependencies_Get:
          $ref: ./examples/UnresolvedDependencies_Get.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Unresolveddependencies
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove
  : post:
      tags:
        - MoveCollections
      operationId: microsoftAzureMovecollectionsBulkremove
      description: >-
        Removes the set of move resources included in the request body from move
        collection. The orchestration is done by service. To aid the user to
        prerequisite the operation the client can call operation with
        validateOnly property set to true.
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      consumes:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - in: path
          name: resourceGroupName
          required: true
          type: string
        - in: path
          name: moveCollectionName
          required: true
          type: string
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/BulkRemoveRequest'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveCollections_BulkRemove:
          $ref: ./examples/MoveCollections_BulkRemove.json
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Bulkremove
  ? /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
      consumes:
        - application/json
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/moveResourceName'
        - $ref: '#/parameters/api-version'
        - in: body
          name: body
          schema:
            $ref: '#/definitions/MoveResource'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/MoveResource'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveResources_Create:
          $ref: ./examples/MoveResources_Create.json
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Moveresources Moveresourcename
    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
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/moveResourceName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/OperationStatus'
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveResources_Delete:
          $ref: ./examples/MoveResources_Delete.json
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Moveresources Moveresourcename
    get:
      tags:
        - MoveResources
      operationId: microsoftAzureMoveresourcesGet
      description: Gets the Move Resource.
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - $ref: '#/parameters/moveResourceName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/MoveResource'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        MoveResources_Get:
          $ref: ./examples/MoveResources_Get.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Moveresources Moveresourcename
  /providers/Microsoft.Migrate/operations:
    get:
      tags:
        - OperationsDiscovery
      operationId: microsoftAzureOperationsdiscoveryGet
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/OperationsDiscoveryCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        OperationsDiscovery_Get:
          $ref: ./examples/OperationsDiscovery_Get.json
      summary: Microsoft Azure Get Providers Microsoft Migrate Operations
      description: Needs a more full description created.
  /subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections:
    get:
      summary: 'Microsoft Azure Get All Move Collections'
      description: Get all the Move Collections in the subscription.
      operationId: microsoftAzureMovecollectionsListmovecollectionsbysubscription
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/MoveCollectionResultList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        MoveCollections_ListMoveCollectionsBySubscription:
          $ref: ./examples/MoveCollections_ListMoveCollectionsBySubscription.json
      tags:
        - Subscriptions
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections:
    get:
      summary: 'Microsoft Azure Get All Move Collections'
      description: Get all the Move Collections in the resource group.
      operationId: microsoftAzureMovecollectionsListmovecollectionsbyresourcegroup
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: OK.
          schema:
            $ref: '#/definitions/MoveCollectionResultList'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        MoveCollections_ListMoveCollectionsByResourceGroup:
          $ref: ./examples/MoveCollections_ListMoveCollectionsByResourceGroup.json
      tags:
        - Subscriptions
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor
  : get:
      description: List of the move resources for which an arm resource is required for.
      operationId: microsoftAzureMovecollectionsListrequiredfor
      produces:
        - application/json
      parameters:
        - $ref: '#/parameters/subscriptionId'
        - $ref: '#/parameters/resourceGroupName'
        - $ref: '#/parameters/moveCollectionName'
        - name: sourceId
          in: query
          required: true
          type: string
          description: The sourceId for which the api is invoked.
        - $ref: '#/parameters/api-version'
      responses:
        '200':
          description: Success
          schema:
            $ref: '#/definitions/RequiredForResourcesCollection'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-examples:
        RequiredFor_Get:
          $ref: ./examples/RequiredFor_Get.json
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Migrate Movecollections Movecollectionname Requiredfor
      tags:
        - Subscriptions
definitions:
  ResourceIdentityType:
    description: The type of identity used for the resource mover service.
    enum:
      - None
      - SystemAssigned
      - UserAssigned
    type: string
    x-ms-enum:
      name: ResourceIdentityType
      modelAsString: true
  Identity:
    description: Defines the MSI properties of the Move Collection.
    type: object
    properties:
      type:
        $ref: '#/definitions/ResourceIdentityType'
      principalId:
        description: Gets or sets the principal id.
        type: string
      tenantId:
        description: Gets or sets the tenant id.
        type: string
  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
  MoveResourceInputType:
    description: Defines the move resource input type.
    type: string
    enum:
      - MoveResourceId
      - MoveResourceSourceId
    x-ms-enum:
      name: MoveResourceInputType
      modelAsString: true
  ProvisioningState:
    description: Defines the provisioning states.
    enum:
      - Succeeded
      - Updating
      - Creating
      - Failed
    type: string
    readOnly: true
    x-ms-enum:
      name: ProvisioningState
      modelAsString: true
  JobName:
    description: Defines the job name.
    enum:
      - InitialSync
    type: string
    readOnly: true
    x-ms-enum:
      name: JobName
      modelAsString: true
  JobStatus:
    description: Defines the job status.
    type: object
    properties:
      jobName:
        $ref: '#/definitions/JobName'
      jobProgress:
        description: Gets or sets the monitoring job percentage.
        type: string
        readOnly: true
  MoveResourceStatus:
    description: Defines the move resource status.
    type: object
    properties:
      moveState:
        $ref: '#/definitions/MoveState'
      jobStatus:
        $ref: '#/definitions/JobStatus'
      errors:
        $ref: '#/definitions/MoveResourceError'
  ResolutionType:
    description: Defines the resolution type.
    enum:
      - Manual
      - Automatic
    type: string
    x-ms-enum:
      name: ResolutionType
      modelAsString: true
  DependencyType:
    description: Defines the dependency type.
    enum:
      - RequiredForPrepare
      - RequiredForMove
    type: string
    x-ms-enum:
      name: DependencyType
      modelAsString: true
  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: '#/definitions/ResolutionType'
      dependencyType:
        $ref: '#/definitions/DependencyType'
      manualResolution:
        $ref: '#/definitions/ManualResolutionProperties'
      automaticResolution:
        $ref: '#/definitions/AutomaticResolutionProperties'
      isOptional:
        description: Gets or sets a value indicating whether the dependency is optional.
        type: string
  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\r\nthe dependent resource."
        type: string
  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
  AutomaticResolutionProperties:
    description: Defines the properties for automatic resolution.
    type: object
    properties:
      moveResourceId:
        description: "Gets the MoveResource ARM ID of\r\nthe dependent resource if the resolution type is Automatic."
        type: string
  MoveResourceProperties:
    description: Defines the move resource properties.
    type: object
    required:
      - sourceId
    properties:
      provisioningState:
        $ref: '#/definitions/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: '#/definitions/ResourceSettings'
      sourceResourceSettings:
        description: Gets or sets the source resource settings.
        $ref: '#/definitions/ResourceSettings'
        readOnly: true
      moveStatus:
        description: Defines the move resource status.
        allOf:
          - $ref: '#/definitions/MoveResourceStatus'
        readOnly: true
      dependsOn:
        description: Gets or sets the move resource dependencies.
        type: array
        readOnly: true
        items:
          $ref: '#/definitions/MoveResourceDependency'
      dependsOnOve

# --- truncated at 32 KB (66 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/resource-mover-service-api-openapi-original.yml