阿里云服务器迁移中心StopReplicationJob

停止一个迁移任务。

接口说明

您只能使用该API停止正在运行中(Running)且处于数据同步(SyncData)状态的迁移任务。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
JobId String j-xxxxxxxxxxxxxxx

迁移任务ID。

Action String StopReplicationJob

系统规定参数。取值:StopReplicationJob

返回数据

名称 类型 示例值 描述
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

请求ID。

示例

请求示例

http(s)://smc.aliyuncs.com/?Action=StopReplicationJob
&JobId=j-xxxxxxxxxxxxxxx
&<公共请求参数>

正常返回示例

XML 格式

<DeleteReplicationJobResponse>
    <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DeleteReplicationJobResponse>

JSON 格式

{
	"RequestId":"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

错误码

HttpCode 错误码 错误信息 描述
400 ReplicationJob.InvalidStatus The specified replication job status is invalid. 无效的迁移任务状态
500 InternalError An error occurred while processing your request. Please try again. If the problem
still exists, please submit a ticket.
内部错误,请重试。如果多次尝试失败,请提交工单

访问错误中心查看更多错误码。

原创文章,作者:网友投稿,如若转载,请注明出处:https://www.cloudads.cn/archives/33803.html

发表评论

登录后才能评论