{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-sql-database/json-schema/microsoft-azure-sql-database-managed-database-move-operation-list-result-schema.json",
  "title": "ManagedDatabaseMoveOperationListResult",
  "description": "List of managed database move operations.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-sql-database-manageddatabasemoveoperations-api-openapi.yml#/components/schemas/ManagedDatabaseMoveOperationListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "Array of results.",
      "items": {
        "$ref": "#/$defs/ManagedDatabaseMoveOperationResult"
      },
      "readOnly": true
    },
    "nextLink": {
      "type": "string",
      "description": "Link to retrieve next page of results.",
      "readOnly": true
    }
  },
  "$defs": {
    "ManagedDatabaseMoveOperationResult": {
      "type": "object",
      "description": "A managed database move operation.",
      "properties": {
        "properties": {
          "$ref": "#/$defs/ManagedDatabaseMoveOperationResultProperties",
          "description": "Resource properties.",
          "x-ms-client-flatten": true
        }
      },
      "allOf": [
        {
          "$ref": "#/$defs/ProxyResource"
        }
      ]
    },
    "ManagedDatabaseMoveOperationResultProperties": {
      "type": "object",
      "description": "Contains the operation result properties for managed database move operation.",
      "properties": {
        "operation": {
          "type": "string",
          "description": "The name of operation.",
          "readOnly": true
        },
        "operationFriendlyName": {
          "type": "string",
          "description": "The friendly name of operation.",
          "readOnly": true
        },
        "startTime": {
          "type": "string",
          "format": "date-time",
          "description": "The operation start time.",
          "readOnly": true
        },
        "state": {
          "$ref": "#/$defs/ManagementOperationState",
          "description": "The operation state.",
          "readOnly": true
        },
        "operationMode": {
          "$ref": "#/$defs/MoveOperationMode",
          "description": "Operation mode.",
          "readOnly": true
        },
        "sourceManagedInstanceName": {
          "type": "string",
          "description": "Source Managed Instance name.",
          "readOnly": true
        },
        "targetManagedInstanceName": {
          "type": "string",
          "description": "Target Managed Instance name.",
          "readOnly": true
        },
        "sourceManagedInstanceId": {
          "type": "string",
          "description": "Source Managed Instance resource id.",
          "readOnly": true
        },
        "targetManagedInstanceId": {
          "type": "string",
          "description": "Target Managed instance resource id.",
          "readOnly": true
        },
        "sourceDatabaseName": {
          "type": "string",
          "description": "Source database name.",
          "readOnly": true
        },
        "targetDatabaseName": {
          "type": "string",
          "description": "Target database name.",
          "readOnly": true
        },
        "isCancellable": {
          "type": "boolean",
          "description": "Is move operation cancellable.",
          "readOnly": true
        },
        "errorCode": {
          "type": "integer",
          "format": "int32",
          "description": "The operation error code.",
          "readOnly": true
        },
        "errorDescription": {
          "type": "string",
          "description": "The operation error description.",
          "readOnly": true
        },
        "errorSeverity": {
          "type": "integer",
          "format": "int32",
          "description": "The operation error severity.",
          "readOnly": true
        },
        "isUserError": {
          "type": "boolean",
          "description": "Whether or not the error is a user error.",
          "readOnly": true
        }
      }
    },
    "ManagementOperationState": {
      "type": "string",
      "description": "The operation state.",
      "enum": [
        "Pending",
        "InProgress",
        "Succeeded",
        "Failed",
        "CancelInProgress",
        "Cancelled"
      ],
      "x-ms-enum": {
        "name": "ManagementOperationState",
        "modelAsString": true,
        "values": [
          {
            "name": "Pending",
            "value": "Pending",
            "description": "Pending"
          },
          {
            "name": "InProgress",
            "value": "InProgress",
            "description": "InProgress"
          },
          {
            "name": "Succeeded",
            "value": "Succeeded",
            "description": "Succeeded"
          },
          {
            "name": "Failed",
            "value": "Failed",
            "description": "Failed"
          },
          {
            "name": "CancelInProgress",
            "value": "CancelInProgress",
            "description": "CancelInProgress"
          },
          {
            "name": "Cancelled",
            "value": "Cancelled",
            "description": "Cancelled"
          }
        ]
      }
    },
    "MoveOperationMode": {
      "type": "string",
      "description": "Operation mode.",
      "enum": [
        "Move",
        "Copy"
      ],
      "x-ms-enum": {
        "name": "MoveOperationMode",
        "modelAsString": true,
        "values": [
          {
            "name": "Move",
            "value": "Move",
            "description": "Move"
          },
          {
            "name": "Copy",
            "value": "Copy",
            "description": "Copy"
          }
        ]
      }
    },
    "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": "#/$defs/Resource"
        }
      ]
    },
    "Resource": {
      "type": "object",
      "description": "Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.",
      "x-ae-placeholder": true
    }
  }
}