You restart an instance that is in Shut_down
or error
status.
Use the following command to restart an instance that is in shut_down
or error
state:
oracle-compute restart instance name
For more information, see CLI Reference for Oracle Compute Cloud Service.
To restart an instance using the API, use the PUT https://api.oc.example.com/instance/name?action=RESTART
method.
For more information, see REST API Reference for Oracle Compute Cloud Service.