Home  >  Article  >  Operation and Maintenance  >  Stop an ongoing Cloud Assistant command process in one or more ECS instances

Stop an ongoing Cloud Assistant command process in one or more ECS instances

坏嘻嘻
坏嘻嘻Original
2018-09-27 14:13:531782browse

The content of this article is about stopping an ongoing cloud assistant command process in one or more ECS instances. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you. Helps.

StopInvocation

Description

After stopping a single command process, the instance that has already started will continue to execute and will not start. The executed instance will no longer execute.

After stopping the periodic command process, the command that has already been executed will continue to be executed, but the next execution will not be carried out.

Request parameters

Stop an ongoing Cloud Assistant command process in one or more ECS instances

##Return parameters

are all public return parameters. See Public Return Parameters.

Example

Request example

https://ecs.aliyuncs.com/?Action=StopInvocation
&RegionId=cn-hangzhou
&InvokeId=t-1fad2a8876de47068cc734d57703aa76
&<公共请求参数>

Normal return example

XML format

<StopInvocationResponse>
    <RequestId>E69EF3CC-94CD-42E7-8926-F133B86387C0</RequestId>
</StopInvocationResponse>

JSON format

{
    "RequestId":"E69EF3CC-94CD-42E7-8926-F133B86387C0",
}

Exception return example

XML format

<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 format

{
    "RequestId": "E69EF3CC-94CD-42E7-8926-F133B86387C0",
    "HostId": "ecs.aliyuncs.com",
    "Code": "InvalidInstance.NoClient",
    "Message": "The specified instances have no cloud assistant client installed."
}

Error code

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

Stop an ongoing Cloud Assistant command process in one or more ECS instances

The above is the detailed content of Stop an ongoing Cloud Assistant command process in one or more ECS instances. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn