This topic describes how to call the RebootInstance operation by using Alibaba Cloud CLI to restart an ECS instance.
Background information
You can call the RebootInstance operation to restart an ECS instance that is in the Running state. After the call succeeds, the instance enters the Starting state. We recommend that you read the description of the operation before you call the operation. For more information, see RebootInstance.
When you call an API operation through Alibaba Cloud CLI, make sure that request parameter values of different data types are in required formats. For more information, see Parameter format overview.
Request examples
Result
{
"RequestId": "2DD09CBD-1F4D-4923-94C7-F3BD67137BBE"
}