Menghapus task migrasi.
Description
- Task migrasi yang telah dihapus tidak dapat dipulihkan.
- Setelah task migrasi dihapus, sumber daya terkait, seperti intermediate instance, akan dilepas secara otomatis.
Request parameters
| Parameter | Type | Required | Example | Description |
| Action | String | Yes | DeleteReplicationJob | Operasi yang ingin Anda lakukan. Tetapkan parameter ini ke DeleteReplicationJob. |
| JobId | String | Yes | j-bp17m1vi6x21qhqk**** | ID dari task migrasi. |
Response parameters
| Parameter | Type | Example | Description |
| RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E | ID dari request. |
Examples
Sample request
http(s)://smc.aliyuncs.com/?Action=DeleteReplicationJob
&JobId=j-bp17m1vi6x21qhqk****
&<Common request parameters>
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteReplicationJobResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DeleteReplicationJobResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
| HTTP status code | Error code | Error message | Description |
| 400 | ReplicationJob.InvalidStatus | The specified replication job status is invalid. | Pesan kesalahan yang dikembalikan karena task migrasi berada dalam status yang tidak valid sehingga operasi ini tidak didukung. |
| 500 | InternalError | An error occurred while processing your request. Please try again. If the problem still exists, please submit a ticket. | Pesan kesalahan yang dikembalikan karena terjadi kesalahan internal. Coba lagi nanti. Jika kesalahan tetap terjadi, kirimkan Tiket. |
Untuk daftar kode kesalahan, kunjungi API Error Center.