Mengkueri informasi tugas migrasi.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectId |
integer |
Yes |
ID ruang kerja DataWorks. Anda dapat masuk ke Konsol DataWorks dan membuka halaman Workspace untuk mendapatkan ID ruang kerja. |
12345 |
| MigrationId |
integer |
Yes |
ID tugas migrasi. Anda dapat memanggil operasi CreateImportMigration untuk mendapatkan ID tugas impor dan memanggil operasi CreateExportMigration untuk mendapatkan ID tugas ekspor. |
1234 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. You can use the request ID to query logs and troubleshoot issues. |
19999A96-71BA-2845-B455-ED620EF4E37F |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
object |
The details of the migration task. |
|
| MigrationId |
integer |
The task ID. |
1234 |
| Name |
string |
The task name. |
test_export_01 |
| GmtCreate |
integer |
The time when the task was created. |
1589904000000 |
| GmtModified |
integer |
The time when the task was modified. |
1589904000000 |
| CreateUser |
string |
The ID of the user who created the task. |
982293332403**** |
| OpUser |
string |
The ID of the user who managed the task. |
982293332403**** |
| Status |
string |
The status of the migration task. Valid values:
|
EXPORT_SUCCESS |
| ProjectId |
integer |
The ID of the DataWorks workspace to which the migration task belongs. |
12345 |
| DownloadUrl |
string |
The URL that is used to download the package of the export task. You can use the URL to download the package of the export task. |
https://shanghai-xxx-oss.oss-cn-shanghai.aliyuncs.com/pre/store/f10_bf47_b4fa7df0860f.zip?Expires=1639540903&OSSAccessKeyId=XXXXXXeF4Lv5j&Signature=qxxxxx |
Contoh
Respons sukses
JSONformat
{
"RequestId": "19999A96-71BA-1845-B455-ED620EF4E37F",
"Success": true,
"Data": {
"MigrationId": 1234,
"Name": "test_export_01",
"GmtCreate": 1589904000000,
"GmtModified": 1589904000000,
"CreateUser": "982293332403****",
"OpUser": "982293332403****",
"Status": "EXPORT_SUCCESS",
"ProjectId": 12345,
"DownloadUrl": "https://shanghai-xxx-oss.oss-cn-shanghai.aliyuncs.com/pre/store/f10_bf47_b4fa7df0860f.zip?Expires=1639540903&OSSAccessKeyId=****&Signature=qxxxxx"
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.