Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
If a Linux/Unix instance does not cleanly shut down within four minutes, Amazon EC2 performs a hard reboot.
For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide .
Declaration Syntax
C# |
public RebootInstancesResponse RebootInstances( RebootInstancesRequest request )
Parameters
- request (RebootInstancesRequest)
- Reboot Instances request
Return Value
Reboot Instances Response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |