stopinvocation
描述
停止单次命令进程后,已经开始执行的实例会继续执行,未开始执行的实例将不再执行。
停止周期命令进程后,已经开始执行的命令将继续执行,但后续将不会再进行下一次的执行。
请求参数
返回参数
全是公共返回参数。参阅 公共返回参数。
示例
请求示例
https://ecs.aliyuncs.com/?action=stopinvocation®ionid=cn-hangzhou&invokeid=t-1fad2a8876de47068cc734d57703aa76&<公共请求参数>
正常返回示例
xml格式
<stopinvocationresponse> <requestid>e69ef3cc-94cd-42e7-8926-f133b86387c0</requestid></stopinvocationresponse>
json格式
{ "requestid":"e69ef3cc-94cd-42e7-8926-f133b86387c0",}
异常返回示例
xml格式
<error> <requestid>e69ef3cc-94cd-42e7-8926-f133b86387c0</requestid> <hostid>ecs.aliyuncs.com</hostid> <code>invalidinstance.noclient</code> <message>the specified instances have no cloud assistant client installed.</message></error>
json格式
{ "requestid": "e69ef3cc-94cd-42e7-8926-f133b86387c0", "hostid": "ecs.aliyuncs.com", "code": "invalidinstance.noclient", "message": "the specified instances have no cloud assistant client installed."}
错误码
以下为本接口特有的错误码。更多错误码,请访问 api错误中心。
以上就是停止一台或多台ecs实例中一条正在进行中的云助手命令进程的详细内容。
