The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.
Terminated instances will remain visible after termination (approximately one hour).
Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public virtual TerminateInstancesResponse TerminateInstances( TerminateInstancesRequest request )
Parameters
- request
-
Type: Amazon.EC2.Model.TerminateInstancesRequest
Return Value
Type: Amazon.EC2.Model.TerminateInstancesResponse
The response from the TerminateInstances service method, as returned by AmazonEC2.
Type: Amazon.EC2.Model.TerminateInstancesResponse
The response from the TerminateInstances service method, as returned by AmazonEC2.
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5