You can call the TerminateMigrateTask operation to terminate an ongoing task that is used to migrate the backup data of an ApsaraDB RDS for SQL Server instance to an Object Storage Service (OSS) bucket.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | TerminateMigrateTask |
The operation that you want to perform. Set the value to TerminateMigrateTask. |
DBInstanceId | String | Yes | rm-bp159vfbuxxxxx9b5 |
The ID of the instance. You can call the DescribeDBInstances operation to query the IDs of instances. |
MigrateTaskId | String | Yes | 56254xxxxx |
The ID of the migration task. You can call the DescribeMigrateTasks operation to query the IDs of migration tasks. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 1AD222E9-E606-4A42-BF6D-8A4442913CEF |
The ID of the request. |
Examples
Sample requests
http(s)://rds.aliyuncs.com/?Action=TerminateMigrateTask
&DBInstanceId=rm-uf6wjk5xxxxxxx
&MigrateTaskId=56254xxxxx
&<Common request parameters>
Sample success responses
XML
format
<TerminateMigrateTaskResponse>
<RequestId>1AD222E9-E606-4A42-BF6D-8A4442913CEF</RequestId>
</TerminateMigrateTaskResponse>
JSON
format
{
"RequestId":"1AD222E9-E606-4A42-BF6D-8A4442913CEF"
}
Error codes
For a list of error codes, visit the API Error Center.